/* ==========================================================================
   Charlie Chen Yacht Design — home page, visual draft
   One idea: the page scrolls from day to night.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Sky states. --p1, --p2 and --p3 are driven by scroll (js/main.js). */
  --day: #F3F5F6;
  --dusk: #CFC1B8;
  --twilight: #2B3757;
  --night: #070B12;
  --p1: 0;
  --p2: 0;
  --p3: 0;
  --page-bg: var(--day);

  /* Ink on day, snow on night */
  --ink: #1A2128;
  --ink-mute: #5E6973;
  --ink-line: rgba(26, 33, 40, .16);
  --snow: #E9EFF4;
  --snow-mute: #8E9BA9;
  --snow-line: rgba(233, 239, 244, .16);
  --glow: #9CC3E2;

  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --header-h: 4.5rem;
  --ease: cubic-bezier(.2, .65, .2, 1);

  /* Display type: Archivo at 125% width, light, upper case */
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --d-stretch: 125%;
  --d-weight: 300;
  --d-case: uppercase;
  --d-track: .02em;
  --d-scale: 1;
  --d-lead: 1.06;
  --wm-size: .8125rem;
  --wm-track: .16em;
  --wm-weight: 500;
}

@supports (background: color-mix(in oklab, red, blue)) {
  :root {
    --page-bg: color-mix(in oklab,
      color-mix(in oklab,
        color-mix(in oklab, var(--day), var(--dusk) calc(var(--p1) * 100%)),
        var(--twilight) calc(var(--p2) * 100%)),
      var(--night) calc(var(--p3) * 100%));
  }
}
@supports not (background: color-mix(in oklab, red, blue)) {
  html.is-night { --page-bg: var(--night); }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 380;
  font-stretch: 100%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.skip {
  position: absolute; left: var(--pad); top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--ink); color: var(--day);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.skip:focus { top: .75rem; }

/* Tones: each section declares which half of the day it belongs to */
.tone-day {
  --fg: var(--ink); --fg-mute: var(--ink-mute); --line: var(--ink-line); --accent: var(--ink-mute);
  color: var(--fg);
}
.tone-night {
  --fg: var(--snow); --fg-mute: var(--snow-mute); --line: var(--snow-line); --accent: var(--glow);
  color: var(--fg);
}

/* ---------- Type ---------- */
.display, .h2, .statement__line, .concept__name, .press__name {
  font-family: var(--f-display);
  font-stretch: var(--d-stretch);
  font-weight: var(--d-weight);
  text-transform: var(--d-case);
  letter-spacing: var(--d-track);
  text-wrap: balance;
}
.display {
  font-size: calc(clamp(2.5rem, 6.2vw, 6rem) * var(--d-scale));
  line-height: var(--d-lead);
}
.h2 {
  font-size: calc(clamp(1.6rem, 3.1vw, 2.9rem) * var(--d-scale));
  line-height: calc(var(--d-lead) + .1);
}
.eyebrow {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent, currentColor);
}

