/* =========================================================================
   Software University — landing page
   One palette, one type system, one media treatment.
   Palette sampled directly from the generated photography:
   plaster #D3CECB · wall #E0DBD7 · desk #D9D1CE · marker #B1745B
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  /* Surfaces — warm, pale, daylight */
  --paper:      #F3F0EB;
  --paper-deep: #E8E3DC;
  --bone:       #FBF9F6;
  --plaster:    #D9D3CD;

  /* Ink */
  --ink:        #1B1A18;
  --ink-soft:   #56514B;
  --ink-faint:  #8A837B;

  /* The one accent — sampled from the terracotta mug on the desk */
  --clay:       #9E5233;
  --clay-lit:   #B1745B;

  /* Lines */
  --rule:       rgba(27, 26, 24, 0.14);
  --rule-soft:  rgba(27, 26, 24, 0.08);

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid scale */
  --t-display: clamp(2.6rem, 1.1rem + 5.4vw, 6.25rem);
  --t-h2:      clamp(2rem,   1.15rem + 3.5vw, 4.25rem);
  --t-h3:      clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  --t-lead:    clamp(1.075rem, 0.99rem + 0.42vw, 1.4rem);
  --t-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-label:   0.7rem;

  /* Rhythm */
  --gutter:  clamp(1.25rem, 0.6rem + 2.6vw, 3.5rem);
  --section: clamp(5.5rem, 3rem + 10vw, 12rem);
  --maxw:    1320px;
  --measure: 34rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 1.1s;
}

/* ---------- 2. Reset ----------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* figure/blockquote carry a 40px UA margin that would break full-bleed media */
figure, blockquote, dl, dd { margin: 0; }

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--clay); color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: 0; left: 0;
  z-index: 200;
  padding: 0.9rem 1.4rem;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.8rem;
  transform: translateY(-120%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 3. Typography ------------------------------------------------ */

.display,
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.98;
  text-wrap: balance;
}

.display { font-size: var(--t-display); }
.h2      { font-size: var(--t-h2); line-height: 1.02; }

.h3 {
  font-family: var(--serif);
  font-size: var(--t-h3);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.display em, .h2 em, .h3 em {
  font-style: italic;
  color: var(--ink-soft);
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: var(--measure);
  text-wrap: pretty;
}

.body {
  color: var(--ink-soft);
  max-width: var(--measure);
  text-wrap: pretty;
}
.body + .body { margin-top: 1.35em; }

.label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.45;
}

.label--clay { color: var(--clay); }

.num {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  color: var(--clay);
}

/* ---------- 4. Layout ---------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ---------- 5. Buttons --------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
              border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.btn:hover  { --btn-bg: var(--clay); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover {
  --btn-bg: transparent;
  --btn-fg: var(--clay);
  border-color: var(--clay);
}

.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* A quiet inline link with a drawn underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35rem 0;
  color: var(--ink);
  position: relative;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.15rem;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
.tlink:hover { color: var(--clay); }
.tlink:hover::after { transform: scaleX(0); }

/* ---------- 6. Header ---------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 240, 235, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--rule-soft);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.header.is-stuck::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* The brand mark — the terracotta accent as a single dot */
.brand__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay-lit);
  flex: none;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand__dot { transform: scale(1.35); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

.nav__link {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.15rem;
  width: 100%; height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.header__cta { flex: none; }

@media (max-width: 860px) {
  .nav { display: none; }
}

/* ---------- 7. Hero ------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  padding-block: 6.5rem 2.5rem;
  isolation: isolate;
}

/* Oversized by 16% top and bottom so the parallax shift can never
   expose an edge. The .hero itself clips the overflow. */
.hero__media {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  will-change: transform;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 68%;
}

/* Landscape gets the 16:9 motion frame; portrait gets a still composed for a
   tall crop, so the desk is never buried behind the copy scrim. */
.hero__still { display: none; }

@media (max-aspect-ratio: 1/1) {
  .hero__video { display: none; }
  .hero__still { display: block; object-position: center 38%; }
}

/* Daylight wash so type stays readable over the plaster */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(243,240,235,0.94) 0%, rgba(243,240,235,0.72) 34%,
                            rgba(243,240,235,0.16) 62%, rgba(243,240,235,0) 82%),
    linear-gradient(to top, rgba(243,240,235,0.78) 0%, rgba(243,240,235,0) 42%);
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.85rem);
}

