/* LOOP site styles. Single brand look (light only), set from the LOOP brand tokens. */

@font-face { font-family: "Open Sauce One"; src: url("../fonts/OpenSauceOne-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sauce One"; src: url("../fonts/OpenSauceOne-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Layout: one long product story told in full-width colour bands, big left-aligned type, content capped at 1280px. */
:root {
  color-scheme: light;
  /* Colour */
  --chalk: #F5F1EB;
  --chalk-glass: rgba(245, 241, 235, 0.92);
  --bone: #EBE4D8;
  --sand: #DCD3C4;
  --ink: #111111;
  --ink-line: rgba(17, 17, 17, 0.14);
  --stone: #6B6560;
  --spark: #FF6A00;
  --ember: #2E1103;
  --burnt: #B4470D;
  --burnt-ink: #FBEDE0;
  --peach: #C68E6B;
  --peach-m: #C28C6A;
  --clay: #BB8964;
  --card: #F7F3EC;
  --cocoa: #2A1309;
  --midnight: #2A2723;
  --apricot: #FFC49A;
  --apricot-ink: #4A1A00;
  --bone-deep: #DED6C8;
  /* Type */
  --font-display: "Open Sauce One", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.12rem, 1.02rem + 0.45vw, 1.36rem);
  --step-2: clamp(1.35rem, 1.15rem + 0.9vw, 1.9rem);
  --display: clamp(2.6rem, 1.2rem + 6.4vw, 7rem);
  --display-xl: clamp(2.9rem, 0.6rem + 11.2vw, 7.25rem);
  /* Space */
  --gutter-l: max(clamp(16px, 5vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 5vw, 64px), env(safe-area-inset-right, 0px));
  --section: clamp(4.5rem, 2.5rem + 9vw, 10.5rem);
  --nav-h: 68px;
  --radius: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 100; background: var(--ink); color: var(--chalk); padding: 0.7em 1.1em; border-radius: 999px; text-decoration: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(1280px + 128px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band { padding-block: var(--section); }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--display);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 33em; }
.muted { color: var(--stone); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5em;
  border: 0; border-radius: 999px;
  background: var(--cocoa); color: var(--chalk);
  font: 600 var(--step-0)/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ink { background: var(--ink); color: var(--chalk); }
.btn--ember { background: var(--ember); color: var(--chalk); }
.btn--small { min-height: 42px; padding: 0 1.15em; font-size: 0.95rem; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.textlink:hover { text-decoration-thickness: 3px; }

/* Header */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--cocoa);
  transition: background-color 0.35s, box-shadow 0.35s, color 0.35s;
}
.nav__inner { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); height: var(--nav-h); }
.wordmark { font: 900 1.6rem/1 var(--font-display); letter-spacing: -0.05em; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav__links { display: none; gap: clamp(1rem, 2vw, 1.75rem); }
.nav__links a { text-decoration: none; font-weight: 500; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.nav.is-solid { background: var(--chalk-glass); color: var(--ink); box-shadow: 0 1px 0 var(--ink-line); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); }
.nav.is-solid .btn { background: var(--ink); }
@media (min-width: 760px) { .nav__links { display: flex; } }

/* Hero: the studio clip plays on the same backdrop as the copy, so they read as one scene.
   Phones: headline on top, the clip in the middle, the button on a solid bar along the bottom edge.
   Desktop: the clip bleeds off the right edge and sits on the bottom edge; the copy is pinned to the bottom left, in line with the logo. */
.hero { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "copy" "media" "bar"; height: 100vh; height: 100svh; min-height: 560px; overflow: clip; isolation: isolate; background: var(--clay); color: var(--cocoa); }
.hero__copy { grid-area: copy; position: relative; z-index: 2; display: grid; gap: 0.75rem; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 0.5rem); padding-bottom: 0.25rem; }
.hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.7rem, 1.2rem + 5.2vw, 6.25rem); line-height: 0.92; letter-spacing: -0.05em; }
.hero__title .line { display: block; }
.hero__lede { font-size: var(--step-0); line-height: 1.48; max-width: 26em; text-wrap: pretty; }
.hero__media { grid-area: media; position: relative; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 96%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 96%, transparent 100%); }
.hero__clip { position: absolute; inset: 0; }
.hero__clip video, .hero__clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__toggle { position: absolute; z-index: 3; right: var(--gutter-r); bottom: 0.85rem; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(42, 19, 9, 0.55); color: var(--chalk); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__toggle svg { width: 16px; height: 16px; fill: currentColor; }
.hero__toggle .i-play { display: none; }
.hero__toggle[aria-pressed="false"] .i-play { display: block; }
.hero__toggle[aria-pressed="false"] .i-pause { display: none; }
.hero__bar { grid-area: bar; position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.85rem; padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px)); background: var(--clay); box-shadow: 0 -1px 0 rgba(42, 19, 9, 0.14); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hero__actions .textlink { display: none; }
.hero__meta { font-size: var(--step--1); font-weight: 500; text-align: right; line-height: 1.35; }
.hero__meta span { display: block; }
@media (min-width: 900px) {
  .hero { --base: clamp(2rem, 6vh, 3.25rem); --media-w: min(50cqw, 78cqh); --copy-max: min(52rem, calc(100cqw - var(--media-w) - var(--gutter-l) - 1rem)); height: min(100svh, max(620px, 52vw)); container-type: size; grid-template-rows: minmax(0, 1fr) auto auto; grid-template-areas: "." "copy" "bar"; }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: var(--media-w); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%), linear-gradient(to bottom, transparent 0, #000 12%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 26%), linear-gradient(to bottom, transparent 0, #000 12%); mask-composite: intersect; }
  .hero__clip video, .hero__clip img { object-position: 50% 15%; }
  .hero__copy { padding-block: 0; gap: 1.4rem; }
  .hero__copy > *, .hero__bar > * { max-width: var(--copy-max); }
  .hero__title { font-size: clamp(2.7rem, 0.9rem + 5.4vw, 7.25rem); }
  .hero__lede { font-size: var(--step-1); max-width: min(30em, var(--copy-max)); }
  .hero__bar { display: grid; justify-content: start; gap: 1rem; padding-top: 1.5rem; padding-bottom: var(--base); background: none; box-shadow: none; }
  .hero__actions .textlink { display: inline; }
  .hero__meta { text-align: left; }
  .hero__meta span { display: inline; }
  .hero__toggle { bottom: var(--base); right: max(var(--gutter-r), calc((100cqw - 1280px) / 2)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line { animation: rise 0.9s var(--ease) backwards; }
  .hero__title .line + .line { animation-delay: 0.12s; }
  .hero__lede { animation: rise 0.9s 0.24s var(--ease) backwards; }
  .hero__bar { animation: rise 0.9s 0.34s var(--ease) backwards; }
  .hero__clip { animation: settle 1.4s var(--ease) backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; } to { opacity: 1; } }

/* Problem */
.problem__grid { display: grid; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.problem__item { border-top: 2px solid var(--ink); padding-top: 1.25rem; display: grid; gap: 0.6rem; max-width: 34em; }
.problem__item h3 { font: 800 var(--step-2)/1.15 var(--font-display); letter-spacing: -0.02em; }
.problem__item p { color: var(--stone); }
@media (min-width: 760px) { .problem__grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } }

/* Inside the strap (scroll-scrubbed x-ray) */
.xray { --xr: 1; background: var(--chalk); padding-block: 0 var(--section); }
.xray__sticky { display: flex; align-items: center; }
.xray__inner { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); padding-block: clamp(1rem, 3vw, 2rem); }
.xray__head { display: grid; gap: 1rem; }
.xray__figure { display: grid; gap: 0.5rem; }
.xray__svg { display: block; width: 100%; height: auto; max-height: 52vh; max-height: 52svh; overflow: hidden; }
.xray__note { font-size: var(--step--1); color: var(--stone); }
.xray__parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem 2rem; }
.xray__parts li { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.85rem; align-items: start; transition: opacity 0.4s; }
.xray__parts h3 { font: 800 var(--step-1)/1.2 var(--font-display); letter-spacing: -0.015em; }
.xray__parts p { grid-column: 2; color: var(--stone); font-size: var(--step--1); line-height: 1.45; }
.xray__num { grid-row: span 2; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: var(--chalk); font: 800 0.85rem/1 var(--font-display); transition: background-color 0.3s; }
.xray--live .xray__parts li { opacity: 0.32; }
.xray--live .xray__parts li.is-on { opacity: 0.75; }
.xray--live .xray__parts li.is-active { opacity: 1; }
.xray--live .xray__parts li.is-active .xray__num { background: var(--spark); color: var(--ember); }
.xs-part .xs-dimmer { transition: opacity 0.45s var(--ease); }
.xs-part.is-dim .xs-dimmer { opacity: 0.42; }
.xs-part.is-active .xs-face { stroke: var(--spark); stroke-width: 3px; vector-effect: non-scaling-stroke; }
.xs-dot { fill: var(--ink); transition: fill 0.3s; }
.xs-num { fill: var(--chalk); transition: fill 0.3s; }
.xs-marker.is-active .xs-dot { fill: var(--spark); }
.xs-marker.is-active .xs-num { fill: var(--ember); }
@media (min-width: 900px) {
  .xray__parts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xray__parts li { grid-template-columns: 1fr; }
  .xray__num { grid-row: auto; margin-bottom: 0.4rem; }
  .xray__parts p { grid-column: 1; }
}
.xray--live { padding-bottom: 0; }
.xray--live .xray__track { height: 420vh; }
.xray--live .xray__sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
@media (max-width: 899px) {
  .xray--live .xray__parts li:not(.is-active) p { display: none; }
  .xray--live .xray__parts { gap: 0.55rem; }
  .xray--live .xray__inner { gap: 1rem; }
  .xray--live .xray__note { display: none; }
  .xray--live .xray__head .lede { font-size: var(--step-0); }
}
@media (max-width: 899px) and (max-height: 700px) {
  .xray--live .xray__head .lede { display: none; }
}

