/* =============================================================
   Parallax Thinking — Orientation page styles.
   Layered on top of /assets/parallax-tokens.css and
   /assets/site-v3.css. Same vocabulary as the homepage:
   Off-Pale Lunar canvas, Newsreader serif, Hanken Grotesk sans,
   Pale Lunar hairlines. Solar Gold reserved to the homepage's
   two existing instances; on this page Solar Gold reappears
   only at:
     - the Send button hover underline (commitment moment)
     - validation error messages
   ============================================================= */

/* Brief uses .pt-eyebrow as the eyebrow class; alias to the
   site's existing .eyebrow rule so markup matches the brief. */
.pt-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pt-pale-lunar);
  margin: 0;
}

/* =============================================================
   1 — PAGE HERO
   Tighter than the homepage hero; no master-illustration crop.
   ============================================================= */
.orientation-hero {
  padding: 80px 0;
}
.orientation-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.orientation-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--pt-deep-space);
  max-width: 22ch;
  margin: 24px 0 0;
  text-wrap: pretty;
}
.orientation-hero__stance {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  color: var(--pt-pale-lunar);
  margin: 32px 0 0;
  max-width: 36ch;
  text-wrap: pretty;
}

/* =============================================================
   2 — THREE PROSE SECTIONS — distinct layouts.
   ============================================================= */
.orientation-section {
  padding: 0 0 88px;
}
.orientation-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.orientation-section__headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--pt-deep-space);
  max-width: 24ch;
  margin: 16px 0 28px;
  text-wrap: pretty;
}

/* ---- Variant A: "What it is" -- sidebar contrast (Section 05 pattern).
   4-col italic stance line on the left, 7-col prose on the right,
   1-col gutter. */
.orientation-section--contrast .orientation-section__grid {
  display: grid;
  grid-template-columns: 4fr 1fr 7fr;
  align-items: start;
  gap: 0;
}
.orientation-section--contrast .orientation-section__stance {
  grid-column: 1;
  padding-right: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--pt-pale-lunar);
  margin: 0;
  text-wrap: pretty;
  max-width: 30ch;
}
.orientation-section--contrast .orientation-section__content {
  grid-column: 3;
  max-width: 56ch;
}
.orientation-section--contrast .orientation-section__content .body-prose + .body-prose {
  margin-top: 1.2em;
}

/* ---- Variant B: "What it costs" -- single dominant statement,
   no grid, generous air, larger headline. */
.orientation-section--statement {
  padding: 32px 0 120px;
}
.orientation-section--statement .orientation-section__container {
  text-align: left;
}
.orientation-section--statement .orientation-section__headline {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: 0;
  max-width: 18ch;
  margin: 28px 0 40px;
}
.orientation-section--statement .body-prose {
  max-width: 56ch;
}
.orientation-section--statement .body-prose + .body-prose {
  margin-top: 1.2em;
}

/* ---- Variant C: "What happens after you submit" -- three-step
   horizontal process strip, hairline-topped columns. */
.orientation-section--process .orientation-section__head {
  margin-bottom: 64px;
  max-width: 56ch;
}
.orientation-section--process .orientation-section__head .orientation-section__headline {
  margin-bottom: 0;
}
.orientation-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.orientation-process__step {
  padding-top: 22px;
  border-top: 1px solid var(--pt-pale-lunar);
}
.orientation-process__eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--pt-pale-lunar);
  margin: 0 0 18px;
}
.orientation-process__line {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--pt-deep-space);
  margin: 0;
  text-wrap: pretty;
  max-width: 22ch;
}
.orientation-section--process .orientation-process__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--pt-deep-space);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

/* =============================================================
   3 — SOFT STONE BAND wrapping the questionnaire.
   Edge-to-edge, deliberate hard edges, no fade.
   Cards device is reserved exclusively for inside this band.
   ============================================================= */
.questionnaire-band {
  background: var(--pt-soft-stone);
  padding: 80px 0;
  margin: 40px 0 0;
}

/* Spam honeypot — invisible to humans, irresistible to bots. */
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.questionnaire-band > :first-child { margin-top: 0; }

