/* ============================================================
   ASK Studio — style.css
   Quiet luxury: warm near-black, aged paper, champagne bronze.
   ============================================================ */

/* Design tokens (:root + body.on-paper) now live in css/tokens.css,
   linked before this file on every page — single source of truth. */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { transition: border-color var(--theme-t) var(--ease-soft); }

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; scroll-padding-top: clamp(64px, 9vw, 88px); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color var(--theme-t) var(--ease-soft),
              color var(--theme-t) var(--ease-soft);
  overflow-x: clip;
}

::selection { background: var(--accent); color: #0e0d0b; }

img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
fieldset { border: 0; }
em { font-style: italic; }

/* thin scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(150, 140, 120, 0.4); }

/* ---------- accessibility ---------- */
.skip-link {
  position: fixed;
  top: 14px; left: 14px;
  z-index: 400;
  padding: 12px 22px;
  border-radius: 99px;
  background: var(--accent);
  color: #0e0d0b;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- utilities ---------- */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color var(--theme-t) var(--ease-soft);
}

/* split-word animation pieces (built by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; padding-left: 0.22em; padding-right: 0.22em; margin-left: -0.22em; margin-right: -0.22em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- film grain ---------- */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-44px, 30px); }
  50% { transform: translate(26px, -40px); }
  75% { transform: translate(-30px, -22px); }
  100% { transform: translate(40px, 36px); }
}

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
}
.cursor__dot {
  position: absolute;
  top: -4px; left: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              top 0.35s var(--ease), left 0.35s var(--ease),
              opacity 0.3s;
}
.cursor.is-zone .cursor__dot {
  width: 72px; height: 72px;
  top: -36px; left: -36px;
}
.cursor__label {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%) scale(0.6);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e0d0b;
  opacity: 0;
  transition: opacity 0.25s, transform 0.35s var(--ease);
  white-space: nowrap;
}
.cursor.is-zone .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- works lightbox ---------- */
.work__media { cursor: pointer; }
.lightbox {
  /* always render on the dark palette — the works sit in the cream "paper"
     theme, which would otherwise flip --ink dark and hide the controls */
  --ink: #e8e2d6;
  --ink-2: rgba(232, 226, 214, 0.6);
  --ink-3: rgba(232, 226, 214, 0.6);   /* counter legibility (was 0.32, ~2.4:1) */
  --accent: #b99a64;
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vh, 64px);
  background: rgba(8, 7, 6, 0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
/* hide page chrome while the viewer is open */
body.lb-open .head,
body.lb-open .fab { opacity: 0 !important; pointer-events: none; }
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s var(--ease);
}
.lightbox__stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: min(92vw, 1400px);
  transform: scale(0.97);
  transition: transform 0.6s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}
.lightbox__cap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  text-align: center;
}
.lightbox__name { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; color: var(--ink); }
.lightbox__mat { color: var(--ink-2); }
.lightbox__count { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lightbox__enquire {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.3s;
}
.lightbox__enquire:hover { opacity: 0.7; }
.lightbox__img { transition: opacity 0.45s var(--ease); }
.lightbox__img.is-loading { opacity: 0; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  z-index: 2;
}
.lightbox__close:hover,
.lightbox__nav:hover { opacity: 1; color: var(--accent); }
.lightbox__close {
  top: clamp(16px, 3vh, 32px);
  right: clamp(16px, 3vw, 36px);
  font-size: 22px;
  line-height: 1;
  padding: 10px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  padding: 10px 16px;
}
.lightbox__nav--prev { left: clamp(6px, 2vw, 28px); }
.lightbox__nav--next { right: clamp(6px, 2vw, 28px); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__stage { transition: opacity 0.2s linear; }
  .lightbox__stage, .lightbox.is-open .lightbox__stage { transform: none; }
}
@media (max-width: 860px) {
  .lightbox__img { max-height: 72vh; }
  .lightbox__nav { font-size: 30px; padding: 8px 10px; }
}
/* touch: comfortable, thumb-reachable arrows clear of the screen-edge gesture zone */
@media (pointer: coarse) {
  .lightbox__nav {
    min-width: 48px; min-height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(8, 7, 6, 0.45);
    opacity: 0.9;
  }
  .lightbox__nav--prev { left: clamp(12px, 4vw, 28px); }
  .lightbox__nav--next { right: clamp(12px, 4vw, 28px); }
}

/* ---------- preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0c0b09;
  color: #e8e2d6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader__mark {
  width: clamp(140px, 28vw, 280px);
  overflow: hidden;
}
.loader__logo {
  width: 100%;
  height: auto;
  transform: translateY(120%);
}
.loader__count {
  position: absolute;
  right: var(--pad);
  bottom: calc(var(--pad) - 10px);
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
  color: rgba(232, 226, 214, 0.4);
  font-variant-numeric: tabular-nums;
}
.loader__hint {
  position: absolute;
  left: var(--pad);
  bottom: var(--pad);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 226, 214, 0.4);
}

/* ---------- header ---------- */
.head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.5vw, 28px) var(--pad);
  color: #fff;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease), color var(--theme-t) var(--ease-soft),
              background-color 0.5s var(--ease-soft), backdrop-filter 0.5s var(--ease-soft),
              border-color 0.5s var(--ease-soft), padding 0.5s var(--ease-soft);
}
.head.is-hidden { transform: translateY(-110%); }
/* frosted bar appears once you leave the hero, so the logo/nav stay legible
   over any content (transparent over the dark hero at the very top) */
