/* ==========================================================================
   SP Accounting Services LLC — styles.css
   Brand: gold #a98b50 + warm charcoal + cream. Clean, generous whitespace.
   (--navy* names are legacy: they hold the charcoals.)
   ========================================================================== */

:root {
  /* Brand (from spacctsvcs.com): gold #A98B50 + warm charcoal + black */
  --navy: #423d43;        /* dark charcoal — headings & dark sections */
  --navy-700: #322e33;
  --navy-600: #544e52;
  --gold: #a98b50;        /* the brand gold (logo background) */
  --gold-600: #8a6f3c;    /* darker gold — hover/press */
  --gold-300: #c9ac71;    /* light gold — soft accents */
  --gold-100: #f3ecdc;    /* very light gold — header logo tile fill */
  --ink: #2a262b;
  --slate: #655f66;
  --slate-300: #6b656c;
  --line: #e8e2d8;        /* warm hairline */
  --bg: #ffffff;
  --bg-soft: #f7f3ec;     /* warm cream */
  --bg-navy-soft: #f6f1e6;/* warm gold-tinted wash */
  --white: #ffffff;
  --ok: #1f9d6b;
  --err: #cf3b45;
  --shadow-sm: 0 1px 2px rgba(42, 38, 43, .06), 0 4px 12px rgba(42, 38, 43, .05);
  --shadow-md: 0 10px 34px rgba(42, 38, 43, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font: "Lato", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Sulphur Point", "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--gold-600); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.14; margin: 0 0 .5em; letter-spacing: .002em; word-spacing: -.14em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .9rem;
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: normal; text-align: center; max-width: 100%; overflow-wrap: anywhere;   /* wraps instead of overflowing when text is made larger */
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(169,139,80,.35); }
.btn-primary:hover { background: var(--gold-600); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-600); }
/* Ghost button on a dark band: the default hover color is unreadable there. */
.btn-on-dark { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .12); color: var(--gold-300); border-color: var(--gold-300); }
.btn-block { width: 100%; }

/* Header ------------------------------------------------------------------- */
/* chrome.js injects the header into #site-header. That wrapper is only as tall as the header,
   so a sticky header inside it has no room to travel. The wrapper itself sticks instead (2026-09-29). */
#site-header { position: sticky; top: 0; z-index: 100; }
.site-header {
  position: relative; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; max-width: none; padding: 0 clamp(20px, 3.5vw, 44px);   /* full bleed; grows with larger text */
  gap: 8px 16px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  height: 46px; width: auto; object-fit: contain; display: block; border-radius: 9px;
  box-shadow: var(--shadow-sm);
}
.spgate-logo { height: 64px; width: auto; object-fit: contain; }
/* Header logo: lands big, tilted and hanging off the bar; settles into the
   slot once you scroll. Only transforms animate, so nothing reflows.
   The image is laid out at its LARGEST size (landing size) and scaled DOWN to the
   settled size. Scaling a small raster up with a transform left it blurry (Kendra, 2026-10-22).
   Border, radius and shadow are written at landing size too, so they scale down to 1px / 9px / shadow-sm. */
.site-header .brand-logo-slot { position: relative; width: 73px; height: 64px; flex: none; }
.site-header .brand-logo {
  position: absolute; top: 0; left: 0; width: 160.6px; height: 140.8px; max-width: none;
  transform-origin: 0 50%; will-change: transform;
  transform: translateY(-38.4px) scale(.4545);                /* settled: 73 x 64 */
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease;
  object-fit: contain; display: block; box-sizing: border-box;
  border: 2.2px solid var(--gold); border-radius: 19.8px; background: #fff;
  box-shadow: 0 2.2px 4.4px rgba(42, 38, 43, .06), 0 8.8px 26.4px rgba(42, 38, 43, .05);
}
/* Header logo: the image is a transparent cut-out of the logo, and the tile behind it is CSS,
   so the treatment can change without a new image. 2026-09-29: Eddie reviewed outline / light-fill /
   bare versions on a proof sheet and chose the solid gold block (1a); 2026-10-20 he changed it to 3a, the thin gold
   outline with a white inside and the wordmark. To go back to the solid block, set background to var(--gold). */