/* How it works: a plain card grid. Three cards across, then one wide card. */
.how { background: var(--bone); }
.how__title { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.how__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(0.75rem, 1.4vw, 1.1rem); }
.card { display: flex; flex-direction: column; gap: 1.1rem; padding: 0.75rem 0.75rem 1.4rem; border-radius: 22px; background: var(--card); }
.card__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px; background: var(--sand); }
.card__text { display: grid; gap: 0.5rem; padding-inline: 0.5rem; }
.card__title { display: flex; align-items: center; gap: 0.6rem; font: 800 var(--step-2)/1.1 var(--font-display); letter-spacing: -0.025em; }
.card__icon { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 8px; background: var(--ink); color: var(--chalk); }
.card__icon svg { width: 1rem; height: 1rem; }
.card p { color: var(--stone); max-width: 30em; }
.card--wear .card__img { object-position: 35% 55%; }
.card--track .card__img { object-position: 62% 18%; }
.card--own .card__img { order: -1; object-position: 50% 38%; }
@media (min-width: 760px) {
  .how__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card--track { padding-top: 1.4rem; }
  .card--track .card__img { flex: 1 1 0; min-height: 12rem; aspect-ratio: auto; }
  .card--own { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: end; gap: 1.5rem; padding: 0.75rem; }
  .card--own .card__img { order: 2; aspect-ratio: 1.8 / 1; object-position: 50% 48%; }
  .card--own .card__text { padding: 0 0.5rem 0.75rem; }
}