.head.is-stuck {
  padding-top: clamp(12px, 1.7vw, 18px);
  padding-bottom: clamp(12px, 1.7vw, 18px);
  background-color: rgba(14, 13, 11, 0.66);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: rgba(232, 226, 214, 0.10);
}
.head.is-stuck .head__logo-img { height: clamp(42px, 5vw, 56px); }
body.on-paper .head.is-stuck {
  background-color: rgba(233, 228, 216, 0.78);
  border-bottom-color: rgba(23, 19, 14, 0.10);
}
.head__logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  /* nudge right to land the logo 'A' ink on the hero title 'T' ink
     (the T's left side-bearing ≈ 0.019em of its size, which tracks
     ~0.24vw in the title's vw-scaling range) */
  margin-left: min(0.24vw, 3.7px);
}
.head__logo-img {
  height: clamp(51px, 6.3vw, 69px);
  width: auto;
  transition: opacity var(--theme-t) var(--ease-soft);
}
.head__logo-img--dark { display: none; }
body.on-paper .head__logo-img--light { display: none; }
body.on-paper .head__logo-img--dark { display: block; }
.head__nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.head__nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s;
  position: relative;
  padding: 4px 0;
}
.head__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.head__nav a:hover { opacity: 1; }
.head__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head__nav a[aria-current] { opacity: 1; }
.head__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.menu__links a[aria-current] { color: var(--accent); }
.head__right { display: flex; align-items: center; gap: 22px; }
.head__cta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  padding: 10px 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.head__cta:hover { background: #fff; color: #000; border-color: #fff; }
body.on-paper .head { color: #17130e; }
body.on-paper .head__cta { border-color: rgba(23, 19, 14, 0.35); }
body.on-paper .head__cta:hover { background: #17130e; color: #e9e4d8; border-color: #17130e; }
body.on-paper .head__menu span { background: #17130e; }
.head__menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 2px;
}
.head__menu span {
  display: block;
  width: 26px; height: 1px;
  background: #fff;
  transition: transform 0.45s var(--ease), width 0.3s;
}
.head__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.head__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- floating contact ---------- */
.fab {
  position: fixed;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 94;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease-soft), transform 0.7s var(--ease);
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab__enquire,
.fab__wa {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(14, 13, 11, 0.55);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s, transform 0.4s var(--ease);
}
.fab__enquire {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 99px;
}
.fab__wa {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
.fab__wa svg { width: 20px; height: 20px; fill: currentColor; }
.fab__enquire:hover,
.fab__wa:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0e0d0b;
}

/* ---------- menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #0c0b09;
  color: #e8e2d6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  font-family: var(--serif);
  font-size: clamp(40px, 9vw, 84px);
  font-weight: 300;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: fit-content;
  overflow: hidden;
}
.menu__links a i {
  font-style: normal;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.menu__links a:hover { color: var(--accent); }
.menu__foot {
  position: absolute;
  left: var(--pad); right: var(--pad);
  bottom: var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}
.menu__foot a { color: var(--ink); }

/* ---------- section heads ---------- */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(36px, 6vw, 84px);
}
.sec-head--bare { border-top: 0; padding-top: 0; }
.sec-head__num { color: var(--accent); }
.sec-head__end { margin-left: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  overflow: clip;
}
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 2.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__stage canvas { width: 100%; height: 100%; }
/* legibility scrim: darkens behind the left-aligned copy and fades
   toward the panel (right on desktop) so the piece still reads rich */
.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      rgba(14, 13, 11, 0.9) 0%,
      rgba(14, 13, 11, 0.6) 26%,
      rgba(14, 13, 11, 0.2) 48%,
      rgba(14, 13, 11, 0) 70%),
    linear-gradient(0deg,
      rgba(14, 13, 11, 0.5) 0%,
      rgba(14, 13, 11, 0) 34%);
}
.hero__inner { position: relative; z-index: 2; max-width: 1500px; }
.hero__eyebrow { margin-bottom: clamp(22px, 4vh, 48px); text-shadow: 0 1px 18px rgba(14, 13, 11, 0.7); }
.hero__title {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(64px, 12.5vw, 190px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(14, 13, 11, 0.55), 0 2px 30px rgba(14, 13, 11, 0.7), 0 1px 10px rgba(14, 13, 11, 0.6);
}
.hero__title em {
  font-weight: 250;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(185, 154, 100, 0.28), 0 2px 28px rgba(14, 13, 11, 0.5);
}
/* resin rise (mobile): a tide-line of light sweeps up across the title on entry;
   enabled + animated only at the mobile breakpoint (desktop hero is untouched). */
.hero__tide {
  display: none;
  position: absolute;
  left: -6%; right: -6%; top: 0;
  height: 46%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(180deg,
    rgba(185, 154, 100, 0) 0%,
    rgba(212, 196, 168, 0.14) 44%,
    rgba(232, 226, 214, 0.42) 50%,
    rgba(168, 196, 196, 0.14) 56%,
    rgba(185, 154, 100, 0) 100%);
}
@keyframes heroGoldBreathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.07); } }
@keyframes heroSheen {
  0%, 78% { transform: translateX(-70%); opacity: 0; }
  84% { opacity: 0.85; }
  100% { transform: translateX(70%); opacity: 0; }
}
.hline { display: block; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.22em; }
.hline--2 { margin-left: clamp(40px, 14vw, 260px); }
.hline__in { display: inline-block; white-space: nowrap; will-change: transform; }
.hero__sub {
  margin-top: clamp(26px, 4vh, 52px);
  max-width: 400px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(236, 231, 221, 0.94);
  text-shadow: 0 1px 2px rgba(14, 13, 11, 0.6), 0 1px 22px rgba(14, 13, 11, 0.85);
  transition: color var(--theme-t) var(--ease-soft);
}
.hero__meta {
  position: absolute;
  z-index: 2;
  left: var(--pad); right: var(--pad);
  bottom: clamp(22px, 4vh, 44px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.hero__origin { display: flex; flex-direction: column; gap: 7px; }
.hero__tagline { color: var(--accent); }
/* film credit — the hero video is the real, delivered Strata; the turquoise dot
   is Strata's own pour, marking it as a real piece (proof of real in-frame). */
.hero__credit { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.hero__credit::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #6f8a86; flex: none; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i {
  display: block;
  width: 1px; height: 44px;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrolldrip 2.2s var(--ease) infinite;
}
@keyframes scrolldrip {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================================
   THE POUR — scroll set-piece: resin rises to fill the word
   ============================================================ */
.pour { padding: clamp(56px, 13vh, 150px) var(--pad); text-align: center; }
.pour__inner { max-width: 1100px; margin: 0 auto; }
.pour__word { width: 100%; height: auto; display: block; overflow: visible; }
.pour__glyph { font-family: var(--serif); font-size: 240px; font-weight: 300; letter-spacing: -0.02em; }
.pour__ghost { fill: rgba(232, 226, 214, 0.08); stroke: rgba(232, 226, 214, 0.12); stroke-width: 0.6; }
.pour__meniscus { fill: rgba(232, 226, 214, 0.55); }
/* placed mid-collection: a full-width interstitial between pieces 2 and 3, on the
   paper theme — so the resin reads as a pour on limestone. Retint for cream. */
.pour--inset { grid-column: 1 / -1; padding: clamp(8px, 2.5vh, 44px) 0; }
body.on-paper .pour__ghost { fill: rgba(23, 19, 14, 0.11); stroke: rgba(23, 19, 14, 0.15); }
body.on-paper .pour__meniscus { fill: rgba(23, 19, 14, 0.42); }
/* No CSS transform here on purpose: a CSS transform would override GSAP's SVG
   transform attribute (CSS wins), freezing the fill. The group's natural position
   is already "filled", so no-JS shows the poured word; the scrub (main.js) sets it
   empty and fills it as the section scrolls in. Reduced motion (below) keeps it filled. */
.pour__note {
  max-width: 460px; margin: clamp(18px, 3vh, 34px) auto 0;
  font-size: 15px; line-height: 1.7; color: var(--ink-2);
}
.pour__note em { color: var(--accent); font-style: italic; }
@media (prefers-reduced-motion: reduce) { .pour__rise { transform: translateY(0) !important; } }

/* ============================================================
   CHOOSE YOUR POUR — resin swatch chips (faked cast depth, pure CSS)
   ============================================================ */
.pours { padding: clamp(70px, 12vh, 150px) var(--pad); }
.pours__row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.6vw, 22px); margin: clamp(26px, 4vh, 44px) 0 0;
}
@media (max-width: 760px) { .pours__row { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.swatch {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 4px;
  overflow: hidden; text-decoration: none; color: #fff;
  background: linear-gradient(158deg, var(--top) 0%, var(--mid) 52%, var(--deep) 100%);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.26),
    inset 0 -14px 26px rgba(0, 0, 0, 0.4),
    0 14px 34px rgba(0, 0, 0, 0.32);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* specular sheen — the poured surface catching light */
.swatch::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.05) 62%, transparent 100%);
  mix-blend-mode: screen; opacity: 0.72; pointer-events: none;
}
.swatch:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.3),
    inset 0 -14px 26px rgba(0, 0, 0, 0.4),
    0 22px 48px rgba(0, 0, 0, 0.42);
}
.swatch__name {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  font-size: 10.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.pours__note { margin-top: clamp(24px, 3.5vh, 38px); max-width: 480px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.pours__note a { color: var(--accent); border-bottom: 1px solid rgba(185, 154, 100, 0.4); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .swatch { transition: none; } .swatch:hover { transform: none; } }

/* ============================================================
   PAGE HEAD (subpages name themselves so the landing matches the nav)
   ============================================================ */
.page-head {
  padding: clamp(120px, 22vh, 240px) var(--pad) 0;
}
.page-head__title {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 130px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.page-head__title em { font-weight: 250; color: var(--accent); font-style: italic; }
.page-head + .manifesto { padding-top: clamp(40px, 7vh, 90px); }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  padding: clamp(110px, 16vh, 200px) var(--pad) clamp(80px, 12vh, 160px);
  display: grid;
  grid-template-columns: 1fr;
}
.manifesto .sec-head { width: 100%; }
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(28px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 19em;
}
.manifesto__text em { color: var(--accent); font-weight: 250; }
.manifesto__aside {
  margin-top: clamp(40px, 7vh, 90px);
  margin-left: auto;
  max-width: 330px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  border-left: 1px solid var(--line);
  padding-left: 24px;
  transition: color var(--theme-t) var(--ease-soft);
}

/* ---------- marquee ---------- */
.marquee {
  overflow: clip;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-3);
  transition: color var(--theme-t) var(--ease-soft);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   COLLECTION
   ============================================================ */
.collection { padding: clamp(90px, 14vh, 180px) var(--pad) clamp(110px, 16vh, 220px); }
.collection__title {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 76px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 14em;
  margin-bottom: clamp(70px, 12vh, 160px);
}
.collection__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(80px, 14vh, 180px);
}
.work { position: relative; }
.work--1 { grid-column: 1 / 6; }
.work--2 { grid-column: 7 / 13; margin-top: clamp(80px, 18vh, 240px); }
.work--3 { grid-column: 1 / 9; }
/* after the full-width Ondine band: Levante (left) + Carmine (right, staggered)
   as a pair, then Halcyon as a wide closer — so nothing is orphaned on a row */
.work--4 { grid-column: 1 / 6; margin-top: clamp(30px, 7vh, 110px); }
.work--5 { grid-column: 7 / 13; margin-top: clamp(90px, 18vh, 240px); }
.work--6 { grid-column: 2 / 12; margin-top: clamp(50px, 10vh, 150px); }

.work__media {
  position: relative;
  overflow: hidden;
  background: rgba(127, 119, 100, 0.08);
}
.work--1 .work__media { aspect-ratio: 4 / 5; }    /* Strata — pedestal table */
.work--2 .work__media { aspect-ratio: 4 / 5; }    /* Vanta — folding screen */
.work--3 .work__media { aspect-ratio: 16 / 9; }   /* Ondine — feature wall */
.work--4 .work__media { aspect-ratio: 3 / 4; }    /* Levante — room divider */
.work--5 .work__media { aspect-ratio: 9 / 16; }   /* Nerida — wall panel */
.work--6 .work__media { aspect-ratio: 4 / 3; }    /* Halcyon — kitchen */

/* featured piece — Ondine breaks the grid as a wide, matted cinematic still */
.work--3 { grid-column: 1 / 13; margin-top: clamp(30px, 6vh, 90px); }
.work--3 .work__media { aspect-ratio: 21 / 9; }
.work--3 .work__media::before {
  background:
    radial-gradient(120% 160% at 50% 38%, transparent 44%, rgba(8, 7, 6, 0.52) 100%),
    linear-gradient(180deg, rgba(111, 138, 134, 0.05), rgba(185, 154, 100, 0.05));
}
.work--3 .work__name { font-size: clamp(30px, 3.4vw, 52px); }
.work__media canvas,
.work__media img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease);
  will-change: transform;
}
/* cinematic grade: a faint vignette + sea/bronze veil unifies the series so the
   six tiles read as one graded set of film stills (kept subtle to not muddy resin) */
