/* v4, the developer page: the sections under the story (js/sections.js). Same paper, ink and red as the story. Barlow Light headlines,
   Barlow body, Barlow Condensed for every small label. */

/* ---- a Higgsfield slot: a still or a moving view from the page's own 3D, red corner marks and a label ---- */
.ph { position: relative; overflow: hidden; background: #e6e1d5; }
.ph canvas { display: block; width: 100%; height: 100%; }
.ph::after { content: ""; position: absolute; inset: 12px; pointer-events: none; opacity: .9;
  background:
    linear-gradient(var(--red), var(--red)) left top / 22px 1.5px no-repeat, linear-gradient(var(--red), var(--red)) left top / 1.5px 22px no-repeat,
    linear-gradient(var(--red), var(--red)) right top / 22px 1.5px no-repeat, linear-gradient(var(--red), var(--red)) right top / 1.5px 22px no-repeat,
    linear-gradient(var(--red), var(--red)) left bottom / 22px 1.5px no-repeat, linear-gradient(var(--red), var(--red)) left bottom / 1.5px 22px no-repeat,
    linear-gradient(var(--red), var(--red)) right bottom / 22px 1.5px no-repeat, linear-gradient(var(--red), var(--red)) right bottom / 1.5px 22px no-repeat; }
.ph .tag { position: absolute; left: 24px; top: 24px; right: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; z-index: 1; }
.ph .tag b { font-family: var(--caps); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 11px; color: #fff; background: var(--red); padding: 5px 8px 4px; }
.ph .tag span { max-width: 26em; font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 14.5px; line-height: 1.38; color: #fbf8f1; background: rgba(23, 22, 21, .66); padding: 7px 10px 8px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.ph .si { position: absolute; right: 26px; bottom: 22px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; color: rgba(251, 248, 241, .85); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); pointer-events: none; z-index: 1; }

/* ---- A night at Ferrow: a dark chapter whose colour follows the clock ---- */
.xn { position: relative; background: var(--nbg, rgb(46, 38, 32)); color: var(--paper); }
.xn-in { max-width: 1320px; margin: 0 auto; padding: clamp(90px, 10vw, 160px) var(--pad); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); }
.xn-side { position: sticky; top: 96px; align-self: start; height: calc(100vh - 150px); display: flex; flex-direction: column; }
.xn .kick { color: var(--dim); }
.xn h2 { font-weight: 300; font-size: clamp(34px, 3.4vw, 58px); line-height: 1.0; letter-spacing: -.022em; margin: 22px 0 0; max-width: 9em; }
.xn h2 em { color: #ef6f5d; }
.xn-stick { margin-top: auto; }
.xn-clock { font-weight: 300; font-size: clamp(88px, 10.6vw, 178px); line-height: .86; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.xn-now { font-size: clamp(20px, 1.7vw, 27px); font-weight: 300; margin: 18px 0 30px; min-height: 1.3em; }
.xn-dots { position: relative; list-style: none; display: flex; border-top: 1px solid rgba(244, 241, 233, .2); font-family: var(--caps); letter-spacing: .12em; font-size: 11px; color: rgba(244, 241, 233, .38); }
.xn-dots::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: #ef6f5d; transform-origin: left; transform: scaleX(var(--p, 0)); }
.xn-dots li { flex: 1; padding-top: 9px; }
.xn-dots li.on { color: var(--paper); }
.xn-list { list-style: none; display: flex; flex-direction: column; gap: clamp(90px, 18vh, 220px); padding: 8vh 0 14vh; }
.xn-it .ph { aspect-ratio: 3 / 2; background: #23201d; will-change: transform; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.xn-cap { display: grid; grid-template-columns: 76px 1fr; gap: 6px 18px; margin-top: 22px; }
.xn-cap b { font-family: var(--caps); font-weight: 600; letter-spacing: .14em; font-size: 14px; color: #ef6f5d; grid-row: span 2; padding-top: 7px; }
.xn-cap h3 { font-weight: 400; font-size: clamp(22px, 1.8vw, 29px); letter-spacing: -.01em; }
.xn-cap p { font-size: 16.5px; line-height: 1.5; color: rgba(244, 241, 233, .72); max-width: 30em; }

/* ---- Build your Ferrow ---- */
.xb-head { margin-bottom: clamp(28px, 3.6vw, 52px); }
.xb-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.xb-view { position: relative; aspect-ratio: 4 / 3; background: #e6e1d5; cursor: grab; touch-action: pan-y; user-select: none; box-shadow: 0 34px 64px -44px rgba(30, 26, 20, .7); }
.xb-view.grab { cursor: grabbing; }
.xb-view canvas { display: block; width: 100%; height: 100%; }
.xb-hint { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--ink); background: rgba(244, 241, 233, .86); padding: 7px 11px 6px; pointer-events: none; }
.xb-hint i { width: 24px; height: 1px; background: var(--red); display: block; }
.xb-lab { font-family: var(--caps); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--ink2); margin-bottom: 12px; }
.xb-lab + .xb-adds { margin-top: 0; }
.xb-tiers + .xb-lab { margin-top: 30px; }
.xb-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.xb-tiers button { text-align: left; border: 1px solid var(--rule); background: #faf8f2; padding: 12px 12px 14px; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 5px; transition: background .25s, color .25s, border-color .25s; }
.xb-tiers b { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; }
.xb-tiers strong { font-weight: 300; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.xb-tiers em { font-style: normal; font-size: 13px; line-height: 1.35; color: var(--ink2); }
.xb-tiers .on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.xb-tiers .on em { color: rgba(244, 241, 233, .68); }
.xb-adds { list-style: none; border-top: 1px solid var(--ink); }
.xb-adds button { width: 100%; display: grid; grid-template-columns: 20px 1fr auto; gap: 16px; align-items: center; text-align: left; padding: 15px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; font: inherit; color: inherit; cursor: pointer; }
.xb-adds i { width: 18px; height: 18px; border: 1px solid var(--ink); position: relative; transition: background .2s, border-color .2s; }
.xb-adds .on i { background: var(--red); border-color: var(--red); }
.xb-adds .on i::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.xb-adds b { display: block; font-weight: 400; font-size: 19px; letter-spacing: -.005em; }
.xb-adds em { font-style: normal; font-size: 14px; color: var(--ink2); }
.xb-adds strong { font-family: var(--caps); font-weight: 500; letter-spacing: .1em; font-size: 14px; }
.xb-total { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 20px; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.xb-total span { font-family: var(--caps); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--ink2); }
.xb-total strong { font-weight: 300; font-size: clamp(42px, 3.8vw, 62px); letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.xb-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--ink2); }
.xb-cur { position: absolute; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(250, 248, 242, .6); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); pointer-events: none; opacity: 0; z-index: 5; }
.xb-cur::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--red); }
.xb-cur.down { background: rgba(200, 55, 45, .3); border-color: var(--red); }

@media (max-width: 760px) {
  .ph::after { inset: 8px; }
  .ph .tag { left: 16px; top: 16px; right: 16px; gap: 4px; }
  .ph .tag b { font-size: 9.5px; padding: 4px 6px 3px; }
  .ph .tag span { font-size: 12.5px; padding: 5px 8px 6px; }
  .ph .si { right: 16px; bottom: 13px; font-size: 8.5px; }
  .xn-in { grid-template-columns: 1fr; padding: 70px 16px 40px; gap: 0; }
  .xn-side { display: contents; }
  .xn-head { margin-bottom: 26px; }
  .xn-stick { position: sticky; top: 46px; z-index: 3; margin: 0 -16px; padding: 12px 16px 10px; background: var(--nbg, rgb(46, 38, 32)); display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid rgba(244, 241, 233, .14); }
  .xn-clock { font-size: 46px; }
  .xn-now { font-size: 16px; margin: 0; }
  .xn-dots { display: none; }
  .xn-list { gap: 84px; padding: 34px 0 30px; }
  .xn-cap { grid-template-columns: 56px 1fr; gap: 4px 12px; margin-top: 16px; }
  .xn-cap b { font-size: 12.5px; }
  .xn-cap h3 { font-size: 21px; }
  .xn-cap p { font-size: 15px; }
  .xb-grid { grid-template-columns: 1fr; gap: 18px; }
  .xb-tiers button { padding: 9px 8px 10px; gap: 3px; }
  .xb-tiers b { font-size: 10px; letter-spacing: .1em; }
  .xb-tiers strong { font-size: 19px; }
  .xb-tiers em { font-size: 11px; }
  .xb-tiers + .xb-lab { margin-top: 18px; }
  .xb-lab { margin-bottom: 8px; font-size: 11px; }
  .xb-adds button { padding: 10px 0; gap: 12px; }
  .xb-adds b { font-size: 16.5px; }
  .xb-adds em { font-size: 12.5px; }
  .xb-total { margin: 16px 0 14px; padding-top: 10px; }
  .xb-total strong { font-size: 38px; }
}

/* ---- shared: section heads, buttons, the hero's two buttons ---- */
.sec-head { margin-bottom: clamp(36px, 4.5vw, 64px); }
.pg h2 em, .xn h2 em, .end h2 em, h1 em { font-style: normal; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; pointer-events: auto; }
.btn.ghost { background: transparent; color: var(--paper); border: 1px solid rgba(244, 241, 233, .6); padding: 14px 23px 13px; }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn.ghost-ink { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 14px 23px 13px; }
.btn.ghost-ink:hover { background: var(--ink); color: var(--paper); }
.pg h3 { font-weight: 400; }

/* ---- About: the film where the 3D turns real, the numbers ---- */
.about-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.about-head .kick { grid-column: 1 / -1; }
.about-head h2 { margin-bottom: 0; }
.about-head .lede { padding-bottom: 6px; }
.about-film { aspect-ratio: 21 / 9; box-shadow: 0 40px 70px -46px rgba(30, 26, 20, .7); }
.about-film .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 1; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(30px, 4vw, 56px); border-top: 1px solid var(--ink); }
.figs div { padding: 18px 16px 0 0; }
.figs dt { font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--ink2); }
.figs dd { font-weight: 300; font-size: clamp(34px, 3.4vw, 56px); letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ---- Stays: four sites in an offset grid ---- */
.site-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3.4vw, 56px); row-gap: clamp(44px, 6vw, 96px); align-items: start; }
.site { min-width: 0; }
.site.s1, .site.s3 { margin-top: clamp(70px, 10vw, 170px); }
.site .ph { aspect-ratio: 5 / 4; will-change: transform; box-shadow: 0 30px 60px -40px rgba(30, 26, 20, .6); }
.site.s0 .ph, .site.s3 .ph { aspect-ratio: 4 / 4.6; }
.site-cap { margin-top: 20px; }
.site-cap .w, .model .w { font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--ink2); }
.site-cap h3 { font-size: clamp(26px, 2.2vw, 36px); font-weight: 300; letter-spacing: -.015em; margin: 6px 0 8px; }
.site-cap p { font-size: 16.5px; line-height: 1.5; color: var(--ink2); max-width: 30em; }
.site-cap .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--ink); }
.go { color: var(--red); font-weight: 600; }
.go::after { content: " \2192"; }

