/* DAMN GOOD INTERIORS — DGI Lab v3. Every Lab page (tools/build-lab.mjs), loaded after style.css.
   Ported 2026-10-14 from the click-through prototype Eli signed off on his Mac
   (~/dgi-lab-preview/_v3-prototype/css/lab-v3.css). Figma "DGI Lab — Skill Library layout":
   13:601 (/lab), 18:1125 + 19:1146 (skill page), 51:1161 (START HERE), 53:1181 (panel).
   Replaces css/lab.css and css/lab-members.css (the v2 pages and the portal-style members shell).
   Type spacing follows the standard in CONTEXT.md: Tusker 1.107 and -2px at 48+,
   Inter 18/30 16/26 15/24 14/22 at 0.3px, N27 2px (eyebrows 3-4px). */

:root { --wrap: 1280px; --gutter: 80px; }

body.lab-v3 { background: var(--ivory); }

/* ── shared type ───────────────────────────────────────────── */
.v3-h2 {
  font-family: var(--font-headline); font-weight: 700; text-transform: uppercase;
  font-size: 65px; line-height: 72px; letter-spacing: -2px; color: var(--eggplant);
}
.v3-intro { font-size: 17px; line-height: 28px; letter-spacing: 0.3px; color: var(--eggplant); max-width: 900px; }
.pink { color: var(--hot-pink); }
.ivory { color: var(--ivory); }
.white { color: #fff; }

.v3-btn {
  font-family: var(--font-label); font-size: 17px; line-height: 1; letter-spacing: 2px; text-transform: uppercase;
  color: var(--eggplant); background: var(--hot-pink);
  border: 2px solid var(--eggplant); box-shadow: -6px 6px 0 var(--eggplant);
  padding: 15px 24px; display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; min-height: 51px; transition: box-shadow .15s, transform .15s;
}
.v3-btn:hover { box-shadow: -3px 3px 0 var(--eggplant); transform: translate(-3px, 3px); }
.v3-btn--ivory-shadow { box-shadow: -6px 6px 0 var(--ivory); }
.v3-btn--ivory-shadow:hover { box-shadow: -3px 3px 0 var(--ivory); }

.v3-draft {
  display: inline-block; background: var(--golden-yellow); color: var(--eggplant);
  font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 0.25px; padding: 2px 5px;
}

/* ── hero (the Lab bar sits above it; no overlay nav, Eli 2026-10-14 13:59) ── */
.v3-hero { position: relative; height: 754px; color: var(--ivory); overflow: visible; }
.v3-hero .hero__bg img { object-position: center 40%; }
.v3-hero__content {
  position: absolute; z-index: 2; left: 50%; top: 215px; transform: translateX(-50%);
  width: min(700px, calc(100% - 32px)); text-align: center;
  display: flex; flex-direction: column; gap: 24px; align-items: center;
}
.v3-hero__title {
  font-family: var(--font-headline); font-weight: 700; text-transform: uppercase;
  font-size: 86px; line-height: 95px; letter-spacing: -2px; color: var(--ivory);
}
.v3-hero__sub { font-size: 20px; line-height: 32px; letter-spacing: 0.3px; color: var(--ivory); }
.v3-hero__link {
  font-family: var(--font-label); font-size: 15px; line-height: 20px; letter-spacing: 4px; text-transform: uppercase;
  color: #fff; padding-top: 12px; border-bottom: 1px solid currentColor;
}
.v3-hero__link:hover { color: var(--hot-pink); }
.v3-hero .hero__vert { top: 450px; }
.v3-hero .hero__scroll { bottom: -41px; }

/* ── sticky Lab bar ────────────────────────────────────────── */
.lab-bar {
  position: sticky; top: 0; z-index: 120; height: 64px;
  background: var(--ivory); border-top: 1px solid var(--eggplant); border-bottom: 1px solid var(--eggplant);
  display: flex; align-items: center; gap: 28px; padding: 0 80px;
}
.lab-bar__burger { width: 28px; height: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.lab-bar__burger span { display: block; height: 2px; background: var(--eggplant); }
.lab-bar__logo img { width: 72px; height: 30px; }
.lab-bar__divider { width: 1px; height: 28px; background: var(--eggplant); }
.lab-bar__links { display: flex; gap: 28px; align-self: stretch; }
.lab-bar__links a {
  display: flex; align-items: center; padding-top: 3px; border-bottom: 3px solid transparent;
  font-family: var(--font-label); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--eggplant);
}
.lab-bar__links a:hover { color: var(--hot-pink); }
.lab-bar__links a.is-active { border-bottom-color: var(--hot-pink); }
.lab-bar__spacer { flex: 1; }
.lab-bar .v3-btn { font-size: 14px; min-height: 40px; padding: 11px 18px; box-shadow: -4px 4px 0 var(--eggplant); }
.lab-bar__end { display: flex; align-items: center; gap: 24px; }
.lab-bar__signout {
  font-family: var(--font-label); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--eggplant); background: none; border: 0; padding: 4px 0; cursor: pointer;
  border-bottom: 1px solid currentColor;
}
.lab-bar__signout:hover, .lab-bar__signout:focus-visible { color: var(--hot-pink); }
.lab-bar__signout[hidden] { display: none; }
.lab-bar[data-show-join="false"] .lab-bar__join { display: none; }
/* An unlocked member on a skill page has nothing to join. */
body[data-lab-state="in"] .lab-bar__join { display: none; }
section[id] { scroll-margin-top: 64px; }

/* ── How it works (three buckets, B) ───────────────────────── */
.hiw__header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 120px var(--gutter) 64px;
}
.hiw__chip {
  display: inline-block; background: var(--eggplant); color: var(--ivory);
  font-family: var(--font-label); font-size: 13px; line-height: 18px; letter-spacing: 3px; text-transform: uppercase;
  padding: 10px 16px; margin-bottom: 24px;
}
.hiw__title {
  font-family: var(--font-headline); font-weight: 700; text-transform: uppercase;
  font-size: 96px; line-height: 106px; letter-spacing: -2px; color: var(--eggplant);
}
.hiw__cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.hiw__col {
  position: relative; overflow: hidden; min-height: 760px;
  padding: 150px 56px 96px; color: var(--ivory);
  background-size: cover; background-position: center top;
}
.hiw__col--pink { background-color: var(--hot-pink); }
.hiw__col--yellow { background-color: var(--golden-yellow); }
.hiw__col--teal { background-color: var(--turquoise); }
.hiw__col > * { position: relative; }
.hiw__col > .hiw__art { position: absolute; inset: 0; background-repeat: no-repeat; pointer-events: none; }
.hiw__num {
  font-family: var(--font-headline); font-weight: 700; font-size: 120px; line-height: 133px; letter-spacing: -2px;
  margin-bottom: 20px;
}
.hiw__rule { height: 2px; background: var(--ivory); }
.hiw__name {
  font-family: var(--font-headline); font-weight: 700; text-transform: uppercase;
  font-size: 56px; line-height: 62px; letter-spacing: -2px; margin: 16px 0;
}
.hiw__label {
  font-family: var(--font-label); font-size: 21px; line-height: 29px; letter-spacing: 2px; text-transform: uppercase;
  margin: 16px 0;
}
.hiw__body { font-size: 21px; line-height: 35px; letter-spacing: 0.3px; margin-top: 20px; }