.hero__eyebrow .dot {
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.hero__title {
  max-width: 15ch;
  margin-bottom: clamp(1.15rem, 2vw, 1.75rem);
}

.hero__lead { margin-bottom: clamp(1.6rem, 2.6vw, 2.25rem); max-width: 40ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
}

.hero__caption { max-width: 30ch; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue__line {
  display: block;
  width: 3rem; height: 1px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: translateX(-100%);
  animation: cue 2.8s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@media (max-width: 720px) {
  .hero { align-items: flex-end; padding-block: 6rem 2rem; }
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(243,240,235,0.95) 12%, rgba(243,240,235,0.7) 42%,
                              rgba(243,240,235,0.18) 72%, rgba(243,240,235,0) 100%);
  }
  .hero__title { max-width: 100%; }
  .hero__foot { margin-top: 2.5rem; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- 8. Section headers ------------------------------------------- */

.shead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 900px) {
  .shead {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}

.shead__label { padding-top: 0.7rem; }

/* ---------- 9. "What it is" ---------------------------------------------- */

.about__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 14rem minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
  .about__title { grid-column: 2 / -1; }
  .about__col--a { grid-column: 2; }
  .about__col--b { grid-column: 3; }
}

.about__title { margin-bottom: 0.5rem; }

.spec {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.spec__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.spec__row dt { color: var(--ink-faint); font-family: var(--mono); font-size: 0.72rem;
                letter-spacing: 0.12em; text-transform: uppercase; }
.spec__row dd { margin: 0; text-align: right; font-size: 0.95rem; }

/* Full-bleed plate */
.plate {
  position: relative;
  margin-top: clamp(3.5rem, 7vw, 7rem);
  overflow: hidden;
}
.plate__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--plaster);
}
.plate__frame img,
.plate__frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.plate__cap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
}

/* Contained variant — sits inside the text measure and lines up with the
   headline rather than running edge to edge. */
.plate--inset { margin-top: clamp(2rem, 4vw, 3.25rem); }
.plate--inset .plate__frame { aspect-ratio: 16 / 9; }

@media (min-width: 900px) {
  /* Span the two body columns, starting where the headline starts. */
  .about__grid > .plate--inset { grid-column: 2 / -1; }
}

@media (max-width: 720px) {
  .plate__frame { aspect-ratio: 4 / 3; }
}

/* ---------- 10. The reveal (scroll-linked sequence) ---------------------- */

.turned { position: relative; background: var(--paper-deep); }

.turned__track { position: relative; }

.turned__grid {
  display: grid;
  gap: 0;
}

@media (min-width: 960px) {
  .turned__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(3rem, 5vw, 6rem); }
}

/* Sticky media column */
.turned__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  order: -1;
}

@media (min-width: 960px) {
  .turned__sticky { order: 2; }
}

.turned__stack {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--plaster);
  overflow: hidden;
}

.turned__shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
  will-change: opacity, transform;
}
.turned__shot img { width: 100%; height: 100%; object-fit: cover; }
.turned__shot.is-active { opacity: 1; transform: scale(1); }

/* The groove — draws across the plate as the sequence completes */
.turned__groove {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(var(--draw, 0));
  transform-origin: left center;
  z-index: 2;
}

.turned__steps { display: grid; }

.turned__step {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3rem, 8vh, 6rem);
  opacity: 0.32;
  transition: opacity 0.7s var(--ease);
}
.turned__step.is-active { opacity: 1; }

.turned__step .num { display: block; margin-bottom: 1.25rem; }
.turned__step .h3  { margin-bottom: 1rem; }

