/* ==========================================================================
   Finochio Tax — styles
   ========================================================================== */

:root {
  --ink: #0e234a;          /* navy (from logo) */
  --ink-2: #1a3160;
  --ink-soft: #3b4a66;
  --paper: #faf8f4;        /* warm ivory */
  --paper-2: #f0eee8;
  --card: #ffffff;
  --gold: #b09153;         /* gold (from logo) */
  --gold-soft: #e6d6b0;
  --gold-text: #84682f;    /* gold dark enough for small text on ivory */
  --text: #161d2b;
  --muted: #5c6579;
  --line: #e0dcd1;
  --focus: #b09153;

  --display: "Cinzel", "Trajan Pro", Georgia, serif;   /* matches the logo wordmark */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 34, 64, .04), 0 8px 24px rgba(15, 34, 64, .06);
  --shadow-lg: 0 2px 4px rgba(15, 34, 64, .04), 0 24px 60px rgba(15, 34, 64, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.fineprint { font-size: 13px; color: var(--muted); line-height: 1.5; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font: 600 12px/1.5 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-soft); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 var(--sans);
  padding: 16px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  border: 1px solid var(--ink); cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 34, 64, .18); }
.btn-small { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--gold-soft); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 248, 244, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { height: 52px; width: auto; }
.brand-word { display: flex; flex-direction: column; gap: 6px; }
.brand-name { font: 600 27px/1 var(--display); color: var(--ink); letter-spacing: .1em; text-transform: uppercase; }
.brand-sub {
  font: 500 11px/1 var(--display); color: var(--gold-text); letter-spacing: .2em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.brand-sub::before, .brand-sub::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .7; }
