/* fhg-estate.css — one look across fhguniversity.com and fairleyholdings.com.
 * Release 54 (P3, review F12), 13 Nov 2026.
 *
 * WHY. The release 53 review measured the two sites and found two companies:
 * a 13px tracked-capitals nav at the right on the University against a 16px
 * sentence-case nav in the middle here, Title Case headings with periods here
 * against the University's sentence case, a gold primary button here against
 * the University's cream one, and three header systems and three mobile menus
 * between this site's own pages. The owner's direction (scorecard,
 * "Consistency"): one header, one heading system, one primary button, one
 * footer and one mobile menu across both sites.
 *
 * WHAT. The University's public shell (its scripts/public-shell.mts and the
 * rules in its assets/style.css) is the reference. This file is those
 * components, value for value, for every page on this site: the header
 * (nav.site-nav), the page and section titles, the primary and outline
 * buttons, and the footer (footer.site-footer). The markup comes from one
 * place too: scripts/estate-shell.py writes the header and footer into every
 * page. Its tokens (--fe-*) carry the University's values for each of the
 * three themes, so a page's own token names can't change what the shared
 * parts look like. Loaded last on every page, after fhg-type.css.
 *
 * HELD BY. The University's scripts/estate-look-guard.mjs opens both homepages
 * in a browser at 1440 and 390 in all three themes and fails when the computed
 * header, h1, h2, primary button, footer or phone menu differ; this repo's
 * scripts/estate-shell.py --check (preflight) fails a page that leaves the
 * shared header or footer.
 */

/* ---- tokens: the University's values, theme for theme ---------------------- */
:root {
  --fe-bg: #14100c; --fe-elev: #1c1712; --fe-band: #1a1511;
  --fe-border: rgba(255, 255, 255, 0.08); --fe-border-soft: rgba(255, 255, 255, 0.05);
  --fe-gold: #c9a24d; --fe-gold-bright: #ddb85f; --fe-gold-dim: rgba(201, 162, 77, 0.55);
  --fe-text: #f3ede2; --fe-text-dim: #a89f92; --fe-text-faint: #8f8572;
  --fe-serif: Tinos, 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', Times, serif;
}
html[data-theme="white"] {
  /* 14 Nov 2026 (release M24): White, the default on this site (decision
     white-default): Paper's ink, gold and rules on white grounds. */
  --fe-bg: #ffffff;
  --fe-elev: #fbfaf7;
  --fe-band: #f6f4ef;
  --fe-border: rgba(60, 42, 14, 0.13);
  --fe-border-soft: rgba(60, 42, 14, 0.07);
  --fe-gold: #74561a;
  --fe-gold-bright: #765819;
  --fe-gold-dim: rgba(140, 104, 36, 0.45);
  --fe-text: #2a2016;
  --fe-text-dim: #4d4031;
  --fe-text-faint: #65553f;
}
html[data-theme="paper"] {
  --fe-bg: #f5eedc; --fe-elev: #fbf7ec; --fe-band: #f0e8d3;
  --fe-border: rgba(60, 42, 14, 0.13); --fe-border-soft: rgba(60, 42, 14, 0.07);
  --fe-gold: #74561a; --fe-gold-bright: #765819; --fe-gold-dim: rgba(140, 104, 36, 0.45);
  --fe-text: #2a2016; --fe-text-dim: #4d4031; --fe-text-faint: #65553f;
}
html[data-theme="bronze"] {
  --fe-bg: #2a271b; --fe-elev: #23211a; --fe-band: #2f2b1d;
  --fe-border: rgba(253, 243, 230, 0.1); --fe-border-soft: rgba(253, 243, 230, 0.06);
  --fe-gold: #c7a970; --fe-gold-bright: #d9bd85; --fe-gold-dim: #b39560;
  --fe-text: #fdf3e6; --fe-text-dim: #d7c9b8; --fe-text-faint: #a39886;
}

/* ---- the header (the University's nav.site-nav) ---------------------------- */
nav.site-nav { position: sticky; top: 0; z-index: 50; background: var(--fe-bg); border-bottom: 1px solid var(--fe-border-soft); text-align: left; }
/* A page whose body is a centered flex column (the check pages) still gets a
   header and a footer the width of the window. */
