/* Book a free career call (form styles; tokens and base come from s2s.css) */
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 0; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--wash); font-size: 14px; color: var(--ink-2); }
.mono-tag { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
/* School2Success · Book a free career call
   Layout: a form column beside a sticky boarding-pass preview on wide screens;
   on phones a compact pass sits above the form. Single light theme: S2S brand uses white grounds only. */
/* Intro */
.intro { padding-block: 28px 8px; max-width: 760px; }
.book .kicker { color: var(--gold-deep); }
.book h1 { margin: 14px 0 0; font-size: clamp(32px, 4.8vw, 56px); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.lede { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "form pass"; gap: 48px; align-items: start; padding-top: 28px; }
.form-col { grid-area: form; min-width: 0; }
.pass-col { grid-area: pass; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); min-width: 0; }

/* Steps: a runway centreline that turns solid as you go */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.step-btn { width: 100%; min-height: 56px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 6px 0 10px; border: 0; border-bottom: 3px dashed var(--line-2); background: none; color: var(--ink-3); text-align: left; cursor: pointer; }
.step-btn .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.step-btn .t { font-size: 16px; font-weight: 500; }
.step-btn.is-done { color: var(--ink); border-bottom: 3px solid var(--gold); }
.step-btn[aria-current="step"] { color: var(--ink); border-bottom: 3px solid var(--ink); }
.step-btn:disabled { cursor: default; }
.step-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Status banner */
.status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; padding: 12px 14px 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--wash); font-size: 15px; line-height: 1.45; }
.status-text { flex: 1 1 260px; min-width: 0; display: flex; gap: 10px; align-items: flex-start; }
.status-text::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--ink); }
.status[data-kind="offline"], .status[data-kind="retry"] { border-color: var(--gold); background: var(--sand); }
.status[data-kind="offline"] .status-text::before, .status[data-kind="retry"] .status-text::before { background: var(--gold); }
.status[data-kind="error"] { border-color: var(--danger); background: var(--danger-wash); }
.status[data-kind="error"] .status-text::before { background: var(--danger); }

/* Form card */
.card { border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 36px); background: var(--bg); }
.step-head h2 { margin: 0; font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.step-head h2:focus { outline: none; }
.step-head p { margin: 6px 0 0; color: var(--ink-2); }
.fields { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.label, .field legend { display: block; margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.hint { margin: -4px 0 10px; font-size: 14px; color: var(--ink-2); }

.input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 17px; }
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.field.invalid .input { border-color: var(--danger); }

.phone { display: flex; }
.phone .prefix { display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-right: 0; border-radius: 12px 0 0 12px; background: var(--wash); font-family: var(--mono); font-size: 16px; color: var(--ink); }
.phone .input { border-radius: 0 12px 12px 0; font-family: var(--mono); letter-spacing: 0.04em; }

.err { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: var(--danger); }
.err::before { content: "!"; flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: var(--danger); color: var(--on-dark); font-family: var(--mono); font-size: 11px; font-weight: 600; line-height: 17px; text-align: center; }

/* Pills (radio groups) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.pill span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 15px; transition: background-color .15s, color .15s, border-color .15s; }
.pills-num span { min-width: 58px; font-family: var(--mono); font-size: 16px; }
.pill input:hover + span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.invalid .pill input:not(:checked) + span { border-color: var(--danger); }

/* Career tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tile { position: relative; display: block; }
.tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.face { position: relative; display: flex; flex-direction: column; gap: 5px; height: 100%; min-height: 112px; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); color: var(--ink); transition: background-color .15s, color .15s, border-color .15s; }
.face svg { width: 28px; height: 28px; margin-bottom: 4px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.face .nm { font-size: 15px; font-weight: 500; line-height: 1.25; }
.face .sb { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.tick { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 50%; }
.tile-unsure .face { border-style: dashed; }
.tile input:hover + .face { border-color: var(--ink); }
.tile input:checked + .face { background: var(--ink); border-color: var(--ink); color: var(--on-dark); border-style: solid; }
.tile input:checked + .face svg { stroke: var(--gold); }
.tile input:checked + .face .sb { color: var(--on-dark-2); }
.tile input:checked + .face .tick { background: var(--gold); border-color: var(--gold); }
.tile input:checked + .face .tick::after { content: ""; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.tile input:focus-visible + .face { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.invalid .tile input:not(:checked) + .face { border-color: var(--danger); }

/* Consent checkbox */
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 4px; cursor: pointer; font-size: 15px; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-content: center; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--bg); cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--on-dark); border-bottom: 2px solid var(--on-dark); transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.invalid .check input { border-color: var(--danger); }

