/* ==========================================================================
   Pilates Base — landing
   Design system: tokens → base → components → sections → motion → responsive
   ========================================================================== */

/* ---------------------------------------------------------------- fonts (self-hosted, latin, SIL OFL) */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-var.woff2") format("woff2"); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-400.woff2") format("woff2"); }

/* ---------------------------------------------------------------- tokens */
:root {
  /* ink: the page and the stage */
  --ink-1000: #070706;
  --ink-950: #0B0B0A;
  --ink-900: #121210;
  --ink-850: #181816;
  --ink-800: #201F1C;
  --ink-700: #2C2B27;

  /* bone: light surfaces */
  --bone-50: #F5F1EA;
  --bone-100: #ECE6DC;
  --bone-200: #DDD5C7;
  --paper: #FFFDF9;

  /* ember: the one accent */
  --ember-600: #E2470F;
  --ember-500: #FF5A1F;
  --ember-300: #FF9466;
  --ember-200: #FFB896;
  --ember-dark: #B13A0B;          /* accent text on light surfaces (≥ 4.5:1) */
  --air: #D6ECFB;                 /* breath on dark surfaces: pale sky */

  /* text on dark */
  --t1: #F5F1EA;
  --t2: rgba(245, 241, 234, .72);
  --t3: rgba(245, 241, 234, .52);
  --t-line: rgba(245, 241, 234, .10);

  /* text on light */
  --l1: #12110F;
  --l2: #47433C;
  --l3: #6E685F;
  --l-line: rgba(18, 17, 15, .10);

  /* type */
  --f-sans: 'Instrument Sans', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;   /* code only */
  --fs-hero: clamp(52px, 8.2vw, 136px);
  --fs-xl: clamp(56px, 8.4vw, 132px);
  --fs-h2: clamp(40px, 5.6vw, 88px);
  --fs-h3: 20px;
  --fs-lead: clamp(18px, 1.45vw, 21px);
  --fs-body: 17px;
  --fs-small: 14px;

  /* space & shape */
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(104px, 12vw, 184px);
  --r-xl: clamp(28px, 3vw, 44px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;

  /* depth */
  --glass-bg: rgba(24, 24, 21, .5);
  --glass-line: rgba(255, 255, 255, .09);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -28px rgba(0, 0, 0, .75);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --d-fast: .22s;
  --d-med: .5s;
  --d-slow: .9s;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--t1);
  font: 400 var(--fs-body)/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .4; }
h1, h2, h3, h4, p, ol, ul, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ember-500); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--ember-500); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--bone-50); color: var(--l1);
  transition: top var(--d-fast) var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------- type */
.h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.h1-xl {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.048em;
}
.h2 em, .h1-xl em, .hero-title em, .footer-mark em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  padding-right: .04em;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--t2); max-width: 40ch; text-wrap: pretty; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: color var(--d-med) var(--ease-out), transform var(--d-med) var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--ember-500);
  transform: translateY(101%);
  transition: transform var(--d-med) var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; transition: transform var(--d-med) var(--ease-out); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; height: 58px; }
.btn-light { background: var(--bone-50); color: var(--l1); }
.btn-light:hover, .btn-light:focus-visible { color: var(--ink-950); }
.btn-dark { background: var(--ink-950); color: var(--bone-50); }
.btn-dark:hover, .btn-dark:focus-visible { color: var(--ink-950); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--t1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); backdrop-filter: blur(8px); }
.btn-ghost::before { background: var(--bone-50); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--l1); }
.btn-ghost:hover svg { transform: translateY(3px); }
.link-btn { border: 0; background: none; padding: 12px 8px; color: var(--l2); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--l1); }

