/* ════════════════════════════════════════════════════════════════
   Glade Studio — design system
   Canopy palette · Zodiak + General Sans
   ════════════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Zodiak';
  src: url('assets/fonts/Zodiak-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('assets/fonts/Zodiak-VariableItalic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-VariableItalic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --cream:    #F9F5EE;
  --glow:     #EDD9A8;
  --gold:     #C4983A;
  --gold-ink: #8A6A1E;   /* contrast-safe gold for small text on cream — 4.65:1 */
  --forest:   #3A4832;
  --deep:     #241B0F;
  --deep-2:   #1A130A;

  --font-serif: 'Zodiak', Georgia, serif;
  --font-sans:  'General Sans', system-ui, sans-serif;

  /* Fluid type scale */
  --text-xs:   clamp(0.72rem,  1vw,   0.8rem);
  --text-sm:   clamp(0.875rem, 1.2vw, 1rem);
  --text-base: clamp(1rem,     1.5vw, 1.1rem);
  --text-lg:   clamp(1.1rem,   1.8vw, 1.35rem);
  --text-xl:   clamp(1.3rem,   2.2vw, 1.65rem);
  --text-2xl:  clamp(1.6rem,   3vw,   2.2rem);
  --text-3xl:  clamp(2.2rem,   5vw,   4rem);
  --text-hero: clamp(2.6rem,   5.5vw, 5rem);

  /* Z-index ladder */
  --z-canvas:  0;
  --z-content: 1;
  --z-grain:   400;
  --z-nav:     500;
  --z-loader:  900;
  --z-cursor:  1000;

  --gutter:    clamp(1.5rem, 6vw, 7rem);
  --max-w:     1200px;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);

  --preview-strip: #EAE0CC;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--cream);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: calc(var(--z-loader) + 1);
  background: var(--gold);
  color: var(--deep);
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 1rem; }

/* ── Visually hidden ───────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep-2); }
::-webkit-scrollbar-thumb {
  background: rgba(196, 152, 58, 0.4);
  border-radius: 3px;
}

/* ── WebGL canvas & fallback ───────────────────────────────── */
.glade-canvas {
  position: fixed;
  inset: 0;
  z-index: var(--z-canvas);
  pointer-events: none;
  display: block;
}
html.no-webgl .glade-canvas { display: none; }

.glade-fallback {
  position: fixed;
  inset: 0;
  z-index: var(--z-canvas);
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(196, 152, 58, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%,  rgba(58, 72, 50, 0.15) 0%, transparent 60%),
    var(--deep);
  display: none;
}
html.no-webgl .glade-fallback { display: block; }