/* ── card sections ─────────────────────────────────────────── */
.v3-section { padding: 100px var(--gutter) 122px; }
.v3-section > * + * { margin-top: 22px; }
.v3-section--yellow { background: var(--golden-yellow); }
.v3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; margin-top: 22px !important; }
/* Square is the SMALLEST a card gets, never a cap (Eli 2026-10-17: wrapped values cut off "Book a session"
   and "How to use it"). An aspect-ratio box grows to fit its content only while overflow stays visible, so
   never put overflow: hidden back. The wrap is a flex column and the card fills it, so the cards in a row
   share the tallest one's height. The wrap is also the size container the title reads (below). */
.v3-card-wrap { position: relative; display: flex; flex-direction: column; container-type: inline-size; }
.v3-card {
  position: relative; aspect-ratio: 1 / 1; flex: 1 0 auto;
  background: #fff; border: 2px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant);
  padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 12px; color: var(--eggplant);
  transition: box-shadow .15s, transform .15s;
}
a.v3-card:hover { box-shadow: -4px 4px 0 var(--eggplant); transform: translate(-4px, 4px); }
.v3-card__kicker { font-family: var(--font-label); font-size: 12px; line-height: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--hot-pink); }
/* 34px until the card is too narrow for its longest word: SUPERPOWERS is 301px at 34px, and the text box is
   the card width less 52px (borders + padding), so 34 / 301 = 0.112 px of type per px of box. A longer title
   word needs a smaller factor. The first font-size is the fallback where container units are unsupported. */
.v3-card__name { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 34px; font-size: min(34px, calc((100cqi - 52px) * 0.112)); line-height: 1.12; letter-spacing: 0; }
.v3-card__desc { font-size: 16px; line-height: 26px; letter-spacing: 0.3px; }
.v3-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; }
.v3-card__label { font-family: var(--font-label); font-size: 11px; line-height: 15px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 3px; }
.v3-card__value { font-size: 14px; line-height: 22px; letter-spacing: 0.3px; }
.v3-card__value .v3-draft, .v3-card__value .lab-draft { font-size: 11.2px; line-height: 22px; letter-spacing: 0.22px; }
.v3-card__push { flex: 1; }
.v3-card__foot { display: flex; align-items: center; gap: 10px; }
.v3-card__link { font-family: var(--font-label); font-size: 14px; line-height: 26px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.v3-tag { background: var(--eggplant); color: var(--ivory); font-family: var(--font-label); font-size: 10px; line-height: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 7px; }
.v3-card__why { background: var(--ivory); padding: 10px 12px; }
.v3-card__why p:first-child { font-family: var(--font-label); font-size: 11px; line-height: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--hot-pink); margin-bottom: 4px; }
.v3-card__why p + p { font-size: 15px; line-height: 24px; letter-spacing: 0.3px; }
.v3-card__note { font-size: 13px; line-height: 21px; letter-spacing: 0.3px; }
.v3-card__note b { font-weight: 600; }
.v3-card__arrow { color: var(--hot-pink); font-size: 15px; }
.v3-card-wrap > .v3-draft { position: absolute; left: 12px; bottom: 10px; z-index: 2; }

/* ── Learn With Me ─────────────────────────────────────────── */
.lwm { position: relative; background: var(--eggplant); padding: 155px var(--gutter) 217px; overflow: hidden; }
.lwm__tex, .band__tex { position: absolute; inset: 0; opacity: .2; background-size: cover; background-position: center; pointer-events: none; }
.lwm > :not(.lwm__tex) { position: relative; }
.lwm .v3-intro { color: var(--peach); font-size: 18px; line-height: 30px; }
.lwm .v3-cards { padding: 12px 0 0 8px; }
.v3-card--offer { background: var(--ivory); box-shadow: -8px 8px 0 var(--hot-pink); }
.v3-card__price { font-family: var(--font-headline); font-weight: 700; font-size: 64px; line-height: 69px; color: var(--hot-pink); }
.v3-card .v3-btn { font-size: 17px; }
.lwm__custom { font-family: var(--font-label); font-size: 15px; line-height: 20px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--peach); margin-top: 44px !important; }
.sprint { margin-left: 8px; background: var(--ivory); border: 2px solid var(--eggplant); box-shadow: -8px 8px 0 var(--hot-pink); color: var(--eggplant); }
.sprint__head { padding: 26px 24px 20px; }
.sprint__head p { font-family: var(--font-label); font-size: 12px; line-height: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--hot-pink); margin-bottom: 8px; }
.sprint__head h3 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 40px; line-height: 44px; }
.sprint__row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 12px 24px; align-items: baseline; }
.sprint__row:nth-child(odd) { background: var(--peach); }
.sprint__row span:first-child { font-family: var(--font-label); font-size: 13px; line-height: 22px; letter-spacing: 1.5px; text-transform: uppercase; }
.sprint__row span + span { font-size: 15px; line-height: 24px; letter-spacing: 0.3px; }

/* ── pink band (sits over the bottom of Learn With Me, -62px) ── */
.band-wrap { padding: 0 40px; margin-top: -62px; position: relative; z-index: 1; }
.band { position: relative; background: var(--hot-pink); padding: 116px 60px; text-align: center; overflow: hidden; }
.band > :not(.band__tex) { position: relative; }
.band__eyebrow { font-family: var(--font-label); font-size: 22px; line-height: 68px; letter-spacing: 3px; text-transform: uppercase; color: var(--eggplant); }
.band__title { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 65px; line-height: 72px; letter-spacing: -2px; color: var(--ivory); max-width: 800px; margin: 9px auto 0; }
.band .v3-btn { margin-top: 29px; }

