/* ============================================================
   houzed&home — Powered by REV INFINITY
   Editorial luxury real estate brand — metro Atlanta
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.55vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  --text-3xl: clamp(2.5rem, 1.1rem + 4vw, 4.75rem);
  --text-hero: clamp(2.75rem, 0.9rem + 6vw, 6.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Palette — ivory / charcoal / muted gold (light) */
  --color-bg: #f6f2ea;
  --color-surface: #faf6ee;
  --color-surface-2: #fdfbf6;
  --color-surface-offset: #efe9dc;
  --color-surface-dark: #1a1815;
  --color-divider: #e2dac9;
  --color-border: #d8cfba;

  --color-text: #201d18;
  --color-text-muted: #6b6455;
  --color-text-faint: #a49b87;
  --color-text-inverse: #f7f2e8;

  --color-gold: #b08d3e;
  --color-gold-deep: #94742e;
  --color-gold-soft: #c7a862;
  --color-gold-tint: #eee3ca;

  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px rgba(40, 34, 20, 0.07);
  --shadow-md: 0 8px 28px rgba(40, 34, 20, 0.10);
  --shadow-lg: 0 22px 60px rgba(40, 34, 20, 0.16);

  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1240px;

  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', system-ui, sans-serif;
  --font-mark: 'Cormorant Garamond', Georgia, serif;
}

[data-theme='dark'] {
  --color-bg: #141210;
  --color-surface: #1a1815;
  --color-surface-2: #201d19;
  --color-surface-offset: #24211c;
  --color-surface-dark: #100e0c;
  --color-divider: #2c2822;
  --color-border: #3a352d;

  --color-text: #ece5d6;
  --color-text-muted: #a49b87;
  --color-text-faint: #6b6455;
  --color-text-inverse: #201d18;

  --color-gold: #cca85a;
  --color-gold-deep: #b08d3e;
  --color-gold-soft: #dac085;
  --color-gold-tint: #33291a;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.5);
  --shadow-lg: 0 22px 60px rgba(0,0,0,0.6);
}

/* ---------- Base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  min-height: 100dvh; line-height: 1.65;
  font-family: var(--font-body); font-size: var(--text-base);
  font-weight: 350;
  color: var(--color-text); background: var(--color-bg);
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.08; font-weight: 400; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }
::selection { background: var(--color-gold-tint); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: var(--radius-sm); }

a, button, [role='button'], input, textarea, select {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }
.wrap--default { max-width: var(--content-default); }
.wrap--narrow { max-width: var(--content-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 8rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 5rem); }
.section--dark { background: var(--color-surface-dark); color: var(--color-text-inverse); }
.section--dark .eyebrow { color: var(--color-gold-soft); }
.section--dark .lead, .section--dark p { color: #cfc7b5; }
.section--offset { background: var(--color-surface-offset); }
.divider-line { height: 1px; background: var(--color-divider); border: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-gold-deep);
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.55; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.55; }
.display {
  font-family: var(--font-display); font-weight: 400; line-height: 1.02;
  letter-spacing: -0.01em;
}
.display .amp { color: var(--color-gold); font-style: italic; }
.h-hero { font-size: var(--text-hero); }
.h-2xl { font-size: var(--text-2xl); }
.h-xl { font-size: var(--text-xl); }
.lead { font-size: var(--text-lg); color: var(--color-text-muted); font-weight: 350; line-height: 1.55; max-width: 60ch; }
.muted { color: var(--color-text-muted); }
.serif-quote { font-family: var(--font-display); font-style: italic; }
.tagline {
  font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--color-gold-deep); font-weight: 500;
}

/* ---------- Brand wordmark ---------- */
.wordmark {
  font-family: var(--font-mark); font-weight: 500; line-height: 1;
  letter-spacing: -0.01em; display: inline-flex; align-items: baseline; white-space: nowrap;
}
.wordmark .amp { color: var(--color-gold); font-style: italic; padding-inline: 0.04em; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  letter-spacing: 0.04em; padding: 0.95rem 1.7rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; text-align: center; line-height: 1.3;
  white-space: normal;
}
.btn--gold { background: var(--color-gold); color: #fff; }
.btn--gold:hover { background: var(--color-gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--color-text); color: var(--color-text-inverse); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #000; }
[data-theme='dark'] .btn--dark { background: var(--color-gold); color: #100e0c; }
.btn--ghost { border-color: var(--color-border); color: var(--color-text); }
.btn--ghost:hover { border-color: var(--color-gold); color: var(--color-gold-deep); }
.section--dark .btn--ghost { border-color: rgba(255,255,255,0.28); color: #f7f2e8; }
.section--dark .btn--ghost:hover { border-color: var(--color-gold-soft); color: var(--color-gold-soft); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm);
  font-weight: 500; letter-spacing: 0.03em; color: var(--color-gold-deep);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.link-arrow::after { content: '\2192'; transition: transform var(--transition-interactive); }
.link-arrow:hover { border-color: var(--color-gold); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.site-header.scrolled { border-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); padding-block: 1.1rem;
}
.nav__brand { display: flex; flex-direction: column; gap: 2px; }
.nav__brand .wordmark { font-size: 1.55rem; }
.nav__brand .powered { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-text-faint); font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__link {
  font-size: var(--text-sm); font-weight: 400; letter-spacing: 0.02em; color: var(--color-text-muted);
  position: relative; padding-block: 4px;
}
.nav__link:hover, .nav__link.active { color: var(--color-text); }
.nav__link.active::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--color-gold);
}
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius-full);
  color: var(--color-text-muted); border: 1px solid var(--color-border);
}
.theme-toggle:hover { color: var(--color-gold); border-color: var(--color-gold); }
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; width: 40px; height: 40px; place-items: center; color: var(--color-text); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 0.6rem; min-width: 250px;
  opacity: 0; visibility: hidden; transition: all var(--transition-interactive);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm); font-size: var(--text-sm); color: var(--color-text-muted); }
