/* ============================================================
   THE FORESIGHT LAB — Design System
   Black + warm gold. Auto light/dark + manual toggle.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Type */
  --font-display: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Bodoni Moda", Georgia, "Times New Roman", serif;

  /* Gold — matched to brand logo (#c6a15c) */
  --gold-1: #9a7a38;
  --gold-2: #c6a15c;
  --gold-3: #edd598;
  --gold-4: #a9863f;
  --gold-metal: linear-gradient(135deg, #9a7a38 0%, #c6a15c 24%, #edd598 50%, #c6a15c 76%, #a9863f 100%);
  --gold-soft: linear-gradient(135deg, #d3b06a 0%, #efd89b 50%, #c6a15c 100%);

  /* Motion */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-nav: 620ms; /* island morph — slower, easy on the eye */
  --dur-slow: 640ms;

  /* Layout */
  --maxw: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
}

/* ---------- Dark (default) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #151517;
  --surface-2: #1c1c1f;
  --border: rgba(201, 162, 75, 0.16);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f3ec;
  --text-2: #b6b1a6;
  --text-3: #86817a;
  --gold: #e2c47f;
  --gold-ink: #ecd193;
  --glass: rgba(18, 18, 20, 0.62);
  --glass-strong: rgba(14, 14, 16, 0.82);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 20px 60px -18px rgba(201, 162, 75, 0.32);
  --grid-line: rgba(201, 162, 75, 0.06);
  --hero-glow: radial-gradient(60% 55% at 70% 20%, rgba(201, 162, 75, 0.20), transparent 70%);
  --room-1: #26221b;
  --room-2: #141210;
}

/* ---------- Light ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3ec;
  --bg-2: #efeae0;
  --surface: #ffffff;
  --surface-2: #faf7f0;
  --border: rgba(138, 106, 31, 0.22);
  --border-soft: rgba(20, 17, 13, 0.10);
  --text: #17130c;
  --text-2: #5c5548;
  --text-3: #8a8375;
  --gold: #8a6a2c;
  --gold-ink: #785a20;
  --glass: rgba(255, 253, 248, 0.72);
  --glass-strong: rgba(255, 253, 248, 0.9);
  --shadow: 0 24px 50px -22px rgba(70, 55, 20, 0.28), 0 6px 18px -10px rgba(70, 55, 20, 0.18);
  --shadow-gold: 0 22px 55px -20px rgba(138, 106, 31, 0.30);
  --grid-line: rgba(138, 106, 31, 0.08);
  --hero-glow: radial-gradient(60% 55% at 72% 18%, rgba(201, 162, 75, 0.28), transparent 68%);
  --room-1: #e8dfcb;
  --room-2: #d8cbb0;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

/* Grain + grid backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 92%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  opacity: 0.05; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; position: relative; z-index: 2; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-metal); display: inline-block; }
.gold-text {
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: 0; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }

/* ============================================================
   DYNAMIC ISLAND NAV
   ============================================================ */
.island-shell {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
  max-width: 1200px; margin-inline: auto;
  padding-inline: 24px;
}
.island {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow);
  transition: padding var(--dur-nav) var(--ease-out), border-radius var(--dur-nav) var(--ease-out),
              gap var(--dur-nav) var(--ease-out),
              background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              transform var(--dur-nav) var(--ease-out), width var(--dur-nav) var(--ease-out),
              max-width var(--dur-nav) var(--ease-out);
  max-width: 980px; width: auto;
}
.island.scrolled {
  background: var(--glass-strong);
  padding: 6px 6px 6px 16px;
  box-shadow: var(--shadow), var(--shadow-gold);
}

/* Collapsible group (links + actions) */
.island-rest {
  display: flex; align-items: center; gap: 6px;
  max-width: 820px; max-height: 64px; opacity: 1;
  overflow: hidden;
  padding-block: 12px; margin-block: -12px;
  transition: max-width var(--dur-nav) var(--ease-out), max-height var(--dur-nav) var(--ease-out), opacity 0.42s var(--ease-out);
}

/* --- Shrink-to-logo behaviour (desktop pointer, toggled by JS) --- */
/* SHRINK MODE: collapse to just the logo and slide to the top-right corner */
.island.collapse-mode {
  gap: 0; padding: 6px;
  border-radius: 999px; /* half-height: circle when square (shrunk), pill with semicircle ends when wide (full) */
  transform: translateX(var(--collapse-tx, 0));
}
.island.collapse-mode .brand { gap: 0; padding-right: 0; }
.island.collapse-mode .brand-name { max-width: 0; opacity: 0; }
.island.collapse-mode .island-rest { max-width: 0; opacity: 0; padding-inline: 0; pointer-events: none; }
/* Collapse the hidden nav group's height too, so the frame is a true circle */
.island.collapse-mode:not(.expanded) .island-rest { max-height: 0; padding-block: 0; margin-block: 0; }
/* Shrunk = just the logo: scale it up 1.25x for presence (animates on expand/collapse) */
.island.collapse-mode:not(.expanded) { transform: translateX(var(--collapse-tx, 0)) scale(1.25); }

/* FULL MODE: restore the centered pill (JS adds .expanded) */
.island.collapse-mode.expanded {
  gap: 6px; padding: 8px 8px 8px 18px;
  transform: translateX(0) scale(1);
}
.island.collapse-mode.scrolled.expanded { padding: 6px 6px 6px 16px; }
.island.collapse-mode.expanded .brand { gap: 11px; padding-right: 8px; }
.island.collapse-mode.expanded .brand-name { max-width: 150px; opacity: 1; }
.island.collapse-mode.expanded .island-rest { max-width: 820px; opacity: 1; pointer-events: auto; }

.brand { display: flex; align-items: center; gap: 11px; padding-right: 8px; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center; position: relative;
}
.brand-mark .logo-svg { width: 38px; height: 38px; display: block; filter: drop-shadow(0 2px 7px rgba(198, 161, 92, 0.4)); transition: transform 0.7s var(--ease-out); }
/* Rotate the aperture on hover AND whenever the island opens to Full mode */
.brand:hover .brand-mark .logo-svg,
.island.collapse-mode.expanded .brand-mark .logo-svg { transform: rotate(160deg); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: 0.01em; white-space: nowrap; max-width: 150px; overflow: hidden; transition: max-width var(--dur-nav) var(--ease-out), opacity 0.42s var(--ease-out); }
.brand-name small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-3); margin-top: -2px; }

/* Nav links with sliding indicator */
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 4px; }
.nav-links a {
  position: relative; z-index: 2;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-indicator {
  position: absolute; top: 0; left: 0; height: 100%;
  border-radius: 999px; z-index: 1;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px solid var(--border);
  opacity: 0; transform: translateX(0);
  transition: transform var(--dur) var(--ease-spring), width var(--dur) var(--ease-spring), opacity var(--dur-fast) var(--ease-out);
}

.island-actions { display: flex; align-items: center; gap: 6px; }
.mobile-panel { display: none; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; flex: none;
  display: grid; place-items: center; color: var(--text-2);
  border: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  transition: color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast) var(--ease-spring), border-color var(--dur-fast);
}
.icon-btn:hover { color: var(--text); border-color: var(--border); transform: translateY(-1px); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { width: 19px; height: 19px; }
/* Theme icon crossfade */
.theme-toggle .sun, .theme-toggle .moon { grid-area: 1 / 1; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring); }
.theme-toggle { display: grid; }
:root[data-theme="dark"] .theme-toggle .sun { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-toggle .moon { opacity: 0; transform: rotate(-90deg) scale(0.4); }
:root[data-theme="light"] .theme-toggle .sun { opacity: 0; transform: rotate(90deg) scale(0.4); }
:root[data-theme="light"] .theme-toggle .moon { opacity: 1; transform: rotate(0) scale(1); }

.cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  padding: 11px 18px; border-radius: 999px;
  color: #0a0a0b; background: var(--gold-metal);
  box-shadow: 0 6px 18px -6px rgba(201, 162, 75, 0.5);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-out), filter var(--dur-fast);
}
.cta-pill:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 26px -8px rgba(201, 162, 75, 0.6); }
.cta-pill:active { transform: scale(0.96); }

.menu-btn { display: none; }