/* ── Film grain ────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='256'%3E%3Cfilter%20id='g'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='.7'%20numOctaves='4'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='256'%20height='256'%20filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── Custom cursor ─────────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(196, 152, 58, 0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  border-color: rgba(237, 217, 168, 0.9);
}
body.cursor-hidden .cursor-dot,
body.cursor-hidden .cursor-ring { opacity: 0 !important; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ── Loader ────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--deep-2);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}
html.anim .loader { display: flex; }

.loader__mark {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.loader__glade {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-shadow: 0 0 60px rgba(196, 152, 58, 0.35);
}
.loader__rule {
  width: 1.5px;
  height: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--gold);
  transform: scaleY(0);
}
.loader__studio {
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(249, 245, 238, 0.66);
}
.loader__line {
  font-size: var(--text-xs);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
  color: rgba(196, 152, 58, 0.65);
  opacity: 0;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
html.anim .nav { opacity: 0; }

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.nav__logo-glade {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: normal;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--cream);
  transition: color var(--transition);
}
.nav__logo-rule {
  width: 1.5px; height: 1rem;
  background: var(--gold);
  align-self: center;
  flex-shrink: 0;
}
.nav__logo-studio {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(249, 245, 238, 0.66);
  transition: color var(--transition);
}

.nav__links {
  display: flex;
  gap: 2.4rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.nav__links a {
  position: relative;
  color: rgba(249, 245, 238, 0.68);
  transition: color var(--transition);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { right: 0; }

.nav__cta {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249, 245, 238, 0.8);
  border: 1px solid rgba(249, 245, 238, 0.28);
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
}
.nav__cta:hover {
  border-color: var(--gold);
  color: var(--glow);
  box-shadow: 0 0 24px rgba(196, 152, 58, 0.25);
}
.nav__cta:focus-visible { border-radius: 9999px; }

/* Frosted-cream state over light sections */
.nav.nav--light {
  background: rgba(249, 245, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(196, 152, 58, 0.35);
}
.nav.nav--light .nav__logo-glade  { color: var(--deep); }
.nav.nav--light .nav__logo-studio { color: rgba(36, 27, 15, 0.62); }
.nav.nav--light .nav__links a       { color: rgba(36, 27, 15, 0.62); }
.nav.nav--light .nav__links a:hover { color: var(--deep); }
.nav.nav--light .nav__cta {
  color: var(--deep);
  border-color: rgba(36, 27, 15, 0.4);
}
.nav.nav--light .nav__cta:hover {
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--cream);
  transition: color var(--transition);
  min-width: 44px; min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav.nav--light .nav__hamburger { color: var(--deep); }
.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(20, 15, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 5.5rem 2rem 2.5rem;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.38s var(--ease);
}
.nav-mobile__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.2rem;
  color: rgba(249, 245, 238, 0.6);
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.nav-mobile__close:hover { color: var(--cream); }
.nav-mobile.is-open { transform: translateY(0); }
@media (max-width: 820px) { .nav-mobile { display: block; } }

.nav-mobile li a {
  display: block;
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(249, 245, 238, 0.82);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(249, 245, 238, 0.07);
  transition: color 0.2s;
}
.nav-mobile li a:hover { color: var(--cream); }
.nav-mobile__cta {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196, 152, 58, 0.35);
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
}

/* ── Layout ────────────────────────────────────────────────── */
main { position: relative; z-index: var(--z-content); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section--dark  { background: transparent; color: var(--cream); }
.section--light { background: var(--cream); color: var(--deep); position: relative; }

/* ── Section furniture ─────────────────────────────────────── */
.section-header { margin-bottom: clamp(3rem, 6vh, 5rem); }
.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: rgba(196, 152, 58, 0.55);
  flex-shrink: 0;
}
.section-header--center .section-label::after {
  content: '';
  width: 28px; height: 1px;
  background: rgba(196, 152, 58, 0.55);
}
/* On light sections use contrast-safe dark gold */
.section--light .section-label { color: var(--gold-ink); }
.section--light .section-label::before,
.section--light .section-label::after { background: rgba(138, 106, 30, 0.45); }

.section-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-3xl);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.section--light .section-heading { color: var(--deep); }
.section--dark  .section-heading { color: var(--cream); }

/* Split-word mask reveal */
.section-heading .w-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.section-heading .w { display: inline-block; will-change: transform; }

/* Generic reveal targets */
html.anim [data-reveal] { opacity: 0; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 9999px;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition),
              border-color var(--transition);
  will-change: transform;
}
.btn:focus-visible { border-radius: 9999px; }
.btn__arrow { display: inline-block; transition: transform var(--transition); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--gold {
  background: var(--gold);
  color: var(--deep);
  box-shadow: 0 0 28px rgba(196, 152, 58, 0.22), 0 4px 14px rgba(0, 0, 0, 0.35);
}
.btn--gold:hover {
  box-shadow: 0 0 56px rgba(196, 152, 58, 0.5), 0 8px 28px rgba(0, 0, 0, 0.45);
}
.btn--ghost-light {
  color: var(--cream);
  border: 1px solid rgba(249, 245, 238, 0.3);
}
.btn--ghost-light:hover {
  border-color: var(--gold);
  color: var(--glow);
  box-shadow: 0 0 32px rgba(196, 152, 58, 0.2);
}
.btn--ghost-dark {
  color: var(--deep);
  border: 1px solid rgba(36, 27, 15, 0.35);
}
.btn--ghost-dark:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--cream);
}

/* ════════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════════ */

