/* ═══════════════════════════════════════════════════════════════════
   ARCERA — Shared Stylesheet
   Single source of truth for all pages.
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   1. GOOGLE FONTS
───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@300;400&display=swap');

/* ─────────────────────────────────────────
   2. DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --bg:         #F9F7F4;
  --navy:       #0D1B2A;
  --gold:       #C9A84C;
  --gold-hover: #dbb95e;
  --gold-dark:  #8A6D1D; /* WCAG AA on cream bg (#F9F7F4), ~5:1 contrast */
  --body:       #2C2C2C;
  --muted:      #6B7280;
  --divider:    #E8E4DF;
  --footer-bg:  #070f18;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'DM Sans', sans-serif;
  --font-mono:  'DM Mono', monospace;
  --nav-height: 72px;
  /* Gold grid textures */
  --grid-texture:
    linear-gradient(rgba(201,168,76,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.035) 1px, transparent 1px);
  --grid-texture-sm:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
}

/* ─────────────────────────────────────────
   3. RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─────────────────────────────────────────
   4. BASE BODY
───────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navy background pages */
body.page-pricing,
body.page-contact,
body.page-schedule,
body.page-signin { background: var(--navy); }

/* ─────────────────────────────────────────
   5. SHARED COMPONENT UTILITIES
───────────────────────────────────────── */

/* ── Section inner containers ── */
.gap-inner,
.how-inner,
.footer-inner { max-width: 1040px; margin: 0 auto; }

/* ── Serif section headings ── */
.hero-h1, .hero-context-h1,
.gap-heading, .cta-heading, .how-heading, .how-card-title,
.pricing-title, .left-title, .schedule-title,
.faq-hero-title, .help-footer-title,
.post-title, .form-header-title, .signin-heading,
.tier-name, .cal-title, .cal-placeholder-title {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* ── Weight-300 body paragraphs ── */
.hero-sub, .cta-body, .gap-body,
.story-narrative, .left-body, .schedule-subtitle,
.faq-hero-sub, .pricing-subtitle, .how-card-body,
.how-sub, .post-body, .help-footer-sub,
.accordion-answer {
  font-weight: 300;
  line-height: 1.75;
}
/* Line-height overrides where they differ from the 1.75 base */
.gap-body, .story-narrative, .accordion-answer { line-height: 1.8; }
.faq-hero-sub, .pricing-subtitle,
.how-sub, .help-footer-sub,
.cal-placeholder-sub                           { line-height: 1.6; }
.post-body                                     { line-height: 1.7; }

/* ── Mono uppercase labels (full set) ── */
.hero-eyebrow, .section-eyebrow, .cta-eyebrow,
.pricing-eyebrow, .left-eyebrow, .schedule-eyebrow,
.faq-hero-eyebrow, .hero-context-eyebrow, .help-footer-eyebrow,
.form-header-label, .cal-label,
.story-location, .story-attribution,
.how-step, .step-num, .item-num,
.expect-label, .la-note, .la-text,
.footer-col-label, .stat-unit, .stat-vs,
.nav-sub, .scroll-hint-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* Eyebrow subset — shared appearance */
.hero-eyebrow, .section-eyebrow, .cta-eyebrow,
.pricing-eyebrow, .left-eyebrow, .schedule-eyebrow,
.faq-hero-eyebrow, .hero-context-eyebrow, .help-footer-eyebrow,
.form-header-label, .cal-label, .story-location {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold-dark); /* dark gold — passes WCAG AA on cream bg */
}
/* Eyebrows on dark/navy backgrounds get the lighter gold back */
.hero-eyebrow, .cta-eyebrow,
.faq-hero-eyebrow, .help-footer-eyebrow,
.story-location { color: #D8B96A; }
/* Individual eyebrow overrides */
.pricing-eyebrow, .left-eyebrow,
.schedule-eyebrow, .faq-hero-eyebrow { font-size: 12.5px; }
.faq-hero-eyebrow  { letter-spacing: 0.28em; }
.cta-eyebrow       { letter-spacing: 0.32em; }
.form-header-label { font-weight: 500; letter-spacing: 0.24em; }
.cal-label         { font-weight: 500; letter-spacing: 0.22em; }
.help-footer-eyebrow { font-weight: 500; letter-spacing: 0.28em; }

/* ── Flex icon boxes ── */
.how-icon, .check-mark, .contact-icon,
.cal-icon, .accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Round dots ── */
.la-dot, .expect-dot, .defend-badge-dot,
.feat-dot, .util-dot {
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Input underline focus (contact + signin share identical pattern) ── */
.input-wrap,
.signin-input-wrap { position: relative; }
.input-wrap::after,
.signin-input-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.input-wrap:focus-within::after,
.signin-input-wrap:focus-within::after { width: 100%; }

/* ── Service area notes (pricing + FAQ footer) ── */
.footer-service-note,
.faq-footer-service-note {
  font-size: 11px;
  font-weight: 300;
  color: rgba(249,247,244,0.22);
  letter-spacing: 0.1em;
}
.faq-footer-service-note { margin-top: 28px; }

/* ─────────────────────────────────────────
   6. NAV
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: var(--nav-height);
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

/* Hamburger sits beside the logo on mobile */
/* Mobile nav: 3-column grid → hamburger | logo (centered) | CTA */
@media (max-width: 860px) {
  nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
    align-items: center;
    gap: 0;
  }
  nav > .hamburger  { align-self: center; }
  nav > .nav-logo   { justify-self: center; align-self: center; }
  nav > .nav-links  { justify-self: end; align-self: center; display: flex; align-items: center; }
  nav > .nav-links .nav-link,
  nav > .nav-links .nav-signin { display: none; }
  nav > .nav-links .nav-cta {
    font-size: 10px;
    padding: 10px 14px;
    letter-spacing: 0.14em;
    white-space: nowrap;
    line-height: 1;
  }
}

.nav-logo {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #D8B96A;
  text-decoration: none;
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F9F7F4;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover  { color: var(--gold); }
.nav-link.active { color: var(--gold); }

.nav-cta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-hover); }

/* Location sub-bar (home only) */
.nav-sub {
  text-align: left;
  display: flex;
  align-items: center;
  padding: 0 56px;
  height: 32px;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(249,247,244,0.62);
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  z-index: 199;
}
.nav-sub-label         { color: var(--gold); letter-spacing: 0.06em; margin-right: 0.5em; font-size: 9.5px; font-weight: 500; font-family: var(--font-sans); text-transform: uppercase; }
.nav-sub-city          { color: rgba(249,247,244,0.95); font-weight: 600; font-family: var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; font-size: 9.5px; }
.nav-sub-neighborhoods { color: rgba(249,247,244,0.80); }
.nav-sub--hidden       { display: none; }

/* ── Inner-page nav positioning (layout only — visual style is shared above) ── */
body.page-pricing nav,
body.page-schedule nav { position: relative; z-index: 10; background: transparent; }
body.page-contact nav  { position: fixed;    z-index: 100; }
body.page-faq nav      { position: sticky; top: 0; z-index: 100; }

/* ── Responsive nav (all pages unified) ── */
@media (max-width: 860px) {
  nav { padding: 0 24px; }

  .nav-link { display: none; }

  .nav-sub-neighborhoods { display: none; }
  .nav-sub { text-align: left; padding-left: 28px; }
  .nav-sub-label { letter-spacing: 0.14em; }
  .nav-sub-city::before { content: '·'; margin: 0 0.5em; color: rgba(249,247,244,0.40); }
  .hero-eyebrow, .section-eyebrow, .cta-eyebrow,
  .pricing-eyebrow, .left-eyebrow, .schedule-eyebrow,
  .faq-hero-eyebrow, .hero-context-eyebrow, .help-footer-eyebrow { letter-spacing: 0.14em; }
}

/* ─────────────────────────────────────────
   7. BUTTONS
───────────────────────────────────────── */

