/* ==========================================================================
   Rakibul Hasan (Felix SH), "Quiet Luxury"
   Warm ink, ivory type, champagne used as jewellery. Two families only.
   ========================================================================== */

:root {
  /* Palette */
  --ink:        #0B0A09;  /* page background - warm black */
  --ink-2:      #12110F;  /* raised surfaces */
  --ink-3:      #1A1815;  /* cards / hover surfaces */
  --ivory:      #F2EDE4;  /* primary text */
  --ivory-dim:  rgba(242, 237, 228, 0.66); /* body text (≈7.5:1 on --ink) */
  --ivory-faint:rgba(242, 237, 228, 0.42); /* captions only */
  --line:       rgba(242, 237, 228, 0.08); /* hairlines */
  --line-strong:rgba(242, 237, 228, 0.18);
  --champagne:  #C9A96E;
  --champagne-2:#E3CB9A;
  --champagne-glow: rgba(201, 169, 110, 0.10);
  --success:    #8FCBA6;
  --error:      #E3A491;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Geometry */
  --radius: 5px;
  --container: 1240px;
  --gutter: 32px;
  --section-space: clamp(48px, 5.5vw, 88px); /* ~150px between sections on desktop */

  /* Motion - slow, soft, ease-out only */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --slow: 1.2s;
  --mid: 0.8s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* offset for the floating nav */
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--champagne); color: var(--ink); }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* headings focused by script (e.g. returning from the 3D gallery) aren't controls: no focus ring */
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }

:focus-visible {
  outline: 1px solid var(--champagne);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--champagne);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.4s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
.section { position: relative; padding-block: var(--section-space); }

/* Section mark: "I - Selected Work" + hairline */
.section-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(48px, 6vw, 80px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  white-space: nowrap;
}
.section-mark span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--champagne);
}
.section-mark::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-sub {
  display: inline-block;
  margin-top: 22px;
  max-width: 62ch;
  font-size: 17px;
  color: var(--ivory-dim);
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
}

.text-link {
  position: relative;
  display: inline-block;
  color: var(--ivory-dim);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color var(--mid) var(--ease);
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--mid) var(--ease);
}
.text-link:hover { color: var(--ivory); }
.text-link:hover::after { transform: scaleX(1); }

/* Headline accent word - italic champagne with a slow shimmer on hover */
.accent-word {
  font-style: italic;
  font-weight: 400;
  /* padding keeps the italic overhang inside the clipped gradient; margin cancels the visual gap */
  padding-inline: 0.04em 0.08em;
  margin-inline: -0.04em -0.08em;
  background: linear-gradient(100deg, var(--champagne) 0%, var(--champagne) 38%, var(--champagne-2) 50%, var(--champagne) 62%, var(--champagne) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  color: var(--champagne);
  -webkit-text-fill-color: transparent;
  transition: background-position 2.4s var(--ease-soft);
}
.accent-word:hover, h1:hover .accent-word, h2:hover .accent-word { background-position: 0 0; }

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(143, 203, 166, 0.14);
  flex: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 54px;
  padding: 0 30px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: color var(--mid) var(--ease), border-color var(--mid) var(--ease), background-color var(--mid) var(--ease);
}
.btn__label { position: relative; z-index: 1; }
.btn__icon {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--mid) var(--ease);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary { background: var(--champagne); color: var(--ink); }
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--champagne-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.btn--primary:hover::before { transform: scaleX(1); }

.btn--secondary {
  border: 1px solid var(--line-strong);
  color: var(--ivory);
}
.btn--secondary:hover { border-color: var(--champagne); background: var(--ink-3); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  transition: border-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--champagne); color: var(--champagne); }
.icon-btn:focus-visible { outline: 1px solid var(--champagne); outline-offset: 3px; }

/* ==========================================================================
   Custom cursor (created by app.js; fine pointers only)
   ========================================================================== */
html.has-cursor, html.has-cursor * { cursor: none !important; }
/* Belt and braces: JS never creates the cursor on touch or reduced motion, and CSS hides it if it exists */
@media (pointer: coarse), (hover: none), (prefers-reduced-motion: reduce) { .cursor { display: none !important; } }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto !important; }
html.has-cursor input[type="text"], html.has-cursor input[type="email"], html.has-cursor textarea { cursor: text !important; }

.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; will-change: transform; }
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--champagne);
  transition: opacity 0.4s var(--ease);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
}
.cursor-ring__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.55);
  background: transparent;
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease), opacity 0.4s var(--ease), border-color 0.6s var(--ease);
}
.cursor-ring__disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: scale(0.3);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
html[data-cursor-state="link"] .cursor-ring__circle { transform: scale(1.65); background: var(--champagne-glow); border-color: rgba(201, 169, 110, 0.4); }
html[data-cursor-state="view"] .cursor-ring__circle,
html[data-cursor-state="drag"] .cursor-ring__circle { opacity: 0; transform: scale(2); }
html[data-cursor-state="view"] .cursor-ring__disc,
html[data-cursor-state="drag"] .cursor-ring__disc { transform: scale(1); opacity: 1; }
html[data-cursor-state="view"] .cursor-dot,
html[data-cursor-state="drag"] .cursor-dot,
html[data-cursor-state="text"] .cursor-dot { opacity: 0; }
html[data-cursor-state="text"] .cursor-ring__circle { opacity: 0; }
html.cursor-out .cursor { opacity: 0; }

