/* ═══════════════════════════════════════════════════════════════
   FROM SURVIVAL TO FREEDOM · /practice/, the short page · 13 Oct 2026

   Loaded after app.css on /practice/ only. The page rides on the home
   page's components (the pill and menu, the hero scene, insets, a
   chapter band, a light closing scene, the footer); this file holds
   only what app.css has no equivalent for: the one ask kept in the pill,
   the hero's stacked layout below 1100px, the three points on a gold
   line, the reframe band, and the close. Every colour is an app.css
   token. (The long page it replaced kept its rules in practice.css,
   which stays for it: _archived/2026-10-13-long-practice-page/.)
   ═══════════════════════════════════════════════════════════════ */

/* focus: app.css's sand ring disappears on cream */
.inset--light :focus-visible, .foot :focus-visible, .bar :focus-visible { outline-color: var(--teal); }

/* ── the Seed of Life, from the sprite at the top of <body> ───── */
.geo-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.geo { display: block; fill: none; stroke-width: 1; color: var(--gold); pointer-events: none; }

/* ── header: the home page's menu, with the one ask kept ──────────
   app.css hides .bar__cta under 900px because the menu carries the ask
   there. Here it is the page's one action, so it stays at every width,
   just before the burger (the long page's arrangement): the long label
   above 520px, the short one below. The aria-label keeps the full name. */
.bar__cta[data-training] { display: inline-flex; align-items: center; min-height: 44px; }
.bar__cta-s { display: none; }
@media (max-width: 520px) {
  .bar__cta[data-training] { white-space: normal; padding-inline: 1rem; }
  .bar__cta-l { display: none; }
  .bar__cta-s { display: inline; }
}
@media (max-width: 899px) {
  .bar__cta[data-training] { order: 2; margin-left: auto; }
  .bar__burger { order: 3; }
}


/* ═══ 1 · HERO ═════════════════════════════════════════════════
   The card's top edge sits on the pill's centre line, as the home
   hero's does (.scene--first's own margin is outranked by v16's card
   margin, so it is restated here by id, as the long page did). */
@media (min-width: 781px) {
  #watch { margin-top: calc(var(--nav-pad) + (var(--pill-h) / 2)); }
}

/* Large title, large subtitle (v8's pattern, app.css .h1__b). Her
   subtitle is two short sentences, longer than the home page's, so it
   may wrap (app.css holds .h1__b to one line from 900px), and it
   breaks between the two sentences rather than wherever it runs out. */
#watch .h1 { margin-bottom: 1.4rem; }
#watch .h1__a { text-wrap: balance; }
#watch .h1__b { white-space: normal; color: var(--on-d); }
.h1__b .br { display: block; }
#watch .plain { margin-bottom: 1.8rem; text-wrap: pretty; }
#watch .fine { text-shadow: none; }

/* ── wide: the words on the forest, she walks clear of them ──────
   forest-edge.jpg puts her at the centre of the frame (49% across).
   The card is a room, as the home hero is (80svh). Cover trims the
   photograph's sides when the card is narrower than 16:9; a 20%
   anchor trims mostly from the forest side, which moves her right,
   clear of the column: from 1100 to 1920 the words end 52 to 137px
   short of her, and the button is on the first screen (measured
   13 Oct 2026 at 1100, 1180, 1280, 1366, 1440, 1536 and 1920). */
@media (min-width: 1100px) {
  #watch { min-height: 80svh; }
  #watch .scene__box { width: min(30rem, 100%); }
  #watch .scene__img { object-position: 20% 50%; }
  /* the home recipe, lighter past the words: full weight under the type
     (0 to 32%), gone by 52%, before her; a short, light foot */
  #watch .scene__veil {
    background:
      linear-gradient(82deg,  rgba(var(--u),.74) 0%,  rgba(var(--u),.66) 20%,
                              rgba(var(--u),.46) 32%, rgba(var(--u),.20) 40%,
                              rgba(var(--u),.05) 47%, rgba(var(--u),0) 52%),
      linear-gradient(0deg,   rgba(var(--u),.38) 0%,  rgba(var(--u),.12) 16%,
                              rgba(var(--u),0) 30%),
      linear-gradient(180deg, rgba(var(--u),.26) 0%,  rgba(var(--u),0) 16%);
  }
  /* the plate stops just past the column, short of her */
  #watch .scene__box::before { inset: -12rem -2rem -12rem -16rem; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  #watch .scene__box { width: min(28rem, 100%); }
}

/* ── narrow: banner, then the words ─────────────────────────────
   Below 1100px a tall card trims her out of the middle of the frame or
   puts the words over her, so the hero stacks the way app.css's phone
   hero does (PHONE · THE HERO SPLITS): the photograph is a banner with
   nothing laid over it, the words sit under it on the card's own umber.
   16:9 keeps the whole frame; phones take a shorter banner, so the
   button lands on the first screen. */
@media (max-width: 1099px) {
  #watch {
    display: block; min-height: 0;
    padding: calc(var(--pill-h) / 2 + 1rem) 0 clamp(1.6rem, 5vw, 2.75rem);
    background: rgb(var(--u));
  }
  #watch > picture { display: block; }
  #watch .scene__img {
    position: static; z-index: auto;
    width: 100%; height: auto; aspect-ratio: 16 / 9;
    object-position: 50% 50%; border-radius: 0;
  }
  #watch .scene__veil, #watch .scene__box::before { display: none; }
  #watch .scene__box { width: 100%; max-width: 40rem; padding: clamp(1.6rem, 5vw, 2.75rem) clamp(1.25rem, 6vw, 3.5rem) 0; }
}
/* phones: the card starts at the gutter, not the pill's centre, so the
   banner clears the pill the way app.css's phone hero does. --pill-h is
   58px here but the pill measures 63px, so it takes 1.2rem, not .7rem. */