/* ── 01 · Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(7rem, 16vh, 11rem) var(--gutter) clamp(9rem, 22vh, 16rem);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(196, 152, 58, 0.85);
  margin-bottom: clamp(1.5rem, 3vh, 2.4rem);
}
.hero__eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(196, 152, 58, 0.9);
  flex-shrink: 0;
}
html.anim .hero__eyebrow { opacity: 0; }

.hero__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-hero);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow: 0 0 80px rgba(196, 152, 58, 0.2);
  margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
  text-wrap: balance;
}
.hero__headline-line { display: block; }
html.anim .hero__headline-line { opacity: 0; }

.hero__sub {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(249, 245, 238, 0.68);
  max-width: 52ch;
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin-bottom: clamp(2.2rem, 4.5vh, 3.2rem);
}
html.anim .hero__sub { opacity: 0; }
html.anim .hero__cta-wrap { opacity: 0; }

/* The enormous display text at the base of the hero */
.hero__display {
  position: absolute;
  bottom: -0.08em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(100px, 19vw, 340px);
  line-height: 1;
  color: var(--glow);
  opacity: 0.07;
  letter-spacing: 0.16em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  will-change: opacity;
}
html.anim .hero__display { opacity: 0; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}
html.anim .hero__scroll { opacity: 0; }
.hero__scroll-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(196, 152, 58, 0.6);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(196, 152, 58, 0.55), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-line { animation: scrollPulse 2.6s ease-in-out infinite; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.9; }
}

/* ── 02 · Stats ─────────────────────────────────────────────── */
.stats {
  background: var(--deep-2);
  border-top: 1px solid rgba(196, 152, 58, 0.12);
  border-bottom: 1px solid rgba(196, 152, 58, 0.12);
  padding: clamp(3.5rem, 7vh, 5.5rem) var(--gutter);
}
.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 820px) {
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(196, 152, 58, 0.1);
}
.stat:last-child { border-right: none; padding-right: 0; }
@media (max-width: 820px) {
  .stat:nth-child(2) { border-right: none; padding-right: 0; }
  .stat:nth-child(3) { border-right: 1px solid rgba(196, 152, 58, 0.1); padding-right: 2rem; }
}

.stat__num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  line-height: 1;
  color: var(--cream);
  display: block;
}
.stat__sfx {
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 0.05em;
}
.stat__label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249, 245, 238, 0.55);
  line-height: 1.4;
}

/* ── 03 · Services ──────────────────────────────────────────── */
.services {
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}

.svc-list {
  border-top: 1px solid rgba(36, 27, 15, 0.12);
  margin-bottom: clamp(3rem, 6vh, 5rem);
}
.svc-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
  padding: clamp(2rem, 4vh, 3rem) 0;
  border-bottom: 1px solid rgba(36, 27, 15, 0.10);
  transition: background 0.3s ease;
}
.svc-row:hover { background: rgba(196, 152, 58, 0.03); }
@media (max-width: 640px) {
  .svc-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.6rem;
  }
  .svc-row__num { display: none; }
  .svc-row__price { margin-top: 0.5rem; }
}

.svc-row__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  color: rgba(36, 27, 15, 0.18);
  line-height: 1;
  padding-top: 0.1em;
}
.svc-row__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--deep);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.svc-row__desc {
  font-size: var(--text-sm);
  color: rgba(36, 27, 15, 0.65);
  line-height: 1.75;
  max-width: 50ch;
}
.svc-row__price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--deep);
  white-space: nowrap;
  padding-top: 0.1em;
}
.services__footer {
  display: flex;
  justify-content: flex-start;
}

/* ── 04 · Work ──────────────────────────────────────────────── */
.work {
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}

.work__case {
  margin-bottom: clamp(5rem, 10vh, 8rem);
}
.work__secondary {
  border-top: 1px solid rgba(249, 245, 238, 0.08);
  padding-top: clamp(5rem, 10vh, 8rem);
}

.work__case-meta {
  margin-bottom: 2rem;
}
.work__case-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 152, 58, 0.8);
  margin-bottom: 0.75rem;
}
.work__case-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.work__case-desc {
  font-size: var(--text-sm);
  color: rgba(249, 245, 238, 0.62);
  max-width: 56ch;
  line-height: 1.8;
}
.work__case-cta, .work__visit {
  margin-top: 2rem;
}