.link {
  display: inline-flex; align-items: center; gap: .7em;
  padding-block: .85rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: border-color .5s var(--ease);
}
.link:hover { border-color: currentColor; }
.link .arrow { display: inline-block; transition: transform .6s var(--ease); }
.link:hover .arrow { transform: translateX(.35em); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--pad);
  color: var(--ink);
  transition: color .6s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--page-bg);
  opacity: .92;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity .6s var(--ease);
}
html.on-hero .site-header { color: #fff; }
html.on-hero .site-header::before { opacity: 0; }
html.is-night:not(.on-hero) .site-header { color: var(--snow); }

.wordmark { justify-self: start; display: inline-flex; flex-direction: column; gap: .32rem; line-height: 1; }
.wordmark__name {
  font-family: var(--f-display);
  font-stretch: var(--d-stretch);
  font-size: var(--wm-size);
  font-weight: var(--wm-weight);
  letter-spacing: var(--wm-track);
  text-transform: uppercase;
}
.wordmark__sub {
  font-size: .5625rem; font-weight: 500; letter-spacing: .36em; text-transform: uppercase;
  opacity: .74;
}

.nav { display: flex; gap: clamp(1.25rem, 2.8vw, 3rem); }
.nav a {
  position: relative; padding: .5rem 0;
  font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.social { display: flex; align-items: center; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.social--header { justify-self: end; }
.social a, .social span {
  display: grid; place-items: center; width: 1.875rem; height: 1.875rem;
  opacity: .86; transition: opacity .3s;
}
.social a:hover { opacity: 1; }
.icon { width: 1rem; height: 1rem; fill: currentColor; }
.is-pending { cursor: default; }

.menu-btn {
  display: none; justify-self: end;
  appearance: none; border: 0; background: none; color: inherit; cursor: pointer;
  padding: .75rem 0;
  font: inherit; font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: grid; align-content: center; gap: 3rem;
  padding: calc(var(--header-h) + 1rem) var(--pad) 2rem;
  background: var(--page-bg); color: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
html.is-night .menu { color: var(--snow); }
html.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
html.menu-open .site-header { color: var(--ink); }
html.menu-open.is-night .site-header { color: var(--snow); }
html.menu-open .site-header::before { opacity: 0; }
html.menu-open { overflow: hidden; }
.menu__nav { display: grid; gap: .25rem; }
.menu__nav a {
  padding: .6rem 0;
  font-family: var(--f-display); font-stretch: var(--d-stretch); font-weight: var(--d-weight);
  font-size: calc(1.6rem * var(--d-scale)); letter-spacing: var(--d-track); text-transform: var(--d-case);
  line-height: 1.15;
}

/* ---------- 1 · Hero (day) ----------
   The photograph is 2.2:1 and the yacht fills its width, so it is never cropped.
   The sky is extended upwards with a gradient sampled from the image's top edge. */
.hero {
  position: relative; overflow: hidden;
  --hero-h: max(100vh, 34rem);
  --hero-top: clamp(5.25rem, 13vh, 11rem);
  height: var(--hero-h);
  color: #fff;
  background: linear-gradient(90deg, #589CD7 0%, #6FA9DF 50%, #93BFEB 100%);
}
.hero::before {              /* deepen the zenith so the title reads */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 56, 108, .56) 0%, rgba(18, 56, 108, .22) 32%, rgba(18, 56, 108, 0) 60%);
}
.hero__img {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  width: 100%; height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%);
}
.hero__copy {
  position: absolute; z-index: 3;
  left: var(--pad); top: var(--hero-top);
  display: grid; gap: clamp(.75rem, 1.8vh, 1.4rem);
  max-width: min(46rem, calc(100% - 2 * var(--pad)));
}
/* The title never grows past the patch of sky above the bow: the bow deck sits
   24vw up from the bottom of the frame, and 6.2rem is kept for the two small lines. */
.hero .display {
  font-size: max(1.9rem, min(
    calc(clamp(2.5rem, 6.2vw, 6rem) * var(--d-scale)),
    calc((var(--hero-h) - 24.04vw - var(--hero-top) - 6.2rem) / 2.15)));
}
.hero .eyebrow { color: rgba(255, 255, 255, .92); }
.hero__lede {
  font-size: clamp(.95rem, 1.15vw, 1.125rem);
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .94);
}

@supports (height: 100svh) { .hero { --hero-h: max(100svh, 34rem); } }

/* Portrait screens: sky above, yacht in the lower third, sea extended below */
@media (max-aspect-ratio: 1/1) {
  .hero .display { font-size: calc(clamp(2.5rem, 6.2vw, 6rem) * var(--d-scale)); }
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
    height: calc(15svh + 2px);
    background: linear-gradient(180deg, transparent 0, rgba(60, 150, 150, .34) 100%),
                linear-gradient(90deg, #A1D5D4 0%, #A6D7D0 50%, #AEDBDB 100%);
  }
  .hero__img {
    bottom: 15svh;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 90%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 90%, transparent 100%);
  }
}

/* Entrance */
.js .hero__copy > * { opacity: 0; transform: translateY(1rem); animation: rise 1.1s var(--ease) forwards; }
.js .hero__copy > :nth-child(1) { animation-delay: .2s; }
.js .hero__copy > :nth-child(2) { animation-delay: .32s; }
.js .hero__copy > :nth-child(3) { animation-delay: .48s; }
.js .hero__img { animation: appear .9s var(--ease) both, settle 2.4s var(--ease) both; transform-origin: 50% 100%; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.035); } to { transform: none; } }

