/* Khutbati: the congregation. Mirror brand kit (.ai/business/brand/kit.md). Arabic RTL first. */

@font-face { font-family: "Readex Pro"; src: url("fonts/ReadexPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("fonts/ReadexPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("fonts/ReadexPro-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Amiri"; src: url("fonts/Amiri-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --charcoal: #22272B;
  --sage: #55685C;
  --sage-l: #A9B9AD;
  --tint: #E5EBE6;
  --paper: #F7F5F0;
  --mul: #7A3768;
  --mul-l: #E0A9CF;
  --mul-tint: #F2E7EE;
  --night: #171A1C;
  --ok: #2D6A4C;
  --ok-bg: #E2EEE6;
  --warn: #8A5300;
  --warn-bg: #F6EAD2;
  --warn-dk: #E8B866;
  --amber: #D9A54A;
  --rule: #D3DBD5;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--sage) var(--night); background: var(--night); }
body {
  margin: 0;
  font-family: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-size: 16px; line-height: 1.55; }
::selection { background: var(--mul-l); color: var(--night); }
img, svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mul); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .join :focus-visible, .foot :focus-visible { outline-color: var(--mul-l); }

.skip {
  position: fixed; z-index: 20; inset-inline-start: 12px; top: -60px;
  padding: 10px 16px; border-radius: 10px; background: var(--paper); color: var(--charcoal);
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- the scene */
.scene {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: 100%; height: 100vh; height: 100lvh;
  overflow: hidden; background: var(--night);
  contain: strict;
}
.scene.is-off { visibility: hidden; }
.scene-lift { position: absolute; inset: 0; will-change: transform; }
.scene-lift::after { /* blends the floor into the dark when the camera tilts */
  content: ""; position: absolute; inset: auto 0 0 0; height: 16%;
  background: linear-gradient(rgba(23, 26, 28, 0), var(--night));
}
.scene-box {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 150vh); width: max(100vw, 150lvh);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
}
@media (max-aspect-ratio: 1/1) {
  .scene-box { width: max(100vw, 75vh); width: max(100vw, 75lvh); aspect-ratio: 3 / 4; }
}
.layer {
  position: absolute; left: 0; width: 100%; margin: 0;
  transform-origin: 50% var(--oy);
  will-change: transform;
  backface-visibility: hidden;
}
.layer img { width: 100%; height: 100%; }
.glow { opacity: 0; will-change: opacity, transform; }
.scene-dim { position: absolute; inset: 0; background: var(--night); opacity: 0; will-change: opacity; }
.scene::before { /* a quiet shade under the logo and the words */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 52%; z-index: 1;
  background: linear-gradient(rgba(18, 20, 22, .72) 30%, rgba(18, 20, 22, 0));
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; z-index: 1; height: 230vh; height: 230svh; }
.hero-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: max(14px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom));
  color: var(--paper);
}
.hero-bar { width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; border-radius: 8px; }
.logo { height: 46px; width: auto; }
html[lang="ar"] .logo--en, html[lang="en"] .logo--ar { display: none; }
.lang {
  min-height: 40px; padding: 0 16px;
  border: 1px solid rgba(169, 185, 173, .45); border-radius: 999px;
  background: rgba(23, 26, 28, .35); color: var(--paper);
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lang:hover { background: rgba(23, 26, 28, .7); border-color: var(--sage-l); }
.hero-words { margin-top: clamp(18px, 4.5svh, 72px); text-align: center; width: min(100%, 620px); }
h1 {
  font-weight: 600;
  font-size: clamp(2.1rem, 8.8vw, 4.6rem);
  line-height: 1.28;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(10, 11, 12, .55);
}
html[lang="en"] h1 { letter-spacing: -0.02em; line-height: 1.1; }
.hero-line {
  margin-top: .55em;
  font-size: clamp(1.02rem, 4.3vw, 1.5rem);
  color: var(--tint);
  text-shadow: 0 2px 16px rgba(10, 11, 12, .6);
}
.hero-down {
  margin-top: auto;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: var(--paper);
  animation: bob 2.4s var(--ease-out) infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------------------------------------------------------------- the report sheet */
.report {
  position: relative; z-index: 2;
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -14px 44px rgba(0, 0, 0, .38);
  padding-bottom: 56px;
}
.sheet-head { max-width: 1080px; margin: 0 auto; padding: 30px 20px 16px; }
.sheet-title { font-size: 1.5rem; font-weight: 600; line-height: 1.5; text-wrap: balance; }
.sheet-meta {
  margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-size: 14px; font-weight: 500; color: var(--sage); line-height: 1.6;
}
.meta-facts { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.meta-note { flex-basis: 100%; }
.sample-tag { padding: 1px 10px; border: 1px solid var(--sage); border-radius: 999px; color: var(--charcoal); }
.bar { display: inline-block; width: 1px; height: .95em; background: currentColor; opacity: .55; vertical-align: -0.12em; }
.fix-next {
  display: block; margin-top: 20px; padding: 12px 18px 13px;
  border-radius: 14px; background: var(--mul-tint);
  text-decoration: none;
  transition: background-color .2s;
}
.fix-next:hover { background: #EBDCE6; }
.fix-next-t { display: block; font-size: 1.125rem; font-weight: 600; color: var(--mul); line-height: 1.55; text-wrap: balance; }

/* the scoring rail: one mark per criterion, filled as each one is scored */
.rail {
  position: sticky; top: 0; z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--tint);
  padding: 4px 20px 6px;
}
.rail-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px;
}
.rail-list a { display: block; padding: 10px 0 8px; border-radius: 4px; }
.tick { display: block; height: 6px; border-radius: 3px; background: var(--tint); transition: background-color .45s var(--ease-out), transform .3s var(--ease-out); }
.rail-list a.is-scored .tick { background: var(--sage); } /* one tone as each is scored */
.rail-list a.is-scored[data-tone="fix"] .tick { background: var(--mul); } /* the one fix */
.rail-list a.is-scored[data-tone="none"] .tick { background: var(--sage-l); }
.rail-list a.is-now .tick { transform: scaleY(1.7); }
.rail-now {
  max-width: 1040px; margin: 0 auto; min-height: 1.6em;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--sage);
}
.rail-word { color: var(--charcoal); }

/* ---------------------------------------------------------------- one criterion */
.crit {
  max-width: 1080px; margin: 0 auto;
  padding: 40px 20px 52px;
  display: grid; gap: 26px;
  scroll-margin-top: 70px;
}
.crit + .crit { border-top: 1px solid var(--tint); }
.crit h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; line-height: 1.4; }
.crit-name { font-size: 1.75rem; font-weight: 600; }
html[lang="en"] .crit-name { letter-spacing: -0.01em; }
.verdict { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vword {
  padding: 2px 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1.7;
  color: var(--ok); background: var(--ok-bg);
}
[data-tone="look"] > .crit-text .vword { color: var(--warn); background: var(--warn-bg); }
[data-tone="fix"] > .crit-text .vword { color: var(--mul); background: var(--mul-tint); }
[data-tone="none"] > .crit-text .vword { color: var(--sage); background: var(--tint); }
.vline { font-size: 1.25rem; font-weight: 500; line-height: 1.6; text-wrap: balance; }
.crit-vis { margin: 0; }
.crit-vis figcaption { margin-top: 14px; max-width: 48ch; font-size: 14px; line-height: 1.75; color: var(--sage); }
html[lang="en"] .crit-vis figcaption { line-height: 1.55; }
.crit--quiet { padding-bottom: 40px; }

/* clarity: twelve listeners */
.heads { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px 10px; max-width: 340px; }
.head { width: 100%; height: auto; aspect-ratio: 32 / 36; fill: var(--tint); transition: fill .5s var(--ease-out); }
.head.on { fill: var(--sage); }
.head.on.wait { fill: var(--tint); }

/* facts: the takhrij margin */
.takhrij { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.t-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: "m m" "l n"; align-items: start; }
.matn { grid-area: m; }
.q { font-family: "Amiri", "Traditional Arabic", serif; font-size: 1.5rem; line-height: 1.8; color: var(--charcoal); }
.leader {
  grid-area: l; height: 22px; margin-inline-start: 8px;
  border-inline-start: 1px solid var(--sage-l); border-bottom: 1px solid var(--sage-l);
  border-end-start-radius: 6px;
  transform-origin: top;
}
.note {
  grid-area: n; justify-self: start; margin-top: 8px;
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 9px;
  padding: 4px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; line-height: 1.6;
  color: var(--ok); background: var(--ok-bg);
}
.t-row[data-tone="look"] .note { color: var(--warn); background: var(--warn-bg); }
.note-k { color: var(--charcoal); }
a.note { text-decoration: none; transition: box-shadow .2s; }
a.note:hover { box-shadow: inset 0 0 0 1px currentColor; }

/* delivery: pace per minute */
.pace { position: relative; padding-top: 24px; max-width: 520px; }
.pace-band { position: absolute; inset-inline: 0; top: calc(24px + 128px * 20 / 180); height: calc(128px * 70 / 180); background: var(--tint); border-radius: 4px; }
.pace-bars { position: relative; height: 128px; display: flex; align-items: flex-end; gap: 4px; }
.pace-bars span { position: relative; flex: 1; height: calc(var(--v) / 180 * 100%); background: var(--sage); border-radius: 2px 2px 0 0; transform-origin: bottom; }
.pace-bars span.hot { background: var(--mul); }
.pace-bars b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--mul); font-variant-numeric: tabular-nums; }
.axis { position: relative; display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--sage); }
.axis-9 { position: absolute; inset-inline-start: calc(100% * 8 / 18); width: calc(100% / 18); text-align: center; color: var(--mul); font-weight: 600; }

