:root {
  --ink: #0c0b09;
  --black: #12100d;
  --charcoal: #1c1915;
  --gold: #b77a17;
  --gold-bright: #dfa83d;
  --gold-pale: #f2d38c;
  --cream: #f7f3eb;
  --paper: #fffefa;
  --muted: #625d54;
  --line: #ded5c5;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: white;
  color: black;
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 254, 250, .96);
  border-bottom: 1px solid rgba(183, 122, 23, .28);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { width: min(270px, 31vw); }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.primary-nav a {
  text-decoration: none;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .045em;
}
.primary-nav > a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--ink);
  padding: .65rem 1rem;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--ink); color: white; }

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(210, 153, 49, .14), transparent 28%),
    linear-gradient(135deg, #080706 0%, #15110c 64%, #0d0b08 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to left, black, transparent 68%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 650px;
  margin: 0 auto;
  padding: 6.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--gold-pale);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #85550d; }
.hero h1 {
  max-width: 760px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  letter-spacing: -.035em;
}
.hero-lead { max-width: 690px; color: #e7e0d5; font-size: 1.18rem; }
.hero-actions { margin: 2.25rem 0 2.2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.25rem;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 780;
  letter-spacing: .05em;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: #15100a; background: linear-gradient(135deg, var(--gold-pale), var(--gold-bright)); }
.button-gold:hover { background: #f4d993; }
.button-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { color: white; background: var(--ink); }
.text-link { color: white; font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: .35rem; }
.text-link span { color: var(--gold-bright); }
.format-line { margin: 0; color: #bdb4a6; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.format-line span { padding: 0 .45rem; color: var(--gold-bright); }

.impact-panel {
  position: relative;
  border: 1px solid rgba(226, 174, 73, .5);
  padding: 2.4rem 2.2rem 1.8rem;
  background: rgba(255,255,255,.035);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.impact-panel::before, .impact-panel::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: var(--gold-bright);
}
.impact-panel::before { top: -1px; left: -1px; border-top: 3px solid; border-left: 3px solid; }
.impact-panel::after { right: -1px; bottom: -1px; border-right: 3px solid; border-bottom: 3px solid; }
.panel-kicker { color: var(--gold-pale); font-family: Didot, Georgia, serif; font-size: 1.5rem; }
.impact-panel ol { list-style: none; margin: 0; padding: 0; }
.impact-panel li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid rgba(255,255,255,.13); }
.impact-panel li > span { color: var(--gold-bright); font-size: .875rem; font-weight: 800; }
.impact-panel strong { display: block; margin-bottom: .2rem; font-size: 1rem; }
.impact-panel small { display: block; color: #c8c0b4; font-size: .875rem; line-height: 1.55; }

.signature-bar {
  min-height: 82px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  background: linear-gradient(90deg, #9e650c, #e3ad43 46%, #9e650c);
  color: #171008;
  font-size: .875rem;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.signature-bar span { width: 42px; height: 1px; background: rgba(23,16,8,.55); }

.section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 7rem 0; }
.section-heading { max-width: 800px; margin-bottom: 3.5rem; }
.section-heading.compact { margin-bottom: 3rem; }
.section h2 { margin-bottom: 1.4rem; font-size: clamp(2.6rem, 5vw, 4.6rem); letter-spacing: -.025em; }
.section-heading > p:last-child, .distinction-copy > p:last-child, .founder-copy > p { max-width: 760px; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 390px; padding: 2.5rem 2rem; display: flex; flex-direction: column; background: var(--paper); }
.service-card.featured { background: var(--cream); }
.card-number { margin-bottom: 4rem; color: #8a5b15; font-size: .875rem; font-weight: 800; }
.service-card h3 { font-size: 2rem; }
.service-card > p:not(.card-number):not(.best-for) { color: var(--muted); }
.best-for { margin-top: auto; margin-bottom: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 750; }

.distinction {
  width: 100%;
  max-width: none;
  padding: 7rem max(1.5rem, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--cream);
}
.standards { border-top: 1px solid #bfb29d; }
.standards > div { min-height: 74px; display: grid; grid-template-columns: 54px 1fr; align-items: center; border-bottom: 1px solid #bfb29d; }
.standards span { color: #956313; font-size: .875rem; font-weight: 800; }
.standards strong { font-size: 1rem; }

.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process-grid li { padding-top: 1.5rem; border-top: 2px solid var(--gold); }
.process-grid span { color: #946112; font-size: .875rem; font-weight: 850; }
.process-grid h3 { margin: 1.6rem 0 .6rem; font-size: 1.85rem; }
.process-grid p { color: var(--muted); font-size: .95rem; }

.founder {
  display: grid;
  grid-template-columns: minmax(210px, .55fr) 1.45fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  border-top: 1px solid var(--line);
}
.founder-mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: var(--black);
  font-family: Didot, Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -.06em;
  box-shadow: 16px 16px 0 var(--cream);
}
.founder-copy h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.dark-link { color: var(--ink); }

.contact { color: white; background: linear-gradient(135deg, #090806, #1b150e); }
.contact-inner { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 6.5rem 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 9vw, 8rem); align-items: center; }
.contact h2 { margin-bottom: 1.2rem; font-size: clamp(3rem, 6vw, 5.5rem); }
.contact p:not(.eyebrow) { max-width: 690px; color: #cec5b8; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.contact-actions > a:not(.button) { color: white; font-weight: 700; text-underline-offset: .25rem; }
.contact-actions small { margin-top: .55rem; color: #bdb3a5; font-size: .875rem; }

footer { min-height: 108px; padding: 2rem max(1.5rem, calc((100% - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 2rem; align-items: center; background: #050504; color: #aaa196; font-size: .875rem; }
footer p { margin: 0; }
footer strong { color: white; }
footer span { margin-left: .7rem; }

a:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
}

/* Client questionnaire */
.questionnaire-page { background: var(--cream); }
.questionnaire-header .header-inner { min-height: 92px; }
.questionnaire-shell {
  width: min(calc(100% - 3rem), 1040px);
  margin: 0 auto;
  padding: 5rem 0 7rem;
}
.form-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: end;
  margin-bottom: 3rem;
}
.form-intro h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  letter-spacing: -.035em;
}
.form-lead { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 1.12rem; }
.form-note {
  border-top: 3px solid var(--gold);
  padding: 1.6rem;
  color: #e9e1d5;
  background: var(--black);
}
.form-note strong { color: var(--gold-pale); }
.form-note p { margin: .6rem 0 0; font-size: .92rem; }
.form-note a { color: white; font-weight: 700; overflow-wrap: anywhere; }
.questionnaire-form { display: grid; gap: 1.25rem; }
.form-section {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 45px rgba(40, 31, 17, .055);
}
.form-section-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.section-number { color: #8f5d10; font-weight: 850; letter-spacing: .08em; }
.section-label {
  margin-bottom: .45rem;
  color: #81530e;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.form-section h2, .submit-panel h2, .result-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field { display: grid; align-content: start; gap: .55rem; color: #28231d; font-weight: 700; }
.field.full { grid-column: 1 / -1; }
.field > span, .choice-group legend { font-size: .92rem; line-height: 1.45; }
.field em, .review-check em { margin-left: .3rem; color: #87570e; font-size: .72rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #bfb5a4;
  border-radius: 0;
  padding: .82rem .9rem;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8c806d; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.choice-group { margin: 0; padding: 0; border: 0; }
.choice-group legend { margin-bottom: .8rem; font-weight: 750; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.compact-choices { grid-template-columns: repeat(4, 1fr); }
.choice {
  min-height: 58px;
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  background: #fbf8f1;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
}
.choice:hover { border-color: var(--gold); }
.choice input, .review-check input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--gold); }
.spaced-fields { margin-top: 1.6rem; }
.emphasis-field { border-left: 3px solid var(--gold); padding-left: 1rem; }
.review-check {
  margin-top: 1.7rem;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid #c7bba7;
  background: var(--cream);
  cursor: pointer;
  font-weight: 700;
}
.review-check input { margin-top: .3rem; }
.submit-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 5vw, 3.25rem);
  color: white;
  background: linear-gradient(135deg, #080706, #21180d);
}
.submit-panel p:not(.eyebrow) { max-width: 620px; margin: .8rem 0 0; color: #cfc5b7; }
.submit-panel .button { flex: 0 0 auto; }
.result-panel {
  scroll-margin-top: 7rem;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 2px solid var(--gold);
  background: white;
}
.result-panel[hidden] { display: none; }
.result-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.result-heading p:not(.eyebrow) { margin: .7rem 0 0; color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.result-actions .button { min-height: 46px; padding: .65rem .85rem; font-size: .78rem; }
.answer-preview-label textarea { min-height: 520px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; font-weight: 500; }
.print-preview { display: none; white-space: pre-wrap; font: 10.5pt/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.status-message { min-height: 1.5rem; margin: .8rem 0 0; color: #76501a; font-size: .9rem; font-weight: 700; }

@media (max-width: 900px) {
  .header-inner { min-height: 90px; }
  .brand { width: 245px; }
  .primary-nav > a:not(.nav-cta) { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 5rem 0; }
  .impact-panel { max-width: 650px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .card-number { margin-bottom: 2.5rem; }
  .distinction, .contact-inner { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .form-intro, .result-heading { grid-template-columns: 1fr; }
  .compact-choices { grid-template-columns: 1fr 1fr; }
  .result-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .header-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 82px; gap: .75rem; }
  .brand { width: min(205px, 55vw); }
  .nav-cta { padding: .55rem .7rem !important; font-size: .78rem !important; }
  .hero-grid, .section, .contact-inner { width: min(calc(100% - 2rem), var(--max)); }
  .hero-grid { padding: 4.25rem 0; gap: 3rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .signature-bar { gap: .65rem; font-size: .75rem; letter-spacing: .1em; }
  .signature-bar span { width: 16px; }
  .section { padding: 5rem 0; }
  .section h2 { font-size: 2.8rem; }
  .distinction { padding: 5rem 1rem; }
  .process-grid { grid-template-columns: 1fr; gap: 2rem; }
  .founder { grid-template-columns: 1fr; }
  .founder-mark { max-width: 230px; }
  .contact-inner { padding: 5rem 0; }
  footer { align-items: flex-start; flex-direction: column; }
  footer span { display: block; margin: .25rem 0 0; }
  .questionnaire-shell { width: min(calc(100% - 2rem), 1040px); padding: 3.5rem 0 5rem; }
  .questionnaire-header .primary-nav > a:not(.nav-cta) { display: none; }
  .questionnaire-header .nav-cta { white-space: nowrap; }
  .field-grid, .choice-grid, .compact-choices { grid-template-columns: 1fr; }
  .form-section-heading { grid-template-columns: 38px 1fr; gap: .7rem; }
  .form-intro h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .submit-panel { align-items: stretch; flex-direction: column; }
  .submit-panel .button { width: 100%; }
  .result-actions { display: grid; grid-template-columns: 1fr; }
}

@media print {
  .questionnaire-page { background: white; font-size: 11pt; }
  .questionnaire-header, .form-intro, .questionnaire-form, .result-actions, .status-message, .questionnaire-page footer { display: none !important; }
  .questionnaire-shell { width: 100%; padding: 0; }
  .result-panel { margin: 0; padding: 0; border: 0; }
  .result-heading { display: block; margin-bottom: 1rem; }
  .answer-preview-label { display: none; }
  .print-preview { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