/* ── detail page ───────────────────────────────────────────── */
.dt-top { padding: 56px var(--gutter) 80px; }
.dt-crumbs { font-family: var(--font-label); font-size: 13px; line-height: 18px; letter-spacing: 4px; text-transform: uppercase; color: var(--eggplant); opacity: .7; }
.dt-crumbs a:hover { color: var(--hot-pink); opacity: 1; }
.dt-cols { display: grid; grid-template-columns: 667fr 549fr; gap: 64px; margin-top: 40px; }
.dt-kicker { font-family: var(--font-label); font-size: 12px; line-height: 16px; letter-spacing: 6px; text-transform: uppercase; color: var(--hot-pink); }
.dt-title { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 96px; line-height: 106px; letter-spacing: -2px; color: var(--eggplant); margin-top: 20px; }
.dt-lead { font-size: 22px; line-height: 36px; letter-spacing: 0.3px; margin-top: 20px; }
.dt-body { font-size: 17px; line-height: 28px; letter-spacing: 0.3px; margin-top: 20px; }
.dt-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.dt-fact { background: #fff; border: 2px solid var(--eggplant); box-shadow: -6px 6px 0 var(--eggplant); padding: 16px 18px; }
.dt-fact p:first-child { font-family: var(--font-label); font-size: 11px; line-height: 15px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 8px; }
.dt-fact p + p { font-size: 15px; line-height: 24px; letter-spacing: 0.3px; }
.dt-fact p + p + p { margin-top: 8px; }
.dt-sample .dt-kicker { margin-bottom: 16px; }
.thumb { background: #fff; border: 2px solid var(--eggplant); box-shadow: -8px 8px 0 var(--hot-pink); padding: 14px; }
.thumb--big { height: 300px; background: #f6efe5; }
.thumb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.thumb--small { height: 150px; }
.thumb i { display: block; background: #2a2a2a; height: 12px; margin-bottom: 8px; }
.thumb i.l { background: #ddd; height: 6px; }
.thumb i.g { background: #5c9c5c; width: 30px; height: 6px; display: inline-block; margin-right: 6px; }
.thumb i.k { width: 60%; height: 22px; }
.dt-caption { font-size: 14px; line-height: 22px; letter-spacing: 0.3px; margin-top: 16px; }
.dt-divider {
  background: var(--eggplant); color: var(--ivory); padding: 18px var(--gutter); display: flex; gap: 16px; align-items: center;
  font-family: var(--font-label); font-size: 13px; line-height: 18px; letter-spacing: 5px; text-transform: uppercase;
}
.dt-lock { width: 18px; height: 22px; flex: none; }

/* non-member: ghost + join panel */
.dt-locked { position: relative; padding: 48px var(--gutter); min-height: 640px; }
.dt-ghost { opacity: .18; display: grid; grid-template-columns: 1fr 420px; gap: 60px; filter: blur(1.5px); }
.dt-ghost i { display: block; background: var(--eggplant); }
.dt-join {
  position: absolute; left: 50%; top: 70px; transform: translateX(-50%); width: min(640px, calc(100% - 32px));
  background: var(--eggplant); color: var(--ivory); border: 2px solid var(--eggplant); box-shadow: -12px 12px 0 var(--hot-pink);
  padding: 40px 44px; display: flex; flex-direction: column; gap: 18px;
}
.dt-join__kicker { font-family: var(--font-label); font-size: 12px; line-height: 16px; letter-spacing: 6px; text-transform: uppercase; color: var(--hot-pink); }
.dt-join h2 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 48px; line-height: 53px; letter-spacing: -2px; }
.dt-join ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dt-join li { display: flex; gap: 12px; font-size: 16px; line-height: 26px; letter-spacing: 0.3px; }
.dt-join li::before { content: "+"; font-family: var(--font-headline); font-size: 20px; line-height: 26px; color: var(--hot-pink); }
.dt-join__cta { display: flex; gap: 24px; align-items: center; padding: 10px 0 0 6px; }
.dt-join__small { font-size: 14px; line-height: 22px; letter-spacing: 0.3px; opacity: .85; }
.dt-join__small a { text-decoration: underline; text-underline-offset: 3px; }
.dt-join__small a:hover { color: var(--hot-pink); }

/* member: how-to */
.dt-howto { padding: 56px var(--gutter) 120px; }
.dt-howto__title { display: flex; align-items: center; gap: 16px; }
.dt-howto__title h2 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 64px; line-height: 71px; letter-spacing: -2px; }
.dt-howto__grid { display: grid; grid-template-columns: 1fr 480px; gap: 64px; margin-top: 32px; align-items: start; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; margin-bottom: 36px; }
.step .step__n { font-family: var(--font-headline); font-weight: 700; font-size: 72px; line-height: 72px; color: var(--hot-pink); text-align: center; }
.step h3 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 29px; letter-spacing: 0; }
.step div p { font-size: 16px; line-height: 26px; letter-spacing: 0.3px; margin-top: 4px; }
.dt-jump { font-family: var(--font-label); font-size: 13px; line-height: 20px; letter-spacing: 3px; text-transform: uppercase; }
.dt-jump a { text-decoration: underline; text-underline-offset: 3px; }
.prompt { background: var(--eggplant); color: var(--ivory); box-shadow: -10px 10px 0 var(--hot-pink); padding: 28px 24px 32px; }
.prompt p:first-child { font-family: var(--font-label); font-size: 11px; line-height: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--hot-pink); }
.prompt__text { font-size: 19px; line-height: 31px; letter-spacing: 0.3px; margin: 18px 0 20px; }
.prompt .v3-btn { box-shadow: -6px 6px 0 var(--ivory); }
.prompt .v3-btn.is-done, .sh-prompt .v3-btn.is-done { background: var(--ivory); }
.dl { background: #fff; border: 2px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant); padding: 26px 24px; margin-top: 36px; }
.dl > p { font-family: var(--font-label); font-size: 11px; line-height: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--hot-pink); }
.dl__item { display: grid; grid-template-columns: 24px 1fr; gap: 12px; border-top: 1px solid var(--eggplant); padding: 14px 0 6px; margin-top: 14px; }
.dl__item svg { color: var(--hot-pink); margin-top: 18px; }
.dl__item b { font-family: var(--font-label); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: 3px; text-transform: uppercase; display: block; }
.dl__item span { font-size: 14px; line-height: 22px; letter-spacing: 0.3px; }
.check { background: var(--peach); padding: 24px; margin-top: 28px; }
.check > p { font-family: var(--font-label); font-size: 11px; line-height: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--hot-pink); margin-bottom: 8px; }
.check label { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 34px; letter-spacing: 0.3px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--hot-pink); }
.dt-more { padding: 0 var(--gutter) 120px; }
.dt-more h3 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 40px; line-height: 44px; margin: 48px 0 12px; }
.dt-more p { font-size: 16px; line-height: 26px; letter-spacing: 0.3px; max-width: 760px; }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .v3-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hiw__col { padding: 110px 32px 72px; }
  .hiw__num { font-size: 96px; line-height: 106px; }
  .hiw__name { font-size: 48px; line-height: 53px; }
  .dt-cols, .dt-howto__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .step h3 { font-size: 24px; line-height: 27px; }
  :root { --gutter: 16px; }
  .v3-hero { height: 640px; }
    .v3-hero__title { font-size: 64px; line-height: 71px; }
  .v3-hero__sub { font-size: 18px; line-height: 30px; }
  .v3-hero .hero__vert { display: none; }
  .hiw__header { flex-direction: column; align-items: flex-start; padding: 64px 16px 40px; }
  .hiw__title { font-size: 56px; line-height: 62px; }
  .hiw__cols { grid-template-columns: 1fr; }
  .hiw__col { min-height: 480px; padding: 56px 24px; }
  .hiw__label, .hiw__body { font-size: 18px; }
  .hiw__body { line-height: 30px; }
  .v3-h2 { font-size: 44px; line-height: 49px; }
  .v3-cards { grid-template-columns: 1fr; }
  .v3-card { aspect-ratio: auto; min-height: 340px; }
  .v3-section { padding: 64px 16px 80px; }
  .lwm { padding: 80px 16px 140px; }
  .sprint__row { grid-template-columns: 1fr; gap: 2px; }
  .band-wrap { padding: 0 16px; }
  .band { padding: 64px 20px; }
  .band__title { font-size: 44px; line-height: 49px; }
  .dt-title { font-size: 64px; line-height: 71px; }
  .dt-facts { grid-template-columns: 1fr; }
  .dt-ghost { grid-template-columns: 1fr; overflow: hidden; }
  .dt-join { position: relative; left: auto; top: auto; transform: none; margin: -560px auto 0; padding: 28px 24px; }
  .dt-howto__title h2 { font-size: 52px; line-height: 58px; }
}
.lab-bar__burger, .lab-bar__logo, .lab-bar__divider { flex: none; }

