/* TurboSurf — editorial page with Blender-built 3D boards.
   Palette from turbosurf.eu (amber, petrol) and from the boards themselves.
   Display face: Smooch Sans, the closest match to the lettering in the logo. */

@font-face {
  font-family: "Smooch Sans";
  src: url("../fonts/smooch-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Smooch Sans";
  src: url("../fonts/smooch-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mist: #f3f5f4;
  --ink: #0e2129;
  --ink-soft: #46585e;
  --petrol: #0b3c50;
  --petrol-deep: #08303f;
  --on-petrol-soft: #9fb7c1;
  --amber: #feb809;
  --amber-ink: #3a3420;
  --umber: #3b3326;
  --sand: #a39e90;
  --line: rgb(14 33 41 / 0.18);
  --line-strong: rgb(14 33 41 / 0.3);
  --line-light: rgb(243 245 244 / 0.22);

  --display: "Smooch Sans", "Arial Narrow", sans-serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --nav-h: 72px;
  --section-y: clamp(88px, 12vw, 184px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  scrollbar-color: var(--amber) var(--mist);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--mist);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
a {
  color: inherit;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

::selection { background: var(--amber); color: var(--ink); }
.why ::selection { background: var(--amber); color: var(--petrol); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--mist);
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------ type */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}

h2 {
  font-size: clamp(3.25rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 0.35em;
}

.statement {
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  line-height: 1.4;
  max-width: 36ch;
  text-wrap: pretty;
  margin: 0;
}

.section-note {
  margin-top: 1.4rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

.section-head { margin-bottom: clamp(56px, 7vw, 104px); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 0.875rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--mist); }
.btn--accent { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.btn--small { min-height: 38px; padding: 0 1rem; font-size: 0.8125rem; }
.btn--small:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), opacity 0.6s var(--ease-out);
}
.nav.is-solid {
  background: var(--mist);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav__links { display: flex; gap: clamp(14px, 2vw, 28px); font-size: 0.875rem; }
.nav__links a,
.footer nav a {
  text-decoration: none;
  background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.35s var(--ease-out);
}
.nav__links a:hover,
.footer nav a:hover { background-size: 100% 2px; }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__name { font-family: var(--display); font-weight: 550; font-size: 1.6rem; line-height: 1; }
.badge { width: 46px; height: auto; }
.nav__end { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  min-height: 38px;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 0.8125rem/1 var(--sans);
  cursor: pointer;
}
.nav__toggle[aria-expanded="true"] { background: var(--amber); border-color: var(--amber); }
.menu {
  position: absolute;
  inset: var(--nav-h) 0 auto;
  background: var(--mist);
  border-top: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line);
  padding: 8px var(--gutter) 20px;
  display: grid;
}
.menu[hidden] { display: none; }
.menu a {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  line-height: 1.3;
  text-decoration: none;
}
/* the panel unrolls downward from the nav, its links settling in one after another */
.menu { clip-path: inset(0 0 100% 0); transition: clip-path 0.3s var(--ease-out); }
.menu.is-open { clip-path: inset(0 0 -2px 0); transition-duration: 0.5s; }
.menu a { opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s var(--ease-out); }
.menu.is-open a { opacity: 1; transform: none; transition-duration: 0.45s; }
.menu.is-open a:nth-child(2) { transition-delay: 0.04s; }
.menu.is-open a:nth-child(3) { transition-delay: 0.08s; }
.menu.is-open a:nth-child(4) { transition-delay: 0.12s; }
.menu.is-open a:nth-child(5) { transition-delay: 0.16s; }

/* ------------------------------------------------------------------ 3D views */

/* each 3D view draws into its own canvas, inside the page, so it scrolls with it */
.view-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto minmax(30svh, 1fr) auto;
  padding-top: var(--nav-h);
  overflow: clip;
}
.hero__view { position: absolute; inset: 0; z-index: 3; pointer-events: none; } /* the board rides in front of the wordmark */

.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.8s var(--ease-out);
}
.viewer.is-live .poster { opacity: 0; }
/* without WebGL: the render fills the space between the wordmark and the copy */
.poster--hero { padding: 2vh var(--gutter) 3vh; }
html.js:not(.no-webgl) .poster--hero { display: none; }

.hero__mark {
  grid-row: 1;
  justify-self: center;
  position: relative;
  z-index: 2;
  font-size: min(22vw, 25svh);
  padding: 6svh 0 0;
}
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 550;
  font-size: 1em;
  line-height: 0.74;
  white-space: nowrap;
  color: var(--amber);
}
.wordmark span { display: block; padding: 0.04em 0 0.02em; }
.wordmark__canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}
html.js:not(.no-webgl) .hero__mark.is-canvas .wordmark span { color: transparent; }
html.js:not(.no-webgl) .hero__mark.is-canvas .wordmark__canvas { display: block; }

