/* ==========================================================================
   Atelier — main.css
   Apple-style exhibition layout. Brand colors arrive as CSS variables from
   brand/brand.json (inc/brand.php); defaults below are the neutral Apple set.

   01 Tokens · 02 Reset · 03 Type · 04 Layout & bands · 05 Controls
   06 Global nav · 07 Mobile nav & search · 08 Announcement · 09 Hero
   10 Tiles · 11 Collections · 12 Rail & product card · 13 Frame & panel
   14 Promise · 15 Pages & prose · 16 Footer · 17 Motion · 18 Responsive
   ========================================================================== */

/* 01 · Tokens -------------------------------------------------------------- */
:root {
  --stage: #000000;
  --chrome: #0e0e0e;
  --panel: #1d1d1f;
  --panel-2: #161617;
  --steel: #333336;
  --slate: #6e6e73;
  --ash: #86868b;
  --text: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-ink: #ffffff;
  --link: #2997ff;
  --glow: rgba(0, 113, 227, .3);
  --light: #ffffff;
  --light-ink: #1d1d1f;

  --font-display: -apple-system, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-text: -apple-system, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;

  --r-tile: 28px;
  --r-nav: 20px;
  --r-pill: 980px;
  --r-capsule: 36px;
  --r-link: 10px;

  --keyline: 0 0 0 1px var(--steel);
  --keyline-2: 0 0 0 1px var(--slate);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --gnav-h: 48px;

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

/* 02 · Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--gnav-h) + 64px); }
body {
  margin: 0;
  background: var(--stage);
  color: var(--text);
  font: 400 17px/1.47 var(--font-text);
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.ic { flex: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--stage); }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anchor { display: block; position: relative; top: calc(-1 * (var(--gnav-h) + 80px)); visibility: hidden; }
[hidden] { display: none !important; }

/* 03 · Type ---------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.display-xl { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.04; letter-spacing: -.015em; }
.display-l  { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.012em; }
.display-m  { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.005em; }
.display-s  { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.eyebrow { margin: 0 0 12px; font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--font-display); color: var(--accent); letter-spacing: .011em; }
.lede { margin: 18px 0 0; max-width: 40ch; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; color: var(--ash); letter-spacing: .009em; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.muted { color: var(--ash); }
.text-accent { color: var(--accent); }
.text-grad {
  background: linear-gradient(100deg, var(--text) 20%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 04 · Layout & bands ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { position: relative; padding-block: clamp(64px, 8.5vw, 124px); }
.band-tight { padding-block: clamp(48px, 6vw, 88px); }
.band-stage { background: var(--stage); }
.band-carbon { background: linear-gradient(var(--panel), var(--stage) 320px); }
.band-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.band-head.center { margin-inline: auto; }
.band-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* 05 · Controls ------------------------------------------------------------ */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 0;
  font: 400 17px/1 var(--font-text); letter-spacing: -.022em; white-space: nowrap; text-decoration: none !important;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .45s var(--ease-out);
}
.pill-accent { background: var(--accent); color: var(--accent-ink); }
.pill-accent:hover { background: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--glow); }
.pill-outline { background: transparent; color: var(--text); box-shadow: var(--keyline-2); }
.pill-outline:hover { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.pill-sm { min-height: 32px; padding: 0 15px; font-size: 14px; }
.capsule {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-capsule);
  background: color-mix(in srgb, var(--steel) 80%, transparent); color: rgba(255, 255, 255, .82); font-size: 15px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.link-more { display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-size: 17px; }
.link-more .ic { transition: transform .3s var(--ease-out); }
.link-more:hover .ic { transform: translateX(3px); }
.new-marker { display: inline-block; font: 600 12px/16px var(--font-text); color: var(--accent); letter-spacing: -.01em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  color: var(--text); font-size: 14px; box-shadow: var(--keyline-2); text-decoration: none !important;
  transition: background-color .25s, box-shadow .25s, color .25s;
}
.chip:hover { box-shadow: 0 0 0 1px var(--text); }
.chip.is-on { background: var(--text); color: var(--stage); box-shadow: none; }

/* 06 · Global nav ---------------------------------------------------------- */
.gnav {
  position: sticky; top: 0; z-index: 60; height: var(--gnav-h);
  background: color-mix(in srgb, var(--stage) 82%, transparent);
  transition: background-color .4s var(--ease);
}
@supports (backdrop-filter: blur(20px)) {
  .gnav { background: color-mix(in srgb, var(--stage) 72%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.gnav-inner { max-width: 1024px; height: 100%; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.gnav-logo { display: inline-flex; align-items: center; flex: none; }
.gnav-logo .logo { width: auto; height: 22px; }
.gnav-links { flex: 1; display: flex; justify-content: center; gap: clamp(18px, 2.8vw, 34px); }
.gnav-links a { position: relative; color: rgba(255, 255, 255, .8); font-size: 12.5px; letter-spacing: -.01em; text-decoration: none; transition: color .25s; }
.gnav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.gnav-links a:hover { color: var(--text); }
.gnav-links a:hover::after { transform: scaleX(1); }
.gnav-tools { display: flex; align-items: center; gap: 4px; }
.gnav-btn {
  position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .8); transition: color .25s, background-color .25s;
}
.gnav-btn:hover { color: var(--text); background: rgba(255, 255, 255, .08); text-decoration: none; }
.bag-count {
  position: absolute; right: 2px; bottom: 3px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 99px;
  background: var(--accent); color: var(--accent-ink); font: 600 9.5px/15px var(--font-text); text-align: center;
}
.gnav-menu { display: none; }

/* 07 · Mobile nav & search ------------------------------------------------- */
.mnav {
  position: fixed; inset: var(--gnav-h) 0 0 0; z-index: 59; padding: 24px var(--gutter) 40px;
  background: var(--stage); overflow-y: auto;
}
.mnav nav { display: grid; gap: 4px; max-width: 520px; }
.mnav a { display: block; padding: 10px 0; color: var(--text); font: 600 28px/1.15 var(--font-display); text-decoration: none; opacity: 0; transform: translateY(-8px); animation: mnavIn .5s var(--ease-out) forwards; animation-delay: calc(var(--i) * 40ms + 60ms); }
.mnav a.mnav-sub { font-size: 17px; font-weight: 500; color: var(--ash); margin-top: 18px; }
@keyframes mnavIn { to { opacity: 1; transform: none; } }
body.no-scroll { overflow: hidden; }

.search-layer { position: fixed; inset: 0 0 auto 0; z-index: 70; padding: 14px var(--gutter); background: var(--panel-2); box-shadow: var(--keyline); animation: dropIn .35s var(--ease-out); }
.search-layer form { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; color: var(--ash); }
.search-layer input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--text); font-size: 20px; outline: none; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } }

/* 08 · Announcement -------------------------------------------------------- */
.ann { background: var(--panel); text-align: center; padding: 14px var(--gutter); }
.ann p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text); }
.ann a { display: inline-flex; align-items: center; gap: 2px; }