.site-header .brand-text { transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
html.home:not(.scrolled) .site-header .brand-logo {
  transform: translate(4px, 16.6px) rotate(-6deg);
  box-shadow: 0 15.4px 35.2px rgba(42, 38, 43, .26);
}
html.home:not(.scrolled) .site-header .brand-text { transform: translateX(100px); }
@media (max-width: 600px) {
  .site-header .brand-logo-slot { width: 57px; height: 50px; }
  .site-header .brand-logo {
    width: 91.2px; height: 80px;
    transform: translateY(-15px) scale(.625);                  /* settled: 57 x 50 */
    border-width: 1.6px; border-radius: 14.4px;
    box-shadow: 0 1.6px 3.2px rgba(42, 38, 43, .06), 0 6.4px 19.2px rgba(42, 38, 43, .05);
  }
  html.home:not(.scrolled) .site-header .brand-logo {
    transform: translate(2px, 9px) rotate(-6deg);
    box-shadow: 0 11.2px 25.6px rgba(42, 38, 43, .26);
  }
  html.home:not(.scrolled) .site-header .brand-text { transform: translateX(32px); }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.brand-sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-300); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--slate); font-weight: 500; font-size: .96rem;
  padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-navy-soft); }
.nav-cta { margin-left: 8px; }
.nav-links .nav-cta a.btn { color: var(--ink); font-weight: 700; padding: 11px 20px; border-radius: 999px; white-space: nowrap; }
.nav-links .nav-cta a.btn:hover { color: #fff; background: var(--gold-600); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; flex: none;
  width: 44px; height: 44px; border-radius: 10px; padding: 0; color: var(--navy);
}
/* The icon is an inline SVG drawn in currentColor so a color or contrast override reaches it. */
.nav-toggle svg { display: block; width: 26px; height: 26px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 480px) {
  .brand-name { font-size: .98rem; }
  .brand-sub { font-size: .58rem; letter-spacing: .06em; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h, 74px) 0 auto 0;
    max-height: calc(100vh - var(--header-h, 74px)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .28s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-links .nav-cta a.btn { width: 100%; padding: 14px 20px; white-space: normal; }
}
/* Larger text (set by the visitor, or the eG Access widget): chrome.js adds html.hdr-large when the brand
   text has grown past 1.3x. The header then keeps the compact menu at any width, drops the tagline,
   and does not hang the oversized logo off the bar, so nothing overlaps the hero. */
  html.hdr-large .nav-toggle { display: block; }
  html.hdr-large .nav-links {
    position: fixed; inset: var(--header-h, 74px) 0 auto 0;
    max-height: calc(100vh - var(--header-h, 74px)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .28s ease; visibility: hidden;
  }
  html.hdr-large .nav-links.open { transform: translateY(0); visibility: visible; }
  html.hdr-large .nav-links a { padding: 13px 12px; font-size: 1.05rem; }
  html.hdr-large .nav-cta { margin: 8px 0 0; }
  html.hdr-large .nav-links .nav-cta a.btn { width: 100%; padding: 14px 20px; white-space: normal; }
html.hdr-large .brand-sub { display: none; }
/* Just above the 900px menu breakpoint the tagline has no room next to the links. */
@media (min-width: 901px) and (max-width: 1120px) { .brand-sub { display: none; } }
html.hdr-large .site-header .nav { padding-top: 8px; padding-bottom: 8px; }
html.hdr-large.home:not(.scrolled) .site-header .brand-logo { transform: translateY(-38.4px) scale(.4545); box-shadow: 0 2.2px 4.4px rgba(42, 38, 43, .06), 0 8.8px 26.4px rgba(42, 38, 43, .05); }
html.hdr-large.home:not(.scrolled) .site-header .brand-text { transform: none; }
@media (max-width: 600px) {
  html.hdr-large.home:not(.scrolled) .site-header .brand-logo { transform: translateY(-15px) scale(.625); box-shadow: 0 1.6px 3.2px rgba(42, 38, 43, .06), 0 6.4px 19.2px rgba(42, 38, 43, .05); }
}

/* Hero ---------------------------------------------------------------------
   Shannon's portrait was shot against a white wall: the photo bleeds in from
   the right and its white side melts into the page, so the copy sits "on" the
   same wall she's leaning against. */
.hero { position: relative; overflow: hidden; background: #fff; }

/* The logo links to #top, which sits at the very top of <main>. Without this margin the sticky header
   covered the first 74px of the hero photo, cutting Shannon's head off (Kendra, posts 03 and 06). */
#top { display: block; scroll-margin-top: var(--header-h, 74px); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(66%, 1180px); }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%);
          mask-image: linear-gradient(to right, transparent 0, #000 26%);
}
.hero-grid {
  position: relative; display: flex; align-items: center;
  min-height: clamp(540px, 74vh, 760px);
  padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px);
}
.hero-copy { max-width: 520px; min-width: 0; }
.hero h1 { font-size: clamp(2.2rem, 4.1vw, 3.25rem); margin-bottom: .55em; }
.hero h1 .accent { color: var(--gold-600); font-style: italic; }
.hero h1 .h1-soft { display: block; font-weight: 300; color: var(--navy-600); margin-top: .12em; }
.hero-lede { font-size: 1.16rem; color: var(--slate); max-width: 36ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; color: var(--slate); font-size: .92rem; max-width: 440px; }
.hero-trust .dot { color: var(--gold); }
.hero .btn-ghost { background: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .hero-media { position: static; width: 100%; height: clamp(250px, 62vw, 440px); }
  .hero-photo {
    object-position: 58% 0%;      /* her head is at the very top of the frame: never crop it */
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .hero-grid { min-height: 0; padding-top: 8px; padding-bottom: 56px; }
  .hero-copy { max-width: none; }
  .hero-lede { max-width: none; }
}

/* Section scaffolding ------------------------------------------------------ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; }
.section-head { max-width: 62ch; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--slate); font-size: 1.08rem; margin: 0; text-wrap: balance; }
.section-navy .section-head h2 { color: #fff; }
.section-navy .section-head p { color: #e3dccb; }
.section-navy .eyebrow { color: var(--gold-300); }

/* Services ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #e6ddce; }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 18px;
  background: var(--bg-navy-soft); color: var(--navy); display: grid; place-items: center;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { color: var(--navy); margin-bottom: .5rem; }
.card ul { list-style: none; margin: .8rem 0 0; padding: 0; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--slate); font-size: .96rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a98b50'%3E%3Cpath d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 111.4-1.4l3.1 3.1 6.8-6.8a1 1 0 011.1-.3z'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

/* Value / why band --------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px;
}
.value .num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-weight: 600; }
.value h3 { color: #fff; font-size: 1.1rem; margin: .3rem 0 .4rem; }
.value p { color: #e3dccb; margin: 0; font-size: .96rem; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

/* Industries chips --------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chips { gap: 8px; max-width: 760px; }
/* Plain tags, not buttons: nothing here is clickable, so no pill outline, shadow or white fill. */
.chip {
  background: rgba(66, 61, 67, .07); border: 0; border-radius: 4px; box-shadow: none;
  padding: 4px 11px; font-weight: 400; color: var(--navy-600); font-size: .84rem; line-height: 1.5;
  cursor: default;
}

/* About -------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-portrait { position: relative; }
.about-portrait img {
  width: 100%; aspect-ratio: 4 / 5; height: auto; display: block;
  object-fit: cover; object-position: 40% 50%;   /* crops the landscape frame around Shannon — never stretches */
  border-radius: 20px; box-shadow: var(--shadow-md); background: var(--bg-soft);
}
/* The credential badge sits BELOW the photo on its own solid card. Over the photo, a contrast mode
   that clears backgrounds left white text on a picture (Kendra, post 05). */
.about-portrait .cred {
  margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .92rem; color: var(--navy); font-weight: 700;
}
.about-portrait .cred svg { width: 26px; height: 26px; color: var(--gold-600); flex: none; }
.about-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.about-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--slate); }
.about-list li strong { color: var(--navy); }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23423d43'%3E%3Cpath d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 111.4-1.4l3.1 3.1 6.8-6.8a1 1 0 011.1-.3z'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } .about-portrait { max-width: 380px; width: 100%; margin: 0 auto; } }