nav.site-nav, footer.site-footer { box-sizing: border-box; width: 100%; align-self: stretch; }
nav.site-nav .inner { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(24px, 3vw, 56px); max-width: none; margin: 0 auto; }
nav.site-nav .logo { font-family: var(--fe-serif); font-size: var(--fs-body); font-weight: 700; letter-spacing: 0.02em; line-height: normal; color: var(--fe-text); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
nav.site-nav .logo span { color: var(--fe-gold); }
nav.site-nav .nav-links { display: flex; align-items: center; gap: 26px; }
nav.site-nav .nav-links a.nav-item { font-family: var(--fe-serif); font-size: var(--fs-label); font-weight: 400; line-height: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fe-text-dim); text-decoration: none; white-space: nowrap; transition: color 0.15s; }
nav.site-nav .nav-links a.nav-item:hover { color: var(--fe-gold); }
nav.site-nav .nav-links a.nav-item[aria-current="page"] { color: var(--fe-text); }
nav.site-nav .theme-toggle-btn { width: 32px; height: 32px; padding: 0; border-radius: 50%; background: var(--fe-elev); border: 1px solid var(--fe-border); display: flex; align-items: center; justify-content: center; cursor: pointer; }
nav.site-nav .inner > .theme-toggle-btn { order: 3; margin-left: 18px; flex-shrink: 0; }
nav.site-nav .inner > .nav-links { order: 2; margin-left: auto; padding-left: 32px; }
nav.site-nav .inner > .nav-toggle { order: 1; }
nav.site-nav .nav-toggle { display: none; background: none; border: 1px solid var(--fe-border); border-radius: 6px; color: var(--fe-text); font-family: var(--fe-serif); font-size: var(--fs-body); width: 38px; height: 38px; padding: 0; align-items: center; justify-content: center; cursor: pointer; }
/* The header's call to action: the University's .nav-join, value for value. */
nav.site-nav .nav-links a.btn.nav-join { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 6px;
  font-family: var(--fe-serif); font-size: var(--fs-label); font-weight: 700; line-height: normal; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--fe-text); color: var(--fe-bg); border: 1px solid transparent; text-decoration: none; white-space: nowrap; }
nav.site-nav .nav-links a.btn.nav-join:hover { background: var(--fe-gold-bright); }
@media (max-width: 1400px) { nav.site-nav .nav-links { gap: 16px; } nav.site-nav .nav-links a.nav-item { font-size: var(--fs-label); letter-spacing: 0.08em; } }
/* The one phone menu: below 1300px the links drop as a centered panel under
   the row, opened by the menu button (assets/fhg-site.js), as on the University. */
@media (max-width: 1300px) {
  nav.site-nav .inner { position: relative; flex-wrap: wrap; }
  nav.site-nav .inner > .nav-toggle { display: flex; order: 1; margin-left: auto; }
  nav.site-nav .inner > .theme-toggle-btn { order: 2; margin-left: 12px; }
  nav.site-nav .inner > .nav-links { margin-left: 0; order: 3; padding-left: 32px; }
  nav.site-nav .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--fe-elev);
    border-bottom: 1px solid var(--fe-border-soft); flex-direction: column; align-items: center; gap: 4px; padding: 10px 32px 20px; z-index: 60; }
  nav.site-nav .nav-links.open { display: flex; }
  nav.site-nav .nav-links a.nav-item, nav.site-nav .nav-links a.btn { width: 100%; padding: 12px 0; text-align: center; font-size: var(--fs-label); letter-spacing: 0.12em; }
  nav.site-nav .nav-links a.btn.nav-join { justify-content: center; width: 100%; max-width: 360px; margin-top: 8px; padding: 14px 20px; letter-spacing: 0.08em; }
}

