/* ==========================================================================
   ELPHARO — dark redesign design system
   --------------------------------------------------------------------------
   Source of truth: 新素材/ELPHARO(1).fig
   The Figma artboards are 1306px wide and were exported at 3x, so a value
   measured in 新素材/UI*.png must be divided by 3 to get Figma (= CSS) pixels.

   HOW THIS SCALES
   The artboard is a single column with large type and a 17em measure. That
   system already works at every width, so nothing is re-laid-out: every size
   is a multiple of `--u`, where `--u` is 1% of the content column, and each
   type size is capped at exactly the value the .fig stores for it.

       1u == 13.06 design px

   The column is full-bleed on phones, 46rem on tablets, and 1306px on desktop
   — i.e. at desktop the page renders 1:1 with the artboard, and below that it
   is the same design scaled down.

   ONE ARTBOARD = ONE PAGE. Each page scrolls vertically, exactly as designed;
   moving between pages is a horizontal gesture handled by swipe.js.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --col: 100vw;
  --u: calc(var(--col) / 100);

  --black: #000000;
  --white: #ffffff;

  /* the two accents that carry the whole design */
  --rose: #ffa0a0;
  --rose-50: rgba(255, 160, 160, .5);
  --blue: #7acffd;

  --copy-dim: #a9a9a9;
  --art-grey: #575757;
  --hairline: rgba(255, 255, 255, .85);

  /* the design's gutter: content starts at 8.5% of the artboard width */
  --gutter: 8.5;
  --content: 83;

  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-launcher: 60;
  --z-menu: 50;
  --z-header: 40;
  /* the page-opening logo animation sits above everything, curtain included */
  --z-intro: 110;

  /* Floating UI is deliberately capped: proportional to the 1306px artboard it
     would be a 175px blob on desktop, which is far too loud next to the copy. */
  --float-inset: clamp(16px, calc(var(--u) * 4.3), 24px);
  --launcher-w: clamp(38px, calc(var(--u) * 9.8), 46px);

  /* Vertical rhythm uses its own unit, capped well below the horizontal one:
     at a 1312px column the artboard's proportional gaps would be half a screen
     tall and the page would feel airless. */
  --uv: min(var(--u), 9px);

  color-scheme: dark;
}

/* 46rem: tablet. 82rem: desktop, where the layout is re-composed into columns
   rather than a stretched phone column. */
@media (min-width: 48rem) {
  :root { --col: min(100vw, 46rem); }
}

@media (min-width: 82rem) {
  /* the desktop artboards are 1728 design px wide, so the column levels off
     there — every PC coordinate in the stylesheet is 1/17.28 of a column unit */
  :root { --col: min(100vw, 108rem); }
}

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

html {
  background: var(--black);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Asap", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, calc(var(--u) * 4.90), 1.5rem);
  line-height: 1.16;
  letter-spacing: -.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open,
.is-menu-open,
.is-menu-open body { overflow: hidden; }

/* the page-opening animation owns the viewport while it runs */
.intro-active { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, p, figure { margin: 0; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: calc(var(--u) * 2);
  left: calc(var(--u) * 2);
  z-index: 100;
  padding: calc(var(--u) * 1.6) calc(var(--u) * 2.6);
  background: var(--rose);
  color: var(--black);
  font-size: calc(var(--u) * 3);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-300%);
  transition: transform .18s var(--ease-out);
}

.skip-link:focus-visible { transform: translateY(0); }

/* --------------------------------------------------------------- structure */
.shell {
  width: var(--col);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: calc(var(--u) * var(--gutter));
}

/* ------------------------------------------------------------------- type
   One class per font size stored in the .fig. The proportions are the
   artboard's up to a point and then level off, so phones get the design's own
   scale while tablet and desktop get sizes a person can actually read in a
   wide column. */
.t-200 { font-size: clamp(2.4rem, calc(var(--u) * 15.32), 8rem); }
.t-160 { font-size: clamp(2.1rem, calc(var(--u) * 12.25), 7rem); }
.t-128 { font-size: clamp(1.8rem, calc(var(--u) * 9.80), 5.5rem); }
.t-120 { font-size: clamp(1.7rem, calc(var(--u) * 9.19), 5.5rem); }
.t-96  { font-size: clamp(1.4rem, calc(var(--u) * 7.35), 2.25rem); }
.t-64  { font-size: clamp(0.95rem, calc(var(--u) * 4.90), 1.5rem); }
.t-48  { font-size: clamp(0.88rem, calc(var(--u) * 3.68), 1.25rem); }
.t-40  { font-size: clamp(0.8rem, calc(var(--u) * 3.06), 1rem); }
.t-32  { font-size: clamp(0.72rem, calc(var(--u) * 2.45), 0.8125rem); }

.medium { font-weight: 500; }
.light { font-weight: 300; }

.display {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.copy {
  font-weight: 300;
  line-height: 1.16;
}

.copy--justify {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.eyebrow {
  font-weight: 500;
  color: var(--copy-dim);
  line-height: 1.1;
}

.accent { color: var(--rose); }
.accent--blue { color: var(--blue); }

.measure { max-width: calc(var(--u) * 83); }
.measure--63 { max-width: calc(var(--u) * 63.5); }
.indent-32 { margin-left: calc(var(--u) * 32.1); }
.indent-37 { margin-left: calc(var(--u) * 36.7); }
.indent-41 { margin-left: calc(var(--u) * 41); }

/* ------------------------------------------------------------------- media */
.media {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.media--bleed {
  width: var(--col);
  max-width: none;
  margin-left: calc(var(--u) * var(--gutter) * -1);
  aspect-ratio: 1306 / 653;
  object-fit: cover;
}

/* ==========================================================================
   Brand wordmark
   The official artwork from 素材/logo 透明背景.png, recoloured for the dark
   ground (black -> white, pale pink -> the brand rose). Using the real asset
   keeps the custom letterforms, including the 'l' descender.
   Design box: 312 x 77.4 of a 1306px artboard -> 23.9u wide.
   ========================================================================== */
.wordmark {
  display: block;
  flex: none;
  width: calc(var(--u) * 23.9);
  height: auto;
}

.wordmark--sm { width: calc(var(--u) * 20.4); }

/* ==========================================================================
   Logo intro — the client's page-opening animation (新素材/logo.mp4): a rose
   light chasing across the white wordmark.
   The overlay is `hidden` in the markup and only revealed by motion/intro.js,
   so a script failure can never leave a black rectangle in front of the page.
   ========================================================================== */
.logo-intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  display: grid;
  place-items: center;
  background: var(--black);
  opacity: 1;
  transition: opacity .64s var(--ease-out);
}

.logo-intro[hidden] { display: none; }
.logo-intro.is-exiting { opacity: 0; }

/* The clip is square with the wordmark in a centred band, so its own black
   margins are invisible against the page and the size is set directly. */
.logo-intro__video {
  width: min(86vw, 58vh);
  height: auto;
  display: block;
}

.logo-intro__skip {
  position: absolute;
  right: calc(var(--u) * var(--gutter));
  bottom: calc(var(--float-inset) + env(safe-area-inset-bottom, 0px));
  font-size: calc(var(--u) * 4);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--copy-dim);
  cursor: pointer;
  transition: color .16s linear;
}

.logo-intro__skip[hidden] { display: none; }
.logo-intro__skip:hover,
.logo-intro__skip:focus-visible { color: var(--rose); }

/* ==========================================================================
   Header: wordmark left, 3-hairline hamburger right.
   Static, exactly as the artboards place it at the top of each page.
   ========================================================================== */
.site-header {
  position: relative;
  z-index: var(--z-header);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: var(--col);
  max-width: 100%;
  margin-inline: auto;
  padding: calc(var(--u) * 8.2) calc(var(--u) * var(--gutter)) 0;
}

.burger {
  display: block;
  width: calc(var(--u) * 8.35);
  padding: calc(var(--u) * 1) 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.burger__box {
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 1.3);
}

/* Three 1px hairlines; the middle one is shortened to 71.6% on the right. */
.burger__line {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--hairline);
  transition: transform .26s var(--ease-out), opacity .16s linear;
}

.burger__line:nth-child(2) { width: 71.6%; }

/* A hamburger is a phone affordance. From the desktop tier the same four
   destinations become a horizontal nav in the header. */
.site-nav {
  display: none;
  align-items: baseline;
  gap: calc(var(--u) * 4);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--white);
  transition: color .16s linear;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { color: var(--rose); }

.is-menu-open .burger__line:nth-child(1) { transform: translateY(calc(var(--u) * 1.3)) rotate(45deg); }
.is-menu-open .burger__line:nth-child(2) { opacity: 0; }
.is-menu-open .burger__line:nth-child(3) { transform: translateY(calc(var(--u) * -1.3)) rotate(-45deg); }

/* ==========================================================================
   Menu overlay — full-bleed black, one screen tall, itself scrollable.
   Opening it is a choreographed reveal in four beats (header → destinations →
   social → contact); the per-item delays are stamped on by motion/menu.js.
   ========================================================================== */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--black);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity .22s linear;
}