@media (max-width: 959px) {
  .turned__sticky { height: 62svh; top: 4.75rem; }
  .turned__stack { aspect-ratio: 3 / 2; }
  .turned__step {
    min-height: 0;
    padding-block: 3.5rem;
    opacity: 1;
  }
  .turned__steps { padding-top: 2.5rem; }
}

/* ---------- 11. Craft / benefits ---------------------------------------- */

/* Lead benefit — wide, with the motion plate */
.craft__lead {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .craft__lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}

.craft__leadmedia {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--plaster);
}
.craft__leadmedia video {
  width: 100%; height: 100%; object-fit: cover;
}

/* Remaining three */
.craft__grid {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3rem);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

@media (min-width: 760px) {
  .craft__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--plaster);
  margin-bottom: 1.5rem;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card:hover .card__media img { transform: scale(1.03); }

.card .num { display: block; margin-bottom: 0.9rem; }
.card .h3  { margin-bottom: 0.75rem; }
.card p    { color: var(--ink-soft); font-size: 0.975rem; }

/* ---------- 12. Proof ---------------------------------------------------- */

.proof { background: var(--paper-deep); }

/* No `ch` cap on the wrapper — it would resolve against the sans body font
   and crush the serif quote. The blockquote sets its own measure. */
.quote { margin: 0; }

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--t-h2);
  line-height: 1.06;
  letter-spacing: -0.018em;
  max-width: 17ch;
  text-wrap: balance;
}
.quote figcaption {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  max-width: 24rem;
}

.proof__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .proof__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.proof__aside img { width: 100%; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

.stat {
  background: var(--paper-deep);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
}
.stat__fig {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.stat__fig .unit { color: var(--clay); }
.stat p { font-size: 0.9rem; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- 13. Waitlist ------------------------------------------------- */

.waitlist { position: relative; overflow: hidden; text-align: center; }

.waitlist__media {
  width: min(100%, 46rem);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--plaster);
}
.waitlist__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

.waitlist__title { max-width: 18ch; margin-inline: auto; margin-bottom: 1.5rem; }
.waitlist .lead  { margin-inline: auto; text-align: center; }

.form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: min(100%, 34rem);
  margin: clamp(2.25rem, 4vw, 3rem) auto 0;
}

.form__field {
  flex: 1 1 16rem;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form input[type="email"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 100px;
  font-size: 0.975rem;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.form input[type="email"]::placeholder { color: var(--ink-faint); }
.form input[type="email"]:hover  { border-color: rgba(27,26,24,0.26); }
.form input[type="email"]:focus  { border-color: var(--clay); outline: none; background: #fff; }
.form input[type="email"]:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.form .btn { flex: 0 0 auto; }

.form__note {
  width: 100%;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  text-align: center;
}

.form__status {
  width: 100%;
  margin-top: 1.1rem;
  min-height: 1.4rem;
  font-size: 0.9rem;
  color: var(--clay);
  text-align: center;
}

@media (max-width: 560px) {
  .form { flex-direction: column; }
  /* flex-basis resolves against the main axis — once that is vertical, the
     16rem basis would become 16rem of empty height above the button. */
  .form__field { flex: 0 0 auto; }
  .form .btn { width: 100%; }
}

/* ---------- 14. Footer --------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
}

.footer a { color: var(--paper); }

.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 760px) {
  .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
}

.footer .brand { color: var(--paper); font-size: 1.35rem; }
.footer__blurb {
  margin-top: 1.5rem;
  max-width: 30ch;
  color: rgba(243, 240, 235, 0.62);
  font-size: 0.95rem;
}

.footer__col h3 {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 240, 235, 0.5);
  margin-bottom: 1.35rem;
}

.footer__col li + li { margin-top: 0.7rem; }

.footer__col a {
  font-size: 0.95rem;
  color: rgba(243, 240, 235, 0.8);
  display: inline-block;
  padding: 0.3rem 0;
  transition: color 0.35s var(--ease);
}
.footer__col a:hover { color: var(--clay-lit); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(243, 240, 235, 0.14);
}
.footer__bottom p,
.footer__bottom a { font-size: 0.85rem; color: rgba(243, 240, 235, 0.5); }
.footer__bottom a:hover { color: var(--clay-lit); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- 13b. Content patterns --------------------------------------- */

/* The unanswered-questions list */
.qlist { border-top: 1px solid var(--rule); }
.qlist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  font-size: 0.975rem;
  text-wrap: pretty;
}
.qlist li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--clay);
}

/* Plain bulleted role list */
.rolelist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
  text-wrap: pretty;
}
.rolelist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.5rem;
  height: 1px;
  background: var(--clay);
}