.work__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(125% 130% at 50% 28%, transparent 54%, rgba(8, 7, 6, 0.30) 100%),
    linear-gradient(180deg, rgba(111, 138, 134, 0.06), rgba(185, 154, 100, 0.06));
}
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(232, 226, 214, 0.0);
  transition: inset 0.7s var(--ease), border-color 0.7s;
  pointer-events: none;
}
.work:hover .work__media canvas,
.work:hover .work__media img { transform: scale(1.06); }
.work:hover .work__media::after { inset: 12px; border-color: rgba(232, 226, 214, 0.35); }
/* enlarge affordance — the lightbox trigger needs a cue that survives touch,
   where the custom "View" cursor and the :hover frame don't exist */
.work__zoom {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: none;
  align-items: center;
  padding: 8px 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8e2d6;
  background: rgba(8, 7, 6, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(232, 226, 214, 0.2);
  border-radius: 99px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .work__zoom { display: inline-flex; }
  .work:hover .work__zoom { opacity: 1; transform: none; }
}
/* touch: the chip rests visible and the frame is faintly drawn so the tile reads as tappable */
@media (pointer: coarse) {
  .work__zoom { display: inline-flex; opacity: 1; transform: none; }
  .work__media::after { inset: 10px; border-color: rgba(232, 226, 214, 0.22); }
}

.work__cap { margin-top: 22px; }
.work__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.work__name {
  font-family: var(--serif);
  font-size: clamp(27px, 2.9vw, 40px);   /* title-card scale — bigger on mobile too */
  font-weight: 350;
  letter-spacing: -0.015em;
  line-height: 1.04;
}
.work__mat { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); transition: color var(--theme-t) var(--ease-soft); }
.work__row--meta {
  justify-content: flex-start;
  flex-wrap: wrap;            /* on mobile the credits wrap as whole items, not mid-word */
  gap: 7px 22px;
  margin-top: 11px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color var(--theme-t) var(--ease-soft);
}
.work__row--meta span:first-child { color: var(--accent); }
.work__avail { margin-left: auto; color: var(--accent); }
.work__note {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  transition: color var(--theme-t) var(--ease-soft);
}
.work__enquire {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.3s;
}
.work__enquire:hover { color: var(--accent); }