/* ── Slide-reveal base (shared by all wipe-transition buttons) ── */
.btn-primary, .btn-cta-primary, .btn-cta-ghost, .btn-card,
.btn-submit, .btn-schedule, .btn-prim, .btn-signin,
.help-btn, body.page-header .nav-cta {
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary::before, .btn-cta-primary::before, .btn-cta-ghost::before, .btn-card::before,
.btn-submit::before, .btn-schedule::before, .btn-prim::before, .btn-signin::before,
.help-btn::before, body.page-header .nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary:hover::before, .btn-cta-primary:hover::before, .btn-cta-ghost:hover::before,
.btn-card:hover::before, .btn-submit:hover::before, .btn-schedule:hover::before,
.btn-prim:hover::before, .btn-signin:hover::before, .help-btn:hover::before,
body.page-header .nav-cta:hover::before { transform: translateX(0); }

.btn-primary span, .btn-cta-primary span, .btn-cta-ghost span, .btn-card span,
.btn-submit span, .btn-schedule span, .btn-prim span, .btn-signin span,
.help-btn span, body.page-header .nav-cta span { position: relative; z-index: 1; }

/* ── Gold primary buttons ── */
.btn-primary,
.btn-cta-primary {
  background: var(--gold);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.btn-primary::before,
.btn-cta-primary::before  { background: var(--bg); }
.btn-primary              { padding: 15px 36px; }
.btn-cta-primary          { padding: 16px 44px; letter-spacing: 0.22em; }

/* ── Ghost button (on dark bg) ── */
.btn-cta-ghost {
  padding: 15px 36px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(249,247,244,0.5);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn-cta-ghost::before { background: rgba(255,255,255,0.07); }
.btn-cta-ghost:hover   { color: rgba(249,247,244,0.85); }

/* ── Scroll arrow ghost ── */
.btn-ghost-light {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(249,247,244,0.5);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.btn-ghost-light:hover      { color: rgba(249,247,244,0.85); }
.btn-ghost-light svg        { transition: transform 0.25s ease; }
.btn-ghost-light:hover svg  { transform: translateX(4px); }

/* ── Navy bg button group (submit / schedule / prim / signin) ── */
.btn-submit, .btn-schedule,
.btn-prim,   .btn-signin {
  background: var(--navy);
  color: var(--bg);
  border: none;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.btn-submit::before, .btn-schedule::before,
.btn-prim::before,   .btn-signin::before  { background: var(--gold); }
.btn-submit:hover, .btn-schedule:hover,
.btn-prim:hover,   .btn-signin:hover      { color: var(--navy); }

/* Individual padding/display overrides */
.btn-submit  { flex-shrink: 0; padding: 14px 36px; }
.btn-prim    { padding: 14px 36px; }
.btn-signin  { width: 100%; padding: 15px; font-size: 11px; display: block; }
.btn-schedule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
}
.btn-schedule svg               { position: relative; z-index: 1; transition: transform 0.25s ease; }
.btn-schedule:hover svg         { transform: translateX(3px); }

/* ── Pricing card buttons ── */
.btn-card {
  display: block;
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
}
.btn-ghost              { background: transparent; border: 1px solid var(--divider); color: var(--navy); }
.btn-ghost::before      { background: var(--navy); }
.btn-ghost:hover        { color: var(--bg); }
.btn-gold               { background: var(--gold); color: var(--navy); }
.btn-gold::before       { background: var(--bg); }
.btn-gold:hover         { color: var(--navy); }

/* ── FAQ / help section buttons ── */
.help-btn {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
}
.help-btn-gold          { background: var(--gold); color: var(--navy); }
.help-btn-gold::before  { background: var(--bg); }
.help-btn-ghost         { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: rgba(249,247,244,0.55); }
.help-btn-ghost::before { background: rgba(255,255,255,0.08); }
.help-btn-ghost:hover   { color: var(--bg); }

/* ── Header page CTA override ── */
body.page-header .nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--navy);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
body.page-header .nav-cta::before { background: var(--gold); }
body.page-header .nav-cta:hover   { color: var(--navy); }

/* ── Secondary outline button (header page) ── */
.btn-sec {
  padding: 13px 32px;
  border: 1px solid var(--divider);
  color: var(--muted);
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}
.btn-sec:hover { border-color: var(--navy); color: var(--navy); }

/* ─────────────────────────────────────────
   8. ANIMATIONS & KEYFRAMES
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpFeatured {
  from { opacity: 0; transform: translateY(2px);   }
  to   { opacity: 1; transform: translateY(-14px); }
}
@keyframes pulse {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.2); }
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ─────────────────────────────────────────
   9. SCROLL-REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible         { opacity: 1; transform: translateY(0); }
.reveal-delay-1         { transition-delay: 0.1s; }
.reveal-delay-2         { transition-delay: 0.2s; }
.reveal-delay-3         { transition-delay: 0.32s; }
.reveal-delay-4         { transition-delay: 0.4s; }
.reveal-delay-5         { transition-delay: 0.5s; }

/* ─────────────────────────────────────────
   10. GRID TEXTURE UTILITY
───────────────────────────────────────── */
.grid-bg                { position: relative; overflow: hidden; }
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-texture);
  background-size: 52px 52px;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   11. FOOTER
───────────────────────────────────────── */
footer,
.site-footer {
  background: var(--footer-bg);
  padding: 52px 56px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}
.footer-brand-sep {
  width: 1px;
  height: 16px;
  background: rgba(249,247,244,0.18);
  flex-shrink: 0;
}
.footer-tagline {
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: rgba(249,247,244,0.50);
  letter-spacing: 0.04em;
}
.footer-rule { border: none; border-top: 1px solid rgba(255,255,255,0.05); margin: 0; }

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-label { font-size: 9px; font-weight: 400; letter-spacing: 0.24em; color: rgba(249,247,244,0.28); margin-bottom: 4px; }

.footer-links { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249,247,244,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold); }

.footer-link--cta {
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.45);
  padding: 7px 16px;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.footer-link--cta:hover {
  background: rgba(201,168,76,0.10);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 11px; font-weight: 300; color: rgba(249,247,244,0.48); letter-spacing: 0.06em; }

.footer-contact { display: flex; gap: 24px; }
.footer-contact a {
  font-size: 11px;
  font-weight: 300;
  color: rgba(249,247,244,0.48);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover { color: rgba(249,247,244,0.75); }

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 4px;
}
.footer-legal-link {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(249,247,244,0.52);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}
.footer-legal-link:hover { color: rgba(249,247,244,0.80); }
.footer-legal-sep {
  font-size: 9px;
  color: rgba(249,247,244,0.30);
  padding: 0 10px;
}

/* Legal footer row on cream-bg subpages */
.page-legal-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  padding: 20px 32px;
  border-top: 1px solid var(--divider);
  margin-top: 8px;
}
.page-legal-footer .footer-legal-link { color: var(--muted); }
.page-legal-footer .footer-legal-link:hover { color: var(--navy); }
.page-legal-footer .footer-legal-sep { color: var(--divider); padding: 0 10px; }

@media (max-width: 640px) {
  .footer-legal { gap: 8px 0; }
  .page-legal-footer { padding: 20px; }
}


/* ═══════════════════════════════════════════════════════════════════
   12. PAGE: HOME  (index.html)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 88px;
}

.hero-left {
  background: var(--navy);
  padding: 88px 72px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-texture);
  background-size: 52px 52px;
}
.hero-left::after {
  content: '';
  position: absolute;
  top: 15%; bottom: 15%; right: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.35), transparent);
}

/* .hero-eyebrow base in section 5 */
.hero-eyebrow { margin-bottom: 12px; position: relative; opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards; }

.hero-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(249,247,244,0.60);
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.08s forwards;
}

/* .hero-h1 font-family/weight from section 5 */
.hero-h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--bg);
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-h1 em { font-style: italic; font-weight: 300; color: rgba(249,247,244,0.65); }