/* ---- The cabins: three cards, the plans at one scale ---- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); align-items: start; }
.model .ph { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -42px rgba(30, 26, 20, .6); }
.model-body { padding-top: 20px; }
.model h3 { font-size: clamp(28px, 2.4vw, 40px); font-weight: 300; letter-spacing: -.02em; margin: 6px 0 10px; }
.model p.d { font-size: 16px; line-height: 1.5; color: var(--ink2); min-height: 3em; }
.mplan { display: block; width: 100%; height: auto; margin: 18px 0 6px; background: #faf8f2; border: 1px solid var(--rule); }
.mplan text { font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; }
.model dl { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); margin-top: 16px; }
.model dl div { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--rule); }
.model dt { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; color: var(--ink2); }
.model dd { font-size: 22px; font-weight: 300; margin-top: 4px; font-variant-numeric: tabular-nums; }
.scale-note { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--ink2); }
.plan50 { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; padding-top: clamp(90px, 10vw, 150px); }
.plan50 h3 { font-weight: 300; font-size: clamp(30px, 2.8vw, 46px); letter-spacing: -.02em; margin: 18px 0 26px; }
.plan50 h3 em { color: var(--red); }

/* ---- Build with us: the steps and the material chips under the configurator ---- */
.xb-note { position: absolute; right: 16px; bottom: 14px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--ink2); background: rgba(244, 241, 233, .86); padding: 7px 11px 6px; pointer-events: none; }
.xb-tiers button strong { font-size: clamp(18px, 1.5vw, 24px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(70px, 8vw, 120px); border-top: 1px solid var(--ink); }
.steps li { padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps b { font-weight: 300; font-size: clamp(40px, 3.8vw, 64px); line-height: .9; color: var(--red); letter-spacing: -.03em; }
.steps h3 { font-size: clamp(20px, 1.6vw, 25px); margin-top: 8px; }
.steps p { font-size: 15.5px; line-height: 1.5; color: var(--ink2); }
.steps span { margin-top: auto; padding-top: 8px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--ink); }
.mats-row { margin-top: clamp(70px, 8vw, 120px); }
.mats-row .chips { margin-top: 24px; }

/* ---- Guests and owners ---- */
.quotes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: 30px; }
.quotes li { border-top: 1px solid var(--ink); padding-top: 22px; }
.quotes blockquote { font-weight: 300; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.3; letter-spacing: -.01em; }
.quotes cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--ink2); }
.pg.get .row .btn { margin-right: 4px; }