.hero__rest { grid-row: 2; position: relative; }

.hero__bar {
  grid-row: 3;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(20px, 4svh, 44px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
}
.hero__copy {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 50rem);
  padding-top: 14px;
  border-top: 2px solid var(--amber);
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 0.95;
  font-weight: 600;
  text-wrap: balance;
}
.hero__sub {
  max-width: 46rem;
  margin: 0.55em auto 0;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: balance;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* desktop: the nav already carries Produkty and Kontakt, so the hero keeps only the copy */
.hero .actions { display: none; }

.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 2px;
  margin-left: -90px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.4s;
}
.loader span {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: var(--amber);
  transition: width 0.3s var(--ease-out);
}

/* intro states (set by JS) */
html.js [data-intro="loading"] .loader { opacity: 1; }
html.js [data-intro] .hero__bar,
html.js .nav { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.js [data-intro="loading"] .hero__bar,
html.js [data-intro="flight"] .hero__bar {
  opacity: 0;
  transform: translateY(14px);
}
html.js.intro-active .nav,
html.js.intro-pending .nav { opacity: 0; pointer-events: none; }
html.js.intro-pending .hero__bar { opacity: 0; transform: translateY(14px); }
html.js.intro-pending .wordmark span { color: transparent; }
html.js [data-intro="done"] .hero__bar { transition-delay: 0.1s; }

/* -------------------------------------------------------------- products */

/* the section opens on a full-width amber bar carrying its heading */
.products__bar { background: var(--amber); }
.products__bar h2 {
  margin: 0;
  padding-block: clamp(18px, 2.6vw, 36px) clamp(14px, 2.2vw, 30px);
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 0.92;
  color: var(--ink);
}
.products > .wrap { padding-block: clamp(56px, 7vw, 112px) var(--section-y); }

.product {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr; /* a tall roll stretches the specs row, never the gap under the name */
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.product + .product {
  margin-top: var(--section-y);
  padding-top: var(--section-y);
  border-top: 1px solid var(--line);
}
.product__roll { grid-column: 1 / span 7; grid-row: 1 / span 2; position: sticky; top: calc(var(--nav-h) + 3svh); }
.product__head { grid-column: 9 / span 4; grid-row: 1; padding-top: clamp(8px, 2vw, 32px); }
.product__spec { grid-column: 9 / span 4; grid-row: 2; }

/* a roll: the 3D model first, then the photographs, looping without end (1 2 3 4 1 2 3 4 …);
   the slide at the left edge is in front and sharp, the ones waiting to its right are soft */
.roll { container-type: inline-size; }
/* without script the roll is a plain sideways-scrolling row */
.roll__track {
  --h: min(calc(86cqi * 0.775), calc(100svh - var(--nav-h) - 6svh - 6.5rem));
  position: relative;
  display: flex;
  gap: 12px;
  height: var(--h);
  overflow-x: auto;
  touch-action: pan-y;
  user-select: none;
}
.roll__slide {
  flex: none;
  height: 100%;
  aspect-ratio: var(--ar, 4 / 3.1);
  max-width: 86cqi;
  margin: 0;
}
.roll__slide img:not(.poster) { width: 100%; height: 100%; object-fit: cover; }
.roll img, .viewer img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
html.js .roll__track { display: block; overflow: hidden; cursor: grab; }
html.js .roll__track.is-dragging { cursor: grabbing; }
html.js .roll__slide {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transition: filter 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
}
html.js .roll__slide:not(.is-active) { filter: blur(4px); opacity: 0.55; cursor: pointer; }
.roll__hint {
  position: absolute;
  left: 14px;
  bottom: 10px;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  pointer-events: none;
}

.viewer {
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  outline-offset: -2px;
}
.viewer:active { cursor: grabbing; }
.roll__slide--3d { background: rgb(14 33 41 / 0.04); }
.viewer__stage { position: absolute; inset: 0; }
.viewer__stage.is-live .poster { opacity: 0; }
.roll__slide--3d .poster { transition: none; }
.roll__slide--3d:not(.is-active) .viewer__stage.is-live .poster { opacity: 1; }

.roll__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--amber);
}
.roll__thumbs { flex: 1; display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.roll__thumbs::-webkit-scrollbar { display: none; }
.roll__thumb {
  flex: none;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 0;
  background: rgb(14 33 41 / 0.04);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s, box-shadow 0.3s;
}
.roll__thumb img { width: 100%; height: 100%; object-fit: cover; }
.roll__thumb--3d img { object-fit: contain; padding: 4px; }
.roll__thumb:hover { opacity: 0.85; }
.roll__thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--ink); }
.roll__count { margin: 0 8px; font-size: 0.8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.roll__btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.roll__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; }
.roll__btn:hover:not(:disabled) { background: var(--ink); color: var(--amber); }