/* .hero-sub weight/line-height from section 5 */
.hero-sub {
  font-size: 15px;
  color: rgba(249,247,244,0.72);
  max-width: 420px;
  margin-bottom: 48px;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-right { background: #0a1520; position: relative; overflow: hidden; }
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(201,168,76,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 30% 70%, rgba(249,200,120,0.05) 0%, transparent 60%);
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-photo-label { position: absolute; bottom: 40px; left: 40px; z-index: 2; opacity: 0; animation: fadeUp 0.7s ease 0.55s forwards; }
.hero-photo-label-text { font-size: 8.5px; font-weight: 300; letter-spacing: 0.22em; color: rgba(201,168,76,0.45); }
.hero-diagonal { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay { position: absolute; inset: 0; background: transparent; z-index: 1; }

/* ── Section: The Gap ── */
.gap-section { background: var(--bg); padding: 112px 56px; position: relative; overflow: hidden; }

/* .section-eyebrow color/font from section 5 */
.section-eyebrow { margin-bottom: 16px; }

/* .gap-heading font-family/weight from section 5 */
.gap-heading {
  font-size: clamp(34px, 4.5vw, 56px);
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 64px;
  max-width: 640px;
}

.stats-row  { display: flex; flex-direction: column; gap: 24px; margin-bottom: 56px; }
.stats-pair { display: flex; align-items: flex-start; gap: 64px; }

/* .stat-vs font-family/uppercase from section 5 */
.stat-vs  { font-size: 10px; font-weight: 400; letter-spacing: 0.28em; color: var(--muted); opacity: 0.7; margin-top: 22px; flex-shrink: 0; }
.stat-block { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(72px, 10vw, 120px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num.gold { color: var(--gold-dark); font-weight: 400; }
.stat-num.dim  { color: #8a8480; }

/* .stat-unit font-family/uppercase from section 5 */
.stat-unit  { font-size: 11px; font-weight: 400; letter-spacing: 0.3em; color: var(--muted); margin-top: 4px; margin-bottom: 6px; }
.stat-label { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.stat-caption { font-family: var(--font-mono); font-size: 9.5px; font-weight: 300; letter-spacing: 0.18em; color: var(--muted); opacity: 0.8; }

/* .gap-body weight/line-height from section 5 */
.gap-body { font-size: 15.5px; color: var(--muted); max-width: 58ch; align-self: center; }

/* Poetic intro block */
.gap-intro { max-width: 52ch; display: flex; flex-direction: column; }

/* Default: tight — lines within the same thought sit close */
.gap-intro-line {
  font-size: 15px;
  font-weight: 400;
  color: #595959;
  line-height: 1.65;
  margin-bottom: 0.18em;
}

/* "Between them sits…" — pause after the couplet, tight before Proof */
.gap-intro-setup {
  margin-top: 1.1em;
  margin-bottom: 0.15em;
}

/* "Proof." — the dramatic drop */
.gap-intro-proof {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 600;
  color: #8A6D1D;
  line-height: 1;
  letter-spacing: 0.04em;
  margin: 0.2em 0 0.8em;
}

/* "Arcera exists in that gap." — resolution, separated from the pair above */
.gap-intro-close {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--body);
  line-height: 1.5;
  margin-top: 1em;
  letter-spacing: 0.01em;
}

/* Comparison table */
.comparison { margin-top: 64px; border-top: 1px solid rgba(13,27,42,0.1); }
.comparison-header { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-col-label { padding: 16px 28px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.comparison-col-label.agent  { color: var(--body); background: rgba(13,27,42,0.05); border-right: 1px solid var(--divider); border-bottom: 2px solid rgba(13,27,42,0.12); }
.comparison-col-label.arcera { color: var(--gold-dark); font-size: 12px; background: rgba(201,168,76,0.13); border-bottom: 2px solid var(--gold); border-left: 2px solid rgba(201,168,76,0.35); padding-left: 32px; }

.comparison-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--divider); transition: background 0.2s; }
.comparison-row:hover { background: rgba(201,168,76,0.03); }
.comparison-cell { padding: 16px 28px; font-size: 13.5px; font-weight: 300; line-height: 1.5; color: var(--muted); }
.comparison-cell.agent  { border-right: 1px solid var(--divider); }
.comparison-cell.arcera { display: flex; align-items: flex-start; gap: 12px; color: var(--body); font-weight: 400; padding-left: 32px; background: rgba(201,168,76,0.04); border-left: 2px solid rgba(201,168,76,0.3); }

.check-dot { width: 16px; height: 16px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-dot svg { color: var(--gold-dark); }

/* ── Section: Client Stories ── */
.stories-section { background: var(--navy); position: relative; overflow: hidden; }
.stories-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.story { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; position: relative; }
.story:nth-child(2) { min-height: 680px; }
.story + .story { border-top: 1px solid rgba(255,255,255,0.06); }
.story-content { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.story:nth-child(2) .story-content { order: 2; }

/* .story-location font/uppercase from section 5 */
.story-location { font-size: 9px; font-weight: 400; letter-spacing: 0.42em; color: var(--gold); margin-bottom: 20px; }

/* .story-narrative weight/line-height from section 5 */
.story-narrative { font-size: 14.5px; color: rgba(249,247,244,0.72); max-width: 65ch; margin-bottom: 32px; }

.story-quote {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--bg);
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  margin-bottom: 36px;
}

/* .story-attribution font-family/uppercase from section 5 */
.story-attribution { font-size: 9.5px; font-weight: 300; letter-spacing: 0.18em; color: rgba(249,247,244,0.48); margin-top: -20px; margin-bottom: 28px; }

.story-outcomes { display: flex; gap: 32px; flex-wrap: wrap; }
.outcome        { display: flex; flex-direction: column; gap: 4px; }
.outcome-val    { font-family: var(--font-mono); font-size: 15px; font-weight: 400; color: var(--gold); letter-spacing: 0.02em; }
.outcome-label  { font-size: 10.5px; font-weight: 300; color: rgba(249,247,244,0.55); letter-spacing: 0.06em; }

.story-visual                     { position: relative; overflow: hidden; }
.story:nth-child(2) .story-visual { order: 1; }
.story-visual-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.story-1-bg { }
.story-2-bg { }
.story-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-photo-overlay { position: absolute; inset: 0; background: transparent; z-index: 1; }
.story-num  { font-family: var(--font-serif); font-weight: 300; font-size: 160px; color: rgba(201,168,76,0.18); line-height: 1; user-select: none; pointer-events: none; position: relative; z-index: 2; }

/* ── Section: How It Works ── */
.how-section { background: var(--bg); padding: 112px 56px; }

.how-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 72px; gap: 40px; flex-wrap: wrap; }

/* .how-heading font-family/weight from section 5 */
.how-heading { font-size: clamp(28px, 4vw, 44px); color: var(--navy); letter-spacing: 0.02em; line-height: 1.1; }

/* .how-sub weight/line-height from section 5 */
.how-sub { font-size: 13.5px; color: var(--muted); max-width: 320px; text-align: right; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.how-card {
  padding: 48px 40px 64px;
  border-top: 2px solid var(--divider);
  position: relative;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.how-card:not(:last-child) { border-right: 1px solid var(--divider); }
@media (hover: hover) { .how-card:hover { border-top-color: var(--gold); } }

/* .how-step font-family/uppercase from section 5 */
.how-step { font-size: 9px; font-weight: 500; letter-spacing: 0.38em; color: var(--gold-dark); margin-bottom: 6px; }

/* .how-card-title font-family/weight from section 5 */
.how-card-title { font-size: 22px; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 22px; }

/* .how-card-body weight/line-height from section 5 */
.how-card-body { font-size: 13.5px; color: var(--muted); max-width: 65ch; margin-bottom: 28px; flex: 1; }

/* .how-card-detail weight/line-height from section 5 */
.how-card-detail { font-size: 11.5px; font-weight: 600; color: var(--navy); letter-spacing: 0.12em; }
.how-card-detail--link {
  display: inline-block;
  text-decoration: none;
  background: rgba(13, 27, 42, 0.05);
  border-radius: 4px;
  padding: 4px 10px;
  transition: background 0.2s ease;
}
.how-card-detail--link:hover { background: rgba(13, 27, 42, 0.1); }

/* .how-icon flex from section 5 */
.how-icon { width: 40px; height: 40px; border: 1px solid var(--divider); margin-bottom: 24px; color: var(--gold-dark); transition: border-color 0.3s; }
@media (hover: hover) { .how-card:hover .how-icon { border-color: var(--gold); } }

.defend-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 6px 12px; border: 1px solid rgba(201,168,76,0.3); background: rgba(201,168,76,0.05); }
/* .defend-badge-dot bg/radius from section 5 */
.defend-badge-dot  { width: 4px; height: 4px; }
/* .defend-badge-text font-family from section 5 (it's mono uppercase) */
.defend-badge-text { font-size: 9px; font-weight: 500; letter-spacing: 0.28em; color: var(--gold-dark); }

/* ── Section: Final CTA ── */
.cta-section {
  background: var(--navy);
  padding: 120px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

/* .cta-eyebrow color/font from section 5 */
.cta-eyebrow { margin-bottom: 20px; }

/* .cta-heading font-family/weight from section 5 */
.cta-heading { font-size: clamp(36px, 5vw, 56px); color: var(--bg); letter-spacing: 0.02em; line-height: 1.08; margin-bottom: 20px; }

/* .cta-body weight/line-height from section 5 */
.cta-body { font-size: 15px; color: rgba(249,247,244,0.68); max-width: 65ch; margin-bottom: 20px; }
.cta-body--closing { font-size: 17px; font-weight: 500; color: rgba(249,247,244,0.92); letter-spacing: 0.01em; margin-bottom: 48px; }

.cta-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.cta-note    { font-size: 11px; font-weight: 300; color: rgba(249,247,244,0.45); letter-spacing: 0.12em; }

.cta-social-proof { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 36px; opacity: 0; animation: fadeUp 0.6s ease forwards; }
.cta-social-proof.visible { opacity: 1; }
.proof-dots { display: flex; gap: 3px; }
.proof-dot  { width: 20px; height: 20px; border-radius: 50%; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.25); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 6px; color: rgba(201,168,76,0.6); margin-left: -6px; }
.proof-dot:first-child { margin-left: 0; }
.proof-text { font-family: var(--font-mono); font-size: 12px; font-weight: 300; color: rgba(249,247,244,0.62); letter-spacing: 0.02em; }

/* Mobile sticky CTA */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--gold); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px 24px; text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
.sticky-cta svg { flex-shrink: 0; }

/* Responsive — Home */
@media (max-width: 900px) {
  .sticky-cta { display: block; }
  .comparison-cell         { padding: 14px 16px; font-size: 12.5px; }
  .comparison-col-label    { padding: 12px 16px; }
  .comparison-cell.arcera,
  .comparison-col-label.arcera { padding-left: 14px; border-left-width: 2px; }
  .hero                    { grid-template-columns: 1fr; min-height: auto; }
  .hero-right              { display: none; }
  .hero-left               { padding: 72px 28px 60px; }
  .hero-eyebrow            { display: none; }
  .hero-kicker             { display: none; }
  .hero-h1                 { order: 1; margin-bottom: 20px; }
  .hero-sub                { order: 2; }
  .hero-actions            { order: 3; }
  .gap-section, .cta-section { padding: 72px 28px; }
  .how-section { padding: 48px 28px; }
  .stats-pair              { gap: 40px; }
  .stories-section .story  { grid-template-columns: 1fr; }
  .story-visual            { min-height: 300px; }
  .story-content           { padding: 48px 28px; }
  .story:nth-child(2) .story-content { order: 1; }
  .story:nth-child(2) .story-visual  { order: 2; }
  .how-grid                { grid-template-columns: 1fr; }
  .how-card:not(:last-child) { border-right: none; border-bottom: 1px solid var(--divider); }
  .how-header              { flex-direction: column; align-items: center; text-align: center; margin-bottom: 36px; gap: 12px; }
  .how-sub                 { text-align: center; max-width: 100%; }
  .how-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto auto auto auto;
    column-gap: 16px;
    align-items: start;
  }
  .how-icon        { grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; align-self: start; }
  .how-step        { grid-column: 2; grid-row: 1; margin-bottom: 4px; }
  .how-card-title  { grid-column: 2; grid-row: 2; margin-bottom: 20px; }
  .how-card-body   { grid-column: 1 / -1; grid-row: 3; }
  .how-card-detail { grid-column: 1 / -1; grid-row: 4; }
  .defend-badge    { grid-column: 1 / -1; grid-row: 5; }
  footer                   { padding: 48px 24px 88px; }
  .footer-brand            { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-brand-sep        { display: none; }
  .footer-contact          { flex-direction: column; gap: 6px; }
}


/* ═══════════════════════════════════════════════════════════════════
   13. PAGE: PRICING  (pricing.html)
   ═══════════════════════════════════════════════════════════════════ */

body.page-pricing::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grid-texture);
  background-size: 56px 56px;
  pointer-events: none;
}

.pricing-page {
  position: relative;
  z-index: 1;
  padding: 72px 56px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header { text-align: center; margin-bottom: 64px; opacity: 0; animation: fadeUp 0.6s ease forwards; }

/* .pricing-eyebrow color/font from section 5 */
.pricing-eyebrow { margin-bottom: 14px; }

/* .pricing-title font-family/weight from section 5 */
.pricing-title { font-size: clamp(30px, 4vw, 44px); color: var(--bg); letter-spacing: 0.04em; line-height: 1.1; margin-bottom: 12px; }

/* .pricing-subtitle weight/line-height from section 5 */
.pricing-subtitle { font-size: 14px; color: rgba(249,247,244,0.65); max-width: 480px; margin: 0 auto; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }

.pricing-card {
  background: var(--bg);
  padding: 48px 40px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:nth-child(1) { animation-delay: 0.1s; border-top: 3px solid var(--divider); border-right: 1px solid var(--divider); }
.pricing-card:nth-child(3) { animation-delay: 0.3s; border-top: 3px solid var(--divider); border-left: 1px solid rgba(201,168,76,0.2); }
.pricing-card:nth-child(1):hover,
.pricing-card:nth-child(3):hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(0,0,0,0.18); }

.pricing-card.featured {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  animation-delay: 0.2s;
  animation-name: fadeUpFeatured;
  transform: translateY(-14px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.24), 0 32px 72px rgba(0,0,0,0.38), 0 0 0 1px rgba(201,168,76,0.3);
  z-index: 2;
}
.pricing-card.featured:hover {
  transform: translateY(-20px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 48px 88px rgba(0,0,0,0.44), 0 0 0 1px rgba(201,168,76,0.45);
}

/* .step-num font-family/uppercase from section 5 */
.step-num { font-size: 9px; font-weight: 300; letter-spacing: 0.24em; color: var(--gold); margin-bottom: 20px; }
.pricing-card:not(.featured) .step-num { color: rgba(201,168,76,0.6); }

/* .tier-name font-family/weight from section 5 */
.tier-name { font-size: 22px; letter-spacing: 0.06em; color: var(--bg); margin-bottom: 6px; }
.featured .tier-name { color: var(--bg); }

.tier-sub { font-size: 12px; font-weight: 300; color: var(--muted); margin-bottom: 28px; line-height: 1.5; }
.featured .tier-sub { color: rgba(249,247,244,0.45); }

.price-block { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--divider); }
.featured .price-block { border-bottom-color: rgba(255,255,255,0.1); }

.price { font-family: var(--font-mono); font-weight: 300; font-size: 44px; letter-spacing: -0.02em; color: var(--navy); line-height: 1; }
.featured .price { color: var(--bg); }
.price sup        { font-size: 18px; vertical-align: top; margin-top: 8px; display: inline-block; opacity: 0.65; }

.price-note { font-size: 11.5px; font-weight: 300; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.featured .price-note { color: rgba(249,247,244,0.4); }
.price-note strong    { color: var(--gold); font-weight: 500; }

.pricing-features { list-style: none; flex: 1; margin-bottom: 36px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.5;
  border-bottom: 1px solid rgba(224,219,212,0.5);
}
.pricing-features li:last-child             { border-bottom: none; }
.featured .pricing-features li              { color: rgba(249,247,244,0.72); border-bottom-color: rgba(255,255,255,0.07); }

/* .feat-dot bg/radius from section 5 */
.feat-dot { width: 4px; height: 4px; margin-top: 7px; }
.pricing-card:not(.featured) .feat-dot { opacity: 0.55; }

.small-print { font-size: 11px; font-weight: 300; color: var(--muted); font-style: italic; margin-bottom: 24px; line-height: 1.5; }
.featured .small-print { color: rgba(249,247,244,0.3); }

.pricing-footer-block { margin-top: 52px; text-align: center; opacity: 0; animation: fadeUp 0.6s ease 0.45s forwards; }
.footer-cta-line      { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: 18px; color: rgba(249,247,244,0.55); margin-bottom: 6px; }
/* .footer-service-note in section 5 */

@media (max-width: 780px) {
  .pricing-page { padding: 48px 20px 60px; }
  body.page-pricing nav { padding: 0 20px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card.featured { transform: none; box-shadow: 0 8px 32px rgba(0,0,0,0.3); animation-name: fadeUp; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .pricing-card:nth-child(1),
  .pricing-card:nth-child(3) { border-right: none; border-left: none; }
}


/* ═══════════════════════════════════════════════════════════════════
   DIGITAL PRICING TIERS (New 2026-03-23)
   ═══════════════════════════════════════════════════════════════════ */

/* Page background override */
body.page-pricing { background: var(--bg); }
body.page-pricing nav { position: sticky; top: 0; z-index: 100; background: var(--navy); }

/* Pricing Tiers Section */
.pricing-tiers-section {
  padding: 64px 56px 80px;
  background: var(--bg);
}

.pricing-tiers-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

/* Tier Cards */
.tier-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}

.tier-card:nth-child(1) { animation-delay: 0.1s; }
.tier-card:nth-child(2) { animation-delay: 0.2s; }
.tier-card:nth-child(3) { animation-delay: 0.3s; }
.tier-card:nth-child(4) { animation-delay: 0.4s; }

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,27,42,0.1);
}

/* Featured card */
.tier-card--featured {
  background: var(--navy);
  border: none;
  transform: translateY(-8px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2), 0 24px 64px rgba(0,0,0,0.15), 0 0 0 1px rgba(201,168,76,0.25);
  animation-delay: 0.2s;
  animation-name: fadeUpFeatured;
}
.tier-card--featured:hover {
  transform: translateY(-14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 36px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(201,168,76,0.4);
}
@keyframes fadeUpFeatured {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: translateY(-8px); }
}

/* Featured label */
.tier-featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Tier header */
.tier-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.tier-card--featured .tier-eyebrow { color: rgba(201,168,76,0.7); }

.tier-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.tier-card--featured .tier-name { color: var(--bg); }

.tier-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}
.tier-card--featured .tier-sub { color: rgba(249,247,244,0.5); }

/* Tier price */
.tier-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}
.tier-card--featured .tier-price { border-bottom-color: rgba(255,255,255,0.1); }

.tier-price-amount {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tier-card--featured .tier-price-amount { color: var(--bg); }
.tier-price-amount span { font-size: 14px; font-weight: 300; opacity: 0.6; }

.price-monthly { display: block; margin-bottom: 4px; }
.price-monthly span { font-size: 14px; }
.price-yearly { display: block; font-size: 13px; color: var(--muted); font-weight: 300; margin-top: 4px; }
.tier-card--featured .price-yearly { color: rgba(249,247,244,0.4); }

.tier-price-unit {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 8px;
}
.tier-card--featured .tier-price-unit { color: rgba(249,247,244,0.4); }

/* Tier features */
.tier-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.5;
  border-bottom: 1px solid rgba(224,219,212,0.5);
}
.tier-features li:last-child { border-bottom: none; }
.tier-card--featured .tier-features li {
  color: rgba(249,247,244,0.72);
  border-bottom-color: rgba(255,255,255,0.07);
}
.tier-card--featured .tier-features li:last-child { border-bottom: none; }

.tier-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.tier-card--featured .tier-features li::before { opacity: 0.7; }

/* Tier button */
.btn-tier-primary {
  display: block;
  width: 100%;
  padding: 14px 20px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: background 0.3s, color 0.3s;
}
.btn-tier-primary:hover {
  background: var(--navy);
  color: var(--bg);
}

.btn-tier-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-tier-gold:hover {
  background: var(--bg);
  color: var(--navy);
}
.tier-card--featured .btn-tier-gold {
  border-color: var(--gold);
}

.tier-note {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}
.tier-card--featured .tier-note { color: rgba(249,247,244,0.35); }


/* Feature Comparison */
.feature-comparison-section {
  padding: 80px 56px;
  background: #fff;
  border-top: 1px solid var(--divider);
}

.feature-comparison-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.comparison-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--divider);
}

.comparison-table th {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(13,27,42,0.03);
}

.comparison-table th:not(:first-child) {
  text-align: center;
}

.comparison-table td:not(:first-child) {
  text-align: center;
  font-weight: 300;
  color: var(--muted);
}

.comparison-table td:first-child {
  font-weight: 400;
  color: var(--body);
}

.comparison-table tbody tr:hover {
  background: rgba(201,168,76,0.03);
}

/* FAQ Section Header */
.faq-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-section-header .faq-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .pricing-tiers-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .tier-card--featured {
    transform: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation-name: fadeUp;
  }
  .tier-card--featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  .pricing-tiers-section { padding: 48px 20px 60px; }
  .pricing-tiers-inner { grid-template-columns: 1fr; gap: 20px; }
  .feature-comparison-section { padding: 48px 20px; }
  .tier-card { padding: 32px 24px; }
  .comparison-table { font-size: 12px; }
  .comparison-table th,
  .comparison-table td { padding: 10px 8px; }
}