/* ==========================================================================
   Navigation, slim, translucent island
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 88px;
  padding-top: 16px; /* breathing room above the logo and links; the content row stays 72px */
  /* full-bleed bar; contents align with the container's content edge */
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2 + var(--gutter));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: rgba(11, 10, 9, 0.7);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transition: background-color var(--mid) var(--ease), border-color var(--mid) var(--ease);
}
.nav.is-scrolled { background: rgba(11, 10, 9, 0.82); }

.nav__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; min-width: 0; }

/* Brand lockup - the master logo as one vector (#logo-lockup, built from Logo.svg).
   Two tones come from these properties; the logo's white is softened to the site ivory. */
:root { --logo-gold: #CAAA6F; --logo-light: var(--ivory); }
.logo { display: block; height: 44px; width: auto; aspect-ratio: 3067.11 / 648; flex: none; overflow: visible; }
.logo--lg { height: auto; width: min(322px, 100%); }
/* Hover: the icon turns half a turn - the mark is point-symmetric, so it lands on itself with its tones swapped */
.logo__icon { transform-box: fill-box; transform-origin: center; transition: transform 1.2s var(--ease); }
.nav__brand:hover .logo__icon, .nav__brand:focus-visible .logo__icon { transform: rotate(180deg); }
@media (max-width: 480px) { .nav .logo { height: 38px; } }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
  transition: color var(--mid) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--mid) var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
  transition: border-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.nav__status:hover { border-color: rgba(201, 169, 110, 0.5); color: var(--ivory); }