/* A single wide statement that closes a section */
.pullout {
  max-width: 46rem;
  margin: clamp(3rem, 6vw, 5rem) 0 0 auto;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: var(--t-h3);
  line-height: 1.24;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* "Also included" */
.also {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.also .label { margin-bottom: 1.75rem; }
.alsolist {
  display: grid;
  gap: 1.5rem 3rem;
}
@media (min-width: 760px) {
  .alsolist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.alsolist li { color: var(--ink-soft); font-size: 0.975rem; text-wrap: pretty; }
.alsolist strong { color: var(--ink); font-weight: 500; }

/* Scope: what's not included / what stays yours */
.scope__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 860px) {
  .scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.scopelist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.9rem;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  font-size: 0.975rem;
  text-wrap: pretty;
}
.scopelist li::before {
  position: absolute;
  left: 0;
  top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.6;
}
.scopelist--no li::before  { content: "\00d7"; color: var(--ink-faint); }
.scopelist--yes li::before { content: "\2014"; color: var(--clay); }

/* Numbered join steps */
.steps {
  display: grid;
  gap: 1px;
  width: min(100%, 46rem);
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  background: var(--rule);
  border-block: 1px solid var(--rule);
  text-align: left;
}
.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: baseline;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  background: var(--paper);
}
.steps__n {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--clay);
}
/* Both the heading and the copy live in the second column, stacked. */
.steps h3, .steps p { grid-column: 2; }
.steps h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.steps p { color: var(--ink-soft); font-size: 0.95rem; text-wrap: pretty; }

.waitlist__cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.btn--lg { min-height: 3.75rem; padding: 1rem 2.25rem; font-size: 1.05rem; }

/* Portrait plate in the closing section */
.waitlist__media--tall {
  width: min(100%, 32.5rem);
  aspect-ratio: 4 / 5;
}

/* ---------- 14b. Parallax media -------------------------------------------
   Any image that drifts gets 16% of vertical overflow to travel into, so the
   frame stays completely filled at both ends of the move. */

[data-parallax] { will-change: transform; }

.plate__frame img[data-parallax],
.waitlist__media img[data-parallax] {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}

.waitlist__media { position: relative; }

/* Current section in the nav */
.nav__link[aria-current="true"] { color: var(--ink); }
.nav__link[aria-current="true"]::after { transform: scaleX(1); }

/* ---------- 14c. Comfortable tap targets on touch widths ----------------- */

@media (max-width: 860px) {
  .footer__col a,
  .footer__bottom a,
  .brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer__col li + li { margin-top: 0.25rem; }
  .tlink { min-height: 44px; }
}

/* ---------- 15. Scroll-in choreography ----------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* A rule that draws itself */
[data-draw] {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-draw].is-in { transform: scaleX(1); }

/* ---------- 16. Reduced motion ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  [data-draw]   { transform: scaleX(1); }

  .turned__shot { transform: none; }
  .turned__groove { transform: scaleX(1); }
  .turned__step { opacity: 1; }
  .scroll-cue__line::after { display: none; }

  /* Sticky pinning is disorienting without motion — unstack it */
  .turned__sticky { position: static; height: auto; order: -1; margin-bottom: 2.5rem; }
  .turned__step { min-height: 0; padding-block: 2.5rem; }
  .turned__shot { position: relative; opacity: 1; }
  .turned__shot + .turned__shot { display: none; }
}
