/* ==========================================================================
   Creative Aura AI — light editorial design system
   Instrument Serif display / Inter UI · white, hairlines, one violet accent
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #faf8f4;
  --card: #ffffff;
  --line: rgba(51, 30, 27, 0.09);
  --line-strong: rgba(51, 30, 27, 0.18);

  --text: #2b1c17;
  --muted: #7d6e64;
  --faint: #a8998d;

  --accent: #9d745a;
  --accent-soft: rgba(157, 116, 90, 0.12);
  --accent-line: rgba(157, 116, 90, 0.4);
  --grad: linear-gradient(100deg, #d9ab7a 0%, #ce7244 48%, #a4553a 100%);
  --clay: 0 2px 4px rgba(51, 30, 27, 0.05), 0 22px 44px -18px rgba(51, 30, 27, 0.24),
    inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -10px 18px rgba(51, 30, 27, 0.06);
  --clay-sm: 0 1px 2px rgba(51, 30, 27, 0.05), 0 10px 22px -10px rgba(51, 30, 27, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.9), inset 0 -5px 10px rgba(51, 30, 27, 0.05);

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --step--1: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);
  --step-0: clamp(0.9688rem, 0.94rem + 0.15vw, 1.0313rem);
  --step-1: clamp(1.125rem, 1.07rem + 0.28vw, 1.3125rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4: clamp(2.75rem, 2.1rem + 3vw, 4.75rem);
  --step-5: clamp(3.25rem, 2.2rem + 5.2vw, 6.75rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 22px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

h1, h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }

h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

::selection { background: rgba(206, 114, 68, 0.2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* serif italic accent inside headings */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #ce7244;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 3. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 5.5vw, 5rem); }
.section--soft { background: var(--bg-soft); }
.rule { border-top: 1px solid var(--line); }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* keep hyphenated terms (e-commerce, Product-Aware) from splitting across lines */
.nb { white-space: nowrap; }

.section-head { max-width: 700px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head p { max-width: 58ch; margin-top: 1.4rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background-color: var(--text);
  background-image: var(--grad);
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: saturate(1.15) brightness(1.05); box-shadow: 0 12px 32px -10px rgba(206, 114, 68, 0.5); }
.btn:active { transform: translateY(0); }
.btn svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  background-color: transparent;
  background-image: none;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent-line); color: var(--accent); background-color: transparent; box-shadow: none; filter: none; }