.nav__toggle { display: none; justify-self: end; position: relative; width: 40px; height: 40px; }
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Full-screen mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gutter) 48px;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__links { display: grid; gap: 6px; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 0.4s var(--ease);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.06s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.12s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.18s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.24s; }
.menu__links a:hover, .menu__links a:focus-visible { color: var(--champagne-2); }
.menu__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 13px; color: var(--ivory-dim); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  --hx: 50%; --hy: 40%; --hs: 0; --gx: 0px; --gy: 0px;
  position: relative;
  min-height: min(100svh, 960px);
  padding: 160px 0 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Warm dot grid + champagne spotlight that trails the cursor */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -12px;
  pointer-events: none;
  background-size: 30px 30px;
  background-position: calc(50% + var(--gx)) var(--gy);
}
.hero::before {
  background-image: radial-gradient(circle, rgba(242, 237, 228, 0.07) 1px, transparent 1.5px);
  -webkit-mask-image: radial-gradient(110% 90% at 60% 40%, #000 20%, transparent 80%);
          mask-image: radial-gradient(110% 90% at 60% 40%, #000 20%, transparent 80%);
}
.hero::after {
  background-image: radial-gradient(circle, var(--champagne-2) 1.2px, transparent 1.8px);
  -webkit-mask-image: radial-gradient(340px circle at var(--hx) var(--hy), #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
          mask-image: radial-gradient(340px circle at var(--hx) var(--hy), #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
  opacity: calc(var(--hs) * 0.14);
}

.hero__inner { display: grid; }
.hero__title {
  margin: 28px 0 30px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero__lede { max-width: 54ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--ivory-dim); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero__proof { margin-top: 36px; font-size: 13px; letter-spacing: 0.02em; color: var(--ivory-dim); }

/* Instant content: a 12px rise, 80ms stagger, all done within ~700ms */
.hero__in { animation: heroIn 0.38s var(--ease) both; }
.hero__in:nth-child(2) { animation-delay: 0.08s; }
.hero__in:nth-child(3) { animation-delay: 0.16s; }
.hero__in:nth-child(4) { animation-delay: 0.24s; }
.hero__in:nth-child(5) { animation-delay: 0.32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Two-column hero: copy flush with the grid margin, featured work in a dark glass frame */
/* minmax(0, …) so a longer caption can never widen the column (keeps the card's width fixed too) */
/* Row 1: copy (eyebrow → buttons) beside the card; row 2: the proof line under the copy.
   The card stretches to row 1, so its top meets the eyebrow and its bottom meets the buttons. */
.hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 48px; align-items: start; }
.hero__copy { max-width: 640px; grid-column: 1; grid-row: 1; }
.hero__proof { grid-column: 1; grid-row: 2; }
.hero__visual { position: relative; isolation: isolate; grid-column: 2; grid-row: 1; align-self: stretch; }
/* Soft champagne glow behind the card */
.hero__visual::before {
  content: ""; position: absolute; inset: -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}
/* Frame: eyebrow-to-buttons tall (min 520px); slides swap inside it, the box never changes size */
.hero-visual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: rgba(12, 12, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
/* Image area; its bottom edge fades into the glass so the strip below reads cleanly */
.hero-visual-card__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; }
.hero-visual-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide img {
  filter: saturate(0.9) brightness(0.9);
  /* --z frames each piece (set per slide); the Ken Burns drift starts 7% above it */
  transform: scale(calc(var(--z, 1) * 1.07));
  transition: transform 9s linear;
}
.hero-slide.is-active img { transform: scale(var(--z, 1)); }
/* Zoomed-out slides: a soft, blurred copy of the photo fills the edges so no hard border shows */
.hero-slide--fill { overflow: hidden; }
.hero-slide--fill::before {
  content: ""; position: absolute; inset: -12%;
  background: var(--bg) center / cover no-repeat;
  filter: blur(28px) saturate(0.8) brightness(0.7);
}
.hero-slide--fill picture { position: relative; }
.hero-slide--fill img {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
}

/* Footer strip - monospace metadata + slide ticks (system mono, no extra font download) */
.hero-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex: none; min-height: 52px; padding: 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, 'Liberation Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero__caption { display: flex; align-items: baseline; gap: 8px; min-width: 0; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__caption-k { color: var(--champagne); }
.hero-strip__sep { color: var(--ivory-faint); }
.hero__caption-t { transition: color var(--mid) var(--ease); overflow: hidden; text-overflow: ellipsis; }
.hero__caption-c { color: var(--ivory-dim); }
.hero__caption:hover .hero__caption-t, .hero__caption:focus-visible .hero__caption-t { color: var(--champagne-2); }

.hero__ticks { display: flex; gap: 6px; flex: none; }
.hero__tick { position: relative; width: 22px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__tick::before, .hero__tick::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.hero__tick::before { background: rgba(242, 237, 228, 0.22); }
.hero__tick::after { background: var(--champagne); transform: scaleX(0); transform-origin: left; }
.hero__tick.is-active::after { animation: tickFill var(--dwell, 6.5s) linear forwards; }
.hero__visual.is-paused .hero__tick.is-active::after { animation: none; transform: none; }
.hero__tick:hover::before { background: rgba(242, 237, 228, 0.6); }
@keyframes tickFill { to { transform: none; } }
/* Phones: let the metadata wrap (label on its own line) instead of truncating */
@media (max-width: 480px) {
  .hero-strip { padding: 12px 16px; }
  .hero__caption { flex-wrap: wrap; row-gap: 4px; white-space: normal; }
  .hero__caption-k { flex-basis: 100%; }
  .hero-strip__sep { display: none; }
}

/* ==========================================================================
   Section ambient light (Work, Contact)
   ========================================================================== */
.section--ambient { --ax: 50%; --ay: 30%; --aa: 0; }
.section--ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--ax) var(--ay), var(--champagne), transparent 70%);
  opacity: calc(var(--aa) * 0.05);
  /* fade out toward the section's top and bottom, so the glow never ends in a hard-edged box */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 250px, #000 calc(100% - 250px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 250px, #000 calc(100% - 250px), transparent 100%);
}

/* ==========================================================================
   I, Selected work
   ========================================================================== */
/* Header row: title + intro on the left, project counter on the right */
.section-head--split { max-width: none; }
.section-head--split .section-sub { max-width: 760px; }
.section-head__row { display: flex; align-items: last baseline; justify-content: space-between; gap: 16px 48px; }
.section-head__row .section-title { max-width: 760px; }
.work-count { flex: none; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
/* Counter + "Explore in 3D" sit together at the right of the H2 row */
.work-tools { flex: none; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }

/* Explore in 3D: hairline gold circle with a slowly turning outlined cube, same pill language as the nav status */
.explore3d {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 18px 0 6px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ivory-dim);
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  transition: border-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.explore3d__ring {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px;
  border: 1px solid rgba(201, 169, 110, 0.45); border-radius: 50%;
  transition: border-color var(--mid) var(--ease);
}
.cube-icon { width: 20px; height: 20px; fill: none; stroke: var(--champagne); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.explore3d .cube-icon { animation: cubeTurn 12s linear infinite; }
.explore3d:hover, .explore3d:focus-visible { border-color: rgba(201, 169, 110, 0.6); color: var(--ivory); }
.explore3d:hover .explore3d__ring, .explore3d:focus-visible .explore3d__ring { border-color: var(--champagne); }
.explore3d:hover .cube-icon, .explore3d:focus-visible .cube-icon { animation-duration: 2.4s; }
.explore3d:focus-visible { outline: 1px solid var(--champagne); outline-offset: 3px; }
@keyframes cubeTurn { to { transform: rotate(360deg); } }

/* "Press 3 for a surprise" (footer); keyboard shortcut only, so hidden on touch screens */
.key-hint { font-size: 12px; color: var(--ivory-faint); }
.key-hint kbd {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin: 0 3px; padding: 0 4px;
  border: 1px solid var(--line-strong); border-radius: 4px;
  font: 500 10px/1 var(--font-body); color: var(--ivory-dim);
}
@media (hover: none), (pointer: coarse) { .key-hint { display: none; } }

/* While the 3D gallery overlay is open the custom cursor steps aside (the gallery uses normal cursors) */
html.gx-open .cursor { display: none !important; }

/* Bento grid: 12 columns. 01 full width, then 7+5, 5+7, 4+4+4 */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: clamp(40px, 4.5vw, 64px);
}
.work-card { position: relative; display: block; grid-column: span 12; border-radius: var(--radius); transition: opacity var(--mid) var(--ease); }
.work-card--7 { grid-column: span 7; }
.work-card--5 { grid-column: span 5; }
.work-card--4 { grid-column: span 4; }

/* Image wrappers carry the shape, so nothing moves while images load */
.work-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-2); /* placeholder while the image loads */
  transition: border-color 0.6s var(--ease-out, var(--ease));
}
.work-card--lead .work-card__media { aspect-ratio: 16 / 9; }
.work-card--7 .work-card__media,
.work-card--5 .work-card__media { height: clamp(300px, 32vw, 480px); } /* same row height for 7 + 5 */
.work-card--4 .work-card__media { aspect-ratio: 4 / 5; }

.work-card__media picture, .work-card__media img { display: block; width: 100%; height: 100%; }
.work-card__media img {
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  filter: saturate(0.85) brightness(0.92);
  transform: scale(1.001);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Optional logo crossfade (only when a project has a logo in config.js) */
.work-card__logo {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(11, 10, 9, 0.92);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card__logo img { width: 40%; height: auto; max-height: 50%; object-fit: contain; filter: brightness(0) invert(0.93) sepia(0.08); transform: none; }

.work-card__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 237, 228, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--mid) var(--ease);
}
.work-card__trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.work-card__trace rect {
  x: 0.5px;
  y: 0.5px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  fill: none;
  stroke: var(--champagne);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.7s var(--ease);
}

/* Meta: number + name | sector · year, then discipline | view case study */
.work-card__meta { display: grid; gap: 8px; padding-top: 20px; }
.work-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.work-card__title {
  display: block; min-width: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.9vw, 1.75rem);
  line-height: 1.15;
  color: var(--ivory);
}
.work-card__label { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); white-space: nowrap; }
.work-card__disc { font-size: 14px; color: var(--ivory-dim); }
.work-card__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.04em; color: var(--champagne); white-space: nowrap; }