.product__name {
  font-size: clamp(4.25rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 0.85;
  margin-bottom: 0.2em;
}
.product__tag {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1rem;
}
.product__head > p { max-width: 46ch; }

.specs {
  margin: 1.75rem 0 2rem;
  border-top: 2px solid var(--amber);
}
.specs > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 40%) 1fr;
  gap: 16px;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; }
.todo {
  padding: 0.05em 0.35em;
  background: var(--amber);
  color: var(--ink);
  white-space: nowrap;
}

/* ------------------------------------------------------------------- why */

.why {
  background: var(--petrol);
  color: var(--mist);
  padding-block: var(--section-y);
}
.why h2 { color: var(--amber); }
.why a { color: var(--amber); }
.why :focus-visible { outline-color: var(--amber); }

.anatomy {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(24px, 4vw, 72px);
}
.anatomy__sticky {
  position: sticky;
  top: var(--nav-h);
  height: calc(100svh - var(--nav-h));
  align-self: start;
}
.anatomy__view {
  position: absolute;
  inset: 0 0 0 calc(-1 * (var(--gutter) + max(0px, (100vw - 1440px) / 2)));
  background: var(--petrol-deep);
  cursor: default;
}

.points { list-style: none; margin: 0; padding: 0; }
.point {
  min-height: 82svh;
  padding: 10svh 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.point:last-child { border-bottom: 1px solid var(--line-light); }
.point__view { display: none; }
.point h3 {
  color: var(--amber);
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  line-height: 0.95;
  margin-bottom: 0.55em;
  transition: opacity 0.6s var(--ease-out);
}
html.js .point:not(.is-active) h3 { opacity: 0.62; }
.point p { color: var(--on-petrol-soft); max-width: 46ch; }
.point .gain {
  color: var(--mist);
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-light);
}
.point__img { margin-top: 1.25rem; }
.point:nth-child(1) .point__img { width: 82%; }
.point:nth-child(2) .point__img { width: 58%; }
.point:nth-child(4) .point__img { width: 46%; margin-left: auto; }

.compare { margin-top: var(--section-y); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.compare__title {
  grid-column: 1 / span 5;
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  line-height: 0.95;
  color: var(--mist);
}
.qa { grid-column: 7 / span 6; margin: 0; border-top: 2px solid var(--amber); }
.qa > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line-light); }
.qa dt { font-weight: 700; font-size: 1.125rem; line-height: 1.35; margin-bottom: 0.3rem; }
.qa dd { margin: 0; color: var(--on-petrol-soft); }

/* ----------------------------------------------------------------- about */