/* 09 · Hero ---------------------------------------------------------------- */
.stage { position: relative; background: var(--stage); overflow: hidden; }
.hero { --p: 0; min-height: calc(100svh - var(--gnav-h) - 48px); display: grid; place-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 104px); isolation: isolate; }
.hero-inner { display: grid; justify-items: center; gap: clamp(8px, 2vw, 20px); width: 100%; }
.hero-glow {
  position: absolute; left: 50%; top: 34%; z-index: -1; width: min(1100px, 130vw); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(calc(1 + var(--p) * .3));
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  opacity: calc(.9 - var(--p) * .8); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { filter: brightness(1.25); } }
.hero-object {
  width: min(400px, 62vw, 42svh);
  transform: translateY(calc(var(--p) * -40px)) scale(calc(1 + var(--p) * .16));
  opacity: calc(1 - var(--p) * 1.1);
}
.hero-object img { width: 100%; animation: heroIn 1.6s var(--ease-out) both; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
@keyframes heroIn { from { opacity: 0; transform: scale(.9); filter: blur(8px); } }
/* Transparent logos (no photo background): no vignette mask, a soft brand glow instead. */
.hero-object.is-plain img { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 0 60px var(--glow)); }
.hero-copy { transform: translateY(calc(var(--p) * 50px)); opacity: calc(1 - var(--p) * 1.3); }
.hero-label { margin: 0 0 10px; font: 600 clamp(22px, 2.6vw, 32px)/1.13 var(--font-display); letter-spacing: .004em; color: var(--text); }
.hero .lede { margin-inline: auto; color: var(--ash); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 34px; margin-left: -11px; border-radius: 12px; box-shadow: var(--keyline-2); opacity: calc(.8 - var(--p) * 3); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(10px); } }