/* Mobile island expansion */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .island-actions .cta-pill { display: none; }
  .menu-btn { display: grid; }
  .island {
    width: 100%; max-width: 460px;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 26px;
    padding: 10px 10px 10px 16px;
  }
  .island.open {
    border-radius: 26px;
    background: var(--glass-strong);
  }
  /* Mobile shrink: centered circle with just the logo; tap to re-open */
  .island.collapse-mode:not(.expanded) {
    max-width: 52px; /* width:100% + animatable max-width => shrinks to a 52px circle */
    justify-content: center;
    border-radius: 999px; padding: 6px;
  }
  .island.collapse-mode:not(.expanded) .mobile-panel { display: none; }
  .island.collapse-mode.expanded,
  .island.collapse-mode.scrolled.expanded {
    max-width: 460px; width: 100%;
    border-radius: 26px;
    padding: 10px 10px 10px 16px;
    transform: none;
  }
  .island.collapse-mode.expanded .brand { gap: 11px; padding-right: 0; }
  .mobile-panel {
    flex-basis: 100%;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--dur) var(--ease-spring);
  }
  .island.open .mobile-panel { grid-template-rows: 1fr; }
  .mobile-panel-inner { overflow: hidden; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 4px 6px;
    border-top: 1px solid var(--border-soft);
    margin-top: 8px;
  }
  .mobile-nav a {
    font-family: var(--font-display); font-size: 20px; font-weight: 500;
    color: var(--text-2); padding: 11px 12px; border-radius: 14px;
    display: flex; align-items: center; justify-content: space-between;
    opacity: 0; transform: translateY(8px);
  }
  .mobile-nav a span { font-family: var(--font-sans); font-size: 12px; color: var(--text-3); }
  .island.open .mobile-nav a { animation: slideIn var(--dur) var(--ease-out) forwards; }
  .island.open .mobile-nav a:nth-child(1) { animation-delay: 40ms; }
  .island.open .mobile-nav a:nth-child(2) { animation-delay: 80ms; }
  .island.open .mobile-nav a:nth-child(3) { animation-delay: 120ms; }
  .island.open .mobile-nav a:nth-child(4) { animation-delay: 160ms; }
  .island.open .mobile-nav a:nth-child(5) { animation-delay: 200ms; }
  .island.open .mobile-nav a:nth-child(6) { animation-delay: 240ms; }
  .mobile-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--gold) 10%, transparent); }
  .mobile-cta { margin: 8px 4px 4px; }
  .mobile-cta .cta-pill { display: flex; width: 100%; justify-content: center; padding: 15px; font-size: 15px; }
}
@keyframes slideIn { to { opacity: 1; transform: translateY(0); } }

.menu-icon { width: 20px; height: 14px; position: relative; }
.menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur) var(--ease-spring), opacity var(--dur-fast); }
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 6px; }
.menu-icon span:nth-child(3) { top: 12px; }
.island.open .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.island.open .menu-icon span:nth-child(2) { opacity: 0; }
.island.open .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100dvh; display: flex; flex-direction: column;
  padding: 92px 0 18px; overflow: hidden;
  /* Scope: force light foreground over the dark imagery in BOTH themes */
  --bg: #0d0b09;
  --text: #f7f4ee;
  --text-2: rgba(247,244,238,0.82);
  --text-3: rgba(247,244,238,0.5);
  --gold: #e6c67f; --gold-ink: #ecd193;
  --border-soft: rgba(255,255,255,0.14);
  --border: rgba(230,200,130,0.34);
  --surface: rgba(255,255,255,0.06);
  color: var(--text);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(160deg, #1f1912, #0b0907); /* solid dark base — hero stays dark in both themes even before slides paint */ }
/* Gallery-wall mosaic: a grid of tiles, each a dimmed crop that slowly drifts */
.hero-mosaic { position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), 1fr);
  grid-auto-rows: auto;
  align-content: start;   /* stack rows from the top; overflow is clipped by .hero-bg */
  gap: 2px;
}
/* each tile keeps the source renders' native 16:9 ratio */
.hm-tile { position: relative; overflow: hidden; background: #0b0907; aspect-ratio: 16 / 9; }
.hm-tile .hm-img { position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.58) saturate(0.88);
  transform: scale(1.06);
  animation: hmDrift 22s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
  will-change: transform;
}
@keyframes hmDrift {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.16) translate(-2%, -1.6%); }
}

/* Featured spotlight: blooms out of one grid cell to full-bleed, holds with a slow
   zoom-in, then recedes back into its tile — driven step-by-step by app.js */
.hero-feature { position: absolute; inset: 0; z-index: 1; opacity: 0;
  background-size: cover; background-position: center;
  clip-path: inset(50% 50% 50% 50%);
  transform: scale(1.02);
  will-change: opacity, clip-path, transform;
}
.hero-scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,7,5,0.94) 0%, rgba(8,7,5,0.69) 40%, rgba(8,7,5,0.16) 72%, transparent 100%),
    linear-gradient(180deg, transparent 50%, rgba(8,7,5,0.69) 100%),
    rgba(8,7,5,0.14);
}
.hero-grain { position: absolute; inset: 0; z-index: 1; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .hm-tile::before { animation: none; transform: scale(1.06); }
  .hero-feature { animation: none !important; transition: none !important;
    opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}
.hero-inner { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; position: relative; z-index: 2; }
.hero-copy { max-width: 660px; }
.hero-inner .hero-actions { justify-content: flex-start; }
.hero-copy .hero-stats { margin-top: 44px; }

.hero-copy { position: relative; z-index: 3; }
.hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.9rem, 3.5vw, 3.15rem); line-height: 1.12; letter-spacing: 0.04em;
  text-transform: uppercase; margin: 18px 0 0;
}
.hero h1 em { font-style: normal; font-weight: 300; }
.hero h1 .gold-text { font-weight: 400; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--text-2);
  max-width: 30ch; margin: 20px 0 0; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; padding: 16px 26px; border-radius: 14px;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast), filter var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.btn-primary { background: var(--gold-metal); color: #0a0a0b; box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold-ink); }
.btn svg { width: 18px; height: 18px; }

.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px;
  border: 2px solid var(--bg); background: var(--gold-metal);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #0a0a0b;
}
.avatars span:first-child { margin-left: 0; }
.hero-meta-text { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.hero-meta-text b { color: var(--text); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* Hero visual — CSS-crafted "render" frame */
.hero-visual { position: relative; z-index: 2; perspective: 1400px; width: 100%; max-width: 420px; justify-self: end; }
.render-frame {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 14px; box-shadow: var(--shadow), var(--shadow-gold);
  transform: rotateY(-9deg) rotateX(4deg);
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}
.render-scene {
  position: relative; aspect-ratio: 4 / 4.35; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(80% 60% at 70% 25%, rgba(201, 162, 75, 0.22), transparent 60%),
    linear-gradient(180deg, var(--room-1), var(--room-2));
}
/* Abstract interior: floor, wall light, furniture bars */
.render-scene .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35)); transform: perspective(300px) rotateX(48deg); transform-origin: bottom; }
.render-scene .window {
  position: absolute; right: 12%; top: 12%; width: 34%; height: 52%; border-radius: 6px;
  background: linear-gradient(160deg, rgba(240, 214, 143, 0.55), rgba(201, 162, 75, 0.12));
  box-shadow: 0 0 60px 8px rgba(201, 162, 75, 0.25); border: 1px solid rgba(240, 214, 143, 0.4);
}
.render-scene .sofa { position: absolute; left: 12%; bottom: 20%; width: 42%; height: 15%; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.12); }
.render-scene .lamp { position: absolute; left: 60%; bottom: 20%; width: 3px; height: 30%; background: var(--gold-metal); }
.render-scene .lamp::after { content: ""; position: absolute; top: -14px; left: -12px; width: 28px; height: 16px; border-radius: 50%; background: radial-gradient(circle, rgba(240,214,143,0.9), transparent 70%); }
.render-scene .rug { position: absolute; left: 14%; bottom: 8%; width: 46%; height: 6%; border-radius: 50%; background: rgba(201, 162, 75, 0.18); filter: blur(1px); }
.render-scene .scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(240,214,143,0.10), transparent); background-size: 100% 40%; background-repeat: no-repeat; animation: scan 5s var(--ease-out) infinite; }
@keyframes scan { 0% { background-position: 0 -40%; } 100% { background-position: 0 140%; } }