.work-card:hover .work-card__media,
.work-card:focus-visible .work-card__media { border-color: var(--line-strong); }
.work-card:hover .work-card__media img,
.work-card:focus-visible .work-card__media img { transform: scale(1.03); filter: none; }
.work-card:hover .work-card__logo,
.work-card:focus-visible .work-card__logo { opacity: 1; }
.work-card:hover .work-card__sheen { opacity: 1; }
.work-card:hover .work-card__trace rect,
.work-card:focus-visible .work-card__trace rect { stroke-dashoffset: 0; }
.work-card:focus-visible { outline: 1px solid var(--champagne); outline-offset: 6px; }

@media (hover: hover) and (pointer: fine) {
  .work-grid:has(.work-card:hover) .work-card:not(:hover) { opacity: 0.55; }
}

/* Closing line under the grid */
.work-more {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px;
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.work-more__lead { font-size: 14px; color: var(--ivory-dim); }
.work-more__links { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* Tablet: 2 columns, 01 stays full width; an odd card out at the end spans both */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .work-card--7, .work-card--5, .work-card--4 { grid-column: span 1; }
  .work-card--lead { grid-column: 1 / -1; }
  .work-card--7 .work-card__media, .work-card--5 .work-card__media, .work-card--4 .work-card__media { height: auto; aspect-ratio: 4 / 5; }
  .work-card:not(.work-card--lead):last-child:nth-child(even) { grid-column: 1 / -1; }
  .work-card:not(.work-card--lead):last-child:nth-child(even) .work-card__media { aspect-ratio: 16 / 9; }
}
/* Mobile: one column, all 4:5 except 01 at 4:3 */
@media (max-width: 640px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .work-card, .work-card--lead, .work-card:not(.work-card--lead):last-child:nth-child(even) { grid-column: 1 / -1; }
  .work-card .work-card__media,
  .work-card:not(.work-card--lead):last-child:nth-child(even) .work-card__media { aspect-ratio: 4 / 5; height: auto; }
  .work-card--lead .work-card__media { aspect-ratio: 4 / 3; }
  .section-head__row { flex-direction: column; align-items: flex-start; }
  .work-tools { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Proximity glow (stats, principles, testimonials), no tilt
   ========================================================================== */
[data-glow] { --mx: 50%; --my: 50%; --glow: 0; position: relative; isolation: isolate; }
[data-glow]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(201, 169, 110, 0.06), transparent 65%);
  opacity: var(--glow);
}

/* ==========================================================================
   II, Approach
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(32px, 4vw, 48px) clamp(16px, 2vw, 28px);
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__num span { color: var(--champagne); font-size: 0.6em; vertical-align: 0.5em; margin-left: 2px; }
.stat__label { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
.stat__label em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; letter-spacing: 0.02em; text-transform: none; color: var(--ivory-dim); }

.approach-grid { display: grid; gap: clamp(48px, 4.5vw, 64px); margin-top: clamp(80px, 9vw, 128px); }
.capabilities .eyebrow, .process .eyebrow { margin-bottom: 24px; }
.cap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.cap-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 400;
}

.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 36px; }
/* Timeline: a thin gold line joining four solid gold dots (it ends at the last dot) */
.process__steps::before {
  content: ""; position: absolute; left: 4px; right: calc((100% - 96px) / 4 - 5px); top: 4px; height: 1px;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.55), rgba(201, 169, 110, 0.3));
}
/* Flex column: content stacks from the top (no stretched rows), the days label is pushed to the bottom */
.process__steps li { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; }
.process__steps li::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.12);   /* a soft halo so each dot reads as a marker */
}
.process__steps strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.2; }
.process__steps .process__line { font-size: 15px; color: var(--ivory-dim); }
.process__detail { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--ivory-dim); opacity: 0.85; }
.process__days { margin-top: auto; padding-top: 10px; white-space: nowrap; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); opacity: 0.8; }
@media (max-width: 1100px) and (min-width: 761px) {
  /* The detail lines need more width than four columns give on tablets */
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .process__steps::before { display: none; }
  .process__steps li::before { top: -20px; }
}
.process__note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ivory-dim); }

/* ==========================================================================
   III, About
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.portrait {
  padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 128px;
  transition: border-color var(--slow) var(--ease), box-shadow var(--slow) var(--ease);
}
.portrait picture { position: relative; display: block; overflow: hidden; border-radius: 2px; background: var(--ink-2); }
.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0;
  /* The file is in colour: shown black and white at rest, colour on hover */
  filter: grayscale(1) brightness(0.94);
  transform: scale(1.001);
  transition: filter 0.9s var(--ease), transform 1.4s var(--ease);
}
/* Neutral vignette only: no warm tint, so the B&W stays pure */
.portrait picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130% 95% at 50% 30%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
  transition: opacity 0.9s var(--ease);
}
/* Thin champagne line that draws across the bottom of the photo on hover */
.portrait picture::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
/* centred under the photo; the left padding balances the letter-spacing after the last letter, and the top margin
   gives the text the same space above as below (16px each), so it sits in the middle of that strip */