@media (max-width: 760px) {
  .hero .btns { margin-top: 20px; }
  .hero .btns .btn { padding: 12px 16px 11px; font-size: 12px; }
  .about-head { grid-template-columns: 1fr; }
  .about-film { aspect-ratio: 4 / 3; }
  .figs { grid-template-columns: repeat(2, 1fr); }
  .figs dd { font-size: 34px; }
  .site-grid { grid-template-columns: 1fr; row-gap: 52px; }
  .site.s1, .site.s3 { margin-top: 0; }
  .site.s0 .ph, .site.s3 .ph { aspect-ratio: 5 / 4; }
  .models { grid-template-columns: 1fr; gap: 56px; }
  .plan50 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .quotes { grid-template-columns: 1fr; }
  .xb-note { display: none; }
}

/* the end card and the About headline, sized for Barlow Light */
.end { width: min(30vw, 520px); }
.end h2 { font-size: clamp(28px, 2.6vw, 46px); }
.about-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.about-head h2 { font-size: clamp(34px, 3.5vw, 60px); }
@media (max-width: 760px) { .about-head { grid-template-columns: 1fr; } .end { width: calc(100vw - var(--pad) * 2); } .end h2 { font-size: clamp(26px, 7.6vw, 34px); } .about-head h2 { font-size: clamp(30px, 8.6vw, 40px); } }