.icon-btn {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: transparent; color: var(--t2);
  transition: background var(--d-fast) ease, color var(--d-fast) ease, transform var(--d-med) var(--ease-out);
}
.icon-btn svg { width: 18px; height: 18px; transition: transform var(--d-slow) var(--ease-out); }
.icon-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .09); color: var(--t1); }
.icon-btn:active:not(:disabled) { transform: scale(.92); }
.icon-btn-solid { width: 44px; height: 44px; background: var(--bone-50); color: var(--l1); }
.icon-btn-solid svg { width: 15px; height: 15px; }
.icon-btn-solid:hover:not(:disabled) { background: #fff; color: var(--l1); }
#restart:hover:not(:disabled) svg { transform: rotate(-140deg); }
#recenter:hover:not(:disabled) svg { transform: scale(.86); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform var(--d-slow) var(--ease-out), background var(--d-med) ease, box-shadow var(--d-med) ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; transition: height var(--d-med) var(--ease-out); }
.site-header.is-scrolled {
  background: rgba(11, 11, 10, .68);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--t-line);
}
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { font-weight: 600; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; transition: opacity var(--d-fast) ease; }
.brand:hover { opacity: .75; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); font-size: 14.5px; }
.nav-link { position: relative; color: var(--t2); transition: color var(--d-fast) ease; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--d-med) var(--ease-out);
}
.nav-link:hover { color: var(--t1); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------------------------------------------------------------- hero */
/* the library's own character, Roll Up as a multiple exposure: ghosts trail into the final pose */
.hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex;
  overflow: hidden;
  background: var(--ink-950);
  isolation: isolate;
}
.hero-glow {
  position: absolute; z-index: -2; pointer-events: none;
  right: -12%; top: 18%; width: 78%; height: 78%;
  background:
    radial-gradient(closest-side, rgba(255, 90, 31, .30), rgba(255, 90, 31, .10) 55%, transparent),
    radial-gradient(closest-side at 70% 60%, rgba(255, 160, 110, .14), transparent);
  filter: blur(20px);
}
.hero-grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .10; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-figure {
  position: absolute; z-index: -1; margin: 0;
  right: -2vw; top: 50%; width: min(70vw, 1240px);
  transform: translate3d(0, calc(-46% + var(--py, 0px)), 0);
  will-change: transform;
}
.hero-figure img { width: 100%; height: auto; transform: scaleX(-1); }   /* motion reads left → right */
/* soft contact shadow under the pose */
.hero-figure::after {
  content: ""; position: absolute; left: 12%; right: 4%; bottom: 7%; height: 8%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
  filter: blur(6px); z-index: -1;
}
.hero-content {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(24px, 3vw, 36px);
  padding-top: 136px;
  padding-bottom: clamp(32px, 4.5vw, 56px);
}
.hero-content > .hero-title { margin-bottom: auto; }
.hero-title {
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.052em;
  color: #FFF8F2;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: block; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.hero-copy { max-width: 38ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 248, 242, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  display: flex; align-items: center; gap: 10px;
  padding-top: 22px; border-top: 1px solid rgba(255, 248, 242, .16);
  font-size: var(--fs-small); color: rgba(255, 248, 242, .7);
}
.hero-note::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ember-500); animation: pulse 2.4s var(--ease-out) infinite; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: var(--section); position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head .lead { max-width: 36ch; }

/* overview */
.overview-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gutter); align-items: start; }
.overview-intro { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 26px; }
.feature-list { grid-column: 8 / span 5; display: flex; flex-direction: column; padding-top: 10px; }
.feature-list li { display: flex; flex-direction: column; gap: 6px; padding: 26px 0; border-top: 1px solid var(--t-line); }
.feature-list li:last-child { border-bottom: 1px solid var(--t-line); }
.feature-list h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; }
.feature-list p { color: var(--t2); font-size: 16px; }

/* ---------------------------------------------------------------- demo viewer */
.demo { padding-top: clamp(40px, 5vw, 72px); }
.viewer {
  position: relative;
  height: clamp(620px, 58vw, 840px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 85% at 55% 18%, #2A2925 0%, #151513 55%, #0C0C0A 100%);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .9);
}
/* hairline frame drawn above every layer, so it never breaks where the scene meets the caption */
.viewer::after { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); pointer-events: none; }
.v-stage { position: absolute; inset: 0; }
/* two stacked videos: the next exercise loads in the idle one and dissolves in over the current */
.stage { position: absolute; inset: 0; outline: none; overflow: hidden; }
.stage:focus-visible { box-shadow: inset 0 0 0 2px var(--ember-500); }
.stage-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  opacity: 0; transform: scale(1.015);
  transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out);
  pointer-events: none;
}
.stage-video.is-active { opacity: 1; transform: none; }
/* quiet vignette: keeps type legible where it sits over the scene */
.v-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10, 10, 9, .78) 0%, rgba(10, 10, 9, 0) 34%),
    linear-gradient(90deg, rgba(10, 10, 9, .5) 0%, rgba(10, 10, 9, 0) 26%);
}