.portrait figcaption { margin-top: 15px; padding-left: 0.22em; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); transition: color var(--mid) var(--ease); }
@media (hover: hover) {
  .portrait:hover { border-color: rgba(201, 169, 110, 0.45); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35); }
  .portrait:hover img { filter: grayscale(0) brightness(1); transform: scale(1.035); }
  .portrait:hover picture::after { opacity: 0.55; }
  .portrait:hover picture::before { transform: scaleX(1); }
  .portrait:hover figcaption { color: var(--champagne-2); }
}
@media (prefers-reduced-motion: reduce) {
  .portrait img, .portrait picture::before { transition-duration: 0.01s; }
  .portrait:hover img { transform: none; }
}

.about__body { margin-top: 30px; max-width: 58ch; font-size: 18px; color: var(--ivory-dim); }
.principles { margin-top: 56px; border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  padding: 26px 16px 26px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ivory-dim);
  font-size: 16px;
}
.principle__n { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--champagne); }
.principle strong { color: var(--ivory); font-weight: 500; }

.pull-quote { margin-top: 64px; padding-left: 28px; border-left: 1px solid var(--champagne); }
.pull-quote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.3; }
.pull-quote figcaption { margin-top: 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }

/* ==========================================================================
   IV, Words
   ========================================================================== */
/* Two columns split by one vertical hairline: rating (~30%) | one testimonial at a time (~70%) */
.words {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  border-top: 1px solid var(--line);
}
.rating {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 48px) clamp(40px, 5vw, 64px) 0;
  border-right: 1px solid var(--line);
}
.rating__num { font-family: var(--font-display); font-weight: 300; font-size: clamp(4.5rem, 8vw, 7rem); line-height: 0.9; color: var(--ivory); }
.rating__stars { margin-top: 14px; font-size: 18px; letter-spacing: 0.3em; color: var(--champagne); }
.rating__meta { margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
.rating__facts { margin-top: 32px; display: grid; gap: 12px; font-size: 14px; color: var(--ivory-dim); }
.rating__facts li { display: flex; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.rating__facts strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--champagne-2); min-width: 2.6em; }