/* ============================================================
   MATERIALS — interactive accordion
   ============================================================ */
.materials { padding: clamp(110px, 16vh, 200px) var(--pad); }
.materials__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: clamp(50px, 9vh, 110px);
}
.materials__title em { color: var(--accent); }

.mats {
  display: flex;
  gap: 3px;
  height: min(74vh, 720px);
}
.mat {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 1s var(--ease);
  outline: none;
  background: #14120e;
}
.mat.is-active { flex: 3.2; }
.mat:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.mat canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.mat.is-active canvas { transform: scale(1); }
.mat__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 7, 0.72) 0%, rgba(10, 9, 7, 0.12) 46%, rgba(10, 9, 7, 0.22) 100%);
  transition: opacity 0.8s;
}
.mat__head {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  z-index: 2;
}
.mat__idx { display: block; color: var(--accent); margin-bottom: 8px; }
.mat__name {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 350;
  color: #ece7db;
  white-space: nowrap;
}
.mat__desc {
  position: absolute;
  left: 22px; bottom: 88px;
  z-index: 2;
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(236, 231, 219, 0.85);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-soft) 0.25s, transform 0.9s var(--ease) 0.25s;
  pointer-events: none;
}
.mat.is-active .mat__desc { opacity: 1; transform: translateY(0); }
/* persistent expand cue — works on touch, where the custom "Open" cursor is hidden */
.mat__name { padding-right: 30px; }
.mat__head::after {
  content: "";
  position: absolute;
  right: 2px; bottom: 8px;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.7s var(--ease);
  opacity: 0.85;
}
.mat.is-active .mat__head::after { transform: rotate(-135deg); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  /* the line is held over the Red Sea — lock the dark palette so it never
     depends on the paper-theme toggle timing as you scroll past. `color` is
     declared here (not just via --ink) because `color: var(--ink)` lives on
     <body>, so it would otherwise resolve with the body's (paper) --ink and
     leave the text dark-on-dark during the theme cross-over. */
  --ink: #e8e2d6;
  --ink-2: rgba(232, 226, 214, 0.62);
  --accent: #b99a64;
  color: var(--ink);
  position: relative;
  overflow: clip;
  padding: clamp(140px, 26vh, 320px) var(--pad);
  text-align: center;
}
.quote__sea {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(0deg, rgba(8, 7, 6, 0.82), rgba(8, 7, 6, 0.82)), url("../img/sea-red.jpg");
  background-image:
    linear-gradient(0deg, rgba(8, 7, 6, 0.82), rgba(8, 7, 6, 0.82)),
    image-set(url("../img/sea-red.webp") type("image/webp"), url("../img/sea-red.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}
.quote__sea::after {            /* vignette so the centred line sits in a pool of dark */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(78% 92% at 50% 50%, transparent 28%, rgba(8, 7, 6, 0.72) 100%);
}
.quote__glow {                  /* a faint warm light-pool behind the words */
  position: absolute;
  left: 50%; top: 50%;
  width: min(72vw, 780px); height: min(48vh, 420px);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(185, 154, 100, 0.16), transparent 76%);
}
.quote__text, .quote cite { position: relative; z-index: 1; }
.quote__text {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 70px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 17em;
  margin: 0 auto clamp(28px, 4vh, 44px);
  text-shadow: 0 2px 40px rgba(8, 7, 6, 0.6);
}
.quote__text em { color: var(--accent); }

/* ============================================================
   ATELIER
   ============================================================ */
.atelier {
  padding: clamp(40px, 6vh, 72px) var(--pad) clamp(110px, 16vh, 200px);
  border-top: 1px solid var(--line);
}
.atelier__cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 110px);
  margin-top: 26px;
}
.atelier__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.atelier__title em { color: var(--accent); font-weight: 250; }
.atelier__body p {
  max-width: 480px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  transition: color var(--theme-t) var(--ease-soft);
}
.atelier__body p + p { margin-top: 22px; }