.menu[hidden] { display: none; }

.menu.is-open { opacity: 1; }

/* Closing: the contents unwind first, then the black ground clears. */
.menu.is-leaving {
  opacity: 0;
  transition: opacity .22s linear .18s;
}

.menu__inner {
  width: var(--col);
  max-width: 100%;
  margin-inline: auto;
  /* UI5 uses a slightly tighter gutter than the page artboards (6.64u vs 8.5u). */
  padding: calc(var(--u) * 8.2) calc(var(--u) * 6.64) calc(var(--u) * 14);
}

/* The overlay carries its own copy of the header, which would otherwise add a
   second gutter on top of .menu__inner's and push the wordmark out of line
   with the nav items below it. */
.menu .site-header {
  width: auto;
  max-width: none;
  padding: 0;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--u) * 11.9);
  margin-top: calc(var(--u) * 45.6);
}

.menu__link {
  position: relative;
  font-size: calc(var(--u) * 6.74);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .16s linear;
}

/* The rose rule that sweeps under the destination being chosen. */
.menu__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--u) * -1.1);
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease-out);
}

.menu__link:hover,
.menu__link:focus-visible,
.menu__link[aria-current="page"] { color: var(--rose); }

.menu__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--u) * 5.6);
  margin-top: calc(var(--u) * 23.9);
  font-size: calc(var(--u) * 5.05);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.menu__social a { text-decoration: none; }
.menu__social a:hover { color: var(--rose); }

.menu__mail-label {
  margin-top: calc(var(--u) * 5.8);
  font-size: calc(var(--u) * 5.05);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.menu__mail {
  display: inline-block;
  margin-top: calc(var(--u) * 1.6);
  font-size: calc(var(--u) * 3.37);
  font-weight: 300;
  text-decoration: none;
}

.menu__mail:hover { color: var(--rose); }

/* --- the reveal itself -----------------------------------------------------
   Only the elements motion/menu.js stamped are hidden up front, so a script
   failure still leaves a perfectly readable menu. */
.menu [data-menu-anim] {
  opacity: 0;
  transform: translateY(calc(var(--u) * 1.8));
}

.menu.is-open [data-menu-anim] {
  opacity: 1;
  transform: none;
  transition:
    opacity .46s var(--ease-out) var(--enter-delay, 0ms),
    transform .58s var(--ease-out) var(--enter-delay, 0ms);
}

.menu.is-leaving [data-menu-anim] {
  opacity: 0;
  transform: translateY(calc(var(--u) * -1.2));
  transition:
    opacity .22s linear var(--exit-delay, 0ms),
    transform .26s var(--ease-out) var(--exit-delay, 0ms);
}

/* --- choosing a destination ------------------------------------------------
   The chosen item steps forward and draws its rule; everything else gets out of
   the way. The blackout then picks the move up (see motion/transitions.js). */
.menu__link.is-chosen {
  color: var(--rose);
  transform: translateX(calc(var(--u) * 1.6));
  transition:
    color .2s linear,
    transform .34s var(--ease-out);
}

.menu__link.is-chosen::after { transform: scaleX(1); }

.menu.is-choosing .menu__link:not(.is-chosen) {
  opacity: 0;
  transform: translateY(calc(var(--u) * -1.2));
  transition:
    opacity .24s linear,
    transform .28s var(--ease-out);
}

.menu.is-choosing .menu__social > *,
.menu.is-choosing .menu__mail-label,
.menu.is-choosing .menu__mail,
.menu.is-choosing .site-header > * {
  opacity: 0;
  transition: opacity .18s linear;
}

/* --- the carried label -----------------------------------------------------
   The chosen label is re-created on the arriving page at the same screen
   position, so the click appears to continue rather than restart. It sits
   *below* the page-change blackout, which is what hides it during the swap. */
.page-handoff {
  position: fixed;
  z-index: 80;
  margin: 0;
  color: var(--rose);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
}

.page-handoff.is-playing { animation: handoff-lift .7s var(--ease-out) 90ms both; }

@keyframes handoff-lift {
  0% { opacity: 0; transform: none; }
  18% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(calc(var(--u) * -5.5)); }
}


/* ==========================================================================
   Fixed survey launcher — always pinned to the viewport's bottom-right.
   Measured from UI1: footprint 174.9x166.4 design px, right inset 56.1px
   (4.3% of the artboard). Bars 152/96.3/77.7 x 35, disc diameter 81.7 whose
   centre sits on the bottom bar, check knocked out of the disc.
   ========================================================================== */
.launcher {
  position: fixed;
  right: calc(50vw - (var(--col) / 2) + (var(--u) * 4.3));
  bottom: calc(var(--float-inset) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-launcher);
  display: block;
  width: var(--launcher-w);
  opacity: 1;
  /* `backwards` (not `both`) so the finished entrance never outranks the
     `.is-tucked` state below. */
  animation: launcher-in .42s var(--ease-out) backwards;
  transition:
    transform .16s var(--ease-out),
    opacity .28s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

@keyframes launcher-in {
  from { opacity: 0; transform: translateY(calc(var(--u) * 1.6)); }
  to { opacity: 1; transform: none; }
}

/* `visibility` is delayed in the outward direction only, so the glyph fades
   fully before it stops taking taps — and returns instantly on the way back. */
.is-menu-open .launcher,
.launcher.is-tucked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform .16s var(--ease-out),
    opacity .28s var(--ease-out),
    visibility 0s linear .28s;
}

/* The last artboard already carries the design's own survey mark in exactly
   this corner, so the floating launcher retires while that row is on screen
   instead of stacking two pink glyphs on top of each other. */

.launcher svg { width: 100%; height: auto; display: block; }
.launcher:hover { transform: scale(1.05); }
.launcher:active { transform: scale(.95); }

/* ==========================================================================
   Page-turn feedback.
   Moving between artboards is a horizontal gesture. The drag scrubs the very
   same fade the swap uses, so the transition the finger starts is the one that
   finishes the page turn.
   ========================================================================== */
.page-turning .page-curtain {
  visibility: visible;
  opacity: var(--turn-dim, 0);
  transition: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(var(--u) * 38.05);
  padding: calc(var(--u) * 2.6) calc(var(--u) * 5);
  background: var(--rose);
  color: var(--black);
  font-size: calc(var(--u) * 4.9);
  font-weight: 500;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: calc(var(--u) * 2.16);
  transition: background-color .16s linear, transform .16s var(--ease-out);
}

