/* ============================================================
   carsonlivingston.co
   Built on the Pranafy design system v2 tokens: warm black, gold, ivory,
   Cinzel / Inter / Cormorant Garamond, house radii, shadows and motion.
   DESIGN.md lists what is reused verbatim and what is tuned for a
   personal site (ivory headings, mixed case display, quieter gold).
   No em dashes anywhere in this file.
   ============================================================ */

:root {
  /* Pranafy ink ladder (never pure black) */
  --ink-1000: #080604;
  --ink-950: #0A0907;
  --ink-900: #0B0A08;
  --ink-850: #100C07;
  --ink-800: #171209;
  --ink-750: #1C1B18;
  --ink-700: #211F1B;
  --ink-650: #2A2520;
  --ink-600: #302D27;

  /* Pranafy gold family */
  --gold-100: #F1D181;
  --gold-200: #F3D47E;
  --gold-300: #E9BD62;
  --gold-400: #E0B54A;
  --gold-500: #DAA643;
  --gold-600: #CF9D2E;
  --gold-700: #B9822F;
  --gold-800: #9B6A24;
  --gold-900: #966722;
  --gold-muted: #B8924A;

  /* light and warm neutrals */
  --ivory: #F5F3EF;
  --cream: #F2EAD8;
  --warm-200: #C9BFA9;
  --warm-300: #A89A7E;
  --warm-350: #857B67;
  --warm-400: #7A6F5A;
  --warm-500: #55503F;
  --ember-500: #D76C3B;
  --ember-600: #C25423;

  /* semantic */
  --bg-base: var(--ink-900);
  --bg-sunken: var(--ink-950);
  --surface-card: var(--ink-750);
  --text-heading: var(--ivory);
  --text-primary: var(--ivory);
  --text-body: var(--warm-200);
  --text-secondary: var(--warm-300);
  --text-muted: var(--warm-350);
  --accent: var(--gold-500);
  --accent-hover: var(--gold-400);
  --border-hairline: rgba(218,166,67,.10);
  --border-strong: rgba(218,166,67,.25);
  --border-gold: rgba(218,166,67,.34);
  --border-gold-strong: rgba(218,166,67,.62);
  --border-card: rgba(218,166,67,.15);
  --focus-ring: rgba(207,157,46,.9);

  /* type */
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-editorial: "Cormorant Garamond", Georgia, serif;
  --tracking-display: .1em;
  --tracking-eyebrow: .14em;
  --tracking-button: .06em;

  /* radii (Pranafy app language, conversion radii for CTAs) */
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-cta: 10px;
  --radius-cta-sm: 8px;
  --radius-card-premium: 16px;
  --radius-pill: 999px;

  /* Pranafy surfaces */
  --surface-gold-v2:
    radial-gradient(95% 70% at 57% -8%, rgba(255,255,255,.16) 0%, rgba(255,255,255,.055) 27%, rgba(255,255,255,0) 57%),
    linear-gradient(180deg, #E3C16F 0%, #D5AA50 43%, #C7963D 73%, #B98131 100%);
  --surface-gold-v3:
    radial-gradient(130% 100% at 30% 10%, rgba(255,240,196,.40) 0%, rgba(255,240,196,0) 52%),
    radial-gradient(110% 90% at 82% 112%, rgba(101,64,9,.38) 0%, rgba(101,64,9,0) 58%),
    linear-gradient(167deg, #F1D181 0%, #DCB051 40%, #CE9B2F 66%, #BA871F 100%);
  --surface-card-app: linear-gradient(172deg, #201E1A 0%, #1B1A17 55%, #171613 100%);
  --surface-card-premium: linear-gradient(145deg, #302D27 0%, #28251F 28%, #211F1B 58%, #181613 82%, #13110F 100%);
  --surface-card-selector: linear-gradient(160deg, #171209, #100C07);
  --surface-gold-tint: rgba(218,166,67,.04);
  --grad-divider-gold: linear-gradient(90deg, rgba(150,103,34,0) 0%, rgba(185,130,47,.5) 16%, #DAA643 42%, #E9BD62 50%, #DAA643 58%, rgba(185,130,47,.5) 84%, rgba(150,103,34,0) 100%);

  /* Pranafy depth */
  --shadow-card-app: inset 0 1px 0 rgba(245,243,239,.03), 0 1px 2px rgba(0,0,0,.3), 0 8px 18px -10px rgba(0,0,0,.45);
  --shadow-card-premium: 0 8px 24px rgba(0,0,0,.34), 0 2px 8px rgba(0,0,0,.22), 0 0 14px rgba(218,166,67,.055);
  --shadow-cta-gold: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 5px rgba(0,0,0,.40), 0 10px 21px rgba(0,0,0,.30), 0 20px 36px -18px rgba(0,0,0,.68), 0 0 17px rgba(218,166,67,.065);
  --shadow-cta-gold-hover: inset 0 1px 0 rgba(255,255,255,.13), 0 4px 6px rgba(0,0,0,.38), 0 14px 27px rgba(0,0,0,.31), 0 25px 44px -18px rgba(0,0,0,.68), 0 0 22px rgba(218,166,67,.085);
  --shadow-cta-gold-active: inset 0 1px 3px rgba(69,43,12,.12), 0 1px 2px rgba(0,0,0,.40), 0 5px 10px rgba(0,0,0,.25), 0 0 9px rgba(218,166,67,.035);

  /* Pranafy motion */
  --ease-reveal: cubic-bezier(.22,.61,.36,1);
  --ease-button: cubic-bezier(.2,.8,.2,1);
  --dur-fast: 170ms;
  --dur-reveal: 500ms;
  --dur-breath: 3.4s;

  /* layout */
  --container: 1180px;
  --prose: 720px;
  --header-h: 72px;
  --gutter: 24px;
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-decoration: none; transition: color var(--dur-fast) var(--ease-button); }
a:hover { color: var(--accent-hover); }
strong, b { color: var(--ivory); font-weight: 600; }
::selection { background: var(--gold-500); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 2px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--gold-800); }

.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.prose { max-width: var(--prose); }
.prose p { font-size: 1.125rem; line-height: 1.65; }
.prose p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-heading); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: .04em; }
h3 { font-size: 1.25rem; letter-spacing: .04em; }
.gold { background-image: var(--surface-gold-v3); background-size: 100% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eyebrow { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent); }
.editorial { font-family: var(--font-editorial); font-style: italic; font-weight: 500; color: var(--cream); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ivory); }
.muted { color: var(--text-secondary); }
.small { font-size: .875rem; }
.rule { height: 1px; border: 0; margin: 0; border-radius: 999px; background: var(--grad-divider-gold); }
.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; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------
   Buttons: the forged gold object, dialed for a calm site
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 52px; padding: 0 28px;
  font-family: var(--font-body); font-size: .875rem; font-weight: 700; letter-spacing: var(--tracking-button); text-transform: uppercase; line-height: 1;
  border-radius: var(--radius-cta-sm); border: 1px solid transparent; cursor: pointer; white-space: nowrap; user-select: none; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-button), box-shadow var(--dur-fast) var(--ease-button), background var(--dur-fast) var(--ease-button), color var(--dur-fast) var(--ease-button), border-color var(--dur-fast) var(--ease-button), filter var(--dur-fast) var(--ease-button);
}
.btn-gold {
  background: var(--surface-gold-v2); background-color: #D5AA50;
  color: var(--ink-1000); -webkit-text-fill-color: var(--ink-1000);
  -webkit-text-stroke: .18px rgba(3,2,1,.92);
  text-shadow: 0 -.5px .6px rgba(61,37,9,.4), 0 1px .8px rgba(255,235,180,.32);
  box-shadow: var(--shadow-cta-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-gold-hover); filter: brightness(1.018); color: var(--ink-1000); }