/* ---------- "two seas" scroll-driven liquid transition ---------- */
.atelier__intro { align-self: start; }
.seas {
  position: relative;
  margin: clamp(22px, 3.2vh, 44px) 0 0;   /* sits under the title */
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: clip;
  background: #0c0b09;
}
.seas__canvas { display: block; width: 100%; height: 100%; }
/* cinematic vignette over the dissolve — deepens the bottom + corners so the
   Mediterranean→Red Sea match-cut reads with depth (sits below the caption).
   Desktop only: mobile deliberately runs clean with its own caption placement. */
@media (min-width: 861px) {
  .seas::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(125% 135% at 50% 42%, transparent 56%, rgba(8, 7, 6, 0.5) 100%),
      linear-gradient(0deg, rgba(8, 7, 6, 0.55) 0%, transparent 32%);
  }
}
.seas__fallback {
  position: absolute;
  inset: 0;
  opacity: 0;            /* shown only when WebGL is unavailable */
  pointer-events: none;
}
.seas__fallback img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seas--static .seas__canvas { display: none; }
.seas--static .seas__fallback { opacity: 1; }
.seas__caption {
  position: absolute;
  left: clamp(16px, 2.5vw, 30px);
  bottom: clamp(14px, 2.5vh, 26px);
  z-index: 2;
  height: 1.4em;
  pointer-events: none;
}
.seas__caption::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(16px, 2.5vw, 30px));
  width: 70vw; max-width: 560px;
  bottom: calc(-1 * clamp(14px, 2.5vh, 26px));
  height: 140px;
  background: linear-gradient(0deg, rgba(12, 11, 9, 0.6) 0%, rgba(12, 11, 9, 0) 100%);
  pointer-events: none;
  z-index: -1;
}
.seas__cap {
  position: absolute;
  left: 0; bottom: 0;
  white-space: nowrap;
  color: #efe9dd;
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
}
.seas__cap.is-active { opacity: 1; transition: opacity 0.8s var(--ease-soft) 0.6s; }
.atelier__body p.atelier__lead {
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 350;
  line-height: 1.45;
  color: var(--ink);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: clamp(100px, 14vh, 190px) var(--pad) 0;
}
.faq__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 26px 0 clamp(36px, 6vh, 64px);
}
.faq__list {
  max-width: 760px;
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(20px, 3vh, 28px) 44px clamp(20px, 3vh, 28px) 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 350;
  position: relative;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 250;
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__item p {
  max-width: 620px;
  padding: 0 0 clamp(22px, 3vh, 30px);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  transition: color var(--theme-t) var(--ease-soft);
}

/* ============================================================
   COMMISSION
   ============================================================ */
.commission { position: relative; padding: clamp(100px, 14vh, 190px) var(--pad); }
/* atmospheric finale: a faint sea-glass light at the section's top edge */
.commission::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 42%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(111, 138, 134, 0.10), transparent 68%);
}
.commission > * { position: relative; z-index: 1; }
.commission__cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 130px);
}
.commission__intro h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(24px, 4vh, 44px);
}
.commission__intro p {
  max-width: 380px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: clamp(30px, 5vh, 56px);
  transition: color var(--theme-t) var(--ease-soft);
}
.commission__mail {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 6px;
  transition: color 0.35s;
}
.commission__mail:hover { color: var(--accent); }
.commission__whatsapp {
  display: block;
  margin-top: 14px;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(232, 226, 214, 0.4);
  transition: color 0.3s, text-decoration-color 0.3s;
}
.commission__whatsapp:hover { color: var(--accent); text-decoration-color: var(--accent); }
.commission__where { display: block; margin-top: 14px; }

