:root {
  --paper: #f4f1eb;
  --paper-soft: rgba(255,255,255,.72);
  --ink: #252a2b;
  --muted: #667071;
  --line: rgba(37,42,43,.14);
  --line-strong: rgba(37,42,43,.26);
  --accent: #53736f;
  --accent-soft: rgba(83,115,111,.12);
  --shadow: 0 24px 80px rgba(43,50,48,.10);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--paper); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.95), transparent 32%),
    linear-gradient(145deg, #f7f4ef 0%, #efeee9 100%);
  overflow-x: hidden;
}

button, input, textarea { font: inherit; }
button { color: inherit; }

.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.ambient__orb { position: absolute; border-radius: 999px; filter: blur(1px); opacity: .42; }
.ambient__orb--one { width: 320px; height: 320px; left: -110px; top: 25%; background: rgba(137,164,157,.16); }
.ambient__orb--two { width: 420px; height: 420px; right: -190px; top: 5%; background: rgba(184,169,146,.13); }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.brand { color: inherit; text-decoration: none; display: grid; gap: 3px; }
.brand__eyebrow { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand__name { font-size: .95rem; font-weight: 650; }

.quiet-button, .text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 9px 2px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.quiet-button:hover, .text-button:hover { color: var(--ink); text-decoration-color: currentColor; }

.experience-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .76fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
  padding: 24px 0 50px;
  position: relative;
  z-index: 1;
}

.journey { min-height: 420px; display: grid; place-items: center; position: relative; }
.journey svg { width: 100%; height: auto; overflow: visible; }
.journey__path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.6;
  stroke-dasharray: 5 11;
  stroke-linecap: round;
  transition: stroke .8s ease, stroke-width .8s ease, stroke-dasharray .8s ease;
}
.journey.is-revealed .journey__path { stroke: rgba(83,115,111,.55); stroke-width: 2.3; stroke-dasharray: 0; }
.journey__return { fill: none; stroke: rgba(83,115,111,0); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 7 10; transition: stroke .9s ease, stroke-dasharray 1.2s ease; }
.journey.is-revealed .journey__return { stroke: rgba(83,115,111,.34); stroke-dasharray: 0; }
.journey__hint { position: absolute; bottom: 34px; color: var(--muted); font-size: .82rem; letter-spacing: .02em; }

.node { opacity: 0; animation: nodeIn .75s cubic-bezier(.2,.75,.25,1) forwards; }
.node circle { fill: rgba(255,255,255,.86); stroke: rgba(83,115,111,.28); stroke-width: 1.5; filter: drop-shadow(0 10px 18px rgba(37,42,43,.08)); }
.node text { fill: var(--ink); font-size: 12px; font-weight: 650; text-anchor: middle; }
.node .node-sub { fill: var(--muted); font-size: 10px; font-weight: 450; }
.node--active circle { stroke: var(--accent); stroke-width: 2.1; }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }

.stage {
  min-height: 520px;
  display: flex;
  align-items: center;
}
.card {
  width: 100%;
  background: var(--paper-soft);
  border: 1px solid rgba(255,255,255,.76);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: cardIn .5s cubic-bezier(.2,.78,.24,1) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.kicker { margin: 0 0 14px; color: var(--accent); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; }
h1, h2 { margin: 0; letter-spacing: -.035em; line-height: 1.06; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); max-width: 10ch; font-weight: 620; }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); font-weight: 620; }
.lead { margin: 22px 0 0; max-width: 52ch; color: var(--muted); line-height: 1.65; font-size: 1.02rem; }
.microcopy { color: var(--muted); line-height: 1.55; font-size: .88rem; }

.form-stack { display: grid; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .82rem; color: var(--muted); font-weight: 650; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 122px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.choice {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.55);
  text-align: left;
  padding: 14px 15px;
  cursor: pointer;
  line-height: 1.35;
  min-height: 58px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.choice:hover { transform: translateY(-2px); border-color: rgba(83,115,111,.45); background: rgba(255,255,255,.88); }
.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }

.actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.primary-button, .secondary-button {
  border-radius: 999px;
  padding: 13px 21px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.primary-button { border: 1px solid var(--accent); background: var(--accent); color: white; box-shadow: 0 10px 24px rgba(83,115,111,.18); }
.secondary-button { border: 1px solid var(--line-strong); background: rgba(255,255,255,.62); color: var(--ink); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-1px); }
.primary-button:disabled, .secondary-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.previous-answer { margin: 0 0 16px; display: inline-flex; max-width: 100%; padding: 8px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.discovery {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(83,115,111,.10), rgba(255,255,255,.55));
  border: 1px solid rgba(83,115,111,.18);
}
.discovery p { margin: 0; line-height: 1.62; }
.discovery strong { color: var(--accent); }

.summary { display: grid; gap: 13px; margin-top: 24px; }
.summary__item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary__label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 750; }
.summary__value { line-height: 1.5; }

.protected-panel { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.46); }
.protected-panel h3 { margin: 0 0 6px; font-size: 1.05rem; }
.protected-panel .field { margin-top: 15px; }
.status { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.status.is-error { color: #8a4545; }
.status.is-success { color: #3f6963; }

.resume-box { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 28px; color: var(--muted); font-size: .74rem; line-height: 1.5; position: relative; z-index: 2; }
.site-footer p { max-width: 76ch; }

@media (max-width: 860px) {
  .site-header { padding-top: 20px; }
  .experience-shell { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .journey { min-height: 240px; order: 2; margin-top: -12px; }
  .stage { min-height: auto; order: 1; }
  .journey__hint { bottom: 4px; }
  .card { border-radius: 24px; }
  h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
}

@media (max-width: 560px) {
  .site-header, .experience-shell, .site-footer { width: min(100% - 24px, 1180px); }
  .brand__eyebrow { font-size: .62rem; }
  .choices { grid-template-columns: 1fr; }
  .card { padding: 25px 20px; }
  .actions { align-items: stretch; }
  .primary-button, .secondary-button { width: 100%; }
  .text-button { width: 100%; text-align: center; }
  .journey { min-height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