.btn-gold:active { transform: translateY(1px); box-shadow: var(--shadow-cta-gold-active); }
.btn-ghost { background: linear-gradient(180deg, rgba(218,166,67,.06), rgba(218,166,67,.015)); color: var(--accent); border-color: var(--border-gold); box-shadow: inset 0 1px 0 rgba(245,243,239,.04); }
.btn-ghost:hover { background: linear-gradient(180deg, rgba(218,166,67,.12), rgba(218,166,67,.05)); color: var(--gold-300); border-color: var(--border-gold-strong); }
.btn-lg { height: 60px; padding: 0 36px; font-size: .9375rem; }
.btn-sm { height: 40px; padding: 0 20px; font-size: .75rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.cta-sub { display: block; margin-top: 12px; font-size: .875rem; color: var(--text-secondary); letter-spacing: .01em; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center;
  background: rgba(11,10,8,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand:hover { color: var(--ivory); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: .875rem; font-weight: 500; color: var(--text-secondary); letter-spacing: .01em; }
.nav a:hover { color: var(--ivory); }
.nav a.btn { color: var(--ink-1000); }
.nav a.btn:hover { color: var(--ink-1000); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ivory); position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease-reveal), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: 104px 0; }
.band { background: var(--bg-sunken); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head h2 { margin: 14px 0 14px; }
.sec-head p { font-size: 1.125rem; margin: 0; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 60% at 82% 0%, rgba(218,166,67,.13), transparent 58%), linear-gradient(180deg, #12100B 0%, var(--ink-900) 72%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad-divider-gold); opacity: .7; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 104px; }
.hero h1 { font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4.25rem); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-500); line-height: 1.06; margin: 18px 0 22px; text-wrap: balance; }
.hero .lead { font-size: clamp(1.125rem, 1.7vw, 1.3rem); max-width: 30em; margin: 0 0 14px; }
.hero .editorial { font-size: clamp(1.35rem, 2vw, 1.65rem); margin: 0 0 34px; }
.hero-figure { justify-self: center; position: relative; }
.hero-figure::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(218,166,67,.16), transparent 70%); pointer-events: none; }
.portrait { position: relative; width: min(360px, 68vw); aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px var(--ink-900), 0 0 0 3px rgba(218,166,67,.62), 0 30px 80px -30px rgba(0,0,0,.85), 0 0 60px rgba(218,166,67,.10); }

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card { background: var(--surface-card-app); background-color: var(--surface-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card-app); padding: 30px 30px 32px; transition: border-color var(--dur-fast) var(--ease-button), transform var(--dur-fast) var(--ease-button); }
.card-premium { background: var(--surface-card-premium); background-color: var(--surface-card); border-radius: var(--radius-card-premium); box-shadow: var(--shadow-card-premium); }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.icon-tile { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-gold); background: var(--surface-gold-tint); color: var(--accent); border-radius: var(--radius-md); margin-bottom: 20px; }
.icon-tile .icon { width: 22px; height: 22px; }
.num { font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .18em; color: var(--gold-500); }