.intro__steps {
  list-style: none;
  margin: 22px 0 clamp(30px, 5vh, 56px);
  counter-reset: steps;
}
.intro__steps li {
  counter-increment: steps;
  padding-left: 32px;
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  transition: color var(--theme-t) var(--ease-soft);
}
.intro__steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--serif);
  font-size: 11px;
  color: var(--accent);
  top: 2px;
}
.intro__steps li + li { margin-top: 10px; }
.intro__terms { margin-top: clamp(16px, 2.4vh, 26px); max-width: 44ch; font-size: 13px; line-height: 1.65; color: var(--ink-2); }

/* ---------- form ---------- */
.form { position: relative; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__field { margin-bottom: clamp(22px, 3.2vh, 32px); display: flex; flex-direction: column; gap: 9px; }
.form__field label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s;
}
.form__req { color: var(--accent); margin-left: 2px; }
.form__opt {
  margin-left: 6px;
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 10.5px;
}
.form__field input,
.form__field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(232, 226, 214, 0.34);   /* clear, refined field boundary */
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 300;
  padding: 4px 0 12px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.4s, background-color 0.4s;
  resize: none;
}
.form__field input:focus,
.form__field textarea:focus { border-bottom-color: var(--accent); background: rgba(232, 226, 214, 0.05); }
.form__field:focus-within label { color: var(--accent); }   /* label brightens with the active field */
.form__field.is-error input,
.form__field.is-error textarea { border-bottom-color: #e08a72; }
.form__field.is-error label { color: #e08a72; }

.form__chips { margin-bottom: clamp(22px, 3.2vh, 32px); }
.form__chips legend {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.chip { display: inline-block; margin: 0 10px 12px 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.35s var(--ease-soft);
  user-select: none;
}
.chip:hover span { border-color: var(--ink-2); color: var(--ink); }
.chip input:checked + span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: clamp(18px, 2.4vh, 24px) clamp(24px, 3vw, 36px);
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
  transition: color 0.45s var(--ease), border-color 0.45s;
}
.form__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease);
  z-index: 0;
}
.form__submit span, .form__submit i { position: relative; z-index: 1; font-style: normal; }
.form__submit i { font-family: var(--serif); font-size: 18px; transition: transform 0.45s var(--ease); }
.form__submit:hover { color: var(--bg); border-color: var(--ink); }
.form__submit:hover::before { transform: scaleY(1); }
.form__submit:hover i { transform: translateX(6px); }
.form__submit:disabled {
  cursor: wait;
  opacity: 0.62;
}
.form__submit:disabled::before { transform: scaleY(0); }
.form__assure {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
}
.form__consent {
  margin-top: 10px;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
}
.form__consent a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.form__hint {
  margin: -8px 0 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.form__regarding {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
}
.form__regarding[hidden] { display: none; }
/* per-field validation messages (built by JS), linked via aria-describedby */
.form__field-error {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: #e08a72;
}
.form__field.is-error .form__field-error { display: block; }
.form__chips.is-error legend { color: #e08a72; }
.form__again {
  align-self: flex-start;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 12px 24px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.form__again:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.form__done {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
}
.form__done h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  margin-bottom: 20px;
}
.form__done p { max-width: 380px; color: var(--ink-2); line-height: 1.8; }
.form.is-done .form__done { display: flex; }
.form.is-done > :not(.form__done) { visibility: hidden; }
.form__error {
  display: none;
  margin-top: 18px;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.7;
  color: #b85f4a;
}
.form.is-failed .form__error { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 9vh, 110px) var(--pad) 0;
  overflow: clip;
}
.foot__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: clamp(60px, 10vh, 130px);
}
.foot__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot__col .label { margin-bottom: 8px; }
.foot__col a {
  font-size: 14.5px;
  color: var(--ink);
  position: relative;
  width: fit-content;
}
.foot__col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.foot__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot__line { font-size: 14.5px; color: var(--ink-2); }
.foot__phone { display: inline-flex; align-items: center; gap: 9px; }
.foot__wa { display: inline-flex; color: var(--ink-2); transition: color 0.3s; }
.foot__wa::after { display: none; }
.foot__wa svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.foot__wa:hover { color: #25d366; }
/* touch: comfortable hit areas — the footer is the only mobile route to the depth pages */
@media (pointer: coarse) {
  .foot__col { gap: 4px; }
  .foot__col a { min-height: 44px; display: inline-flex; align-items: center; }
}
.foot__mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(110px, 24vw, 380px);
  line-height: 0.72;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--ink);
  opacity: 0.92;
  transform: translateY(8%);
  text-shadow: 0 0 70px rgba(185, 154, 100, 0.10);   /* a faint closing-title glow */
  user-select: none;
}
.foot__mark sup { font-size: 0.18em; vertical-align: 2.2em; color: var(--accent); }
.foot__base {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.foot__up { color: var(--ink-2); }
.foot__up:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .work--1 { grid-column: 1 / 7; }
  .work--2 { grid-column: 8 / 13; margin-top: clamp(50px, 10vh, 120px); }
  .work--3 { grid-column: 1 / 13; }   /* featured Ondine stays full-width */
  .work--4 { grid-column: 1 / 7; margin-top: clamp(40px, 8vh, 90px); }
  .work--5 { grid-column: 7 / 13; margin-top: clamp(70px, 12vh, 150px); }
  .work--6 { grid-column: 2 / 12; margin-top: clamp(40px, 8vh, 90px); }
}