/* ---------- 2 · Statement ---------- */
.statement {
  display: grid; justify-items: center; gap: clamp(2rem, 5vh, 3.5rem);
  padding: clamp(7rem, 26vh, 16rem) var(--pad);
  text-align: center;
}
.statement__line {
  font-size: calc(clamp(2.1rem, 6vw, 5.75rem) * var(--d-scale));
  line-height: var(--d-lead);
}
.statement__body { max-width: 36rem; color: var(--fg-mute); }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 15vh, 11rem) var(--pad); }

.section__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  row-gap: clamp(1.25rem, 3vh, 2rem); align-items: end;
  margin-bottom: clamp(2.5rem, 8vh, 5.5rem);
}
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head .h2 { grid-column: 1 / span 7; }
.section__aside { grid-column: 9 / -1; display: grid; gap: 1.5rem; justify-items: start; max-width: 30rem; }

/* ---------- 3 · Form ---------- */
.profile { max-width: 1560px; margin-inline: auto; }
.profile img {
  width: 100%;
  mix-blend-mode: multiply;          /* the studio white melts into the page */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.specs {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap);
  margin: clamp(1.5rem, 5vh, 3.5rem) 0 0;
}
.specs > div { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.specs dt { font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); }
.specs dd {
  margin: .7rem 0 0;
  font-family: var(--f-display); font-stretch: var(--d-stretch); font-weight: var(--d-weight);
  font-size: calc(clamp(1.3rem, 2.1vw, 2rem) * var(--d-scale)); line-height: 1.1; letter-spacing: var(--d-track);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

/* ---------- 4 · Space ---------- */
.space__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 6vw, 7rem);
  align-items: stretch;
}
.space__main { margin-left: calc(var(--pad) * -1); }     /* runs off the left edge, like the yacht in the frame */
.space__main img { width: 100%; }
.space__copy { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(2.5rem, 6vh, 4rem); }
.space__text { display: grid; gap: clamp(1.25rem, 3vh, 2rem); max-width: 30rem; }
.space__side { max-width: 26rem; align-self: flex-end; width: 100%; }
figcaption {
  margin-top: .9rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-mute);
}
.space__main figcaption { padding-left: var(--pad); }

.sketch { max-width: 1100px; margin: clamp(5rem, 16vh, 11rem) auto 0; text-align: center; }
.sketch img {
  width: 100%; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- 5 · Dusk ---------- */
.dusk { padding: clamp(6rem, 22vh, 14rem) var(--pad); }
.dusk__fig { position: relative; max-width: 1600px; margin-inline: auto; }
.dusk__fig img { width: 100%; }
.dusk__fig figcaption {
  position: absolute; left: clamp(1rem, 2vw, 1.75rem); bottom: clamp(.9rem, 1.8vw, 1.5rem); margin: 0;
  color: rgba(255, 255, 255, .92);
}

/* ---------- 6 · Night ---------- */
.night {
  position: relative; overflow: hidden;
  min-height: min(100svh, 58vw);
  padding: clamp(5rem, 15vh, 10rem) var(--pad);
}
.night__img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 78% 50%;
  mix-blend-mode: screen;            /* the black of the render becomes the night sky of the page */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.night__copy { position: relative; display: grid; gap: clamp(1.25rem, 3vh, 2rem); max-width: 28rem; }

/* ---------- 7 · Concepts ---------- */
.concepts__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.concept {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 38rem) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center;
  padding-block: clamp(2rem, 6vh, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.concept__meta { display: flex; align-items: baseline; gap: 1.25rem; }
.concept__no { font-size: .6875rem; font-weight: 500; letter-spacing: .2em; color: var(--fg-mute); font-variant-numeric: tabular-nums; }
.concept__name { font-size: calc(clamp(1.15rem, 1.7vw, 1.6rem) * var(--d-scale)); line-height: 1.15; }
.concept__fig img { width: 100%; transition: opacity .8s var(--ease); }
.concept__data {
  display: flex; justify-content: flex-end; gap: 1.75rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute);
}
.concept__data span:first-child { color: var(--fg); text-transform: none; letter-spacing: .12em; }
.concepts__more { margin-top: clamp(2rem, 5vh, 3rem); text-align: right; }

/* ---------- 8 · Studio ---------- */
.studio { padding-bottom: clamp(3rem, 8vh, 6rem); }
.studio__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 8vw, 9rem);
  align-items: center;
}
.studio__portrait { max-width: 30rem; }
.studio__portrait img { width: 100%; }
.studio__copy { display: grid; gap: clamp(1.25rem, 3vh, 2rem); justify-items: start; max-width: 34rem; }
.principles {
  list-style: none; margin: .5rem 0 0; padding: 1.5rem 0 0; width: 100%;
  display: flex; flex-wrap: wrap; gap: .6rem 2rem;
  border-top: 1px solid var(--line);
  font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-mute);
}

