/* Dynamiic intake page. Dark and premium: near-black, warm off-white, one red accent.
   Contrast: text 16.9:1, muted 6.4:1+ on card, red on black 4.7:1, white on red 4.1:1 (19px bold labels only), white on deep red 6:1. */

:root {
  --bg: #0C0D0F;
  --card: #15171B;
  --field: #1C1F24;
  --line: #2A2D33;
  --text: #F1EFE9;
  --muted: #9C9A93;
  --ph: #8A8880;
  --red: #F2261A;          /* matched to the logo red (#E82100); 4.7:1 on the background */
  --red-deep: #B51A10;
  --on-red: #FFFDF8;
  --ink: #0C0D0F;
  --err: #FF8A7A;

  --f-display: "Saira", "Arial", sans-serif;   /* used extra-wide (font-stretch 125%) to echo the logo wordmark */
  --f-body: "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.22, 1.2, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; }
h1, h2, p, ol { margin: 0; }
ol { list-style: none; padding: 0; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 10; background: var(--red); color: var(--on-red); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Top ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { display: block; height: auto; mix-blend-mode: screen; } /* the logo art sits on pure black; screen drops the black box */
.logo-mark { width: 68px; transition: transform .5s var(--spring); }
.logo-word { width: 232px; }
.logo:hover .logo-mark { transform: translateX(4px); }
.logo:active { opacity: .7; }
.top-note { font-size: 15px; color: var(--muted); }

/* ---------- Stage ---------- */
.stage { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 6vw, 112px); align-items: center; padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(48px, 8vh, 96px); }

h1 { font-family: var(--f-display); font-weight: 600; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.04; letter-spacing: .005em; white-space: nowrap; }
/* the widest line is about 9.65em wide; sizes below keep both lines on one row each */
h1 em { font-style: normal; color: var(--red); }
.kin .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.kin .ln > span { display: block; transform: translateY(108%); animation: up .95s var(--spring) forwards; }
.kin .ln:nth-child(2) > span { animation-delay: .08s; }
@keyframes up { to { transform: none; } }

.lead { margin-top: 28px; max-width: 34ch; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: #D9D6CE; }

.steps { margin-top: clamp(36px, 5vh, 56px); max-width: 460px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--f-display); font-weight: 500; font-stretch: 125%; font-size: 28px; line-height: 1; color: var(--red); }
.steps strong { display: block; font-weight: 700; font-size: 17px; }
.steps span span { color: var(--muted); font-size: 15.5px; }
.js .steps li { opacity: 0; transform: translateY(12px); animation: rise .7s var(--ease) forwards; }
.js .steps li:nth-child(1) { animation-delay: .35s; }
.js .steps li:nth-child(2) { animation-delay: .43s; }
.js .steps li:nth-child(3) { animation-delay: .51s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Form card ---------- */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 40px 80px -40px rgba(0,0,0,.8); }
.card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; background: var(--red); border-radius: 2px; }
.js .card { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) .2s forwards; }
.card h2 { font-family: var(--f-display); font-weight: 600; font-stretch: 112%; font-size: clamp(25px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -0.01em; }
.card-sub { margin-top: 8px; font-size: 15px; color: var(--muted); }
.req { color: var(--red); }

form { margin-top: 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 700; }
.field input, .field textarea {
  width: 100%; min-width: 0; font: 400 17px/1.4 var(--f-body); color: var(--text);
  background: var(--field); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ph); }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #20242A; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 0; }

.go {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; min-height: 60px; margin-top: 8px; padding: 14px 22px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; border-radius: 14px; background: var(--red); color: var(--on-red);
  font: 700 19px/1.1 var(--f-body); cursor: pointer; text-decoration: none;
  transition: transform .5s var(--spring);
}
.go::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-deep); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.go:hover::before { transform: scaleX(1); }
.go svg { transition: transform .5s var(--spring); }
.go:hover svg { transform: translateX(4px); }
.go:active { transform: scale(.97); transition-duration: .12s; }
.go:focus-visible { outline-color: var(--text); }
.go[disabled] { cursor: wait; opacity: .7; }
.status { min-height: 1.4em; margin-top: 12px; font-size: 15px; }
.status.err { color: var(--err); }
.fine { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

.done { text-align: left; }
.done[hidden] { display: none; }
.tick { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--red); color: var(--on-red); animation: pop .7s var(--spring) both; }
.done h2 { margin-top: 22px; }
.done h2:focus { outline: none; }
.done p { margin-top: 10px; color: #D9D6CE; }
.go-link { margin-top: 24px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-name { font-family: var(--f-display); font-weight: 500; font-stretch: 125%; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot a:active { opacity: .7; }

/* ---------- Phones ---------- */
@media (max-width: 1080px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; }
  h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
  .steps { display: none; }
  .lead { margin-top: 18px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .top { padding-top: 20px; }
  .top-note { display: none; }
  .logo-mark { width: 50px; }
  .logo-word { width: 170px; }
  h1 { font-size: clamp(1.7rem, 8.4vw, 2.4rem); }
  .row { grid-template-columns: 1fr; gap: 0; }
  .card { padding: 22px 18px; border-radius: 20px; }
  .field input, .field textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .kin .ln > span, .js .steps li, .js .card, .tick { animation: none; transform: none; opacity: 1; }
  .logo-mark { transition: none; }
  .go, .go::before, .go svg, .field input, .field textarea { transition: none; }
}