@media (max-width: 860px) {
  .head__nav { display: none; }
  .head__cta { display: none; }
  .head__menu { display: flex; }

  .head__logo-img { height: 81px; }

  /* panel is full-width up top on mobile — keep it rich; only a light
     wash backs the lower copy (the title/sub carry their own shadow) */
  .hero__stage::after {
    background: linear-gradient(0deg,
      rgba(14, 13, 11, 0.74) 0%,
      rgba(14, 13, 11, 0.5) 16%,
      rgba(14, 13, 11, 0.18) 32%,
      rgba(14, 13, 11, 0) 48%);
  }

  .hero__title { font-size: clamp(26px, 8.6vw, 90px); }
  .hline--2 { margin-left: 0; }
  /* resin rise on mobile: tide-line is live, and after the intro the gold word
     breathes while a faint sheen drifts across the title every so often */
  .hero__tide { display: block; }
  /* perpetual gold-breathe + drifting sheen removed for restraint (owner, 2026-07) */
  .hero__sub {
    max-width: 320px;
    text-shadow: 0 1px 16px rgba(14, 13, 11, 0.9), 0 1px 3px rgba(14, 13, 11, 0.8);
  }
  .hero__mats { display: none; }

  .collection__grid { display: flex; flex-direction: column; gap: 72px; }
  .work--2, .work--3, .work--4, .work--5, .work--6 { margin-top: 0; }
  .work--2 { align-self: flex-end; width: 88%; }
  .work--3 .work__media { aspect-ratio: 16 / 9; }   /* full-width band, less letterboxed on phones */
  .work--4 { width: 88%; }
  .work--5 { align-self: flex-end; width: 82%; }

  .mats { flex-direction: column; height: auto; gap: 3px; }
  .mat { flex: none; height: 84px; transition: height 0.9s var(--ease); }
  .mat.is-active { flex: none; height: 64vh; }
  .mat__desc { bottom: auto; top: 76px; left: 22px; right: 22px; max-width: none; }
  .mat.is-active .mat__head { bottom: 22px; }

  /* Mobile reorder: lead paragraph first, then the title + seas, then the rest.
     display:contents lifts the body's paragraphs into the flex column so they
     can be ordered independently of the intro block. Desktop grid is untouched. */
  .atelier__cols { display: flex; flex-direction: column; gap: 28px; }
  .atelier__body { display: contents; }
  .atelier__body p + p { margin-top: 0; }            /* spacing now via flex gap */
  .atelier__lead { order: 1; }
  .atelier__intro { order: 2; align-self: stretch; }
  .atelier__body p:not(.atelier__lead) { order: 3; }

  .commission__cols { grid-template-columns: 1fr; gap: 44px; }

  .foot__top { grid-template-columns: 1fr 1fr; gap: 22px; }

  /* tighten the vertical rhythm on mobile — same layout, less scrolling
     (the vh-based paddings balloon on a tall phone) */
  .atelier  { padding-top: 28px; padding-bottom: 52px; }
  .collection { padding-top: 48px; padding-bottom: 52px; }
  .materials { padding-top: 56px; padding-bottom: 56px; }
  .quote     { padding-top: 66px; padding-bottom: 66px; }
  .faq       { padding-top: 60px; }
  .commission { padding-top: 52px; padding-bottom: 60px; }
  .manifesto { padding-top: 70px; padding-bottom: 56px; }
  .foot      { padding-top: 48px; }

  .collection__grid { gap: 38px; }
  .collection__title { margin-bottom: 30px; }
  .materials__title { margin-bottom: 40px; }
  .atelier__title { margin-bottom: 18px; }
  .seas { aspect-ratio: 16 / 9; margin: 0; }   /* show the full sea, no side crop */
  .seas__caption::before { display: none; }    /* drop the caption scrim on mobile */
  /* Mediterranean caption to the top-left; Red Sea to the bottom-right */
  .seas__caption { top: clamp(14px, 2.5vh, 26px); right: clamp(16px, 2.5vw, 30px); height: auto; }
  .seas__cap:first-child { top: 0; bottom: auto; }
  .seas__cap:last-child { left: auto; right: 0; text-align: right; }
  .faq__title { margin-bottom: 30px; }
  .quote__text { margin-bottom: 24px; }

  .form__field, .form__chips { margin-bottom: 26px; }
  /* mobile: comfortable tap target + a near-imperceptible wash so the empty
     field reads as a tap zone (desktop keeps the pure underline) */
  .form__field input, .form__field textarea {
    min-height: 48px;
    background: linear-gradient(0deg, rgba(232, 226, 214, 0.05), transparent 62%);
  }
  .form__field input:focus, .form__field textarea:focus { background: rgba(232, 226, 214, 0.06); }
  .intro__steps { margin: 18px 0 34px; }
  .commission__intro p { margin-bottom: 26px; }
}