/* 10 · Tiles --------------------------------------------------------------- */
.panel-tiles { padding: clamp(12px, 1.6vw, 20px); }
.tiles { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 32px 28px;
  border-radius: var(--r-tile); background: var(--stage); isolation: isolate;
  transition: transform .6s var(--ease-out), background-color .4s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--glow), transparent 60%);
}
.tile:hover { transform: translateY(-6px); }
.tile:hover::before { opacity: 1; }
.tile-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--panel); color: var(--accent); transition: transform .5s var(--ease-out); }
.tile:hover .tile-ic { transform: scale(1.08) rotate(-4deg); }
.tile-stat { margin: 0; padding-top: 22px; font: 600 clamp(40px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -.01em; color: var(--text); }
.tile-title { font-size: 21px; line-height: 1.19; letter-spacing: .011em; }
.tile-text { margin: 0; font-size: 15px; line-height: 1.42; color: var(--ash); }
.tile-sm { min-height: 0; }
.tile-sm .tile-title { margin-top: 10px; }

/* 11 · Collections --------------------------------------------------------- */
.collections { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collections-1 { grid-template-columns: 1fr; }
.collections-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collection {
  position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(380px, 46vw, 620px); overflow: hidden;
  border-radius: var(--r-tile); background: var(--panel); color: var(--text); text-decoration: none !important; isolation: isolate;
}
.collection-media { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.collection:hover .collection-media img { transform: scale(1.06); }
.collection-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .78)); }
.collection-ic { display: grid; place-items: center; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); color: var(--accent); transition: transform 1s var(--ease-out); }
.collection-ic .ic { width: 96px; height: 96px; }
.collection:hover .collection-ic { transform: scale(1.12); }
.collection-copy { grid-row: 2; padding: clamp(24px, 3vw, 40px); }
.collection-copy h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.collection-copy p { margin: 8px 0 14px; max-width: 36ch; color: rgba(245, 245, 247, .75); font-size: 17px; }

/* 12 · Rail & product card ------------------------------------------------- */
.rail { position: relative; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 28vw, 340px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 8px 0 24px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.rail-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--steel); color: var(--text); transition: background-color .25s, opacity .25s; }
.rail-btn:hover { background: var(--slate); }
.rail-btn[data-rail-prev] .ic { transform: rotate(180deg); }
.rail-btn:disabled { opacity: .35; cursor: default; }

.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--stage); overflow: hidden; transition: transform .6s var(--ease-out); }
.band-stage .pcard, .pgrid .pcard { background: var(--panel); }
.pcard:hover { transform: translateY(-6px); }
.pcard-media { position: relative; display: block; aspect-ratio: 1 / 1.08; overflow: hidden; background: #fff; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.1s var(--ease-out); }
.pcard-img-alt { opacity: 0; }
.pcard:hover .pcard-img { transform: scale(1.05); }
.pcard:hover .pcard-img-alt { opacity: 1; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.pcard-cat { font-size: 12px; color: var(--ash); text-transform: uppercase; letter-spacing: .08em; }
.pcard-title { font-size: 19px; line-height: 1.21; letter-spacing: .012em; }
.pcard-title a { color: var(--text); text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; }
.pcard-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-price { font-size: 15px; color: var(--text); }
.pcard-price del { color: var(--ash); margin-right: 6px; }
.pcard-price ins { text-decoration: none; }

.soon-panel { display: grid; justify-items: center; gap: 12px; padding: clamp(48px, 8vw, 96px) 24px; border-radius: var(--r-tile); background: var(--stage); text-align: center; box-shadow: var(--keyline); }
.soon-panel h3 { font-size: clamp(24px, 2.6vw, 32px); }
.soon-panel p { margin: 0; color: var(--ash); max-width: 46ch; }

/* 13 · Frame & panel ------------------------------------------------------- */
.frame { --py: 0; position: relative; overflow: hidden; display: grid; align-items: end; min-height: clamp(420px, 56vw, 680px); border-radius: var(--r-tile); background: var(--panel); isolation: isolate; }
.frame-img { position: absolute; inset: -8% 0; z-index: -1; width: 100%; height: 116%; object-fit: cover; transform: translateY(calc(var(--py) * 1px)); }
.frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .82)); }
.frame-copy { padding: clamp(28px, 5vw, 64px); max-width: 760px; }
.frame-copy .pill { margin-top: 24px; }
.panel { padding: clamp(28px, 5vw, 64px); border-radius: var(--r-tile); background: var(--panel); }
.cmp-mini { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp-mini-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.cmp-col { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 24px; border-radius: var(--r-tile); background: var(--stage); text-align: center; }
.cmp-col-media { display: block; width: 72%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; }
.cmp-col-media img { width: 100%; height: 100%; object-fit: cover; }
.cmp-col h3 { font-size: 21px; }
.cmp-price { margin: 0; color: var(--text); }
.cmp-col ul { list-style: none; margin: 8px 0 12px; padding: 0; width: 100%; }
.cmp-col li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--steel); font-size: 14px; }
.cmp-col li span { color: var(--ash); font-size: 12px; }