/* Reviews ------------------------------------------------------------------ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.stars { color: var(--gold-600); letter-spacing: 2px; margin-bottom: 12px; font-size: 1rem; }
.review blockquote { margin: 0 0 18px; font-size: 1.02rem; color: var(--ink); font-style: italic; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  color: var(--gold); display: grid; place-items: center; font-weight: 700; font-family: var(--serif);
}
.review .who b { color: var(--navy); display: block; font-size: .95rem; }
.review .who span { color: var(--slate-300); font-size: .84rem; }
.review-note { text-align: center; color: var(--slate-300); font-size: .85rem; margin-top: 22px; }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ ---------------------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-family: var(--font); font-weight: 600; font-size: 1.02rem; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform .25s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--gold-600); border-radius: 2px; }
.faq-q .plus::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq-q .plus::after { top: 0; bottom: 0; left: 10px; width: 2px; transition: opacity .25s; }
.faq-item[open] .faq-q .plus::after { opacity: 0; }
.faq-a { padding: 0 22px 20px; color: var(--slate); }
.faq-a p { margin: 0; }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .info-item svg { width: 24px; height: 24px; color: var(--gold-600); flex: none; margin-top: 3px; }
.contact-info .info-item .label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-300); font-weight: 700; }
.contact-info .info-item a, .contact-info .info-item span { color: var(--navy); font-weight: 500; font-size: 1.05rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 7px; }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus,
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 2px;
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169,139,80,.18);
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a6f3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select:invalid { color: var(--slate-300); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.form-note { font-size: .82rem; color: var(--slate-300); margin: 4px 0 18px; }
.form-status { margin-top: 14px; padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(31,157,107,.10); color: #157a52; border: 1px solid rgba(31,157,107,.3); }
.form-status.err { background: rgba(207,59,69,.08); color: #a92f38; border: 1px solid rgba(207,59,69,.3); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; } .contact-info .info-item a, .contact-info .info-item span { overflow-wrap: anywhere; } .field-row { grid-template-columns: 1fr; } }

/* CTA band ------------------------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3dccb; max-width: 56ch; margin: 0 auto 1.6rem; font-size: 1.1rem; }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #d3caba; padding: clamp(56px, 7vw, 88px) 0 88px; }   /* 88px at the bottom keeps the last line clear of the eG Access button */
.site-footer .container { max-width: none; padding: 0 clamp(20px, 3.5vw, 44px); }   /* full bleed */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 48px clamp(40px, 6vw, 96px); margin-bottom: 44px; align-items: start; }
.footer-logo {
  height: clamp(132px, 18vw, 210px); width: auto; max-width: 100%;
  object-fit: contain; display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));   /* follows the PNG's own rounded corners */
}
.footer-brand p { color: #b6ab97; max-width: 36ch; margin: 24px 0 10px; font-size: 1rem; line-height: 1.6; }
.footer-brand .brand-sub { color: var(--gold-300); }
.footer-col h4, .footer-col .footer-label { color: #fff; font-family: var(--font); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #d3caba; font-size: .95rem; text-decoration: underline; text-underline-offset: 2px; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; font-size: .85rem; color: #c4b8a4; }
.footer-bottom a { color: #c4b8a4; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-cred { color: #d3caba; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 720px) { .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* Reveal on scroll --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.site-footer :focus-visible,
.section-navy :focus-visible {
  outline-color: var(--gold-300);
}

/* Inner pages, legal copy, and error pages -------------------------------- */
.page-intro { padding-bottom: 0; }
.page-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-lede { color: var(--slate); font-size: 1.08rem; max-width: 62ch; }
.legal-section { padding-top: 8px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: 40px; align-items: start; }
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.45rem; margin-top: 1.75rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.35rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--slate); }
.legal li { margin-bottom: .45rem; }
.legal a, .legal-aside a { text-decoration: underline; text-underline-offset: 2px; }
.legal-aside { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.legal-aside h2 { font-size: 1.25rem; margin-top: 0; }
.legal-aside .label, .contact-list .label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-300); font-weight: 700; }
.help-card { margin-bottom: 1.6rem; }
.help-card h2 { margin-top: 0; font-size: 1.35rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.contact-list li { margin-bottom: .85rem; }
.err-wrap { min-height: 46vh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; text-align: center; padding: 12px 8px 28px; }
.err-code { font-family: var(--serif); font-size: clamp(4rem, 14vw, 8rem); color: var(--gold); line-height: 1; margin: 0; }
.err-copy { color: var(--slate); max-width: 44ch; margin: 0 auto 1.6rem; }
.err-actions { justify-content: center; }
.err-note { color: var(--slate); font-size: .95rem; margin-top: 1.6rem; }
@media (max-width: 820px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } }
.legal, .legal-aside { overflow-wrap: break-word; }

/* Print -------------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .hero-media, .cta-band, .site-footer, .form-card { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
