/* zoeaspinall.com — practice site
   Register: a considered letter from a specialist, not a funnel.
   Palette: Warm dark #1D1815 · Card #2A241F · Cream #EDE4D3 · Coral #C55A3E · Hairline #3B342D */

:root {
  --bg: #1D1815;
  --bg-lift: #221C18;
  --card: #2A241F;
  --card-hover: #322B25;
  --card-tint: rgba(197, 90, 62, 0.08);
  --ink: #EDE4D3;
  --ink-soft: #C9BEA8;
  --ink-mute: #9B8F7C;
  --coral: #C55A3E;
  --coral-bright: #D66B4E;
  --coral-deep: #A64730;
  --hairline: #3B342D;
  --hairline-strong: #4A4238;
  --shadow-card: 0 1px 0 rgba(237, 228, 211, 0.03) inset, 0 20px 40px -20px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 1px 0 rgba(237, 228, 211, 0.04) inset, 0 28px 56px -22px rgba(0, 0, 0, 0.65);
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--coral); color: var(--ink); }

.shell { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.shell-wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.shell-hero { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Masthead */
header.masthead {
  border-bottom: 1px solid var(--hairline);
  background: rgba(29, 24, 21, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  position: sticky; top: 0; z-index: 20;
}
.masthead-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding: 22px 0 20px;
}
.wordmark {
  font-family: var(--serif); font-size: 22px; letter-spacing: 0.005em;
  color: var(--ink); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: baseline;
}
.wordmark span {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-left: 14px; font-weight: 500;
  border-left: 1px solid var(--hairline-strong); padding-left: 14px;
  align-self: center;
}
nav.primary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
nav.primary a {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink); text-decoration: none; padding: 6px 0;
  transition: color 140ms ease;
}
nav.primary a:hover { color: var(--coral-bright); }
nav.primary a[aria-current="page"] { color: var(--coral); }
nav.primary .nav-cta {
  color: var(--coral); font-weight: 600;
}
nav.primary .nav-cta:hover { color: var(--coral-bright); }
nav.primary .nav-cta .arrow {
  display: inline-block; margin-left: 6px; transition: transform 160ms ease;
}
nav.primary .nav-cta:hover .arrow { transform: translateX(3px); }

/* Type */
.eyebrow {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral);
  margin: 0 0 22px; font-weight: 600;
}
h1 {
  font-family: var(--serif); font-weight: 460;
  font-size: clamp(36px, 5.6vw, 58px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 28px; color: var(--ink);
}
h1 em { font-style: italic; font-weight: 500; color: var(--coral); }
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.8vw, 34px);
  line-height: 1.2; letter-spacing: -0.012em;
  margin: 0 0 18px; color: var(--ink);
}
h2 em { font-style: italic; color: var(--coral); }
h3 { font-family: var(--serif); font-weight: 540; font-size: 21px; letter-spacing: -0.003em; margin: 0 0 12px; color: var(--ink); }
p { margin: 0 0 18px; color: var(--ink-soft); }
.lede { font-size: 20px; color: var(--ink-soft); line-height: 1.6; }
a { color: var(--coral); text-decoration-color: rgba(197, 90, 62, 0.4); text-underline-offset: 3px; }
a:hover { color: var(--coral-bright); text-decoration-color: currentColor; }
hr.rule { border: none; border-top: 1px solid var(--hairline); margin: 0; }

/* Sections */
section { padding: 80px 0; position: relative; }
section.hero { padding: 96px 0 88px; }
section + section { border-top: 1px solid var(--hairline); }
section.lift { background: var(--bg-lift); }
section.lift + section, section + section.lift { border-top: none; }

/* Home hero — two-column with portrait plate */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 72px;
  align-items: start;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-aside { display: grid; gap: 22px; align-self: start; }

.portrait {
  display: grid; gap: 16px; margin: 0;
  padding: 22px; border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(237,228,211,0.02), rgba(237,228,211,0));
  border-radius: 2px;
}
.portrait-label {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-mute); text-align: center;
  font-weight: 500;
}
.portrait-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  font-family: var(--serif); font-style: italic; font-size: 14px;
  background:
    radial-gradient(ellipse at center, rgba(237,228,211,0.02), transparent 70%);
  overflow: hidden;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-caption {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-mute); text-align: center;
  font-weight: 500; margin: 0;
}