.dropdown a strong { display: block; color: var(--color-text); font-weight: 500; font-size: var(--text-sm); }
.dropdown a span { font-size: var(--text-xs); }
.dropdown a:hover { background: var(--color-surface-offset); color: var(--color-text); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: var(--color-bg);
  padding: 5rem 1.75rem 2rem; display: flex; flex-direction: column; gap: 0.25rem;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.6rem; padding-block: 0.55rem; border-bottom: 1px solid var(--color-divider); }
.mobile-nav .btn { margin-top: 1.5rem; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; display: grid; place-items: center; color: var(--color-text); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero--image {
  min-height: 90vh; display: flex; align-items: flex-end;
  color: #fff; position: relative; isolation: isolate;
}
.hero--image .hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero--image .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--image::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(18,14,9,0.88) 0%, rgba(18,14,9,0.58) 40%, rgba(18,14,9,0.30) 75%, rgba(18,14,9,0.20) 100%),
    linear-gradient(to right, rgba(18,14,9,0.55) 0%, rgba(18,14,9,0.12) 55%, rgba(18,14,9,0) 100%);
}
.hero__inner { padding-block: clamp(3rem, 8vw, 7rem); width: 100%; }
.hero__eyebrow { color: var(--color-gold-soft); text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
/* Hero buttons sit over imagery — keep them legible regardless of the photo */
.hero--image .btn--ghost { border-color: rgba(255,255,255,0.65); color: #fff; background: rgba(18,14,9,0.32); backdrop-filter: blur(2px); }
.hero--image .btn--ghost:hover { border-color: var(--color-gold-soft); color: var(--color-gold-soft); background: rgba(18,14,9,0.5); }
.hero--image .lead, .hero--image .h-hero { text-shadow: 0 1px 18px rgba(0,0,0,0.4); }
.hero--image .h-hero { color: #fff; margin-top: 1.5rem; max-width: 16ch; }
.hero--image .lead { color: rgba(255,255,255,0.9); margin-top: 1.75rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero__supporting { margin-top: 2rem; }

/* Interior page hero (no image) */
.page-hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4.5rem); position: relative; }
.page-hero .h-2xl { margin-top: 1.25rem; max-width: 18ch; }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.page-hero--split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.page-hero--split .page-hero__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

/* ---------- Three paths ---------- */
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.path-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-gold-soft); }
.path-card__media { aspect-ratio: 4/3; overflow: hidden; }
.path-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.path-card:hover .path-card__media img { transform: scale(1.06); }
.path-card__body { padding: var(--space-6) var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.path-card__label {
  font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 600; color: var(--color-gold-deep);
}
.path-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.path-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; flex: 1; }

/* ---------- Process / loop ---------- */
.process-list { display: grid; gap: 0; margin-top: var(--space-10); counter-reset: step; }
.process-step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: start;
  padding-block: var(--space-6); border-top: 1px solid var(--color-divider);
}
.process-step:last-child { border-bottom: 1px solid var(--color-divider); }
.process-step__num {
  counter-increment: step; font-family: var(--font-display); font-size: var(--text-xl);
  color: var(--color-gold); line-height: 1; font-weight: 500; min-width: 2.5ch;
}
.process-step__num::before { content: '0' counter(step); }
.process-step h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; margin-bottom: 0.25rem; }
.process-step p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 62ch; }
.section--dark .process-step { border-color: rgba(255,255,255,0.12); }