/* Phone (Figma 17:1064, 390): two rows. Row 1 burger + logo + Join, row 2 the tabs, scrolling sideways. */
@media (max-width: 760px) {
  .lab-bar {
    height: auto; padding: 0 16px; gap: 0 16px; overflow: visible;
    display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: 56px 36px; align-items: center;
  }
  .lab-bar__divider, .lab-bar__spacer { display: none; }
  .lab-bar__logo img { width: 62px; height: 26px; display: block; }
  .lab-bar__end { grid-column: 3; justify-self: end; gap: 16px; }
  .lab-bar__signout { font-size: 12px; }
  .lab-bar .v3-btn { font-size: 12px; letter-spacing: 1.5px; min-height: 36px; padding: 9px 14px; box-shadow: -3px 3px 0 var(--eggplant); }
  .lab-bar__links {
    grid-column: 1 / -1; grid-row: 2; height: 36px; gap: 20px;
    margin: 0 -16px; padding: 0 16px; overflow-x: auto; scrollbar-width: none;
  }
  .lab-bar__links::-webkit-scrollbar { display: none; }
  .lab-bar__links a { white-space: nowrap; font-size: 12px; letter-spacing: 1.5px; padding-top: 0; }
  section[id] { scroll-margin-top: 92px; }
}

/* ── START HERE (Figma 51:1161, final 2026-10-14) ──────────── */
.hiw__go { display: inline-block; margin-top: 24px; font-family: var(--font-label); font-size: 15px; line-height: 20px; letter-spacing: 2px; text-transform: uppercase; color: var(--eggplant); border-bottom: 1px solid currentColor; }
.hiw__go:hover { color: var(--ivory); }  /* Eli 2026-10-16: eggplant link on the yellow step, ivory on hover */
.sh { color: var(--eggplant); }
.sh-label { font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; }
.sh-h2 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 72px; line-height: 80px; letter-spacing: -2px; }
.sh-h2 .v3-draft { vertical-align: middle; letter-spacing: .25px; }
.sh-sec { position: relative; padding: 120px var(--gutter) 128px; }
/* arrows straddle the section edge, centred on the page */
.sh-arrow { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); z-index: 5; width: 88px; height: 97px; pointer-events: none; }

.sh-hero { display: grid; grid-template-columns: 820fr 620fr; min-height: 829px; }
.sh-hero__text { padding: 64px 72px 88px var(--gutter); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.sh-hero__text .hiw__chip { margin: 0; }
.sh-crumbs { font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; }
.sh-crumbs a:hover { color: var(--hot-pink); }
.sh-h1 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 88px; line-height: 97px; letter-spacing: -2px; max-width: 676px; }
.sh-lead { font-size: 18px; line-height: 30px; letter-spacing: .3px; max-width: 600px; }
.sh-hero__panel { background-color: var(--golden-yellow); background-size: cover; background-position: center; padding: 64px; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.sh-hero__panel hr { border: 0; height: 1px; background: var(--eggplant); margin: 0; }
.sh-hero__num { font-family: var(--font-headline); font-weight: 700; font-size: 240px; line-height: 260px; letter-spacing: -2px; }
.sh-hero__name { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 72px; line-height: 80px; letter-spacing: -2px; }
.sh-hero__meta { font-size: 15px; line-height: 21px; }

.sh-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--eggplant); align-items: start; }
.sh-strip__cell { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 32px; }
.sh-strip__cell > span:first-child { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 32px; line-height: 35px; white-space: pre; }
.sh-strip__cell .sh-label { letter-spacing: 3px; }
.sh-strip__cell--pink { background: var(--hot-pink); }
.sh-strip__cell--yellow { background: var(--golden-yellow); }
.sh-strip__cell--teal { background: var(--turquoise); }
.sh-strip__cell.is-here { border-bottom: 6px solid var(--eggplant); }
a.sh-strip__cell:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }

.sh-files { padding-bottom: 120px; }
.sh-files .sh-label { font-size: 13px; line-height: 18px; letter-spacing: 3px; margin-bottom: 16px; }
.sh-files__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.sh-file { background: #fff; border: 1px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant); padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 20px; }
.sh-file h3 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 36px; line-height: 40px; overflow-wrap: anywhere; }
.sh-file hr { border: 0; height: 1px; background: var(--eggplant); margin: 0; }
.sh-file p:last-child { font-size: 16px; line-height: 26px; letter-spacing: .3px; }