.credentials {
  background: var(--card); border: 1px solid var(--hairline);
  padding: 22px 24px; border-radius: 2px;
  box-shadow: var(--shadow-card);
}
.credentials b {
  font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink);
  display: block; margin-bottom: 8px; letter-spacing: -0.005em;
}
.credentials span {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 500;
  line-height: 1.6; display: block;
}

/* The sentences — signature element */
.sentences { list-style: none; margin: 0; padding: 0; }
.sentences li {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: clamp(20px, 3.1vw, 25px); line-height: 1.45;
  padding: 16px 0 16px 28px; border-left: 2px solid var(--hairline-strong);
  color: var(--ink-soft);
}
.sentences li + li { margin-top: 2px; }
.sentences li strong { color: var(--coral); font-weight: 500; font-style: italic; }
.sentence-display {
  font-family: var(--serif); font-style: italic; font-weight: 440;
  font-size: clamp(30px, 5.4vw, 46px); line-height: 1.2;
  color: var(--coral); margin: 0 0 26px; letter-spacing: -0.014em;
}

/* Buttons — coral primary, text-link secondary */
.btn {
  display: inline-block; background: var(--coral); color: var(--ink);
  text-decoration: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 2px;
  transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.btn:hover { background: var(--coral-bright); box-shadow: 0 8px 20px -8px rgba(197,90,62,0.5); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-within {
  outline: 2px solid var(--coral-bright); outline-offset: 3px;
}
.link-cta {
  display: inline-block;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 16px 0; border-bottom: 1px solid var(--ink-mute);
  transition: color 140ms ease, border-color 140ms ease;
}
.link-cta:hover { color: var(--coral-bright); border-bottom-color: var(--coral-bright); }
.btn-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; align-items: center; }
.note { font-family: var(--sans); font-size: 13.5px; color: var(--ink-mute); }

/* Proof strip */
.proof {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px 34px;
}
.proof div {
  border-top: 1px solid var(--hairline-strong); padding-top: 16px;
}
.proof b {
  font-family: var(--serif); font-weight: 460;
  font-size: clamp(26px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.012em;
  display: block; margin-bottom: 8px; color: var(--ink);
}
.proof span {
  font-family: var(--sans); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
}

/* Cards / doors */
.doors {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.door {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 2px;
  padding: 34px 30px; box-shadow: var(--shadow-card);
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}
.door:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  box-shadow: var(--shadow-lift);
}
.door h3 { color: var(--ink); margin-bottom: 12px; }
.door p { color: var(--ink-soft); font-size: 16.5px; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; padding: 24px 0 24px 62px; position: relative; border-top: 1px solid var(--hairline); color: var(--ink-soft); }
.steps li:first-child { border-top: none; padding-top: 6px; }
.steps li:first-child::before { top: 6px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 24px;
  font-family: var(--serif); font-weight: 500; color: var(--coral);
  border: 1px solid var(--coral); border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: var(--bg);
}
section.lift .steps li::before { background: var(--bg-lift); }
.steps b { font-family: var(--serif); font-weight: 540; color: var(--ink); }

/* CTA panel — quiet, considered */
.cta-panel {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 2px;
  padding: 44px 44px; box-shadow: var(--shadow-card);
}
.cta-panel .eyebrow { margin-bottom: 16px; }
.cta-panel h2 { margin-bottom: 14px; }
.cta-panel p { color: var(--ink-soft); }

/* Assessment — editorial container */
.instrument {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 2px;
  box-shadow: var(--shadow-card);
  padding: 8px 40px 40px;
  margin-top: 8px;
}
.instrument-head {
  position: sticky; top: 68px; z-index: 5;
  background: var(--card);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0 16px;
  margin: 0 -40px 8px; padding-left: 40px; padding-right: 40px;
}
.instrument-head-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.instrument-head .label {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral); font-weight: 600;
}
.instrument-head .count {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-mute);
  letter-spacing: 0.05em; font-variant-numeric: tabular-nums; font-weight: 500;
}
.progress-bar {
  height: 2px; background: var(--hairline); border-radius: 2px; overflow: hidden;
  margin: 12px 0 0;
}
.progress-fill {
  height: 100%; background: var(--coral); width: 0%;
  transition: width 280ms cubic-bezier(0.2,0.6,0.3,1);
}