.render-badge {
  position: absolute; left: 26px; bottom: 26px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: var(--glass-strong); backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft); border-radius: 999px; padding: 8px 14px;
  font-size: 12px; font-weight: 600; color: var(--text);
}
.render-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.float-card {
  position: absolute; z-index: 4;
  background: var(--glass-strong); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite;
}
.float-card.tl { top: 6%; left: -34px; }
.float-card.br { bottom: 12%; right: -30px; animation-delay: -3s; }
.float-card .fc-num { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1; }
.float-card .fc-label { font-size: 11px; color: var(--text-3); letter-spacing: 0.05em; margin-top: 4px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   HERO STATS + CLIENT CAROUSEL (in-hero, above the fold)
   ============================================================ */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft);
  position: relative; z-index: 2;
}
.hstat { padding: 2px 4px 2px 20px; border-left: 1px solid var(--border-soft); }
.hstat:first-child { border-left: none; padding-left: 0; }
.hstat .hnum { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1; display: block; letter-spacing: 0.01em; }
.hstat .hnum .plus, .hstat .hnum .pct { color: var(--gold); }
.hstat .hlbl { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-2); letter-spacing: 0.02em; }

.marquee {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 16px 24px 0;
  border-top: 1px solid var(--border-soft); margin-top: 16px; overflow: hidden; position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; align-items: center; animation: marq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* spacing lives on each item (incl. the last) so translateX(-50%) wraps seamlessly */
.client { display: inline-flex; align-items: center; padding-right: 64px; white-space: nowrap; }
.client img { height: 30px; width: auto; opacity: 0.5; transition: opacity var(--dur); }
.client:hover img { opacity: 0.95; }
/* legacy placeholder styles (kept harmless for any page still using text logos) */
.client svg { width: 26px; height: 26px; flex: none; }
.client b { font-weight: 600; font-size: 1.02rem; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; z-index: 2; }
.section-pad { padding: 132px 0; }
.section-head { max-width: 640px; margin-bottom: 72px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.16; letter-spacing: 0.045em; text-transform: uppercase; margin: 20px 0 0;
}
.section-head p { color: var(--text-2); margin-top: 20px; font-size: 1.06rem; line-height: 1.7; }

/* Premium reveal — soft blur-in with easing */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-d="1"] { transition-delay: 0.09s; }
.reveal[data-d="2"] { transition-delay: 0.18s; }
.reveal[data-d="3"] { transition-delay: 0.27s; }
.reveal[data-d="4"] { transition-delay: 0.36s; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 34px 18px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: linear-gradient(180deg, var(--surface), transparent); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: var(--gold-metal); opacity: 0.6; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; line-height: 1; }
.stat .num .plus { color: var(--gold); }
.stat .lbl { color: var(--text-2); font-size: 14px; margin-top: 12px; letter-spacing: 0.02em; }