.sh-before { background: var(--golden-yellow); display: flex; flex-direction: column; gap: 32px; }
.sh-before__head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 8px; }
.sh-before__head .sh-label { font-size: 13px; line-height: 18px; letter-spacing: 3px; width: 505px; }
.sh-step { display: grid; grid-template-columns: 100px 560px 1fr; gap: 32px; padding: 32px; background: var(--ivory); border: 1px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant); }
.sh-num { font-family: var(--font-headline); font-weight: 700; font-size: 72px; line-height: 80px; color: var(--hot-pink); }
.sh-step__text { font-size: 18px; line-height: 30px; letter-spacing: .3px; }
.sh-star { color: var(--hot-pink); }
.sh-why { background: var(--peach); padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.sh-why p:not(.sh-label) { font-size: 15px; line-height: 24px; letter-spacing: .3px; }
.sh-why b { font-weight: 600; }

.sh-run { background: var(--ivory); display: grid; grid-template-columns: 560px 1fr; gap: 80px; align-items: start; }
.sh-run__left .sh-h2 { margin-bottom: 32px; white-space: nowrap; }
.sh-run__row { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--eggplant); }
.sh-run__n { font-family: var(--font-headline); font-weight: 700; font-size: 56px; line-height: 62px; color: var(--hot-pink); }
.sh-run__row p:last-child { font-size: 18px; line-height: 30px; letter-spacing: .3px; }
.sh-note { background: var(--golden-yellow); padding: 22px 24px 24px; margin: 8px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.sh-note p:last-child { font-size: 16px; line-height: 26px; letter-spacing: .3px; }
.sh-prompt { background: var(--ivory); border: 1px solid var(--eggplant); box-shadow: -8px 8px 0 var(--hot-pink); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.sh-prompt__head { display: flex; justify-content: space-between; gap: 16px; }
.sh-prompt__preview { position: relative; max-height: 312px; overflow: hidden; }
.sh-prompt__preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to bottom, rgba(255,252,235,0), var(--ivory)); }
.sh-prompt.is-open .sh-prompt__preview { max-height: none; }
.sh-prompt.is-open .sh-prompt__preview::after { display: none; }
.sh-prompt pre { font-family: var(--font-body); white-space: pre-wrap; font-size: 15px; line-height: 24px; letter-spacing: .3px; margin: 0; }
.sh-prompt__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-left: 6px; }
.sh-link { font-family: var(--font-label); font-size: 13px; line-height: 18px; letter-spacing: 2px; text-transform: uppercase; color: var(--eggplant); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.sh-link:hover { color: var(--hot-pink); }

.sh-next { background: var(--turquoise); display: grid; grid-template-columns: 560px 1fr; gap: 80px; padding-top: 112px; }
.sh-next__img { position: absolute; inset: 0 auto 0 0; width: 804px; overflow: hidden; pointer-events: none; }
/* whats-next-halftone.jpg: david.png, cropped like Figma 52:1250, mirrored, 75% over turquoise (baked in). */
.sh-next__img div { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sh-next > :not(.sh-next__img):not(.sh-arrow) { position: relative; }
.sh-next__left { display: flex; flex-direction: column; gap: 16px; }
.sh-next__left .sh-label { font-size: 15px; line-height: 21px; }
.sh-next__title { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 120px; line-height: 133px; letter-spacing: -2px; }
.sh-next__right { padding-top: 40px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.sh-next__right p { font-size: 21px; line-height: 35px; letter-spacing: .3px; max-width: 640px; }
.sh-btn-ivory { background: var(--ivory); margin-left: 6px; }
.sh-stuck { padding-bottom: 155px; }
/* Figma 58:1234: one column, 22px between H2, intro, cards (34px top pad) and the custom line. */
.sh-stuck .v3-h2 { margin: 0; }
.sh-stuck .v3-intro { margin-top: 22px; }
.sh-stuck .v3-cards { margin-top: 22px; padding-top: 34px; }
.sh-stuck .lwm__custom { margin-top: 22px !important; }
.sh-stuck .v3-card { min-height: 408px; }

@media (max-width: 1100px) {
  .sh-hero, .sh-run, .sh-next { grid-template-columns: 1fr; }
  .sh-hero__panel { min-height: 520px; }
  .sh-step { grid-template-columns: 100px 1fr; }
  .sh-step > div { grid-column: 2; }
  .sh-files__row { grid-template-columns: 1fr; }
  .sh-next__img { width: 100%; }
}
@media (max-width: 760px) {
  .sh-run__left .sh-h2 { white-space: normal; }
  .sh-sec { padding: 72px 16px 88px; }
  .sh-hero__text { padding: 40px 16px 56px; }
  .sh-h1 { font-size: 56px; line-height: 62px; }
  .sh-h2 { font-size: 48px; line-height: 53px; }
  .sh-hero__num { font-size: 160px; line-height: 174px; }
  .sh-hero__name { font-size: 52px; line-height: 58px; }
  .sh-file h3 { font-size: 30px; line-height: 34px; overflow-wrap: normal; }
  .sh-hero__panel { padding: 40px 24px; min-height: 420px; }
  .sh-strip { grid-template-columns: 1fr; }
  .sh-strip__cell { padding: 16px; }
  .sh-strip__cell > span:first-child { font-size: 26px; line-height: 29px; }
  .sh-before__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sh-before__head .sh-label { width: auto; }
  .sh-step { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .sh-step > div { grid-column: auto; }
  .sh-num { font-size: 56px; line-height: 62px; }
  .sh-run { gap: 48px; }
  .sh-prompt { padding: 24px 20px; }
  .sh-prompt__head { flex-direction: column; gap: 4px; }
  .sh-next__title { font-size: 72px; line-height: 80px; }
  .sh-next { gap: 16px; }
  .sh-next__right { padding-top: 0; }
  .sh-arrow { width: 64px; height: 71px; }
}

/* Stuck + Learn With Me: Figma 58:1233 / 13:657 = eggplant + the lines image (lwm-lines.png) at 20%, cover.
   Step 02 panel: step-2-panel-v2.jpg (Eli 2026-10-17) = the /lab card's step-2-puppy-v2.png, black at 25% over
   #FFC412, scaled 1.39x at (-496, 88) on a 1240x1658 canvas: the size and place of the Figma 51:1184 dog it replaced. */

/* ── JOIN / SIGN-IN PANEL (Figma 53:1181, in context 53:1335) ──
   520 wide eggplant panel, pink -10/10 shadow, over a 66% eggplant scrim.
   Phone: a bottom sheet, full width, no shadow, grabber. Type: Tusker 56/62 -2px,
   Inter 16/26 and 14/22 at 0.3px, N27 12/17 2px (eyebrow 3px). */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Above the cookie bar (js/analytics.js, z-index 9999): on a phone the bar covered the panel's
   Send my code button. The bar is back when the panel closes. */
.jp { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.jp[hidden] { display: none; }
.jp__scrim { position: absolute; inset: 0; background: rgba(82, 0, 38, .66); }
.jp__panel {
  position: relative; width: 520px; max-width: 100%; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--eggplant); color: var(--ivory); box-shadow: -10px 10px 0 var(--hot-pink);
  padding: 44px 48px; overscroll-behavior: contain;
}
.jp__grabber { display: none; }
.jp .lab-gate__step { display: flex; flex-direction: column; gap: 24px; align-items: stretch; }
.jp .lab-gate__step[hidden] { display: none; }
.jp__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.jp__eyebrow { font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 3px; text-transform: uppercase; color: var(--hot-pink); margin: 0; }
.jp__close { font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.jp__close:hover { color: var(--hot-pink); }
.jp__title { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 56px; line-height: 62px; letter-spacing: -2px; color: var(--ivory); margin: 0; overflow-wrap: anywhere; }
.jp__lead { font-size: 16px; line-height: 26px; letter-spacing: .3px; color: var(--ivory); margin: 0; overflow-wrap: anywhere; }
.jp__hint { font-size: 14px; line-height: 22px; letter-spacing: .3px; color: var(--ivory); margin: 0; }
.jp__hint[hidden] { display: none; }
.jp__msg { background: var(--hot-pink); color: var(--eggplant); font-size: 14px; line-height: 22px; letter-spacing: .3px; padding: 10px 14px; margin: 0; }
.jp__msg:empty { display: none; }
.jp__btn { width: 100%; font-size: 17px; line-height: 17px; }
.jp__btn--ivory { background: var(--ivory); }
.jp__fine { font-size: 13px; line-height: 19px; color: var(--ivory); margin: -6px 0 0; }
.jp__fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.jp__btn:disabled, .jp .is-busy .jp__btn { opacity: .6; cursor: progress; }
.jp__alt { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; }
.jp__link { font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.jp__link:hover { color: var(--hot-pink); }
.jp__link:disabled { opacity: .45; cursor: default; color: var(--ivory); }

.jp-field { display: flex; flex-direction: column; gap: 8px; }
.jp-field__label { font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); }
.jp-field__input {
  width: 100%; background: var(--ivory); color: var(--eggplant); border: 0; border-radius: 0;
  font-family: var(--font-body); font-size: 18px; line-height: 30px; letter-spacing: .3px; padding: 15px 18px; margin: 0;
}
.jp-field__input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--hot-pink); }

.jp-consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 22px; letter-spacing: .3px; color: var(--ivory); cursor: pointer; }
.jp-consent input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--ivory); background: transparent; border-radius: 0; cursor: pointer; }
.jp-consent input:checked { background: var(--hot-pink); }
.jp-consent input:focus-visible { outline: 2px solid var(--hot-pink); outline-offset: 2px; }
.jp-consent a { color: var(--ivory); text-decoration: underline; text-underline-offset: 2px; }