/* Loop diagram */
.loop { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: var(--space-10); }
.loop__node {
  display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-body);
  font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--color-text-muted); padding: 0.6rem 1.1rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.loop__node span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-gold); }
.loop__arrow { color: var(--color-gold); align-self: center; }
.section--dark .loop__node { border-color: rgba(255,255,255,0.18); color: #cfc7b5; }

/* ---------- Feature rows (alternating) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem,7vw,6rem); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.feature-row__body h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-bottom: 1rem; }
.feature-row__body p + p { margin-top: 1rem; }

/* ---------- Prose / content blocks ---------- */
.prose h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-top: 2.5rem; margin-bottom: 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.prose p { color: var(--color-text-muted); margin-bottom: 1rem; max-width: 68ch; }
.prose p strong { color: var(--color-text); font-weight: 600; }
.prose ul { list-style: none; margin: 1rem 0 1.5rem; display: grid; gap: 0.7rem; }
.prose ul li { position: relative; padding-left: 1.75rem; color: var(--color-text-muted); max-width: 66ch; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--color-gold); border-radius: 50%; }
.prose ol { list-style: none; counter-reset: pl; margin: 1rem 0 1.5rem; display: grid; gap: 0.9rem; }
.prose ol li { counter-increment: pl; position: relative; padding-left: 2.5rem; color: var(--color-text-muted); max-width: 66ch; }
.prose ol li::before { content: counter(pl); position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; font-family: var(--font-display); color: var(--color-gold); border: 1px solid var(--color-gold-soft); border-radius: 50%; font-size: var(--text-sm); }

/* Callout / pull quote */
.pullquote {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); font-weight: 400;
  line-height: 1.25; color: var(--color-text); border-left: 3px solid var(--color-gold);
  padding-left: var(--space-6); margin-block: var(--space-8); max-width: 24ch;
}
.callout {
  background: var(--color-surface-2); border: 1px solid var(--color-border); border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-sm); padding: var(--space-6); margin-block: var(--space-6);
}
.callout h3 { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: 0.5rem; }
.callout p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* Section header */
.section-head { max-width: 60ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h-2xl, .section-head .h-xl { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; color: var(--color-text-muted); }

/* ---------- Quick links (audience) ---------- */
.quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-10); }
.quicklink {
  border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-6);
  display: flex; flex-direction: column; gap: 0.5rem; background: var(--color-surface-2);
}
.quicklink:hover { border-color: var(--color-gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quicklink h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.quicklink p { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
.quicklink .link-arrow { margin-top: 0.5rem; }

/* ---------- Criteria / value grid ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-10); margin-top: var(--space-10); }
.value-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); }
.value-item__mark { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--color-gold-soft); border-radius: 50%; color: var(--color-gold-deep); }
.value-item h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; margin-bottom: 0.35rem; }
.value-item p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .h-2xl { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; margin-top: 1.25rem; }
.cta-band__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Two-column tab / role split (agents) */
.role-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-10); }
.role-card { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: clamp(1.5rem,4vw,2.75rem); background: var(--color-surface-2); }
.role-card__badge { display: inline-block; font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--color-gold-deep); margin-bottom: 1rem; }
.role-card h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-bottom: 0.9rem; }