/* =============================================================
   4 — FORM CHAPTER HEADINGS
   Trio mark in the supporting 4-col, eyebrow + chapter title in
   the dominant 8-col. Title set noticeably larger (~60px).
   ============================================================= */
.form-chapter {
  padding: 0 0 64px;
}
.form-chapter__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.form-chapter__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 40px;
  align-items: start;
}
.form-chapter__mark {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
}
.form-chapter__mark img,
.form-chapter__mark svg {
  width: 96px;
  height: auto;
  display: block;
  opacity: 0.95;
}
.form-chapter__body {
  grid-column: 2;
}
.form-chapter__eyebrow {
  margin-bottom: 20px;
}
.form-chapter__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--pt-deep-space);
  margin: 0;
  max-width: 22ch;
  text-wrap: pretty;
}
.form-chapter--second {
  padding: 64px 0 64px;
  margin-top: 32px;
  border-top: 1px solid var(--pt-pale-lunar-30);
}

/* =============================================================
   QUESTION BLOCK — the master template.
   4:8 grid: meta (number) in supporting, question in dominant.
   Inside the Soft Stone band, each .q is an Off-Pale Lunar card
   with generous internal padding.
   ============================================================= */
.q {
  padding: 0 0 28px;
}
.q__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
/* Inside the questionnaire band, each .q__container becomes the
   visible Off-Pale Lunar card. Inset its width so Soft Stone is
   visible to the left and right of every card, and pad internally
   so content doesn't touch the card edge. */
.questionnaire-band .q__container {
  background: var(--pt-off-pale-lunar);
  max-width: 1080px;
  padding: 48px 64px;
}
.q__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 40px;
  align-items: start;
}
.q__meta {
  grid-column: 1;
}
.q__number {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--pt-pale-lunar);
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}
.q__number-word { color: var(--pt-deep-space); }
.q__number-sep,
.q__number-total { color: var(--pt-pale-lunar); }
.q__body {
  grid-column: 2;
  max-width: 56ch;
}
.q__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--pt-deep-space);
  margin: 0 0 8px;
  text-wrap: pretty;
}
.q__sub {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--pt-pale-lunar);
  margin: 0 0 28px;
}
.q__text + :not(.q__sub) { margin-top: 28px; }

/* ---- Text inputs ------------------------------------------- */
.q__input,
.q__textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--pt-deep-space);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--pt-pale-lunar);
  padding: 12px 0;
  outline: none;
  transition: border-color 220ms cubic-bezier(0.2, 0, 0, 1);
  border-radius: 0;
}
.q__input::placeholder,
.q__textarea::placeholder {
  color: var(--pt-pale-lunar);
  font-style: italic;
  opacity: 0.8;
}
.q__input:focus,
.q__textarea:focus {
  border-bottom-color: var(--pt-deep-space);
}
.q__textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
}

/* ---- Single-select / multi-select --------------------------- */
.q__options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.q__option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  padding: 6px 0;
  position: relative;
}
.q__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.q__option-mark {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border: 1px solid var(--pt-pale-lunar);
  background: transparent;
  transition: background 180ms cubic-bezier(0.2, 0, 0, 1),
              border-color 180ms cubic-bezier(0.2, 0, 0, 1);
}
.q__option-mark--radio { border-radius: 50%; }
.q__option-mark--check { border-radius: 0; }
.q__option:hover .q__option-mark {
  border-color: var(--pt-deep-space);
}
.q__option input:checked ~ .q__option-mark {
  background: var(--pt-deep-space);
  border-color: var(--pt-deep-space);
}
.q__option-label {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.45;
  color: var(--pt-deep-space);
}
.q__option input:focus-visible ~ .q__option-mark {
  outline: 2px solid var(--pt-solar-gold);
  outline-offset: 3px;
}

/* ---- Optional follow-up textarea --------------------------- */
.q__followup {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px dotted var(--pt-pale-lunar-30);
}
.q__followup-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pt-pale-lunar);
  margin-bottom: 8px;
}
.q__followup-textarea {
  min-height: 80px;
}