.button:hover { background: #ffb6b6; }
.button:active { transform: scale(.985); }

.button-row {
  display: flex;
  justify-content: center;
  margin-top: calc(var(--u) * 11);
}

/* ==========================================================================
   Contact block ("Scopriamoci") — home page only
   ========================================================================== */
.contact__title {
  color: var(--rose);
  font-weight: 500;
}

.contact__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--u) * 2.7);
  margin-top: calc(var(--u) * 9.2);
  font-weight: 500;
  text-transform: uppercase;
}

.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--rose); }

.contact__mail {
  display: inline-block;
  margin-top: calc(var(--u) * 15.7);
  font-weight: 500;
  text-decoration: none;
}

.contact__mail:hover { color: var(--rose); }

/* ==========================================================================
   Hand scene — the two hands are separate assets that travel towards each
   other as the section scrolls, driven by initHandScene() in site.js.
   ========================================================================== */
.hands-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1090 / 397;
  overflow: hidden;
}

/* Measured from the artwork: the left hand's index finger reaches 71.8% of its
   own box and the right hand's starts at 27.6%, so at 69% of the stage the two
   fingertips meet exactly when the scene is settled — the composition the
   artboard shows. (The previous light theme staged the same drawings at 68%.) */
.hand {
  position: absolute;
  top: 50%;
  width: 69%;
  max-width: none;
  height: auto;
  transform: translateX(var(--hand-translate, 0%)) translateY(-50%);
  will-change: transform;
}

.hand--left { --hand-translate: -42%; left: 0; }
.hand--right { --hand-translate: 42%; right: 0; }

/* ==========================================================================
   Footer — the client asked for the legal block only once, at the bottom of
   the last page of the site, so it is not a repeating element.
   ========================================================================== */
.site-footer {
  width: var(--col);
  max-width: 100%;
  margin-inline: auto;
  padding: calc(var(--u) * 10) calc(var(--u) * var(--gutter)) calc(var(--u) * 6);
}

.footer__legal {
  font-weight: 300;
  line-height: 1.12;
}

.footer__legal p + p { margin-top: calc(var(--u) * 4.2); }

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: calc(var(--u) * 7.4);
}

.footer__send-link {
  display: block;
  flex: none;
  transition: transform .16s var(--ease-out);
}

.footer__send-link:hover { transform: scale(1.06); }
.footer__send-link:active { transform: scale(.96); }

.footer__send {
  /* Measured from UI1: 82.7 x 84.7 design px, i.e. 6.33u wide and almost square. */
  width: calc(var(--u) * 6.33);
  height: auto;
  fill: var(--rose);
  flex: none;
}

/* ========================================================================== 
   Final mobile tier — ELPHARO.fig / `UI 交互`

   The October hand-off replaces the earlier long editorial phone pages with
   four compact 402px artboards. One design pixel is `--m`; the desktop tier
   below remains untouched. Content is positioned from the Figma coordinates,
   while reveal and image drift continue to provide the restrained motion the
   brand already established.
   ========================================================================== */