/* Forms (assessment) */
fieldset { border: none; margin: 0 0 8px; padding: 28px 0; border-top: 1px solid var(--hairline); }
fieldset:first-of-type { border-top: none; padding-top: 20px; }
legend {
  font-family: var(--body); font-size: 19px; padding: 0 0 14px;
  line-height: 1.5; color: var(--ink); width: 100%;
}
.legend-count {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  color: var(--coral); text-transform: uppercase; display: block;
  margin-bottom: 8px; font-weight: 600;
}
.scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.scale label, .choice label {
  display: flex; align-items: center; gap: 10px; background: var(--bg-lift);
  border: 1px solid var(--hairline); border-radius: 2px; padding: 14px 14px;
  font-family: var(--sans); font-size: 14.5px; cursor: pointer; color: var(--ink-soft);
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.scale label:hover, .choice label:hover { border-color: var(--hairline-strong); color: var(--ink); }
.scale input:checked + span, .choice input:checked + span { color: var(--coral); font-weight: 600; }
.scale label:has(input:checked), .choice label:has(input:checked) {
  border-color: var(--coral); background: var(--card-tint); color: var(--ink);
}
.choice { display: grid; gap: 10px; }
.choice label { font-family: var(--serif); font-style: italic; font-size: 17px; padding: 15px 16px; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--coral); width: 18px; height: 18px; flex-shrink: 0; }
input[type="email"], select {
  width: 100%; padding: 14px 16px; font-size: 17px; font-family: var(--sans);
  border: 1px solid var(--hairline); border-radius: 2px;
  background: var(--bg-lift); color: var(--ink);
  transition: border-color 140ms ease, background 140ms ease;
}
input[type="email"]::placeholder { color: var(--ink-mute); }
input[type="email"]:focus, select:focus { border-color: var(--coral); background: var(--card); outline: none; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.form-msg {
  padding: 16px 18px; border-radius: 2px; font-family: var(--sans);
  font-size: 15px; margin-top: 14px;
}
.form-msg.err {
  background: rgba(197, 90, 62, 0.12);
  border: 1px solid rgba(197, 90, 62, 0.3);
  color: var(--coral-bright);
}
.success-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 2px;
  padding: 48px 42px; box-shadow: var(--shadow-card);
}

/* Footer */
footer.site {
  border-top: 1px solid var(--hairline); padding: 56px 0 68px;
  margin-top: 0; background: var(--bg);
}
footer.site p {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-mute);
  margin-bottom: 8px; letter-spacing: 0.02em;
}
footer.site a { color: var(--ink-soft); text-decoration-color: var(--hairline-strong); }
footer.site a:hover { color: var(--coral-bright); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { order: 2; }
  .hero-aside { order: 1; }
  .portrait-frame { aspect-ratio: 5 / 4; max-width: 340px; margin: 0 auto; width: 100%; }
  .portrait { max-width: 380px; margin: 0 auto; width: 100%; }
  .credentials { max-width: 380px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  nav.primary { gap: 8px 20px; width: 100%; }
  nav.primary a { font-size: 11.5px; letter-spacing: 0.16em; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }
  section.hero { padding: 64px 0 56px; }
  .instrument { padding: 4px 22px 26px; }
  .instrument-head { margin: 0 -22px 8px; padding-left: 22px; padding-right: 22px; top: 62px; }
  .cta-panel { padding: 32px 26px; }
  .success-card { padding: 36px 26px; }
  .masthead-inner { padding: 18px 0 16px; }
  .btn-row { gap: 16px; margin-top: 20px; }
  .btn { padding: 15px 22px; font-size: 12.5px; }
  .link-cta { padding: 14px 0; font-size: 12.5px; }
  .proof { grid-template-columns: 1fr 1fr; gap: 24px 22px; }
}