.about { --ink-soft: #24343a; background: var(--sand); padding-block: var(--section-y); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.about__head { grid-column: 1 / span 8; }
.about h2, .about__sub { color: var(--umber); }
.about__photo { grid-column: 1 / span 7; align-self: start; }
.about__photo figcaption { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--line-strong); font-size: 0.8125rem; color: var(--ink-soft); }
.about__text { grid-column: 9 / span 4; }
.about__text > p { max-width: 44ch; }
.person { padding-top: 1rem; border-top: 2px solid var(--amber); }
.about__sub { font-size: 2.25rem; line-height: 1; margin: 2.5rem 0 0.8rem; }
.steps { margin: 0; border-top: 1px solid var(--line-strong); }
.steps > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 0.8rem 0; border-bottom: 1px solid var(--line-strong); font-size: 0.9375rem; line-height: 1.5; }
.steps dt { font-weight: 700; }
.steps dd { margin: 0; }

/* --------------------------------------------------------------- contact */

.contact { background: var(--amber); padding-block: var(--section-y); }
.contact a { text-decoration-color: var(--ink); }
.contact ::selection { background: var(--ink); color: var(--amber); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.contact__head { grid-column: 1 / span 7; }
.contact__lines { grid-column: 1 / span 7; border-top: 1px solid var(--line-strong); }
.big-link {
  display: block;
  padding: 0.18em 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: padding-left 0.4s var(--ease-out);
}
.big-link:hover { padding-left: 0.2em; }
.contact__meta { grid-column: 9 / span 4; align-self: end; margin: 0; border-top: 1px solid var(--line-strong); }
.contact__meta > div { padding: 0.8rem 0; border-bottom: 1px solid var(--line-strong); }
.contact__meta dt { font-size: 0.8125rem; color: var(--amber-ink); }
.contact__meta dd { margin: 0; }

/* ---------------------------------------------------------------- footer */

.footer { padding: clamp(48px, 7vw, 96px) 0 28px; overflow: hidden; }
.footer__mark {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: var(--display);
  font-weight: 550;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 3.58), 24rem);
  line-height: 0.74;
  color: var(--amber);
  white-space: nowrap;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.footer__row p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ------------------------------------------------------------ responsive */

/* short laptop screens: keep the hero bar above the fold */
@media (min-width: 641px) and (max-height: 800px) {
  .hero { grid-template-rows: auto minmax(26svh, 1fr) auto; }
  .hero__mark { padding-top: 4svh; }
}

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__brand { justify-self: start; }
  .nav__toggle { display: inline-flex; align-items: center; }
}

@media (max-width: 900px) {
  /* phones and tablets: name and description, then the photos, then the specs */
  .product { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .product__roll { grid-column: 1; grid-row: auto; position: relative; top: auto; margin-top: 28px; }
  .roll__track { --h: calc(86cqi * 0.8); }
  .roll__bar { flex-wrap: wrap; row-gap: 12px; }
  .roll__thumbs { flex: 1 0 100%; }
  .roll__thumb { width: 46px; height: 34px; }
  .roll__count { margin-left: auto; }
  .product__head, .product__spec { grid-column: 1; grid-row: auto; padding-top: 0; }

  .anatomy { grid-template-columns: minmax(0, 1fr); }
  .anatomy__sticky { display: none; }
  .point { min-height: 0; padding: 0 0 56px; }
  .point__view {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0 calc(-1 * var(--gutter)) 28px;
    background: var(--petrol-deep);
  }
  html.js .point:not(.is-active) h3 { opacity: 1; }
  .point__img { width: 100% !important; margin-left: 0 !important; }

  .compare, .about__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .compare__title, .qa, .about__head, .about__photo, .about__text,
  .contact__head, .contact__lines, .contact__meta { grid-column: 1; }
  .qa { margin-top: 32px; }
  .about__text { margin-top: 40px; }
  .contact__meta { margin-top: 48px; }

}

@media (max-width: 640px) {
  .hero { grid-template-rows: auto minmax(34svh, 1fr) auto; }
  .hero__mark { font-size: 23vw; padding-top: 10svh; }
  .hero__bar { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .hero__copy { grid-column: 1; width: 100%; }
  .hero .actions { display: flex; grid-column: 1; justify-content: stretch; }
  .hero h1 { font-size: 2.25rem; }
  :root { --nav-h: 60px; }
  .nav .btn--small { display: none; }
  .badge { width: 40px; }
  .actions .btn { flex: 1 1 140px; }
  .specs > div { grid-template-columns: minmax(6.5rem, 38%) 1fr; }
  .steps > div { grid-template-columns: 6rem 1fr; }
  .todo { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
