:root {
  color-scheme: dark;
  --ink: #10100f;
  --paper: #f0eae0;
  --gold: #cfb17c;
  --line: #3d3830;
  --serif: "Cormorant Garamond", "Baskerville", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(ellipse at 100% 45%, #221e1652, transparent 62%), var(--ink);
  color: var(--paper);
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}
.intake-header, .intake-main, .intake-footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
.intake-header, .intake-footer {
  margin-inline: clamp(22px, 6.5vw, 105px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.intake-header { min-height: 92px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font: 26px var(--serif); letter-spacing: -.035em; }
.wordmark img { width: 39px; height: 39px; object-fit: contain; }
.wordmark .brand-type { width: clamp(100px,10vw,136px); height: auto; }
.back-home, .intake-footer, .progress-caption, .previous {
  font: 10px/1.5 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.back-home { color: #c8c0b3; padding-block: 12px; }
.back-home span, .previous span { margin-right: .4em; color: var(--gold); }
.back-home:hover, .previous:hover { color: white; }
.intake-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(36px, 8vh, 95px) 22px;
}
.form-shell { width: min(100%, 610px); }
.progress-caption { display: flex; justify-content: space-between; color: var(--gold); }
#progress-text { color: #a7a096; }
.progress-track { display: flex; gap: 5px; margin-top: 13px; }
.progress-track i { flex: 1; height: 2px; background: #37342e; transition: background .25s; }
.progress-track i:first-child, .progress-track .filled { background: var(--gold); }
h1 {
  font: normal clamp(45px, 6.1vw, 80px)/1.02 var(--serif);
  letter-spacing: -.065em;
  margin: clamp(33px, 6vh, 65px) 0 16px;
  max-width: 11.6em;
  text-wrap: balance;
}
h1:focus { outline: none; }
h1 span { color: var(--gold); }
.question h1 + :is(input, textarea, .choices) { margin-top: 36px; }
.helper { color: #bcb5ab; font-size: clamp(14px, 2vw, 16px); line-height: 1.55; margin: 0 0 36px; }
input:not([type="radio"]), textarea {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--paper);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #736957;
  padding: 8px 0 14px;
  font: 400 clamp(21px, 3.5vw, 30px)/1.3 var(--serif);
  letter-spacing: -.02em;
  caret-color: var(--gold);
}
input::placeholder, textarea::placeholder { color: #938c80; opacity: 1; }
textarea { resize: vertical; min-height: 96px; }
input:not([type="radio"]):focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 1px var(--gold); }
.choices { display: grid; gap: 8px; }
.choices label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: #161615;
  font-size: 15px;
  cursor: pointer;
}
.choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choices i { width: 16px; height: 16px; border: 1px solid #8a8172; border-radius: 50%; }
.choices input:checked ~ i { background: var(--gold); border: 4px solid #27251f; outline: 1px solid var(--gold); }
.choices label:has(:checked), .choices label:hover { background: #25221c; border-color: #a08a62; }
.choices label:has(:focus-visible), a:focus-visible, button:focus-visible { outline: 2px solid #edc989; outline-offset: 4px; }
.error { min-height: 1.5em; font-size: 13px; line-height: 1.5; margin: 8px 0 14px; color: #ffbfaa; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.actions button, .return-button { cursor: pointer; }
#next, .return-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 32px;
  padding: 0 22px;
  border: 1px solid #d9cbae;
  border-radius: 4px;
  background: linear-gradient(110deg,#e8dfcc,#fbf5e7 45%,#d6c19b);
  color: #14120e;
  font: bold 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: .055em;
  box-shadow: 0 0 22px #edbd5e17;
}
#next span:last-child, .return-button span { font: 20px/1 Arial, sans-serif; }
#next:hover, .return-button:hover { filter: brightness(1.08); }
.previous { min-height: 44px; background: transparent; border: 0; color: #b9b0a0; }
.intake-footer { padding: 18px 0 22px; border-top: 1px solid var(--line); color: #9c958a; font-size: 9px; }
@media (max-width: 550px) {
  .intake-header { min-height: 70px; }
  .wordmark { font-size: 22px; }
  .back-home { letter-spacing: 0; font-size: 9px; }
  .intake-main { align-items: start; padding-top: clamp(38px, 10vh, 85px); }
  .helper { margin-bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition-duration: 0s !important; } }

.hours-options, .struggle-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.struggle-options label { padding: 12px; }
.choices i { flex: none; }
.question:has(.struggle-options) { position: relative; }
#other-struggle {
  position: absolute; bottom: 0; right: 0; width: calc(50% - 4px); height: 43px;
  font: 15px/1.3 Arial, sans-serif; padding: 6px; letter-spacing: 0;
}
#other-struggle:disabled { opacity: .45; }
@media (max-width: 600px) {
  .struggle-options { grid-template-columns: 1fr; }
  .struggle-options label:last-child { width: 32%; }
  #other-struggle { width: 65%; }
}