/* ============================================================
   SERVICES (bento)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; grid-auto-rows: minmax(232px, auto); }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-soft); background: color-mix(in srgb, var(--surface) 55%, transparent);
  padding: 38px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background 0.5s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: var(--border); background: var(--surface); }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-metal); opacity: 0; transition: opacity 0.5s var(--ease-out); pointer-events: none; }
.card:hover::after { opacity: 0.7; }
.card.wide { grid-column: 1 / -1; }        /* 2x1 — Branding */
.card.tall { grid-column: 1; grid-row: span 2; }  /* 1x2 — Renderings */
.card .svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--gold-ink); background: color-mix(in srgb, var(--gold) 8%, transparent); margin-bottom: auto; }
.card .svc-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin: 22px 0 10px; letter-spacing: 0.01em; }
.card p { color: var(--text-2); font-size: 14.5px; }
.card .learn { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 7px; transition: gap var(--dur-fast); }
.card:hover .learn { gap: 12px; }
.card.tall .render-mini { margin-top: 22px; border-radius: 14px; aspect-ratio: 16/11; background: radial-gradient(70% 60% at 70% 20%, rgba(201,162,75,0.25), transparent 60%), linear-gradient(180deg, var(--room-1), var(--room-2)); border: 1px solid var(--border-soft); position: relative; overflow: hidden; }
/* real render in the slot — hide the abstract CSS art behind it */
.card.tall .render-mini.has-img::before, .card.tall .render-mini.has-img::after { display: none; }
.card.tall .render-mini.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.tall .render-mini::before { content: ""; position: absolute; right: 16%; top: 16%; width: 30%; height: 46%; border-radius: 4px; background: linear-gradient(160deg, rgba(240,214,143,0.5), transparent); box-shadow: 0 0 40px rgba(201,162,75,0.3); }
.card.tall .render-mini::after { content: ""; position: absolute; left: 14%; bottom: 18%; width: 40%; height: 14%; border-radius: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
/* Auto-shuffling project carousel */
.pf-viewport { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 16 / 8.6; }
.pf-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease-out), visibility 1.1s; }
.pf-slide.active { opacity: 1; visibility: visible; }
.pf-slide .scene { position: absolute; inset: 0; transform: scale(1.06); transition: transform 7s var(--ease-out); }
.pf-slide.active .scene { transform: scale(1); }
.pf-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 46px); background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,0.64)); }
:root[data-theme="light"] .pf-overlay { background: linear-gradient(180deg, transparent 38%, rgba(28,20,6,0.5)); }
.pf-overlay .tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.pf-overlay h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: #fff; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.3rem); margin-top: 8px; }
.pf-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.pf-dots { display: flex; gap: 10px; }
.pf-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: width var(--dur) var(--ease-spring), background var(--dur); }
.pf-dot.active { width: 30px; border-radius: 999px; background: var(--gold-metal); }
.scene { position: absolute; inset: 0; }
.scene.a { background: radial-gradient(60% 60% at 30% 20%, rgba(201,162,75,0.3), transparent 60%), linear-gradient(160deg, #2a2620, #14110d); }
.scene.b { background: radial-gradient(60% 60% at 70% 30%, rgba(240,214,143,0.28), transparent 60%), linear-gradient(160deg, #241f19, #100e0b); }
.scene.c { background: radial-gradient(70% 50% at 50% 80%, rgba(201,162,75,0.26), transparent 60%), linear-gradient(200deg, #2b271f, #15120e); }
.scene.d { background: radial-gradient(60% 60% at 40% 40%, rgba(240,214,143,0.22), transparent 60%), linear-gradient(160deg, #201c16, #0e0c09); }
.scene.e { background: radial-gradient(70% 60% at 60% 20%, rgba(201,162,75,0.3), transparent 60%), linear-gradient(160deg, #2a251d, #13100c); }
:root[data-theme="light"] .scene.a { background: radial-gradient(60% 60% at 30% 20%, rgba(201,162,75,0.4), transparent 60%), linear-gradient(160deg, #e9e0cd, #cdbfa2); }
:root[data-theme="light"] .scene.b { background: radial-gradient(60% 60% at 70% 30%, rgba(201,162,75,0.4), transparent 60%), linear-gradient(160deg, #ece3d0, #d6c8ac); }
:root[data-theme="light"] .scene.c { background: radial-gradient(70% 50% at 50% 80%, rgba(201,162,75,0.4), transparent 60%), linear-gradient(200deg, #e8dfcb, #d2c3a6); }
:root[data-theme="light"] .scene.d { background: radial-gradient(60% 60% at 40% 40%, rgba(201,162,75,0.35), transparent 60%), linear-gradient(160deg, #eae1ce, #d4c6a9); }
:root[data-theme="light"] .scene.e { background: radial-gradient(70% 60% at 60% 20%, rgba(201,162,75,0.42), transparent 60%), linear-gradient(160deg, #ece3cf, #d8caac); }
.pf-cta { margin-left: auto; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .no { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; color: var(--gold-ink); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.step h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14px; padding-inline: 8px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Client testimonial carousel — continuous side-by-side loop */
.tcar { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tcar-track { display: flex; width: max-content; animation: marq 80s linear infinite; }
.tcar:hover .tcar-track { animation-play-state: paused; }
.tclient { flex: 0 0 auto; width: 360px; margin-right: 22px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--surface); padding: 32px; display: flex; flex-direction: column; }
.tclient .mark { font-family: var(--font-serif); font-size: 3.4rem; line-height: 0.5; color: var(--gold); height: 26px; }
.tclient .q { font-family: var(--font-serif); font-style: italic; color: var(--text-2); font-size: 1.14rem; line-height: 1.5; margin: 12px 0 24px; flex: 1; }
.tclient .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tclient .a { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--gold-metal); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #0a0a0b; }
.tclient .who b { display: block; font-size: 14.5px; color: var(--text); }
.tclient .who a { font-size: 12.5px; color: var(--text-3); display: inline-flex; align-items: center; gap: 5px; transition: color var(--dur-fast); }
.tclient .who a:hover { color: var(--gold-ink); }
.tclient .who a svg { width: 12px; height: 12px; flex: none; }

/* ============================================================
   OFFER BANNER
   ============================================================ */
/* Shop preview — digital products */
.shop-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.shop-card { position: relative; grid-column: span 2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); background: color-mix(in srgb, var(--surface) 55%, transparent); display: flex; flex-direction: column; transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background 0.5s var(--ease-out); }
.shop-card:hover { transform: translateY(-4px); border-color: var(--border); background: var(--surface); }
.shop-card.feature { grid-column: span 3; }
.shop-preview { aspect-ratio: 5 / 3; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(60% 80% at 72% 20%, rgba(230,200,130,0.22), transparent 60%), linear-gradient(160deg, var(--room-1), var(--room-2)); }
/* faux "document" sheets in the preview */
.shop-preview::before { content: ""; position: absolute; left: 22%; top: 20%; width: 42%; height: 66%; border-radius: 5px; background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.14); box-shadow: -14px 12px 0 -4px rgba(255,255,255,0.06); }
.shop-preview::after { content: ""; position: absolute; left: 30%; top: 30%; width: 30%; height: 3px; border-radius: 2px; background: var(--gold-3); box-shadow: 0 10px 0 rgba(240,214,143,0.5), 0 20px 0 rgba(240,214,143,0.35), 0 30px 0 rgba(240,214,143,0.25); opacity: 0.8; }
.shop-badge { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--border); color: var(--gold-ink); }
.shop-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.shop-body .cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.shop-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 10px 0 8px; letter-spacing: 0.01em; }
.shop-card p { color: var(--text-2); font-size: 14px; flex: 1; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.shop-price { font-family: var(--font-serif); font-size: 1.15rem; color: var(--text); }
.shop-price span { font-size: 0.72em; color: var(--text-3); }
.shop-link { font-size: 13px; font-weight: 600; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--dur-fast); }
.shop-card:hover .shop-link { gap: 11px; }
.shop-card.soon { opacity: 0.92; }
.shop-cta { display: flex; justify-content: flex-end; margin-top: 44px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.16; letter-spacing: 0.045em; text-transform: uppercase; margin: 16px 0 0; }
.contact-info p { color: var(--text-2); margin-top: 18px; max-width: 34ch; }
.contact-list { margin-top: 34px; display: flex; flex-direction: column; gap: 8px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--border-soft); transition: border-color var(--dur), background var(--dur); }
.contact-row:hover { border-color: var(--border); background: var(--surface); }
.contact-row .ci { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--gold-ink); background: color-mix(in srgb, var(--gold) 10%, transparent); border: 1px solid var(--border); }
.contact-row .ci svg { width: 20px; height: 20px; }
.contact-row .cl { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.contact-row .cv { display: block; font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.4; }

.form { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; letter-spacing: 0.02em; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 14px 16px; min-height: 52px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.field .hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 16px; }
.form-status { display: none; text-align: center; padding: 12px; border-radius: 12px; margin-top: 14px; font-size: 14px; font-weight: 500; background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold-ink); border: 1px solid var(--border); }
.form-status.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--border-soft); margin-top: 100px; padding: 70px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 0.9fr 0.9fr 1.7fr; gap: 44px; }
.foot-latest h5 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.foot-latest h5 + h5, .foot-latest .fl-item + h5 { margin-top: 26px; }
.fl-item { display: flex; align-items: center; gap: 13px; padding: 7px 0; }
.fl-thumb { width: 68px; height: 50px; flex: none; border-radius: 9px; overflow: hidden; border: 1px solid var(--border-soft); position: relative; }
.fl-thumb .scene { position: absolute; inset: 0; transition: transform var(--dur-slow) var(--ease-out); }
.fl-item:hover .fl-thumb .scene { transform: scale(1.08); }
.fl-meta b { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; line-height: 1.32; transition: color var(--dur-fast); }
.fl-item:hover .fl-meta b { color: var(--gold-ink); }
.fl-meta span { font-size: 12px; color: var(--text-3); }
.foot-brand .brand { padding: 0; margin-bottom: 18px; }
.foot-brand p { color: var(--text-2); font-size: 14px; max-width: 32ch; }
.foot-email { display: inline-block; color: var(--gold-ink); font-size: 14px; margin-top: 14px; transition: color var(--dur-fast); }
.foot-email:hover { color: var(--gold); }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border-soft); display: grid; place-items: center; color: var(--text-2); transition: all var(--dur-fast); }
.foot-social a:hover { color: var(--gold-ink); border-color: var(--border); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h5 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--text-2); font-size: 14.5px; padding: 6px 0; transition: color var(--dur-fast); }
.foot-col a:hover { color: var(--gold-ink); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border-soft); color: var(--text-3); font-size: 13px; }
.foot-bottom a:hover { color: var(--gold-ink); }

/* ============================================================
   BACK-TO-TOP + CUSTOM CURSOR
   ============================================================ */
.to-top {
  position: fixed; right: max(26px, calc((100% - 1200px) / 2 - 100px)); bottom: 26px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-ink);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring), color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #0a0a0b; background: var(--gold-metal); border-color: transparent; transform: translateY(-3px); }
.to-top:active { transform: translateY(0) scale(0.94); }
.to-top svg { width: 20px; height: 20px; transition: transform var(--dur) var(--ease-spring); }
.to-top:hover svg { transform: translateY(-2px); }

/* Custom cursor — a precise gold dot + a trailing ring that reacts to interactive elements */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); opacity: 0; will-change: transform, opacity; }
.cursor-dot { width: 7px; height: 7px; background: var(--gold); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid color-mix(in srgb, var(--gold) 72%, transparent);
  transition: opacity 0.3s var(--ease-out), width 0.32s var(--ease-spring), height 0.32s var(--ease-spring), background 0.3s, border-color 0.3s; }
body.cursor-active .cursor-dot, body.cursor-active .cursor-ring { opacity: 1; }
body.hovering .cursor-ring { width: 58px; height: 58px; background: color-mix(in srgb, var(--gold) 12%, transparent); border-color: color-mix(in srgb, var(--gold) 42%, transparent); }
body.hovering .cursor-dot { opacity: 0; }
body.pressing .cursor-ring { width: 26px; height: 26px; background: color-mix(in srgb, var(--gold) 22%, transparent); }
@media (hover: hover) and (pointer: fine) {
  body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on [role="button"], body.cursor-on .card, body.cursor-on .shop-card, body.cursor-on .tclient, body.cursor-on .pf-dot, body.cursor-on label, body.cursor-on summary { cursor: none; }
  body.cursor-on input, body.cursor-on textarea, body.cursor-on select { cursor: auto; }
}
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .render-frame { transform: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-card { grid-column: span 2; }
  .shop-card.feature { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-brand, .foot-latest { grid-column: span 2; }
}
/* Short desktop viewports: compress the hero so stats + carousel stay above the fold */
@media (min-width: 901px) and (max-height: 840px) {
  .hero { padding-top: 84px; padding-bottom: 14px; }
  .hero h1 { font-size: clamp(2.1rem, 3.4vw, 3.05rem); line-height: 1.05; margin-top: 10px; }
  .hero-sub { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-meta { margin-top: 16px; }
  .hero-visual { max-width: 336px; }
  .hero-stats { margin-top: 14px; padding-top: 14px; }
  .hstat .hnum { font-size: 2rem; }
  .marquee { margin-top: 12px; padding-top: 12px; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding: 96px 0 40px; }
  .section-pad { padding: 72px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .hero-stats .hstat { border-left: none; padding-left: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento .tall, .bento .wide { grid-column: auto; grid-row: auto; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .process::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card, .shop-card.feature { grid-column: 1 / -1; }
  .tclient { width: 300px; }
  .form { padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-brand, .foot-latest { grid-column: auto; }
  .float-card.tl { left: -12px; }
  .float-card.br { right: -12px; }
}
@media (max-width: 380px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
}

/* ============================================================
   SUBPAGES — shared page-hero, Work grid, Case-study template
   ============================================================ */
.page-hero { padding: 172px 0 56px; position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.12; letter-spacing: 0.045em;
  text-transform: uppercase; margin: 18px 0 0; max-width: 20ch;
}
.page-hero .page-sub { color: var(--text-2); margin-top: 20px; max-width: 52ch; font-size: 1.05rem; line-height: 1.7; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 44px; position: relative; z-index: 2; }
.filter-pill {
  padding: 10px 19px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); border: 1px solid var(--border-soft); background: color-mix(in srgb, var(--surface) 40%, transparent);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur), transform var(--dur-fast) var(--ease-spring);
}
.filter-pill:hover { color: var(--text); border-color: var(--border); transform: translateY(-1px); }
.filter-pill.active { background: var(--gold-metal); color: #0a0a0b; border-color: transparent; }

/* Work grid */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 22px; }
.work-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); background: var(--surface); position: relative; transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out); }
.work-card:hover { transform: translateY(-4px); border-color: var(--border); }
.work-card.feature { grid-column: 1 / -1; }
.work-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.work-card.feature .work-media { aspect-ratio: 16 / 7; }
.work-media .scene { transition: transform 0.9s var(--ease-out); }
.work-card:hover .work-media .scene { transform: scale(1.05); }
.work-tag { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--border); color: var(--gold-ink); }
.work-info { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 22px 22px; }
.work-info h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; letter-spacing: 0.02em; color: var(--text); }
.work-info span { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.work-card .go { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-strong); border: 1px solid var(--border-soft); color: var(--gold-ink); opacity: 0; transform: scale(0.75); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring); }
.work-card:hover .go { opacity: 1; transform: scale(1); }
.work-card .go svg { width: 15px; height: 15px; }

/* Page CTA band */
.page-cta { border-block: 1px solid var(--border-soft); padding: 72px 0; margin-top: 96px; }
.page-cta .row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.page-cta h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: 0.045em; text-transform: uppercase; line-height: 1.18; max-width: 24ch; }

/* Case study */
.case-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 16 / 8; margin-top: 24px; }
.case-hero .overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.35) 58%, rgba(0,0,0,0.86) 100%); }  /* deeper: hero images are often bright */
:root[data-theme="light"] .case-hero .overlay { background: linear-gradient(180deg, transparent 30%, rgba(28,20,6,0.35) 58%, rgba(28,20,6,0.8) 100%); }
.case-hero .tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.case-hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.45); font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.12; margin-top: 10px; max-width: 22ch; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-bottom: 1px solid var(--border-soft); padding: 26px 4px; }
.case-meta .k { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.case-meta .v { display: block; font-size: 15px; font-weight: 500; color: var(--text); }
.case-sec { display: grid; grid-template-columns: 250px 1fr; gap: 44px; padding: 56px 4px; border-bottom: 1px solid var(--border-soft); }
.case-sec h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); padding-top: 4px; }
.case-sec p { color: var(--text-2); line-height: 1.75; max-width: 62ch; }
.case-sec p + p { margin-top: 16px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 64px 0 8px; }
.cg-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 4 / 3; }
.cg-item.wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.case-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cg-item img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cg-item[role="button"] { cursor: pointer; transition: border-color var(--dur), transform var(--dur); }
.cg-item[role="button"]:hover, .cg-item[role="button"]:focus-visible { border-color: var(--gold); transform: translateY(-3px); outline: none; }
.cg-item .cg-lbl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 16px 12px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem;
  color: #f7f4ee; background: linear-gradient(to top, rgba(8,7,5,.9), transparent); }