/* Designations */
.designations { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: var(--space-4); margin-top: var(--space-8); }
.designation { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--space-5); text-align: center; background: var(--color-surface-2); }
.designation strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-gold-deep); font-weight: 500; }
.designation span { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ---------- Compliance disclaimer ---------- */
.disclaimer {
  background: var(--color-surface-offset); border-top: 1px solid var(--color-divider);
}
.disclaimer__inner { padding-block: var(--space-10); }
.disclaimer p {
  font-size: var(--text-xs); line-height: 1.7; color: var(--color-text-faint);
  max-width: 90ch; font-style: italic;
}
.disclaimer .label {
  font-family: var(--font-body); font-style: normal; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; margin-bottom: 0.75rem; display: block;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-surface-dark); color: #cfc7b5; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); padding-block: var(--space-16); }
.footer__brand .wordmark { font-size: 1.9rem; color: #f7f2e8; }
.footer__brand .powered { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-gold-soft); font-weight: 500; margin-top: 6px; }
.footer__brand .tagline { display: block; margin-top: 1.25rem; color: var(--color-gold-soft); }
.footer__brand address { font-style: normal; margin-top: 1rem; font-size: var(--text-sm); color: #9a927f; }
.footer__col h4 { font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: #9a927f; font-weight: 600; margin-bottom: 1.1rem; }
.footer__col a { display: block; font-size: var(--text-sm); color: #cfc7b5; padding-block: 0.35rem; }
.footer__col a:hover { color: var(--color-gold-soft); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--space-6); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: var(--text-xs); color: #7f7867; }
.footer__disclaimer { padding-bottom: var(--space-10); }
.footer__disclaimer p { font-size: 11px; line-height: 1.7; color: #7f7867; font-style: italic; max-width: none; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 320px 1fr; gap: 0; min-height: 100%; }
.form-aside { background: var(--color-surface-dark); color: #cfc7b5; padding: clamp(2rem,5vw,3.5rem); position: sticky; top: 0; align-self: start; }
.form-aside .wordmark { font-size: 1.6rem; color: #f7f2e8; }
.form-aside .powered { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-gold-soft); font-weight: 500; margin-top: 4px; }
.form-aside h1 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; color: #f7f2e8; margin-top: 2.5rem; }
.form-aside p { font-size: var(--text-sm); color: #9a927f; margin-top: 1rem; }
.form-steps { margin-top: 2.5rem; display: grid; gap: 0.25rem; }
.form-steps__item { display: flex; align-items: center; gap: 0.85rem; padding: 0.6rem 0; font-size: var(--text-sm); color: #7f7867; }
.form-steps__item .num { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; font-size: var(--text-xs); flex-shrink: 0; }
.form-steps__item.active { color: #f7f2e8; }
.form-steps__item.active .num { background: var(--color-gold); border-color: var(--color-gold); color: #100e0c; }
.form-steps__item.done .num { background: var(--color-gold-tint); border-color: var(--color-gold); color: var(--color-gold-deep); }
[data-theme='dark'] .form-steps__item.done .num { color: var(--color-gold); }

.form-main { padding: clamp(2rem,5vw,4rem); max-width: 720px; }
.form-progress { height: 3px; background: var(--color-divider); border-radius: 2px; overflow: hidden; margin-bottom: var(--space-10); }
.form-progress__bar { height: 100%; background: var(--color-gold); width: 0; transition: width 0.4s cubic-bezier(0.16,1,0.3,1); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeStep 0.4s ease; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-step__eyebrow { color: var(--color-gold-deep); font-size: var(--text-xs); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.form-step h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin: 0.6rem 0 0.5rem; }
.form-step > p.help { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }

.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: 0.5rem; }
.field .req { color: var(--color-gold-deep); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-surface-2); color: var(--color-text); font-size: var(--text-base);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-gold); outline: none; box-shadow: 0 0 0 3px var(--color-gold-tint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.option-grid { display: grid; gap: 0.6rem; }
.option-grid--2 { grid-template-columns: 1fr 1fr; }
.option {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.9rem 1.1rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); cursor: pointer; background: var(--color-surface-2);
}
.option:hover { border-color: var(--color-gold-soft); }
.option input { margin-top: 0.2rem; accent-color: var(--color-gold); flex-shrink: 0; }
.option:has(input:checked) { border-color: var(--color-gold); background: var(--color-gold-tint); }
.option__text strong { display: block; font-size: var(--text-sm); font-weight: 500; }
.option__text span { font-size: var(--text-xs); color: var(--color-text-muted); }
.consent { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; }
.consent input { margin-top: 0.25rem; accent-color: var(--color-gold); flex-shrink: 0; width: 18px; height: 18px; }
.consent label { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 400; }
.conditional { display: none; border-left: 2px solid var(--color-gold-soft); padding-left: var(--space-5); margin-top: var(--space-4); }
.conditional.show { display: block; animation: fadeStep 0.35s ease; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
.form-error { color: #a13544; font-size: var(--text-sm); margin-top: 0.75rem; display: none; }
.form-error.show { display: block; }
.form-success { text-align: center; padding: var(--space-16) var(--space-6); }
.form-success__mark { width: 68px; height: 68px; margin: 0 auto var(--space-6); border-radius: 50%; background: var(--color-gold-tint); display: grid; place-items: center; color: var(--color-gold-deep); }
.form-success h2 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; margin-bottom: 1rem; }
.form-success p { color: var(--color-text-muted); max-width: 48ch; margin: 0 auto 0.75rem; }
.form-mini-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); font-style: italic; margin-top: var(--space-6); line-height: 1.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .quicklinks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .paths-grid { grid-template-columns: 1fr; }
  .feature-row, .page-hero--split { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-row__media { order: 0; }
  .value-grid, .role-split { grid-template-columns: 1fr; }
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .form-steps { display: none; }
  .field-row, .option-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .quicklinks { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__actions .btn, .page-hero__actions .btn, .cta-band__actions .btn { width: 100%; }
}