/* Six boxes on screen, ONE input underneath (autocomplete one-time-code; paste fills all six). */
.jp-code { position: relative; display: block; }
.jp-code__input {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0;
  font-size: 16px; color: transparent; background: transparent; caret-color: transparent; z-index: 1; cursor: text;
}
.jp-code__boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.jp-code__boxes span {
  height: 72px; background: var(--ivory); color: var(--eggplant); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headline); font-weight: 700; font-size: 44px; line-height: 48px;
}
.jp-code.is-focus .jp-code__boxes span.is-next { box-shadow: inset 0 0 0 3px var(--hot-pink); }

.jp-price { display: flex; align-items: flex-end; gap: 16px; }
.jp-price__amt { font-family: var(--font-headline); font-weight: 700; font-size: 88px; line-height: 97px; letter-spacing: -2px; color: var(--hot-pink); margin: 0; }
.jp-price__note { font-family: var(--font-label); font-size: 13px; line-height: 18px; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); margin: 0 0 0; }
.jp-includes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.jp-includes li { position: relative; padding-left: 24px; font-size: 16px; line-height: 26px; letter-spacing: .3px; color: var(--ivory); }
.jp-includes li::before { content: '+'; position: absolute; left: 0; top: 1px; font-family: var(--font-headline); font-weight: 700; font-size: 20px; line-height: 24px; color: var(--hot-pink); }

.jp-coupon { border-top: 1px solid var(--ivory); padding-top: 18px; }
.jp-coupon summary { list-style: none; cursor: pointer; font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); }
.jp-coupon summary::-webkit-details-marker { display: none; }
.jp-coupon summary::before { content: '+'; display: inline-block; width: 1.5em; }
.jp-coupon[open] summary::before { content: '–'; }
.jp-coupon form, .jp-coupon__body { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.jp-coupon--inline { border-top: 0; padding-top: 0; }
.jp-coupon summary:focus-visible { outline: 2px solid var(--hot-pink); outline-offset: 4px; }

.jp-progress { height: 6px; background: rgba(255, 252, 235, .3); overflow: hidden; }
.jp-progress span { display: block; height: 100%; width: 59%; background: var(--hot-pink); animation: jp-progress 1.6s ease-in-out infinite alternate; }
@keyframes jp-progress { from { transform: translateX(-60%); } to { transform: translateX(70%); } }
@media (prefers-reduced-motion: reduce) { .jp-progress span { animation: none; } }

body.jp-open { overflow: hidden; }

@media (max-width: 600px) {
  .jp { align-items: flex-end; padding: 0; }
  .jp__panel { width: 100%; max-height: calc(100vh - 56px); box-shadow: none; padding: 32px 24px 40px; }
  .jp__grabber { display: block; position: absolute; top: 12px; left: 50%; width: 40px; height: 4px; margin-left: -20px; background: rgba(255, 252, 235, .4); }
  .jp-code__boxes { gap: 8px; }
  .jp-code__boxes span { height: 60px; font-size: 38px; }
  /* Smaller headline so the button stays above the phone keyboard. */
  .jp__title { font-size: 42px; line-height: 46px; letter-spacing: -1.5px; }
  .jp .lab-gate__step { gap: 20px; }
}

/* ── Site port additions (2026-10-14) ───────────────────────────
   What the prototype did with inline styles or didn't need: the drawer's DGI Lab line,
   the skill page's locked / loading / unlocked states, real sample thumbnails, the
   members prose (skills/<slug>.md), terms + unsubscribe, draft markers. */

/* Skill page states. main[data-lab-state] = loading | out | in (js/lab.js). */
.dt [data-lab-when] { display: none; }
.dt[data-lab-state="loading"] [data-lab-when~="loading"],
.dt[data-lab-state="out"] [data-lab-when~="out"],
.dt[data-lab-state="in"] [data-lab-when~="in"] { display: block; }
.dt[data-lab-state] .dt-divider > span[data-lab-when] { display: none; }
.dt[data-lab-state="loading"] .dt-divider > span[data-lab-when~="loading"],
.dt[data-lab-state="out"] .dt-divider > span[data-lab-when~="out"],
.dt[data-lab-state="in"] .dt-divider > span[data-lab-when~="in"] { display: inline; }
.dt-loading, .sh-loading { padding: 56px var(--gutter) 120px; font-size: 16px; line-height: 26px; letter-spacing: .3px; color: var(--eggplant); }
.sh-loading { min-height: 60vh; }

/* The ghosted how-to behind the Join card (Figma 18:1125). */
.dt-ghost__title { height: 44px; width: 380px; max-width: 100%; }
.dt-ghost__step { display: grid; grid-template-columns: 44px 1fr; gap: 20px; margin-top: 44px; }
.dt-ghost__step > i { height: 44px; background: var(--hot-pink) !important; }
.dt-ghost__step div i:first-child { height: 14px; width: 76%; }
.dt-ghost__step div i + i { height: 10px; width: 100%; margin-top: 10px; opacity: .6; }
.dt-ghost__box { height: 200px; margin-top: 80px; }
.dt-ghost__line { height: 60px; margin-top: 16px; opacity: .6; }
.dt-join__price { font-family: var(--font-label); font-size: 13px; line-height: 18px; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); }