.case-quote { text-align: center; max-width: 720px; margin: 72px auto; }
.case-quote .mark { font-family: var(--font-serif); font-size: 4rem; line-height: 0.5; color: var(--gold); }
.case-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--text); margin-top: 18px; }
.case-quote footer { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
/* figure/blockquote variant used by the project case studies */
.case-quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--text); }
.case-quote blockquote::before { content: open-quote; display: block; font-family: var(--font-serif);
  font-size: 4rem; line-height: .5; color: var(--gold); margin-bottom: 22px; }
.case-quote figcaption { margin-top: 20px; font-size: 13.5px; color: var(--text-3); }
.case-quote figcaption span { color: var(--gold-ink); }
/* pending state — visibly awaiting the real quote, never mistakable for one */
.case-quote.is-pending blockquote { color: var(--text-3); font-style: normal;
  font-family: var(--font-sans); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.case-quote.is-pending blockquote::before { content: none; }
.case-quote.is-pending figcaption { display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em;
  font-size: .68rem; color: var(--gold-ink); margin-top: 14px; }
.case-quote.is-pending figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); animation: ipPulse 1.5s ease-in-out infinite; }
.case-next { display: block; border-top: 1px solid var(--border-soft); padding: 72px 4px 8px; }
.case-next .eyebrow { margin-bottom: 14px; }
.case-next h2 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.045em; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; display: inline-flex; align-items: center; gap: 18px; color: var(--text); transition: color var(--dur); }
.case-next:hover h2 { color: var(--gold-ink); }
.case-next h2 svg { width: 0.8em; height: 0.8em; flex: none; transition: transform var(--dur) var(--ease-spring); }
.case-next:hover h2 svg { transform: translateX(8px); }

@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-sec { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .case-gallery { grid-template-columns: 1fr; }
  .cg-item.wide { aspect-ratio: 4 / 3; }
  .page-hero { padding: 140px 0 40px; }
}

/* ============================================================
   SERVICES — overview rows + per-service template
   ============================================================ */
.svc-rows { display: flex; flex-direction: column; }
a.svc-row {
  display: grid; grid-template-columns: 96px 1fr 330px; gap: 38px; align-items: center;
  padding: 44px 6px; border-top: 1px solid var(--border-soft); position: relative;
  transition: background 0.5s var(--ease-out);
}
a.svc-row:last-child { border-bottom: 1px solid var(--border-soft); }
a.svc-row:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.svc-row .no { font-family: var(--font-serif); font-weight: 500; font-size: 2.1rem; color: var(--gold-ink); line-height: 1; }
.svc-row h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.svc-row .sdesc { color: var(--text-2); font-size: 14.5px; line-height: 1.65; margin-top: 10px; max-width: 52ch; }
.svc-row .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-row .chip { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-soft); color: var(--text-3); }
.svc-row .learn { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 7px; transition: gap var(--dur-fast); }
a.svc-row:hover .learn { gap: 12px; }
.svc-row .media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 16 / 10; }
.svc-row .media .scene { transition: transform 0.9s var(--ease-out); }
a.svc-row:hover .media .scene { transform: scale(1.05); }

/* Per-service page */
.svc-band img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.svc-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 16 / 6; margin-top: 28px; }
.deliv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.deliv { display: flex; align-items: flex-start; gap: 20px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: color-mix(in srgb, var(--surface) 55%, transparent); transition: border-color 0.5s var(--ease-out), background 0.5s var(--ease-out); }
.deliv:hover { border-color: var(--border); background: var(--surface); }
.deliv .dnum { font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; color: var(--gold-ink); line-height: 1.1; flex: none; }
.deliv h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; letter-spacing: 0.03em; color: var(--text); }
.deliv p { color: var(--text-2); font-size: 14px; line-height: 1.65; margin-top: 7px; }
.svc-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-other { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: color-mix(in srgb, var(--surface) 45%, transparent); transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease-out); }
.svc-other:hover { border-color: var(--border); background: var(--surface); transform: translateY(-3px); }
.svc-other b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.svc-other span { font-family: var(--font-serif); color: var(--gold-ink); font-size: 1.1rem; flex: none; }
.svc-other svg { width: 16px; height: 16px; color: var(--gold-ink); flex: none; transition: transform var(--dur) var(--ease-spring); }
.svc-other:hover svg { transform: translateX(5px); }