/* top: apparatus tabs (text, sliding underline) and a hint */
.v-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(22px, 2.4vw, 32px) clamp(24px, 2.6vw, 36px) 0;
}
.v-tabs { position: relative; display: flex; gap: clamp(18px, 2vw, 30px); }
.v-tabs-line {
  position: absolute; left: 0; bottom: -8px; height: 1.5px; border-radius: 2px; background: var(--t1);
  width: var(--w, 0px); transform: translateX(var(--x, 0px));
  transition: transform var(--d-med) var(--ease-out), width var(--d-med) var(--ease-out);
}
.v-tab {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px;
  min-height: 32px; padding: 0; border: 0; background: none;
  color: var(--t3); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: color var(--d-med) var(--ease-out);
}
.v-tab:hover { color: var(--t2); }
.v-tab[aria-selected="true"] { color: var(--t1); }
.v-tab small { font-size: 12px; font-weight: 400; color: var(--ember-300); }
.v-tab small.is-count { color: inherit; opacity: .6; }

/* left: exercise index, text only */
.v-list {
  position: absolute; z-index: 3; left: clamp(24px, 2.6vw, 36px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 18px;
}
.v-list-items { display: flex; flex-direction: column; }
.v-ex {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 38px; padding: 0; border: 0; background: none; text-align: left;
  color: var(--t3); font-size: 15.5px; white-space: nowrap;
  transition: color var(--d-fast) ease;
}
.v-ex::before { content: ""; width: 0; height: 1.5px; border-radius: 2px; background: var(--ember-500); transition: width var(--d-med) var(--ease-out); }
.v-ex:hover { color: var(--t2); }
.v-ex[aria-pressed="true"] { color: var(--t1); }
.v-ex[aria-pressed="true"]::before { width: 18px; }
.v-more { font-size: 13.5px; color: var(--t3); transition: color var(--d-fast) ease; }
.v-more span { display: inline-block; transition: transform var(--d-med) var(--ease-out); }
.v-more:hover { color: var(--ember-200); }
.v-more:hover span { transform: translateX(4px); }

/* bottom-left: what is happening now */
.v-caption {
  position: absolute; z-index: 3; left: clamp(24px, 2.6vw, 36px); bottom: clamp(24px, 2.6vw, 36px);
  width: min(520px, calc(100% - 420px));
  pointer-events: none;
}
.v-name { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; transition: opacity .26s ease, transform .26s ease; }
.v-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13.5px; color: var(--t2); }
.v-meta #breath { color: var(--air); }
.v-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--t3); }
.v-text { margin-top: 12px; min-height: 2.9em; font-size: 17px; line-height: 1.45; color: var(--t1); text-wrap: pretty; transition: opacity .26s ease, transform .26s ease; }
.v-text.is-out, .v-name.is-out { opacity: 0; transform: translateY(6px); }
/* step bar: a segment per step, sized by its duration; the current one fills with the video, click to jump */
.v-steps { display: flex; gap: 4px; margin-top: 18px; pointer-events: auto; }
.v-seg { position: relative; flex: 1 1 0; min-width: 6px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.v-seg::before, .v-seg i { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; }
.v-seg::before { background: rgba(255, 255, 255, .14); transition: background var(--d-fast) ease, transform var(--d-fast) ease; }
.v-seg i { background: var(--ember-500); transform-origin: left; transform: scaleX(var(--f, 0)); }
.v-seg.is-done i { transform: scaleX(1); background: rgba(255, 144, 102, .55); }
.v-seg:hover::before { background: rgba(255, 255, 255, .3); transform: scaleY(1.6); }
.v-seg:focus-visible { outline: 2px solid var(--ember-500); outline-offset: 2px; border-radius: 4px; }

/* breath: a hairline ring is a full breath; the dot inside fills on the inhale and empties on the exhale,
   paced by the step it belongs to (viewer.js sets --b from 0 to 1) */
/* drawn as SVG on a 24-unit grid so the ring and the dot stay perfectly round and centred at any pixel ratio */
.breath { width: 12px; height: 12px; flex: none; overflow: visible; }
.breath-ring { fill: none; stroke: var(--air); stroke-opacity: .45; stroke-width: 2; }
.breath-fill {
  fill: var(--air);
  transform-box: fill-box; transform-origin: center;
  transform: scale(calc(.24 + var(--b, .5) * .76));
  opacity: calc(.55 + var(--b, .5) * .45);
}

/* bottom-right: one slim control dock */
.v-dock {
  position: absolute; z-index: 3; right: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 32px);
  display: flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

/* the playback dock has nothing to control while an upcoming apparatus is shown */
.viewer:has(.soon:not([hidden])) .v-dock { opacity: 0 !important; pointer-events: none; }

/* states */
.v-state {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 32px; text-align: center; font-size: 14px; color: var(--t2);
  transition: opacity var(--d-med) ease;
}
.v-state > span { max-width: 36ch; }
.v-loading { flex-direction: row; gap: 12px; pointer-events: none; animation: fade-in .4s var(--ease-out) both; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16); border-top-color: var(--bone-50); animation: spin .9s linear infinite; }