/* ------------------------------------------------------------
   Fit filter
   ------------------------------------------------------------ */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--border-hairline); color: var(--warm-200); }
.fit li:first-child { border-top: 0; padding-top: 4px; }
.fit li .icon { margin-top: 3px; }
.fit .yes .icon { color: var(--gold-500); }
.fit .no .icon { color: var(--warm-400); }
.fit h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

/* ------------------------------------------------------------
   Strategy Call
   ------------------------------------------------------------ */
.call { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.call .prose p { margin-bottom: 1em; }
.call-card ol { list-style: none; margin: 0 0 26px; padding: 0; }
.call-card li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border-hairline); color: var(--warm-200); }
.call-card li:first-child { border-top: 0; padding-top: 0; }
.call-card li .num { padding-top: 3px; }
.call-card li strong { display: block; margin-bottom: 2px; }
.call-card .not { padding: 18px 20px; border: 1px solid var(--border-hairline); border-radius: var(--radius-md); background: rgba(11,10,8,.35); margin-bottom: 26px; }
.call-card .not .eyebrow { color: var(--warm-300); margin-bottom: 8px; }
.call-card .not p { margin: 0; color: var(--warm-200); }

/* ------------------------------------------------------------
   Steps / Approach
   ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step .num { display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--warm-200); }

/* ------------------------------------------------------------
   Work shelf
   ------------------------------------------------------------ */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.case-media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border-hairline); background: var(--ink-850); position: relative; }
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease-reveal); }
.case:hover .case-media img { transform: scale(1.025); }
.case-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1px 0 rgba(245,243,239,.05); pointer-events: none; }
.tile { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; border-bottom: 1px solid var(--border-hairline); background: radial-gradient(70% 90% at 50% 100%, rgba(218,166,67,.12), transparent 62%), var(--surface-card-selector); overflow: hidden; }
.tile .glyph { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 12vw, 8rem); letter-spacing: .06em; color: var(--gold-500); opacity: .14; line-height: 1; user-select: none; }
.tile .icon { position: absolute; width: 26px; height: 26px; color: var(--gold-500); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.case-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-kind { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-300); }
.case h3 { margin: 0; font-size: 1.15rem; }
.case p { margin: 0; color: var(--warm-200); font-size: .9375rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { display: inline-flex; align-items: center; padding: 4px 9px; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-muted); border: 1px solid rgba(218,166,67,.22); border-radius: 3px; background: rgba(218,166,67,.05); white-space: nowrap; }