@media (max-width: 900px) {
  a.svc-row { grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
  .svc-row .no { font-size: 1.6rem; }
  .svc-row .media { order: -1; }
  .deliv-grid { grid-template-columns: 1fr; }
  .svc-others { grid-template-columns: 1fr; }
  .svc-band { aspect-ratio: 16 / 9; }
}

/* ============================================================
   SHOP PAGE + PRODUCT DETAIL
   ============================================================ */
.deliv-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prod-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; margin-top: 36px; }
.prod-media .main { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 4 / 3;
  background: radial-gradient(60% 80% at 72% 20%, rgba(230,200,130,0.22), transparent 60%), linear-gradient(160deg, var(--room-1), var(--room-2)); }
.prod-media .main::before { content: ""; position: absolute; left: 26%; top: 16%; width: 40%; height: 68%; border-radius: 6px; background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.14); box-shadow: -16px 14px 0 -4px rgba(255,255,255,0.06); }
.prod-media .main::after { content: ""; position: absolute; left: 33%; top: 26%; width: 26%; height: 3px; border-radius: 2px; background: var(--gold-3); box-shadow: 0 12px 0 rgba(240,214,143,0.5), 0 24px 0 rgba(240,214,143,0.35), 0 36px 0 rgba(240,214,143,0.25); opacity: 0.8; }
.prod-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.prod-thumbs .t { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-soft); }
.buy-panel { position: sticky; top: 104px; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 34px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.buy-panel .pcat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.buy-panel .price { font-family: var(--font-serif); font-weight: 500; font-size: 2.3rem; color: var(--text); margin-top: 12px; line-height: 1; }
.buy-panel .price small { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--text-3); margin-left: 8px; }
.buy-panel .includes { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 11px; border-block: 1px solid var(--border-soft); padding: 22px 0; }
.buy-panel .includes li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.buy-panel .includes svg { width: 16px; height: 16px; flex: none; color: var(--gold-ink); margin-top: 2px; }
.buy-panel .fmts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.buy-panel .fmt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-soft); color: var(--text-3); }
.buy-panel .btn-primary { width: 100%; justify-content: center; }
.buy-panel .buy-note { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 14px; }

@media (max-width: 900px) {
  .prod-grid { grid-template-columns: 1fr; gap: 30px; }
  .buy-panel { position: static; }
  .deliv-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT + JOURNAL + ARTICLE + CONTACT PAGE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { text-align: center; padding: 40px 24px 36px; border: 1px solid var(--border-soft); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 55%, transparent); transition: border-color 0.5s, background 0.5s; }
.team-card:hover { border-color: var(--border); background: var(--surface); }
.team-card .tava { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 20px; background: var(--gold-metal); display: grid; place-items: center; font-weight: 700; font-size: 1.4rem; color: #0a0a0b; }
.team-card b { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; letter-spacing: 0.03em; display: block; color: var(--text); }
.team-card span { font-size: 13px; color: var(--text-3); display: block; margin-top: 6px; }

/* Journal */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); background: var(--surface); transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out); }
.post-card:hover { transform: translateY(-4px); border-color: var(--border); }
.post-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; }
.post-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card.feature .post-media { aspect-ratio: auto; min-height: 300px; height: 100%; }
.post-media .scene { transition: transform 0.9s var(--ease-out); }
.post-card:hover .post-media .scene { transform: scale(1.05); }
.post-body { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.post-body .pmeta { font-size: 11.5px; font-weight: 600; color: var(--gold-ink); letter-spacing: 0.14em; text-transform: uppercase; }
.post-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--text); margin-top: 12px; line-height: 1.3; }
.post-card.feature .post-body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.post-body p { color: var(--text-2); font-size: 14px; line-height: 1.65; margin-top: 12px; }
.post-body .pdate { font-size: 12.5px; color: var(--text-3); margin-top: 16px; }

.subscribe { display: flex; gap: 12px; max-width: 540px; }
.subscribe input { flex: 1; font-family: inherit; font-size: 15px; color: var(--text); background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 16px; min-height: 52px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.subscribe input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
@media (max-width: 560px) { .subscribe { flex-direction: column; } }

/* Article */
.article { max-width: 760px; }
.article .ameta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 13.5px; color: var(--text-3); }
.article-body { margin-top: 48px; color: var(--text-2); font-size: 1.06rem; line-height: 1.85; }
.article-body > p + p { margin-top: 20px; }
.article-body h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.35rem; color: var(--text); margin: 48px 0 18px; }
.article-body blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; line-height: 1.55; color: var(--text); border-left: 2px solid var(--gold); padding-left: 24px; margin: 40px 0; }
.article-body .img { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 16 / 9; margin: 40px 0; }
.article-body ul { margin: 20px 0 20px 22px; }
.article-body li + li { margin-top: 10px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border-soft); border-radius: 14px; background: color-mix(in srgb, var(--surface) 55%, transparent); transition: border-color 0.4s; }
.faq details[open] { border-color: var(--border); }
.faq summary { padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-serif); color: var(--gold-ink); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card.feature { grid-template-columns: 1fr; }
  .post-card.feature .post-media { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
}

/* ============================================================
   SCROLL-PROGRESS TIMELINE (Work page — studio journey)
   ============================================================ */
.timeline { position: relative; }
.tl-line {
  position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, transparent 0%, var(--border-soft) 10%, var(--border-soft) 90%, transparent 100%);
}
.tl-progress {
  position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 2px; opacity: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--gold-3) 12%, var(--gold-2) 100%);
  box-shadow: 0 0 12px rgba(230, 200, 130, 0.35);
}
.tl-entry { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: 44px; padding: 64px 0 64px 72px; }
.tl-entry::before {
  content: ""; position: absolute; left: 12px; top: 76px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); z-index: 2;
  box-shadow: 0 0 0 5px var(--bg);
}
.tl-year {
  position: sticky; top: 120px; align-self: start;
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: var(--text-3); line-height: 1;
}
.tl-body p { color: var(--text-2); font-size: 15px; line-height: 1.75; max-width: 58ch; }
.tl-body p + p { margin-top: 14px; }
.tl-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.tl-imgs .ti { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-soft); }

@media (max-width: 900px) {
  .tl-entry { grid-template-columns: 1fr; gap: 16px; padding: 44px 0 44px 56px; }
  .tl-year { position: static; font-size: 1.7rem; }
  .tl-entry::before { top: 46px; }
}

/* ============================================================
   HERO WORLD MAP — global client reach (desktop)
   ============================================================ */
.hero-map {
  position: absolute; right: 0; top: 54%; transform: translateY(-50%);
  width: clamp(550px, 55vw, 800px); aspect-ratio: 2 / 1;
  pointer-events: none; z-index: 1;
}
/* Soft dark backing panel — separates the map from the photographic hero so the
   gold dots + arcs read clearly (mirrors the dark card the WorldMap was designed on). */
.hero-map::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(8,7,5,0.62) 0%, rgba(8,7,5,0.42) 45%, rgba(8,7,5,0.14) 70%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 40%, transparent 84%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 40%, transparent 84%); }
.hero-copy { position: relative; z-index: 2; } /* keep copy above the map's faded edge */
.hero-map img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; user-select: none;
  /* lift the semi-transparent gold dots toward cream so they don't vanish into warm wood */
  filter: brightness(1.5) saturate(0.85) contrast(1.05);
  -webkit-mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 40%, rgba(0,0,0,0.7) 62%, transparent 84%);
          mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 40%, rgba(0,0,0,0.7) 62%, transparent 84%); }
/* No mask here — the dotted-map image below has its own edge fade; masking the
   overlay too made edge labels (USA, Canada, UK) look see-through.
   z-index 2 is REQUIRED: the img carries z-index 1, so without this the dotted
   map paints OVER the arcs/labels and bleeds through the chips. */