/* centred with auto margins inside a scroll box: when the card is taller than the stage it scrolls
   instead of overflowing upward under the apparatus tabs */
.soon {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; padding: 88px 24px 28px;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  background: rgba(8, 8, 7, .62);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fade-in var(--d-med) var(--ease-out) both;
}
.soon::-webkit-scrollbar { display: none; }
.soon-card { margin-block: auto; width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; animation: rise-in var(--d-slow) var(--ease-out) both; }
.soon-card h3 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.soon-card p { color: var(--t2); font-size: 15.5px; max-width: 34ch; }
.soon-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 10px; }
.soon-items li { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 13px; color: var(--t2); animation: fade-in var(--d-med) var(--ease-out) both; animation-delay: calc(var(--n, 0) * 35ms + 120ms); }

/* ---------------------------------------------------------------- method (light sheet) */
.method {
  margin-inline: clamp(8px, 1.2vw, 18px);
  border-radius: var(--r-xl);
  background: var(--bone-50);
  color: var(--l1);
}
.method .lead { color: var(--l2); }
.method-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gutter); align-items: start; }
.method-intro { grid-column: 1 / span 5; position: sticky; top: 112px; display: flex; flex-direction: column; gap: 26px; }
.uses { display: flex; flex-direction: column; margin-top: 6px; }
.uses li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--l-line); font-size: 16.5px; }
.uses li:last-child { border-bottom: 1px solid var(--l-line); }
.uses li::before { content: "→"; color: var(--ember-dark); font-weight: 500; }

.card {
  grid-column: 7 / span 6;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.2vw, 46px);
  display: flex; flex-direction: column; gap: 30px;
  box-shadow: 0 1px 0 rgba(18, 17, 15, .04), 0 50px 90px -50px rgba(80, 45, 15, .35);
}
.card-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--l-line); }
.card-title { font-size: clamp(32px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags li { padding: 6px 12px; border-radius: 999px; background: var(--bone-100); font-size: 13.5px; color: var(--l2); }
.card-block { display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; }
.card-block h4 { margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--l1); }
.card-steps li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--l-line); }
.card-steps li:first-child { border-top: 0; padding-top: 2px; }
/* the viewer's breath icon, frozen: full dot = inhale, small dot = exhale, half = natural */
.b { display: inline-flex; align-items: center; gap: 8px; height: 24px; font-size: 13.5px; font-weight: 500; color: var(--l2); }
.b::before { content: ""; width: 12px; height: 12px; flex: none; background: center / 12px 12px no-repeat; }
.b-in::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%234E86B4' stroke-opacity='.55' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='7.5' fill='%234E86B4'/%3E%3C/svg%3E"); }
.b-ex::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%234E86B4' stroke-opacity='.55' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='2.2' fill='%234E86B4'/%3E%3C/svg%3E"); }
.b-na::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%234E86B4' stroke-opacity='.55' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4.6' fill='%234E86B4' fill-opacity='.8'/%3E%3C/svg%3E"); }
.b-na { color: var(--l3); }
.card-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card-foot { padding-top: 26px; border-top: 1px solid var(--l-line); }
.card-quote { font: italic 400 19px/1.35 var(--f-serif); color: var(--l2); }
.card .soft { color: var(--l3); }
.card b { font-weight: 600; }