@media (max-width: 81.99rem) {
  :root { --m: calc(var(--u) / 4.02); }

  body > .site-header {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--col);
    margin: 0;
    padding: calc(var(--m) * 22) calc(var(--m) * 25) 0 calc(var(--m) * 26);
    transform: translateX(-50%);
  }

  .site-header .wordmark { width: calc(var(--m) * 106); }
  .site-header .burger {
    width: calc(var(--m) * 33);
    padding: 0;
  }
  .site-header .burger__box { gap: calc(var(--m) * 11); }

  .mobile-artboard {
    position: relative;
    width: var(--col);
    max-width: 100%;
    height: calc(var(--m) * var(--mobile-art-h));
    margin-inline: auto;
    overflow: hidden;
    background: var(--black);
  }

  .mobile-artboard > *,
  .mobile-artboard section > *,
  .mobile-artboard figure > * { box-sizing: border-box; }

  .mobile-display {
    position: absolute;
    margin: 0;
    font-weight: 500;
    line-height: 1;
  }

  .mobile-copy {
    position: absolute;
    margin: 0;
    font-weight: 300;
    line-height: 1.15;
  }

  .mobile-send {
    position: absolute;
    z-index: 2;
    display: block;
    width: calc(var(--m) * 30);
    color: var(--rose);
    transition: transform .18s var(--ease-out), opacity .18s linear;
  }
  .mobile-send svg { width: 100%; height: auto; fill: currentColor; }
  .mobile-send:hover,
  .mobile-send:focus-visible { transform: translateX(calc(var(--m) * 3)); }
  .mobile-send:active { transform: scale(.94); }

  /* Home — 402 x 1593 */
  .mobile-home__title {
    left: calc(var(--m) * 42);
    top: calc(var(--m) * 201);
    width: calc(var(--m) * 318);
    font-size: calc(var(--m) * 36);
  }
  .mobile-home__lead {
    left: calc(var(--m) * 43);
    top: calc(var(--m) * 409);
    width: calc(var(--m) * 318);
    font-size: calc(var(--m) * 24);
    text-align: justify;
  }
  .mobile-home__image {
    position: absolute;
    left: 0;
    top: calc(var(--m) * 601);
    width: 100%;
    height: calc(var(--m) * 201);
    margin: 0;
    overflow: hidden;
  }
  .mobile-home__image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
  .motion-ready .mobile-home__image {
    transform: translate3d(0, calc((var(--scene-progress, .5) - .5) * -2.2vh), 0);
  }
  .mobile-home__contact { position: absolute; inset: 0; }
  .mobile-home__contact-title {
    left: calc(var(--m) * 43);
    top: calc(var(--m) * 913);
    width: calc(var(--m) * 307);
    color: var(--rose);
    font-size: calc(var(--m) * 48);
  }
  .mobile-home__social {
    position: absolute;
    left: calc(var(--m) * 44);
    top: calc(var(--m) * 1044);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--m) * 52);
    font-size: calc(var(--m) * 24);
    font-weight: 500;
    line-height: 1;
  }
  .mobile-home__social a,
  .mobile-home__mail { text-decoration: none; }
  .mobile-home__social a:hover,
  .mobile-home__mail:hover { color: var(--rose); }
  .mobile-home__mail {
    position: absolute;
    left: calc(var(--m) * 44);
    top: calc(var(--m) * 1258);
    font-size: calc(var(--m) * 24);
    font-weight: 500;
    line-height: 1;
  }
  .mobile-legal {
    position: absolute;
    left: calc(var(--m) * 44);
    top: calc(var(--m) * 1362);
    width: calc(var(--m) * 315);
    font-size: calc(var(--m) * 14);
    font-weight: 200;
    line-height: 1;
  }
  .mobile-legal p + p { margin-top: calc(var(--m) * 14); }
  .mobile-artboard--home .mobile-send { right: calc(var(--m) * 25); bottom: calc(var(--m) * 6); }

  /* La Nostra Idea — 402 x 948 */
  .mobile-idea__title,
  .mobile-commitment__title,
  .mobile-participate__title {
    left: calc(var(--m) * 43);
    top: calc(var(--m) * 194);
    width: calc(var(--m) * 318);
    color: var(--rose);
    font-size: calc(var(--m) * 48);
  }
  .mobile-idea__copy {
    width: calc(var(--m) * 250);
    font-size: calc(var(--m) * 20);
  }
  .mobile-idea__copy--one { left: calc(var(--m) * 43); top: calc(var(--m) * 338); width: calc(var(--m) * 240); }
  .mobile-idea__copy--two { left: calc(var(--m) * 109); top: calc(var(--m) * 510); width: calc(var(--m) * 245); }
  .mobile-idea__copy--three { left: calc(var(--m) * 41); top: calc(var(--m) * 706); }
  .mobile-artboard--idea .mobile-send { right: calc(var(--m) * 29); bottom: calc(var(--m) * 11); }

  /* Il Nostro Impegno — 402 x 1520 */
  .mobile-commitment__title {
    left: calc(var(--m) * 41);
    top: calc(var(--m) * 188);
    width: calc(var(--m) * 254);
  }
  .mobile-commitment__image {
    position: absolute;
    left: calc(var(--m) * 67);
    top: calc(var(--m) * 272);
    width: calc(var(--m) * 265);
    height: calc(var(--m) * 265);
    margin: 0;
  }
  .mobile-commitment__image img { width: 100%; height: 100%; object-fit: contain; }
  .motion-ready .mobile-commitment__image {
    transform: translate3d(0, calc((var(--scene-progress, .5) - .5) * -1.8vh), 0);
  }
  .mobile-commitment__point {
    position: absolute;
    width: calc(var(--m) * 250);
    font-size: calc(var(--m) * 20);
    font-weight: 300;
    line-height: 1.15;
  }
  .mobile-commitment__point h2 {
    margin: 0 0 calc(var(--m) * 20);
    font: inherit;
    font-weight: 500;
  }
  .mobile-commitment__point p { margin: 0; }
  .mobile-commitment__point p + p { margin-top: calc(var(--m) * 18); }
  .mobile-commitment__point--one { left: calc(var(--m) * 43); top: calc(var(--m) * 558); }
  .mobile-commitment__point--two { left: calc(var(--m) * 104); top: calc(var(--m) * 813); }
  .mobile-commitment__point--three { left: calc(var(--m) * 43); top: calc(var(--m) * 1114); }
  .mobile-artboard--commitment .mobile-send { right: calc(var(--m) * 27); bottom: calc(var(--m) * 8); }

  /* Partecipa — 402 x 1442 */
  .mobile-participate__statement {
    left: calc(var(--m) * 43);
    top: calc(var(--m) * 323);
    width: calc(var(--m) * 283);
    font-size: calc(var(--m) * 36);
  }
  .mobile-participate__question {
    left: calc(var(--m) * 43);
    top: calc(var(--m) * 520);
    width: calc(var(--m) * 240);
    font-size: calc(var(--m) * 20);
  }
  .mobile-participate__invitation {
    left: calc(var(--m) * 116);
    top: calc(var(--m) * 640);
    width: calc(var(--m) * 240);
    font-size: calc(var(--m) * 20);
  }
  .mobile-survey-cta {
    position: absolute;
    left: calc(var(--m) * 45);
    top: calc(var(--m) * 783);
    display: grid;
    place-items: center;
    width: calc(var(--m) * 313);
    height: calc(var(--m) * 115);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: calc(var(--m) * 40);
    background:
      radial-gradient(circle at 68% 28%, rgba(255, 160, 160, .16), transparent 34%),
      linear-gradient(180deg, rgba(76, 76, 76, .72), rgba(18, 18, 18, .72));
    color: var(--rose);
    font-size: calc(var(--m) * 32);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: transform .2s var(--ease-out), border-color .2s linear;
  }
  .mobile-survey-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.12) 48%, transparent 74%);
    transform: translateX(-120%);
    transition: transform .6s var(--ease-out);
  }
  .mobile-survey-cta span { position: relative; z-index: 1; }
  .mobile-survey-cta:hover::before,
  .mobile-survey-cta:focus-visible::before { transform: translateX(120%); }
  .mobile-survey-cta:active { transform: scale(.985); }
  .mobile-participate__benefits-title {
    position: absolute;
    left: calc(var(--m) * 43);
    top: calc(var(--m) * 972);
    width: calc(var(--m) * 236);
    font-size: calc(var(--m) * 20);
    font-weight: 500;
    line-height: 1.15;
  }
  .mobile-participate__benefits {
    position: absolute;
    left: calc(var(--m) * 35);
    top: calc(var(--m) * 1115);
    width: calc(var(--m) * 329);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: calc(var(--m) * 14);
    font-weight: 300;
    line-height: 1.15;
  }
  .mobile-email { position: absolute; inset: 0; }
  .mobile-email input {
    position: absolute;
    left: calc(var(--m) * 45);
    top: calc(var(--m) * 1268);
    width: calc(var(--m) * 313);
    height: calc(var(--m) * 38);
    border: 0;
    padding: 0 calc(var(--m) * 9);
    border-radius: 0;
    background: linear-gradient(90deg, #2d2d2d, #707070, #b2b2b2);
    color: var(--black);
    font: 300 calc(var(--m) * 14) / 1 "Asap", sans-serif;
  }
  .mobile-email input::placeholder { color: var(--black); opacity: 1; }
  .mobile-email button {
    position: absolute;
    left: calc(var(--m) * 178);
    top: calc(var(--m) * 1324);
    width: calc(var(--m) * 47);
    cursor: pointer;
    transition: transform .18s var(--ease-out);
  }
  .mobile-email button:hover,
  .mobile-email button:focus-visible { transform: translateY(calc(var(--m) * -3)); }
  .mobile-email button:active { transform: scale(.94); }
  .mobile-email button img { width: 100%; height: auto; }

  /* The final mobile Figma only prints the legal block on the home artboard. */
  .site-footer { display: none; }

  /* `菜单` 402 x 1066 — same three destinations as the desktop overlay. */
  .menu__inner {
    position: relative;
    width: var(--col);
    min-height: max(100vh, calc(var(--m) * 1066));
    padding: 0;
  }
  .menu .site-header {
    position: absolute;
    left: calc(var(--m) * 26);
    top: calc(var(--m) * 22);
    width: calc(var(--m) * 351);
    margin: 0;
    padding: 0;
  }
  .menu__nav[data-tier="mobile"] {
    position: absolute;
    left: calc(var(--m) * 49);
    top: calc(var(--m) * 238);
    gap: calc(var(--m) * 86);
    margin: 0;
  }
  .menu__nav[data-tier="mobile"] .menu__link {
    font-size: calc(var(--m) * 32);
    line-height: 1;
  }
  .menu__social {
    position: absolute;
    left: calc(var(--m) * 49);
    top: calc(var(--m) * 711);
    gap: calc(var(--m) * 52);
    margin: 0;
    font-size: calc(var(--m) * 24);
    line-height: 1;
  }
  .menu__mail-label { display: none; }
  .menu__mail {
    position: absolute;
    left: calc(var(--m) * 49);
    top: calc(var(--m) * 925);
    margin: 0;
    font-size: calc(var(--m) * 24);
    font-weight: 500;
    line-height: 1;
  }
}

/* ========================================================================== 
   Page sections — positions and sizes taken from each artboard's node tree
   (design px / 13.06 = column units)
   ========================================================================== */

/* --- Chi siamo ---------------------------------------------------------- */
.quote-indent { margin-left: calc(var(--u) * 26.3); }

/* "Sostenibilità" overlaps the top of the bag and paints on top of it */
.sustainability__word {
  position: relative;
  z-index: 1;
  line-height: 1.02;
}

.sustainability__art { margin-top: calc(var(--u) * -6.9); }

/* the closing line of the h2 sits on top of the hands stage */
.together__title {
  position: relative;
  z-index: 1;
  line-height: 1.24;
}

.together .hands-stage { margin-top: calc(var(--u) * -5.1); }

