/* =========================================================================
   Skatesphere — landing page
   Built from the Figma file "Skatesphere Agency Website" (frame: Home • Skatesphere, 1440 × 8211).

   Sizing: on desktop every measurement is the Figma pixel value multiplied by --s,
   so the page renders 1:1 with Figma at 1440px wide and scales proportionally
   between 900px and 1920px. Below 900px a dedicated mobile layout takes over.
   ========================================================================= */

/* ---------- Fonts ---------- */
/* Headline face (Google Fonts, OFL) */
@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Punctuation face (Google Fonts, OFL) */
@font-face { font-family: "Biryani"; src: url("../fonts/biryani-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Biryani"; src: url("../fonts/biryani-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Biryani"; src: url("../fonts/biryani-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
/* Text face (Google Fonts, OFL) */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue: #211FFE;      /* Electric Indigo */
  --cream: #F3F1E4;     /* Dawn */
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --orange: #FF4E00;
  --navy: #001749;
  --grey: #575757;
  --muted: #777777;
  --line: #C6C6C6;
  --sky: #82AAFF;
  --avatar: #D9D9D9;
  --font-display: "Gabarito", "Biryani", system-ui, sans-serif;
  --font-text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--blue);
  font-family: var(--font-text);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
ul, dl, dd, figure, blockquote, h1, h2, p { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.page {
  container-type: inline-size;
  /* 1 Figma pixel. Capped so very wide screens don't blow the layout up past 1920px. */
  --s: min(calc(100cqi / 1440), 1.33334px);
  position: relative;
}
.frame { position: relative; width: calc(1440 * var(--s)); margin-inline: auto; }

/* ---------- Shared type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  color: var(--blue);
  letter-spacing: 0;
  font-kerning: normal;
}
/* 64px single-line headlines: Figma sets their baseline 46px into a 64px line box. */
.display--64 { font-size: calc(64 * var(--s)); line-height: calc(64 * var(--s)); position: relative; top: -0.1213em; }
/* Punctuation is set in Biryani in the design */
.bi { font-family: "Biryani", var(--font-text); font-weight: 400; line-height: 0; }
.bi--700 { font-weight: 700; }
.bi--800 { font-weight: 800; }

/* Orange hand-drawn underline */
.scribble { position: relative; white-space: nowrap; }
.scribble::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: no-repeat 0 0 / 100% 100%;
  /* Drawn like chalk: a soft-edged mask sweeps left to right to reveal the brush stroke */
  -webkit-mask-image: linear-gradient(90deg, #000 49%, transparent 51%);
          mask-image: linear-gradient(90deg, #000 49%, transparent 51%);
  -webkit-mask-size: 220% 100%;
          mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
  transition: -webkit-mask-position .7s cubic-bezier(.45, 0, .2, 1), mask-position .7s cubic-bezier(.45, 0, .2, 1);
}
/* Until the line has scrolled into view it stays undrawn (main.js marks it shown) */
[data-motion="on"] .scribble:not([data-shown="true"])::after { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.scribble--about::after, .scribble--footer::after { transition-delay: .35s; }
.scribble--services::after { left: 5.47%; top: 1.1864em; width: 89.6%; height: 0.3864em; background-image: url("../img/underline-services.svg"); }
.scribble--about::after    { left: 1.1673em; top: 1.0955em; width: 9.682em; height: 0.5682em; background-image: url("../img/underline-about.svg"); }
.scribble--footer::after   { left: 22.8%; top: 1.1697em; width: 64.99%; height: 0.1328em; background-image: url("../img/underline-footer.svg"); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--s));
  height: calc(60 * var(--s));
  padding: 0 calc(12 * var(--s)) 0 calc(24 * var(--s));
  border-radius: calc(32 * var(--s));
  font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text);
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn img { width: calc(32 * var(--s)); height: calc(32 * var(--s)); }
.btn--blue { background: var(--blue); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--blue); padding: 0 calc(24 * var(--s)); }
.btn--cream img { width: calc(16 * var(--s)); height: calc(16 * var(--s)); }
/* Pressed: the button sinks in (inner shadow from the "Buttons" component, pressed state) */
.btn:active { box-shadow: inset 0 calc(4 * var(--s)) calc(4 * var(--s)) rgba(0, 0, 0, .25); }

/* Hover / keyboard focus, on every button with an icon (arrows, play, Instagram, mail, LinkedIn):
   the icon slides up and out of the top while a fresh copy rises in from the bottom — the uiverse
   "silly-cat" swap, run bottom-to-top instead of diagonally. Moving away plays it back down. */
.swap { position: relative; display: inline-grid; flex: none; overflow: hidden; }
.swap > img { grid-area: 1 / 1; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.swap > img + img { transform: translateY(110%); }
:is(.btn, .icon-btn):is(:hover, :focus-visible) .swap > img:first-child { transform: translateY(-110%); }
:is(.btn, .icon-btn):is(:hover, :focus-visible) .swap > img + img { transform: none; transition-delay: .06s; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: absolute;
  z-index: 20;
  top: calc(40 * var(--s));
  left: 50%;
  transform: translateX(-50%);
  width: calc(1040 * var(--s));
  height: calc(100 * var(--s));
  padding: calc(28 * var(--s)) calc(40 * var(--s)) 0 calc(30 * var(--s));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--blue);
  border-radius: calc(8 * var(--s));
}
.nav__logo img { width: calc(96 * var(--s)); height: calc(46 * var(--s)); }
.nav__menu { position: relative; width: calc(48 * var(--s)); height: calc(20 * var(--s)); margin-top: calc(12 * var(--s)); }
.nav__menu::before { content: ""; position: absolute; inset: calc(-14 * var(--s)); }
.nav__menu span {
  position: absolute; left: 0; width: 100%; height: calc(4 * var(--s));
  background: var(--cream);
  transition: transform .25s ease, top .25s ease;
}
.nav__menu span:first-child { top: 0; }
.nav__menu span:last-child { top: calc(16 * var(--s)); }
.nav.is-open .nav__menu span:first-child { top: calc(8 * var(--s)); transform: rotate(45deg); }
.nav.is-open .nav__menu span:last-child { top: calc(8 * var(--s)); transform: rotate(-45deg); }
.nav__panel {
  position: absolute;
  top: calc(100% + calc(8 * var(--s)));
  right: 0;
  width: calc(360 * var(--s));
  padding: calc(24 * var(--s)) calc(30 * var(--s));
  background: var(--blue);
  border-radius: calc(8 * var(--s));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel a {
  display: block;
  padding: calc(6 * var(--s)) 0;
  font: 600 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text);
  text-transform: uppercase;
  color: var(--cream);
}
.nav__panel a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* =========================================================================
   INTRO — wordmark (Figma y 0–1024)
   ========================================================================= */
.intro { height: calc(1024 * var(--s)); position: relative; z-index: 3; }
.intro .frame { height: 100%; }
.intro__art {
  position: absolute;
  left: calc(311 * var(--s));
  top: calc(313.5 * var(--s));
  width: calc(1089 * var(--s));
  aspect-ratio: 1089 / 641.5;
  container-type: inline-size;
}
/* The dot and the two drumsticks are separate pieces so they can be animated */
.intro__stick    { position: absolute; display: block; }
.intro__stick img { width: 100%; height: auto; }
.intro__stick--a { left: 11.708%; top: 2.338%; width: 8.127%; transform-origin: 0.56% 98.05%; }   /* tip of the stick */
.intro__stick--b { left: 12.167%; top: 0.390%; width: 5.601%; transform-origin: 0.82% 99.13%; }
.intro__stick--a img { transform-origin: 99.5% 0.9%; }   /* pivot at the butt of the stick */
.intro__stick--b img { transform-origin: 99.2% 0.4%; }
.intro__dot {
  position: absolute;
  left: 0;
  top: 19.096%;
  width: 12.121%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  transform-origin: 50% 100%;   /* squash from the bottom, like a ball */
}
.intro__drumroll { position: absolute; left: 16.529%; top: 9.899%; font: 600 calc(22 * 100cqw / 1089)/1.5 var(--font-text); white-space: nowrap; }
.intro__wordmark { position: absolute; left: 0; top: 18.161%; width: 100%; }
.intro__wordmark img { width: 100%; height: auto; }
.intro__studio   { position: absolute; left: 71.35%; top: 96.165%; font: 600 calc(36 * 100cqw / 1089)/1.5 var(--font-text); white-space: nowrap; }

/* ---------- Intro animation ----------
   0.25s  the dot bounces in from the left: three hops, each lower, with a squash on every landing
   1.70s  the sticks uncross and line up side by side above the dot
   2.14s  drum roll: the sticks hit the dot alternately, 6 hits, the dot gives a little on each one
   3.24s  the sticks cross again and go back to where they started                        */
@keyframes dot-travel {
  0%   { translate: -45vw 0; }
  100% { translate: 0 0; }
}
/* height of each hop + a squash when the ball lands */
@keyframes dot-bounce {
  0%    { transform: translateY(-14cqw); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  28%   { transform: translateY(0); animation-timing-function: ease-out; }
  31%   { transform: translateY(0) scale(1.16, .84); animation-timing-function: ease-out; }
  34%   { transform: translateY(-1.4cqw) scale(.94, 1.07); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  47%   { transform: translateY(-7.5cqw); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  61%   { transform: translateY(0); animation-timing-function: ease-out; }
  63.5% { transform: translateY(0) scale(1.1, .9); animation-timing-function: ease-out; }
  66%   { transform: translateY(-.8cqw) scale(.96, 1.04); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  75%   { transform: translateY(-3.2cqw); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  84%   { transform: translateY(0); animation-timing-function: ease-out; }
  85.5% { transform: translateY(0) scale(1.05, .95); animation-timing-function: ease-out; }
  87%   { transform: translateY(-.3cqw); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  92%   { transform: translateY(-1cqw); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  97%   { transform: translateY(0) scale(1.02, .98); animation-timing-function: ease-out; }
  100%  { transform: none; }
}
@keyframes dot-hit {
  0%   { scale: 1; }
  30%  { scale: 0.965 0.95; }
  100% { scale: 1; }
}
@keyframes stick-a-approach {
  0%     { translate: 0 0; rotate: 0deg; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  15.5%  { translate: -2.929cqw 2.773cqw; rotate: -23.6deg; }
  79.4%  { translate: -2.929cqw 2.773cqw; rotate: -23.6deg; animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  100%   { translate: 0 0; rotate: 0deg; }
}
@keyframes stick-b-approach {
  0%     { translate: 0 0; rotate: 0deg; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  15.5%  { translate: -1.322cqw 2.727cqw; rotate: -3.45deg; }
  79.4%  { translate: -1.322cqw 2.727cqw; rotate: -3.45deg; animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  100%   { translate: 0 0; rotate: 0deg; }
}
@keyframes stick-a-tap {
  0%   { translate: 0 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  50%  { translate: -1.478cqw 1.093cqw; animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  100% { translate: 0 0; }
}
@keyframes stick-b-tap {
  0%   { translate: 0 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  50%  { translate: -1.012cqw 1.532cqw; animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  100% { translate: 0 0; }
}
.intro__dot {
  animation:
    dot-travel 1.5s cubic-bezier(.3, .45, .45, 1) .25s both,
    dot-bounce 1.5s linear .25s both,
    dot-hit .18s linear 2.086s 6;
}
.intro__stick--a { animation: stick-a-approach 1.94s linear 1.7s both; }
.intro__stick--b { animation: stick-b-approach 1.94s linear 1.7s both; }
.intro__stick--a img { animation: stick-a-tap .36s 1.96s 3; }
.intro__stick--b img { animation: stick-b-tap .36s 2.14s 3; }

/* =========================================================================
   BAND — blue, "putting brands in motion" + mascot (Figma y 1024–2048)
   ========================================================================= */
.band { position: relative; z-index: 2; background: var(--blue); height: calc(1024 * var(--s)); }
.band .frame { height: 100%; }
.band__art {
  position: absolute;
  inset: 0 auto auto 0;
  width: calc(1440 * var(--s));
  aspect-ratio: 1440 / 1024;
}
.band__path { position: absolute; inset: 0; width: 100%; height: 100%; }
.band__sparkles-l { position: absolute; left: 5.278%;  top: 65.332%; width: 9.792%; height: auto; }
.band__sparkles-r { position: absolute; left: 70.764%; top: 30.176%; width: 7.5%;   height: auto; }
.band__curved     { position: absolute; left: 17.292%; top: 37.695%; width: 61.181%; height: auto; }
.mascot {
  position: absolute;
  left: 21.806%;
  top: 49.902%;
  width: 68.472%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
}
.mascot__face { position: absolute; left: 39.25%; top: 23.935%; width: 36.833%; height: auto; overflow: visible; }
/* Mascot loop (2s): the left brow lifts, the smile widens into a grin, then the white lens lines sweep left to right.
   It is SVG animation inside index.html, started by main.js when the mascot scrolls into view. */

.band__services { position: absolute; z-index: 1; inset: 0; pointer-events: none; }   /* above the artwork so the list can be hovered */
.services {
  position: absolute;
  right: calc(85 * var(--s));
  top: calc(178 * var(--s));
  text-align: right;
  font: 600 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text);
  color: var(--white);
  white-space: nowrap;
  pointer-events: auto;
}
/* Orange line follows the pointer: drawn under "Branding & Identity" when the section arrives, then under whichever service is hovered */
.services li { cursor: default; }
.services .scribble::after { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.services li:first-child .scribble::after { -webkit-mask-position: 0 0; mask-position: 0 0; }
[data-motion="on"] .services li:first-child .scribble:not([data-shown="true"])::after { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.services:hover li .scribble::after { -webkit-mask-position: 100% 0; mask-position: 100% 0; transition-duration: .25s; }
.services li:hover .scribble::after { -webkit-mask-position: 0 0; mask-position: 0 0; transition-duration: .6s; }
.welove {
  position: absolute;
  left: calc(1400 * var(--s));
  top: calc(186 * var(--s));
  transform-origin: 0 0;
  transform: rotate(90deg);
  font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text);
  color: var(--cream);
  white-space: pre;
}

/* =========================================================================
   ABOUT (Figma y 2048–3350)
   ========================================================================= */
.about { position: relative; z-index: 1; height: calc(1302 * var(--s)); overflow-x: clip; }
.about__ovals { position: absolute; left: calc(50% - calc(1092 * var(--s))); top: calc(306 * var(--s)); width: calc(2185 * var(--s)); height: calc(1290 * var(--s)); }
.about__photo {
  position: absolute;
  left: calc(187 * var(--s));
  top: calc(544 * var(--s));
  width: calc(446 * var(--s));
  height: calc(669 * var(--s));
  border-radius: calc(20 * var(--s));
  overflow: hidden;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
/* (the photos come from Figma with their 12% orange wash already in them) */
/* Hover / tap: the dog turns round to look at you (Figma: "Component 2", Rectangle 22 → 23 on hover) */
.about__photo--turn { -webkit-tap-highlight-color: transparent; }
.about__look { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.about__photo--turn.is-turned .about__look { opacity: 1; }
@media (hover: hover) { .about__photo--turn:hover .about__look { opacity: 1; } }   /* (phones: tap instead, so the look doesn't stick) */
.bubble { position: absolute; border-radius: 50%; background: var(--cream); }
.bubble--1 { left: calc(200.9 * var(--s));  top: calc(322.8 * var(--s)); width: calc(165.15 * var(--s)); height: calc(165.15 * var(--s)); }
.bubble--2 { left: calc(159.08 * var(--s)); top: calc(482.2 * var(--s)); width: calc(88.83 * var(--s));  height: calc(88.83 * var(--s)); }
.bubble--3 { left: calc(209.34 * var(--s)); top: calc(596.43 * var(--s)); width: calc(60.05 * var(--s)); height: calc(60.05 * var(--s)); }
/* Dream bubbles: hidden until the photo is on screen, then they pop in one by one towards the photo (main.js) */
@keyframes bubble-pop {
  0%   { opacity: 0; transform: scale(0); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
.bubbles.is-waiting .bubble { opacity: 0; transform: scale(0); }
.bubbles.is-in .bubble { animation: bubble-pop .55s cubic-bezier(.34, 1.56, .64, 1) both; }
.bubbles.is-in .bubble--2 { animation-delay: .25s; }
.bubbles.is-in .bubble--3 { animation-delay: .5s; }
.about__copy { position: absolute; left: calc(753 * var(--s)); top: calc(707 * var(--s)); width: calc(501 * var(--s)); text-transform: uppercase; }
.about__title { font: 600 calc(36 * var(--s))/calc(40 * var(--s)) var(--font-text); }
.about__lead  { margin-top: calc(12 * var(--s)); width: calc(431 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.about__body  { margin-top: calc(20 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }

/* =========================================================================
   WHAT WE RUN ON (Figma y 3350–4075)
   ========================================================================= */
.run { position: relative; z-index: 1; }
.run .frame { padding: calc(111 * var(--s)) 0 calc(120 * var(--s)) calc(121 * var(--s)); }
.run__title { margin: 0; }
.run__cards {
  margin-top: calc(30 * var(--s));
  display: grid;
  grid-template-columns: repeat(3, calc(385 * var(--s)));
  gap: calc(22 * var(--s));
}
.flip { position: relative; height: calc(400 * var(--s)); border-radius: calc(16 * var(--s)); cursor: default; outline-offset: 8px; }
.flip__front, .flip__back { position: absolute; inset: 0; border-radius: calc(16 * var(--s)); transition: opacity .3s ease, transform .3s ease; }
.flip__front { background: var(--blue); }
.flip__front span {
  position: absolute; right: calc(24 * var(--s)); top: calc(330 * var(--s));
  font: 600 calc(36 * var(--s))/calc(54 * var(--s)) var(--font-text); color: var(--white);
}
/* Eyes on the front of the cards (positions from the Figma component, card = 385 x 400) */
.eyes { position: absolute; height: auto; overflow: visible; }
.eyes--peek { left: 32.468%; top: 39%;    width: 34.805%; }
.eyes--a    { left: 32.468%; top: 38.75%; width: 35.065%; }
.eyes--boo  { left: 34.026%; top: 39.75%; width: 33.506%; }
/* PEEK: pupils look left and right */
@keyframes eyes-peek {
  0%, 30%   { transform: translateX(0); }
  42%, 72%  { transform: translateX(-40px); }
  84%, 100% { transform: translateX(0); }
}
.eyes--peek .eyes__pupil { animation: eyes-peek 4s ease-in-out infinite; }
/* A: blinks */
@keyframes eyes-blink {
  0%, 86%, 100% { transform: scaleY(1); }
  90%           { transform: scaleY(.08); }
  94%           { transform: scaleY(1); }
}
.eyes--a .eyes__lid { transform-box: fill-box; transform-origin: 50% 100%; animation: eyes-blink 3.6s ease-in-out infinite; }
/* BOO: pupils look up and down */
@keyframes eyes-boo {
  0%, 30%   { transform: translateY(0); }
  42%, 72%  { transform: translateY(38px); }
  84%, 100% { transform: translateY(0); }
}
.eyes--boo .eyes__pupil { animation: eyes-boo 4.2s ease-in-out infinite; }
.flip__back {
  background: var(--white);
  box-shadow: 0 0 0 calc(4 * var(--s)) var(--blue);
  opacity: 0;
  transform: scale(.98);
  text-align: right;
}
.flip__back img { position: absolute; left: calc(130 * var(--s)); top: calc(100 * var(--s)); width: calc(130 * var(--s)); height: calc(130 * var(--s)); }
.flip__back img.flip__icon--wide { left: calc(78 * var(--s)); width: calc(228 * var(--s)); }   /* paper plane is wider than the other icons */
.flip__back strong { position: absolute; right: calc(24 * var(--s)); top: calc(289 * var(--s)); font: 600 calc(36 * var(--s))/calc(54 * var(--s)) var(--font-text); }
.flip__back span { position: absolute; right: calc(24 * var(--s)); top: calc(343 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); white-space: nowrap; }
.flip:hover .flip__back, .flip:focus-visible .flip__back, .flip.is-active .flip__back { opacity: 1; transform: none; }
.flip:hover .flip__front, .flip:focus-visible .flip__front, .flip.is-active .flip__front { opacity: 0; }

/* =========================================================================
   STATS (Figma y 4075–5017)
   ========================================================================= */
.stats { position: relative; z-index: 1; background: var(--white); }
.stats .frame { padding: calc(109 * var(--s)) calc(120 * var(--s)); }
.stats__title { margin: 0; }
.stats__table { margin-top: calc(40 * var(--s)); border-bottom: max(1px, calc(1 * var(--s))) solid var(--line); }
.stat:last-child { padding-bottom: calc(29 * var(--s)); }
.stat {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: calc(29 * var(--s)) 0 calc(30 * var(--s));
  border-top: max(1px, calc(1 * var(--s))) solid var(--line);
  text-transform: uppercase;
  white-space: nowrap;
}
.stat dd { font: italic 600 calc(64 * var(--s))/calc(70 * var(--s)) var(--font-text); color: var(--blue); }
.stat dt { font: 500 calc(36 * var(--s))/calc(40 * var(--s)) var(--font-text); color: var(--grey); text-align: right; }
.stats__cta { margin-top: calc(40 * var(--s)); display: flex; justify-content: flex-end; }
/* Rows rise into place as they scroll into view (after haltris.com/approach, "How we move"):
   18px up + fade, 0.4s, each row 70ms after the one above. main.js turns this on and marks rows as shown. */
[data-motion="on"] .reveal {
  opacity: 0;
  transform: translateY(calc(18 * var(--s)));
  transition: opacity .4s cubic-bezier(.16, 1, .3, 1), transform .4s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-motion="on"] .reveal[data-shown="true"] { opacity: 1; transform: none; }
/* On hover the number slides a little to the right */
.stat dd { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.stat:hover dd { transform: translateX(calc(12 * var(--s))); }


/* =========================================================================
   TESTIMONIALS (Figma y 5017–5681)
   ========================================================================= */
.testimonials { position: relative; z-index: 1; background: var(--cream); }
.testimonials .frame { padding: calc(120 * var(--s)) 0; text-align: center; }
.pill {
  display: inline-block;
  padding: calc(12 * var(--s)) calc(24 * var(--s));
  border-radius: calc(32 * var(--s));
  background: var(--blue);
  color: var(--cream);
  font: 500 max(11px, calc(16 * var(--s)))/1.25 var(--font-text);
  text-transform: uppercase;
}
.testimonials__title { margin-top: calc(20 * var(--s)); }
.reviews {
  margin: calc(40 * var(--s)) calc(40 * var(--s)) 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  text-align: left;
}
.reviews::-webkit-scrollbar { display: none; }
.reviews.is-marquee { scroll-snap-type: none !important; }   /* the loop moves the cards; snapping would fight it */
.reviews.is-dragging { cursor: grabbing; user-select: none; }
.reviews__track { display: flex; gap: calc(20 * var(--s)); width: max-content; }
.review {
  flex: 0 0 calc(400 * var(--s));
  min-height: calc(360 * var(--s));
  padding: calc(20 * var(--s));
  display: flex;
  flex-direction: column;
  border-radius: calc(16 * var(--s));
  background: var(--white);
}
.review__quote { width: calc(58 * var(--s)); height: calc(34 * var(--s)); margin: calc(-2 * var(--s)) 0 0 calc(-2 * var(--s)); }
.review blockquote {
  margin-top: calc(18 * var(--s));
  width: calc(360 * var(--s));
  max-width: 100%;
  font: 500 max(11px, calc(14 * var(--s)))/1.5 var(--font-text);
  color: var(--navy);
  text-transform: uppercase;
}
.review__who { display: flex; align-items: flex-start; gap: calc(10 * var(--s)); margin-top: auto; padding-top: calc(16 * var(--s)); }
.review__avatar { flex: none; display: block; width: calc(42 * var(--s)); height: calc(42 * var(--s)); border-radius: 50%; object-fit: cover; background: var(--avatar); }
.review__who p { font: 500 max(11px, calc(14 * var(--s)))/1.5 var(--font-text); text-transform: uppercase; }
.review__who b { display: block; font-weight: 500; color: var(--blue); }
.review__who span { display: block; color: var(--muted); }

/* =========================================================================
   WORKS (Figma y 5681–7034)
   ========================================================================= */
.works { position: relative; z-index: 1; }
.works .frame { padding: calc(200 * var(--s)) calc(40 * var(--s)) calc(120 * var(--s)); }
.works__head { position: relative; height: calc(264 * var(--s)); }
.works__title { position: relative; top: 0.0331em; display: inline-block; margin: 0; font-size: calc(260 * var(--s)); line-height: calc(264 * var(--s)); white-space: nowrap; }
.works__count { position: absolute; left: calc(100% + calc(72.6 * var(--s))); top: calc(5.64 * var(--s)); font-size: calc(64 * var(--s)); line-height: calc(64 * var(--s)); }
.works__all { position: absolute; right: 0; top: calc(181 * var(--s)); }
.works__grid {
  margin-top: calc(129 * var(--s));
  display: grid;
  grid-template-columns: calc(554 * var(--s)) calc(786 * var(--s));
  gap: calc(20 * var(--s));
  align-items: start;
}
.works__grid + .works__grid { margin-top: calc(103 * var(--s)); }   /* six projects: the pair pattern zig-zags down the page (Figma: Works page) */
.works__grid--flip { grid-template-columns: calc(786 * var(--s)) calc(554 * var(--s)); }
.works__grid--flip .work--1 { margin-top: 0; }
.work { display: block; }
.work__media { position: relative; display: block; overflow: hidden; border-radius: calc(16 * var(--s)); transition: height .65s cubic-bezier(.65, 0, .25, 1); }
.work--1 .work__media { height: calc(354 * var(--s)); }
.work--2 .work__media { height: calc(552 * var(--s)); }
.work__media > img { width: 100%; height: 100%; object-fit: cover; }
.work:hover .work__media > img { filter: brightness(.8); }   /* tile darkens a little on hover */
/* Equal weight: point at the small tile of a pair and it grows into the big one while its partner
   shrinks into the small spot (main.js marks the row .is-swapped); moving off the row puts them back */
.works__grid { transition: grid-template-columns .65s cubic-bezier(.65, 0, .25, 1); }
@media (min-width: 900px) {
  .works__grid.is-swapped { grid-template-columns: calc(786 * var(--s)) calc(554 * var(--s)); }
  .works__grid--flip.is-swapped { grid-template-columns: calc(554 * var(--s)) calc(786 * var(--s)); }
  .works__grid.is-swapped .work--1 .work__media { height: calc(552 * var(--s)); }
  .works__grid.is-swapped .work--2 .work__media { height: calc(354 * var(--s)); }
}
/* Arriving at the section: each tile (image + title + subtitle together) is dragged up into place */
[data-motion="on"] .reveal.reveal--drag {
  transform: translateY(calc(120 * var(--s)));
  transition: opacity .6s ease-out, transform 1.2s cubic-bezier(.33, 1, .68, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-motion="on"] .reveal.reveal--drag[data-shown="true"] { opacity: 1; transform: none; }
.work__go {
  position: absolute; z-index: 1; top: calc(24 * var(--s)); right: calc(24 * var(--s));
  width: calc(60 * var(--s)); height: calc(60 * var(--s));
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
}
.work__go img { width: calc(16 * var(--s)); height: calc(16 * var(--s)); }
/* Arrow button: hidden until the tile is hovered, then it pops in (always the same up-right arrow, no rotation) */
.work__go { opacity: 0; transform: translateY(calc(10 * var(--s))) scale(.85); transition: opacity .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1); }
.work:hover .work__go, .work:focus-visible .work__go { opacity: 1; transform: none; }
.work:is(:hover, :focus-visible) .work__go .swap > img:first-child { transform: translateY(-110%); transition-delay: .12s; }
.work:is(:hover, :focus-visible) .work__go .swap > img + img { transform: none; transition-delay: .18s; }
@media (hover: none) { .work__go { opacity: 1; transform: none; } }   /* phones have no hover: keep it visible */
.work__title { display: block; margin-top: calc(20 * var(--s)); font: 600 calc(36 * var(--s))/calc(40 * var(--s)) var(--font-text); text-transform: uppercase; }
.work__sub { display: block; margin-top: calc(4 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); color: rgba(33, 31, 254, .6); text-transform: uppercase; }

/* =========================================================================
   FOOTER (Figma y 7034–8211)
   ========================================================================= */
.footer {
  position: relative;
  z-index: 1;
  color: var(--cream);
  background: linear-gradient(var(--blue), var(--blue)) 0 calc(calc(153 * var(--s))) / 100% 100% no-repeat;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(154 * var(--s));
  background: url("../img/footer-curve.svg") no-repeat 0 0 / 100% 100%;
  pointer-events: none;
}
.footer .frame { padding: calc(222 * var(--s)) calc(120 * var(--s)) calc(120 * var(--s)); }
.footer .display { color: var(--cream); }
.footer__talk { position: relative; top: 0; margin: 0; font-size: calc(260 * var(--s)); line-height: calc(260 * var(--s)); }
.footer__promise { position: relative; top: calc(1 * var(--s)); margin-top: calc(47 * var(--s)); white-space: nowrap; font-size: calc(64 * var(--s)); line-height: calc(64 * var(--s)); }   /* all Gabarito now */
.footer__bar { margin-top: calc(134 * var(--s)); display: flex; align-items: center; justify-content: space-between; }
.footer__meta { display: flex; flex-direction: column; gap: calc(10 * var(--s)); }
.footer__links { display: flex; flex-wrap: wrap; gap: calc(12.5 * var(--s)); font: 500 calc(20 * var(--s))/calc(30 * var(--s)) var(--font-text); text-transform: uppercase; }
.footer__links a { color: var(--cream); text-decoration: underline; text-underline-position: from-font; text-decoration-thickness: from-font; transition: color .2s ease; }
.footer__links a:hover { color: var(--white); text-decoration-color: var(--orange); }
.footer__credit { font: 500 calc(20 * var(--s))/calc(30 * var(--s)) var(--font-text); color: var(--sky); text-transform: uppercase; }
.footer__actions { display: flex; align-items: center; gap: calc(16 * var(--s)); }
/* "Let's Talk." types itself out (main.js splits it into letters; without JS it is plain text) */
/* (the Contact page's "Happy Send-offs." types the same way) */
:is(.footer__talk, .sendoff__title) .tc { opacity: 0; }
:is(.footer__talk, .sendoff__title) .tc.on { opacity: 1; }
.type-caret { position: relative; display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.type-caret::after {
  content: ""; position: absolute; left: .045em; bottom: -.03em;
  width: .055em; height: .76em; border-radius: .02em;
  background: var(--orange);
  animation: caret-blink 1.05s steps(1) infinite;
}
:is(.footer__talk, .sendoff__title)[data-typing] .type-caret::after { animation: none; }   /* solid while the keys are going */
@keyframes caret-blink { 50% { opacity: 0; } }
.icon-btn {
  width: calc(60 * var(--s)); height: calc(60 * var(--s));
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  transition: box-shadow .2s ease;
}
.icon-btn img { width: calc(32 * var(--s)); height: calc(32 * var(--s)); }
.icon-btn:active { box-shadow: inset 0 calc(4 * var(--s)) calc(4 * var(--s)) rgba(0, 0, 0, .25); }

/* =========================================================================
   ABOUT PAGE — about.html (Figma frame "About Us • Skatesphere", 1440 × 7692)
   ========================================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav__panel a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Who we are (y 0–798) ---------- */
.who { position: relative; z-index: 2; height: calc(798 * var(--s)); }
.who .frame { height: 100%; }
.who__art { position: absolute; inset: 0; pointer-events: none; }
.who__waves { position: absolute; left: 0; top: calc(374 * var(--s)); width: calc(273 * var(--s)); height: calc(401 * var(--s)); }
/* the three waves keep rolling towards the letter, one wave-length every 6s */
@keyframes waves-flow { to { transform: translateX(222.89px); } }
.who__flow { animation: waves-flow 6s linear infinite; }
/* the mask + snorkel; bubbles stream out of the pipe (SVG animation in about.html) */
.who__splash { position: absolute; left: calc(293 * var(--s)); top: calc(340 * var(--s)); width: calc(196 * var(--s)); height: calc(324 * var(--s)); }
.who__glyph { position: absolute; inset: 0; width: 100%; height: 100%; }
.who__bubbles { position: absolute; left: 0; top: -37.037%; width: 173.469%; height: 138.889%; overflow: visible; }
@media (prefers-reduced-motion: reduce) { .who__bubbles { display: none; } }
.who__copy { position: absolute; left: calc(689 * var(--s)); top: calc(341 * var(--s)); width: calc(502 * var(--s)); text-transform: uppercase; }
.who__title { font: 600 calc(36 * var(--s))/calc(40 * var(--s)) var(--font-text); }
.who__lead { margin-top: calc(12 * var(--s)); width: calc(501 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.who__body { margin-top: calc(20 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.scribble--who::after { left: -0.14em; top: 1.09em; width: 9.59em; height: 0.636em; background-image: url("../img/underline-about.svg"); transition-delay: .5s; }

/* Hand-drawn chalk pieces draw themselves in when they scroll into view (main.js marks them shown) */
.draw {
  -webkit-mask-image: linear-gradient(90deg, #000 46%, transparent 54%);
          mask-image: linear-gradient(90deg, #000 46%, transparent 54%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: -webkit-mask-position 2.4s cubic-bezier(.45, 0, .2, 1), mask-position 2.4s cubic-bezier(.45, 0, .2, 1);
}
[data-motion="on"] .draw:not([data-shown="true"]) { -webkit-mask-position: 100% 0; mask-position: 100% 0; }

/* ---------- We're Skatesphere — the blue oval (y 798–1687) ---------- */
.sail { position: relative; z-index: 1; height: calc(889 * var(--s)); overflow-x: clip; }
.sail__oval { position: absolute; left: calc(50% - calc(1092.5 * var(--s))); top: 0; width: calc(2185 * var(--s)); height: calc(889 * var(--s)); border-radius: 50%; background: var(--blue); }
.sail .frame { height: 100%; }
.sail__track { position: absolute; left: calc(17 * var(--s)); top: calc(254 * var(--s)); width: calc(1407 * var(--s)); height: calc(336 * var(--s)); }
/* The dashed line: nine chalk dashes placed as in Figma (track = 1407 × 336) */
.sail__dash { position: absolute; height: auto; will-change: transform; }
.sail__dash--1 { left: 0;       top: 88.393%; width: 7.178%; }
.sail__dash--2 { left: 14.570%; top: 94.048%; width: 6.183%; }
.sail__dash--3 { left: 26.937%; top: 80.357%; width: 7.107%; }
.sail__dash--4 { left: 38.877%; top: 60.714%; width: 5.473%; }
.sail__dash--5 { left: 48.401%; top: 42.262%; width: 4.620%; }
.sail__dash--10 { left: 57.468%; top: 22.972%; width: 5.473%; }   /* the dash the boat comes to rest on */
.sail__dash--6 { left: 68.159%; top: 9.226%;  width: 4.691%; }
.sail__dash--7 { left: 77.896%; top: 3.571%;  width: 5.259%; }
.sail__dash--8 { left: 86.638%; top: 8.929%;  width: 4.762%; }
.sail__dash--9 { left: 94.385%; top: 29.762%; width: 5.615%; }
/* The boat (its CSS spot is where Figma draws it); main.js sails it in from the left along the wave
   and parks it on top of dash 10, riding the swell */
.sail__boat { position: absolute; left: 54.584%; top: 0; width: 11.514%; height: auto; transform-origin: 54.63% 94.2%; will-change: transform; }
.sail .display { color: var(--cream); font-size: calc(64 * var(--s)); line-height: calc(70 * var(--s)); --lh: calc(70 * var(--s)); margin-top: calc(1 * var(--s)); }
.sail__we { position: absolute; left: calc(115.64 * var(--s)); top: calc(219 * var(--s)); }
.sail__dim { opacity: .5; }
.sail__ready { position: absolute; right: calc(124.36 * var(--s)); top: calc(519 * var(--s)); text-align: right; white-space: nowrap; }
/* "you" rolls through thinkers / makers / creatives (Figma "You Ticker": hold 0.8s, slide up 0.3s ease-out) */
.ticker { display: inline-block; vertical-align: top; height: var(--lh); margin-right: calc(12 * var(--s)); overflow: hidden; opacity: .5; }
.ticker__track { display: block; text-align: right; animation: ticker 4.4s linear infinite; }
@keyframes ticker {
  0%     { transform: translateY(0); }
  18.18% { transform: translateY(0); animation-timing-function: ease-out; }
  25%    { transform: translateY(calc(-1 * var(--lh))); }
  43.18% { transform: translateY(calc(-1 * var(--lh))); animation-timing-function: ease-out; }
  50%    { transform: translateY(calc(-2 * var(--lh))); }
  68.18% { transform: translateY(calc(-2 * var(--lh))); animation-timing-function: ease-out; }
  75%    { transform: translateY(calc(-3 * var(--lh))); }
  93.18% { transform: translateY(calc(-3 * var(--lh))); animation-timing-function: ease-out; }
  100%   { transform: translateY(calc(-4 * var(--lh))); }
}

/* ---------- Growing a mighty team (y 1687–3162) ---------- */
.team { position: relative; z-index: 1; }
.team .frame { padding: calc(200 * var(--s)) calc(120 * var(--s)) calc(120 * var(--s)); }
.team__title { position: relative; top: calc(1 * var(--s)); margin: 0; text-align: center; font-size: calc(64 * var(--s)); line-height: calc(70 * var(--s)); }
.team__sub { margin-top: calc(12 * var(--s)); text-align: center; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; }
.team__grid { margin-top: calc(80 * var(--s)); display: grid; grid-template-columns: repeat(3, calc(372 * var(--s))); column-gap: calc(42 * var(--s)); row-gap: calc(80 * var(--s)); }
/* card = 372 × 440; the photo and caption are placed in % of the card so they scale with it */
.member { position: relative; height: calc(440 * var(--s)); }
.member__fig { position: absolute; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.member:hover .member__fig { transform: translateY(calc(-6 * var(--s))) rotate(-1.5deg); }
.member__art, .member__name { display: block; width: 100%; height: auto; max-width: none; }
.member__name { position: absolute; inset: 0; height: 100%; }
.member--aarushi .member__fig { left: -2.419%; top: -5.455%; width: 110.484%; }
.member--luffy   .member__fig { left: 2.688%; top: 6.136%; width: 94.355%; }
.member--shagun  .member__fig { left: -0.269%; top: -9.318%; width: 105.376%; }
.member--anubhav .member__fig { left: -8.602%; top: -1.136%; width: 116.398%; }
.member--mansi   .member__fig { left: 0.000%; top: -4.091%; width: 101.613%; }
.member--pankaj  .member__fig { left: 0.000%; top: 2.045%; width: 106.989%; }
/* The name slides down around the circle into place once the card arrives (it turns about the circle's centre) */
.member__name { transition: transform 1.3s cubic-bezier(.16, 1, .3, 1), opacity .5s ease; transition-delay: calc(var(--reveal-delay, 0ms) + .3s); }
[data-motion="on"] .member:not([data-shown="true"]) .member__name { transform: rotate(-55deg); opacity: 0; }
.member--aarushi .member__name { transform-origin: 44.16% 56.44%; }
.member--luffy   .member__name { transform-origin: 49.15% 50%; }
.member--shagun  .member__name { transform-origin: 44.26% 58.23%; }
.member--anubhav .member__name { transform-origin: 47.23% 54.24%; }
.member--mansi   .member__name { transform-origin: 45.63% 55.77%; }
.member--pankaj  .member__name { transform-origin: 43.34% 52.48%; }
.member__role { position: absolute; left: 20.968%; top: 89.091%; width: 58.065%; text-align: center; font: 500 calc(16 * var(--s))/calc(24 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }

/* ---------- Design that moves (y 3162–4092) ---------- */
.moves { position: relative; z-index: 1; background: var(--white); }
.moves .frame { padding: calc(120 * var(--s)) calc(120 * var(--s)) calc(80 * var(--s)); }
.moves__title { position: relative; z-index: 1; top: calc(1 * var(--s)); margin: 0; font-size: calc(64 * var(--s)); line-height: calc(70 * var(--s)); }
.moves__body { position: relative; margin-top: calc(39 * var(--s)); }
/* the mascot peeks over the top line of the list */
.moves__peek { position: absolute; left: 0; bottom: 100%; width: 100%; height: calc(191 * var(--s)); overflow: hidden; pointer-events: none; --roll: calc(310 * var(--s)); --drop: calc(265 * var(--s)); }   /* starts just after "moves." */
.ab-mascot { position: absolute; left: calc(870 * var(--s)); top: calc(40 * var(--s)); width: calc(265 * var(--s)); height: calc(265 * var(--s)); border-radius: 50%; background: var(--cream); }
/* On arrival the mascot pops up from behind the line under "moves", rolls along it to the end and settles */
[data-motion="on"] .moves__peek:not([data-shown="true"]) .ab-mascot { transform: translate(calc(-1 * var(--roll)), var(--drop)); }
[data-motion="on"] .moves__peek[data-shown="true"] .ab-mascot { animation: mascot-arrive 2.8s both; }
@keyframes mascot-arrive {
  0%   { transform: translate(calc(-1 * var(--roll)), var(--drop)) rotate(0deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  18%  { transform: translate(calc(-1 * var(--roll)), -6%) rotate(0deg); animation-timing-function: ease-in-out; }
  25%  { transform: translate(calc(-1 * var(--roll)), 0) rotate(0deg); }
  32%  { transform: translate(calc(-1 * var(--roll)), 0) rotate(0deg); animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
  86%  { transform: translate(2.5%, 0) rotate(372deg); animation-timing-function: ease-in-out; }
  94%  { transform: translate(-1%, 0) rotate(356deg); animation-timing-function: ease-in-out; }
  100% { transform: translate(0, 0) rotate(360deg); }
}
.ab-mascot .mascot__face { position: absolute; left: calc(104 * var(--s)); top: calc(63.4 * var(--s)); width: calc(97.6 * var(--s)); height: auto; overflow: visible; }
.moves__list { border-bottom: max(1px, calc(1 * var(--s))) solid var(--line); }
.move {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(130 * var(--s));
  padding: 0 calc(20 * var(--s));
  border-top: max(1px, calc(1 * var(--s))) solid var(--line);
  color: var(--grey);
  text-transform: uppercase;
}
.move h3 { display: flex; gap: calc(20 * var(--s)); margin: 0; font: 600 calc(36 * var(--s))/calc(54 * var(--s)) var(--font-text); white-space: nowrap; }
.move h3 { position: relative; top: calc(1 * var(--s)); }
.move:first-child h3 { top: calc(-3 * var(--s)); }
.move:last-child h3 { top: calc(-5 * var(--s)); }
.move p { width: calc(575 * var(--s)); text-align: right; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.moves__cta { margin-top: calc(40 * var(--s)); display: flex; justify-content: flex-end; }
/* Orange line: under "Branding & Identity" when the list arrives, then under whichever service is hovered */
.scribble--move::after { left: 7.44%; top: 1.472em; width: 74.87%; height: 0.278em; background-image: url("../img/underline-services.svg"); }
.moves__list .scribble::after { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.moves__list .move:first-child .scribble::after { -webkit-mask-position: 0 0; mask-position: 0 0; }
[data-motion="on"] .moves__list .move:first-child .scribble:not([data-shown="true"])::after { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.moves__list:hover .move .scribble::after { -webkit-mask-position: 100% 0; mask-position: 100% 0; transition-duration: .25s; }
.moves__list .move:hover .scribble::after { -webkit-mask-position: 0 0; mask-position: 0 0; transition-duration: .6s; }

/* ---------- In it for the long haul + the table (y 4092–5476) ---------- */
.haul { position: relative; z-index: 1; }
.haul.is-picking { z-index: 40; }
.haul .frame { height: calc(1384 * var(--s)); }
.haul__copy { position: absolute; left: calc(120 * var(--s)); top: calc(132 * var(--s)); width: calc(396 * var(--s)); text-transform: uppercase; }
.haul__title { margin: 0; font: 600 calc(36 * var(--s))/calc(40 * var(--s)) var(--font-text); }
.haul__copy p { margin-top: calc(12 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.haul__copy p + p { margin-top: calc(20 * var(--s)); }
.table { position: absolute; left: calc(120 * var(--s)); top: calc(659 * var(--s)); width: calc(697 * var(--s)); height: calc(725 * var(--s)); }
/* The stage spans the whole section around the table (table-local coordinates, viewBox -120 -659 1440 1384):
   the long table path coming from above "long haul", the table itself and the rolling ball */
.table__stage { position: absolute; left: -17.217%; top: -90.897%; width: 206.6%; height: 190.897%; overflow: visible; pointer-events: none; }
.carpet__all { transition: opacity .6s ease; }
.table__setting { position: absolute; inset: 0; pointer-events: none; }
.setting, .dish__food { position: absolute; display: block; height: auto; max-width: none; }
.dish__spark { position: absolute; display: block; max-width: none; }   /* the orange accent lines that pick out each dish */
/* invisible hit areas over the dishes ("Frame 67–71" in Figma); each opens its card */
.dish { position: absolute; cursor: pointer; }
.dish__food { transform-origin: 50% 85%; }
/* Laying the table: each piece drops into place (translate/scale are separate from the wobble's transform) */
.setting, .dish__food, .dish__spark { transition: opacity .3s ease, translate .4s cubic-bezier(.34, 1.56, .64, 1), scale .4s cubic-bezier(.34, 1.56, .64, 1); }
.setting { transition-delay: var(--set-delay, 0ms); }
.dish__food, .dish__spark { transition-delay: var(--set-delay, 0ms), var(--set-delay, 0ms), var(--set-delay, 0ms), 0s; }
[data-motion="on"] .table:not(.is-set) .setting,
[data-motion="on"] .table:not(.is-set) .dish__food,
[data-motion="on"] .table:not(.is-set) .dish__spark { opacity: 0; translate: 0 -18px; scale: .8; }
[data-motion="on"] .table:not(.is-set) .dish { pointer-events: none; }
/* All the dishes sway together, all the time, so they read as something to pick */
@keyframes dish-sway {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
@keyframes spark-pulse {
  0%, 100% { transform: scale(.94); }
  50%      { transform: scale(1.12); }
}
.table.is-set .dish__food  { animation: dish-sway 1.4s ease-in-out .9s infinite; }
.table.is-set .dish__spark { animation: spark-pulse 1.4s ease-in-out .9s infinite; }
/* On hover (or keyboard focus) the dish swings harder and its orange lines wiggle with it */
@keyframes dish-wobble {
  0%, 100% { transform: rotate(-8deg) translateY(-2px); }
  50% { transform: rotate(8deg) translateY(-2px); }
}
@keyframes spark-wiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.22) rotate(-5deg); }
  75% { transform: scale(1.12) rotate(5deg); }
}
.table.is-set .dish:hover .dish__food, .table.is-set .dish:focus-visible .dish__food { animation: dish-wobble .45s ease-in-out infinite; }
.table.is-set .dish:hover .dish__spark, .table.is-set .dish:focus-visible .dish__spark { animation: spark-wiggle .45s ease-in-out infinite; }
.dish:focus-visible { outline-offset: 6px; border-radius: 12px; }
.seat { position: absolute; left: calc(907 * var(--s)); top: calc(806 * var(--s)); width: calc(413 * var(--s)); }
.seat__title { position: relative; top: calc(1 * var(--s)); margin: 0; font-size: calc(64 * var(--s)); line-height: calc(64 * var(--s)); }
.seat__ask { margin-top: calc(22 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; white-space: nowrap; }
.seat__arrow { margin: calc(23 * var(--s)) 0 0 calc(11 * var(--s)); width: calc(212 * var(--s)); height: calc(51 * var(--s)); }
/* the arrow points left, so it is drawn from its tail on the right towards the tip */
.seat__arrow.draw { -webkit-mask-image: linear-gradient(270deg, #000 46%, transparent 54%); mask-image: linear-gradient(270deg, #000 46%, transparent 54%); -webkit-mask-position: 100% 0; mask-position: 100% 0; transition-duration: 1.1s; transition-delay: .4s; }
[data-motion="on"] .seat__arrow.draw:not([data-shown="true"]) { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* ---------- The menu cards ("Pick 1–5") ---------- */
.pick[hidden] { display: none; }
.pick__scrim { position: fixed; inset: 0; background: rgba(255, 255, 255, .9); animation: fade-in .25s ease both; }
@keyframes fade-in { from { opacity: 0; } }
.pick__panel { position: absolute; left: calc(235 * var(--s)); top: calc(838 * var(--s)); width: calc(970 * var(--s)); height: calc(375 * var(--s)); animation: pick-in .4s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pick-in { from { opacity: 0; transform: translateY(calc(16 * var(--s))) scale(.98); } }
.pick__dish { position: absolute; left: calc(-1 * var(--s)); top: calc(78 * var(--s)); width: calc(314 * var(--s)); height: calc(212 * var(--s)); }
.pick__dish img { width: 100%; height: 100%; }
.pick__dish.is-new img { animation: dish-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes dish-pop { from { opacity: 0; transform: scale(.7) rotate(-8deg); } }
.pick__card {
  position: absolute;
  left: calc(384 * var(--s));
  top: 0;
  width: calc(586 * var(--s));
  height: calc(375 * var(--s));
  padding: calc(44 * var(--s)) calc(40 * var(--s)) calc(44 * var(--s)) calc(44 * var(--s));
  display: flex;
  flex-direction: column;
  border-radius: calc(16 * var(--s));
  background: var(--white);
  box-shadow: 0 0 0 calc(4 * var(--s)) var(--blue);
}
.pick__card.is-new .pick__title, .pick__card.is-new .pick__body { animation: fade-in .35s ease both; }
.pick__head { display: flex; justify-content: space-between; align-items: flex-start; gap: calc(20 * var(--s)); }
.pick__title { margin: 0; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); color: var(--navy); text-transform: uppercase; }
.pick__close { flex: none; width: calc(40 * var(--s)); height: calc(40 * var(--s)); display: grid; place-items: center; border-radius: 50%; background: var(--cream); transition: box-shadow .2s ease; }
.pick__close img { width: calc(16 * var(--s)); height: calc(16 * var(--s)); }
.pick__close:hover { box-shadow: inset 0 calc(4 * var(--s)) calc(4 * var(--s)) rgba(0, 0, 0, .25); }
.pick__body { margin-top: calc(20 * var(--s)); width: calc(457 * var(--s)); font: 500 calc(16 * var(--s))/calc(24 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }
.pick__body p + p { margin-top: calc(24 * var(--s)); }
.pick__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.pick__nav { display: flex; align-items: center; gap: calc(20 * var(--s)); font: 500 calc(16 * var(--s))/calc(24 * var(--s)) var(--font-text); text-transform: uppercase; }
.pick__nav button { display: flex; align-items: center; }
.pick__back { gap: calc(13.7 * var(--s)); color: var(--grey); }
.pick__next { gap: calc(13 * var(--s)); color: var(--blue); }
.pick__nav svg { width: calc(31.92 * var(--s)); height: calc(11.13 * var(--s)); overflow: visible; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.pick__back:hover svg { transform: translateX(calc(-4 * var(--s))); }
.pick__next:hover svg { transform: translateX(calc(4 * var(--s))); }
.btn--pick { height: calc(56 * var(--s)); font-size: calc(16 * var(--s)); line-height: calc(24 * var(--s)); }
.pick__menu { display: none; }

/* ---------- Work that moves us, excites us. (y 5476–6654) ---------- */
.motive { position: relative; z-index: 1; height: calc(1178 * var(--s)); overflow-x: clip; }
.motive__ovals { position: absolute; left: calc(50% - calc(1092.5 * var(--s))); top: calc(120 * var(--s)); width: calc(2185 * var(--s)); height: calc(1069 * var(--s)); }
.motive__photo { position: absolute; left: calc(213 * var(--s)); top: calc(320 * var(--s)); width: calc(446 * var(--s)); height: calc(669 * var(--s)); border-radius: calc(20 * var(--s)); overflow: hidden; }
.motive__photo img { width: 100%; height: 100%; object-fit: cover; }   /* (the photo comes from Figma with its 12% orange wash already in it) */
.motive__copy { position: absolute; left: calc(779 * var(--s)); top: calc(391 * var(--s)); width: calc(500 * var(--s)); text-transform: uppercase; }
.motive__title { font: 600 calc(36 * var(--s))/calc(40 * var(--s)) var(--font-text); }
.motive__lead  { margin-top: calc(12 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.motive__body  { margin-top: calc(20 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.scribble--motive::after { left: 0.8086em; top: 1.0182em; width: 9.698em; height: 0.6027em; background-image: url("../img/underline-motive.svg"); transition-delay: .45s; }
.motive__sign { position: absolute; left: calc(982.45 * var(--s)); top: calc(870.43 * var(--s)); width: calc(265.47 * var(--s)); height: calc(90.8 * var(--s)); }
.motive__sign img { position: absolute; height: auto; }
.motive__from  { left: 28.105%; top: 0; width: 23.024%; }
.motive__names { left: 0; top: 47.335%; width: 100%; }
/* the sign-off writes itself in: "From," then the names */
.motive__from.draw  { transition-duration: .9s; transition-delay: .5s; }
.motive__names.draw { transition-duration: 1.7s; transition-delay: 1.3s; }

/* ---------- Latest works (y 5476–6515) ---------- */
.works--latest .frame { padding: calc(120 * var(--s)) calc(40 * var(--s)) calc(120 * var(--s)); }
.latest__head { display: flex; justify-content: space-between; align-items: flex-start; }
.latest__title { position: relative; top: calc(1 * var(--s)); margin: 0 0 0 calc(18 * var(--s)); width: calc(374 * var(--s)); text-align: center; font-size: calc(64 * var(--s)); line-height: calc(70 * var(--s)); white-space: nowrap; }
.latest__head .btn { margin-top: calc(4 * var(--s)); }
.works--latest .works__grid { margin-top: calc(80 * var(--s)); }

/* =========================================================================
   MOBILE / SMALL TABLET  (< 900px)
   ========================================================================= */
@media (max-width: 899px) {
  .page { --g: 16px; }
  .frame { width: 100%; }

  /* Nav */
  .nav { top: var(--g); left: var(--g); right: var(--g); width: auto; transform: none; height: 64px; padding: 15px 20px 0 16px; }
  .nav__logo img { width: 72px; height: 34.5px; }
  .nav__menu { width: 36px; height: 15px; margin-top: 10px; }
  .nav__menu::before { inset: -14px; }
  .nav__menu span { height: 3px; }
  .nav__menu span:last-child { top: 12px; }
  .nav.is-open .nav__menu span:first-child, .nav.is-open .nav__menu span:last-child { top: 6px; }
  .nav__panel { width: 100%; top: calc(100% + 8px); padding: 16px 20px; border-radius: 8px; }
  .nav__panel a { font-size: 18px; line-height: 1.5; padding: 6px 0; }

  /* Intro */
  .intro { height: auto; padding: calc(var(--g) + 64px + 44px) var(--g) 64px; }
  .intro__art { position: relative; left: 0; top: 0; width: 100%; }
  .intro__drumroll { font-size: max(11px, calc(22 * 100cqw / 1089)); }
  .intro__studio { left: auto; right: 0; top: calc(100% + 10px); font-size: 16px; }

  /* Band */
  .band { height: auto; overflow-x: clip; padding-top: 48px; }
  .band .frame { height: auto; }
  .band__services { position: relative; inset: auto; display: flex; justify-content: flex-end; align-items: flex-start; gap: 12px; padding: 0 var(--g); }
  .services { position: static; font-size: 15px; line-height: 1.6; }
  .welove { position: static; transform: none; writing-mode: vertical-rl; font-size: 15px; line-height: 24px; }
  /* Show the part of the 1440-wide artwork between x=76 and x=1300, scaled to the screen */
  .band__art { position: relative; width: calc(100% * 1440 / 1224); margin-left: calc(-100% * 76 / 1224); margin-top: calc(-100% * 300 / 1224); }

  /* About */
  .about { height: auto; padding: calc(100vw * 473 / 1224 + 96px) var(--g) 72px; }
  .about__ovals { left: -26%; width: 152%; top: calc(100vw * 306 / 1224); height: calc(100% - 100vw * 306 / 1224 + 48px); }
  .about .frame { display: flex; flex-direction: column; gap: 40px; }
  .about__photo { position: relative; left: auto; top: auto; width: min(100%, 446px); height: auto; aspect-ratio: 446 / 669; margin-inline: auto; border-radius: 16px; }
  .bubbles { position: absolute; left: 0; top: -92px; width: 100%; height: 0; pointer-events: none; }
  .bubble--1 { left: 9%;  top: 0;    width: 60px; height: 60px; }
  .bubble--2 { left: 2%;  top: 52px; width: 34px; height: 34px; }
  .bubble--3 { left: 10%; top: 84px; width: 24px; height: 24px; z-index: 1; }
  .about__copy { position: static; width: 100%; max-width: 501px; margin-inline: auto; }
  .about__title { font-size: 26px; line-height: 1.15; }
  .about__lead { width: auto; margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .about__body { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .scribble--about { white-space: normal; }

  /* Display headlines */
  .display--64 { font-size: clamp(34px, 10vw, 48px); line-height: 1; }

  /* What we run on */
  .run .frame { padding: 40px var(--g) 72px; }
  .run__cards { margin-top: 24px; grid-template-columns: 1fr; gap: 16px; }
  .flip { height: auto; aspect-ratio: 385 / 260; max-height: 300px; }
  .flip__front span { right: 20px; top: auto; bottom: 16px; font-size: 28px; line-height: 1.5; }
  .flip__back { box-shadow: 0 0 0 4px var(--blue); }
  .flip__back img { left: 50%; top: 12%; width: 34%; max-width: 120px; height: auto; transform: translateX(-50%); }
  .flip__back img.flip__icon--wide { left: 50%; width: 60%; max-width: 210px; }
  .flip__back strong { right: 20px; top: auto; bottom: 46px; font-size: 26px; line-height: 1.5; }
  .flip__back span { right: 20px; top: auto; bottom: 16px; font-size: 16px; line-height: 1.5; }

  /* Stats */
  .stats .frame { padding: 64px var(--g); }
  .stats__table { margin-top: 28px; border-bottom-width: 1px; }
  .stat { padding: 18px 0; border-top-width: 1px; gap: 12px; white-space: normal; }
  .stat dd { font-size: clamp(30px, 9vw, 44px); line-height: 1.1; }
  .stat dt { font-size: clamp(13px, 3.8vw, 18px); line-height: 1.3; }
  .stats__cta { margin-top: 28px; }

  .btn { height: 48px; gap: 8px; padding: 0 10px 0 20px; border-radius: 32px; font-size: 16px; line-height: 1.5; }
  .btn img { width: 26px; height: 26px; }
  .btn--cream { padding: 0 16px; }
  .btn--cream img { width: 14px; height: 14px; }

  /* Testimonials */
  .testimonials .frame { padding: 64px 0; }
  .pill { padding: 10px 20px; border-radius: 999px; font-size: 13px; line-height: 20px; }
  .testimonials__title { margin-top: 16px; padding-inline: var(--g); }
  .reviews { margin: 32px 0 0; padding-inline: var(--g); scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); }
  .review { flex-basis: min(82vw, 340px); min-height: 230px; padding: 18px; scroll-snap-align: start; border-radius: 16px; }
  .reviews__track { gap: 12px; }
  .review__quote { width: 52px; height: 30.5px; margin: 0; }
  .review blockquote { margin-top: 16px; width: auto; font-size: 13px; }
  .review__who { gap: 10px; }
  .review__avatar { width: 40px; height: 40px; }
  .review__who p { font-size: 13px; }

  /* Works */
  .works .frame { padding: 72px var(--g) 64px; }
  .works__head { height: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .works__title { position: relative; font-size: 24vw; line-height: 1; }
  .works__count { left: 100%; top: 0; margin-left: 2px; font-size: 6.5vw; line-height: 1; }
  .works__all { position: static; margin-bottom: 6px; }
  .works__grid { margin-top: 36px; grid-template-columns: 1fr; gap: 36px; }
  .work--1 .work__media { height: auto; aspect-ratio: 554 / 354; }
  .work--2 .work__media { height: auto; aspect-ratio: 786 / 552; }
  .work__go { top: 14px; right: 14px; width: 48px; height: 48px; }
  .work__go img { width: 14px; height: 14px; }
  .work__title { margin-top: 14px; font-size: 22px; line-height: 1.2; }
  .work__sub { margin-top: 4px; font-size: 15px; line-height: 1.5; }

  /* Footer */
  .footer { background-position: 0 calc(100vw * 153 / 1440); }
  .footer::before { height: calc(100vw * 154 / 1440); }
  .footer .frame { padding: calc(100vw * 154 / 1440 + 56px) var(--g) 40px; }
  .footer__talk { font-size: 30vw; line-height: 1; }
  .footer__promise { margin-top: 24px; white-space: normal; font-size: clamp(24px, 7.4vw, 40px); line-height: 1.2; top: 0; }
  .footer__bar { margin-top: 64px; flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .footer__credit { font-size: 13px; line-height: 1.5; }
  .footer__meta { gap: 8px; }
  .footer__links { gap: 8px 14px; font-size: 14px; line-height: 1.5; }
  .footer__actions { flex-wrap: wrap; gap: 10px; }
  .icon-btn { width: 44px; height: 44px; }
  .icon-btn img { width: 24px; height: 24px; }
}

/* Small-text floors for the scaled desktop layout on narrower laptops */
@media (min-width: 900px) and (max-width: 1180px) {
  .about__lead, .about__body, .motive__lead, .motive__body { font-size: max(14px, calc(22 * var(--s))); line-height: 1.5; }
}

/* ---------- About page, mobile (< 900px) ---------- */
@media (max-width: 899px) {
  /* Who we are */
  .who { height: auto; padding: calc(var(--g) + 64px + 28px) var(--g) 64px; }
  .who .frame { height: auto; }
  .who__art { position: relative; inset: auto; height: 74vw; margin: 0 calc(-1 * var(--g)); }   /* room above the letter for the bubbles */
  .who__waves { left: 0; top: 14vw; width: 41vw; height: auto; }
  .who__splash { left: 47vw; top: 15vw; width: 32vw; height: auto; aspect-ratio: 196 / 324; }
  .who__copy { position: static; width: auto; margin-top: 8px; }
  .who__title { font-size: 26px; line-height: 1.15; }
  .who__lead { width: auto; margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .who__body { margin-top: 14px; font-size: 16px; line-height: 1.5; }

  /* We're Skatesphere */
  .sail { height: auto; }
  .sail__oval { left: -40%; width: 180%; height: 100%; }
  .sail .frame { height: auto; padding: 120px var(--g) 130px; display: flex; flex-direction: column; }
  .sail__we { order: 1; }
  .sail__track { order: 2; }
  .sail__ready { order: 3; align-self: flex-end; }
  .sail .display { font-size: clamp(32px, 9.4vw, 46px); line-height: 1.1; --lh: 1.1em; margin-top: 0; }
  .sail__we, .sail__ready { position: relative; left: auto; right: auto; top: auto; }
  .sail__track { position: relative; left: auto; top: auto; width: calc(100% + 2 * var(--g)); height: auto; aspect-ratio: 1407 / 336; margin: 28px calc(-1 * var(--g)); }
  .ticker { margin-right: 8px; }

  /* Team */
  .team .frame { padding: 72px var(--g) 64px; }
  .team__title { font-size: clamp(30px, 9vw, 44px); line-height: 1.15; top: 0; }
  .team__sub { margin-top: 10px; font-size: 13px; line-height: 1.5; }
  .team__grid { margin-top: 48px; grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 36px; }
  .member { height: auto; aspect-ratio: 372 / 440; }
  .member__role { left: 4%; width: 92%; font-size: 11px; line-height: 1.45; }

  /* Design that moves */
  .moves .frame { padding: 64px var(--g) 56px; }
  .moves__title { max-width: 62%; font-size: clamp(30px, 9vw, 44px); line-height: 1.1; top: 0; }
  .moves__body { margin-top: 28px; }
  .moves__peek { height: 84px; --roll: calc(100vw - 2 * var(--g) - 242px); --drop: 112px; }
  .ab-mascot { left: auto; right: 0; top: 20px; width: 112px; height: 112px; }
  .ab-mascot .mascot__face { left: 44px; top: 26.8px; width: 41.3px; }
  .move { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; height: auto; padding: 18px 2px; }
  .move h3, .move:first-child h3, .move:last-child h3 { top: 0; gap: 10px; font-size: clamp(16px, 4.9vw, 22px); line-height: 1.5; white-space: normal; }
  .move p { width: auto; text-align: left; font-size: 13px; line-height: 1.5; }
  .moves__cta { margin-top: 28px; }

  /* Long haul + the table: copy, then the invite pointing down at the table */
  .haul .frame { height: auto; padding: 72px var(--g) 64px; display: flex; flex-direction: column; }
  .haul__copy { position: static; width: auto; }
  .haul__title { font-size: 26px; line-height: 1.15; }
  .haul__copy p { margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .haul__copy p + p { margin-top: 14px; }
  .seat { position: static; order: 2; width: auto; margin-top: 56px; }
  .seat__title { font-size: clamp(32px, 9.4vw, 46px); line-height: 1.05; top: 0; }
  .seat__ask { margin-top: 14px; font-size: 14px; line-height: 1.5; }
  .seat__arrow { width: 116px; height: 28px; margin: 50px 0 34px -14px; transform: rotate(-90deg); }
  .table { position: relative; order: 3; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 697 / 725; }
  .table__ribbon { display: none; }   /* on phones the ball starts at the far end of the table itself */

  /* the dish cards open as a centred sheet */
  .pick { order: 9; }   /* flex order also sets paint order: keep the card above the table */
  .pick__panel { position: fixed; left: 50%; top: 50%; translate: -50% -50%; width: min(calc(100vw - 2 * var(--g)), 440px); height: auto; max-height: calc(100dvh - 2 * var(--g)); overflow: auto; padding: 4px; }
  .pick__dish { position: relative; left: auto; top: auto; width: 56%; height: auto; margin: 0 auto -10px; aspect-ratio: 314 / 212; }
  .pick__card { position: relative; left: auto; width: 100%; height: auto; padding: 22px 20px 20px; border-radius: 14px; box-shadow: 0 0 0 3px var(--blue); }
  .pick__head { gap: 12px; }
  .pick__title { font-size: 17px; line-height: 1.5; }
  .pick__close { width: 36px; height: 36px; }
  .pick__close img { width: 14px; height: 14px; }
  .pick__body { margin-top: 12px; width: auto; font-size: 13px; line-height: 1.55; }
  .pick__body p + p { margin-top: 12px; }
  .pick__foot { margin-top: 22px; flex-wrap: wrap; gap: 16px; }
  .pick__nav { gap: 14px; font-size: 13px; line-height: 1.5; }
  .pick__back { gap: 8px; }
  .pick__next { gap: 8px; }
  .pick__nav svg { width: 26px; height: 9px; }
  .btn--pick { height: 44px; font-size: 14px; line-height: 1.5; }

  /* Latest works */
  .works--latest .frame { padding: 64px var(--g) 64px; }
  .latest__head { align-items: center; gap: 16px; }
  .latest__title { margin: 0; width: auto; text-align: left; font-size: clamp(30px, 9vw, 44px); line-height: 1.1; top: 0; white-space: normal; }
  .latest__head .btn { margin-top: 0; }
  .works--latest .works__grid { margin-top: 32px; }
}

/* =========================================================================
   SERVICES PAGE — services.html (Figma frame "Services • Skatesphere", 1440 × 7284)
   ========================================================================= */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
/* Poppins has no arrow glyphs; Figma drew "→" with a fallback font, so the arrow is a small inline SVG instead */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- A de-sign of collective intelligence — the honeycomb (y 0–1453) ---------- */
.hive { position: relative; z-index: 2; height: calc(1453 * var(--s)); }
.hive .frame { height: 100%; }
.hive__title { position: absolute; left: 0; top: calc(260 * var(--s)); width: 100%; text-align: center; white-space: nowrap; font-size: calc(64 * var(--s)); line-height: calc(70 * var(--s)); }
.hive__comb { position: absolute; left: calc(120 * var(--s)); top: calc(370 * var(--s)); width: calc(1200 * var(--s)); height: calc(816 * var(--s)); }
/* the bee's dashed flight path sits over the cells, like in the file; it draws itself in on arrival */
.hive__trail { position: absolute; z-index: 2; left: calc(57.87 * var(--s)); top: calc(25.94 * var(--s)); width: calc(1036.73 * var(--s)); height: calc(905.76 * var(--s)); pointer-events: none; }
.hive__cells { position: absolute; inset: 0; }
.hive__bee { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.hive__bang { position: absolute; left: calc(1193.73 * var(--s)); top: calc(420.02 * var(--s)); width: calc(73.39 * var(--s)); height: auto; transform-origin: 20% 100%; animation: bang-pop 2.8s ease-in-out infinite; }
@keyframes bang-pop { 0%, 62%, 100% { transform: none; } 70% { transform: scale(1.14) rotate(5deg); } 78% { transform: scale(.96) rotate(-2deg); } 86% { transform: none; } }
@keyframes bang-in { 0% { opacity: 0; transform: scale(.3) rotate(-12deg); } 60% { opacity: 1; transform: scale(1.18) rotate(4deg); } 100% { opacity: 1; transform: none; } }

/* The bee. main.js flies it across the cells in reading order — I spy · with my · little · eye… — then out to
   its spot by the "!!", where it keeps hovering: a little bob up and down, wings always going.
   It wears a thin white edge so it stays visible over the blue cells (on the page background it disappears). */
.hive__buzz { position: absolute; left: calc(1063.93 * var(--s)); top: calc(514.4 * var(--s)); width: calc(125.36 * var(--s)); aspect-ratio: 125.36 / 127.29; will-change: transform; }
.bee { position: absolute; inset: 0; animation: bee-hover 1.9s ease-in-out infinite; }
.bee img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bee__wings { transform-origin: 51.9% 45.3%; animation: wing-flap .075s ease-in-out infinite alternate; }   /* pivot where the wings meet the body */
@keyframes bee-hover {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(calc(-2 * var(--s)), calc(-7 * var(--s))) rotate(-3deg); }
  50% { transform: translate(calc(1 * var(--s)), calc(-2 * var(--s))) rotate(1deg); }
  75% { transform: translate(calc(2 * var(--s)), calc(-8 * var(--s))) rotate(-2deg); }
}
@keyframes wing-flap { from { transform: rotate(-11deg); } to { transform: rotate(7deg) scale(.94); } }
/* while it waits to take off it is out of sight, and the "!!" only pops up once it has arrived */
[data-motion="on"] .hive__comb:not(.bee-out) .hive__buzz { visibility: hidden; }
[data-motion="on"] .hive__comb:not(.bee-home) .hive__bang { opacity: 0; animation: none; }
[data-motion="on"] .hive__comb.bee-home .hive__bang { animation: bang-in .55s cubic-bezier(.3, 1.4, .5, 1) both, bang-pop 2.8s ease-in-out 1.4s infinite; }
/* each word gives a little jump as the bee reaches it */
.hex__label.is-buzzed { animation: label-buzz .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes label-buzz { 0% { scale: 1; } 35% { scale: 1.22; } 100% { scale: 1; } }

/* One cell: a blue hexagon that dissolves (0.3s, ease-out — the prototype's "while hovering") into
   its white side: an illustration, the step and its question. Everything inside scales with the cell. */
.hex { position: absolute; width: calc(380 * var(--s)); height: calc(447 * var(--s)); container-type: inline-size; pointer-events: none; outline: none; }
.hex--1 { left: 0;     top: 0; }
.hex--2 { left: calc(410 * var(--s));  top: 0; }
.hex--3 { left: calc(820 * var(--s));  top: 0; }
.hex--4 { left: calc(208 * var(--s));  top: calc(369 * var(--s)); }
.hex--5 { left: calc(618 * var(--s));  top: calc(369 * var(--s)); }
.hex__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hex__front { fill: var(--blue); pointer-events: visiblePainted; cursor: pointer; }   /* only the hexagon itself reacts, not its box */
.hex__back { opacity: 0; pointer-events: none; transition: opacity .3s ease-out; }
.hex__label, .hex__face, .hex__reveal { position: absolute; pointer-events: none; transition: opacity .3s ease-out; }
.hex__label {
  left: var(--cx); top: var(--cy);
  transform: translate(-50%, -50%) rotate(var(--r));
  font: 600 calc(36 * 100cqi / 380)/1.5 var(--font-text);
  color: var(--white); text-transform: uppercase; white-space: nowrap;
}
.hex__label--1 { --cx: 82.24%; --cy: 74.5%;  --r: -30deg; }
.hex__label--2 { --cx: 35.53%; --cy: 18.57%; --r: 150deg; }
.hex__label--3 { --cx: 20.66%; --cy: 75.5%;  --r: 30deg; }
.hex__label--4 { --cx: 40.13%; --cy: 83.67%; --r: 30deg; }
.hex__face { left: 32.59%; top: 45.95%; width: 34.76%; height: auto; }
.hex__reveal { inset: 0; opacity: 0; color: var(--blue); text-align: center; text-transform: uppercase; }
.hex__art { position: absolute; left: calc(var(--x) / 380 * 100%); top: calc(var(--y) / 447 * 100%); width: calc(var(--w) / 380 * 100%); height: auto; }
.hex__step { position: absolute; left: 0; right: 0; top: 55.7%; font: 600 calc(36 * 100cqi / 380)/1.5 var(--font-text); }
.hex__ask  { position: absolute; left: 0; right: 0; top: 67.79%; font: 500 calc(22 * 100cqi / 380)/1.5 var(--font-text); }
.hex__ask i { font-style: italic; }
.hex:is(:hover, :focus) .hex__back, .hex:is(:hover, :focus) .hex__reveal { opacity: 1; }
.hex:is(:hover, :focus) .hex__label, .hex:is(:hover, :focus) .hex__face { opacity: 0; }
.hex:focus-visible .hex__shape { filter: drop-shadow(0 0 1.5px var(--orange)) drop-shadow(0 0 1.5px var(--orange)); }

/* ---------- Breaking down the scary bits (y 1453–2522) ---------- */
.scary { position: relative; z-index: 1; height: calc(1069 * var(--s)); overflow-x: clip; }
.scary__lens span { position: absolute; left: calc(50% - calc(1092.5 * var(--s))); width: calc(2185 * var(--s)); height: calc(889 * var(--s)); border-radius: 50%; background: var(--white); }
.scary__lens span:first-child { top: 0; }
.scary__lens span:last-child { top: calc(180 * var(--s)); }
.scary .frame { height: 100%; }
.scary__art { position: absolute; left: calc(213 * var(--s)); top: calc(200 * var(--s)); width: calc(446 * var(--s)); height: calc(669 * var(--s)); }
.scary__photo { position: absolute; inset: 0; border-radius: calc(20 * var(--s)); overflow: hidden; }
.scary__photo img { width: 100%; height: 100%; object-fit: cover; }   /* (the photos come from Figma with their orange wash already in them) */
/* the taped to-do note (Figma: 164,456 · 195 × 183), placed in % so it keeps its spot on phones */
.scary__note { position: absolute; left: -10.987%; top: 38.266%; width: 43.722%; height: auto; transform-origin: 68% 10%; transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); }
[data-motion="on"] .scary__art[data-shown="true"] .scary__note { animation: note-stick .65s cubic-bezier(.3, 1.3, .5, 1) .45s backwards; }
@keyframes note-stick {
  from { opacity: 0; transform: translate(-6%, -12%) rotate(-12deg) scale(1.08); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: none; }
}
@media (hover: hover) { .scary__art:hover .scary__note { transform: rotate(-4deg) translateY(-1.5%); } }
.scary__copy { position: absolute; left: calc(779 * var(--s)); top: calc(373 * var(--s)); width: calc(502 * var(--s)); text-transform: uppercase; }
.scary__title { width: calc(500 * var(--s)); font: 600 calc(36 * var(--s))/calc(40 * var(--s)) var(--font-text); }
.scary__lead { margin-top: calc(12 * var(--s)); width: calc(501 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.scary__body { margin-top: calc(20 * var(--s)); width: calc(500 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); }
.scribble--depth::after { left: -0.42em; top: 1.065em; width: 9.653em; height: 0.557em; background-image: url("../img/underline-depth.svg"); transition-delay: .45s; }

/* ---------- Within the Sphere (y 2562–3548) ---------- */
.sphere { position: relative; z-index: 1; margin-top: calc(40 * var(--s)); height: calc(986 * var(--s)); }
.sphere .frame { height: 100%; overflow: clip; }
.sphere__sun { position: absolute; left: calc(1019 * var(--s)); top: 0; width: calc(986 * var(--s)); height: calc(986 * var(--s)); border-radius: 50%; background: var(--cream); }
/* The mascot rolls in from the right edge, pops past its spot, bounces back and settles — then starts pulling
   faces (main.js). A full roll: it turns by its own travel (calc(552 * var(--s)) over a calc(493 * var(--s)) radius ≈ 64°). */
[data-motion="on"] .sphere:not([data-shown="true"]) .sphere__sun { transform: translateX(56%) rotate(64deg); }
[data-motion="on"] .sphere[data-shown="true"] .sphere__sun { animation: sun-pop 1.4s both; }
@keyframes sun-pop {
  0%   { transform: translateX(56%) rotate(64deg);                     animation-timing-function: cubic-bezier(.25, .6, .35, 1); }
  50%  { transform: translateX(-4.6%) rotate(-5deg) scale(.95, 1.04); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  68%  { transform: translateX(1.4%) rotate(1.6deg) scale(1.02, .98); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  84%  { transform: translateX(-.5%) rotate(-.6deg);                   animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  100% { transform: none; }
}
/* point at it and it leans out a little further to have a look around */
.sphere__sun { transition: translate .7s cubic-bezier(.3, 1.5, .5, 1), rotate .7s cubic-bezier(.3, 1.5, .5, 1); }
.sphere__sun:hover { translate: -5% 0; rotate: -7deg; }
.sv-mascot { position: absolute; left: 23.94%; top: 23.94%; width: 36.83%; aspect-ratio: 363.17 / 217.23; }
.sv-mascot .mascot__face { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; transform: scaleX(-1); }   /* the same face as on Home, mirrored (as in the file) */
.sphere__title { position: absolute; left: calc(120 * var(--s)); top: calc(80 * var(--s)); margin: 0; font-size: calc(260 * var(--s)); line-height: calc(264 * var(--s)); }
.sphere__ring { position: absolute; left: calc(983.62 * var(--s)); top: calc(633 * var(--s)); width: calc(220 * var(--s)); height: calc(220 * var(--s)); overflow: visible; }
.sphere__ring text { font: 600 30px var(--font-text); fill: var(--blue); text-anchor: middle; }
/* the SERVICES. SERVICES. badge turns slowly, like a record */
.sphere__spin { transform-origin: 110px 110px; animation: ring-spin 28s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ---------- The services (y 3668–5381) ---------- */
.offer { position: relative; z-index: 1; margin-top: calc(120 * var(--s)); }
.offer .frame { padding: 0 calc(200 * var(--s)); }
.svc { position: relative; padding: calc(40 * var(--s)) 0; }
.svc:first-child { padding-top: 0; }
.svc + .svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: max(1px, calc(1 * var(--s))); background: var(--line); transform: translateY(-50%); }   /* a hairline, like Figma's lines: it takes no space */
.svc:last-child { padding-bottom: 0; }
.svc__title { display: flex; gap: calc(20 * var(--s)); margin: 0; font: 600 calc(36 * var(--s))/calc(54 * var(--s)) var(--font-text); text-transform: uppercase; }
.svc__slash { text-transform: none; }
.svc__desc { margin-top: calc(20 * var(--s)); width: calc(980 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; }
.svc__tags { display: flex; flex-wrap: wrap; gap: calc(16 * var(--s)) calc(20 * var(--s)); margin-top: calc(20 * var(--s)); max-width: calc(980 * var(--s)); }
.svc--pack .svc__tags, .svc--web .svc__tags { margin-top: calc(53 * var(--s)); }
.svc--web .svc__tags { max-width: calc(610 * var(--s)); }   /* the design breaks this list into 2 + 3 */
.svc__tags li {
  display: inline-flex; align-items: center;
  height: calc(44 * var(--s)); padding: 0 calc(24 * var(--s)); border-radius: calc(22 * var(--s));
  background: var(--blue); color: var(--cream);
  font: 500 calc(16 * var(--s))/calc(20 * var(--s)) var(--font-text); text-transform: uppercase; white-space: nowrap;
}
/* "Read more" opens the three detail points underneath (the More / Less variants of the Services component) */
.svc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2, .7, .2, 1); }
.svc__more > div { min-height: 0; overflow: hidden; }
.svc.is-open .svc__more { grid-template-rows: 1fr; }
.svc__points { display: flex; flex-direction: column; gap: calc(40 * var(--s)); padding: calc(60 * var(--s)) 0 0 calc(53 * var(--s)); width: calc(960 * var(--s)); }
.svc__points li { position: relative; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }
.svc__points li::before { content: ""; position: absolute; left: calc(-20 * var(--s)); top: calc(14 * var(--s)); width: calc(5 * var(--s)); height: calc(5 * var(--s)); border-radius: 50%; background: currentColor; }
[data-motion="on"] .svc__points li { opacity: 0; transform: translateY(calc(10 * var(--s))); transition: opacity .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
[data-motion="on"] .svc.is-open .svc__points li { opacity: 1; transform: none; }
[data-motion="on"] .svc.is-open .svc__points li:nth-child(1) { transition-delay: .12s; }
[data-motion="on"] .svc.is-open .svc__points li:nth-child(2) { transition-delay: .2s; }
[data-motion="on"] .svc.is-open .svc__points li:nth-child(3) { transition-delay: .28s; }
.svc__toggle { display: inline-flex; align-items: center; gap: calc(7 * var(--s)); height: calc(46 * var(--s)); margin-top: calc(80 * var(--s)); color: var(--grey); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; transition: color .2s ease; }
.svc__toggle-text { text-decoration: underline; text-underline-position: from-font; text-decoration-thickness: from-font; }
.svc__arrow { width: calc(31.5 * var(--s)); height: calc(11 * var(--s)); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.svc__toggle:hover { color: var(--blue); }
.svc__toggle:hover .svc__arrow { transform: translateX(calc(6 * var(--s))); }

/* ---------- Interested in what we do? (y 5541–5947) ---------- */
.reach { position: relative; z-index: 1; margin-top: calc(160 * var(--s)); }
.reach .frame { height: calc(406 * var(--s)); }
.reach__intro { position: absolute; left: calc(120 * var(--s)); top: 0; width: calc(578 * var(--s)); }
.reach__title { margin: 0; font-size: calc(64 * var(--s)); line-height: calc(70 * var(--s)); }
.reach__line { display: block; }
.reach__write { margin-top: calc(48 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; }
.reach__email { text-decoration: none; transition: color .2s ease; }
.reach__email:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.reach__copy { display: inline-grid; place-items: center; width: calc(24 * var(--s)); height: calc(24 * var(--s)); margin-left: calc(8 * var(--s)); vertical-align: calc(-4 * var(--s)); border-radius: calc(4 * var(--s)); }
.reach__copy img { width: calc(18 * var(--s)); height: calc(22 * var(--s)); }
.reach__copy:hover img { transform: translateY(-1px); }
.reach__copied { display: block; height: 0; font-size: calc(16 * var(--s)); line-height: calc(24 * var(--s)); color: var(--orange); white-space: nowrap; }
.reach__form { position: absolute; left: calc(787 * var(--s)); top: 0; width: calc(533 * var(--s)); display: flex; flex-direction: column; gap: calc(16 * var(--s)); }
.reach__field {
  display: block; width: 100%; height: calc(73 * var(--s)); margin: 0;
  padding: calc(20 * var(--s)) calc(24 * var(--s)); border: 0; border-radius: calc(8 * var(--s));
  background: #EEEEEE; color: var(--blue);
  font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text);
  -webkit-appearance: none; appearance: none;
  transition: box-shadow .2s ease, background-color .2s ease;
}
.reach__field::placeholder { color: #C7C7C7; text-transform: uppercase; opacity: 1; }
.reach__field:focus { outline: none; background: #E8E8F8; box-shadow: inset 0 0 0 2px var(--blue); }
.reach__field[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--orange); }
.reach__field--message { height: calc(146 * var(--s)); resize: none; }
.reach__send { display: flex; align-items: center; gap: calc(20 * var(--s)); margin-top: calc(6 * var(--s)); }
.reach__status { font: 500 calc(18 * var(--s))/calc(27 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }
.page--services .footer { margin-top: calc(160 * var(--s)); }

/* ---------- Services page, mobile (< 900px) ---------- */
@media (max-width: 899px) {
  /* Honeycomb: one zig-zag column of cells so the words stay readable */
  .hive { height: auto; padding: calc(var(--g) + 64px + 40px) var(--g) 56px; }
  .hive .frame { height: auto; }
  .hive__title { position: static; white-space: normal; text-align: left; font-size: clamp(30px, 8.6vw, 44px); line-height: 1.12; }
  .hive__comb {
    --hw: calc((100vw - 2 * var(--g)) / 1.547);
    --hh: calc(var(--hw) * 447 / 380);
    position: relative; left: auto; top: auto; width: 100%; height: calc(var(--hh) * 4.302); margin-top: 32px;
  }
  .hive__trail { display: none; }
  .hex { width: var(--hw); height: var(--hh); }
  .hex--1 { left: 0; top: 0; }
  .hex--2 { left: calc(var(--hw) * .547); top: calc(var(--hh) * .8255); }
  .hex--3 { left: 0; top: calc(var(--hh) * 1.651); }
  .hex--4 { left: calc(var(--hw) * .547); top: calc(var(--hh) * 2.4765); }
  .hex--5 { left: 0; top: calc(var(--hh) * 3.302); }
  .hive__buzz { left: auto; right: 8%; top: auto; bottom: 6%; width: 22%; }
  .hive__bang { left: auto; right: 0; top: auto; bottom: 15%; width: 9.5%; }

  /* Scary bits */
  .scary { height: auto; }
  .scary__lens span { left: -40%; width: 180%; height: 100%; }
  .scary__lens span:last-child { display: none; }
  .scary .frame { height: auto; padding: 96px var(--g) 110px; display: flex; flex-direction: column; gap: 36px; }
  .scary__art { position: relative; left: auto; top: auto; width: min(86%, 446px); height: auto; aspect-ratio: 446 / 669; margin-inline: auto; translate: 5.5% 0; }   /* nudged right so the note's overhang stays on screen */
  .scary__photo { border-radius: 16px; }
  .scary__copy { position: static; width: auto; max-width: 501px; margin-inline: auto; }
  .scary__title { width: auto; font-size: 26px; line-height: 1.15; }
  .scary__lead { width: auto; margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .scary__body { width: auto; margin-top: 14px; font-size: 16px; line-height: 1.5; }

  /* Within the Sphere */
  .sphere { margin-top: 24px; height: auto; }
  .sphere .frame { height: auto; padding: 24px var(--g) 0; aspect-ratio: 390 / 420; }
  .sphere__title { left: var(--g); top: 8vw; font-size: 21vw; line-height: 1.015; }
  .sphere__sun { left: 70vw; top: 4vw; width: 78vw; height: 78vw; }
  .sphere__ring { left: 54vw; top: 70vw; width: 34vw; height: 34vw; }

  /* Services list */
  .offer { margin-top: 32px; }
  .offer .frame { padding: 0 var(--g); }
  .svc { padding: 32px 0; }
  .svc__title { gap: 10px; font-size: 21px; line-height: 1.35; }
  .svc__desc { width: auto; margin-top: 10px; font-size: 15px; line-height: 1.5; }
  .svc__tags, .svc--pack .svc__tags, .svc--web .svc__tags { max-width: none; margin-top: 16px; gap: 8px; }
  .svc__tags li { height: 32px; padding: 0 14px; border-radius: 16px; font-size: 12px; line-height: 1.4; }
  .svc__points { width: auto; gap: 18px; padding: 28px 0 0 22px; }
  .svc__points li { font-size: 14px; line-height: 1.5; }
  .svc__points li::before { left: -14px; top: 8px; width: 5px; height: 5px; }
  .svc__toggle { margin-top: 28px; height: 32px; gap: 6px; font-size: 15px; line-height: 1.5; }
  .svc__arrow { width: 24px; height: 9px; }

  /* Contact */
  .reach { margin-top: 72px; }
  .reach .frame { height: auto; padding: 0 var(--g); display: flex; flex-direction: column; gap: 32px; }
  .reach__intro { position: static; width: auto; }
  .reach__title { font-size: clamp(30px, 8.6vw, 44px); line-height: 1.1; }
  .reach__write { margin-top: 20px; font-size: 15px; line-height: 1.6; }
  .reach__copy { width: 24px; height: 24px; margin-left: 6px; vertical-align: -6px; }
  .reach__copy img { width: 15px; height: 18px; }
  .reach__copied { font-size: 13px; line-height: 20px; }
  .reach__form { position: static; width: 100%; gap: 12px; }
  .reach__field { height: 56px; padding: 14px 16px; font-size: 16px; line-height: 28px; }
  .reach__field--message { height: 130px; }
  .reach__send { margin-top: 4px; flex-wrap: wrap; gap: 12px; }
  .reach__status { font-size: 13px; line-height: 1.5; }
  .page--services .footer { margin-top: 72px; }
}

/* =========================================================================
   CONTACT PAGE (Figma frame: Contact • Skatesphere, 1440 × 1911)
   ========================================================================= */
/* ---------- Say hello: the skater + the form (y 0–1177) ---------- */
.hello .frame { height: calc(1177 * var(--s)); }

/* The skating mascot (inline SVG so its parts can move) */
.skater { position: absolute; left: calc(90 * var(--s)); top: calc(467 * var(--s)); width: calc(569 * var(--s)); height: calc(590 * var(--s)); color: var(--blue); -webkit-tap-highlight-color: transparent; }
.skater__ride { width: 100%; height: 100%; transform-origin: 50% 92%; }   /* (the outer box stays put, so it can be watched for scrolling into view) */
.skater svg { width: 100%; height: 100%; overflow: visible; }
/* riding: the body bobs gently over the bumps, pivoting on the board */
.skater__body { transform-box: view-box; transform-origin: 52.7% 84.7%; animation: skate-ride 2.4s ease-in-out infinite; }
/* ollie on hover / tap (main.js adds .is-ollie, removes it when the jump lands) */
.skater.is-ollie .skater__body { animation: skate-ollie .8s cubic-bezier(.3, .6, .4, 1) both; }
/* "call me": every few seconds the shaka hand waggles at the wrist, as if miming a phone call */
.skater__hand { transform-box: view-box; transform-origin: 10.545% 24.746%; animation: hand-call 3.6s ease-in-out 3.6s infinite; }
/* brows lift now and then, like the mascots on the other pages */
.skater__brow { transform-box: fill-box; transform-origin: 50% 100%; animation: brow-lift 4.6s ease-in-out 1.6s infinite; }
.skater__brow + .skater__brow { animation-delay: 1.68s; }
.skater__hub { transform-box: fill-box; transform-origin: 50% 50%; }
/* Arrives from off-screen left when the page opens: rolls in at an easy pace (wheels spinning, speed lines
   streaming behind), overshoots a touch and settles. Once it has stopped, the wheels and speed lines rest. */
[data-motion="on"] .skater:not([data-shown="true"]) .skater__ride { transform: translateX(-125%); }
[data-motion="on"] .skater:not([data-shown="true"]) .skater__trail { opacity: 0; }
[data-motion="on"] .skater[data-shown="true"] .skater__ride { animation: skate-in 3.2s linear .15s both; }
[data-motion="on"] .skater[data-shown="true"] .skater__hub { animation: hub-roll 2.4s cubic-bezier(.4, .25, .45, 1) .15s both; }
[data-motion="on"] .skater[data-shown="true"] .skater__trail path {
  animation: trail-stream .95s linear var(--td) 2 backwards, trail-settle .5s ease-out calc(var(--td) + 1.9s) forwards;
}
.skater__trail path:nth-child(1) { --td: .15s; }
.skater__trail path:nth-child(2) { --td: .45s; }
.skater__trail path:nth-child(3) { --td: .7s; }
.skater__trail path:nth-child(4) { --td: .95s; }
.skater__trail path:nth-child(5) { --td: .3s; }
@keyframes skate-in {
  0%   { transform: translateX(-125%) rotate(-2deg); animation-timing-function: cubic-bezier(.4, .25, .45, 1); }
  75%  { transform: translateX(2.5%) rotate(2deg); animation-timing-function: ease-in-out; }
  88%  { transform: translateX(-.8%) rotate(-.6deg); animation-timing-function: ease-in-out; }
  100% { transform: none; }
}
@keyframes hub-roll { from { transform: rotate(-1800deg); } to { transform: none; } }
@keyframes trail-stream {
  0%   { transform: translateX(14px); opacity: 0; }
  18%  { opacity: 1; }
  72%  { opacity: 1; }
  100% { transform: translateX(-26px); opacity: 0; }
}
@keyframes trail-settle { from { transform: translateX(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes skate-ride {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%      { transform: translateY(-5px) rotate(-.8deg); }
  60%      { transform: translateY(1px) rotate(.4deg); }
}
@keyframes skate-ollie {
  0%   { transform: none; }
  16%  { transform: translateY(4px) rotate(1.5deg); }      /* crouch */
  34%  { transform: translateY(-52px) rotate(-7deg); }     /* pop, nose up */
  58%  { transform: translateY(-44px) rotate(3deg); }      /* level out in the air */
  82%  { transform: translateY(3px) rotate(-.5deg); }      /* land */
  100% { transform: none; }
}
@keyframes hand-call {
  0%, 42%, 100% { transform: none; }
  7%  { transform: rotate(-10deg); }
  15% { transform: rotate(7deg); }
  23% { transform: rotate(-8deg); }
  31% { transform: rotate(5deg); }
  38% { transform: rotate(-2deg); }
}
@keyframes brow-lift { 0%, 12%, 100% { transform: none; } 4%, 8% { transform: translateY(-7px) rotate(-4deg); } }

/* The form column */
.hello__col { position: absolute; left: calc(787 * var(--s)); top: calc(260 * var(--s)); width: calc(533 * var(--s)); }
.hello__form { display: flex; flex-direction: column; gap: calc(16 * var(--s)); }
.page--contact .reach__field { background: var(--white); }
.page--contact .reach__field:focus { background: var(--white); }
.page--contact .reach__field--message { height: calc(228 * var(--s)); }
.hello__send { width: 100%; justify-content: center; margin-top: calc(4 * var(--s)); color: var(--white); }
.hello__send[data-note="error"] { background: var(--orange); }   /* "Fill in all three" shows on the button for a moment */
.hello__or { margin-top: calc(20 * var(--s)); text-align: center; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; }
.hello__ways { margin-top: calc(20 * var(--s)); display: flex; align-items: center; justify-content: space-between; gap: calc(24 * var(--s)); }
.hello__socials { display: flex; gap: calc(20 * var(--s)); }
.hello__note { margin-top: calc(79 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }
.hello__note a { text-decoration: underline; text-underline-position: from-font; text-decoration-thickness: from-font; transition: color .2s ease, text-decoration-color .2s ease; }
.hello__note a:hover { color: var(--blue); text-decoration-color: var(--orange); }

/* ---------- Happy Send-offs. (y 1177–1838) ---------- */
.sendoff .frame { height: calc(661 * var(--s)); }
.sendoff__title { position: absolute; left: calc(40 * var(--s)); top: 0; margin: 0; font-size: calc(260 * var(--s)); line-height: calc(264 * var(--s)); white-space: nowrap; }
.sendoff__tag { position: absolute; right: calc(40 * var(--s)); top: calc(527 * var(--s)); font: 600 calc(36 * var(--s))/calc(54 * var(--s)) var(--font-text); text-transform: uppercase; white-space: nowrap; }

/* ---------- Mini footer (y 1838–1911) ---------- */
.minifoot { position: relative; z-index: 1; background: var(--blue); color: var(--white); box-shadow: 0 calc(-4 * var(--s)) calc(10 * var(--s)) rgba(0, 0, 0, .06); }
.minifoot__bar { height: calc(73 * var(--s)); padding: 0 calc(20 * var(--s)); display: flex; align-items: center; justify-content: space-between; gap: calc(24 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; }
.minifoot__bar a { text-decoration: underline; text-underline-position: from-font; text-decoration-thickness: from-font; transition: text-decoration-color .2s ease; }
.minifoot__bar a:hover { text-decoration-color: var(--orange); }

/* ---------- Contact page, mobile (< 900px) ---------- */
@media (max-width: 899px) {
  .hello .frame { height: auto; padding: calc(var(--g) + 64px + 40px) var(--g) 0; display: flex; flex-direction: column; }
  .hello__col { position: static; width: 100%; }
  .skater { position: relative; left: auto; top: auto; order: 2; width: min(76%, 380px); height: auto; aspect-ratio: 569 / 590; margin: 56px auto 0; }
  .hello__form { gap: 12px; }
  .page--contact .reach__field--message { height: 150px; }
  .hello__send { margin-top: 4px; }
  .hello__or { margin-top: 16px; font-size: 15px; line-height: 1.5; }
  .hello__ways { margin-top: 16px; gap: 10px; }
  .hello__socials { gap: 10px; }
  .hello__note { margin-top: 36px; font-size: 15px; line-height: 1.6; }
  .sendoff .frame { height: auto; padding: 64px var(--g) 48px; }
  .sendoff__title { position: static; font-size: 20vw; line-height: 1; }
  .sendoff__tag { position: static; margin-top: 18px; text-align: right; white-space: normal; font-size: clamp(15px, 4.4vw, 22px); line-height: 1.45; }
  .minifoot__bar { height: auto; padding: 14px var(--g); flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; line-height: 1.5; }
}

/* ---------- About page "Work that moves us", mobile (< 900px) ---------- */
@media (max-width: 899px) {
  .who, .team, .haul { overflow-x: clip; }   /* the snorkel bubbles, name labels and table art reach past a phone's edge: keep them from making the page scroll sideways */
  .motive { height: auto; padding: 88px var(--g) 96px; }
  .motive__ovals { left: -26%; width: 152%; top: 24px; height: calc(100% - 24px); }
  .motive .frame { display: flex; flex-direction: column; gap: 40px; }
  .motive__photo { position: relative; left: auto; top: auto; width: min(100%, 446px); height: auto; aspect-ratio: 446 / 669; margin-inline: auto; border-radius: 16px; }
  .motive__copy { position: static; width: 100%; max-width: 501px; margin-inline: auto; }
  .motive__title { font-size: 26px; line-height: 1.15; }
  .motive__lead { margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .motive__body { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .motive__sign { position: relative; left: auto; top: auto; width: 200px; height: auto; aspect-ratio: 265.47 / 90.8; margin: -16px 0 0 auto; }
}

/* Work photos load gracefully: a soft blurred preview of the photo (a tiny inline image in --lqip) fills the
   frame at once, then the real photo fades in over it — no empty box, alt text or broken-image icon meanwhile */
.work__media, .proj__hero, .proj__ph { position: relative; background-color: #E6E6F2; }
.work__media::before, .proj__hero::before, .proj__ph::before {
  content: ""; position: absolute; inset: -24px; pointer-events: none;
  background: var(--lqip, none) center / cover no-repeat;
  filter: blur(18px);
}
.work__media > img, .proj__hero > img, .proj__ph > img { position: relative; color: transparent; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), filter .35s ease; }
.work__media > img.is-loading, .proj__hero > img.is-loading, .proj__ph > img.is-loading { opacity: 0; }

/* =========================================================================
   PROJECT PAGES (Figma frames: Works Description • Skatesphere, 1440 wide)
   ========================================================================= */
.proj { position: relative; z-index: 1; overflow-x: clip; }
.proj .frame { padding: 0 calc(120 * var(--s)); }
.proj__oval { position: absolute; left: calc(50% - calc(1134 * var(--s))); top: calc(120.3 * var(--s)); width: calc(2185 * var(--s)); height: calc(889 * var(--s)); border-radius: 50%; background: var(--white); pointer-events: none; }
.proj__head { position: relative; padding-top: calc(363 * var(--s)); }
.proj__title { margin: 0; font-size: calc(260 * var(--s)); line-height: calc(264 * var(--s)); }
.proj__deliv { position: absolute; right: 0; top: calc(260 * var(--s)); margin: 0; text-align: right; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; }
.proj__deliv dt { color: var(--muted); }
.proj__deliv dd { margin: calc(4 * var(--s)) 0 0; }
.proj__hero { margin: calc(110 * var(--s)) 0 0; height: calc(540 * var(--s)); border-radius: calc(16 * var(--s)); overflow: hidden; }
.proj__hero img, .proj__ph img { width: 100%; height: 100%; object-fit: cover; }
/* scope · client · duration · year, split by hairlines */
.proj__facts { margin: calc(40 * var(--s)) 0 0; display: flex; justify-content: space-between; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); text-transform: uppercase; }
.proj__fact dt { color: var(--muted); }
.proj__fact dd { margin: calc(4 * var(--s)) 0 0; white-space: nowrap; }
.proj__fact:nth-of-type(2), .proj__fact:nth-of-type(3) { width: calc(193.5 * var(--s)); }
.proj__fact:nth-of-type(4) { width: calc(95 * var(--s)); }
.proj__rule { flex: none; width: 1px; height: calc(70 * var(--s)); background: var(--line); }
.proj__sep { margin: calc(109 * var(--s)) 0 0; height: 1px; border: 0; background: var(--line); }
.proj__sep--end { margin-top: calc(119 * var(--s)); }
/* the four chapters: /- Challenge [1] … */
.proj__sec { margin-top: calc(121.4 * var(--s)); }
.proj__h { display: flex; margin: 0; font: 500 calc(36 * var(--s))/calc(54 * var(--s)) var(--font-text); text-transform: uppercase; }
.proj__slash { flex: none; width: calc(74 * var(--s)); }
.proj__num { margin-left: auto; }
.proj__p { margin-top: calc(38.6 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }
.proj__pair { margin-top: calc(40 * var(--s)); display: grid; grid-template-columns: 1fr 1fr; gap: calc(40 * var(--s)); }
.proj__fig { margin: 0; }
.proj__fig--wide { margin-top: calc(20 * var(--s)); }
.proj__ph { display: block; height: calc(540 * var(--s)); border-radius: calc(16 * var(--s)); overflow: hidden; }
.proj__fig figcaption { margin-top: calc(20 * var(--s)); text-align: center; font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }
/* Latest Works on a project page: previous / next project */
.works--proj .frame { padding: calc(100 * var(--s)) calc(40 * var(--s)) calc(110 * var(--s)); }
.works--proj .latest__title { top: calc(11 * var(--s)); margin: 0; width: auto; text-align: left; }
.latest__nav { display: flex; gap: calc(40 * var(--s)); margin-top: calc(15 * var(--s)); }
.works--proj .latest__head .btn { margin-top: 0; }
.works--proj .works__grid { margin-top: calc(45 * var(--s)); }
.btn--back { gap: calc(19 * var(--s)); padding: 0 calc(24 * var(--s)) 0 calc(19 * var(--s)); }
.btn--back .swap { transform: rotate(-90deg); }   /* the ↗ arrow turned to ↖ — so its hover swap slides out sideways */

/* ---------- Project pages, mobile (< 900px) ---------- */
@media (max-width: 899px) {
  .proj .frame { padding: 0 var(--g); }
  .proj__oval { left: -45%; width: 190%; top: 40px; height: 560px; }
  .proj__head { padding-top: calc(var(--g) + 64px + 48px); }
  .proj__title { font-size: 19vw; line-height: 1; }
  .proj__deliv { position: static; margin-top: 18px; text-align: left; font-size: 14px; line-height: 1.5; }
  .proj__deliv dd { margin-top: 2px; }
  .proj__hero { margin-top: 28px; height: auto; aspect-ratio: 1200 / 540; border-radius: 12px; }
  .proj__facts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; font-size: 13px; line-height: 1.5; }
  .proj__fact:nth-of-type(n) { width: auto; }
  .proj__fact dd { white-space: normal; }
  .proj__rule { display: none; }
  .proj__sep { margin-top: 32px; }
  .proj__sep--end { margin-top: 56px; }
  .proj__sec { margin-top: 52px; }
  .proj__h { font-size: 22px; line-height: 1.4; }
  .proj__slash { width: 40px; }
  .proj__p { margin-top: 14px; font-size: 15px; line-height: 1.6; }
  .proj__p br { display: none; }   /* the desktop line breaks don't suit a phone's width */
  .proj__pair { margin-top: 24px; grid-template-columns: 1fr; gap: 16px; }
  .proj__ph { height: auto; aspect-ratio: 580 / 540; border-radius: 12px; }
  .proj__fig--wide { margin-top: 16px; }
  .proj__fig--wide .proj__ph { aspect-ratio: 1200 / 540; }
  .proj__fig figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; }
  .works--proj .frame { padding: 56px var(--g) 64px; }
  .works--proj .latest__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .latest__nav { margin-top: 0; gap: 10px; flex-wrap: wrap; }
  .btn--back { gap: 8px; padding: 0 16px 0 14px; }
  .works--proj .works__grid { margin-top: 28px; }
  .works__grid--flip { grid-template-columns: 1fr; }
  .works__grid + .works__grid { margin-top: 36px; }
}

/* =========================================================================
   WORKS PAGE (Figma frame: Works • Skatesphere, 1440 × 5007)
   ========================================================================= */
.wk-hero { position: relative; z-index: 1; overflow-x: clip; }
.wk-hero .frame { height: calc(1463 * var(--s)); padding: calc(615 * var(--s)) 0 0 calc(279 * var(--s)); }   /* one "Works", centred in the blue band */
.wk-hero__oval { position: absolute; left: calc(50% - calc(1132 * var(--s))); width: calc(2185 * var(--s)); height: calc(889 * var(--s)); border-radius: 50%; background: var(--blue); }
.wk-hero__oval--1 { top: calc(220 * var(--s)); }
.wk-hero__oval--2 { top: calc(477 * var(--s)); }
/* "Works" stamped four times down the band, the fifth dropped clear below (Figma: 64px steps, then 224px) */
.wk-title { margin: 0; font-size: calc(260 * var(--s)); line-height: calc(264 * var(--s)); color: var(--white); white-space: nowrap; }
.wk-hero__sub { margin: calc(13.4 * var(--s)) 0 0 calc(-13.7 * var(--s)); font: 600 calc(36 * var(--s))/calc(54 * var(--s)) var(--font-text); color: var(--cream); text-transform: uppercase; }
/* on load the stack stamps down one copy at a time, then the last "Works" drops into its place */
.works--page .frame { padding: 0 calc(40 * var(--s)) calc(214 * var(--s)); }
.works--page .works__grid:first-child { margin-top: 0; }

/* ---------- Works page, mobile (< 900px) ---------- */
@media (max-width: 899px) {
  .wk-hero .frame { height: auto; padding: calc(var(--g) + 64px + 110px) var(--g) 120px; }
  .wk-hero__oval { left: -45%; width: 190%; height: 65%; }
  .wk-hero__oval--1 { top: 21%; }
  .wk-hero__oval--2 { top: 28%; }
  .wk-title { width: 2.79em; margin-inline: auto; font-size: 23vw; line-height: 1.0154; }   /* 2.79em = the word's width, so it centres */
  .wk-hero__sub { margin: 14px 0 0; font-size: 16px; line-height: 1.5; text-align: center; text-wrap: balance; }
  .works--page .frame { padding: 40px var(--g) 72px; }
}

/* ============ PAGE LOADER (assets/js/loader.js) ============ */
html[data-loading] { overflow: hidden; }
/* while the loader is up, the page's own CSS animations (like Home's drum-roll intro) wait at their first frame */
html[data-loading] .page *, html[data-loading] .page *::before, html[data-loading] .page *::after { animation-play-state: paused !important; }
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--blue);
  transition: transform .9s cubic-bezier(.76, 0, .24, 1);
}
.loader__art { display: block; width: min(66vw, 44vh, 380px); height: auto; overflow: visible; }
.loader--out { transform: translateY(-100%); }

/* ============ PRIVACY POLICY (privacy.html — Termly's text in the site's type) ============ */
.legal { position: relative; z-index: 1; }
.legal__head .frame { padding: calc(300 * var(--s)) calc(40 * var(--s)) 0; }
.legal__title { margin: 0; font-size: calc(200 * var(--s)); line-height: calc(204 * var(--s)); color: var(--blue); }
.legal__date { margin: calc(28 * var(--s)) 0 0 calc(6 * var(--s)); font: 500 calc(22 * var(--s))/calc(33 * var(--s)) var(--font-text); color: var(--grey); text-transform: uppercase; }
.legal__body .frame { padding: calc(110 * var(--s)) calc(40 * var(--s)) calc(220 * var(--s)); }
.legal__text { max-width: calc(980 * var(--s)); margin-left: calc(6 * var(--s)); font: 500 calc(19 * var(--s))/calc(32 * var(--s)) var(--font-text); color: var(--grey); }
.legal__text p, .legal__text ul, .legal__text ol, .legal__text address { margin: 0 0 calc(20 * var(--s)); }
.legal__text h2 { margin: calc(84 * var(--s)) 0 calc(26 * var(--s)); font: 600 calc(28 * var(--s))/calc(40 * var(--s)) var(--font-text); color: var(--blue); text-transform: uppercase; scroll-margin-top: calc(140 * var(--s)); }
.legal__text h3 { margin: calc(48 * var(--s)) 0 calc(18 * var(--s)); font: 600 calc(22 * var(--s))/calc(32 * var(--s)) var(--font-text); color: #1B1B1B; scroll-margin-top: calc(140 * var(--s)); }
.legal__text h2:first-child { margin-top: 0; }
.legal__text [id] { scroll-margin-top: calc(140 * var(--s)); }
.legal__text strong { font-weight: 600; color: #1B1B1B; }
.legal__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; transition: color .2s ease; }
.legal__text a:hover { color: var(--orange); }
.legal__text ul { padding-left: calc(28 * var(--s)); list-style: square outside; }
.legal__text ul ul { list-style-type: circle; }
.legal__text ul ul { margin: calc(12 * var(--s)) 0 0; }
.legal__text li { margin-bottom: calc(10 * var(--s)); }
.legal__text li::marker { color: var(--blue); }
.legal__text address { font-style: normal; color: #1B1B1B; }
.legal__short { padding-left: calc(20 * var(--s)); border-left: 3px solid var(--orange); }
.legal__toc { list-style: none; padding: 0; columns: 2; column-gap: calc(48 * var(--s)); }
.legal__toc li { break-inside: avoid; margin-bottom: calc(12 * var(--s)); }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal__table { margin: calc(8 * var(--s)) 0 calc(28 * var(--s)); overflow-x: auto; }
.legal__table table { width: 100%; border-collapse: collapse; font: 500 calc(16 * var(--s))/calc(26 * var(--s)) var(--font-text); }
.legal__table th, .legal__table td { padding: calc(14 * var(--s)) calc(18 * var(--s)); border: 1px solid rgba(33, 31, 254, .22); text-align: left; vertical-align: top; }
.legal__table th { background: var(--blue); color: var(--cream); font-weight: 600; text-transform: uppercase; }
.legal__table td:last-child { white-space: nowrap; color: #1B1B1B; }
.legal__credit { margin-top: calc(80 * var(--s)) !important; font-size: calc(15 * var(--s)); line-height: calc(24 * var(--s)); }

@media (max-width: 899px) {
  .legal__head .frame { padding: calc(var(--g) + 64px + 48px) var(--g) 0; }
  .legal__title { font-size: 16vw; line-height: 1; }
  .legal__date { margin: 14px 0 0 2px; font-size: 13px; line-height: 1.5; }
  .legal__body .frame { padding: 44px var(--g) 96px; }
  .legal__text { max-width: none; margin-left: 0; font-size: 15px; line-height: 1.65; }
  .legal__text p, .legal__text ul, .legal__text ol, .legal__text address { margin-bottom: 14px; }
  .legal__text h2 { margin: 48px 0 14px; font-size: 18px; line-height: 1.35; scroll-margin-top: 96px; }
  .legal__text h3 { margin: 30px 0 10px; font-size: 16px; line-height: 1.4; scroll-margin-top: 96px; }
  .legal__text [id] { scroll-margin-top: 96px; }
  .legal__text ul { padding-left: 20px; }
  .legal__text li { margin-bottom: 8px; }
  .legal__short { padding-left: 12px; }
  .legal__toc { columns: 1; }
  .legal__toc li { margin-bottom: 8px; }
  .legal__table table { font-size: 13px; line-height: 1.5; min-width: 560px; }
  .legal__table th, .legal__table td { padding: 10px 12px; }
  .legal__credit { margin-top: 48px !important; font-size: 13px; line-height: 1.5; }
}
.reach__form button[type="submit"]:disabled, .hello__form button[type="submit"]:disabled { cursor: progress; opacity: .8; }

/* ============ 404 (404.html) ============ */
.lost__hero .frame { padding: calc(280 * var(--s)) calc(40 * var(--s)) calc(220 * var(--s)); }
.lost__code { margin: 0; font-size: calc(360 * var(--s)); line-height: calc(340 * var(--s)); color: var(--blue); }
.lost__title { margin: calc(40 * var(--s)) 0 0; font: 600 calc(44 * var(--s))/calc(56 * var(--s)) var(--font-text); color: #1B1B1B; text-transform: uppercase; }
.lost__text { max-width: calc(640 * var(--s)); margin: calc(16 * var(--s)) 0 0; font: 500 calc(22 * var(--s))/calc(34 * var(--s)) var(--font-text); color: var(--grey); }
.lost__home { margin-top: calc(48 * var(--s)); }
@media (max-width: 899px) {
  .lost__hero .frame { padding: calc(var(--g) + 64px + 48px) var(--g) 96px; }
  .lost__code { font-size: 40vw; line-height: .95; }
  .lost__title { margin-top: 20px; font-size: 22px; line-height: 1.3; }
  .lost__text { max-width: none; margin-top: 10px; font-size: 15px; line-height: 1.6; }
  .lost__home { margin-top: 28px; }
}