/* Cost */
.cost__layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.cost__intro { display: grid; gap: 1.25rem; }
.chart { display: grid; gap: 1.75rem; }
.chart__title { font-weight: 600; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: end; }
.bar__label { font-weight: 600; }
.bar__label span { display: block; font-weight: 400; color: var(--stone); font-size: var(--step--1); }
.bar__value { font: 900 var(--step-2)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; text-align: right; }
.bar__track { grid-column: 1 / -1; position: relative; height: clamp(44px, 5vw, 60px); background: var(--bone); border-radius: 8px; overflow: hidden; }
.bar__fill { position: absolute; inset: 0 auto 0 0; border-radius: 8px; transform-origin: left center; }
.bar--loop .bar__fill { width: 34.48%; background: var(--spark); }
.bar--gps .bar__fill { width: 91.38%; background: var(--stone); }
.bar--gps .bar__range { position: absolute; inset: 0 0 0 auto; width: 8.62%; background: repeating-linear-gradient(135deg, var(--stone) 0 3px, transparent 3px 8px); transform-origin: left center; }
.chart__note { font-size: var(--step--1); color: var(--stone); max-width: 36em; }
.chart.is-in .bar__fill { animation: grow 1.2s var(--ease) both; }
.chart.is-in .bar--gps .bar__fill { animation-delay: 0.12s; }
.chart.is-in .bar__range { animation: fade 0.6s 1.1s both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 900px) { .cost__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }

/* Three colours: the band pins while you scroll and steps through Midnight, Spark and Bone in place.
   Without JavaScript, or with reduced motion, it is a normal band and the buttons switch the colour. */