/* ═══════════════════════════════════════════════════════════════════
   14. PAGE: CONTACT  (contact.html)
   ═══════════════════════════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 60px;
}

.contact-left {
  background: var(--navy);
  padding: 72px 64px 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.contact-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-texture-sm);
  background-size: 48px 48px;
  pointer-events: none;
}
.contact-left::after {
  content: '';
  position: absolute;
  top: 72px; bottom: 72px; right: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3), transparent);
}

.left-top    { position: relative; }
.left-bottom { position: relative; opacity: 0; animation: fadeUp 0.6s ease 0.3s forwards; }

/* .left-eyebrow color/font from section 5 */
.left-eyebrow { margin-bottom: 20px; opacity: 0; animation: fadeUp 0.6s ease 0.05s forwards; }

/* .left-title font-family/weight from section 5 */
.left-title { font-size: clamp(36px, 4vw, 52px); color: var(--bg); letter-spacing: 0.03em; line-height: 1.1; margin-bottom: 24px; opacity: 0; animation: fadeUp 0.6s ease 0.12s forwards; }

/* .left-body weight/line-height from section 5 */
.left-body { font-size: 14.5px; color: rgba(249,247,244,0.48); max-width: 380px; opacity: 0; animation: fadeUp 0.6s ease 0.18s forwards; }

.la-qualifier { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; padding: 9px 16px; border: 1px solid rgba(201,168,76,0.2); opacity: 0; animation: fadeUp 0.6s ease 0.24s forwards; }
/* .la-dot bg/radius from section 5 */
.la-dot  { width: 6px; height: 6px; }
/* .la-text font-family/uppercase from section 5 */
.la-text { font-size: 9.5px; font-weight: 300; letter-spacing: 0.18em; color: rgba(249,247,244,0.4); }

.contact-rule { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 24px; }