/* Browser mockup */
.browser-mock {
  border-radius: clamp(10px, 1.5vw, 18px);
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(249, 245, 238, 0.07),
    0 0 80px rgba(196, 152, 58, 0.06);
  margin-bottom: 1.5rem;
}
.browser-mock__chrome {
  background: rgba(30, 22, 12, 0.95);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.browser-mock__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-mock__dot:nth-child(1) { background: #FF5F57; }
.browser-mock__dot:nth-child(2) { background: #FFBE2E; }
.browser-mock__dot:nth-child(3) { background: #2ACB42; }
.browser-mock__bar {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(249, 245, 238, 0.35);
  background: rgba(249, 245, 238, 0.05);
  padding: 0.22rem 1rem;
  border-radius: 4px;
  max-width: 280px;
  margin: 0 auto;
}
.browser-mock__screen {
  overflow: hidden;
  background: #F6F2EA;
}

/* Static CSS site preview (replaces iframe — no perf hit) */
.site-preview {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
}
.site-preview__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.6rem;
  border-bottom: 1px solid rgba(44, 55, 40, 0.08);
  background: #F6F2EA;
}
.site-preview__logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: #2A3528;
}
.site-preview__navlinks {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(42, 53, 40, 0.38);
}
.site-preview__hero {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(150deg, #F6F2EA 0%, #EBE3D4 55%, #DDD4C0 100%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.site-preview__tag {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A8B68;
}
.site-preview__hl {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: #2A3528;
}
.site-preview__hl em {
  font-style: italic;
  color: #5A7848;
}
.site-preview__body {
  font-size: 0.78rem;
  color: rgba(42, 53, 40, 0.52);
  line-height: 1.65;
  max-width: 38ch;
}
.site-preview__btn {
  display: inline-flex;
  background: #5A7848;
  color: #F6F2EA;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  width: fit-content;
  margin-top: 0.4rem;
}
.site-preview__strip {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 1.6rem;
  border-top: 1px solid rgba(44, 55, 40, 0.08);
  background: var(--preview-strip);
  flex-wrap: wrap;
}
.site-preview__strip span {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(42, 53, 40, 0.4);
}
.site-preview__dot { opacity: 0.3; }

/* Transformation device (HAAR before/after) */
.tx { margin-bottom: 1.5rem; }
.tx__intro {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}
.tx__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249, 245, 238, 0.6);
}
.tx__hint {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--gold);
  transition: opacity 0.4s ease;
}
.tx__frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 24px);
  aspect-ratio: 16 / 9;
  background: var(--deep-2);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(249, 245, 238, 0.07),
    0 0 80px rgba(196, 152, 58, 0.07);
  cursor: url('assets/wand.svg') 4 4, pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.tx__frame img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}
.tx__before { z-index: 1; filter: saturate(0.7) brightness(0.92); }
.tx__after-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: circle(0px at 50% 50%);
  will-change: clip-path;
}
.tx__after { position: absolute; inset: 0; }
.tx__bloom {
  position: absolute;
  top: 0; left: 0;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 250, 235, 0.95) 0%,
    rgba(237, 217, 168, 0.8) 20%,
    rgba(196, 152, 58, 0.55) 45%,
    rgba(196, 152, 58, 0.15) 65%,
    transparent 78%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  will-change: transform, opacity;
}

/* ── 05 · Process ───────────────────────────────────────────── */
.process {
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}

.proc-list {
  border-top: 1px solid rgba(36, 27, 15, 0.12);
}
.proc-item {
  border-bottom: 1px solid rgba(36, 27, 15, 0.10);
}

.proc-item__trigger {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.6rem, 3.5vh, 2.4rem) 0;
  transition: color 0.25s ease;
  color: var(--deep);
}
.proc-item__trigger:hover .proc-item__title { color: rgba(36, 27, 15, 0.7); }