@media (max-width: 780px) {
  #watch { padding-top: calc(var(--pill-h) / 2 + var(--nav-pad) + 1.2rem); }
  #watch .scene__img { aspect-ratio: 2 / 1; }
  #watch .scene__box { padding-top: 1.35rem; }
  #watch .eyebrow { margin-bottom: 1rem; }
  #watch .h1 { font-size: clamp(2.15rem, 9.4vw, 2.6rem); margin-bottom: 1rem; }
  #watch .h1__b { font-size: .56em; }   /* .46em is under 17px here; the subtitle should still read as one */
  #watch .plain { line-height: 1.6; margin-bottom: 1.4rem; }
}


/* ═══ 2 · THE REFRAME, in its own band ═════════════════════════
   The chapter's cream as breathing space after the dark card. Short
   bottom padding: the inset below brings its own. The measure holds
   "Not ten separate problems." on one line from ~760px up. */
.quote { padding-block: clamp(4rem, 8vw, 6.5rem) clamp(.5rem, 2vw, 1.5rem); text-align: center; }
.quote__geo { width: 2.5rem; height: 2.5rem; margin: 0 auto 1.4rem; }
.quote__line {
  margin: 0 auto; max-width: 40rem;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--teal-d);
}
.quote__line .h2__b { margin-top: .5em; font-size: .56em; }


/* ═══ 3 · IN THIS TRAINING ═════════════════════════════════════
   porch-laptop.jpg is 3:2 and wants to stay whole: its tray takes the
   picture's own shape instead of app.css's 4:5 portrait frame. */
#learn .inset__fig img { aspect-ratio: 3 / 2; object-position: 50% 50%; }

/* her three points as stations on one fine gold line */
.learn { list-style: none; position: relative; display: grid; gap: 1.55rem; margin: 2rem 0 0; padding: 0; }
.learn::before { content: ""; position: absolute; left: 4px; top: .6rem; bottom: .9rem; width: 1px; background: var(--gold); }
.learn__i { position: relative; padding-left: 2rem; }
.learn__i::before {
  content: ""; position: absolute; left: 0; top: .42rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--gold);
}
.learn__n { display: block; margin-bottom: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--gold-t); font-variant-numeric: tabular-nums; }
.learn__t { font-family: var(--disp); font-weight: 400; font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.25; color: var(--teal-d); margin-bottom: .35rem; text-wrap: balance; }
.learn__d { font-size: .98rem; line-height: 1.62; color: var(--ink-2); max-width: 40ch; }


/* ═══ 4 · KAILA ════════════════════════════════════════════════
   hair-down.jpg is 2:3 in the 4:5 tray, her face high in the frame,
   so the crop keeps the top. The photograph's column is a little
   narrower than the words', as the home page's portrait is. */
#guide .inset__fig img { object-position: 50% 18%; }
@media (min-width: 900px) {
  #guide .inset__in { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
}
.credit { margin-top: 1.5rem; font-size: .96rem; line-height: 1.6; color: var(--gold-t); }
.credit cite { font-style: italic; }


/* ═══ 5 · THE CLOSE ════════════════════════════════════════════
   A light photographic card. She is in the right third of
   aspen-walk.jpg and its left half is soft gold, so a cream veil
   carries the words there and is gone before her shoulder. */
#close {
  min-height: clamp(30rem, 44vw, 42rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background: var(--cream);
}
#close .scene__img { object-position: 72% 40%; }
#close .scene__veil {
  background: linear-gradient(90deg,
    var(--cream) 0%, rgba(251,246,238,.98) 20%,
    rgba(251,246,238,.93) 34%, rgba(251,246,238,.80) 43%,
    rgba(251,246,238,.46) 52%, rgba(251,246,238,.12) 60%,
    rgba(251,246,238,0) 66%);
}
#close .scene__box { width: min(36rem, 48%); justify-self: start; }
#close .scene__box::before { display: none; }
#close .h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  line-height: 1.13; letter-spacing: -.022em;
  margin-bottom: 1.9rem;
}
#close .h2__b { margin-top: .4em; }
.close__mark { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--gold); }
.close__mark .geo { width: 2.6rem; height: 2.6rem; }
.close__mark span { width: 4rem; height: 1px; background: currentColor; }
#close .acts { margin: 0; }
#close .fine { margin-top: 1.1rem; }

/* tablets: the column takes most of the card, so the veil covers it all */
@media (min-width: 781px) and (max-width: 1099px) {
  #close .scene__box { width: min(36rem, 62%); }
  #close .scene__veil {
    background: linear-gradient(90deg,
      var(--cream) 0%, rgba(251,246,238,.97) 40%,
      rgba(251,246,238,.86) 56%, rgba(251,246,238,.4) 70%, rgba(251,246,238,0) 80%);
  }
}
/* phones: photograph above, words below, one card */
@media (max-width: 780px) {
  #close { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  #close > picture { display: block; width: 100%; }
  #close .scene__img {
    position: static; z-index: auto; width: 100%; height: auto;
    aspect-ratio: 4 / 3; object-fit: cover; object-position: 80% 40%;
    border-radius: 0;
  }
  #close .scene__veil { display: none; }
  #close .scene__box { width: 100%; padding: clamp(1.65rem, 6vw, 2.6rem); }
  #close .h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .close__mark { margin-bottom: 1.1rem; }
  .close__mark .geo { width: 2.15rem; height: 2.15rem; }
}