.contact-item            { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-item:last-child { margin-bottom: 0; }

/* .contact-icon flex from section 5 */
.contact-icon { width: 32px; height: 32px; border: 1px solid rgba(201,168,76,0.2); flex-shrink: 0; }
.contact-icon svg { color: var(--gold); }

.contact-label { font-size: 10px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(249,247,244,0.3); margin-bottom: 2px; }
.contact-value { font-size: 13.5px; font-weight: 300; color: rgba(249,247,244,0.65); text-decoration: none; transition: color 0.2s; }
.contact-value:hover { color: var(--gold); }

.contact-right { background: var(--bg); padding: 72px 56px 72px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; }

.form-wrap { position: relative; }
.form-header { margin-bottom: 40px; opacity: 0; animation: fadeUp 0.6s ease 0.15s forwards; }
/* .form-header-label font from section 5 */
.form-header-label { margin-bottom: 8px; }
/* .form-header-title font-family/weight from section 5 */
.form-header-title { font-size: 24px; letter-spacing: 0.06em; color: var(--navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; opacity: 0; animation: fadeUp 0.6s ease forwards; }
.form-row.full       { grid-template-columns: 1fr; }
.form-row:nth-child(2) { animation-delay: 0.22s; }
.form-row:nth-child(3) { animation-delay: 0.28s; }
.form-row:nth-child(4) { animation-delay: 0.34s; }
.form-row:nth-child(5) { animation-delay: 0.40s; }

.field label { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

/* .input-wrap position + ::after in section 5 */

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  outline: none;
  padding: 8px 0 10px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 300;
  color: var(--body);
  transition: border-color 0.25s;
}
.field textarea { resize: none; height: 110px; line-height: 1.7; padding-top: 10px; }
.field input::placeholder,
.field textarea::placeholder { color: #ccc8c2; font-weight: 300; }

.submit-row  { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; opacity: 0; animation: fadeUp 0.6s ease 0.46s forwards; }
.submit-note { font-size: 11.5px; font-weight: 300; color: var(--muted); line-height: 1.5; }
/* .btn-submit in section 7 */

.post-submit { display: none; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 400px; opacity: 0; animation: fadeUp 0.7s ease forwards; }
.post-submit.visible { display: flex; }

/* .check-mark flex from section 5 */
.check-mark { width: 52px; height: 52px; border: 1px solid var(--gold); margin-bottom: 28px; }
.check-mark svg { color: var(--gold); }

/* .post-title font-family/weight from section 5 */
.post-title { font-size: 32px; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 12px; }

/* .post-body weight/line-height from section 5 */
.post-body { font-size: 14.5px; color: var(--muted); margin-bottom: 36px; max-width: 400px; }
/* .btn-schedule in section 7 */

@media (max-width: 860px) {
  .contact-layout      { grid-template-columns: 1fr; }
  .contact-left        { padding: 56px 28px; min-height: auto; }
  .contact-left::after { display: none; }
  .contact-right       { padding: 56px 28px; }
}


/* ═══════════════════════════════════════════════════════════════════
   15. PAGE: SCHEDULE  (schedule.html)
   ═══════════════════════════════════════════════════════════════════ */

body.page-schedule::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grid-texture);
  background-size: 56px 56px;
  pointer-events: none;
}

.schedule-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: calc(100vh - 60px);
}

.schedule-left {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(201,168,76,0.12);
}

/* .schedule-eyebrow color/font from section 5 */
.schedule-eyebrow { margin-bottom: 20px; opacity: 0; animation: fadeUp 0.6s ease 0.05s forwards; }

/* .schedule-title font-family/weight from section 5 */
.schedule-title { font-size: clamp(32px, 4vw, 48px); color: var(--bg); letter-spacing: 0.03em; line-height: 1.1; margin-bottom: 20px; opacity: 0; animation: fadeUp 0.6s ease 0.12s forwards; }

/* .schedule-subtitle weight/line-height from section 5 */
.schedule-subtitle { font-size: 14px; color: rgba(249,247,244,0.65); margin-bottom: 40px; max-width: 360px; opacity: 0; animation: fadeUp 0.6s ease 0.18s forwards; }

.expect { opacity: 0; animation: fadeUp 0.6s ease 0.24s forwards; }
/* .expect-label font-family/uppercase from section 5 */
.expect-label { font-size: 9px; font-weight: 300; letter-spacing: 0.22em; color: rgba(249,247,244,0.25); margin-bottom: 16px; }

.expect-list    { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.expect-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; font-weight: 300; color: rgba(249,247,244,0.55); line-height: 1.5; }
/* .expect-dot bg/radius from section 5 */
.expect-dot { width: 4px; height: 4px; margin-top: 6px; opacity: 0.6; }

.schedule-left-bottom { opacity: 0; animation: fadeUp 0.6s ease 0.3s forwards; }
.schedule-rule { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 20px; }
/* .la-note font-family/uppercase from section 5 */
.la-note { font-size: 9px; font-weight: 300; letter-spacing: 0.18em; color: rgba(249,247,244,0.2); }

.schedule-right { background: var(--bg); display: flex; flex-direction: column; opacity: 0; animation: fadeUp 0.7s ease 0.2s forwards; }

.calendar-header { padding: 40px 56px 28px; border-bottom: 1px solid var(--divider); }
/* .cal-label font from section 5 */
.cal-label { margin-bottom: 6px; }
/* .cal-title font-family/weight from section 5 */
.cal-title { font-size: 22px; letter-spacing: 0.04em; color: var(--navy); }

.calendly-wrap { flex: 1; min-height: 600px; position: relative; }

.calendly-consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-height: 320px;
  padding: 40px;
  background: rgba(13,27,42,0.03);
  border: 1px solid rgba(13,27,42,0.08);
  border-radius: 6px;
}
.calendly-consent-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(249,247,244,0.55);
  margin: 0;
}
.calendly-consent-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.calendly-consent-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.calendly-consent-btn:hover { opacity: 0.85; }
.calendly-consent-or {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(249,247,244,0.25);
  text-transform: uppercase;
}
.calendly-consent-email {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(249,247,244,0.45);
  text-decoration: none;
  transition: color 0.15s;
}
.calendly-consent-email:hover { color: var(--gold); }
.calendly-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px; text-align: center; }

/* .cal-icon flex from section 5 */
.cal-icon { width: 56px; height: 56px; border: 1px solid var(--divider); color: var(--gold); }
/* .cal-placeholder-title font-family/weight from section 5 */
.cal-placeholder-title { font-size: 20px; color: var(--navy); letter-spacing: 0.04em; }
/* .cal-placeholder-sub weight/line-height from section 5 */
.cal-placeholder-sub { font-size: 13px; color: var(--muted); max-width: 340px; }
.cal-placeholder-code { font-family: var(--font-mono); font-size: 11px; font-weight: 300; color: var(--muted); background: rgba(13,27,42,0.04); border: 1px solid var(--divider); padding: 10px 20px; letter-spacing: 0.06em; }

.calendly-inline-widget { width: 100%; height: 100%; min-height: 600px; }

@media (max-width: 820px) {
  body.page-schedule nav   { padding: 0 24px; }
  .schedule-layout         { grid-template-columns: 1fr; }
  .schedule-left           { padding: 48px 24px; border-right: none; border-bottom: 1px solid rgba(201,168,76,0.12); }
  .schedule-right          { min-height: 600px; }
  .calendar-header         { padding: 28px 24px 20px; }
}


/* ═══════════════════════════════════════════════════════════════════
   16. PAGE: FAQ  (help.html)
   ═══════════════════════════════════════════════════════════════════ */

.faq-hero {
  background: var(--navy);
  padding: 64px 56px 72px;
  position: relative;
  overflow: hidden;
}
.faq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-texture-sm);
  background-size: 48px 48px;
  pointer-events: none;
}
.faq-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}

.faq-hero-inner { position: relative; max-width: 780px; opacity: 0; animation: fadeUp 0.6s ease forwards; }

/* .faq-hero-eyebrow color/font from section 5 */
.faq-hero-eyebrow { margin-bottom: 14px; }
/* .faq-hero-title font-family/weight from section 5 */
.faq-hero-title { font-size: clamp(28px, 4vw, 42px); color: var(--bg); letter-spacing: 0.04em; line-height: 1.1; margin-bottom: 10px; }
/* .faq-hero-sub weight/line-height from section 5 */
.faq-hero-sub { font-size: 14px; color: rgba(249,247,244,0.65); }

.faq-content { max-width: 780px; margin: 0 auto; padding: 60px 56px 80px; }

.accordion-item { border-bottom: 1px solid var(--divider); opacity: 0; animation: fadeUp 0.6s ease forwards; }
.accordion-item:nth-child(1) { animation-delay: 0.1s; }
.accordion-item:nth-child(2) { animation-delay: 0.18s; }
.accordion-item:nth-child(3) { animation-delay: 0.26s; }
.accordion-item:first-child  { border-top: 1px solid var(--divider); }

.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; background: none; border: none; cursor: pointer; text-align: left; }
.trigger-left      { display: flex; align-items: flex-start; gap: 20px; flex: 1; }

/* .item-num font-family/uppercase from section 5 */
.item-num { font-size: 9px; font-weight: 300; letter-spacing: 0.2em; color: var(--gold); opacity: 0.7; margin-top: 4px; flex-shrink: 0; width: 24px; }

.accordion-question { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: 22px; letter-spacing: 0.01em; color: var(--navy); line-height: 1.3; transition: color 0.2s; }
.accordion-trigger:hover .accordion-question { color: var(--gold); }

/* .accordion-icon flex from section 5 */
.accordion-icon { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--divider); transition: background 0.25s, border-color 0.25s; }
.accordion-icon svg { color: var(--muted); transition: transform 0.35s ease, color 0.2s; }
.accordion-item.open .accordion-icon     { background: var(--navy); border-color: var(--navy); }
.accordion-item.open .accordion-icon svg { color: var(--bg); transform: rotate(45deg); }

.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1); }
.accordion-item.open .accordion-body { max-height: 600px; }

/* .accordion-answer weight/line-height from section 5 */
.accordion-answer { padding: 0 0 32px 44px; font-size: 15px; color: var(--muted); }

.help-footer {
  background: var(--navy);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.38s forwards;
}
.help-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.help-footer-inner { max-width: 780px; margin: 0 auto; }

/* .help-footer-eyebrow font from section 5 */
.help-footer-eyebrow { margin-bottom: 10px; }
/* .help-footer-title font-family/weight from section 5 */
.help-footer-title { font-size: 32px; color: var(--bg); letter-spacing: 0.03em; margin-bottom: 8px; }
/* .help-footer-sub weight/line-height from section 5 */
.help-footer-sub { font-size: 14px; color: rgba(249,247,244,0.65); margin-bottom: 36px; }

.help-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
/* help-btn variants in section 7; .faq-footer-service-note in section 5 */

@media (max-width: 640px) {
  body.page-faq nav, .faq-hero, .faq-content, .help-footer { padding-left: 20px; padding-right: 20px; }
  .accordion-answer { padding-left: 0; }
  .trigger-left     { gap: 12px; }
  .help-actions     { flex-direction: column; align-items: flex-start; }
}