/* Testimonial: no boxes, borders or backgrounds */
#words .section-mark { margin-bottom: clamp(36px, 3.5vw, 48px); }
#words .section-head { margin-bottom: clamp(36px, 3.5vw, 48px); }
.tq {
  display: flex; flex-direction: column;
  padding: clamp(28px, 2.5vw, 36px) 0 clamp(20px, 2vw, 28px) clamp(32px, 6vw, 96px);
  outline: none;
}
.tq:focus-visible { outline: 1px solid var(--champagne); outline-offset: -1px; }
/* Decorative mark: sits above the quote, its empty lower half tucked under the first line */
.tq__mark {
  display: block; height: 0.36em; margin-bottom: 4px; overflow: visible;
  font-family: var(--font-display); font-size: 96px; line-height: 0.8;
  color: var(--champagne); opacity: 0.4;
  user-select: none; pointer-events: none;
}
/* All slides share one grid cell, so the stage is always as tall as the longest quote: no jumps */
.tq__stage { display: grid; flex: 1; }
.tq__slide {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0s linear 0.7s;
}
.tq__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0s; }
.tq__slide blockquote {
  max-width: 28ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.3;
  color: var(--ivory);
  text-wrap: pretty;
}
.tq__hl { font-style: italic; color: var(--champagne-2); }
.tq__slide figcaption {
  display: block;
  margin-top: 40px;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.tq__slide.is-active figcaption { opacity: 1; transition-delay: 0.12s; }
.tq__slide figcaption::before { content: ""; display: block; width: 32px; height: 1px; margin-bottom: 18px; background: var(--champagne); }
.tq__name { font-size: 14px; color: var(--ivory); }
.tq__project { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
.tq__project::before { content: " · "; letter-spacing: 0; padding-inline: 2px; }

/* Controls: counter · progress · arrows + pause */
.tq__controls { display: flex; align-items: center; gap: 24px; margin-top: clamp(28px, 3vw, 40px); }
.tq__count { flex: none; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; color: var(--ivory-dim); }
.tq__count-now { color: var(--ivory); }
.tq__progress { position: relative; flex: 1; height: 1px; background: var(--line-strong); overflow: hidden; }
.tq__progress-fill { position: absolute; inset: 0; background: var(--champagne); transform: scaleX(0); transform-origin: left; }
.tq__progress-fill.is-running { animation: tqFill var(--tq-dwell, 8s) linear forwards; }
.tq.is-paused .tq__progress-fill.is-running { animation-play-state: paused; }
@keyframes tqFill { to { transform: scaleX(1); } }
.tq__buttons { display: flex; gap: 10px; flex: none; }
.tq__buttons .icon-btn { width: 44px; height: 44px; }
.tq__play svg { width: 16px; height: 16px; }
.tq__icon-play { display: none; }
.tq.is-stopped .tq__icon-play { display: block; }
.tq.is-stopped .tq__icon-pause { display: none; }
.tq__icon-play path { fill: currentColor; stroke: none; }

.words__foot { display: flex; justify-content: flex-end; padding-top: 24px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .tq__slide, .tq__slide.is-active, .tq__slide figcaption { transition: none; transform: none; }
  .tq__progress, .tq__play { display: none; }
}

/* Tablet: rating becomes one row above the quote; the vertical hairline becomes horizontal */
@media (max-width: 1024px) {
  .words { grid-template-columns: minmax(0, 1fr); }
  .rating {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
    padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .rating__score { display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 20px; }
  .rating__num { grid-row: 1 / span 2; font-size: clamp(3.5rem, 9vw, 5rem); }
  .rating__stars { margin: 0; }
  .rating__meta { margin: 6px 0 0; }
  .rating__facts { margin-top: 0; min-width: min(100%, 300px); }
  .tq { padding-left: 0; }
}
/* Mobile: smaller quote and mark, controls stay on one line */
@media (max-width: 640px) {
  .tq__mark { font-size: 64px; }
  .tq__slide blockquote { font-size: clamp(24px, 6.6vw, 26px); }
  .tq__controls { gap: 14px; }
  .tq__buttons { gap: 6px; }
  .tq__progress { max-width: 72px; }
}

/* ==========================================================================
   V, Contact
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
}
.contact__body { margin-top: 28px; max-width: 52ch; font-size: 18px; color: var(--ivory-dim); }

.details { margin-top: 48px; border-top: 1px solid var(--line); max-width: 520px; }
.details > div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
.details dd { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; text-align: right; }
.details dd a { transition: color var(--mid) var(--ease); }
.details dd a:hover { color: var(--champagne-2); }
.contact__copy > .text-link { margin-top: 28px; }

/* Inquiry form - hairline inputs, floating labels */
.inquiry {
  display: grid;
  gap: 30px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 17, 15, 0.6);
}
.field { position: relative; padding-top: 20px; }
.field input, .field textarea, .field select {
  display: block;
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 17px;
  outline: none;
  transition: border-color var(--mid) var(--ease);
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.6; }
.field label {
  position: absolute;
  left: 0;
  top: 31px;
  font-size: 16px;
  color: var(--ivory-dim);
  transform-origin: left top;
  pointer-events: none;
  transition: transform 0.6s var(--ease), color 0.6s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--champagne); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { transform: translateY(-28px) scale(0.72); }
.field input:focus + label, .field textarea:focus + label, .field select:focus + label { color: var(--champagne); }
.field textarea::placeholder { color: transparent; transition: color 0.6s var(--ease); }
.field textarea:focus::placeholder { color: var(--ivory-faint); }
.field--select label { top: 0; transform: none; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A96E' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 16px;
  cursor: pointer;
}
.field select option { background: var(--ink-2); color: var(--ivory); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.field__error { min-height: 0; margin-top: 8px; font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--error); }

.chips legend { margin-bottom: 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ivory-dim);
  cursor: pointer;
  transition: border-color var(--mid) var(--ease), color var(--mid) var(--ease), background-color var(--mid) var(--ease);
}
.chip span:hover { border-color: rgba(201, 169, 110, 0.5); color: var(--ivory); }
.chip input:checked + span { border-color: var(--champagne); background: var(--champagne-glow); color: var(--ivory); }
.chip input:focus-visible + span { outline: 1px solid var(--champagne); outline-offset: 3px; }

.inquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.inquiry__status { font-size: 14px; color: var(--ivory-dim); max-width: 34ch; }
.inquiry__status.is-ok { color: var(--champagne-2); }
.inquiry__status.is-error { color: var(--error); }
.inquiry__status a { color: var(--champagne-2); text-decoration: underline; text-underline-offset: 3px; }
.inquiry button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }
/* Touch and small screens: every tap target at least 44x44px (WCAG 2.5.5) without changing the look */
@media (pointer: coarse), (max-width: 960px) {
  .skip-link, .hero__caption, .nav__brand { min-height: 44px; }
  .hero__caption { align-items: center; }
  .nav__toggle { width: 44px; height: 44px; margin-right: -2px; }
  .nav__toggle span { left: 12px; right: 12px; }
  .nav__toggle span:first-child { top: 18px; }
  .nav__toggle span:last-child { top: 25px; }
  .nav__toggle[aria-expanded="true"] span:first-child,
  .nav__toggle[aria-expanded="true"] span:last-child { top: 22px; }
  .hero__ticks { gap: 0; }
  .hero__tick { width: 44px; height: 44px; }
  .hero__tick::before, .hero__tick::after { left: 11px; right: 11px; }
  .text-link { padding-block: 11px; }
  .text-link::after { bottom: 8px; }
  .details dd a { display: inline-flex; align-items: center; min-height: 44px; }
  .chip span { padding-block: 10px; min-height: 44px; display: inline-flex; align-items: center; }
  .footer__list { gap: 0; }
  .footer__list li:not(:has(a)) { padding-block: 6px; }
  .footer__list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding-bottom: 0; }
  .footer__list a::after { bottom: 10px; }
  .case .icon-btn { min-width: 44px; min-height: 44px; }
}
/* Honeypot: off-screen (not display:none, which some bots detect) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: clamp(36px, 3vw, 40px) 0 22px; border-top: 1px solid var(--line); overflow: hidden; }

/* A. Closing call to action */
.footer__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 64px;   /* button centred against the heading */
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer__label { margin-bottom: 12px; }
.footer__cta-title { max-width: 22ch; margin: 0; }
.footer__cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; flex: none; }
/* side by side: offset by the "Next project" label above the heading, so the button centres on the heading itself */
@media (min-width: 761px) { .footer__cta-actions { padding-top: 31px; } }

/* B. Four columns */
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 24px clamp(32px, 4vw, 64px);
  padding-top: 28px;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__tagline { max-width: 26ch; font-family: var(--font-display); font-style: italic; font-size: 1.45rem; line-height: 1.3; color: var(--ivory); }