/* ---------------------------------------------------------------- developers */
.dev-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gutter); align-items: center; }
.dev-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 26px; }
.dev-steps { margin-top: 10px; counter-reset: step; }
.dev-steps li { position: relative; padding: 22px 0 22px 44px; border-top: 1px solid var(--t-line); counter-increment: step; }
.dev-steps li:last-child { border-bottom: 1px solid var(--t-line); }
.dev-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 22px;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--t-line); font-size: 13px; color: var(--t2); font-variant-numeric: tabular-nums;
}
.dev-steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.dev-steps p { color: var(--t2); font-size: 15.5px; margin-top: 2px; }

.code {
  grid-column: 7 / span 6;
  border-radius: var(--r-lg);
  background: var(--ink-900);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 60px 100px -60px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.code-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--t-line); font: 400 12.5px/1 var(--f-mono); color: var(--t2); }
.code-dots { display: flex; gap: 6px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-700); }
.code-url b { font-weight: 400; color: var(--ember-300); margin-right: 6px; }
.code-tag { margin-left: auto; font: 400 12.5px/1 var(--f-sans); color: var(--t3); }
.code-body { margin: 0; padding: 26px 24px 30px; overflow-x: auto; font: 400 13.5px/1.8 var(--f-mono); color: var(--t2); tab-size: 2; }
.code-body .k { color: #EDE6DA; }
.code-body .s { color: var(--ember-300); }
.code-body .n { color: #B9C9A4; }
.code-body .p { color: rgba(245, 241, 234, .45); }
.code-body .hl { display: inline-block; min-width: calc(100% + 48px); margin: 0 -24px; padding: 0 24px; background: linear-gradient(90deg, rgba(255, 90, 31, .16), rgba(255, 90, 31, .04)); box-shadow: inset 2px 0 0 var(--ember-500); }

/* ---------------------------------------------------------------- waitlist (ember sheet) */
.waitlist { padding-top: 0; }
.waitlist-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gutter);
  padding: clamp(36px, 6vw, 96px);
  border-radius: var(--r-xl);
  background: var(--ember-500);
  color: var(--ink-950);
}
.waitlist-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.waitlist-panel::after {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; top: -40%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 160, .55), transparent);
  pointer-events: none;
}
.waitlist-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 28px; }
.waitlist-copy .lead { color: rgba(11, 11, 10, .78); }
.perks { display: flex; flex-direction: column; gap: 12px; font-size: 16.5px; font-weight: 500; }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks li::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--ink-950) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.lead-card {
  grid-column: 8 / span 5; align-self: center;
  background: var(--bone-50); color: var(--l1);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.8vw, 38px);
  box-shadow: 0 40px 80px -40px rgba(70, 20, 0, .55);
  display: grid;
}
.form-step { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 18px; }
.form-step.is-entering { animation: step-in var(--d-slow) var(--ease-out) both; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--l2); }
.field input, .field select {
  width: 100%; height: 56px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--bone-200); background: #fff;
  font-size: 16px; font-weight: 400; color: var(--l1);
  transition: border-color var(--d-fast) ease, box-shadow var(--d-fast) ease;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: #9A938A; }