/* ═══════════════════════════════════════════════════════════════════
   17. PAGE: HEADER  (header.html)
   ═══════════════════════════════════════════════════════════════════ */

body.page-header { background: var(--bg); }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 300; transition: transform 0.35s ease; }
.site-header.hide { transform: translateY(-100%); }

/* Tier 1: Utility bar */
.util-bar {
  height: 38px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: height 0.35s ease, opacity 0.35s ease;
  overflow: hidden;
}
.site-header.scrolled .util-bar { height: 0; opacity: 0; border-bottom: none; }

.util-left { display: flex; align-items: center; gap: 6px; }
/* .util-dot bg/radius from section 5 */
.util-dot  { width: 5px; height: 5px; opacity: 0.7; }
/* .util-location font-family/uppercase from section 5 */
.util-location { font-size: 8.5px; font-weight: 300; letter-spacing: 0.22em; color: rgba(249,247,244,0.90); }
.util-sep      { width: 1px; height: 12px; background: rgba(255,255,255,0.20); margin: 0 16px; }
.util-neighborhoods { font-family: var(--font-mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.14em; color: rgba(249,247,244,0.65); }

.util-right   { display: flex; align-items: center; gap: 24px; }
.util-contact { display: flex; align-items: center; gap: 20px; }
.util-contact a { font-family: var(--font-mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.12em; color: rgba(249,247,244,0.28); text-decoration: none; transition: color 0.2s; }
.util-contact a:hover { color: rgba(249,247,244,0.6); }

.util-icons { display: flex; align-items: center; gap: 12px; }
.util-icon  { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: rgba(249,247,244,0.25); cursor: pointer; transition: color 0.2s; background: none; border: none; padding: 0; }
.util-icon:hover { color: rgba(249,247,244,0.65); }
.util-icon.has-badge { position: relative; }
.util-icon.has-badge::after { content: ''; position: absolute; top: 1px; right: 1px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Tier 2: Main nav */
.main-nav {
  height: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  transition: height 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled .main-nav {
  height: 52px;
  background: rgba(249,247,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}

.nav-left   { display: flex; align-items: center; gap: 20px; }
.nav-center { display: flex; align-items: center; gap: 36px; }
.nav-right  { display: flex; align-items: center; gap: 16px; }

.hamburger { width: 36px; height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; background: none; border: none; padding: 0; flex-shrink: 0; }
.hamburger span { display: block; height: 1px; background: rgba(249,247,244,0.85); transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease; }
@media (min-width: 861px) { .hamburger { display: none; } }
.hamburger span:nth-child(1) { width: 20px; }
.hamburger span:nth-child(2) { width: 14px; align-self: flex-start; }
.hamburger span:nth-child(3) { width: 20px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 20px; }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }

body.page-header .nav-logo { font-weight: 300; font-size: 18px; color: var(--navy); transition: color 0.2s; }
body.page-header .nav-logo:hover { color: var(--gold); }

body.page-header .nav-link { font-size: 10.5px; color: var(--muted); position: relative; padding-bottom: 2px; }
body.page-header .nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.25s ease; }
body.page-header .nav-link:hover        { color: var(--navy); }
body.page-header .nav-link:hover::after { width: 100%; }
body.page-header .nav-link.active       { color: var(--navy); font-weight: 500; }
body.page-header .nav-link.active::after { width: 100%; }

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--divider);
  background: transparent;
  transition: border-color 0.25s, background 0.25s;
  min-width: 160px;
}
.search-wrap:focus-within { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.03); }
.search-wrap svg { color: var(--muted); flex-shrink: 0; }
.search-input { background: none; border: none; outline: none; font-family: var(--font-sans); font-size: 12px; font-weight: 300; color: var(--body); width: 100%; }
.search-input::placeholder { color: #c0bbb4; }

/* body.page-header .nav-cta in section 7 */

/* ═══════════════════════════════════════════════════
   Mobile drawer — Estate Ledger aesthetic
   Deep navy portfolio panel, Cormorant serif headings,
   staggered entrance, gold left-border on active item.
   ═══════════════════════════════════════════════════ */

.drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(100vw, 340px);
  height: 100vh;
  background: #080F18;
  z-index: 400;
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }

/* Diagonal hairline texture */
.drawer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent, transparent 48px,
    rgba(201,168,76,0.022) 48px,
    rgba(201,168,76,0.022) 49px
  );
  pointer-events: none;
}
/* Ambient glow — top-left corner */
.drawer::after {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 68%);
  pointer-events: none;
}

/* ── Header ── */
.drawer-header {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px 0 30px;
  border-bottom: 1px solid rgba(201,168,76,0.13);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.drawer-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
}
.drawer-close {
  width: 28px; height: 28px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(249,247,244,0.25);
  transition: color 0.2s;
}
.drawer-close:hover { color: rgba(249,247,244,0.75); }

/* ── Nav links ── */
.drawer-nav {
  flex: 1;
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  position: relative; z-index: 1;
  overflow-y: auto;
}

/* Default: invisible (entrance animation will reveal) */
.drawer-link {
  display: flex;
  align-items: center;
  padding: 0 26px 0 28px;
  height: 74px;
  text-decoration: none;
  position: relative;
  border-left: 2px solid transparent;
  transition: border-left-color 0.22s;
  /* Visible by default — animation is enhancement only */
  opacity: 1;
  transform: translateX(0);
}
/* Hairline between rows */
.drawer-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 30px; right: 26px;
  height: 1px;
  background: rgba(255,255,255,0.045);
  transition: opacity 0.2s;
}
.drawer-link:last-child::after { display: none; }
.drawer-link:hover::after      { opacity: 0; }

.drawer-link:hover { border-left-color: rgba(201,168,76,0.28); }
.drawer-link.active {
  border-left-color: var(--gold);
  background: linear-gradient(to right, rgba(201,168,76,0.06) 0%, transparent 100%);
}

/* Staggered entrance — cosmetic only; links are visible even if animation fails */
.drawer.open .drawer-link { animation: drawerLinkIn 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.drawer.open .drawer-link:nth-child(1) { animation-delay: 0.06s; }
.drawer.open .drawer-link:nth-child(2) { animation-delay: 0.13s; }
.drawer.open .drawer-link:nth-child(3) { animation-delay: 0.20s; }
.drawer.open .drawer-link:nth-child(4) { animation-delay: 0.27s; }

@keyframes drawerLinkIn {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.drawer-link-icon {
  flex-shrink: 0;
  flex-basis: 20px;
  width: 20px;
  height: 20px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(249,247,244,0.16);
  transition: color 0.25s;
}
.drawer-link-icon svg { display: block; }
.drawer-link:hover .drawer-link-icon  { color: rgba(201,168,76,0.5); }
.drawer-link.active .drawer-link-icon { color: rgba(201,168,76,0.75); }

.drawer-link-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: rgba(249,247,244,0.45);
  transition: color 0.25s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
  line-height: 1;
}
.drawer-link:hover .drawer-link-text {
  color: rgba(249,247,244,0.9);
  transform: translateX(6px);
}
.drawer-link.active .drawer-link-text {
  color: #F9F7F4;
  font-weight: 400;
}

/* ── CTA section ── */
.drawer-cta-section {
  padding: 20px 26px;
  border-top: 1px solid rgba(255,255,255,0.055);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.drawer.open .drawer-cta-section {
  animation: drawerFadeUp 0.42s 0.34s cubic-bezier(0.16,1,0.3,1) both;
}
.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px 15px 22px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: background 0.22s;
}
.drawer-cta:hover { background: var(--gold-hover); }
.drawer-cta-arrow {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
  color: rgba(13,27,42,0.6);
}
.drawer-cta:hover .drawer-cta-arrow { transform: translateX(4px); }

/* ── Auth section ── */
.drawer-auth {
  padding: 14px 26px 32px;
  border-top: 1px solid rgba(255,255,255,0.055);
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.drawer.open .drawer-auth {
  animation: drawerFadeUp 0.42s 0.41s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes drawerFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.drawer-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249,247,244,0.4);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.drawer-auth-btn:hover { border-color: rgba(255,255,255,0.2); color: rgba(249,247,244,0.82); }
.drawer-auth-btn--dashboard {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.24);
  color: rgba(201,168,76,0.85);
}
.drawer-auth-btn--dashboard:hover {
  background: rgba(201,168,76,0.13);
  border-color: rgba(201,168,76,0.5);
  color: var(--gold);
}
.drawer-auth-btn--logout { border-color: rgba(255,255,255,0.06); color: rgba(249,247,244,0.28); }
.drawer-auth-btn--logout:hover { border-color: rgba(200,50,50,0.28); color: rgba(255,95,95,0.75); }

/* ── Overlay ── */
.drawer-overlay { position: fixed; inset: 0; background: rgba(4,10,18,0.72); backdrop-filter: blur(3px); z-index: 399; opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* Hero context (demo content below header) */
.hero-context {
  padding-top: 102px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
}
.hero-context::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.05) 0%, transparent 70%); }
.hero-context-inner { text-align: center; max-width: 680px; padding: 0 32px; position: relative; }

/* .hero-context-eyebrow color/font from section 5 */
.hero-context-eyebrow { margin-bottom: 20px; }
/* .hero-context-h1 font-family/weight from section 5 */
.hero-context-h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.06; letter-spacing: 0.01em; color: var(--navy); margin-bottom: 20px; }
.hero-context-h1 em { font-weight: 300; font-style: italic; color: var(--muted); }
.hero-context-sub { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.75; margin-bottom: 40px; }
.hero-context-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
/* .btn-prim / .btn-sec in section 7 */

.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.35; }
/* .scroll-hint-label font-family/uppercase from section 5 */
.scroll-hint-label { font-size: 8.5px; letter-spacing: 0.22em; color: var(--muted); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--divider), transparent); animation: scrollDrop 1.8s ease-in-out infinite; }