.footer__status { height: 36px; }
@media (pointer: coarse), (max-width: 960px) { .footer__status { height: 44px; } }
.footer__col .footer__label { margin-bottom: 12px; }
.footer__list { display: grid; gap: 6px; }
.footer__list li { font-size: 14px; color: var(--ivory-dim); }
.footer__list li[hidden] { display: none; }
.footer__list a {
  position: relative; display: inline-block; padding-bottom: 2px;
  font-size: 14px; color: var(--ivory-dim);
  transition: color var(--mid) var(--ease);
}
/* Short underline that draws in on hover */
.footer__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 18px; height: 1px; background: var(--champagne);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--mid) var(--ease);
}
.footer__list a:hover, .footer__list a:focus-visible { color: var(--ivory); }
.footer__list a:hover::after, .footer__list a:focus-visible::after { transform: scaleX(1); }
.footer a:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; border-radius: 2px; }

/* C. Bottom bar: secondary, but readable (≈9:1 on --ink; the credit ≈7:1) */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: rgba(242, 237, 228, 0.78);
}
.footer__bottom .text-link { font-size: 15px; }
/* Back to top: a plain gold text link (no border or fill), same size as the rest of the bottom row */
.back-top {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(201, 169, 110, 0.8);
  font-size: 15px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color var(--mid) var(--ease);
}
.back-top > span:first-child { text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: text-decoration-color var(--mid) var(--ease); }
.back-top__arrow { display: inline-block; letter-spacing: 0; transition: transform var(--mid) var(--ease); }
.back-top:hover, .back-top:focus-visible { color: var(--champagne); }
.back-top:hover > span:first-child, .back-top:focus-visible > span:first-child { text-decoration-color: currentColor; }
.back-top:hover .back-top__arrow, .back-top:focus-visible .back-top__arrow { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .back-top, .back-top > span:first-child, .back-top__arrow { transition: none; }
  .back-top:hover .back-top__arrow, .back-top:focus-visible .back-top__arrow { transform: none; }
}
@media (pointer: coarse) { .back-top { min-height: 44px; } }   /* comfortable tap height, invisible */
.footer__credit { font-size: 14px; color: var(--ivory-dim); }
.footer__bottom .key-hint { font-size: 14px; color: var(--ivory-dim); }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .footer__cta { flex-direction: column; align-items: stretch; }
  .footer__cta-actions { align-items: stretch; }
  .footer__cta-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ==========================================================================
   Case-study modal
   ========================================================================== */
html:has(.case[open]) { overflow: hidden; }
.case {
  width: min(1240px, calc(100% - 32px));
  height: calc(100dvh - 40px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(11, 10, 9, 0.97);
  color: var(--ivory);
  overflow: hidden;
}
.case[open] { display: flex; flex-direction: column; animation: caseIn 0.7s var(--ease); }
.case::backdrop { background: rgba(11, 10, 9, 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* Opacity only: a transform here would re-anchor the fixed custom cursor that moves into the dialog */
@keyframes caseIn { from { opacity: 0; } to { opacity: 1; } }

.case__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 28px; border-bottom: 1px solid var(--line); }
.case__count { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; color: var(--ivory-dim); font-variant-numeric: tabular-nums; }
.case__ctrl { display: flex; gap: 8px; }
/* Shown only when the project was opened from the 3D gallery */
.case__to3d {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 16px 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ivory-dim);
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  transition: border-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.case__to3d[hidden] { display: none; }
.case__to3d .cube-icon { width: 16px; height: 16px; }
.case__to3d:hover, .case__to3d:focus-visible { border-color: var(--champagne); color: var(--ivory); }
@media (max-width: 480px) { .case__to3d span { display: none; } .case__to3d { padding: 0 12px; } }
.case__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(201, 169, 110, 0.35) transparent; }
.case__body { width: 100%; max-width: 1080px; margin: 0 auto; padding: clamp(32px, 6vw, 88px) clamp(20px, 5vw, 64px); display: grid; gap: clamp(48px, 6vw, 88px); }
.case__body.is-swapping { animation: caseSwap 0.7s var(--ease); }
@keyframes caseSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.case__head { display: grid; gap: 20px; }
.case__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.case__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line); }
.case__facts div { padding: 16px 16px 0 0; }
.case__facts dt { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
.case__facts dd { margin-top: 4px; font-size: 15px; }

.case-figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.case-figure img { width: 100%; height: auto; opacity: 0; transition: opacity 1s var(--ease); }
.case-figure img.is-loaded { opacity: 1; }
.case-figure + figcaption, .case__gallery figcaption { margin-top: 12px; font-size: 13px; color: var(--ivory-dim); }

.case__blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 72px); }
.case__block { padding-top: 22px; border-top: 1px solid var(--line); }
.case__block h3 { margin-bottom: 16px; }
.case__block p { font-size: 17px; color: var(--ivory-dim); }
.case__block--wide { grid-column: 1 / -1; }
.case__block p.case__client { margin-top: 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); }
.case__list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.case__list li:last-child { border-bottom: 0; }