.field input:hover, .field select:hover { border-color: #C9BFAF; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ember-500); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }
.field input[aria-invalid="true"] { border-color: var(--ember-dark); }
.field-error { font-style: normal; font-weight: 500; font-size: 13px; color: var(--ember-dark); }
.select { position: relative; display: block; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--l2); border-bottom: 1.5px solid var(--l2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.wished { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--l2); }
#wishedChips { display: flex; gap: 6px; flex-wrap: wrap; }
.wish-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 8px 0 12px; border: 0; border-radius: 999px;
  background: var(--ink-950); color: var(--bone-50); font-size: 13px;
  transition: background var(--d-fast) ease, opacity .2s ease, transform .2s ease;
}
.wish-chip.is-new { animation: pop var(--d-med) var(--ease-out) both; }
.wish-chip i { position: relative; width: 16px; height: 16px; border-radius: 50%; background: rgba(245, 241, 234, .14); transition: background var(--d-fast) ease; }
.wish-chip i::before, .wish-chip i::after { content: ""; position: absolute; left: 4.5px; right: 4.5px; top: 7.25px; height: 1.5px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.wish-chip i::after { transform: rotate(-45deg); }
.wish-chip:hover { background: var(--ink-800); }
.wish-chip:hover i { background: var(--ember-500); }
.wish-chip.is-leaving { opacity: 0; transform: scale(.85); }
.fine { font-size: 13px; color: var(--l3); }
.form-title { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.tick { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 6px; border-radius: 50%; background: var(--ember-500); color: var(--ink-950); font-size: 15px; vertical-align: 3px; animation: pop var(--d-slow) var(--ease-out) .15s both; }
fieldset legend { margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--l2); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--bone-200); background: #fff; color: var(--l1); font-size: 14.5px;
  transition: background var(--d-fast) ease, color var(--d-fast) ease, border-color var(--d-fast) ease, transform var(--d-med) var(--ease-out);
}
.choice:hover { border-color: #C9BFAF; }
.choice:active { transform: scale(.96); }
.choice[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--bone-50); }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-done { padding: 20px 0; }
.form-done .form-title { font-size: 34px; }
/* sending: the label gives way to a small spinner, the button keeps its size */
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] > span { opacity: 0; }
.btn[aria-busy="true"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; border: 1.5px solid rgba(245, 241, 234, .22); border-top-color: var(--bone-50);
  animation: spin .9s linear infinite;
}
.form-error { margin-top: -6px; font-size: 13.5px; font-weight: 500; color: var(--ember-dark); }
/* Turnstile stays invisible unless Cloudflare needs the visitor to click */
.captcha:empty { display: none; }
.captcha iframe { max-width: 100%; }
/* honeypot: out of sight and out of the tab order */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- 404 */
.not-found { min-height: 100svh; display: grid; align-items: center; }
.not-found .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: clamp(80px, 10vw, 140px) 0 clamp(28px, 3.4vw, 48px); overflow: hidden; }
.footer-mark {
  font-size: clamp(34px, 9.2vw, 140px); font-weight: 500; letter-spacing: -.06em; line-height: .9;
  color: rgba(245, 241, 234, .9);
  white-space: nowrap;
}
.footer-mark em { color: var(--ember-500); }
.footer-contact { margin-bottom: clamp(28px, 4vw, 56px); font-size: 17px; }
.footer-contact a { color: var(--t2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color var(--d-fast) ease, text-decoration-color var(--d-fast) ease; }
.footer-contact a:hover, .footer-contact a:focus-visible { color: var(--t1); text-decoration-color: var(--ember-500); }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes step-in { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes intro-line { from { transform: translateY(105%); } }
@keyframes intro-fade { from { opacity: 0; transform: translateY(22px); } }
/* the exposure develops in the direction of the movement */
@keyframes intro-wipe { from { clip-path: inset(0 0 0 100%); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes intro-header { from { opacity: 0; transform: translateY(-14px); } }

/* page intro: header, photograph, headline lines, copy */
.js .site-header { animation: intro-header 1s var(--ease-out) .5s both; }
.js .hero-figure img { animation: intro-wipe 2.4s var(--ease-io) .35s both; }
.js .hero-glow { animation: fade-in 2.4s var(--ease-out) .2s both; }
.js .hero-title .line > .intro { animation: intro-line 1.25s var(--ease-out) both; animation-delay: calc(var(--i) * 110ms + 250ms); }
.js .hero-copy.intro, .js .hero-actions.intro, .js .hero-note.intro { animation: intro-fade 1.1s var(--ease-out) both; animation-delay: calc(var(--i) * 110ms + 350ms); }

/* scroll reveals (motion.js adds .is-in) */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="scale"] { transform: translate3d(0, 60px, 0) scale(.94); transform-origin: 50% 0; transition-duration: 1.2s, 1.6s; }
.js [data-reveal="rise"] { transform: translate3d(0, 72px, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* inner stagger for the card steps */
.js .card .card-steps li { opacity: 0; transform: translateX(-10px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.js .card.is-in .card-steps li { opacity: 1; transform: none; }
.card-steps li:nth-child(1) { transition-delay: .35s; }
.card-steps li:nth-child(2) { transition-delay: .43s; }
.card-steps li:nth-child(3) { transition-delay: .51s; }
.card-steps li:nth-child(4) { transition-delay: .59s; }
.card-steps li:nth-child(5) { transition-delay: .67s; }
.card-steps li:nth-child(6) { transition-delay: .75s; }

/* code: lines draw in */
.js .code .code-body { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-io) .25s; }
.js .code.is-in .code-body { clip-path: inset(0 0 0 0); }

/* demo chrome eases in after the scene appears */
.js .viewer .v-top, .js .viewer .v-list, .js .viewer .v-caption, .js .viewer .v-dock { opacity: 0; transition: opacity 1s var(--ease-out) .5s, transform 1.2s var(--ease-out) .5s; }
.js .viewer .v-list { transform: translate(-12px, -50%); }
.js .viewer .v-caption, .js .viewer .v-dock { transform: translateY(12px); }
.js .viewer.is-in .v-top, .js .viewer.is-in .v-list, .js .viewer.is-in .v-caption, .js .viewer.is-in .v-dock { opacity: 1; }
.js .viewer.is-in .v-list { transform: translate(0, -50%); }
.js .viewer.is-in .v-caption, .js .viewer.is-in .v-dock { transform: none; }

/* footer wordmark slides up as it enters */
.js .footer-mark { transform: translateY(var(--fy, 40%)); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .overview-intro, .feature-list { grid-column: 1 / -1; }
  .method-intro { grid-column: 1 / -1; position: static; }
  .card { grid-column: 1 / -1; }
  .dev-copy, .code { grid-column: 1 / -1; }
  .waitlist-copy, .lead-card { grid-column: 1 / -1; }
  .v-caption { width: min(440px, calc(100% - 360px)); }
}

/* phone & small tablet: the scene stays clean, the index and caption move below it */
@media (max-width: 860px) {
  .nav-link { display: none; }
  .header-inner { height: 64px; }

  /* one block, centred in the screen: title → figure → copy, with no stretched gaps between them */
  .hero-content { padding-top: 104px; justify-content: center; gap: 22px; }
  .hero-content > .hero-title { margin-bottom: 0; }
  /* ghosts may bleed off the left edge; the final pose and the feet stay inside the right margin */
  .hero-figure { position: relative; right: auto; top: auto; width: 116%; max-width: 760px; margin: 0 0 0 -16%; transform: translate3d(0, var(--py, 0px), 0); }
  .hero-figure::before {
    content: ""; position: absolute; z-index: -1; left: 30%; right: -10%; top: -20%; bottom: -20%;
    background: radial-gradient(closest-side, rgba(255, 90, 31, .26), rgba(255, 90, 31, .08) 60%, transparent);
    filter: blur(16px);
  }
  .hero-glow { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }

  /* one continuous surface: the scene's light fades into the exact colour the caption sits on */
  .viewer { --v-base: #131311; height: auto; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--v-base); }
  /* the tall cut fits the stage height and sits centred; the stage repaints the video's own glow around it
     (same gradient, sized to the 3:4 frame), so on wider stages the scene simply continues past its edges */
  .v-stage {
    --sh: min(64svh, 500px);
    position: relative; inset: auto; height: var(--sh);
    background: radial-gradient(calc(var(--sh) * .825) calc(var(--sh) * .8) at calc(50% + var(--sh) * .0375) 30%, #2A2925 0%, #1A1917 50%, var(--v-base) 100%);
  }
  .stage-video {
    left: 50%; right: auto; width: auto; aspect-ratio: 810 / 1080;
    transform: translateX(-50%) scale(1.015);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .stage-video.is-active { transform: translateX(-50%); }
  .v-shade { background: linear-gradient(0deg, var(--v-base) 0%, rgba(19, 19, 17, .85) 10%, rgba(19, 19, 17, 0) 32%), linear-gradient(180deg, rgba(19, 19, 17, .55) 0%, rgba(19, 19, 17, 0) 20%); }
  .v-top { padding: 18px 20px 0; }
  .v-tabs { overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; margin-bottom: -10px; }
  .v-tabs::-webkit-scrollbar { display: none; }
  .soon { padding: 68px 18px 22px; background: linear-gradient(180deg, rgba(19, 19, 17, .66) 0%, rgba(19, 19, 17, .8) 70%, var(--v-base) 100%); }
  .soon-card { gap: 12px; }
  .soon-card p { font-size: 14.5px; }
  .soon-items { gap: 5px; margin: 2px 0 6px; }
  .soon-items li { padding: 5px 10px; font-size: 12.5px; }
  /* compact, centred, floating over the scene's fade — not a divider between scene and caption */
  .v-dock { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); }
  .js .viewer .v-dock, .js .viewer.is-in .v-dock { transform: translateX(-50%); }

  .js .viewer .v-list, .js .viewer.is-in .v-list,
  .js .viewer .v-caption, .js .viewer.is-in .v-caption { transform: none; }
  .v-caption { position: static; width: auto; order: 2; margin-top: -4px; padding: 8px 20px 0; pointer-events: auto; }
  .v-list { position: static; order: 3; gap: 0; padding: 20px 20px 22px; }
  .v-list-items { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 14px; scroll-padding-inline: 20px; scroll-snap-type: x proximity; }
  .v-list-items::-webkit-scrollbar { display: none; }
  .v-ex { min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--t-line); scroll-snap-align: start; }
  .v-ex::before { display: none; }
  .v-ex[aria-pressed="true"] { background: var(--bone-50); color: var(--l1); box-shadow: none; }
  .v-more { padding-top: 4px; }

  .card-cols { grid-template-columns: minmax(0, 1fr); }
  .card-steps li { grid-template-columns: 74px 1fr; }
}

@media (max-width: 520px) {
  .brand { font-size: 15.5px; }
  .hero-title { letter-spacing: -.05em; }
  .hero-bottom { gap: 22px; }
  .section-head { margin-bottom: 28px; }
  .lead-card { padding: 22px; }
  .waitlist-panel { padding: 28px 22px 22px; }
  .code-body { font-size: 12.5px; padding: 22px 18px; }
  .code-body .hl { min-width: calc(100% + 36px); margin: 0 -18px; padding: 0 18px; }
  .code-tag { display: none; }
}

@media (max-width: 400px) {
  .header-inner { gap: 12px; }
  .header-inner .btn-sm { padding: 0 16px; }
}
@media (max-width: 360px) {
  .brand { font-size: 14px; }
  .header-inner .btn-sm { height: 38px; padding: 0 13px; font-size: 13px; }
}
@media (max-width: 400px) {
  /* the stage goes almost edge to edge on small phones */
  .demo > .wrap { padding-inline: 10px; }
  .demo .section-head { padding-inline: 10px; }
  .v-dock { bottom: 10px; gap: 2px; padding: 5px; }
  .v-dock .icon-btn { width: 36px; height: 36px; }
  .v-dock .icon-btn-solid { width: 40px; height: 40px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .card .card-steps li { opacity: 1; transform: none; }
  .js .viewer .v-top, .js .viewer .v-caption, .js .viewer .v-dock { opacity: 1; transform: none; }
  .js .viewer .v-list { opacity: 1; }
  .js .code .code-body { clip-path: none; }
  .js .hero-figure img { clip-path: none; opacity: 1; }
  .js .footer-mark { transform: none; }
}