/* 14 · Promise ------------------------------------------------------------- */
.promise { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promise-item { padding: 28px; border-radius: var(--r-tile); background: var(--panel); color: var(--accent); }
.promise-item h3 { margin: 14px 0 6px; font-size: 19px; }
.promise-item p { margin: 0; color: var(--ash); font-size: 15px; line-height: 1.42; }

/* 15 · Pages & prose ------------------------------------------------------- */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(28px, 4vw, 48px); }
.page-hero-sm { padding-block: clamp(36px, 5vw, 64px) 12px; }
.prose-wrap, .list-wrap { padding-bottom: clamp(80px, 10vw, 140px); }
.flow-wrap { padding-bottom: clamp(64px, 8vw, 112px); }
.prose { max-width: 720px; font-size: 17px; line-height: 1.6; color: rgba(245, 245, 247, .86); }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { margin: 1.5em 0 .4em; font-size: 21px; }
.prose a { color: var(--link); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--ash); }
.post-list { display: grid; gap: 14px; }
.post-row { padding: 24px 28px; border-radius: var(--r-tile); background: var(--panel); }
.post-row h2 { font-size: 24px; }
.post-row h2 a { color: var(--text); }
.post-row p { margin: 8px 0 0; color: var(--ash); }
.stage-404 { padding-block: clamp(96px, 14vw, 200px); }

/* 16 · Footer -------------------------------------------------------------- */
.site-footer { background: var(--panel); color: var(--ash); font-size: 12px; line-height: 1.5; padding-block: 48px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--steel); }
.footer-brand .logo-footer { width: auto; height: 22px; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 34ch; font-size: 13px; }
.footer-col h4 { margin-bottom: 10px; font: 600 12px/1.4 var(--font-text); color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ash); }
.footer-col a:hover { color: var(--text); }
.footer-legal { padding-top: 20px; display: grid; gap: 8px; }
.footer-legal p { margin: 0; }

/* 17 · Motion -------------------------------------------------------------- */
/* Content is visible without JS; .js enables the entrance animations. */
.js .intro { opacity: 0; transform: translateY(24px); animation: introIn 1.1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes introIn { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(36px) scale(.985); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.magnetic { transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s; }

@media (prefers-reduced-motion: reduce) {
  .js .intro, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-glow, .scroll-cue span { animation: none; }
  .hero-object, .hero-copy { transform: none !important; opacity: 1 !important; }
}

/* 18 · Responsive ---------------------------------------------------------- */
@media (max-width: 1068px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 833px) {
  :root { --gnav-h: 48px; }
  .hero-object { width: min(300px, 70vw, 36svh); }
  .gnav-links { display: none; }
  .gnav-tools { margin-left: auto; }
  .gnav-menu { display: inline-grid; }
  .hide-sm { display: none !important; }
  .collections, .collections-3, .promise, .cmp-mini, .cmp-mini-2 { grid-template-columns: 1fr; }
  .tiles-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tiles, .tiles-3, .tiles-2 { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile-stat { padding-top: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .rail-track { grid-auto-columns: 78%; }
  .cta-row .capsule { width: 100%; justify-content: center; }
}