.colours { --colour-word: min(calc((100vw - var(--gutter-l) - var(--gutter-r)) / 4.25), 24svh); }
.colours__stage { --c-bg: var(--midnight); --c-fg: var(--chalk); --c-word: #5B544B; --c-soft: rgba(245, 241, 235, 0.72); position: relative; display: grid; grid-template-rows: auto auto auto; overflow: hidden; background: var(--c-bg); color: var(--c-fg); transition: background-color 0.8s var(--ease), color 0.8s var(--ease); }
.colours__stage[data-colour="spark"] { --c-bg: var(--apricot); --c-fg: var(--apricot-ink); --c-word: var(--spark); --c-soft: rgba(74, 26, 0, 0.75); }
.colours__stage[data-colour="bone"] { --c-bg: var(--bone-deep); --c-fg: var(--ink); --c-word: #B4A68E; --c-soft: rgba(17, 17, 17, 0.62); }
.colours__top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.25rem 2rem; padding-top: clamp(1.5rem, 4svh, 3.5rem); }
.colours__head { display: grid; gap: 0.8rem; }
.colours__scene { display: grid; align-content: center; row-gap: clamp(1.25rem, 4.5svh, 3.75rem); padding-block: clamp(1.5rem, 4svh, 3rem); }
.colours__words, .colours__straps { display: grid; }
.colours__words { pointer-events: none; }
.colours__words > *, .colours__straps > * { grid-area: 1 / 1; }
.colours__word { font: 900 var(--colour-word)/0.8 var(--font-display); letter-spacing: -0.06em; color: var(--c-word); white-space: nowrap; user-select: none; opacity: 0; transform: translateY(0.18em); transition: opacity 0.55s var(--ease), transform 0.8s var(--ease), color 0.8s var(--ease); }
.colours__word.is-on { opacity: 1; transform: none; }
.colours__strap { justify-self: start; width: min(90vw, 1000px, 100svh); opacity: 0; transform: translateX(-8%); transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.colours__strap.is-on { opacity: 1; transform: none; }
.colours__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; padding-bottom: clamp(1.25rem, 4svh, 2.5rem); color: var(--c-soft); }
.colours__foot b { font: 800 var(--step-1)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--c-fg); }
.colours__count { font-variant-numeric: tabular-nums; font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.swatch { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 46px; padding: 0 1.05rem 0 0.55rem; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; font: 600 1rem/1 var(--font-body); cursor: pointer; transition: background-color 0.4s, color 0.4s; }
.swatch__dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.55); }
.swatch[data-set="midnight"] .swatch__dot { background: #151413; }
.swatch[data-set="spark"] .swatch__dot { background: var(--spark); }
.swatch[data-set="bone"] .swatch__dot { background: #F3F0EA; border-color: rgba(17, 17, 17, 0.25); }
.swatch[aria-pressed="true"] { background: var(--c-fg); color: var(--c-bg); }
@media (max-width: 599px) { .colours__strap { width: 128vw; max-width: none; margin-left: -34vw; } }
@media (max-height: 700px) and (max-width: 899px) { .colours__top .lede { display: none; } }
@media (max-width: 899px) { .colours__foot { padding-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px)); } } /* clear the mobile waitlist bar */
@media (prefers-reduced-motion: no-preference) {
  .js .colours__track { height: 330svh; }
  .js .colours__stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); grid-template-rows: auto minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) { .colours__stage, .colours__word, .colours__strap { transition: none; } }

/* Designed to get dirty: copy on the left, the muddy collar on the right, feathered into the page. No motion. */
.mud { background: var(--chalk); }
.mud__layout { display: grid; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.mud__copy { display: grid; gap: 1.25rem; }
.mud__note { font: 800 var(--step-1)/1.3 var(--font-display); letter-spacing: -0.015em; max-width: 22em; }
.mud__render { margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); }
.mud__render img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 86%, transparent); mask-composite: intersect; }
@media (min-width: 900px) {
  .mud__layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .mud__render { margin: 0 calc(-1 * var(--gutter-r)) 0 0; }
}