/* ---- the maquette: the story's corner view in the Cabins section, turned with two arrows ---- */
.maq { margin-bottom: clamp(36px, 5vw, 70px); }
.maq-view { position: relative; aspect-ratio: 16 / 7.4; background: #1b1a19; box-shadow: 0 40px 70px -46px rgba(30, 26, 20, .7); overflow: hidden; }
.maq-view canvas { display: block; width: 100%; height: 100%; }
.maq-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(244, 241, 233, .7); background: rgba(27, 26, 25, .55); color: var(--paper); font: 300 34px/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background .2s, opacity .2s; }
.maq-arrow:hover { background: var(--red); border-color: var(--red); }
.maq-arrow:disabled { opacity: .25; cursor: default; background: rgba(27, 26, 25, .55); border-color: rgba(244, 241, 233, .7); }
.maq-arrow.prev { left: 20px; }
.maq-arrow.next { right: 20px; }
.maq-name { position: absolute; left: 24px; bottom: 20px; color: var(--paper); display: flex; flex-direction: column; gap: 4px; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); pointer-events: none; }
.maq-name b { font-weight: 300; font-size: clamp(26px, 2.4vw, 40px); letter-spacing: -.02em; }
.maq-name span { font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.maq-hint { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 10px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: rgba(244, 241, 233, .8); pointer-events: none; }
.maq-hint i { width: 24px; height: 1px; background: var(--red); display: block; }
.model { transition: opacity .3s; }
@media (min-width: 761px) { .models:has(.model.on) .model:not(.on) { opacity: .55; } }

@media (max-width: 760px) {
  .maq-view { aspect-ratio: 4 / 3.6; }
  .maq-arrow { width: 44px; height: 44px; font-size: 28px; }
  .maq-arrow.prev { left: 10px; }
  .maq-arrow.next { right: 10px; }
  .maq-hint { display: none; }
}

/* ---- v7: inside the Ferrow 50, the stays as films, the build schedule ---- */
/* the walk ends a screen before its section does: the last view stays pinned while the 50's plan slides up over it
   (Sam, Nov 24: "that last frame stays fixed, and as you scroll the next section overlays on top of it") */
.inside { position: relative; height: 780vh; width: 100vw; margin: clamp(70px, 8vw, 120px) 0 -100vh calc(50% - 50vw); }
.plan50 { position: relative; z-index: 2; }
.plan50::before { content: ""; position: absolute; z-index: -1; top: -1px; bottom: calc(-1 * clamp(84px, 11vw, 168px)); left: calc(50% - 50vw); width: 100vw; background: var(--paper) radial-gradient(rgba(23, 22, 21, .025) 1px, transparent 1.2px) 0 0 / 3px 3px; box-shadow: 0 -40px 80px rgba(0, 0, 0, .35); }
.inside-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #1b1a19; color: var(--paper); }
.inside-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.inside-head { position: absolute; left: var(--pad); top: calc(var(--pad) + 74px); }
.inside-head .kick, .pg .inside-head .kick { color: rgba(244, 241, 233, .78); }
.inside-cap { position: absolute; left: var(--pad); bottom: calc(var(--pad) + 46px); width: min(440px, 80vw); opacity: 0; }
.inside-cap::before { content: ""; position: absolute; inset: -90px -60px -60px calc(var(--pad) * -1); background: radial-gradient(ellipse at 20% 70%, rgba(20, 19, 18, .62), rgba(20, 19, 18, 0) 70%); z-index: -1; }
.inside-cap .k { font-family: var(--caps); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: #ef8a7d; }
.pg .inside-cap h3 { font-weight: 300; font-size: clamp(28px, 2.6vw, 46px); line-height: 1.05; letter-spacing: -.015em; margin: 10px 0 10px; color: var(--paper); }
.inside-cap .n { font-size: 15px; line-height: 1.5; color: rgba(244, 241, 233, .82); }
.inside-rail { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) * .7); display: flex; list-style: none; margin: 0; padding: 0; font-family: var(--caps); letter-spacing: .18em; text-transform: uppercase; font-size: 10.5px; color: rgba(244, 241, 233, .4); border-top: 1px solid rgba(244, 241, 233, .16); }
.inside-rail li { flex: 1; padding-top: 7px; }
.inside-rail li.on { color: var(--paper); }
.inside-rail::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.inside-clock { position: absolute; right: var(--pad); top: calc(var(--pad) + 74px); font-family: var(--caps); letter-spacing: .18em; font-size: 12px; color: rgba(244, 241, 233, .78); }
.ph .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 1; }
.xb-sched { position: absolute; left: 16px; right: 16px; top: 14px; font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; color: var(--ink2); pointer-events: none; }
.xb-week { margin: 0 0 7px; color: var(--ink); font-weight: 500; }
.xb-sched ol { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.xb-sched li { flex: 1; padding-top: 6px; position: relative; opacity: .7; }
.xb-sched li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(23, 22, 21, .14); }
.xb-sched li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(var(--k, 1)); }
.xb-sched li.on { opacity: 1; color: var(--ink); }
@media (max-width: 760px) {
  .inside { height: 680vh; }
  .inside-head, .inside-clock { top: calc(var(--pad) + 58px); }
  .xb-sched { font-size: 9px; letter-spacing: .08em; }
  .xb-sched ol { gap: 4px; }
}

/* Labels the About way everywhere (Sam, Nov 24): a red square, the name, a thin rule, the second part. No long dash. */
.kick { gap: 12px; }
.kick:not(.ab-kick)::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
.kick i { width: 1px; height: 13px; background: currentColor; opacity: .35; }
.hero .kick i, .end .kick i { background: currentColor; }
/* section headlines on two lines: the plain half, then the red half */
.pg h2 em { display: block; }
.ab-split .about-head h2 em { display: inline; }