/* ---------- 9 · Press ---------- */
.press {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); column-gap: var(--gap); align-items: start;
  margin-top: clamp(5rem, 16vh, 11rem); padding-block: clamp(1.75rem, 4vh, 2.75rem);
  border-block: 1px solid var(--line);
}
.press__item { display: grid; gap: .6rem; }
.press__name { font-size: calc(clamp(1.3rem, 2.2vw, 2rem) * var(--d-scale)); line-height: 1.1; }
.press__title { max-width: 36rem; color: var(--fg-mute); }
.press__meta { display: grid; gap: .5rem; justify-items: end; text-align: right; }

/* ---------- 10 · Footer ---------- */
.footer { padding: clamp(4rem, 12vh, 8rem) var(--pad) 2rem; }
.footer__main {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: var(--gap); row-gap: 3rem; align-items: end;
}
.footer__enquiries { display: grid; gap: 1.5rem; justify-items: start; }
.footer__mail {
  font-family: var(--f-display); font-stretch: var(--d-stretch); font-weight: var(--d-weight);
  font-size: calc(clamp(1.15rem, 3.1vw, 2.9rem) * var(--d-scale)); line-height: 1.15; letter-spacing: var(--d-track);
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .8s var(--ease);
}
.footer__mail:hover, .footer__mail:focus-visible { background-size: 100% 1px; }
.footer__follow { display: grid; gap: 1.5rem; justify-self: end; min-width: 12rem; }
.follow { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.follow a, .follow .is-pending {
  display: flex; align-items: center; gap: .9rem; padding: .55rem 0;
  font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: border-color .5s var(--ease);
}
.follow a:hover { border-color: currentColor; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  margin-top: clamp(4rem, 12vh, 8rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute);
}
.footer__base a:hover { color: var(--fg); }

/* ---------- Time-of-day marker ---------- */
.clock {
  position: fixed; left: calc(var(--pad) * .4 - .35rem); bottom: 1.75rem; z-index: 40;
  display: flex; gap: 1.1em;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .625rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ink); opacity: .62;
  pointer-events: none;
  transition: color .6s var(--ease);
}
html.is-night .clock { color: var(--snow); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
  :root { --header-h: 4rem; }
  .site-header { grid-template-columns: 1fr auto; }
  .nav, .social--header { display: none; }
  .menu-btn { display: block; }
  .clock { display: none; }

  .section__head { margin-bottom: 2.5rem; }
  .section__head .h2, .section__aside { grid-column: 1 / -1; }
  .section__aside { margin-top: .5rem; }

  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }

  .space__grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .space__main { margin-right: calc(var(--pad) * -1); }
  .space__side { align-self: flex-start; max-width: 100%; }

  .dusk__fig figcaption { display: none; }

  .night { min-height: 0; padding-bottom: 0; display: grid; }
  .night__img {
    position: relative; inset: auto; order: 2;
    width: 190%; height: auto; margin: 2rem 0 0 -90%;
    -webkit-mask-image: none; mask-image: none;
  }

  .concept { grid-template-columns: 1fr auto; row-gap: 1.25rem; }
  .concept__fig { grid-column: 1 / -1; grid-row: 1; }
  .concept__meta { grid-row: 2; }
  .concept__data { grid-row: 2; }

  .studio__grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .studio__portrait { max-width: 22rem; }

  .press { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .press__meta { justify-items: start; text-align: left; }

  .footer__main { grid-template-columns: 1fr; }
  .footer__follow { justify-self: stretch; }
}

@media (max-width: 520px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__copy > *, .js .hero__img { opacity: 1; transform: none; transition: none; animation: none; }
  .link .arrow, .nav a::after, .footer__mail { transition: none; }
}