/* ---- Q9 / Q9b continuation --------------------------------- */
.q__continuation {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--pt-pale-lunar-30);
}
.q__text--continuation {
  font-size: 22px;
  margin-bottom: 20px;
}

/* ---- Validation messages (Solar Gold, functional use) ------ */
.q__error {
  display: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--pt-solar-gold);
  margin-top: 12px;
}
.q.is-invalid .q__error {
  display: block;
}
.q.is-invalid .q__input,
.q.is-invalid .q__textarea {
  border-bottom-color: var(--pt-solar-gold);
}

/* =============================================================
   5 — CLOSING LINE + SUBMIT
   ============================================================= */
.form-close {
  padding: 32px 0 120px;
}
.form-close__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.form-close__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 40px;
}
.form-close__content {
  grid-column: 2;
  max-width: 56ch;
}
.form-close__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--pt-deep-space);
  margin: 0 0 40px;
  text-wrap: pretty;
}
.form-submit {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--pt-deep-space);
  background: transparent;
  border: none;
  padding: 0 0 6px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--pt-pale-lunar);
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  transition: text-decoration-color 220ms cubic-bezier(0.2, 0, 0, 1),
              color 220ms cubic-bezier(0.2, 0, 0, 1);
}
.form-submit:hover {
  text-decoration-color: var(--pt-solar-gold);
  color: var(--pt-solar-gold);
}
.form-submit:focus-visible {
  outline: 2px solid var(--pt-solar-gold);
  outline-offset: 6px;
}

/* =============================================================
   7 — SUBMISSION CONFIRMATION STATE
   ============================================================= */
.orientation-confirmation {
  padding: 80px 0;
}
.orientation-confirmation__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.orientation-confirmation__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--pt-deep-space);
  max-width: 22ch;
  margin: 16px 0 32px;
}

/* =============================================================
   MOBILE
   ============================================================= */
@media (max-width: 920px) {
  .orientation-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 56px);
    padding: 24px 0;
  }
  .orientation-hero__container { padding: 0 32px; }
  .orientation-hero__stance { margin-top: 24px; }

  .orientation-section { padding: 56px 0; }
  .orientation-section__container { padding: 0 32px; }

  /* Stance moved to hero — collapse contrast grid to a single column. */
  .orientation-section--contrast { padding-top: 80px; }
  .orientation-section--contrast .orientation-section__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .orientation-section--contrast .orientation-section__content { grid-column: 1; }

  .orientation-section--statement { padding: 80px 0; }
  .orientation-section--statement .orientation-section__headline {
    font-size: clamp(32px, 7.4vw, 42px);
  }

  .orientation-section--process .orientation-section__head { margin-bottom: 48px; }
  .orientation-process { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .orientation-process__step { padding-top: 36px; }
  .orientation-process__step:first-child {
    padding-top: 0;
    border-top: none;
  }

  .questionnaire-band { padding: 64px 0 64px; }

  .form-chapter__container { padding: 0 32px; }
  .form-chapter { padding: 0 0 40px; }
  .form-chapter__grid { grid-template-columns: 1fr; gap: 24px; }
  .form-chapter__mark, .form-chapter__body { grid-column: 1; }
  .form-chapter__mark { padding-top: 0; }
  .form-chapter__mark img,
  .form-chapter__mark svg { width: 72px; }
  .form-chapter__title { font-size: clamp(34px, 8vw, 44px); }
  .form-chapter--second { padding: 48px 0 48px; }

  .q { padding: 0 0 20px; }
  .q__container { padding: 0 32px; }
  .questionnaire-band .q__container {
    width: calc(100% - 32px);
    padding: 28px 24px;
  }
  .q__grid { grid-template-columns: 1fr; gap: 12px; }
  .q__meta, .q__body { grid-column: 1; }
  .q__text { font-size: 22px; }

  .form-close__container { padding: 0 32px; }
  .form-close__grid { grid-template-columns: 1fr; }
  .form-close__content { grid-column: 1; }
  .form-close { padding: 24px 0 80px; }

  .orientation-confirmation { padding: 64px 0 96px; }
  .orientation-confirmation__container { padding: 0 32px; }
}