/* --- Informazione ------------------------------------------------------- */
.fig-beads {
  width: 100%;
  aspect-ratio: 1088 / 636;
  object-fit: cover;
  border-radius: calc(var(--u) * 6.05);
}

.fig-dossier {
  width: calc(var(--u) * 51.8);
  margin-left: calc(var(--u) * 31.3);
}

.fig-zebra {
  width: calc(var(--u) * 51);
  margin-left: calc(var(--u) * 29.6);
  border-radius: calc(var(--u) * 4.5);
}

.info-mail {
  display: inline-block;
  margin-top: calc(var(--u) * 9.2);
  font-weight: 500;
  text-decoration: none;
}

.info-mail:hover { color: var(--rose); }

/* --- La tua voce -------------------------------------------------------- */
.fig-qmark {
  width: calc(var(--u) * 54.1);
  margin-left: calc(var(--u) * 33.5);
}

/* the lead paragraph's box in the artboard is 834 of 1306 -> 63.8u */
.voice-lead { max-width: calc(var(--u) * 63.8); }

.voice-pilot { max-width: calc(var(--u) * 74.9); }

.fig-icp {
  width: calc(var(--u) * 70.4);
  margin-left: calc(var(--u) * 16.3);
}

.fig-room {
  width: calc(var(--u) * 99.4);
  max-width: none;
  margin-left: calc(var(--u) * -8.2);
}

/* ==========================================================================
   Vertical rhythm, measured from the artboards.
   The `mt-*` hints in the markup are coarse defaults; these supersede them.
   ========================================================================== */
.mt-2  { margin-top: calc(var(--uv) * 2); }
.mt-4  { margin-top: calc(var(--uv) * 4); }
.mt-6  { margin-top: calc(var(--uv) * 6); }
.mt-8  { margin-top: calc(var(--uv) * 8); }
.mt-10 { margin-top: calc(var(--uv) * 10); }
.mt-12 { margin-top: calc(var(--uv) * 12); }
.mt-14 { margin-top: calc(var(--uv) * 14); }
.mt-16 { margin-top: calc(var(--uv) * 16); }
.mt-18 { margin-top: calc(var(--uv) * 18); }
.mt-20 { margin-top: calc(var(--uv) * 20); }
.mt-22 { margin-top: calc(var(--uv) * 22); }
.mt-25 { margin-top: calc(var(--uv) * 25); }
.mt-30 { margin-top: calc(var(--uv) * 30); }

/* Pagina iniziale — node y 555, 1373, 2016, 2936, 3206, 3674 */
.page--home .home-hero .copy { margin-top: calc(var(--uv) * 22); }
.page--home .home-coast .media--bleed { margin-top: calc(var(--uv) * 21); }
.page--home .contact { margin-top: calc(var(--uv) * 18); }

/* Chi siamo — node y 318, 547, 1050, 1848, 2719, 2834, 4209, 4693, 5067, 5726, 6353 */
.page--about .about-intro .eyebrow { margin-top: calc(var(--uv) * 10); }
.page--about .about-intro .display { margin-top: calc(var(--uv) * 12); }
.page--about .about-intro .copy { margin-top: calc(var(--uv) * 17); }
.page--about .about-intro .quote-indent { margin-top: calc(var(--uv) * 38); }
.page--about .sustainability { margin-top: calc(var(--uv) * 21); }
.page--about .together { margin-top: calc(var(--uv) * 26); }
.page--about .together .copy { margin-top: calc(var(--uv) * 21); }
.page--about .about-closing { margin-top: calc(var(--uv) * 25); }

/* Informazione — node y 491, 1008, 1831, 2319, 2988, 4200, 4702, 5777, 6715, 7587, 8267 */
.page--info .info-transparency { margin-top: calc(var(--uv) * 24); }
.page--info .fig-beads { margin-top: calc(var(--uv) * 12); }
.page--info .fig-dossier { margin-top: calc(var(--uv) * 17); }
.page--info .info-protection { margin-top: calc(var(--uv) * 24); }
.page--info .fig-zebra { margin-top: calc(var(--uv) * 11); }
.page--info .info-giving .display { margin-top: calc(var(--uv) * 38); }
.page--info .info-giving .measure { margin-top: calc(var(--uv) * 23); }
.page--info .indent-41 { margin-top: calc(var(--uv) * 29); }
.page--info .info-contact .copy { margin-top: calc(var(--uv) * 13); }

/* La tua voce — node y 442, 902, 1971, 2688, 3364, 3666, 4369, 4534,
   5668, 6183, 7301, 7826, 8683, 9546, 9836, 10395 */
.page--voice .voice-hero .display { margin-top: calc(var(--uv) * 19.8); }
.page--voice .fig-qmark { margin-top: calc(var(--uv) * 2.3); }
.page--voice .voice-lead { margin-top: calc(var(--uv) * 6.7); }
.page--voice .voice-insider .display { margin-top: calc(var(--uv) * 27); }
.page--voice .voice-pilot { margin-top: calc(var(--uv) * 18); }
.page--voice .fig-icp { margin-top: calc(var(--uv) * 12); }
.page--voice .voice-insider .t-96 { margin-top: calc(var(--uv) * 20.5); }
.page--voice .voice-insider .copy { margin-top: calc(var(--uv) * 4.2); }
.page--voice .voice-space .display { margin-top: calc(var(--uv) * 25.3); }
.page--voice .fig-room { margin-top: calc(var(--uv) * -2.6); }
.page--voice .voice-privacy .copy { margin-top: calc(var(--uv) * 19.4); }
.page--voice .indent-37 { margin-top: calc(var(--uv) * 6.7); }
.page--voice .voice-final .copy { margin-top: calc(var(--uv) * 20.9); }
.page--voice .button-row { margin-top: calc(var(--uv) * 15.5); }
/* Every artboard (UI1–UI4) closes with the same company block, but the designer
   placed it by hand in each one, so the gap above it is per page. Values come
   from the ink gap in 新素材/UI*.png minus the footer's own 10u padding. */
.page--home .site-footer { margin-top: calc(var(--uv) * 26.8); }
.page--about .site-footer { margin-top: calc(var(--uv) * 16.6); }
.page--info .site-footer { margin-top: calc(var(--uv) * 11.5); }
.page--voice .site-footer { margin-top: calc(var(--uv) * 1.5); }

/* …and so is the gap between the copyright line and the wordmark row. */
.page--home .footer__brand { margin-top: calc(var(--uv) * 9.2); }
.page--about .footer__brand { margin-top: calc(var(--uv) * 11.1); }
.page--info .footer__brand { margin-top: calc(var(--uv) * 13.2); }
.page--voice .footer__brand { margin-top: calc(var(--uv) * 13.6); }

/* ==========================================================================
   Desktop composition.
   The client only designed mobile. Rather than stretching one phone column
   across a laptop, the wide layout spends the extra width on side-by-side
   compositions, and the type ceilings above keep the copy readable. Each
   section is re-composed in place with grid areas, so the markup stays a plain
   semantic document at every size.
   ========================================================================== */