/* Real sample pages (images/lab/samples/<slug>-N.jpg, from _lab-guides/samples/<slug>.pdf). */
.thumb--img { display: block; padding: 0; overflow: hidden; height: auto; background: #fff; }
.thumb--img img { display: block; width: 100%; height: auto; }
.thumb--big.thumb--img { max-width: 360px; }
.thumb__row .thumb--img { max-width: 172px; }
.thumb--big.thumb--wide { max-width: 100%; }
.thumb__row .thumb--wide { max-width: none; }
/* Letter pages 2 and 3 sit together under the cover, as wide as it (Eli 2026-10-16: "stack better"). */
.thumb__row--portrait { grid-template-columns: 1fr 1fr; max-width: 360px; }
.thumb__row--portrait .thumb--img { max-width: none; }

/* Members: download buttons and their message (js/lab.js adds .lab-downloads__msg). */
.dl__item { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--eggplant); color: var(--eggplant); cursor: pointer; font: inherit; }
.dl__item:hover b { color: var(--hot-pink); }
.dl__item:disabled { opacity: .55; cursor: progress; }
.dl__item:focus-visible { outline: 2px solid var(--hot-pink); outline-offset: 4px; }
.dl__item--main > span > span { font-weight: 600; }
.dl__item--minor { padding-top: 10px; margin-top: 10px; }
.dl__item--minor b { font-size: 12px; line-height: 18px; letter-spacing: 2px; }
.dl__item--minor svg { margin-top: 14px; }
.dl__item--all { border-top-width: 2px; margin-top: 22px; }
.dl__item > span > span { display: block; }
.lab-downloads__msg { background: var(--hot-pink); color: var(--eggplant); font-size: 14px; line-height: 22px; letter-spacing: .3px; padding: 10px 14px; margin-top: 14px; }
.lab-downloads__msg:empty { display: none; }
/* Two-digit numbers (00-04, as in the how-to PDF) need a wider column than the prototype's 0-4. */
.step { grid-template-columns: 112px 1fr; gap: 24px; margin-bottom: 40px; align-items: start; }
.step .step__n { text-align: left; }
.step h3 { margin-top: 10px; }
.step div p { margin-top: 8px; }
.dt-fine { font-size: 14px; line-height: 22px; letter-spacing: .3px; margin-top: 40px; padding-left: 14px; border-left: 4px solid var(--hot-pink); }

/* Prose: the long how-to sections, terms, unsubscribe. Type to the site's standard
   (Tusker 1.107, Inter 17/28 and 15/24 at 0.3px, N27 2px). */
.lab-prose { color: var(--eggplant); max-width: 860px; }
.lab-prose > :first-child { margin-top: 0; }
.lab-prose h2 {
  font-family: var(--font-headline); font-weight: 700; text-transform: uppercase;
  font-size: 40px; line-height: 44px; letter-spacing: 0; margin: 64px 0 18px; padding-top: 24px; border-top: 2px solid var(--eggplant);
}
.lab-prose h2[id] { scroll-margin-top: 80px; }
.lab-prose h3 { font-family: var(--font-label); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: 2px; text-transform: uppercase; margin: 32px 0 12px; }
.lab-prose p, .lab-prose li { font-size: 17px; line-height: 28px; letter-spacing: .3px; }
.lab-prose p { margin: 0 0 18px; }
.lab-prose ul, .lab-prose ol { margin: 0 0 22px; padding-left: 1.4em; }
.lab-prose ul { list-style: disc; }
.lab-prose ol { list-style: decimal; }
.lab-prose li { margin-bottom: 8px; padding-left: 4px; }
.lab-prose li > ul, .lab-prose li > ol { margin: 8px 0 0; }
.lab-prose ol > li::marker { font-family: var(--font-label); color: var(--hot-pink); }
.lab-prose ul > li::marker { color: var(--hot-pink); }
.lab-prose strong { font-weight: 600; }
.lab-prose a { text-decoration: underline; text-decoration-color: var(--hot-pink); text-underline-offset: 3px; }
.lab-prose a:hover { color: var(--hot-pink); }
.lab-prose code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .88em; background: var(--peach); padding: .08em .35em; }
.lab-prose ul.lab-check { list-style: none; padding-left: 0; }
.lab-prose ul.lab-check > li { position: relative; padding-left: 32px; }
.lab-prose ul.lab-check > li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border: 2px solid var(--eggplant); background: var(--ivory); }
.lab-prose .lab-small { font-size: 15px; line-height: 24px; padding-left: 14px; border-left: 4px solid var(--hot-pink); }
.lab-table-wrap { overflow-x: auto; margin: 0 0 26px; border: 2px solid var(--eggplant); background: #fff; }
.lab-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 24px; letter-spacing: .3px; }
.lab-table th { font-family: var(--font-label); font-weight: 400; font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; text-align: left; background: var(--eggplant); color: var(--ivory); padding: 12px 14px; }
.lab-table td { padding: 12px 14px; border-top: 1px solid rgba(82, 0, 38, .15); vertical-align: top; }
.lab-table tbody tr:nth-child(even) td { background: rgba(255, 227, 187, .35); }
.lab-actions { margin: 8px 0 30px; }
.lab-prose .lab-btn { font-family: var(--font-label); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--eggplant); background: var(--hot-pink); border: 2px solid var(--eggplant); box-shadow: -6px 6px 0 var(--eggplant); padding: 15px 24px; display: inline-flex; text-decoration: none; }

.v3-plain { color: var(--eggplant); }
.v3-plain__head { padding: 56px var(--gutter) 24px; }
.v3-plain__head .dt-title { font-size: 72px; line-height: 80px; }
.v3-plain__body { padding: 24px var(--gutter) 120px; }
.lab-unsub { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-top: 24px; }
.lab-unsub__done, .lab-unsub__err { font-size: 17px; line-height: 28px; letter-spacing: .3px; }

/* Draft markers: build-lab --check refuses any page carrying one. */
.lab-draft { background: var(--golden-yellow); color: var(--eggplant); font-family: var(--font-label); font-size: .8em; letter-spacing: .25px; padding: .1em .35em; }
.lab-draft-ribbon {
  position: fixed; left: 0; bottom: 0; z-index: 300; pointer-events: none;
  background: var(--golden-yellow); color: var(--eggplant); border: 2px solid var(--eggplant);
  font-family: var(--font-label); font-size: 12px; line-height: 17px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 14px;
}