/* Buttons */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.nav #btn-next, .nav #btn-submit { margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn-primary:hover { background: var(--ink-hover); color: var(--on-dark); }
.btn-primary:disabled { cursor: progress; background: var(--ink-hover); }
.btn-ghost { background: var(--bg); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--on-dark-2); border-top-color: var(--on-dark); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* The pass */
.pass { --stub: 108px; --notch: 12px; position: relative; padding: 22px 22px 0; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--bg);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), transparent calc(var(--notch) - 0.5px), #000 var(--notch)),
                radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), transparent calc(var(--notch) - 0.5px), #000 var(--notch));
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), transparent calc(var(--notch) - 0.5px), #000 var(--notch)),
                radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), transparent calc(var(--notch) - 0.5px), #000 var(--notch));
          mask-composite: intersect; }
.pass-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pass-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; }
.chip { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-2); white-space: nowrap; }
.pass[data-state="sending"] .chip { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.pass[data-state="waiting"] .chip { background: var(--sand); border-color: var(--gold); color: var(--gold-deep); }
.pass[data-state="confirmed"] .chip { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pass[data-state="email"] .chip { background: var(--sand); border-color: var(--gold); color: var(--gold-deep); }
.route { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: end; gap: 10px; margin-top: 26px; }
.route .to { text-align: right; }
.route-line { position: relative; height: 2px; margin-bottom: 34px; border-top: 1.5px dashed var(--ink); }
.route-line::after { content: ""; position: absolute; right: -4px; top: -5.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.k { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink-2); }
.v { margin: 4px 0 0; font-family: var(--mono); font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.v.big { font-size: 24px; line-height: 1.1; }
.sub { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.is-empty { color: var(--ink-3); font-weight: 400; }
.pass-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; margin: 26px 0 0; }
.pass-grid dd { margin-left: 0; }
.stub { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--stub); margin: 24px -22px 0; padding: 0 22px; border-top: 2px dashed var(--line-2); }
.barcode { width: 150px; height: 44px; max-width: 50%; }
.barcode rect { fill: var(--ink); }
.pass-note { margin: 12px 4px 0; font-size: 14px; color: var(--ink-2); }
.stamp { position: absolute; right: 16px; bottom: calc(var(--stub) + 6px); display: grid; place-content: center; gap: 2px; width: 116px; height: 116px; border: 2.5px solid var(--gold); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5.5px var(--gold); color: var(--gold-deep); font-family: var(--mono); text-align: center; transform: rotate(-12deg); pointer-events: none; }
.stamp-t { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; }
.stamp-d { font-size: 10px; letter-spacing: 0.08em; }
.stamp.is-on { animation: stamp .5s cubic-bezier(.2, .9, .3, 1.25) both; }
@keyframes stamp { from { transform: rotate(-12deg) scale(1.5); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }

/* Confirmation */
.done:focus { outline: none; }
.done h2 { margin: 12px 0 0; font-size: clamp(34px, 4.4vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; }
.done-ref { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); }
.done-ref strong { color: var(--ink); }
.next-steps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next-steps li { display: flex; gap: 14px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.next-steps .n { flex: none; font-family: var(--mono); font-size: 13px; color: var(--gold-deep); }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Phones and narrow windows */
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pass" "form"; gap: 20px; padding-top: 16px; }
  .pass-col { position: static; }
  .pass { --stub: 0px; padding-bottom: 20px; -webkit-mask: none; mask: none; }
  .stub, .pass-note, .pass-grid .opt { display: none; }
  .route { margin-top: 18px; }
  .pass-grid { margin-top: 18px; }
  .stamp { width: 92px; height: 92px; right: 12px; bottom: 12px; }
  .stamp-t { font-size: 10.5px; }
}
@media (max-width: 520px) {
  .lede { font-size: 17px; }
  .step-btn .t { font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav .btn { flex: 1 1 auto; }
  .v.big { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