.wm-overlay { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wm-overlay .node { pointer-events: auto; outline: none; }
@media (max-width: 1180px) { .hero-map { display: none; } }
@media (min-width: 901px) and (max-height: 840px) { .hero-map { width: clamp(500px, 47vw, 675px); } }

/* ============================================================
   ARTICLE TOC + READING PROGRESS
   ============================================================ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), #edd598);
  box-shadow: 0 0 10px rgba(230,198,127,0.45); }

.article-body h2 { scroll-margin-top: 110px; }

.toc { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px;
  padding: 20px 22px; margin: 40px 0 8px; }
.toc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc-head .pct { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold-ink); font-size: 12px; white-space: nowrap; }
.toc nav a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--border-soft);
  color: var(--text-2); font-size: 13.5px; line-height: 1.4; transition: color var(--dur), border-color var(--dur); }
.toc nav a:hover { color: var(--text); }
.toc nav a.active { color: var(--gold-ink); border-left: 2px solid var(--gold); padding-left: 13px; }

@media (min-width: 1100px) {
  .article.has-toc { max-width: 1080px; display: grid;
    grid-template-columns: minmax(0, 760px) 240px; gap: 64px; align-items: start; }
  .article.has-toc .toc { grid-column: 2; grid-row: 1; position: sticky; top: 108px; margin: 48px 0 0; }
  .article.has-toc .article-body { grid-column: 1; grid-row: 1; }
}

/* ============================================================
   COOKIE CONSENT (GDPR / UK-GDPR / CCPA compliant)
   ============================================================ */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  transform: translateY(110%); transition: transform .5s cubic-bezier(.16,1,.3,1);
  padding: 0 20px 20px; pointer-events: none; }