.brand-logo { height: 46px; width: auto; }
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand-mark { height: 42px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 9px; letter-spacing: .16em; }
}

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav-menu a:not(.btn) {
  font-size: 15px; color: var(--ink-soft); text-decoration: none; position: relative; padding: 6px 0;
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-menu a:not(.btn):hover { color: var(--ink); }
.nav-menu a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s, background .3s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-menu {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    box-shadow: 0 20px 40px rgba(15, 34, 64, .08);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-menu.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { border: 0; padding-top: 16px; }
  .nav-menu a:not(.btn) { display: block; padding: 14px 0; font-size: 17px; }
  .nav-menu .btn { width: 100%; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
  padding: clamp(72px, 10vw, 140px) 0 clamp(88px, 10vw, 140px);
  min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 23, 45, .92) 0%, rgba(12, 28, 54, .74) 45%, rgba(15, 34, 64, .28) 100%),
    linear-gradient(0deg, rgba(10, 23, 45, .7) 0%, transparent 40%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.04; letter-spacing: -.03em; margin-bottom: 28px;
}
.hero h1 em { color: var(--gold-soft); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); max-width: 34em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230e234a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.hero-trust span { color: #fff; font-weight: 500; }
.hero-credit {
  position: absolute; left: 0; right: 0; bottom: 20px; margin: 0 auto;
  text-align: right; font-size: 12px; color: rgba(255, 255, 255, .5);
}
.hero-credit a { color: inherit; text-underline-offset: 2px; }
.hero-credit a:hover { color: #fff; }

/* Deadline card */
.deadline-card {
  background: rgba(10, 23, 45, .55); color: #fff;
  border: 1px solid rgba(233, 215, 168, .22);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.deadline-card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 360px; height: 360px;
  border-radius: 50%; border: 1px solid rgba(232, 217, 189, .14);
  box-shadow: 0 0 0 40px rgba(232, 217, 189, .03), 0 0 0 80px rgba(232, 217, 189, .02);
}
.deadline-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.deadline-label { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin: 0; }
.deadline-pulse { width: 8px; height: 8px; border-radius: 50%; background: #7fd1a8; box-shadow: 0 0 0 0 rgba(127, 209, 168, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127, 209, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 209, 168, 0); } }
.deadline-date { font: 400 34px/1.1 var(--serif); margin: 0 0 6px; letter-spacing: -.01em; }
.deadline-name { color: rgba(255, 255, 255, .75); font-size: 15px; margin: 0 0 30px; min-height: 1.6em; }
.deadline-count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.deadline-days { font: 300 84px/.9 var(--serif); color: var(--gold-soft); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.deadline-unit { color: rgba(255, 255, 255, .7); font-size: 15px; }
.deadline-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-bottom: 24px; }
.deadline-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width 1.4s var(--ease); }
.deadline-foot { font-size: 14px; color: rgba(255, 255, 255, .7); margin: 0; position: relative; }
.deadline-foot a { color: #fff; text-underline-offset: 3px; text-decoration-color: var(--gold); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .deadline-card { max-width: 480px; }
}

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2, .about-copy h2, .contact-info h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; }
.section-sub { color: var(--muted); font-size: 18px; margin: 20px 0 0; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: var(--paper); padding: 40px 36px; transition: background .35s; }
.service:hover { background: var(--card); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 28px;
  transition: background .35s, border-color .35s;
}
.service:hover .service-icon { background: var(--ink); border-color: var(--ink); }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.service:hover .service-icon svg { stroke: var(--gold-soft); }
.service h3 { font-size: 23px; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 16px; margin: 0; }

@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .service { padding: 32px 26px; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 32px; border-top: 1px solid var(--ink); }
.step-num { position: absolute; top: -12px; left: 0; background: var(--paper-2); padding-right: 12px; font: italic 400 15px/24px var(--serif); color: var(--gold-text); }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about-portrait { position: relative; }
.portrait-frame {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(232, 217, 189, .25), transparent 55%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.portrait-frame img:not(.portrait-logo) { width: 100%; height: 100%; object-fit: cover; }
.portrait-logo { width: 72%; height: auto; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; }
.values { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.values li { font-size: 15px; color: var(--muted); padding-left: 20px; position: relative; }
.values li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.values strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 420px; }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 34px; position: relative; transition: transform .35s var(--ease), box-shadow .35s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price h3 { font-size: 24px; margin-bottom: 18px; }
.price-amount { font: 300 54px/1 var(--serif); color: var(--ink); letter-spacing: -.03em; margin-bottom: 12px; }
.price-amount span { font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-right: 4px; }
.price-desc { color: var(--muted); font-size: 15px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price li { font-size: 15px; padding-left: 26px; position: relative; }
.price li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230e234a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.price-featured { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-featured h3, .price-featured .price-amount { color: #fff; }
.price-featured .price-amount span, .price-featured .price-desc { color: rgba(255, 255, 255, .65); }
.price-featured .price-desc { border-color: rgba(255, 255, 255, .15); }
.price-tag {
  position: absolute; top: 24px; right: 24px; margin: 0;
  font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  background: var(--gold); color: #fff; padding: 7px 11px; border-radius: 999px;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 520px; } }

/* Resources */
.resources-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.checklist, .link-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.checklist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.checklist h3, .link-card h3 { font-size: 26px; }
.checklist-progress { margin: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.checklist-progress span:first-child { color: var(--ink); font-weight: 600; }
.checklist-note { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.checklist-groups { display: grid; gap: 28px; }
.checklist fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist legend { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; padding: 0; }
.checklist label {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 10px 12px; margin: 0 -12px; border-radius: 10px; font-size: 15px;
  transition: background .2s, color .2s;
}
.checklist label:hover { background: var(--paper); }
.checklist input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 20px; height: 20px; border: 1.5px solid #c8bfae; border-radius: 6px; margin: 0; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.checklist input::after {
  content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease);
}
.checklist input:checked { background: var(--ink); border-color: var(--ink); }
.checklist input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.checklist label:has(input:checked) { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.checklist-actions { display: flex; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

.links-col { display: grid; gap: 24px; }
.quick-links { list-style: none; margin: 18px 0 0; padding: 0; }
.quick-links li + li { border-top: 1px solid var(--line); }
.quick-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0; text-decoration: none; font-size: 15px; color: var(--ink);
  transition: color .2s, padding .25s var(--ease);
}
.quick-links a span { font-size: 12px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.quick-links a span::after { content: " ↗"; }
.quick-links a:hover { color: var(--gold); padding-left: 6px; }

.date-list { list-style: none; margin: 18px 0 16px; padding: 0; display: grid; gap: 2px; }
.date-list li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: baseline; padding: 10px 0; font-size: 15px; border-top: 1px solid var(--line); }
.date-list li:first-child { border-top: 0; }
.date-list time { font: 500 16px/1.2 var(--serif); color: var(--ink); }
.date-list li.is-next time { color: var(--gold-text); }
.date-list li.is-next { font-weight: 500; }
.date-list li.is-past { color: var(--muted); opacity: .6; }
@media (max-width: 960px) { .resources-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .checklist, .link-card { padding: 28px 22px; } }

/* Portal CTA */
.portal { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.portal::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(232, 217, 189, .12);
  box-shadow: 0 0 0 60px rgba(232, 217, 189, .025), 0 0 0 120px rgba(232, 217, 189, .02);
}
.portal-inner { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 48px; align-items: center; }
.portal h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin-bottom: 18px; max-width: 16em; }
.portal p:not(.eyebrow) { color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 34em; margin: 0; }
.portal-actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
@media (max-width: 860px) { .portal-inner { grid-template-columns: 1fr; } .portal-actions { flex-direction: row; flex-wrap: wrap; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 120px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font: 400 21px/1.35 var(--serif); color: var(--ink);
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-list summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--gold);
  transition: transform .3s var(--ease);
}
.faq-list summary::before { transform: rotate(90deg); }
.faq-list details[open] summary::before { transform: rotate(0); }
.faq-list summary:hover { color: var(--gold); }
.faq-list details p { color: var(--muted); padding: 0 48px 28px 0; margin: 0; animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } .faq-wrap .section-head { position: static; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 96px); align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; }
.contact-list { margin: 40px 0 0; display: grid; gap: 0; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list dt { font: 600 12px/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.contact-list dd { margin: 0; color: var(--ink); }
.contact-list dd a { text-decoration: none; border-bottom: 1px solid var(--gold-soft); transition: border-color .2s; }
.contact-list dd a:hover { border-color: var(--gold); }
.contact-list .muted { font-size: 14px; }

.contact-form {
  background: var(--card); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e234a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(176, 145, 83, .15);
}
.field .is-invalid { border-color: #b4533c; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-size: 14px; text-align: center; min-height: 1.5em; }
.form-status.is-ok { color: #2f7a55; }
.form-status.is-err { color: #b4533c; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-logo { width: 190px; height: auto; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 26em; margin: 16px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-legal p { margin: 0; }
.footer-legal .fineprint { max-width: 44em; }

/* Legal/secondary pages */
.page { padding: clamp(64px, 8vw, 104px) 0; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; margin-bottom: 12px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }

/* Reveal animation ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Print: just the checklist */
@media print {
  body { background: #fff; }
  body * { visibility: hidden; }
  .checklist, .checklist * { visibility: visible; }
  .checklist { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; box-shadow: none; }
  .checklist-actions, .checklist-note { display: none; }
  .checklist label { text-decoration: none !important; color: #000 !important; }
}