/* Built for Fergus: one rounded card, like the "Put it on" cards. Portrait on the left, the story on the right. No motion. */
.fergus { background: var(--chalk); }
.fergus__card { display: grid; background: var(--bone); border-radius: 26px; padding: 0.75rem; }
.fergus__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--sand); }
.fergus__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.fergus__cap { position: absolute; left: 0.9rem; bottom: 0.9rem; max-width: calc(100% - 1.8rem); padding: 0.55rem 0.9rem; border-radius: 999px; background: rgba(245, 241, 235, 0.92); color: var(--cocoa); font: 600 0.82rem/1.25 var(--font-body); }
.fergus__text { display: flex; flex-direction: column; gap: clamp(1.25rem, 2.2vw, 1.6rem); padding: clamp(2rem, 6vw, 3rem) clamp(0.75rem, 3vw, 1.5rem) clamp(1.5rem, 5vw, 2.5rem); }
.fergus__text .display { margin-bottom: clamp(0.5rem, 1.5vw, 1.25rem); }
.fergus__lead { font: 800 var(--step-2)/1.22 var(--font-display); letter-spacing: -0.02em; max-width: 24em; text-wrap: pretty; }
.fergus__body { color: var(--stone); max-width: 32em; text-wrap: pretty; }
.fergus__foot { display: grid; gap: 1.5rem; margin-top: clamp(1rem, 3vw, 2rem); padding-top: 1.5rem; border-top: 1px solid var(--ink-line); }
.fergus__sig { display: grid; gap: 0.2rem; }
.fergus__sig strong { font: 800 var(--step-1)/1.2 var(--font-display); letter-spacing: -0.01em; }
.fergus__sig span { color: var(--stone); }
.fergus__follow { display: grid; gap: 0.6rem; }
.fergus__follow > p:first-child { color: var(--stone); }
.fergus__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.fergus__links svg { width: 0.72em; height: 0.72em; margin-left: 0.35em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .fergus__card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: min(calc(100svh - var(--nav-h) - 6rem), 760px); }
  .fergus__photo { aspect-ratio: auto; }
  .fergus__photo img { object-position: 50% 45%; }
  .fergus__text { padding: clamp(2.5rem, 6vh, 4rem) clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vh, 2.75rem); }
  .fergus__foot { margin-top: auto; }
}
@media (min-width: 1200px) { .fergus__foot { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); } }

/* FAQ */
.faq__layout { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.2rem; font: 800 var(--step-1)/1.25 var(--font-display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 0.2em; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; color: var(--stone); max-width: 40em; }
@media (min-width: 900px) {
  .faq__layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 4vh); align-self: start; }
}

/* Waitlist */
.waitlist { background: var(--spark); color: var(--ember); }
.waitlist__layout { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.waitlist__head { display: grid; gap: 1rem; }
.signup { display: grid; gap: 0.75rem; max-width: 38rem; }
.signup label { font-weight: 600; }
.signup__row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.signup input[type="email"] { flex: 1 1 240px; min-width: 0; min-height: 56px; padding: 0 1.25rem; border: 2px solid transparent; border-radius: 999px; background: var(--chalk); color: var(--ink); font: 500 var(--step-0)/1 var(--font-body); }
.signup input[type="email"]::placeholder { color: var(--stone); }
.signup input[type="email"]:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.signup input[aria-invalid="true"] { border-color: var(--ember); }
.signup .btn { min-height: 56px; }
.signup .btn[disabled] { opacity: 0.7; cursor: progress; }
.signup__fine { font-size: var(--step--1); }
.signup__status { min-height: 1.5em; font-weight: 600; }
.signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) { .waitlist__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }

/* Footer */
.footer { background: var(--chalk); padding-block: clamp(3rem, 6vw, 5rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer__mark { font: 900 clamp(5.5rem, 1rem + 22vw, 21rem)/0.78 var(--font-display); letter-spacing: -0.065em; margin-bottom: clamp(2rem, 5vw, 4rem); }
.footer__cols { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer__cols h3 { font: 800 var(--step-0)/1.2 var(--font-display); margin-bottom: 0.4rem; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.footer__cols a { text-decoration: none; overflow-wrap: anywhere; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 1px solid var(--ink-line); font-size: var(--step--1); color: var(--stone); display: grid; gap: 0.4rem; }

/* Mobile waitlist dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem max(16px, env(safe-area-inset-right, 0px)) calc(0.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--chalk-glass); box-shadow: 0 -1px 0 var(--ink-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform 0.4s var(--ease);
}
.dock.is-visible { transform: none; }
.dock .btn { flex: 1 1 auto; }
.dock__price { font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) { .dock { display: none; } }

/* Simple pages */
.page { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 3rem); padding-bottom: var(--section); }
.page .nav { background: var(--chalk-glass); color: var(--ink); box-shadow: 0 1px 0 var(--ink-line); }
.prose { max-width: 42em; display: grid; gap: 1rem; }
.prose h1 { font: 900 var(--display)/0.95 var(--font-display); letter-spacing: -0.045em; margin-bottom: 1rem; }
.prose h2 { font: 800 var(--step-2)/1.2 var(--font-display); margin-top: 1.5rem; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
}