/* ------------------------------------------------------------
   Proof strip
   ------------------------------------------------------------ */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-card); border-radius: var(--radius-lg); background: var(--surface-card-app); background-color: var(--surface-card); box-shadow: var(--shadow-card-app); overflow: hidden; }
.proof > div { padding: 28px 30px; border-left: 1px solid var(--border-hairline); }
.proof > div:first-child { border-left: 0; }
.proof .name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; color: var(--ivory); margin-bottom: 6px; }
.proof .role { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 10px; }
.proof p { margin: 0; color: var(--warm-200); font-size: .9375rem; }

/* ------------------------------------------------------------
   Ladder
   ------------------------------------------------------------ */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rung { padding: 26px 0 0; border-top: 1px solid var(--border-strong); position: relative; }
.rung::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--gold-500); }
.rung .num { display: block; margin-bottom: 14px; }
.rung h3 { margin-bottom: 8px; font-size: 1.15rem; }
.rung p { margin: 0; color: var(--warm-200); }
.ladder-note { margin-top: 36px; color: var(--text-secondary); }

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about { display: grid; grid-template-columns: .78fr 1.22fr; gap: 56px; align-items: center; }
.about-photo { width: 100%; max-width: 420px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border-card); box-shadow: 0 30px 80px -30px rgba(0,0,0,.85), 0 0 40px rgba(218,166,67,.06); }
.about h2 { margin-top: 14px; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--border-hairline); }
.faq details:last-child { border-bottom: 1px solid var(--border-hairline); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 1.0625rem; font-weight: 600; color: var(--ivory); transition: color var(--dur-fast); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-300); }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 1.5px solid var(--gold-500); border-bottom: 1.5px solid var(--gold-500); transform: rotate(45deg); transition: transform .25s var(--ease-reveal); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 0 22px; max-width: 64ch; color: var(--warm-200); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   Closer
   ------------------------------------------------------------ */
.closer { position: relative; overflow: hidden; text-align: center; border: 1px solid var(--border-gold); border-radius: var(--radius-card-premium); padding: 76px 40px; background: radial-gradient(90% 130% at 50% 0%, rgba(218,166,67,.15), transparent 60%), var(--surface-card-premium); background-color: var(--surface-card); box-shadow: var(--shadow-card-premium); }
.closer h2 { margin: 14px 0 14px; }
.closer p { max-width: 34em; margin: 0 auto 32px; font-size: 1.125rem; color: var(--warm-200); }
.closer .glyph { position: absolute; left: 50%; bottom: -70px; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: 240px; letter-spacing: .06em; color: var(--gold-500); opacity: .05; line-height: 1; pointer-events: none; user-select: none; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border-hairline); background: var(--bg-sunken); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-grid p { max-width: 30em; color: var(--text-secondary); font-size: .9375rem; margin: 14px 0 0; }
.foot-grid .eyebrow { margin-bottom: 14px; color: var(--gold-muted); }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { color: var(--text-secondary); font-size: .9375rem; }
.foot-links a:hover { color: var(--ivory); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border-hairline); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: .8125rem; color: var(--text-muted); }
.foot-bottom a { color: var(--text-muted); }
.foot-bottom a:hover { color: var(--ivory); }
.foot-bottom.solo { margin-top: 0; padding-top: 0; border-top: 0; }

/* ------------------------------------------------------------
   Inner pages
   ------------------------------------------------------------ */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: .06em; margin: 14px 0 16px; }