@media (max-width: 860px) {
  .util-bar           { padding: 0 24px; }
  .util-neighborhoods { display: none; }
  .util-sep           { display: none; }
  .main-nav           { padding: 0 24px; }
  .nav-center         { display: none; }
  .search-wrap        { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════
   18. PAGE: SIGNIN  (signin.html)
   ═══════════════════════════════════════════════════════════════════ */

body.page-signin::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
body.page-signin::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.signin-page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }

.wordmark { font-family: var(--font-serif); font-weight: 300; font-size: 13px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; opacity: 0; animation: fadeUp 0.6s ease forwards; }

.signin-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  position: relative;
  padding: 52px 48px 44px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
  border-top: 3px solid var(--gold);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.14),
    0 32px 64px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.signin-card::before,
.signin-card::after { content: ''; position: absolute; width: 16px; height: 16px; border-color: var(--gold); border-style: solid; opacity: 0.5; }
.signin-card::before { bottom: 16px; left: 16px;  border-width: 0 0 1px 1px; }
.signin-card::after  { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }

/* .signin-heading font-family/weight from section 5 */
.signin-heading { font-size: 28px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); text-align: center; margin-bottom: 8px; opacity: 0; animation: fadeUp 0.6s ease 0.2s forwards; }
.heading-rule   { width: 32px; height: 1px; background: var(--gold); margin: 0 auto 36px; opacity: 0; animation: fadeUp 0.6s ease 0.25s forwards; }

.signin-field { margin-bottom: 32px; opacity: 0; animation: fadeUp 0.6s ease forwards; }
.signin-field:nth-child(1) { animation-delay: 0.3s; }
.signin-field:nth-child(2) { animation-delay: 0.38s; }
.signin-field:nth-child(3) { animation-delay: 0.46s; }

.signin-field label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.signin-field input[type="email"],
.signin-field input[type="password"],
.signin-field input[type="text"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  outline: none;
  padding: 8px 0 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--body);
  transition: border-color 0.25s ease;
}
.signin-field input::placeholder { color: #C8C4BE; font-weight: 300; }

/* .signin-input-wrap position + ::after in section 5 */

.password-toggle { position: absolute; right: 0; bottom: 10px; background: none; border: none; cursor: pointer; padding: 0; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; font-family: var(--font-mono); font-weight: 300; transition: color 0.2s; }
.password-toggle:hover { color: var(--gold); }

.remember-row { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; opacity: 0; animation: fadeUp 0.6s ease 0.5s forwards; }
.checkbox-wrap { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-wrap input { opacity: 0; position: absolute; inset: 0; cursor: pointer; margin: 0; z-index: 1; }
.checkbox-box { position: absolute; inset: 0; border: 1px solid var(--divider); background: transparent; transition: border-color 0.2s, background 0.2s; display: flex; align-items: center; justify-content: center; }
.checkbox-box svg { opacity: 0; transform: scale(0.5); transition: opacity 0.15s ease, transform 0.15s ease; }
.checkbox-wrap input:checked ~ .checkbox-box         { border-color: var(--gold); background: var(--gold); }
.checkbox-wrap input:checked ~ .checkbox-box svg     { opacity: 1; transform: scale(1); }
.remember-label { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; cursor: pointer; user-select: none; }

/* .btn-signin in section 7 */

.links-row { display: flex; justify-content: space-between; margin-top: 20px; opacity: 0; animation: fadeUp 0.6s ease 0.6s forwards; }
.signin-link { font-size: 11.5px; color: var(--muted); text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s; position: relative; }
.signin-link::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.25s ease; }
.signin-link:hover        { color: var(--navy); }
.signin-link:hover::after { width: 100%; }

.signin-divider { display: flex; align-items: center; gap: 16px; margin: 36px 0 28px; opacity: 0; animation: fadeUp 0.6s ease 0.65s forwards; }
.divider-line { flex: 1; height: 1px; background: var(--divider); }
.divider-text { font-size: 9px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; opacity: 0; animation: fadeUp 0.6s ease 0.72s forwards; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; background: transparent; border: 1px solid var(--divider); cursor: pointer; font-family: var(--font-sans); font-size: 12px; font-weight: 400; color: var(--body); letter-spacing: 0.02em; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.btn-social:hover { border-color: var(--gold); background: rgba(201,168,76,0.05); color: var(--navy); }
.btn-social svg   { flex-shrink: 0; }

.footer-note { margin-top: 28px; font-size: 11px; color: rgba(249,247,244,0.3); letter-spacing: 0.06em; text-align: center; opacity: 0; animation: fadeUp 0.6s ease 0.8s forwards; }

/* ─────────────────────────────────────────
   19. LOGIN MODAL (login.js popup)
───────────────────────────────────────── */

/* Backdrop */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.login-overlay.open { opacity: 1; pointer-events: all; }

/* Modal card */
.login-modal {
  background: var(--bg);
  border-top: 2px solid var(--gold);
  width: 100%;
  max-width: 440px;
  padding: 52px 48px 44px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,168,76,0.1);
  transform: translateY(16px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.login-overlay.open .login-modal { transform: translateY(0); }

/* Corner ornaments */
.login-modal::before,
.login-modal::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.3;
}
.login-modal::before { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.login-modal::after  { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

/* Close button */
.login-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid var(--divider);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.login-modal-close:hover { border-color: var(--navy); color: var(--navy); }

/* Wordmark */
.login-wordmark {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 28px;
}

/* Card inner */
.login-card { width: 100%; }

.login-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
  margin-bottom: 6px;
}
.login-rule {
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}

/* Fields */
.login-field { margin-bottom: 22px; }
.login-field label {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.login-input-wrap { position: relative; }
.login-input-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.login-input-wrap:focus-within::after { width: 100%; }
.login-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  outline: none;
  padding: 7px 28px 9px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--body);
  transition: border-color 0.25s;
  box-sizing: border-box;
}
.login-field input::placeholder { color: #c9c5bf; }

.login-password-toggle {
  position: absolute;
  right: 0; bottom: 9px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  color: var(--muted);
  font-size: 9.5px;
  font-family: var(--font-mono);
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.login-password-toggle:hover { color: var(--gold); }

/* Remember me */
.login-remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.login-checkbox-wrap {
  position: relative;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.login-checkbox-wrap input {
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
  margin: 0;
  z-index: 1;
  width: auto;
  border: none;
  padding: 0;
}
.login-checkbox-box {
  position: absolute;
  inset: 0;
  border: 1px solid var(--divider);
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-checkbox-box svg { opacity: 0; transform: scale(0.5); transition: opacity 0.15s, transform 0.15s; }
.login-checkbox-wrap input:checked ~ .login-checkbox-box        { border-color: var(--gold); background: var(--gold); }
.login-checkbox-wrap input:checked ~ .login-checkbox-box svg    { opacity: 1; transform: scale(1); }
.login-remember-label { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; cursor: pointer; user-select: none; }

/* Message */
.login-msg {
  display: none;
  font-size: 11.5px;
  font-weight: 400;
  padding: 9px 12px;
  margin-bottom: 12px;
  border-left: 2px solid;
  font-family: var(--font-sans);
}
.login-msg--error   { color: #b55353; background: rgba(181,83,83,0.07); border-color: #b55353; }
.login-msg--success { color: #3a7a5a; background: rgba(58,122,90,0.07); border-color: #3a7a5a; }

/* Submit button */
.login-btn-primary {
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
  margin-top: 8px;
  margin-bottom: 0;
}
.login-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.login-btn-primary:hover::before { transform: translateX(0); }
.login-btn-primary:hover          { color: var(--navy); }
.login-btn-primary span           { position: relative; z-index: 1; }
.login-btn-primary:disabled       { opacity: 0.55; cursor: not-allowed; }

/* Links row */
.login-links-row {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 20px;
}
.login-link {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.login-link:hover { color: var(--navy); }

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.login-divider-line { flex: 1; height: 1px; background: var(--divider); }
.login-divider-text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Social buttons */
.login-social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.login-btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--divider);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--body);
  letter-spacing: 0.02em;
  transition: border-color 0.25s, background 0.25s;
}
.login-btn-social:hover { border-color: var(--gold); background: rgba(201,168,76,0.04); }

/* Footer note */
.login-footer-note {
  text-align: center;
  margin-top: 24px;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.login-footer-label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; margin-right: 6px; }
.login-footer-locations { color: var(--muted); }

/* Nav sign-in button (shared across pages) */
.nav-signin {
  position: relative;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  color: rgba(249,247,244,0.62);
  padding: 7px 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  margin-left: 44px;
}
.nav-signin:hover { color: #F9F7F4; }
.nav-signin::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  width: 1px;
  background: rgba(249,247,244,0.14);
}
.nav-user-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: opacity 0.2s;
}

/* ── Authenticated nav group (Dashboard + avatar) ── */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-dashboard {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(249,247,244,0.22);
  color: rgba(249,247,244,0.68);
  padding: 7px 16px;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: border-color 0.25s, color 0.25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-dashboard:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-user-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-user-link:hover .nav-user-avatar { opacity: 0.8; }

@media (max-width: 640px) {
  .login-modal { padding: 48px 24px 36px; }
  .login-social-row { grid-template-columns: 1fr; }
  .nav-signin { display: none; }
  .nav-dashboard { display: none; }
}

/* Sign In trigger in main nav */
.nav-signin {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(249,247,244,0.22);
  color: rgba(249,247,244,0.68);
  padding: 7px 16px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-signin:hover {
  border-color: rgba(249,247,244,0.5);
  color: var(--bg);
}
.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

/* Backdrop */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,15,24,0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.auth-overlay.open { opacity: 1; pointer-events: all; }

/* Panel — slides down from top-right under the header */
.auth-panel {
  position: fixed;
  top: 102px;
  right: 48px;
  width: 380px;
  background: var(--bg);
  border-top: 2px solid var(--gold);
  padding: 44px 44px 38px;
  z-index: 501;
  box-shadow: 0 12px 56px rgba(0,0,0,0.3), 0 0 0 1px rgba(201,168,76,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.auth-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Corner ornaments */
.auth-panel::before,
.auth-panel::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.35;
}
.auth-panel::before { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.auth-panel::after  { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

.auth-panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid var(--divider);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.auth-panel-close:hover { border-color: var(--navy); color: var(--navy); }

.auth-wordmark {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}
.auth-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
  margin-bottom: 6px;
}
.auth-rule {
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}

.auth-field { margin-bottom: 20px; }
.auth-field label {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.auth-input-wrap { position: relative; }
.auth-input-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.auth-input-wrap:focus-within::after { width: 100%; }
.auth-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  outline: none;
  padding: 7px 28px 9px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--body);
  transition: border-color 0.25s;
  box-sizing: border-box;
}
.auth-field input::placeholder { color: #c9c5bf; }
.auth-pwd-toggle {
  position: absolute;
  right: 0;
  bottom: 9px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--muted);
  font-size: 9.5px;
  font-family: var(--font-mono);
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.auth-pwd-toggle:hover { color: var(--gold); }

.auth-msg {
  display: none;
  font-size: 11.5px;
  font-weight: 400;
  padding: 9px 12px;
  margin-bottom: 14px;
  border-left: 2px solid;
  font-family: var(--font-sans);
}
.auth-msg--error   { color: #b55353; background: rgba(181,83,83,0.07); border-color: #b55353; }
.auth-msg--success { color: #3a7a5a; background: rgba(58,122,90,0.07); border-color: #3a7a5a; }

.auth-btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
  margin-top: 24px;
  margin-bottom: 14px;
}
.auth-btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.auth-btn-submit:hover::before  { transform: translateX(0); }
.auth-btn-submit:hover          { color: var(--navy); }
.auth-btn-submit span           { position: relative; z-index: 1; }
.auth-btn-submit:disabled       { opacity: 0.55; cursor: not-allowed; }
.auth-btn-submit:disabled::before { transform: translateX(-101%) !important; }

.auth-links-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.auth-link {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.auth-link:hover { color: var(--navy); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.auth-divider-line { flex: 1; height: 1px; background: var(--divider); }
.auth-divider-text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.auth-btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--divider);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--body);
  letter-spacing: 0.02em;
  transition: border-color 0.25s, background 0.25s;
  box-sizing: border-box;
}
.auth-btn-google:hover { border-color: var(--gold); background: rgba(201,168,76,0.04); }

@media (max-width: 640px) {
  .auth-panel {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-top: none;
    border-bottom: 2px solid var(--gold);
    padding: 56px 28px 36px;
    transform: translateY(-20px);
  }
  .nav-signin { display: none; }
}

/* ══════════════════════════════════════════
   User dropdown
   ══════════════════════════════════════════ */
.nav-user-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-user-btn:hover .nav-user-avatar { opacity: 0.8; }

.user-dropdown {
  position: fixed;
  z-index: 500;
  width: 248px;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.22);
  box-shadow: 0 12px 40px rgba(13,27,42,0.55), 0 2px 8px rgba(13,27,42,0.3);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.user-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.ud-section { padding: 6px 0; }
.ud-section--divided { border-top: 1px solid rgba(201,168,76,0.12); }

/* User identity row */
.ud-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 10px;
}
.ud-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.ud-email {
  font-size: 10.5px;
  color: rgba(249,247,244,0.5);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Menu items */
.ud-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(249,247,244,0.58);
  font-family: var(--font-sans);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: color 0.15s, background 0.15s;
  box-sizing: border-box;
}
.ud-item:hover {
  color: var(--bg);
  background: rgba(201,168,76,0.07);
}
.ud-item svg { flex-shrink: 0; opacity: 0.6; transition: opacity 0.15s; }
.ud-item:hover svg { opacity: 1; }

/* Logout — red tint on hover */
.ud-logout { color: rgba(249,247,244,0.45); }
.ud-logout:hover {
  color: #d98080;
  background: rgba(180,70,70,0.08);
}
.ud-logout:hover svg { opacity: 1; }

/* Language section */
.ud-lang-label {
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(249,247,244,0.28);
  font-family: var(--font-sans);
  padding: 8px 16px 2px;
  margin: 0;
}
.ud-lang-list {
  display: flex;
  flex-direction: column;
  padding: 2px 0 4px;
}
.ud-lang-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 5px 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(249,247,244,0.38);
  font-family: var(--font-sans);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
}
.ud-lang-item.active { color: var(--bg); }
.ud-lang-item:not(.active):hover { color: rgba(249,247,244,0.65); }
.ud-lang-dot {
  width: 18px;
  font-size: 7px;
  color: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .user-dropdown { width: calc(100vw - 24px); right: 12px !important; }
}

/* ─────────────────────────────────────────
   TERMS OF SERVICE PAGE
───────────────────────────────────────── */
body.page-terms { background: var(--bg); }
body.page-terms nav { position: sticky; top: 0; z-index: 100; }

.terms-page { padding-top: 80px; padding-bottom: 120px; }
.terms-inner { max-width: 740px; margin: 0 auto; padding: 0 32px; }

.terms-header { padding-bottom: 48px; border-bottom: 1px solid var(--divider); margin-bottom: 56px; }
.terms-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--navy);
  margin: 12px 0 10px;
  line-height: 1.15;
}
.terms-updated {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.terms-section { margin-bottom: 52px; }
.terms-section-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--divider);
}
.terms-section p {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 14px;
}
.terms-section p:last-child { margin-bottom: 0; }

.terms-list {
  margin: 10px 0 14px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.terms-list li {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
  padding-left: 20px;
  position: relative;
}
.terms-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.terms-definitions { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.terms-def-item {
  display: flex;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
}
.terms-def-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding-top: 4px;
  flex-shrink: 0;
  min-width: 28px;
}

.terms-link { color: var(--navy); text-underline-offset: 3px; transition: color 0.15s; }
.terms-link:hover { color: var(--gold); }

/* Wide variant for privacy notice (has tables) */
.terms-inner--wide { max-width: 900px; }

/* Subsection headings */
.terms-subsection-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 28px 0 12px;
}

/* Table of Contents */
.terms-toc {
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms-toc li {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--body);
}

/* Tables */
.terms-table-wrap {
  overflow-x: auto;
  margin: 12px 0 20px;
  border-radius: 6px;
  border: 1px solid var(--divider);
}
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.65;
}
.terms-table thead tr {
  background: rgba(13, 27, 42, 0.04);
}
.terms-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--divider);
  white-space: nowrap;
}
.terms-table td {
  padding: 11px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--divider);
}
.terms-table tbody tr:last-child td { border-bottom: none; }
.terms-table tbody tr:hover { background: rgba(201, 168, 76, 0.04); }