/* length: a line against the target */
.length { max-width: 520px; padding-top: 10px; }
.len-track { position: relative; height: 10px; border-radius: 5px; background: var(--tint); }
.len-fill { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 75%; background: var(--sage); border-start-start-radius: 5px; border-end-start-radius: 5px; }
.len-over { position: absolute; inset-inline-start: 75%; top: 0; bottom: 0; width: 15%; background: var(--amber); border-start-end-radius: 5px; border-end-end-radius: 5px; }
.len-mark { position: absolute; inset-inline-start: 75%; top: -9px; width: 2px; height: 28px; margin-inline-start: -1px; background: var(--charcoal); border-radius: 1px; }
.len-fill, .len-over { transform-origin: right; }
html[dir="ltr"] .len-fill, html[dir="ltr"] .len-over { transform-origin: left; }
.len-labels { position: relative; height: 26px; margin-top: 12px; font-size: 13px; font-weight: 500; }
.len-t, .len-e { position: absolute; top: 0; white-space: nowrap; }
.len-t { inset-inline-end: 25%; margin-inline-end: 8px; color: var(--charcoal); }
.len-e { inset-inline-start: 90%; margin-inline-start: -14px; color: var(--warn); }

/* insight: ideas on the timeline */
.ins { max-width: 520px; padding-top: 6px; }
.ins-track { position: relative; height: 22px; }
.ins-track::before { content: ""; position: absolute; inset-inline: 0; top: 10px; height: 2px; background: var(--rule); border-radius: 1px; }
.ins-gap { position: absolute; inset-inline-start: calc(100% * 9 / 18); width: calc(100% * 6 / 18); top: 4px; height: 14px; border-radius: 7px; background: var(--warn-bg); }
.ins-dot { position: absolute; top: 4px; inset-inline-start: calc(100% * (var(--m) - 1) / 18); width: 14px; height: 14px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--paper); }
.ins-labels { position: relative; display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--sage); }
.ins-gap-t { position: absolute; inset-inline-start: calc(100% * 9 / 18); width: calc(100% * 6 / 18); text-align: center; color: var(--warn); font-weight: 500; }