.page-head .lead { max-width: 34em; margin: 0; }
.page-body { padding: 0 0 104px; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--warm-200); }
.legal ul { padding-left: 1.2em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }
.tall { padding-top: 104px; }
.taller { padding-top: 120px; padding-bottom: 140px; }

/* ------------------------------------------------------------
   Forms (Pranafy input language: quiet well, gold hairline, gold on focus)
   ------------------------------------------------------------ */
.form { display: grid; gap: 22px; max-width: 680px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label, .field .label { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-muted); margin-bottom: 9px; }
.field .hint { display: block; margin-top: 7px; font-size: .8125rem; color: var(--text-secondary); }
.field input, .field textarea, .field select {
  width: 100%; margin: 0; background: rgba(245,243,239,.025); border: 1px solid rgba(218,166,67,.25); border-radius: var(--radius-md);
  color: var(--ivory); font-family: var(--font-body); font-size: 1rem; line-height: 1.4; padding: 13px 14px;
  transition: border-color var(--dur-fast) var(--ease-button), box-shadow var(--dur-fast) var(--ease-button), background var(--dur-fast) var(--ease-button);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--warm-400); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(207,157,46,.16); background: rgba(245,243,239,.035); }
.field textarea { min-height: 124px; resize: vertical; }
.field select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23DAA643' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field select option { background: var(--ink-750); color: var(--ivory); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--ember-600); }
.field.is-invalid .choice span { border-color: rgba(194,84,35,.7); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(218,166,67,.25); border-radius: var(--radius-md); color: var(--warm-200); font-size: .9375rem; cursor: pointer; background: rgba(245,243,239,.02); transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast); }
.choice:hover span { border-color: var(--border-gold); color: var(--ivory); }
.choice input:checked + span { border-color: var(--gold-500); color: var(--ivory); background: rgba(218,166,67,.09); box-shadow: 0 0 0 1px rgba(207,157,46,.55); }
.choice input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; }
.form-note { font-size: .8125rem; color: var(--text-secondary); margin: 0; }
.form-error { display: none; margin: 0; padding: 12px 14px; border: 1px solid rgba(215,108,59,.45); border-radius: var(--radius-md); color: var(--ember-500); font-size: .9375rem; background: rgba(215,108,59,.06); }
.form-error.is-visible { display: block; }

/* ------------------------------------------------------------
   Motion. Reveal only under .js so nothing hides if scripts fail.
   ------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-reveal) var(--ease-reveal), transform var(--dur-reveal) var(--ease-reveal); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 700ms; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.014); } }
.breathe { animation: breathe var(--dur-breath) ease-in-out infinite; }
.breathe:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .steps, .work, .ladder, .proof { grid-template-columns: repeat(2, 1fr); }
  .proof > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border-hairline); grid-column: 1 / -1; }
  .about { grid-template-columns: .9fr 1.1fr; gap: 40px; }
  .call { gap: 32px; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 32px; }
  .portrait { width: 280px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; padding-bottom: 64px; }
  .hero-figure { order: -1; justify-self: start; }
  .portrait { width: 132px; }
  .hero h1 { font-size: clamp(2.1rem, 11vw, 2.9rem); margin-top: 12px; }
  .hero .editorial { margin-bottom: 26px; }
  .cta-row .btn { width: 100%; }
  .fit, .call, .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 100%; aspect-ratio: 4 / 5; }
  .steps, .work, .ladder, .proof { grid-template-columns: 1fr; }
  .proof > div { border-left: 0; border-top: 1px solid var(--border-hairline); }
  .proof > div:first-child { border-top: 0; }
  .card { padding: 24px 22px 26px; }
  .closer { padding: 52px 22px; }
  .closer .glyph { font-size: 160px; bottom: -48px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .form .row-2 { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .tall { padding-top: 64px; }
  .taller { padding-top: 72px; padding-bottom: 96px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 20px;
    background: rgba(11,10,8,.98); border-bottom: 1px solid var(--border-strong);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease-reveal), transform .25s var(--ease-reveal), visibility 0s linear .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { padding: 15px var(--gutter); font-size: 1.0625rem; border-top: 1px solid var(--border-hairline); }
  .nav a:first-child { border-top: 0; }
  .nav a.btn { margin: 16px var(--gutter) 0; padding: 0 20px; border-top: 0; justify-content: center; }
}