@media (max-width: 480px) {
  :root { --pad: 20px; }
  /* footer is two columns on phones — shrink text so the email fits its column */
  .foot__col a, .foot__line { font-size: 13px; }
  .hero__meta { flex-direction: row; }
  .work--2, .work--4, .work--5 { width: 100%; align-self: auto; }
  .manifesto__aside { margin-left: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__scroll i::after { animation: none; }
  .marquee__track { animation-duration: 160s; }
  .hero__tide, .hero.is-alive .hero__title::after { display: none !important; }
  .hero.is-alive .hero__title em { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01s !important; }
}

/* ============ WORKS-ERA ADDITIONS (catalog rollout, July 2026) ============ */
/* hero CTA row */
.hero__ctas { display: flex; gap: 14px; margin-top: clamp(22px, 3.4vh, 34px); flex-wrap: wrap; position: relative; z-index: 2; }
.hero__cta {
  font-family: var(--sans);
  font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  padding: 0 26px; min-height: 46px; display: inline-flex; align-items: center;
  border: 1px solid rgba(232, 226, 214, 0.4); color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.hero__cta:hover { background: var(--accent); border-color: var(--accent); color: #0e0d0b; }
.hero__cta--solid { background: var(--accent); border-color: var(--accent); color: #0e0d0b; }
.hero__cta--solid:hover { background: transparent; border-color: rgba(232, 226, 214, 0.4); color: var(--ink); }

/* collection → full record link + pricing signpost */
.collection__more { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(30px, 5vh, 52px); }
.collection__more a {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(19px, 2.4vw, 26px); line-height: 1.3;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--accent); align-self: flex-start; padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.collection__more a:hover { color: var(--accent); }

/* commission column trade link */
.commission__trade { display: block; margin-top: 10px; text-decoration: none; transition: color 0.3s; }
.commission__trade:hover { color: var(--accent); }
.work__view { margin-right: clamp(16px, 2.4vw, 28px); }

/* hero film (video loop replaces the 3D scene) */
.hero__stage--film { opacity: 1; transition: none; background: #0e0d0b; }
.hero__film { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) {
  .hero__film { display: none; }
  .hero__stage--film { background: url("../img/hero-poster.webp") center / cover no-repeat; }
}

/* proof bar */
.proof {
  display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 4vw, 56px);
  justify-content: space-between; align-items: center;
  padding: clamp(18px, 3vh, 30px) var(--pad);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof .label { color: var(--ink-2); }
@media (max-width: 760px) {
  /* hidden on mobile — straight from hero into the collection */
  .proof { display: none; }
}

/* collection tiles */
.cats { padding: clamp(60px, 10vh, 140px) var(--pad); }
.cats .sec-head { margin-bottom: clamp(28px, 5vh, 56px); }
@media (max-width: 760px) {
  /* first section after the hero (proof bar is hidden on mobile): flow straight
     in — drop the orphaned section rule + tighten the top */
  .cats { padding: 26px var(--pad) 40px; }
  .cats .sec-head { border-top: 0; padding-top: 0; margin-bottom: 22px; }
}
.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.cat {
  position: relative; display: block; overflow: hidden; border-radius: 2px;
  aspect-ratio: 3 / 4; text-decoration: none; background: rgba(232, 226, 214, 0.04);
}
.cat img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.cat:hover img { transform: scale(1.04); }
.cat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(14, 13, 11, 0.82) 0%, rgba(14, 13, 11, 0.28) 38%, rgba(14, 13, 11, 0) 62%);
}
.cat__body {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 5px;
}
.cat__name { font-family: var(--serif); font-weight: 350; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.2; color: #e8e2d6; }
.cat__from { color: rgba(232, 226, 214, 0.72); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .cats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .cats__grid {
    display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px;
    scrollbar-width: none;
  }
  .cats__grid::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 66vw; scroll-snap-align: start; }
}

/* hospitality band */
.hband { position: relative; overflow: clip; padding: clamp(90px, 16vh, 200px) var(--pad); }
.hband__bg { position: absolute; inset: 0; z-index: 0; }
.hband__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hband::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14, 13, 11, 0.88) 0%, rgba(14, 13, 11, 0.62) 44%, rgba(14, 13, 11, 0.3) 100%);
}
.hband__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 640px; }
.hband__title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; color: #e8e2d6; }
/* stronger scrim over the film — footage runs brighter than the old 3D scene */
.hero__stage--film::after {
  background:
    linear-gradient(180deg, rgba(14, 13, 11, 0.62) 0%, rgba(14, 13, 11, 0) 32%),
    linear-gradient(105deg, rgba(14, 13, 11, 0.95) 0%, rgba(14, 13, 11, 0.82) 34%, rgba(14, 13, 11, 0.55) 62%, rgba(14, 13, 11, 0.32) 100%),
    linear-gradient(0deg, rgba(14, 13, 11, 0.6) 0%, rgba(14, 13, 11, 0) 42%);
}
@media (max-width: 760px) {
  /* darker through the headline + sub band (≈25–65%) so the gold italic line
     stays legible over the bright pool, then eases for the CTAs */
  .hero__stage--film::after {
    background:
      linear-gradient(180deg,
        rgba(14, 13, 11, 0.72) 0%,
        rgba(14, 13, 11, 0.66) 30%,
        rgba(14, 13, 11, 0.6) 55%,
        rgba(14, 13, 11, 0.5) 72%,
        rgba(14, 13, 11, 0.78) 100%);
  }
}
/* hero decompression — desktop only (fixed header needs clear air above the title) */
@media (min-width: 761px) {
  .hero { padding-top: 140px; padding-bottom: 90px; }
  .hero__title { font-size: clamp(48px, 7.6vw, 116px); }
  .hero__sub { max-width: 440px; }
  .hero__ctas { margin-top: clamp(26px, 4vh, 42px); }
}

/* mobile hero film: frame the table nicely behind the left-aligned copy */
@media (max-width: 760px) {
  .hero__film { object-position: 50% 38%; }
}