/* Brand system: round swatches with the hex under each, typefaces as "Aa", logo on a dark panel */
.brand-sys__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 48px; }
.brand-sys__label { margin-bottom: 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }
.case__block .brand-sys__label { font-size: 11px; }
.swatches { display: flex; flex-wrap: wrap; gap: 18px 20px; }
.swatch { display: grid; justify-items: center; gap: 10px; min-width: 64px; padding: 0; border: 0; background: none; color: var(--ivory); cursor: pointer; }
.swatch__chip { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(242, 237, 228, 0.12); transition: transform var(--mid) var(--ease); }
.swatch:hover .swatch__chip, .swatch:focus-visible .swatch__chip { transform: translateY(-3px); }
.swatch:focus-visible { outline: 1px solid var(--champagne); outline-offset: 6px; border-radius: 4px; }
.swatch__hex { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--ivory-dim); }
.type-list { display: grid; gap: 12px; }
.type-list li { display: flex; align-items: baseline; gap: 16px; font-size: 15px; color: var(--ivory-dim); }
.type-list__aa { font-size: 2.4rem; line-height: 1; color: var(--ivory); }
.brand-sys__logo { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 12%; border: 1px solid var(--line); border-radius: var(--radius); background: #0E0D0C; }
.brand-sys__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.case__gallery { display: grid; gap: clamp(28px, 4vw, 48px); }

/* Look closer - magnifying lens over the piece (replaces the cropped front/back details) */
.case__closer { display: grid; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.case__closer-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.case__closer-hint { font-size: 13px; color: var(--ivory-dim); }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.loupe {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-2);
  cursor: crosshair;
  touch-action: manipulation;
}
.loupe img { display: block; width: 100%; height: auto; transition: transform 0.6s var(--ease), filter 0.5s var(--ease); }
.loupe.is-looking img { filter: brightness(0.62) saturate(0.85); }
.loupe:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }
.loupe__lens {
  position: absolute; top: 0; left: 0;
  width: clamp(160px, 22vw, 240px); aspect-ratio: 1;
  margin: calc(clamp(160px, 22vw, 240px) / -2) 0 0 calc(clamp(160px, 22vw, 240px) / -2);
  border-radius: 50%;
  border: 1px solid rgba(227, 203, 154, 0.55);
  box-shadow: 0 0 0 6px rgba(11, 10, 9, 0.35), 0 12px 32px rgba(0, 0, 0, 0.45);
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0; scale: 0.85;
  transition: opacity 0.35s var(--ease), scale 0.35s var(--ease);
}
.loupe.is-looking .loupe__lens { opacity: 1; scale: 1; }
.loupe__badge {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 8px; border-radius: 999px;
  background: rgba(11, 10, 9, 0.7); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: 0.08em; color: var(--ivory-dim);
  pointer-events: none; transition: opacity 0.3s var(--ease);
}
.loupe__badge svg { width: 14px; height: 14px; fill: none; stroke: var(--champagne); stroke-width: 1.5; stroke-linecap: round; }
.loupe.is-looking .loupe__badge, .loupe.is-zoomed .loupe__badge { opacity: 0; }
.loupe.is-zoomed { cursor: zoom-out; }

.case-next {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: clamp(40px, 5vw, 64px) 0 8px;
  border-top: 1px solid var(--line);
  text-align: left;
  overflow: hidden;
}
.case-next__title { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; transition: color var(--mid) var(--ease); }
.case-next__title svg { width: 32px; height: 32px; fill: none; stroke: var(--champagne); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--mid) var(--ease); }
.case-next .eyebrow { position: relative; z-index: 1; }
.case-next__img {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(320px, 40%);
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-40%) scale(0.96);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.case-next__img img { width: 100%; height: 100%; object-fit: cover; }
.case-next:hover .case-next__img, .case-next:focus-visible .case-next__img { opacity: 0.85; transform: translateY(-45%) scale(1); }
.case-next:hover .case-next__title { color: var(--champagne-2); }
.case-next:hover .case-next__title svg { transform: translateX(8px); }

/* ==========================================================================
   Scroll reveal, content is visible unless JS confirms it can reveal it
   ========================================================================== */
.reveal-ready .reveal { opacity: 0; transform: translateY(14px); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.55s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready .work-card.reveal.is-in { transition: opacity 0.5s var(--ease), transform 0.55s var(--ease); transition-delay: var(--d, 0s); }
/* Already on screen (load, anchor jump): no fade, no delay */
.reveal-ready .reveal.is-in.is-instant { transition: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero { min-height: auto; padding-top: 140px; }
  /* Card drops below the copy */
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  /* Stacked order: copy, proof line, then the card */
  .hero__copy, .hero__proof, .hero__visual { grid-column: auto; grid-row: auto; }
  .hero__visual { order: 3; width: min(100%, 620px); margin-top: 56px; }
  .hero-visual-card { height: 520px; }
}
/* Phones: fixed 440px so the landscape shots aren't over-cropped */
@media (max-width: 480px) {
  .hero-visual-card { height: 440px; }
}
@media (max-width: 960px) {
  .nav .nav__links, .nav .nav__status { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__toggle { display: block; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .portrait { position: relative; top: 0; max-width: 440px; }
  .contact { grid-template-columns: 1fr; }
  .case__blocks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .section { padding-block: 48px; }
  /* Phones: one column, the gold-dot timeline runs down the left edge */
  .process__steps { grid-template-columns: minmax(0, 1fr); row-gap: 36px; padding: 0 0 0 30px; }
  .process__steps::before { display: block; left: 4px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .process__steps li::before { top: 6px; left: -30px; }
  .cap-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .case { width: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .case__facts { grid-template-columns: 1fr 1fr; }
  .case-next__img { display: none; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .stat { padding-inline: 12px; }
  .details > div { flex-direction: column; gap: 4px; }
  .details dd { text-align: left; }
}

/* ==========================================================================
   Reduced motion, calm, instant, complete
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .hero::after { display: none; }
  .hero-slide img, .hero-slide.is-active img { transform: scale(var(--z, 1)); }
  .explore3d .cube-icon { animation: none; }
}