/* EEA section divider */
.terms-eea-divider {
  margin: 64px 0 40px;
  padding: 36px 40px;
  background: var(--navy);
  border-radius: 6px;
}
.terms-eea-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.terms-eea-heading {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: #F9F7F4;
  line-height: 1.2;
  margin-bottom: 16px;
}
.terms-eea-intro {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(249,247,244,0.65);
  margin: 0;
}

@media (max-width: 640px) {
  .terms-table th, .terms-table td { padding: 9px 10px; font-size: 12.5px; }
  .terms-eea-divider { padding: 24px 20px; }
}

.terms-acknowledgment {
  margin-top: 64px;
  padding: 28px 32px;
  background: rgba(13, 27, 42, 0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.terms-acknowledgment p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--navy);
  margin: 0;
}

@media (max-width: 640px) {
  .terms-inner { padding: 0 20px; }
  .terms-acknowledgment { padding: 20px; }
}

/* ── Privacy Choices Form ── */
.privacy-form { display: flex; flex-direction: column; gap: 24px; }

.privacy-field { display: flex; flex-direction: column; gap: 8px; }
.privacy-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.privacy-field input[type="text"],
.privacy-field input[type="email"],
.privacy-field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.privacy-field input:focus,
.privacy-field textarea:focus { border-color: var(--gold); }
.privacy-field textarea { min-height: 100px; resize: vertical; }

.privacy-checkboxes { display: flex; flex-direction: column; gap: 10px; }
.privacy-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.5;
}
.privacy-checkbox-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}
.privacy-required { color: var(--gold); }

.privacy-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.privacy-submit-note {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}
.privacy-confirm { margin-top: 8px; }

/* ─────────────────────────────────────────
   PRIVACY MODAL
───────────────────────────────────────── */
#pm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
#pm-overlay.pm-visible {
  opacity: 1;
  pointer-events: all;
}

#pm-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 24px 64px rgba(13, 27, 42, 0.18);
  transform: translateY(10px);
  transition: transform 0.22s ease;
  overflow: hidden;
}
#pm-overlay.pm-visible #pm-card {
  transform: translateY(0);
}

/* Header */
.pm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--divider);
}
.pm-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
}
.pm-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.pm-close:hover { color: var(--navy); background: rgba(13,27,42,0.05); }

/* Body description */
.pm-body {
  padding: 22px 24px 4px;
}
.pm-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--body);
  margin: 0;
}

/* Action buttons */
.pm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px 24px;
}
.pm-action-btn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 16px 20px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.pm-action-btn:hover {
  border-color: var(--navy);
  background: rgba(13,27,42,0.03);
  color: var(--navy);
}
.pm-action-btn--saved {
  color: var(--gold);
  border-color: var(--gold);
  cursor: default;
}
.pm-action-btn--saved:hover {
  border-color: var(--gold);
  background: none;
  color: var(--gold);
}

@media (max-width: 480px) {
  .pm-body { padding: 18px 16px 4px; }
  .pm-actions { padding: 16px 16px 20px; }
  .pm-header { padding: 14px 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   TIERS SECTION (Digital vs Concierge)
   Added 2026-03-23
   ═══════════════════════════════════════════════════════════════════ */

.tiers-section {
  padding: 100px 24px;
  background: var(--bg);
}

.tiers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tiers-heading {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.2;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.tier-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,27,42,0.08);
}

.tier-header {
  margin-bottom: 24px;
}

.tier-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.tier-subtitle {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
}

.tier-price {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}

.tier-price-amount {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.tier-price-unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}

.tier-features {
  list-style: none;
  margin-bottom: 32px;
}

.tier-features li {
  font-size: 15px;
  color: var(--body);
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.btn-tier-primary {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-tier-primary:hover {
  background: var(--gold);
}

.tier-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  font-weight: 300;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tiers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tiers-heading {
    font-size: 32px;
  }
  
  .tier-card {
    padding: 32px 24px;
  }
  
  .tier-price-amount {
    font-size: 36px;
  }
}