@media (max-width: 760px) {
  .step { grid-template-columns: 76px 1fr; gap: 16px; margin-bottom: 32px; }
  .step h3 { margin-top: 6px; }
  .step .step__n { font-size: 56px; line-height: 62px; }
  .lab-prose h2 { font-size: 32px; line-height: 36px; }
  .lab-prose p, .lab-prose li { font-size: 16px; line-height: 26px; }
  .v3-plain__head .dt-title { font-size: 52px; line-height: 58px; }
  .thumb--big.thumb--img { max-width: 100%; }
}

/* Long one-word titles ("PRESENTATION", "UNSUBSCRIBE.") must fit a 390 phone: scale with the
   viewport, keep the 1.107 standard. */
.dt-cols > * { min-width: 0; }
@media (max-width: 760px) {
  .dt-title, .v3-plain__head .dt-title { font-size: clamp(36px, 10.5vw, 64px); line-height: 1.107; letter-spacing: -1px; }
}

/* ── Skill pages v3 (Eli 2026-10-16) ─────────────────────────────────────
   The headline fits its column, START HERE's strip with 03 lit, then the members part built from
   START HERE's own sections: What you need (file cards), What to feed it (the yellow band of
   numbered cards), How to use it, What you get back (turquoise), Time per run (one card). */
.dt-cols { grid-template-columns: minmax(0, 667fr) minmax(0, 549fr); }
.dt-cols > :first-child { min-width: 0; container-type: inline-size; }
.dt-title { font-size: min(96px, calc(100cqi / var(--fit, 7))); line-height: 1.1; }
.dt-strip { align-items: stretch; }
.dt-strip .sh-strip__cell.is-here { border-bottom: 0; }
.dt-strip a.sh-strip__cell:hover > span:first-child { text-decoration: underline; text-underline-offset: 6px; }

.dt-members .lab-prose { max-width: none; }
.dt-prep .sh-files__row { align-items: stretch; }
.dt-prep .sh-file .lab-prose p, .dt-prep .sh-file .lab-prose li { font-size: 15px; line-height: 24px; }
.dt-prep .sh-file .lab-prose ul { margin-bottom: 0; }
.dt-prep .sh-file h3 { font-size: 32px; line-height: 36px; }

.dt-feed__intro { max-width: 900px; }
.dt-feed__intro p { font-size: 18px; line-height: 30px; }
.dt-feed .sh-step__text { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 30px; letter-spacing: 0; }
.dt-feed .sh-why p:not(.sh-label) { font-size: 16px; line-height: 26px; }
.dt-feed__more { background: var(--ivory); border: 1px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant); padding: 32px 40px 16px; }

.dt-run { color: var(--eggplant); }
.dt-run__head { display: flex; flex-direction: column; gap: 12px; }
.dt-run__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; margin-top: 40px; align-items: start; }
.dt-run__steps { display: flex; flex-direction: column; gap: 24px; }
.dt-step { display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant); padding: 28px 32px; }
.dt-step .sh-num { line-height: 72px; }
.dt-step h3 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 32px; margin-top: 6px; }
.dt-step div p { font-size: 17px; line-height: 28px; letter-spacing: .3px; margin-top: 6px; }
.dt-run aside { position: sticky; top: 88px; }
.dt-run .dl { margin-top: 32px; }

.dt-back { background: var(--turquoise); color: var(--eggplant); display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; align-items: start; }
.dt-back__text { display: flex; flex-direction: column; gap: 16px; }
.dt-back__text .sh-label { font-size: 13px; line-height: 18px; letter-spacing: 3px; }
.dt-back__text .lab-prose { margin-top: 8px; }
.dt-back .lab-prose code { background: var(--ivory); }
/* The sample pages share the text column's height (Eli 2026-10-16): as big as fits, all of them;
   more pages than the text is tall and they get smaller. Rows split the height; each page keeps its shape. */
.dt-back { align-items: stretch; }
.dt-back__shots { height: 0; min-height: 100%; display: grid; grid-template-rows: repeat(var(--rows, 3), minmax(0, 1fr)) auto; gap: 24px; justify-items: start; }
/* Portrait pages go two across, so three letter pages fill the column instead of stacking thin. */
.dt-back__shots--two { grid-template-columns: 1fr 1fr; }
.dt-back__shots--two .dt-caption { grid-column: 1 / -1; }
.dt-shot { display: flex; align-items: flex-start; height: 100%; min-height: 0; max-width: 100%; }
.dt-shot img { display: block; max-height: 100%; max-width: 100%; width: auto; height: auto; background: #fff; border: 2px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant); }
.dt-back__shots .dt-caption { margin-top: 0; }

.dt-ref { padding: 120px var(--gutter) 128px; color: var(--eggplant); }
.dt-cards { display: flex; flex-direction: column; gap: 40px; }
.dt-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; background: #fff; border: 1px solid var(--eggplant); box-shadow: -8px 8px 0 var(--eggplant); padding: 40px; scroll-margin-top: 88px; }
.dt-card__head h3 { font-family: var(--font-headline); font-weight: 700; text-transform: uppercase; font-size: 36px; line-height: 40px; }
/* Time per run: big, one word to a line, so the title fills its side of the card (Eli 2026-10-16). */
.dt-card__head h3.dt-card__big { font-size: 88px; line-height: .92; width: min-content; letter-spacing: -2px; }
.dt-card__body table { width: 100%; }
.dt-card__body > p, .dt-card__body > ul, .dt-card__body > ol { max-width: 820px; }
.dt-ref .dt-fine { max-width: 860px; }

@media (max-width: 1100px) {
  .dt-cols { grid-template-columns: minmax(0, 1fr); }
  .dt-run__grid, .dt-back { grid-template-columns: 1fr; gap: 48px; }
  .dt-back__shots { height: auto; min-height: 0; grid-template-rows: none; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .dt-back__shots .dt-caption { grid-column: 1 / -1; }
  .dt-shot { height: auto; }
  .dt-run aside { position: static; }
  .dt-card { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .dt-title { font-size: min(64px, calc(100cqi / var(--fit, 7))); line-height: 1.1; }
  .dt-strip { grid-template-columns: 1fr; }
  .dt-ref { padding: 64px 16px 96px; }
  .dt-step { grid-template-columns: 64px 1fr; gap: 12px; padding: 20px; }
  .dt-step .sh-num { font-size: 40px; line-height: 44px; }
  .dt-step h3, .dt-feed .sh-step__text { font-size: 22px; line-height: 26px; }
  .dt-feed__more { padding: 24px 20px 8px; }
  .dt-card { padding: 24px 20px; }
  .dt-card__head h3 { font-size: 28px; line-height: 32px; }
  .dt-card__head h3.dt-card__big { font-size: 56px; line-height: .95; width: auto; }
}
