/* House of Vanderbilt · Feedback
   Savinien's register: black ground, cream #F5EEE1 type, gold #E8B62C accents,
   Bebas Neue heads, Barlow body, Jost small caps. 18px body on phones, labels above fields,
   every target at least 44px, focus rings visible, no motion beyond a 200ms fade. */

:root {
  --bg: #000000;
  --panel: #0B0A07;
  --cream: #F5EEE1;
  --cream-70: rgba(245, 238, 225, .72);
  --cream-55: rgba(245, 238, 225, .58);
  --ink: #211B14;
  --gold: #E8B62C;
  --line: rgba(245, 238, 225, .16);
  --line-strong: rgba(245, 238, 225, .4);
  --error: #F2B8A6;
  --fade: 200ms;
  --wrap: 760px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--cream-55); text-underline-offset: 3px; }
a:hover { color: var(--gold); text-decoration-color: var(--gold); }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Focus: gold, 2px, visible on every interactive target */
:focus { outline: none; }
:focus-visible, .scale__opt input:focus-visible + label, .opt input:focus-visible + label,
.chip input:focus-visible + label, .check input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Skip link */
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--gold); color: #000; padding: 12px 18px; font-family: 'Jost', sans-serif;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 26px; padding-bottom: 20px;
}
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 32px; width: auto; }
.site-head__kicker {
  font-family: 'Jost', sans-serif; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-70); text-align: right;
}
.site-head__kicker span { color: var(--gold); margin: 0 .35em; }

/* Intro */
.intro { padding: clamp(48px, 8vw, 84px) 0 clamp(28px, 4vw, 40px); }
h1 {
  font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400;
  font-size: clamp(56px, 11vw, 96px); line-height: .95; letter-spacing: .03em; margin-bottom: 20px;
}
.intro__lede { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.55; max-width: 34em; color: var(--cream); }
.intro__note { margin-top: 14px; color: var(--cream-70); font-size: 16px; }

/* Questions */
.form { padding-bottom: 24px; }
.q {
  border: 0; padding: clamp(28px, 4.5vw, 40px) 0; border-top: 1px solid var(--line);
  min-width: 0;
}
.q legend, .q__legend { display: block; padding: 0; margin-bottom: 18px; }
.q legend { float: left; width: 100%; }          /* legends refuse grid/flex; float keeps the layout sane */
.q legend + * { clear: both; }
.q__no {
  display: block; font-family: 'Barlow', sans-serif; font-weight: 300; font-size: 14px;
  letter-spacing: .26em; color: var(--gold); margin-bottom: 8px;
}
.q__label {
  display: block; font-family: 'Barlow', sans-serif; font-weight: 500;
  font-size: clamp(21px, 2.8vw, 25px); line-height: 1.3; color: var(--cream); max-width: 28em;
}

/* Field basics */
.field { margin-top: 14px; }
.field__label {
  display: block; font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cream-70); margin-bottom: 8px;
}
.field__hint { margin-top: 8px; font-size: 15.5px; color: var(--cream-70); }
.field__error, .form__error { margin-top: 8px; font-size: 15.5px; color: var(--error); min-height: 0; }
.field__error:empty, .form__error:empty { display: none; }

.input {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--panel); color: var(--cream); border: 1px solid var(--line-strong); border-radius: 0;
  font: inherit; font-size: 18px; line-height: 1.5; -webkit-appearance: none; appearance: none;
  transition: border-color var(--fade) ease;
}
.input::placeholder { color: var(--cream-55); }
.input:hover { border-color: var(--cream-70); }
.input:focus-visible { border-color: var(--gold); outline-offset: 2px; }
.input--area { resize: vertical; min-height: 120px; }
.input[aria-invalid="true"] { border-color: var(--error); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.pair .field { margin-top: 6px; }

/* Visually hidden native inputs (radios, checkboxes) keep keyboard + screen reader semantics */
.scale__opt input, .opt input, .chip input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Q1 scale: five 56px buttons */
.scale { display: flex; gap: 10px; flex-wrap: wrap; }
.scale__opt { position: relative; }
.scale__opt label {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--cream);
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 20px; cursor: pointer;
  transition: background-color var(--fade) ease, border-color var(--fade) ease, color var(--fade) ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.scale__opt label:hover { border-color: var(--gold); }
.scale__opt input:checked + label { background: var(--gold); border-color: var(--gold); color: #000; }
.scale__ends {
  display: flex; justify-content: space-between; margin-top: 10px; max-width: 320px;
  font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-70);
}

/* Radios (q3, q4, q6) and consent */
.options { display: flex; flex-direction: column; gap: 8px; }
.opt { position: relative; }
.opt label {
  display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 10px 14px 10px 12px;
  border: 1px solid transparent; cursor: pointer; font-size: 18px; line-height: 1.4; color: var(--cream);
  transition: border-color var(--fade) ease; -webkit-tap-highlight-color: transparent;
}
.opt label::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--cream-70); background: var(--panel);
  transition: border-color var(--fade) ease, box-shadow var(--fade) ease;
}
.opt label:hover { border-color: var(--line); }
.opt label:hover::before { border-color: var(--gold); }
.opt input:checked + label { border-color: var(--line-strong); }
.opt input:checked + label::before {
  border-color: var(--gold); box-shadow: inset 0 0 0 5px var(--gold);
}