@media (min-width: 82rem) {
  /* a readable line length for anything that still runs full width */
  .copy,
  .footer__legal { max-width: calc(var(--u) * 52); }

  /* Display type keeps the full column: the artboards carry manual line breaks,
     so a headline can never be squeezed into half a row. */
  .display { max-width: none; }

  /* desktop navigation replaces the hamburger */
  .site-nav { display: flex; }
  .site-header .burger { display: none; }

  /* --- Pagina iniziale --------------------------------------------------- */
  /* the hero stays stacked, exactly as the artboard draws it */
  .page--home .contact {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    align-items: start;
    column-gap: calc(var(--u) * 8);
  }

  .page--home .contact__title { grid-area: 1 / 1 / span 2 / 2; }
  .page--home .contact__list { grid-area: 1 / 2; margin-top: 0; }
  .page--home .contact__mail { grid-area: 2 / 2; }

  /* --- Chi siamo --------------------------------------------------------- */
  .page--about .about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: calc(var(--u) * 6);
  }

  /* eyebrow and heading keep the full width; the two paragraphs then sit
     side by side under them */
  .page--about .about-intro > :nth-child(1) { grid-column: 1 / -1; }
  .page--about .about-intro > :nth-child(2) { grid-column: 1 / -1; }
  .page--about .about-intro > :nth-child(3) { grid-column: 1; margin-top: calc(var(--u) * 8); }
  .page--about .about-intro > :nth-child(4) { grid-column: 2; margin-top: calc(var(--u) * 8); }
  .page--about .about-intro .quote-indent { margin-left: 0; }

  /* the word and its caption sit beside the bag instead of over it */
  .page--about .sustainability {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    grid-template-areas: "word art" "caption art";
    align-items: center;
    column-gap: calc(var(--u) * 8);
  }

  .page--about .sustainability > :nth-child(1) { grid-area: word; align-self: end; }
  .page--about .sustainability > :nth-child(2) { grid-area: art; }
  .page--about .sustainability > :nth-child(3) {
    grid-area: caption;
    align-self: start;
    margin-top: calc(var(--u) * 4);
  }
  .page--about .sustainability__art { margin-top: 0; }

  /* heading full width, then the hands beside the closing line */
  .page--about .together {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: calc(var(--u) * 6);
    row-gap: calc(var(--u) * 8);
    align-items: center;
  }

  .page--about .together > :nth-child(1) { grid-column: 1 / -1; }
  .page--about .together > :nth-child(2) { grid-column: 1; }
  .page--about .together > :nth-child(3) { grid-column: 2; margin-top: 0; }
  .page--about .together__title { line-height: 1.12; }
  .page--about .together .hands-stage { margin-top: 0; }

  /* --- Informazione ------------------------------------------------------ */
  .page--info .info-transparency,
  .page--info .info-protection {
    display: grid;
    /* the heading column takes exactly what its own text needs */
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    column-gap: calc(var(--u) * 8);
    row-gap: calc(var(--u) * 9);
    align-items: center;
  }

  .page--info .info-transparency > :nth-child(1) { grid-area: 1 / 1; }
  .page--info .info-transparency > :nth-child(2) { grid-area: 1 / 2 / span 2 / 3; }
  .page--info .info-transparency > :nth-child(3) { grid-area: 2 / 1; margin-top: 0; align-self: end; }
  .page--info .info-transparency > :nth-child(4) {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .page--info .info-transparency .indent-32 { margin-left: 0; }
  .page--info .fig-beads { margin-top: 0; }

  .page--info .info-detail { display: flex; justify-content: center; }
  .page--info .fig-dossier {
    width: calc(var(--u) * 42);
    margin-left: 0;
    margin-top: 0;
  }

  .page--info .info-protection > :nth-child(1) { grid-area: 1 / 1; }
  .page--info .info-protection > :nth-child(2) { grid-area: 1 / 2 / span 2 / 3; }
  .page--info .info-protection > :nth-child(3) {
    grid-area: 2 / 1;
    margin-top: 0;
    align-self: start;
  }
  .page--info .fig-zebra { margin-left: 0; margin-top: 0; }

  .page--info .info-giving {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: calc(var(--u) * 8);
    row-gap: calc(var(--uv) * 10);
  }

  /* the statement keeps the full width so its hard line breaks survive */
  .page--info .info-giving > :nth-child(1) { grid-column: 1 / -1; margin-top: 0; }
  .page--info .info-giving > :nth-child(2) { margin-top: 0; }
  .page--info .info-giving > :nth-child(3) { margin-top: 0; margin-left: 0; }

  /* the gaps that the artboard hangs on a child move onto the section, now
     that the child is a grid item */
  .page--info .info-giving { margin-top: calc(var(--uv) * 38); }
  .page--info .info-contact { margin-top: calc(var(--uv) * 20); }

  .page--info .info-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    column-gap: calc(var(--u) * 8);
  }

  .page--info .info-contact .copy { margin-top: 0; }
  .page--info .info-mail { margin-top: 0; justify-self: start; }

  /* --- La tua voce ------------------------------------------------------- */
  .page--voice .voice-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: calc(var(--u) * 8);
    row-gap: calc(var(--uv) * 6);
    align-items: center;
  }

  /* heading full width, then the illustration beside the question */
  .page--voice .voice-hero > :nth-child(1) { grid-column: 1 / -1; }
  .page--voice .voice-hero > :nth-child(2) { grid-column: 1; }
  .page--voice .voice-hero > :nth-child(3) { grid-column: 2; margin-top: 0; }
  .page--voice .voice-hero .display { margin-top: 0; }
  .page--voice .fig-qmark {
    width: 100%;
    max-width: calc(var(--u) * 54.1);
    margin-left: 0;
    margin-top: 0;
  }
  .page--voice .voice-lead { margin-top: 0; max-width: none; }

  .page--voice .voice-insider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: calc(var(--u) * 8);
    row-gap: calc(var(--uv) * 7);
    align-items: start;
  }

  /* the heading and the pilot line keep the full width; the insider name and
     the long paragraph then run side by side */
  .page--voice .voice-insider > :nth-child(1) { grid-column: 1 / -1; margin-top: 0; }
  .page--voice .voice-insider > :nth-child(2) {
    grid-column: 1 / -1;
    margin-top: 0;
    max-width: calc(var(--u) * 52);
  }
  .page--voice .voice-insider > :nth-child(3) {
    grid-column: 1 / -1;
    width: calc(var(--u) * 40);
    margin: 0 auto;
  }
  .page--voice .voice-insider > :nth-child(4) { grid-column: 1; margin-top: 0; }
  .page--voice .voice-insider > :nth-child(5) { grid-column: 2; margin-top: 0; }
  .page--voice .voice-insider .display { margin-top: 0; }

  .page--voice .voice-space .display { margin-top: 0; }
  .page--voice .fig-room { margin-top: 0; }

  .page--voice .voice-privacy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: calc(var(--u) * 8);
    align-items: start;
  }

  .page--voice .voice-privacy .copy { margin-top: 0; }
  .page--voice .indent-37 { margin-left: 0; margin-top: 0; }

  .page--voice .voice-final {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    column-gap: calc(var(--u) * 8);
  }

  .page--voice .voice-final .copy { margin-top: 0; }
  .page--voice .button-row { margin-top: 0; justify-content: flex-end; }

  /* same as above: keep the artboard's spacing by moving it to the section */
  .page--voice .voice-hero { margin-top: calc(var(--uv) * 19.8); }
  .page--voice .voice-insider { margin-top: calc(var(--uv) * 27); }
  .page--voice .voice-space { margin-top: calc(var(--uv) * 25.3); }
  .page--voice .voice-final { margin-top: calc(var(--uv) * 20.9); }
}



/* ==========================================================================
   Motion: reveal, drift, curtain, reduced-motion
   ========================================================================== */

/* Artwork drifts against the vertical scroll, driven by the shared rAF loop in
   scroll.js which publishes `--scene-progress` on each scoped section. */
.motion-ready .drift {
  transform: translate3d(0, calc((var(--scene-progress, .5) - .5) * var(--drift-range, 3vh)), 0);
}

.page--home .home-coast.drift { --drift-range: 3.4vh; }
.page--about .sustainability .drift { --drift-range: 3vh; }
.page--info .info-transparency .drift { --drift-range: 3vh; }
.page--info .info-detail .drift { --drift-range: 3vh; }
.page--info .info-protection .drift { --drift-range: 3vh; }