.proc-item__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  color: rgba(36, 27, 15, 0.2);
  line-height: 1;
}
.proc-item__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--deep);
  transition: color 0.25s ease;
}
.proc-item__icon {
  width: 18px; height: 18px;
  position: relative;
  justify-self: end;
  flex-shrink: 0;
}
.proc-item__icon::before,
.proc-item__icon::after {
  content: '';
  position: absolute;
  background: rgba(36, 27, 15, 0.45);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.proc-item__icon::before { width: 18px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.proc-item__icon::after  { width: 1.5px; height: 18px; top: 0; left: 50%; transform: translateX(-50%); }
.proc-item.is-open .proc-item__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.proc-item.is-open .proc-item__trigger { color: rgba(36, 27, 15, 0.7); }

/* CSS grid trick for smooth height animation without GSAP */
.proc-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.proc-item.is-open .proc-item__body {
  grid-template-rows: 1fr;
}
.proc-item__body-inner { overflow: hidden; }
.proc-item__body-inner p {
  font-size: var(--text-sm);
  line-height: 1.85;
  color: rgba(36, 27, 15, 0.62);
  max-width: 64ch;
  padding: 0 0 clamp(1.6rem, 3.5vh, 2.4rem) 0;
  padding-left: calc(64px + 1.5rem);
}
@media (max-width: 640px) {
  .proc-item__trigger { grid-template-columns: 48px 1fr 28px; gap: 1rem; }
  .proc-item__body-inner p { padding-left: 0; }
}

/* ── 06 · Testimonials ──────────────────────────────────────── */
.testimonials {
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.testi {
  background: rgba(249, 245, 238, 0.04);
  border: 1px solid rgba(249, 245, 238, 0.08);
  border-radius: 16px;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.testi:hover {
  border-color: rgba(196, 152, 58, 0.25);
  background: rgba(196, 152, 58, 0.04);
}
.testi__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(249, 245, 238, 0.82);
  flex: 1;
}
.testi__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testi__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(196, 152, 58, 0.2);
  flex-shrink: 0;
}
.testi__name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cream);
}
.testi__role {
  display: block;
  font-size: var(--text-xs);
  color: rgba(249, 245, 238, 0.55);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* ── 07 · Pricing ───────────────────────────────────────────── */
.pricing {
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}
.pricing__lead {
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(36, 27, 15, 0.7);
  max-width: 52ch;
  line-height: 1.8;
  text-align: center;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.pricing-card {
  border: 1px solid rgba(36, 27, 15, 0.12);
  border-radius: 16px;
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  background: var(--cream);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.pricing-card:hover {
  box-shadow: 0 16px 50px rgba(36, 27, 15, 0.1);
  border-color: rgba(36, 27, 15, 0.2);
}
.pricing-card--featured {
  border-color: var(--gold);
  background: var(--deep);
  color: var(--cream);
  box-shadow: 0 20px 60px rgba(36, 27, 15, 0.3), 0 0 0 1px var(--gold);
}
.pricing-card--featured:hover {
  box-shadow: 0 28px 80px rgba(36, 27, 15, 0.4), 0 0 0 1px var(--gold);
}

.pricing-card__badge {
  position: absolute;
  top: -1px; right: 2rem;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 0 0 8px 8px;
}
.pricing-card__tier {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.5rem;
}
.pricing-card--featured .pricing-card__tier { color: rgba(249, 245, 238, 0.5); }
.pricing-card__price {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-card--featured .pricing-card__price { color: var(--cream); }
.pricing-card__sub {
  font-size: var(--text-sm);
  color: rgba(36, 27, 15, 0.55);
  line-height: 1.5;
}
.pricing-card--featured .pricing-card__sub { color: rgba(249, 245, 238, 0.6); }
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.pricing-card__features li {
  font-size: var(--text-xs);
  color: rgba(36, 27, 15, 0.65);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(36, 27, 15, 0.3);
}
.pricing-card--featured .pricing-card__features li { color: rgba(249, 245, 238, 0.7); }
.pricing-card--featured .pricing-card__features li::before { background: var(--gold); }

.pricing__note {
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(36, 27, 15, 0.68);
  margin-top: 2.5rem;
  line-height: 1.6;
}

/* ── 08 · FAQ ────────────────────────────────────────────────── */
.faq {
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}

.faq-list {
  max-width: 820px;
  border-top: 1px solid rgba(249, 245, 238, 0.08);
}
.faq-item {
  border-bottom: 1px solid rgba(249, 245, 238, 0.08);
}
.faq-item__trigger {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vh, 2rem) 0;
  color: var(--cream);
  transition: color 0.25s ease;
}
.faq-item__trigger:hover { color: rgba(249, 245, 238, 0.7); }
.faq-item__question {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.3;
  flex: 1;
}
.faq-item__icon {
  width: 18px; height: 18px;
  position: relative;
  flex-shrink: 0;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: rgba(249, 245, 238, 0.5);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.faq-item__icon::before { width: 18px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-item__icon::after  { width: 1.5px; height: 18px; top: 0; left: 50%; transform: translateX(-50%); }
.faq-item.is-open .faq-item__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item.is-open .faq-item__trigger { color: rgba(249, 245, 238, 0.7); }

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }
.faq-item__body-inner { overflow: hidden; }
.faq-item__body-inner p {
  font-size: var(--text-sm);
  line-height: 1.85;
  color: rgba(249, 245, 238, 0.58);
  max-width: 64ch;
  padding-bottom: clamp(1.4rem, 3vh, 2rem);
}

/* ── 09 · Contact ───────────────────────────────────────────── */
.contact {
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
}
.contact__intro {
  margin-top: 1.2rem;
  font-size: var(--text-sm);
  color: rgba(36, 27, 15, 0.55);
  max-width: 48ch;
  line-height: 1.8;
}

.contact__body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact__body { grid-template-columns: 1fr; }
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 640px) {
  .contact__form { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(36, 27, 15, 0.68);
}
.field__input {
  width: 100%;
  background: rgba(36, 27, 15, 0.05);
  border: 1px solid rgba(36, 27, 15, 0.16);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--deep);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
}
.field__input::placeholder { color: rgba(36, 27, 15, 0.3); }
.field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 152, 58, 0.12);
}
.field__input--ta {
  resize: vertical;
  min-height: 130px;
}

.contact__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.contact__or {
  font-size: var(--text-xs);
  font-style: italic;
  color: rgba(36, 27, 15, 0.35);
}

.contact__aside {
  padding-top: 1rem;
}
.contact__aside p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(36, 27, 15, 0.7);
  margin-bottom: 1rem;
}
.contact__aside a {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact__aside-meta {
  font-size: var(--text-xs) !important;
  letter-spacing: 0.04em;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  position: relative;
  padding-top: clamp(3rem, 6vh, 5rem);
  overflow: hidden;
}

.footer__display {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(100px, 19vw, 340px);
  line-height: 0.85;
  color: var(--glow);
  opacity: 0.06;
  letter-spacing: 0.16em;
  user-select: none;
  pointer-events: none;
  margin-bottom: -0.14em;
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(3rem, 6vh, 5rem);
  border-top: 1px solid rgba(249, 245, 238, 0.07);
  padding-top: 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 820px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.footer__logo-glade {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: normal;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: -0.015em;
}
.footer__logo-rule {
  width: 1.5px; height: 0.9rem;
  background: var(--gold);
  align-self: center;
}
.footer__logo-studio {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(249, 245, 238, 0.66);
}
.footer__tagline {
  font-size: var(--text-xs);
  font-style: italic;
  color: rgba(249, 245, 238, 0.5);
  line-height: 1.5;
  max-width: 28ch;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__nav a {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(249, 245, 238, 0.5);
  transition: color 0.25s ease;
}
.footer__nav a:hover { color: var(--cream); }
@media (max-width: 820px) {
  .footer__nav { flex-direction: row; flex-wrap: wrap; gap: 0.8rem 1.5rem; }
}

.footer__legal {
  text-align: right;
}
.footer__legal p {
  font-size: var(--text-xs);
  color: rgba(249, 245, 238, 0.55);
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.footer__legal a {
  color: rgba(249, 245, 238, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 820px) { .footer__legal { text-align: left; } }