.cc-banner.show { transform: translateY(0); pointer-events: auto; }
.cc-inner { max-width: var(--maxw); margin-inline: auto;
  background: rgba(16,13,10,.97); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  padding: 24px 28px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cc-text { flex: 1 1 380px; min-width: 260px; }
.cc-text h4 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .12em; font-size: .95rem; color: #f7f4ee; margin-bottom: 8px; }
.cc-text p { font-size: .88rem; line-height: 1.6; color: rgba(247,244,238,.72); margin: 0; }
.cc-text a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cc-btn { font-family: var(--font-sans); font-size: .85rem; font-weight: 600; letter-spacing: .01em;
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: #f7f4ee; cursor: pointer; white-space: nowrap;
  transition: background var(--dur), color var(--dur), border-color var(--dur); }
.cc-btn:hover { border-color: var(--gold); color: var(--gold-ink); }
.cc-btn.primary { background: linear-gradient(135deg, #e6c67f, #c9a75e); color: #17130c; border-color: transparent; }
.cc-btn.primary:hover { filter: brightness(1.08); color: #17130c; }
.cc-btn.link { border: none; padding: 11px 8px; color: rgba(247,244,238,.6); text-decoration: underline; text-underline-offset: 3px; }
.cc-btn.link:hover { color: var(--gold-ink); }
/* preferences panel */
.cc-prefs { display: none; flex-basis: 100%; border-top: 1px solid var(--border-soft); margin-top: 4px; padding-top: 18px; }
.cc-banner.prefs-open .cc-prefs { display: block; }
.cc-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.cc-row:last-of-type { border-bottom: none; }
.cc-row .info { flex: 1; }
.cc-row b { display: block; font-size: .9rem; color: #f7f4ee; margin-bottom: 3px; }
.cc-row span { font-size: .82rem; color: rgba(247,244,238,.62); line-height: 1.55; }
.cc-row .locked { font-size: .75rem; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; padding-top: 3px; }
/* toggle */
.cc-toggle { position: relative; width: 46px; height: 26px; flex: none; }
.cc-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.cc-toggle i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.14);
  border: 1px solid var(--border-soft); transition: background var(--dur), border-color var(--dur); }
.cc-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #f7f4ee; transition: transform var(--dur); }
.cc-toggle input:checked + i { background: linear-gradient(135deg, #e6c67f, #c9a75e); border-color: transparent; }
.cc-toggle input:checked + i::after { transform: translateX(20px); background: #17130c; }
/* footer re-open link */
.cc-reopen { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.cc-reopen:hover { color: var(--gold-ink); }
@media (max-width: 720px) {
  .cc-inner { padding: 20px; gap: 18px; }
  .cc-actions { width: 100%; }
  .cc-actions .cc-btn:not(.link) { flex: 1 1 auto; text-align: center; }
}


/* ============================================================
   PROJECT TEMPLATES — showcase / before-after / options
   ============================================================ */

/* ---------- shared media frame ---------- */
.pt-frame { position:relative; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border-soft); background:linear-gradient(160deg,#1a140d,#0f0c09); }
.pt-frame img { display:block; width:100%; height:100%; object-fit:cover; }

/* ---------- 1 · SHOWCASE (thumbs above hero + lightbox) ---------- */
.ps-thumbs { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:14px; margin-bottom:18px; }
.ps-thumb { position:relative; aspect-ratio:4/3; border-radius:10px; overflow:hidden; cursor:pointer;
  border:1px solid var(--border-soft); background:linear-gradient(160deg,#1a140d,#0f0c09);
  padding:0; transition:border-color var(--dur), transform var(--dur); }
.ps-thumb:hover, .ps-thumb:focus-visible { border-color:var(--gold); transform:translateY(-3px); outline:none; }
.ps-thumb img, .ps-thumb .scene { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ps-thumb .lbl { position:absolute; left:0; right:0; bottom:0; padding:16px 10px 8px;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.14em; font-size:.66rem;
  color:#f7f4ee; background:linear-gradient(to top,rgba(8,7,5,.9),transparent); text-align:left; }
.ps-hero { aspect-ratio:16/9; }
.ps-hero .plan-tag { position:absolute; top:18px; left:18px; z-index:2;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.2em; font-size:.7rem;
  color:var(--gold-ink); background:rgba(13,11,9,.72); border:1px solid var(--border);
  padding:7px 14px; border-radius:999px; backdrop-filter:blur(6px); }

/* lightbox */
.ps-lightbox { position:fixed; inset:0; z-index:500; display:none;
  background:rgba(6,5,4,.94); backdrop-filter:blur(6px); }
.ps-lightbox.open { display:flex; align-items:center; justify-content:center; }
.ps-lightbox figure { max-width:min(1400px,92vw); max-height:88vh; margin:0; text-align:center; }
.ps-lightbox img { max-width:100%; max-height:78vh; width:auto; object-fit:contain;
  border-radius:10px; border:1px solid var(--border-soft); }
.ps-lightbox .ph { width:min(1100px,88vw); aspect-ratio:16/9; border-radius:10px;
  border:1px solid var(--border-soft); }
.ps-lightbox figcaption { margin-top:16px; font-family:var(--font-display); text-transform:uppercase;
  letter-spacing:.2em; font-size:.78rem; color:var(--gold-ink); }
.ps-close, .ps-nav { position:absolute; background:rgba(20,16,12,.8); border:1px solid var(--border);
  color:#f7f4ee; border-radius:999px; cursor:pointer; display:grid; place-items:center;
  transition:border-color var(--dur), color var(--dur); }
.ps-close { top:24px; right:24px; width:46px; height:46px; font-size:1.2rem; }
.ps-nav { top:50%; transform:translateY(-50%); width:52px; height:52px; }
.ps-nav.prev { left:24px; } .ps-nav.next { right:24px; }
.ps-close:hover, .ps-nav:hover { border-color:var(--gold); color:var(--gold-ink); }
@media (max-width:640px){ .ps-nav{ width:42px;height:42px } .ps-nav.prev{left:10px} .ps-nav.next{right:10px} }

/* ---------- 2 · BEFORE / AFTER SLIDER ---------- */
.ba-wrap { position:relative; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border-soft); cursor:ew-resize; user-select:none; touch-action:none;
  background:linear-gradient(160deg,#1a140d,#0f0c09); }
.ba-layer { position:absolute; inset:0; }
.ba-layer img, .ba-layer .scene { position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  pointer-events:none; -webkit-user-drag:none; user-select:none; }  /* stop native image drag hijacking the slider */
.ba-after { clip-path: inset(0 0 0 var(--split,50%)); }
.ba-wrap.ba-dragging .ba-after { will-change: clip-path; }  /* promote layer only while dragging */
.ba-tag { position:absolute; top:16px; z-index:3; font-family:var(--font-display); text-transform:uppercase;
  letter-spacing:.2em; font-size:.68rem; color:#f7f4ee; background:rgba(13,11,9,.7);
  border:1px solid var(--border-soft); padding:6px 13px; border-radius:999px; }
.ba-tag.before { left:16px; } .ba-tag.after { right:16px; color:var(--gold-ink); border-color:var(--border); }
.ba-handle { position:absolute; top:0; bottom:0; left:var(--split,50%); width:2px; z-index:4;
  background:linear-gradient(180deg,transparent,var(--gold) 12%,var(--gold) 88%,transparent);
  transform:translateX(-1px); pointer-events:none; }
.ba-grip { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:48px; height:48px; border-radius:50%; background:rgba(13,11,9,.85);
  border:1px solid var(--gold); display:grid; place-items:center; box-shadow:0 6px 24px rgba(0,0,0,.5); }
.ba-grip svg { width:22px; height:22px; stroke:var(--gold-ink); fill:none; stroke-width:2; }
.ba-hint { text-align:center; color:var(--text-3); font-size:.82rem; margin-top:14px; }

/* ---------- 3 · OPTION TOGGLES (max 7) ---------- */
.opt-stage { position:relative; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border-soft); background:linear-gradient(160deg,#1a140d,#0f0c09); }
.opt-view { position:absolute; inset:0; opacity:0; transition:opacity .55s cubic-bezier(.4,0,.2,1); }
.opt-view.active { opacity:1; }
.opt-view img, .opt-view .scene { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.opt-caption { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:60px 28px 24px;
  /* strong through the text zone so captions stay legible over WHITE technical drawings too */
  background:linear-gradient(to top, rgba(8,7,5,.95) 0%, rgba(8,7,5,.88) 45%, rgba(8,7,5,.4) 75%, transparent 100%); }
.opt-caption b { display:block; font-family:var(--font-display); font-weight:400; text-transform:uppercase;
  letter-spacing:.06em; font-size:1.2rem; color:#f7f4ee; }
.opt-caption span { font-size:.92rem; color:rgba(247,244,238,.7); }

/* Technical drawings: caption sits BELOW the plan on a solid bar — never a scrim
   over the drawing, which would cover linework, dimensions and the title block. */
.opt-stage.is-drawings { aspect-ratio: 16 / 10; background:#fff; }
.opt-stage.is-drawings .opt-view img { inset: 0 0 70px 0; height:auto; width:100%; object-fit:contain; background:#fff; }
.opt-stage.is-drawings .opt-caption { top:auto; height:70px; padding:0 26px; background:#14100c;
  display:flex; flex-direction:column; justify-content:center; gap:2px; }
.opt-stage.is-drawings .opt-caption b { font-size:1.05rem; }
@media (max-width:600px){
  .opt-stage.is-drawings .opt-view img { inset:0 0 58px 0; }
  .opt-stage.is-drawings .opt-caption { height:58px; padding:0 16px; }
}
.opt-switch { display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(14px,2.4vw,34px); margin-top:28px; }
.opt-btn { background:none; border:none; padding:0; cursor:pointer; display:flex; flex-direction:column;
  align-items:center; gap:10px; width:92px; }
.opt-dot { width:56px; height:56px; border-radius:50%; position:relative; overflow:hidden;
  border:1px solid var(--border-soft); background:linear-gradient(160deg,#241a10,#0f0c09);
  transition:border-color var(--dur), transform var(--dur), box-shadow var(--dur); }
.opt-dot img, .opt-dot .scene { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.opt-dot .num { position:absolute; inset:0; display:grid; place-items:center;
  font-family:var(--font-serif); font-style:italic; font-size:1.1rem; color:var(--gold-ink); }
.opt-btn:hover .opt-dot { border-color:var(--gold); transform:translateY(-3px); }
.opt-btn[aria-pressed="true"] .opt-dot { border-color:var(--gold); border-width:2px;
  box-shadow:0 0 0 3px rgba(230,198,127,.16); }
.opt-name { font-family:var(--font-display); text-transform:uppercase; letter-spacing:.14em;
  font-size:.68rem; color:var(--text-3); text-align:center; line-height:1.35;
  transition:color var(--dur); }
.opt-btn[aria-pressed="true"] .opt-name { color:var(--gold-ink); }
@media (max-width:600px){ .opt-btn{ width:74px } .opt-dot{ width:46px;height:46px } }


/* ============================================================
   "UPLOADING…" IMAGE PLACEHOLDER  (soft-launch state)
   Markup: <span class="img-pending" data-img="file.webp" data-alt="...">
             <span class="ip-label"><span class="ip-dot"></span>Uploading…</span>
           </span>
   The data-img / data-alt attrs feed the image-manifest PDF and make
   the real swap a one-line edit. Replace the whole span with <img>.
   ============================================================ */
.img-pending { position:absolute; inset:0; display:grid; place-items:center; overflow:hidden;
  background:linear-gradient(135deg,#1c150d,#0f0c09); }
.img-pending::before { content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, transparent 32%, rgba(230,198,127,.11) 50%, transparent 68%);
  background-size:220% 100%; animation:ipShimmer 2s ease-in-out infinite; }
.img-pending .ip-label { position:relative; z-index:1; display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.24em; font-size:.72rem;
  color:var(--gold-ink); }
.img-pending .ip-dot { width:7px; height:7px; border-radius:50%; background:var(--gold);
  box-shadow:0 0 0 0 rgba(230,198,127,.5); animation:ipPulse 1.5s ease-in-out infinite; }
:root[data-theme="light"] .img-pending { background:linear-gradient(135deg,#efeae0,#e4ddcf); }
@keyframes ipShimmer { 0%{background-position:120% 0} 100%{background-position:-120% 0} }
@keyframes ipPulse { 0%,100%{opacity:.4;transform:scale(.8)} 50%{opacity:1;transform:scale(1.05)} }
@media (prefers-reduced-motion:reduce){ .img-pending::before,.img-pending .ip-dot{animation:none} }
/* Desynchronise the placeholders: irregular delays AND durations, so they never
   re-sync into a visible pulse. Keyed off each tile's position in its grid. */
:nth-child(1) > .img-pending::before { animation-duration: 2.3s; animation-delay: -0.2s; }
:nth-child(2) > .img-pending::before { animation-duration: 1.9s; animation-delay: -1.4s; }
:nth-child(3) > .img-pending::before { animation-duration: 2.7s; animation-delay: -0.7s; }
:nth-child(4) > .img-pending::before { animation-duration: 2.1s; animation-delay: -1.9s; }
:nth-child(5) > .img-pending::before { animation-duration: 2.5s; animation-delay: -0.4s; }
:nth-child(6) > .img-pending::before { animation-duration: 1.7s; animation-delay: -1.1s; }
:nth-child(7) > .img-pending::before { animation-duration: 2.9s; animation-delay: -2.2s; }
:nth-child(8) > .img-pending::before { animation-duration: 2.0s; animation-delay: -0.9s; }
:nth-child(1) > .img-pending .ip-dot { animation-duration: 1.7s; animation-delay: -0.5s; }
:nth-child(2) > .img-pending .ip-dot { animation-duration: 1.3s; animation-delay: -1.0s; }
:nth-child(3) > .img-pending .ip-dot { animation-duration: 2.0s; animation-delay: -0.2s; }
:nth-child(4) > .img-pending .ip-dot { animation-duration: 1.5s; animation-delay: -1.3s; }
:nth-child(5) > .img-pending .ip-dot { animation-duration: 1.9s; animation-delay: -0.7s; }
:nth-child(6) > .img-pending .ip-dot { animation-duration: 1.4s; animation-delay: -1.6s; }
:nth-child(7) > .img-pending .ip-dot { animation-duration: 2.2s; animation-delay: -0.3s; }
:nth-child(8) > .img-pending .ip-dot { animation-duration: 1.6s; animation-delay: -1.1s; }
/* the before/after slider holds two stacked layers — offset them from each other */
.ba-layer:nth-child(2) > .img-pending::before { animation-duration: 2.6s; animation-delay: -1.5s; }
.ba-layer:nth-child(2) > .img-pending .ip-dot { animation-duration: 1.8s; animation-delay: -0.8s; }
/* in a before/after slider, drop the label clear of the centre grip */
.ba-layer .img-pending { place-items:end center; }
.ba-layer .img-pending .ip-label { margin-bottom:clamp(28px,9%,80px); }


/* Draft projects: not public yet. The bare [hidden] attribute is overridden by
   .work-card's own display rule, so hide them explicitly. Remove data-draft when live. */
.work-card[data-draft="true"], .work-card[hidden] { display: none !important; }


/* Form status: failure state must look different from success */
.form-status.is-error, .subscribe-status.is-error { color: #e8776b; }