/* Content stays visible until the observer is actually armed, so a script
   failure can never leave the page blank. */
.motion-armed [data-reveal] {
  opacity: 0;
  transform: translateY(calc(var(--u) * 2.6));
}

.motion-armed [data-reveal="media"] {
  transform: translateY(calc(var(--u) * 3.4)) scale(.985);
}

.motion-armed [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity .62s var(--ease-out) var(--reveal-delay, 0ms),
    transform .7s var(--ease-out) var(--reveal-delay, 0ms);
}

/* ==========================================================================
   Page change — a plain cross-fade through the black ground.
   The client's prototype dissolves from one screen to the next, so the swap is
   a fade rather than a wipe. Every page already sits on black, which makes
   fading a black sheet in over the content pixel-identical to fading the
   content out — one layer, no moving parts.
   ========================================================================== */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .38s var(--ease-out),
    visibility 0s linear .38s;
}

/* Outgoing: dim the page to black and hold while the document swaps. The fade
   runs from whatever the drag had already scrubbed in. */
.page-leaving .page-curtain {
  visibility: visible;
  opacity: 1;
  transition: opacity .32s linear;
}

/* Incoming: the document must open already black — an inline head script adds
   this class before first paint so the new page never flashes — and then the
   page fades up out of it. An animation (rather than a class the script has to
   take away again) means a script failure can only leave an invisible,
   click-through overlay, never a permanently black page. */
.page-entering .page-curtain {
  visibility: visible;
  animation: curtain-lift .46s var(--ease-out) 60ms both;
}