/* structure: the khutba laid out in time */
.strip { display: flex; gap: 2px; height: 16px; max-width: 520px; }
.seg { flex: var(--w) 1 0; min-width: 0; background: #C3CEC6; border-radius: 3px; transform-origin: right; }
html[dir="ltr"] .seg { transform-origin: left; }
.seg--pt { background: var(--sage); }
.seg--sit { background: var(--charcoal); }
.seg--aside { background: var(--amber); }
.strip-labels { display: flex; gap: 2px; max-width: 520px; margin-top: 8px; font-size: 13px; color: var(--sage); }
.strip-labels span { flex: var(--w) 1 0; min-width: 0; white-space: nowrap; overflow: visible; }
.strip-labels span:nth-child(2) { text-align: center; }
.strip-labels .aside-t { display: flex; justify-content: center; color: var(--warn); font-weight: 500; }

/* audience: the level */
.level { position: relative; display: flex; justify-content: space-between; max-width: 420px; padding-top: 22px; }
.level::before { content: ""; position: absolute; top: 8px; inset-inline: 16% ; height: 2px; background: var(--rule); }
.lv { position: relative; flex: 1; text-align: center; font-size: 14px; color: var(--sage); }
.lv::before { content: ""; position: absolute; top: -18px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--rule); }
.lv--on { color: var(--charcoal); font-weight: 600; }
.lv--on::before { top: -21px; width: 16px; height: 16px; margin-left: -8px; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }

/* form: the checklist */
.checks { list-style: none; margin: 0; padding: 0; max-width: 460px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--tint); font-size: 16px; }
.checks li:first-child { border-top: 1px solid var(--tint); }
.ck { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ck path { stroke-dasharray: 20; stroke-dashoffset: 0; }
.ck-m { margin-inline-start: auto; font-size: 14px; color: var(--sage); font-variant-numeric: tabular-nums; }

/* the analysis disclosure */
.analysis { min-width: 0; }
.open {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 14px 0 18px;
  border: 1px solid var(--charcoal); border-radius: 999px;
  background: transparent; color: var(--charcoal);
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s;
}
html[dir="ltr"] .open { padding: 0 18px 0 14px; }
.open:hover { background: var(--charcoal); color: var(--paper); }
.open-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.open[aria-expanded="true"] .open-i { transform: rotate(180deg); }
.panel { overflow: hidden; }
.findings { list-style: none; margin: 18px 0 0; padding: 0; max-width: 720px; }
.finding {
  position: relative;
  padding: 16px 22px 16px 0;
  border-top: 1px solid var(--tint);
}
html[dir="ltr"] .finding { padding: 16px 0 16px 22px; }
.finding::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 25px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
}
.finding[data-tone="look"]::before { background: var(--amber); }
.finding[data-tone="fix"]::before { background: var(--mul); }
.finding[data-tone="none"]::before { background: var(--sage-l); }
.finding h4 { font-size: 16px; font-weight: 600; line-height: 1.6; }
.finding p { margin-top: 4px; font-size: 16px; line-height: 1.85; max-width: 64ch; }
html[lang="en"] .finding p { line-height: 1.6; }
.finding .src { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 500; color: var(--charcoal); }
.finding .when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; font-weight: 500; color: var(--sage); font-variant-numeric: tabular-nums; }
.finding .when a { color: var(--charcoal); text-decoration-color: var(--sage-l); text-underline-offset: 4px; }
.finding .when a:hover { text-decoration-color: var(--charcoal); }

.sheet-end { max-width: 40ch; margin: 0 auto; padding: 36px 20px 0; text-align: center; font-size: 14px; line-height: 1.8; color: var(--sage); text-wrap: balance; }