/* Chips (q2) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel);
  font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.3; color: var(--cream); cursor: pointer;
  transition: background-color var(--fade) ease, border-color var(--fade) ease, color var(--fade) ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.chip label:hover { border-color: var(--gold); }
.chip input:checked + label { background: var(--gold); border-color: var(--gold); color: #000; }
.chip--other label { border-style: dashed; }
.field--other { max-width: 420px; }

/* Consent checkbox */
.consent { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.check input {
  flex: 0 0 auto; width: 24px; height: 24px; margin: 12px 0 0 12px; accent-color: var(--gold); cursor: pointer;
}
.check label {
  display: block; flex: 1 1 auto; min-height: 48px; padding: 10px 14px 10px 0;
  font-size: 17px; line-height: 1.5; color: var(--cream); cursor: pointer;
}
.check label a { text-decoration: underline; }

/* Honeypot: never seen, never focused */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.actions { margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 36px;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid var(--gold); border-radius: 0;
  transition: background-color var(--fade) ease, color var(--fade) ease, opacity var(--fade) ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--gold); color: #000; }
.btn--primary:hover { background: #F0C247; color: #000; }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: default; }
.form[data-state="sending"] .btn--primary { opacity: .7; }

/* Thanks state */
.thanks { padding: clamp(40px, 8vw, 80px) 0 40px; border-top: 1px solid var(--line); }
.thanks h2 {
  font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; font-size: clamp(48px, 9vw, 80px);
  line-height: .95; letter-spacing: .03em; margin-bottom: 16px;
}
.thanks p { font-size: clamp(18px, 2.2vw, 21px); color: var(--cream); margin-bottom: 28px; max-width: 32em; }
body[data-state="done"] .form, body[data-state="done"] .intro__note { display: none; }

/* Notes below the form */
.note { border-top: 1px solid var(--line); padding: clamp(28px, 4.5vw, 40px) 0; }
.note h2 {
  font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; font-size: clamp(28px, 4vw, 36px);
  letter-spacing: .05em; line-height: 1; margin-bottom: 14px;
}
.note p { font-size: 16.5px; line-height: 1.65; color: var(--cream-70); max-width: 40em; }
.note p + p { margin-top: 14px; }
.note a { color: var(--cream); }
.note a:hover { color: var(--gold); }

/* Footer */
.foot { border-top: 1px solid var(--line-strong); margin-top: 24px; }
.foot .wrap { padding-top: 24px; padding-bottom: 40px; }
.foot p {
  font-family: 'Archivo', sans-serif; font-size: 12px; letter-spacing: .06em; line-height: 1.9; color: var(--cream-70);
}
.foot p + p { margin-top: 4px; }
.foot a { color: var(--cream-70); text-decoration: none; padding: 6px 0; display: inline-block; }
.foot a:hover { color: var(--gold); }
.foot span { color: var(--gold); margin: 0 .3em; }

/* Fade for the thanks reveal only; nothing else moves */
.fade-in { animation: fade var(--fade) ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Phones */
@media (max-width: 600px) {
  .site-head .wrap { padding-top: 20px; padding-bottom: 16px; }
  .logo img { height: 26px; }
  .site-head__kicker { font-size: 10.5px; letter-spacing: .16em; }
  .pair { grid-template-columns: 1fr; }
  .btn--primary[data-submit] { width: 100%; }
  .scale { gap: 8px; }
  .scale__ends { max-width: none; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .scale { gap: 5px; }
  .scale__opt label { width: 52px; height: 56px; }
  .site-head .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-head__kicker { text-align: left; }
}

/* Larger screens: a little more room to breathe */
@media (min-width: 900px) {
  body { font-size: 18px; }
  .intro { padding-top: 96px; }
}

/* Reduced motion: even the fade goes */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Print: for the host who wants a paper copy */
@media print {
  body { background: #fff; color: #000; }
  .skip, .foot, .btn { display: none; }
}