@keyframes curtain-lift {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ==========================================================================
   PC tier — page `UI 交互` of 新素材/ELPHARO.fig.

   The desktop artboards are 1728 design px wide and every block sits at its own
   artboard coordinate, so the markup carries raw Figma numbers (--x/--y/--w/--h
   /--fs/--r) and this block converts them. `--px` is one design pixel: the
   artboard is 100u wide, so 1 design px = 1u / 17.28.

   Everything below is hidden until the desktop tier, where the mobile pages are
   hidden instead.
   ========================================================================== */
/* Tier switching only ever *hides* a tier, so the shown tier keeps whatever
   display its own class rules give it (flow, flex, fixed…). */
@media (max-width: 81.99rem) {
  [data-tier="pc"] { display: none; }
}

@media (min-width: 82rem) {
  [data-tier="mobile"] { display: none; }
  /* one design pixel of the 1728-wide desktop artboard */
  :root { --px: calc(var(--u) / 17.28); }
}

.pc__art {
  position: relative;
  width: calc(var(--px) * 1728);
  max-width: 100%;
  margin-inline: auto;
  height: calc(var(--px) * var(--art-h, 1000));
  /* frames clip their children in Figma; `IL NOSTRO IMPEGNO` relies on it */
  overflow: hidden;
}

.pc__art > * {
  position: absolute;
  left: calc(var(--px) * var(--x, 0));
  top: calc(var(--px) * var(--y, 0));
  width: calc(var(--px) * var(--w, 1728));
  font-size: calc(var(--px) * var(--fs, 24));
  font-weight: var(--weight, 500);
  line-height: 1;
  text-align: center;
  margin: 0;
}

.pc__art .pc__left { text-align: left; }
.pc__art .pc__rose { color: var(--rose); }
.pc__art .pc__light { font-weight: 300; }

.pc__art .pc__img {
  height: calc(var(--px) * var(--img-h, 400));
  object-fit: cover;
  border-radius: calc(var(--px) * var(--r, 0));
}

/* The PC home overlays its body copy on the full-bleed photograph, which is
   only legible because the plate is dark exactly where the text sits. */
.pc__art .pc__over-photo { z-index: 1; }

.pc__link { text-decoration: none; }
.pc__link:hover,
.pc__link:focus-visible { color: var(--rose); }

/* the survey CTA and its e-mail field: the two components the mobile
   artboards do not contain at all */
.pc__art .pc__pill {
  height: calc(var(--px) * var(--h, 231));
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 158, 169, .9);
  border-radius: calc(var(--px) * var(--h, 231) / 2);
  background: linear-gradient(#1b1b1b, #4a4a4a);
  color: var(--rose);
}

.pc__art .pc__input {
  height: calc(var(--px) * var(--h, 86));
  border: 0;
  border-radius: 0;
  padding-inline: calc(var(--px) * 24);
  font-family: inherit;
  font-weight: 300;
  color: #000;
  background: linear-gradient(90deg, #2c2c2c, #575757, #a8a8a8);
}

.pc__art .pc__input::placeholder { color: #000; opacity: 1; }

.pc__art .pc__send { padding: 0; cursor: pointer; }
.pc__art .pc__send img { width: 100%; height: auto; }

/* --- PC overrides for the shared chrome ------------------------------------ */
@media (min-width: 82rem) {
  /* the overlay carries the same header as the pages (menu frame 75:1128), so
     the fixed PC bar rides above it and the overlay's own header stands down */
  .menu .site-header,
  .site-header { display: none; }

  /* `菜单` 1728 x 1170: three destinations, left-aligned at x 259, in the top
     two thirds; the fourth line of the secondary group is the address itself */
  .menu__inner {
    padding: calc(var(--u) * 16.09) calc(var(--u) * 14.99) calc(var(--u) * 8);
  }
  .menu__nav { margin-top: 0; gap: calc(var(--u) * 4.1); }
  .menu__link { font-size: calc(var(--u) * 3.7); }
  .menu__social {
    margin-top: calc(var(--u) * 7.93);
    gap: calc(var(--u) * 2.84);
    font-size: calc(var(--u) * 2.31);
  }
  .menu__mail-label { display: none; }
  .menu__mail { margin-top: calc(var(--u) * 2.84); font-size: calc(var(--u) * 2.31); }

  /* the company block sits at the artboard's own gutter and 24px type */
  .site-footer { padding-inline: calc(var(--u) * 4.17); }
  .footer__legal { font-size: calc(var(--u) * 1.39); max-width: calc(var(--u) * 76.85); }
  .footer__legal p + p { margin-top: calc(var(--u) * 2.4); }
}

/* --- the three-slot fixed header -------------------------------------------
   Wordmark hard left, three-bar mark on the exact centre line, search right.
   Transparent and fixed: the artboards scroll straight through it. */
.pc-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-header);
  width: var(--col);
  max-width: 100%;
  height: 0;
}

.pc-header__logo {
  position: absolute;
  left: calc(var(--px) * 84);
  top: calc(var(--px) * 65);
  width: calc(var(--px) * 353);
  display: block;
}

.pc-header__logo .wordmark { width: 100%; }

.pc-header__mark {
  position: absolute;
  left: calc(var(--px) * 822);
  top: calc(var(--px) * 76);
  width: calc(var(--px) * 85);
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pc-header__bars {
  display: flex;
  flex-direction: column;
  gap: calc(var(--px) * 26.35);
}

.pc-header__bars i {
  display: block;
  height: calc(var(--px) * 2);
  width: 100%;
  background: var(--hairline);
  transition: transform .26s var(--ease-out), opacity .16s linear;
}

.pc-header__bars i:nth-child(2) { width: 54.6%; }

.pc-header__search {
  position: absolute;
  left: calc(var(--px) * 1584);
  top: calc(var(--px) * 71);
  width: calc(var(--px) * 66);
  padding: 0;
  cursor: pointer;
  opacity: .72;
  transition: opacity .16s linear;
}

.pc-header__search:hover,
.pc-header__search:focus-visible { opacity: 1; }
.pc-header__search img { width: 100%; height: auto; filter: invert(1); }

/* ========================================================================== 
   Privacy and consent — first-party, progressive and visually subordinate.
   The control stays available on every page; the banner is only revealed by
   consent.js when an optional script actually exists.
   ========================================================================== */
.privacy-launcher {
  position: fixed;
  left: var(--float-inset);
  bottom: var(--float-inset);
  z-index: calc(var(--z-launcher) + 1);
  min-width: 4.7rem;
  min-height: 2.25rem;
  padding: .55rem .8rem .48rem;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  background: rgba(0, 0, 0, .78);
  color: var(--white);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: color .18s var(--ease-out), border-color .18s var(--ease-out), transform .18s var(--ease-out);
}

.privacy-launcher:hover,
.privacy-launcher:focus-visible {
  color: var(--rose);
  border-color: var(--rose);
  transform: translateY(-2px);
}

.consent-dialog {
  width: min(42rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 1.4rem;
  color: var(--white);
  background: #080808;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, .72);
  overflow: auto;
}

.consent-dialog::backdrop { background: rgba(0, 0, 0, .74); backdrop-filter: blur(8px); }

.consent-panel { padding: clamp(1.4rem, 5vw, 3rem); }
.consent-panel__head { display: flex; align-items: center; justify-content: space-between; }
.consent-panel__eyebrow { color: var(--rose); font-size: .72rem; font-weight: 600; letter-spacing: .15em; }
.consent-panel__close { width: 2.4rem; height: 2.4rem; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.consent-panel h2 { margin-top: 2.4rem; max-width: 10ch; font-size: clamp(2.2rem, 8vw, 4.5rem); font-weight: 300; line-height: .92; letter-spacing: -.045em; }
.consent-panel__intro { margin-top: 1.5rem; max-width: 38rem; color: #c8c8c8; line-height: 1.35; }
.consent-options { margin-top: 2.3rem; border-top: 1px solid rgba(255, 255, 255, .28); }

.consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  cursor: pointer;
}

.consent-option strong,
.consent-option small { display: block; }
.consent-option strong { font-size: 1rem; font-weight: 500; }
.consent-option small { margin-top: .24rem; color: #9d9d9d; font-size: .78rem; line-height: 1.3; }
.consent-option input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--rose); }
.consent-option input:disabled { opacity: .58; }
.consent-panel__links { margin-top: 1.4rem; color: #bdbdbd; font-size: .78rem; }
.consent-panel__links a:hover { color: var(--rose); }

.consent-panel__actions,
.consent-banner__actions { display: grid; gap: .6rem; }
.consent-panel__actions { margin-top: 1.8rem; grid-template-columns: repeat(3, 1fr); }
.consent-panel__actions button,
.consent-banner__actions button {
  min-height: 2.9rem;
  padding: .68rem .8rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1.1;
  cursor: pointer;
  transition: background .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.consent-panel__actions button:hover,
.consent-banner__actions button:hover { border-color: var(--rose); color: var(--rose); }
.consent-panel__actions [data-consent-save],
.consent-banner__actions [data-banner-customize] { background: var(--rose); border-color: var(--rose); color: var(--black); }
.consent-panel__actions [data-consent-save]:hover,
.consent-banner__actions [data-banner-customize]:hover { background: var(--white); border-color: var(--white); color: var(--black); }

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  width: min(62rem, calc(100vw - 2rem));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 1.2rem;
  background: rgba(0, 0, 0, .94);
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, .58);
  backdrop-filter: blur(16px);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { max-width: 42rem; color: #d0d0d0; font-size: .9rem; line-height: 1.35; }
.consent-banner strong { display: block; margin-bottom: .22rem; color: var(--white); font-weight: 500; }
.consent-banner__actions { grid-template-columns: repeat(3, auto); }

.footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.2rem;
  margin-top: 1.4rem !important;
  font-size: .78em;
}
.footer__policies a,
.footer__policies button { color: #b3b3b3; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.footer__policies a:hover,
.footer__policies button:hover { color: var(--rose); }

/* Legal notices intentionally step outside the fixed Figma artboards. */
.page--legal { min-height: 100vh; }
.legal-header,
.legal-main,
.legal-footer { width: min(70rem, calc(100% - 2.5rem)); margin-inline: auto; }
.legal-header { display: flex; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.legal-header .wordmark { width: clamp(7rem, 14vw, 10.5rem); }
.legal-header__back { color: #adadad; font-size: .72rem; letter-spacing: .08em; text-decoration: none; }
.legal-header__back:hover { color: var(--rose); }
.legal-main { padding: clamp(4rem, 10vw, 8rem) 0 6rem; }
.legal-main__eyebrow { color: var(--rose); font-size: .75rem; font-weight: 600; letter-spacing: .17em; }
.legal-main h1 { margin-top: 1.6rem; max-width: 11ch; font-size: clamp(3rem, 9vw, 7rem); font-weight: 300; line-height: .9; letter-spacing: -.055em; }
.legal-main__lead { margin: 2rem 0 0 auto; max-width: 38rem; color: #c3c3c3; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.4; }
.legal-sections { margin-top: clamp(5rem, 10vw, 9rem); }
.legal-section { display: grid; grid-template-columns: minmax(4.5rem, 10rem) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 4rem); padding: 2.3rem 0 2.8rem; border-top: 1px solid rgba(255, 255, 255, .3); }
.legal-section__index { color: var(--rose); font-size: .72rem; letter-spacing: .14em; }
.legal-section h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); font-weight: 300; line-height: 1; }
.legal-section h3 { margin-top: 1.5rem; font-size: 1rem; font-weight: 500; }
.legal-section p,
.legal-section li { color: #bdbdbd; font-size: clamp(.95rem, 1.4vw, 1.08rem); line-height: 1.5; }
.legal-section p { margin-top: 1rem; }
.legal-section ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.legal-section li + li { margin-top: .45rem; }
.legal-section a { color: var(--white); }
.legal-storage { margin-top: 1.4rem; display: grid; gap: .6rem; }
.legal-storage div { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.legal-storage dt { color: var(--white); font-weight: 500; overflow-wrap: anywhere; }
.legal-storage dd { margin: 0; color: #adadad; line-height: 1.4; }
.legal-footer { padding: 2rem 0 3rem; border-top: 1px solid rgba(255, 255, 255, .28); color: #8f8f8f; font-size: .75rem; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: .8rem; }
.legal-footer button { color: inherit; text-decoration: underline; cursor: pointer; }

@media (max-width: 44rem) {
  .consent-panel__actions { grid-template-columns: 1fr; }
  .consent-banner { grid-template-columns: 1fr; }
  .consent-banner__actions { grid-template-columns: 1fr; }
  .legal-section { grid-template-columns: 1fr; gap: .7rem; }
  .legal-storage div { grid-template-columns: 1fr; gap: .25rem; }
}

/* Above the drawer: the `菜单` frame carries this same bar, so it stays put
   while the overlay is open. Declared after the base rule on purpose —
   `z-index: calc(var(--z-menu) + 1)` is rejected outright by the browser. */
@media (min-width: 82rem) {
  .pc-header { z-index: 51; }
}

/* the launcher is proportionally smaller but absolutely larger on a wide screen */
@media (min-width: 82rem) {
  :root { --launcher-w: clamp(46px, calc(var(--u) * 4.93), 88px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .launcher { animation: none; transition: none; }
  .motion-ready .drift { transform: none; }
  /* a reduced-motion drag must not scrub the fade either */
  .page-turning .page-curtain { opacity: 0; }

  /* the hands rest in their closed position */
  html:not(.motion-force-full) .hand--left { --hand-translate: 0%; }
  html:not(.motion-force-full) .hand--right { --hand-translate: 0%; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