.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--step-0); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.tlink:hover { border-color: var(--accent); gap: 0.7rem; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--accent);
}
.brand-mark svg { width: 15px; height: 15px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.5rem);
  font-size: var(--step--1);
  font-weight: 500;
}
.nav-links .btn { display: none; }
.nav-links a {
  position: relative;
  white-space: nowrap;
  color: var(--muted);
  padding: 0.55rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 100px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-cta .login { font-size: var(--step--1); font-weight: 500; color: var(--muted); }
.nav-cta .login:hover { color: var(--text); }
.nav-cta .btn { padding: 0.68rem 1.25rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.75rem;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--step-3);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a {
    padding: 0.85rem 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a[aria-current="page"] { background: none; }
  .nav-links .btn {
    display: inline-flex;
    margin-top: 1.5rem;
    justify-content: center;
    padding-block: 1.05rem;
    font-family: var(--font-sans);
    font-size: var(--step-0);
    border-radius: 100px;
    border-bottom: 0;
    color: #fff;
  }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem) 0;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(900px, 120vw);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(206, 114, 68, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-inner { text-align: center; display: grid; justify-items: center; }
.hero h1 { max-width: 17ch; }
.hero-lede {
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.hero .btn-row { margin-top: clamp(1.4rem, 2.5vw, 2rem); justify-content: center; }
.hero-trust {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.hero-trust .stars { color: #e8a33d; letter-spacing: 2px; font-size: 0.8rem; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
  margin-top: 2.1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: var(--bg);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.55rem;
}
.pill:hover { border-color: var(--accent-line); background: var(--accent-soft); }

/* hero slider — full-bleed auto-scrolling 3D card carousel */
.hero-slider {
  --slide-w: clamp(160px, 15vw, 218px);
  --slide-gap: clamp(0.8rem, 1.5vw, 1.1rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1rem 0 clamp(2.25rem, 4vw, 3.25rem);
  overflow: hidden;
  perspective: 1400px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.slider-track {
  display: flex;
  width: max-content;
  transform-style: preserve-3d;
  animation: slide 48s linear infinite;
}
.hero-slider:hover .slider-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.slide {
  width: var(--slide-w);
  flex: none;
  margin-right: var(--slide-gap);
  will-change: transform;
}
.slide .shot { aspect-ratio: 3 / 4; border-radius: 18px; }
.slide .shot:hover { transform: none; }

/* ---------- 7. Product shots (SVG scenes) ---------- */
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: 0 2px 4px rgba(51, 30, 27, 0.05), 0 20px 40px -16px rgba(51, 30, 27, 0.3),
    inset 0 2px 3px rgba(255, 255, 255, 0.45);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 3px 6px rgba(51,30,27,0.06), 0 30px 54px -18px rgba(51,30,27,0.38), inset 0 2px 3px rgba(255,255,255,0.45); }
.shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 55% at 50% 38%, rgba(255, 255, 255, 0.55), transparent 70%);
}
.shot .bottle {
  width: 36%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 20px rgba(60, 40, 20, 0.26));
}
.shot-tag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  background: rgba(17, 17, 22, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
}
.g-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.62rem;
  border-radius: 100px;
  color: var(--muted);
}

/* backdrop scenes */
.bg-satin { background: linear-gradient(160deg, #f7efe6, #eaddcd 55%, #dcc8b0); }
.bg-satin::after { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 40% at 25% 25%, rgba(255,255,255,.75), transparent 60%),
  radial-gradient(50% 35% at 75% 70%, rgba(214,182,145,.5), transparent 60%); }
.bg-stone { background: linear-gradient(165deg, #efe7db, #ddcfbc 60%, #c9b69d); }
.bg-stone::after { content:""; position:absolute; left:14%; right:14%; bottom:10%; height:16%;
  background: linear-gradient(180deg, #cbb69b, #b39d80);
  border-radius: 46% 54% 50% 50% / 100% 100% 0 0;
  box-shadow: 0 -6px 18px rgba(255,255,255,.5) inset; }
.bg-water { background: linear-gradient(170deg, #dff1f7, #b8e0ef 55%, #8ec9e3); }
.bg-water::after { content:""; position:absolute; inset:0; opacity:.5; background:
  repeating-radial-gradient(circle at 30% 80%, rgba(255,255,255,.55) 0 2px, transparent 2px 26px),
  repeating-radial-gradient(circle at 75% 20%, rgba(255,255,255,.4) 0 2px, transparent 2px 34px); }
.bg-blush { background: linear-gradient(160deg, #fdeef4, #f9d5e5 55%, #f2b9d3); }
.bg-blush::after { content:""; position:absolute; inset:0; background:
  radial-gradient(24% 24% at 78% 26%, rgba(255,255,255,.85), transparent 70%),
  radial-gradient(30% 30% at 18% 78%, rgba(244,164,203,.55), transparent 70%); }
.bg-dusk { background: linear-gradient(160deg, #f1e8e0, #e2d2c3 55%, #c6a98e); }
.bg-dusk::after { content:""; position:absolute; inset:0; background:
  radial-gradient(50% 34% at 70% 24%, rgba(255,255,255,.7), transparent 65%); }
.bg-beach { background: linear-gradient(180deg, #cfe9f4 0 46%, #f0e3cd 46% 100%); }
.bg-beach::after { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 20% at 50% 46%, rgba(255,255,255,.75), transparent 70%),
  radial-gradient(40% 25% at 30% 80%, rgba(211,188,148,.5), transparent 65%); }
.bg-sage { background: linear-gradient(160deg, #eaf2e8, #d3e3cf 55%, #b7ceb2); }
.bg-sage::after { content:""; position:absolute; inset:0; background:
  radial-gradient(46% 32% at 30% 26%, rgba(255,255,255,.7), transparent 65%); }
.bg-pearl { background: linear-gradient(160deg, #f4f4f8, #e7e7ef 55%, #d5d6e4); }
.bg-pearl::after { content:""; position:absolute; inset:0; background:
  radial-gradient(52% 36% at 62% 26%, rgba(255,255,255,.85), transparent 65%); }
.bg-noir { background: linear-gradient(165deg, #3a2a21, #241811 60%, #150d08); }
.bg-noir::after { content:""; position:absolute; inset:0; background:
  radial-gradient(50% 36% at 50% 24%, rgba(224,169,112,.38), transparent 68%); }
.bg-model { background: linear-gradient(160deg, #f3e0d3, #e3bfa6 55%, #c99977); }
.bg-model::after { content:""; position:absolute; left:50%; bottom:-12%; transform:translateX(-50%);
  width:72%; aspect-ratio:3/4; border-radius:48% 52% 0 0 / 60% 60% 0 0;
  background: linear-gradient(180deg, #b98866, #96674a); filter: blur(2px); }
.shot.raw { background: #f2f2f4; box-shadow: none; border: 1.5px dashed var(--line-strong); }
.shot.raw::before { display: none; }
.shot.raw .bottle { filter: grayscale(0.4) drop-shadow(0 8px 10px rgba(0,0,0,0.12)); opacity: 0.85; }

/* ---------- 8. Logo marquee ---------- */
.logos { padding-block: 2.6rem; }
.logos-label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--faint);
  white-space: nowrap;
}
.marquee-track .serif { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Split + direction cards ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .split--sticky > :first-child { position: sticky; top: 110px; }
}
.split h2 { max-width: 15ch; }
.split .lede { margin-top: 1.4rem; }
.split .btn-row { margin-top: 2rem; }

.dir-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); }
.dir-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.4rem 1.4rem 1.3rem;
  display: grid;
  gap: 0.55rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dir-card:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(17,17,22,0.18); }
.dir-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.dir-icon svg { width: 16px; height: 16px; }
.dir-card h3 { font-size: var(--step-0); font-weight: 600; }
.dir-card p { font-size: var(--step--1); color: var(--muted); }

/* ---------- 10. Showcase grids ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.7rem, 1.4vw, 1.1rem); }
.shot-grid .shot { aspect-ratio: 4 / 5; }

/* ---------- 11. Tabs ---------- */
.tabs-bar {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tab-btn {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0.8rem 1.1rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.25s var(--ease);
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: -1px;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); }
.tab-btn.active::after { transform: scaleX(1); }

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  animation: tabIn 0.5s var(--ease);
}
@media (min-width: 860px) { .tab-panel.active { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
@keyframes tabIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tab-panel .shot { aspect-ratio: 4 / 3; }
.tab-copy h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--step-3); letter-spacing: 0.005em; }
.tab-copy p { color: var(--muted); margin-top: 0.9rem; max-width: 44ch; }
.tab-copy .tlink { margin-top: 1.4rem; }

/* ---------- 12. Process rows ---------- */
.process { display: grid; }
.step {
  display: grid;
  gap: 0.75rem 2.5rem;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid var(--line);
  align-items: center;
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 820px) {
  .step { grid-template-columns: 110px minmax(0, 22ch) minmax(0, 1fr); }
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-3);
  line-height: 1;
  color: #ce7244;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { letter-spacing: -0.02em; font-size: var(--step-1); font-weight: 600; }
.step p { color: var(--muted); max-width: 52ch; font-size: var(--step-0); }

/* ---------- 13. Value cards ---------- */
.value-grid { display: grid; gap: 0.9rem; }
@media (min-width: 680px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 16px 34px -20px rgba(17,17,22,0.18); }
.value .dir-icon { width: 38px; height: 38px; border-radius: 11px; }
.value h3 { font-size: var(--step-0); font-weight: 600; }
.value p { font-size: var(--step--1); color: var(--muted); }

/* ---------- 14. Gallery ---------- */
.filters { display: flex; gap: 0.35rem; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0.5rem 1.05rem;
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
  transition: all 0.28s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.filter-btn.active { background: var(--text); color: #fff; border-color: var(--text); }

.gallery { columns: 3; column-gap: 0.9rem; }
.g-item { break-inside: avoid; margin-bottom: 0.9rem; }
.g-item.hide { display: none; }
.asp-tall { aspect-ratio: 3/4; } .asp-sq { aspect-ratio: 1; }
.asp-wide { aspect-ratio: 5/4; } .asp-xtall { aspect-ratio: 2/3; }

/* ---------- 15. Before / after flow ---------- */
.flow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem 1.4rem;
  scroll-snap-type: x mandatory;
}
.flow::-webkit-scrollbar { height: 5px; }
.flow::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.flow-item { flex: 0 0 min(210px, 60vw); scroll-snap-align: center; text-align: center; }
.flow-item .shot { aspect-ratio: 4/5; margin-bottom: 0.7rem; }
.flow-item .cap { font-size: var(--step--1); font-weight: 500; color: var(--muted); }
.flow-arrow { flex: none; color: var(--faint); font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; }

/* ---------- 16. Compare table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--card); }
.compare th, .compare td {
  padding: 1rem 1.3rem;
  text-align: center;
  font-size: var(--step--1);
  border-bottom: 1px solid var(--line);
}
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { text-align: left; font-weight: 500; color: var(--text); }
.compare thead th { font-weight: 600; font-size: var(--step--1); padding: 1.1rem 1.3rem; color: var(--muted); }
.compare thead th.hl { color: var(--accent); }
.compare .hl { background: var(--accent-soft); }
.compare .yes { color: var(--accent); font-weight: 600; }
.compare .dim { color: var(--faint); }
.compare .cost { color: var(--faint); font-weight: 500; letter-spacing: 0.04em; }
.compare .no { color: #d4d4dc; }

/* ---------- 17. Pricing ---------- */
.price-card {
  max-width: 460px;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  box-shadow: 0 1px 2px rgba(17,17,22,0.03), 0 24px 60px -30px rgba(17,17,22,0.18);
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 0.42rem 0.95rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.price-num {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0;
}
.price-num sup { font-size: 0.38em; vertical-align: super; margin-right: 0.05em; }
.price-sub { color: var(--muted); font-size: var(--step--1); margin-top: 0.6rem; margin-bottom: 1.8rem; }
.price-list {
  text-align: left;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.price-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: var(--step--1);
  color: var(--muted);
}
.price-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--accent);
}
.price-note { font-size: 0.8125rem; color: var(--faint); margin-top: 1rem; }
.price-note strong { color: var(--text); }

/* ---------- 18. FAQ ---------- */
.faq { max-width: 720px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.15rem;
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .plus {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--text); color: #fff; border-color: var(--text); }
.faq details p { padding: 0 0.15rem 1.4rem; color: var(--muted); max-width: 62ch; font-size: var(--step-0); }
.faq details p strong { color: var(--text); }

/* ---------- 19. CTA band ---------- */
.cta-band {
  text-align: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  position: relative;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 50%;
  width: min(760px, 110vw);
  aspect-ratio: 1.8;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(206, 114, 68, 0.09), transparent 70%);
  z-index: -1;
}
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-3);
  color: #ce7244;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.5rem;
}
.cta-band .btn-row { justify-content: center; margin-top: 2.25rem; }
.cta-band .small { margin-top: 1.25rem; font-size: var(--step--1); color: var(--faint); }

/* ---------- 20. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand p { color: var(--muted); font-size: var(--step--1); margin-top: 1rem; max-width: 30ch; }
.foot-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.foot-col a { display: block; padding: 0.3rem 0; font-size: var(--step--1); color: var(--muted); transition: color 0.2s var(--ease); }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--faint);
}
.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.socials a svg { width: 15px; height: 15px; fill: var(--muted); transition: fill 0.3s var(--ease); }
.socials a:hover { background: var(--text); border-color: var(--text); }
.socials a:hover svg { fill: #fff; }

/* ---------- 21. Page hero (interior) ---------- */
.page-hero {
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(3rem, 5.5vw, 4.5rem);
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -55%;
  right: -12%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(206, 114, 68, 0.07), transparent 65%);
  z-index: -1;
}
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; }
.page-hero .lede { margin-top: 1.4rem; }
.page-hero .btn-row { margin-top: 2rem; }

/* ---------- 22. Philosophy / resources ---------- */
.philo { display: grid; gap: 0.9rem; }
@media (min-width: 780px) { .philo { grid-template-columns: repeat(3, 1fr); } }
.philo > div {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.philo b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--step-2);
  letter-spacing: 0.005em;
  margin-bottom: 0.5rem;
}
.philo p { color: var(--muted); font-size: var(--step--1); }

.res-grid { display: grid; gap: 0.9rem; }
@media (min-width: 720px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
.res-card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  display: block;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.res-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 16px 34px -20px rgba(17,17,22,0.18); }
.res-card h3 { font-size: var(--step-1); font-weight: 600; margin-bottom: 0.4rem; }
.res-card p { color: var(--muted); font-size: var(--step--1); }
.res-card .tlink { margin-top: 1.1rem; }

/* ---------- 23. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(7px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* word-stagger headline */
.split-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  transition-delay: var(--wd, 0s);
}
.split-words.words-in .w { opacity: 1; transform: none; filter: none; }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1020px) {
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}
@media (max-width: 720px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip > :nth-child(5) { display: none; }
  .dir-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; column-gap: 0.7rem; }
  .g-item { margin-bottom: 0.7rem; }
  .compare th, .compare td { padding: 0.8rem 0.85rem; }
}


/* ==========================================================================
   The Studio — dark futuristic console section
   ========================================================================== */
.studio {
  position: relative;
  background: #211510;
  color: #f5efe9;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  overflow: hidden;
  isolation: isolate;
}
.studio::before { /* faint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 35%, #000, transparent 78%);
  mask-image: radial-gradient(75% 65% at 50% 35%, #000, transparent 78%);
  z-index: -1;
}
.studio::after { /* violet bloom */
  content: "";
  position: absolute;
  top: -35%;
  left: 50%;
  width: min(820px, 110vw);
  aspect-ratio: 1.7;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(206,114,68,0.16), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.studio .eyebrow { color: #a89383; }
.studio .eyebrow::before { background: #ce7244; box-shadow: 0 0 10px rgba(206,114,68,0.7); }
.studio h2 { color: #fff; }

.studio .section-head p { color: #a89383; }

.studio-console {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: rgba(40,26,20,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(0.9rem, 1.6vw, 1.25rem);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(206,114,68,0.08);
}
@media (min-width: 880px) { .studio-console { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

.console-left { display: grid; gap: 0.9rem; align-content: start; padding: clamp(0.4rem, 1vw, 0.8rem); }
.console-bar { display: flex; gap: 6px; }
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.console-input {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  min-height: 3.4em;
  font-size: var(--step--1);
  color: #ddcfc2;
}
.console-input .caret { width: 2px; height: 1.1em; background: #d9ab7a; animation: caretBlink 1s steps(1) infinite; flex: none; }
@keyframes caretBlink { 50% { opacity: 0; } }
.console-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.console-chips span {
  border: 1px solid rgba(255,255,255,0.14);
  color: #a89383;
  border-radius: 100px;
  padding: 0.38rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 500;
}
.console-chips span.on { background: rgba(206,114,68,0.16); border-color: rgba(206,114,68,0.55); color: #eec9a8; }
.console-meta { border-top: 1px solid rgba(255,255,255,0.09); padding-top: 0.95rem; display: grid; gap: 0.55rem; font-size: var(--step--1); }
.console-meta .meta-row { display: flex; justify-content: space-between; gap: 1rem; }
.console-meta .meta-row span { color: #8a7364; }
.console-meta .meta-row b { color: #f0e4d8; font-weight: 500; }
.gen-btn {
  margin-top: 0.5rem;
  background: var(--grad);
  color: #fff;
  border-radius: 100px;
  padding: 0.85rem 1.2rem;
  text-align: center;
  font-weight: 600;
  font-size: var(--step--1);
  animation: genPulse 3s ease-in-out infinite;
}
@keyframes genPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(206,114,68,0.0), 0 0 24px rgba(206,114,68,0.18); }
  50% { box-shadow: 0 0 0 5px rgba(206,114,68,0.1), 0 0 44px rgba(206,114,68,0.35); }
}

.console-right { position: relative; }
.console-output { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: #1a100a; height: 100%; }
.console-output .shot {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}
.console-output .shot.active { opacity: 1; transform: none; }
.console-output .shot:hover { transform: none; }
.console-output .scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(206,114,68,0.16) 48%, rgba(255,244,230,0.55) 50%, rgba(206,114,68,0.16) 52%, transparent 100%);
  background-size: 100% 220%;
  animation: scanMove 3.4s ease-in-out infinite;
}
@keyframes scanMove { 0% { background-position: 0 -120%; } 60%, 100% { background-position: 0 220%; } }
.output-status {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 5;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(26,16,10,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.42rem 0.85rem;
  border-radius: 100px;
  font-size: 0.72rem;
  color: #ddcfc2;
}
.dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: #ce7244; animation: dotPulse 1.5s ease infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(206,114,68,0.55); }
  50% { box-shadow: 0 0 0 6px rgba(206,114,68,0); }
}

.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.studio-stats b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: var(--step-3); color: #fff; line-height: 1.1; }
.studio-stats span { font-size: var(--step--1); color: #8a7364; }


/* ==========================================================================
   Claymorphism layer — soft luxury studio surfaces
   ========================================================================== */
.dir-card, .value, .res-card, .philo > div {
  border: 0;
  background: var(--bg-soft);
  border-radius: 26px;
  box-shadow: var(--clay);
}
.dir-card:hover, .value:hover, .res-card:hover {
  border-color: transparent;
  box-shadow: 0 3px 6px rgba(51, 30, 27, 0.06), 0 34px 60px -22px rgba(51, 30, 27, 0.32),
    inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -10px 18px rgba(51, 30, 27, 0.06);
}
.price-card {
  border: 0;
  background: var(--bg-soft);
  border-radius: 34px;
  box-shadow: var(--clay);
}
.compare-wrap { border: 0; border-radius: 30px; box-shadow: var(--clay); background: #fff; }
.compare { background: transparent; }

.btn {
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.55), inset 0 -3px 7px rgba(0, 0, 0, 0.18),
    0 12px 28px -12px rgba(164, 85, 51, 0.55);
}
.btn--ghost {
  border: 0;
  background-color: #f4ede4;
  color: var(--text);
  box-shadow: var(--clay-sm);
}
.btn--ghost:hover { color: var(--accent); box-shadow: var(--clay-sm); }

.pill, .filter-btn {
  border: 0;
  background: #f6f0e8;
  box-shadow: var(--clay-sm);
}
.filter-btn.active { background: var(--text); color: #fff; box-shadow: inset 0 2px 5px rgba(0,0,0,0.35), 0 10px 20px -10px rgba(51,30,27,0.4); }
.brand-mark { border: 0; background: #f4ede4; box-shadow: var(--clay-sm); }
.socials a { border: 0; background: #f4ede4; box-shadow: var(--clay-sm); }
.faq summary .plus { border: 0; background: #f4ede4; box-shadow: var(--clay-sm); color: var(--muted); }
.nav-toggle { border: 0; background: #f4ede4; box-shadow: var(--clay-sm); }
.nav-links a[aria-current="page"] { border-color: transparent; box-shadow: var(--clay-sm); }

.shot { border-radius: 24px; }
.slide .shot { border-radius: 22px; }
.studio-console { border-radius: 30px; }
.console-output { border-radius: 20px; }
.upload-box { border: 0; background: var(--bg-soft); box-shadow: var(--clay); border-radius: 26px; }
.choose-box { border: 0; background: var(--bg-soft); box-shadow: var(--clay); border-radius: 26px; }
.gen-btn { box-shadow: inset 0 1.5px 2px rgba(255,255,255,0.5), inset 0 -3px 7px rgba(0,0,0,0.2); }

.marquee-track span { color: #b3a294; }
.hero-trust .stars { color: #c98d4b; }

/* ==========================================================================
   Motion layer 2 — progress bar, word marquee, before/after, testimonials
   ========================================================================== */

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  pointer-events: none;
}

/* giant serif word marquee divider */
.word-marquee {
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.word-marquee .row {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}
.word-marquee .row + .row { margin-top: 0.4rem; animation-direction: reverse; animation-duration: 52s; }
.word-marquee:hover .row { animation-play-state: paused; }
.word-marquee span {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  white-space: nowrap;
  color: var(--text);
  margin-right: 2.4rem;
}
.word-marquee .it {
  font-style: italic;
  color: #ce7244;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.word-marquee .ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(51, 30, 27, 0.3);
}
.word-marquee .sep { color: #d9ab7a; -webkit-text-fill-color: #d9ab7a; -webkit-text-stroke: 0; }

/* before / after comparator */
.ba {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--clay);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba .shot {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}
.ba .shot.raw { border: 0; }
.ba .shot:hover { transform: none; box-shadow: none; }
.ba-over { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0); z-index: 2; }
.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba, 50%);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(51, 30, 27, 0.12);
  z-index: 3;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: var(--ba, 50%);
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f4ede4;
  box-shadow: var(--clay-sm), 0 6px 18px rgba(51, 30, 27, 0.3);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 4;
  pointer-events: none;
}
.ba-label {
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 0.38rem 0.8rem;
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label.before { left: 14px; background: rgba(255, 255, 255, 0.88); color: var(--muted); }
.ba-label.after { right: 14px; background: rgba(26, 16, 10, 0.62); color: #f5efe9; backdrop-filter: blur(6px); }
.ba-hint { text-align: center; margin-top: 1.1rem; font-size: var(--step--1); color: var(--faint); }

/* testimonials marquee */
.testi { display: grid; gap: 1rem; overflow: hidden; }
.testi .t-row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.testi .t-row + .t-row { animation-direction: reverse; animation-duration: 72s; }
.testi:hover .t-row { animation-play-state: paused; }
.t-card {
  width: min(360px, 78vw);
  flex: none;
  margin-right: 1rem;
  background: var(--bg-soft);
  border-radius: 24px;
  box-shadow: var(--clay);
  padding: 1.5rem 1.6rem;
  white-space: normal;
}
.t-stars { color: #c98d4b; font-size: 0.72rem; letter-spacing: 2.5px; margin-bottom: 0.65rem; }
.t-card > p { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.45; color: var(--text); }
.t-head { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.15rem; }
.t-ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  background: var(--av, linear-gradient(135deg, #d9ab7a, #a4553a));
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45);
}
.t-name b { display: block; font-size: 0.85rem; letter-spacing: -0.01em; }
.t-name span { font-size: 0.75rem; color: var(--muted); }

/* press feedback */
.btn:active, .filter-btn:active, .tab-btn:active { filter: brightness(0.95); }