/* ---------------------------------------------------------------- sign-up, over the room again */
.join {
  position: relative; z-index: 2;
  min-height: 94vh; min-height: 94svh;
  display: flex; align-items: center;
  padding: 80px 20px;
  background: linear-gradient(rgba(23, 26, 28, .15), rgba(23, 26, 28, .55) 45%, rgba(23, 26, 28, .7));
  color: var(--paper);
}
.join-in { width: 100%; max-width: 520px; margin: auto; }
.join h2 { font-size: clamp(1.75rem, 7vw, 2.6rem); font-weight: 600; line-height: 1.35; text-wrap: balance; text-shadow: 0 2px 20px rgba(10, 11, 12, .5); }
html[lang="en"] .join h2 { letter-spacing: -0.015em; line-height: 1.15; }
.join-label { display: block; margin: 28px 0 8px; font-size: 15px; font-weight: 500; color: var(--tint); }
.join-row { display: flex; flex-direction: column; gap: 10px; }
.join-input {
  width: 100%; height: 56px; padding: 0 16px;
  border: 1px solid rgba(169, 185, 173, .55); border-radius: 14px;
  background: rgba(23, 26, 28, .55); color: var(--paper);
  font-size: 1.125rem; font-family: inherit; letter-spacing: .01em;
  caret-color: var(--mul-l);
  transition: border-color .2s, background-color .2s;
}
html[dir="rtl"] .join-input { text-align: right; }
.join-input::placeholder { color: var(--sage-l); opacity: 1; }
.join-input:hover { border-color: var(--sage-l); }
.join-input:focus { outline: 2px solid var(--mul-l); outline-offset: 2px; border-color: transparent; }
.join-input[aria-invalid="true"] { border-color: var(--warn-dk); }
.send {
  height: 56px; padding: 0 24px; border: 0; border-radius: 14px;
  background: var(--mul-l); color: var(--night);
  font-size: 1.0625rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s, transform .15s;
}
.send:hover { background: #EBC0DD; }
.send:active { transform: translateY(1px); }
.send[aria-busy="true"] { opacity: .7; cursor: progress; }
.join-error { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--warn-dk); }
.alt {
  margin-top: 6px; min-height: 44px; padding: 0;
  border: 0; background: none; color: var(--paper); cursor: pointer;
  font-size: 15px; text-decoration: underline; text-decoration-color: var(--sage-l); text-underline-offset: 5px;
}
.alt:hover { text-decoration-color: var(--paper); }
.trust { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(169, 185, 173, .25); }
.trust p, .foot-trust p { font-size: 14px; line-height: 1.75; color: var(--sage-l); }
.done-h { font-size: 1.75rem; font-weight: 600; margin-top: 26px; }
.done-p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.8; color: var(--tint); }
.done-to { color: var(--paper); font-weight: 600; }
.done:focus { outline: none; }

/* ---------------------------------------------------------------- footer */
.foot { position: relative; z-index: 2; background: var(--night); color: var(--sage-l); padding: 40px 20px max(32px, env(safe-area-inset-bottom)); }
.foot-in { max-width: 1080px; margin: 0 auto; display: grid; gap: 18px; }
.foot-logo { height: 38px; width: auto; }
html[lang="ar"] .foot-logo.logo--en, html[lang="en"] .foot-logo.logo--ar { display: none; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------------------------------------------------------------- wider screens */
@media (min-width: 720px) {
  .join-row { flex-direction: row; }
  .join-input { flex: 1; }
  .sheet-head { padding-top: 48px; }
}
@media (min-width: 960px) {
  .crit {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 72px; row-gap: 20px;
    padding: 72px 40px;
  }
  .crit-text { grid-column: 1; grid-row: 1; }
  .crit-vis { grid-column: 2; grid-row: 1 / span 2; padding-top: 10px; }
  .analysis { grid-column: 1; grid-row: 2; }
  .crit--quiet .analysis { grid-column: 1 / -1; }
  .t-row { grid-template-columns: max-content minmax(40px, 1fr) max-content; grid-template-areas: "m l n"; align-items: center; column-gap: 12px; }
  .leader { height: 0; margin: 0; border-inline-start: 0; border-radius: 0; transform-origin: right; }
  html[dir="ltr"] .leader { transform-origin: left; }
  .note { margin-top: 0; }
  .sheet-head, .rail { padding-inline: 40px; }
  .logo { height: 54px; }
  .hero-pin { padding-inline: 40px; }
  .hero-words { width: min(100%, 1200px); margin-top: 9vh; text-align: start; }
  .hero-words > * { max-width: 600px; }
  .pace-bars { gap: 9px; }
}

/* ---------------------------------------------------------------- calm motion */
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; height: 100svh; }
  .hero-down { animation: none; }
  .glow { opacity: .3; }
  .layer, .glow, .scene-dim { will-change: auto; }
  * { transition-duration: .01ms !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html:not(.js) .hero { height: 100vh; height: 100svh; }