/* ---- titles: the University's heading system -------------------------------- */
/* The homepage's hero title, with its optional gold italic line. */
h1.hero-headline { font-family: var(--fe-serif); font-style: normal; font-size: var(--fs-6) !important; line-height: 1.08 !important; letter-spacing: -0.012em; font-weight: 400 !important; color: var(--fe-text); max-width: 880px; margin: 0 auto 22px; text-transform: none; }
h1.hero-headline em { color: var(--fe-gold); font-style: italic; font-weight: 400; }
/* A page's own title (the University's legal, help and tour pages). */
h1.page-title { font-family: var(--fe-serif); font-style: normal; font-size: var(--fs-4) !important; line-height: 1.15 !important; letter-spacing: normal; font-weight: 400 !important; color: var(--fe-text); margin: 0 auto 14px; text-transform: none; }
h1.page-title em { color: var(--fe-gold); font-style: italic; }
/* A section's title (the University's h2.section-title). */
h2.section-title { font-family: var(--fe-serif); font-size: var(--fs-3); line-height: normal; letter-spacing: normal; font-weight: 400 !important; color: var(--fe-text); margin: 0 0 18px; text-transform: none; }
.section-eyebrow { font-family: var(--fe-serif); font-size: var(--fs-label) !important; letter-spacing: 0.2em !important; font-weight: 400 !important; text-transform: uppercase; color: var(--fe-gold); margin: 0 0 16px; }
@media (max-width: 720px) {
  h1.hero-headline { font-size: var(--fs-3) !important; }
}

/* ---- buttons: the University's .btn, .btn-primary and .btn-outline ---------- */
.btn.btn-primary, .btn.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--fe-serif);
  font-size: var(--fs-label); font-weight: 700; line-height: normal; letter-spacing: 0.08em; text-transform: uppercase; padding: 13px 24px;
  border-radius: 6px; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: all 0.15s; }
.btn.btn-primary { background: var(--fe-text); color: var(--fe-bg); }
.btn.btn-primary:hover { background: var(--fe-gold-bright); }
.btn.btn-outline { background: transparent; color: var(--fe-text); border-color: var(--fe-border); }
.btn.btn-outline:hover { border-color: var(--fe-gold-dim); color: var(--fe-gold); }
/* The first screen's larger button (the University's .hm-cta-btn). */
.btn.btn-hero { padding: 16px 36px; font-size: var(--fs-label) !important; letter-spacing: 0.14em !important; min-height: 48px; }

/* ---- the footer (the University's footer.site-footer) ----------------------- */
footer.site-footer { background: var(--fe-bg); padding: 40px 32px; text-align: center; border-top: 1px solid var(--fe-border-soft); font-family: var(--fe-serif); }
footer.site-footer .fname { font-family: var(--fe-serif); font-weight: 400; font-size: var(--fs-body); line-height: normal; color: var(--fe-text); margin-bottom: 8px; }
footer.site-footer .fmeta { font-size: var(--fs-label); line-height: normal; letter-spacing: 0.1em; color: var(--fe-text-faint); text-transform: uppercase; }
footer.site-footer .fcontact { margin-top: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-family: var(--fe-serif); font-weight: 400; font-size: var(--fs-small); line-height: normal; text-align: center; color: var(--fe-text); }
footer.site-footer .flegal { margin-top: 14px; font-size: var(--fs-fine); line-height: normal; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; max-width: 760px; margin-left: auto; margin-right: auto; }
footer.site-footer .flegal a { color: var(--fe-text-faint); text-decoration: none; white-space: nowrap; padding: 0; border-right: 0; font-size: var(--fs-fine); letter-spacing: normal; text-transform: none; }
footer.site-footer .flegal a:hover { color: var(--fe-gold); }
footer.site-footer .flegal-rows { margin-bottom: 6px; }
/* Compass is paused: a page that names it says so (offer-state-guard O5). */
footer.site-footer .fnote { max-width: 640px; margin: 12px auto 0; font-size: var(--fs-fine); line-height: 1.6; color: var(--fe-text-faint); }

/* ---- keyboard focus: the University's 2px gold ring ------------------------- */
nav.site-nav a:focus-visible, nav.site-nav button:focus-visible, footer.site-footer a:focus-visible, .btn:focus-visible { outline: 2px solid var(--fe-gold); outline-offset: 2px; border-radius: 4px; }
