/* =========================================================
   Spades Atelier — stylesheet
   Palette drawn from the studio's own work: ivory plaster,
   warm taupe, espresso wood and brushed brass.
   ========================================================= */

:root {
  --ivory: #f4efe7;
  --bone: #ebe3d6;
  --sand: #ded2bf;
  --taupe: #8c7b6b;
  --mocha: #5a4a3e;
  --espresso: #1c1714;
  --espresso-2: #241e1a;
  --ink: #2a231f;
  --brass: #b89060;
  --brass-light: #d4b083;
  --line-dark: rgba(42, 35, 31, .14);
  --line-light: rgba(244, 239, 231, .16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--brass); color: var(--espresso); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 12vw, 176px) 0; position: relative; }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--sand { background: var(--bone); }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  color: var(--taupe);
}
.section--dark .eyebrow { color: var(--brass-light); }
.eyebrow .line { width: 42px; height: 1px; background: currentColor; display: inline-block; opacity: .7; }
.eyebrow--center { justify-content: center; }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0 0 28px;
}
.h2 em { color: var(--brass); font-weight: 300; }
.section--dark .h2 em { color: var(--brass-light); }

.section__head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 880px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__head--row .h2 { margin-bottom: 0; }
.section__note { max-width: 300px; margin: 0; color: var(--taupe); font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px; border-radius: 100px;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--brass); color: var(--espresso); }
.btn--solid::before { background: var(--ivory); }
.btn--ghost { border: 1px solid rgba(244, 239, 231, .5); color: var(--ivory); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--espresso); }
.btn--line { border: 1px solid var(--line-dark); color: var(--ink); }
.btn--line::before { background: var(--espresso); }
.btn--line:hover { color: var(--ivory); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; color: var(--mocha); }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translate(3px, -3px); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--brass-light);
}
.loader__inner { text-align: center; }
.loader__spade { width: 54px; height: auto; margin: 0 auto 22px; }
.loader__spade path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__word { font-family: var(--serif); font-size: clamp(30px, 5vw, 48px); color: var(--ivory); letter-spacing: .02em; overflow: hidden; }
.loader__word span, .loader__word em { display: inline-block; animation: rise 1.1s .3s var(--ease) both; }
.loader__word em { color: var(--brass-light); font-weight: 300; animation-delay: .42s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.loader__count { margin-top: 18px; font-size: 11px; letter-spacing: .3em; color: var(--taupe); }
.loader__curtain { position: absolute; inset: 0; background: var(--ivory); transform: translateY(100%); }
.loader.is-done { pointer-events: none; }


/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--gutter);
  color: var(--ivory);
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.nav.is-scrolled {
  background: rgba(244, 239, 231, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  color: var(--ink); padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 25px; letter-spacing: .01em; margin-right: auto; white-space: nowrap; }
.nav__logo em { font-weight: 300; color: var(--brass-light); }
.nav.is-scrolled .nav__logo em { color: var(--brass); }
.nav__mark { width: 18px; height: auto; color: var(--brass); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: 13px; letter-spacing: .08em; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 44px; padding: 0 22px; font-size: 11.5px; color: inherit; border-color: currentColor; border-color: rgba(244, 239, 231, .4); }
.nav.is-scrolled .nav__cta { border-color: var(--line-dark); }
.nav__cta::before { background: var(--brass); }
.nav__cta:hover { color: var(--espresso); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-open .nav { color: var(--ivory); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .nav__logo em { color: var(--brass-light); }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; color: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; }
.menu__bg { position: absolute; inset: 0; background: var(--espresso); clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease-in-out); }
.menu-open .menu { visibility: visible; }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu__links { position: relative; display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--serif); font-size: clamp(42px, 11vw, 64px); line-height: 1.12; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu__links small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--brass-light); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .45s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .5s; }
.menu__foot { position: relative; margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--sand); opacity: 0; transition: opacity .6s .55s; }
.menu-open .menu__foot { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; background: var(--espresso); }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 115%; object-fit: cover; object-position: center 40%; will-change: transform; }

/* Hero background motion: slow drifting zoom, light sweep, glowing orbs, golden dust */
.hero__kb { position: absolute; inset: 0; animation: kenburns 26s ease-in-out infinite alternate; will-change: transform; transform-origin: 60% 40%; }
@keyframes kenburns {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  50%  { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
  100% { transform: scale(1.14) translate3d(1.5%, -1.5%, 0); }
}
.hero__sweep { position: absolute; inset: 0; pointer-events: none; overflow: hidden; mix-blend-mode: soft-light; }
.hero__sweep::before { content: ""; position: absolute; top: -50%; bottom: -50%; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 228, 180, .55) 50%, transparent 100%);
  transform: rotate(12deg); animation: sweep 9s ease-in-out infinite; }
@keyframes sweep { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.hero__glow { position: absolute; inset: 0; pointer-events: none; }
.hero__glow span { position: absolute; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen; opacity: .55; }
.hero__glow span:first-child { width: 46vmax; height: 46vmax; left: -12vmax; top: 10%; background: radial-gradient(circle, rgba(212, 176, 131, .45), transparent 65%); animation: orbA 18s ease-in-out infinite alternate; }
.hero__glow span:last-child { width: 38vmax; height: 38vmax; right: -10vmax; bottom: -8vmax; background: radial-gradient(circle, rgba(184, 120, 70, .4), transparent 65%); animation: orbB 22s ease-in-out infinite alternate; }
@keyframes orbA { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes orbB { to { transform: translate(-16vw, -14vh) scale(.9); } }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20, 16, 13, .6) 0%, rgba(20, 16, 13, .15) 55%, transparent 80%),
  linear-gradient(180deg, rgba(20, 16, 13, .55) 0%, rgba(20, 16, 13, .12) 30%, rgba(20, 16, 13, .35) 60%, rgba(20, 16, 13, .88) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter) clamp(56px, 8vw, 96px); }
.hero__eyebrow { color: var(--sand); }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 11.5vw, 184px); line-height: .9; letter-spacing: -.025em; margin: 0 0 clamp(28px, 4vw, 48px); }
.hero__title .row { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .w { display: inline-block; }
.hero__title em { color: var(--brass-light); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero__lede { max-width: 440px; margin: 0; font-size: 16px; color: rgba(244, 239, 231, .82); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__rating { position: absolute; z-index: 2; top: 50%; right: var(--gutter); display: flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid var(--line-light); border-radius: 100px; background: rgba(28, 23, 20, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__rating strong { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1; }
.hero__rating div { display: flex; flex-direction: column; line-height: 1.3; }
.stars { color: var(--brass-light); letter-spacing: .12em; font-size: 13px; }
.hero__rating small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--brass-light), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--ivory); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--espresso); color: var(--sand); border-top: 1px solid var(--line-light); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee i { color: var(--brass); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Studio ---------- */
.manifesto { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 62px); line-height: 1.16; font-weight: 400; letter-spacing: -.01em; margin: 0 0 clamp(64px, 9vw, 128px); max-width: 1180px; }
.manifesto .word { color: rgba(42, 35, 31, .16); transition: color .2s; }
.manifesto .word.is-lit { color: var(--ink); }
.no-js .manifesto .word, .reduced .manifesto .word { color: var(--ink); }
.studio__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.studio__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.studio__img img { width: 100%; height: 120%; object-fit: cover; }
.studio__text p { margin: 0 0 22px; font-size: 17px; color: var(--mocha); max-width: 480px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line-dark); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--ink); }
.stat__label { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); line-height: 1.4; }

/* ---------- Image reveal ---------- */
.img-reveal { position: relative; overflow: hidden; }
.js .img-reveal { clip-path: inset(100% 0 0 0); }
.js .img-reveal img { transform: scale(1.25); }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1400px; }
.svc-card {
  position: relative; background: var(--espresso-2); border: 1px solid var(--line-light); border-radius: 4px; overflow: hidden;
  transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .5s, box-shadow .6s var(--ease);
  will-change: transform;
}
.svc-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 176, 131, .16), transparent 40%); opacity: 0; transition: opacity .5s; }
.svc-card:hover { border-color: rgba(212, 176, 131, .45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.svc-card:hover::after { opacity: 1; }
.svc-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter 1s; filter: saturate(.85) brightness(.9); }
.svc-card:hover .svc-card__img img { transform: scale(1.12); filter: none; }
.svc-card__body { padding: 34px 32px 38px; transform: translateZ(30px); }
.svc-card__num { font-size: 12px; letter-spacing: .2em; color: var(--brass-light); }
.svc-card h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 10px 0 14px; line-height: 1.1; }
.svc-card p { margin: 0 0 22px; color: rgba(244, 239, 231, .68); font-size: 15px; }
.svc-card ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 8px; }
.svc-card li { font-size: 13.5px; color: var(--sand); display: flex; gap: 12px; align-items: center; }
.svc-card li::before { content: ""; width: 14px; height: 1px; background: var(--brass); }

/* ---------- Feature ---------- */
.feature__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.feature__media { position: relative; }
.feature__img { margin: 0; aspect-ratio: 3 / 4; border-radius: 2px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__tag { position: absolute; left: -1px; bottom: 28px; background: var(--ivory); padding: 12px 20px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mocha); }
.feature__text > p { color: var(--mocha); font-size: 17px; max-width: 500px; margin: 0 0 32px; }
.feature__list { list-style: none; padding: 0; margin: 0 0 40px; border-top: 1px solid var(--line-dark); }
.feature__list li { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--serif); font-size: 22px; transition: padding .5s var(--ease), color .4s; }
.feature__list li:hover { padding-left: 12px; color: var(--brass); }
.feature__list span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--taupe); padding-top: 8px; }

/* ---------- Work (horizontal) ---------- */
.work { padding-top: clamp(88px, 12vw, 160px); padding-bottom: clamp(64px, 8vw, 120px); overflow: hidden; }
.work__head { position: relative; }
.work__hint { position: absolute; right: var(--gutter); bottom: 8px; margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.work__hint span { display: inline-block; animation: nudge 1.8s var(--ease-in-out) infinite; color: var(--brass-light); }
@keyframes nudge { 50% { transform: translateX(8px); } }
.work__pin { padding-top: 24px; }
.work__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); width: max-content; }
.project { width: clamp(280px, min(36vw, 62vh), 540px); flex-shrink: 0; }
.project--tall { width: clamp(220px, min(24vw, 40vh), 380px); }
.project__img { aspect-ratio: 4 / 3.1; overflow: hidden; border-radius: 3px; background: var(--espresso-2); }
.project--tall .project__img { aspect-ratio: 3 / 4; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease), filter 1s; filter: brightness(.92); }
.project:hover .project__img img { transform: scale(1); filter: none; }
.project__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding-top: 20px; }
.project__meta span { grid-row: span 2; font-size: 11px; letter-spacing: .2em; color: var(--brass-light); padding-top: 9px; }
.project__meta h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); margin: 0; line-height: 1.2; }
.project__meta p { margin: 2px 0 0; color: var(--taupe); font-size: 13.5px; letter-spacing: .04em; }
.project--cta { width: clamp(280px, 30vw, 440px); padding: 40px; text-align: left; }
.project--cta p { font-family: var(--serif); font-size: clamp(40px, 4.5vw, 66px); line-height: 1.02; margin: 0 0 32px; }
.project--cta em { color: var(--brass-light); font-weight: 300; }

/* ---------- Process ---------- */
.process__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.process__intro { position: sticky; top: 110px; }
.process__intro > p { color: var(--mocha); font-size: 17px; max-width: 480px; margin: 0 0 40px; }
.process__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 480px; }
.process__photos figure { margin: 0; aspect-ratio: 3 / 4; border-radius: 2px; }
.process__photos figure:last-child { margin-top: 48px; }
.process__photos img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--line-dark); }
.steps__line i { position: absolute; inset: 0; background: var(--brass); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 0 0 clamp(48px, 6vw, 84px); }
.step:last-of-type { padding-bottom: 0; }
.step__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line-dark); font-size: 12px; letter-spacing: .1em; color: var(--taupe); transition: background .6s var(--ease), color .6s, border-color .6s; }
.step.is-active .step__num { background: var(--espresso); color: var(--brass-light); border-color: var(--espresso); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); margin: 6px 0 10px; line-height: 1.1; }
.step p { margin: 0; color: var(--mocha); max-width: 440px; }

/* ---------- Quote band ---------- */
.band { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; color: var(--ivory); background: var(--espresso); }
.band__media { position: absolute; inset: -15% 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(28, 23, 20, .2), rgba(28, 23, 20, .75)); }
.band__content { position: relative; z-index: 1; text-align: center; }
.band__quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(48px, 9vw, 140px); line-height: 1; margin: 0 0 28px; letter-spacing: -.02em; }
.band__quote .word { opacity: .15; transition: opacity .3s; }
.band__quote .word.is-lit { opacity: 1; }
.band__by { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-light); }

/* ---------- Journal flip cards ---------- */
.journal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flip { display: block; width: 100%; aspect-ratio: 3 / 4.2; perspective: 1600px; text-align: left; }
.flip__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
@media (hover: hover) { .flip:hover .flip__inner { transform: rotateY(180deg); } }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; display: block; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 4px; overflow: hidden; }
.flip__front img { width: 100%; height: 100%; object-fit: cover; }
.flip__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(28, 23, 20, .85)); }
.flip__cap { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; color: var(--ivory); display: flex; flex-direction: column; gap: 6px; }
.flip__cap small, .flip__back small { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-light); }
.flip__cap strong { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.1; }
.flip__cap i { font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-top: 8px; }
.flip__back { transform: rotateY(180deg); background: var(--espresso); color: var(--ivory); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; justify-content: flex-end;
  background-image: radial-gradient(circle at 85% 12%, rgba(184, 144, 96, .22), transparent 45%); }
.flip__back::before { content: "♠"; position: absolute; top: 24px; left: 28px; color: var(--brass); font-size: 18px; }
.flip__back strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.08; }
.flip__back span { font-size: 14.5px; line-height: 1.65; color: rgba(244, 239, 231, .75); }

/* ---------- Reviews ---------- */
.reviews { text-align: center; }
.reviews__slider { position: relative; display: grid; max-width: 1080px; margin: 0 auto; }
.review { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility .9s; }
.review.is-active { opacity: 1; visibility: visible; transform: none; }
.review p { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 64px); line-height: 1.14; margin: 0 0 28px; font-weight: 400; }
.review cite { font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.reviews__dots { display: flex; justify-content: center; gap: 12px; margin: 44px 0 72px; }
.reviews__dots button { width: 34px; height: 24px; position: relative; }
.reviews__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line-dark); }
.reviews__dots button::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 0; background: var(--brass); }
.reviews__dots button.is-active::after { animation: dotFill 6s linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.badges { display: flex; justify-content: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.badge { min-width: 150px; padding: 22px 28px; border: 1px solid var(--line-dark); border-radius: 4px; display: flex; flex-direction: column; gap: 2px; background: rgba(244, 239, 231, .5); transition: background .5s, box-shadow .5s; }
.badge:hover { background: var(--ivory); box-shadow: 0 18px 40px -24px rgba(28, 23, 20, .4); }
.badge strong { font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1; }
.badge strong::after { content: " ★"; font-size: 18px; color: var(--brass); vertical-align: super; }
.badge span { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Instagram ---------- */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta__grid a { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--bone); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.insta__grid a::after { content: "↗"; position: absolute; top: 12px; right: 14px; color: var(--ivory); opacity: 0; transform: translate(-6px, 6px); transition: .5s var(--ease); font-size: 18px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.insta__grid a:hover img { transform: scale(1.08); filter: brightness(.85); }
.insta__grid a:hover::after { opacity: 1; transform: none; }

/* ---------- Contact ---------- */
.contact__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact__info > p { color: rgba(244, 239, 231, .7); font-size: 17px; margin: 0 0 40px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact__list li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.contact__list small { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-light); }
.contact__list a, .contact__list address { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-style: normal; line-height: 1.3; transition: color .4s; }
.contact__list address { font-size: 19px; color: var(--sand); }
.contact__list a:hover { color: var(--brass-light); }

.form { background: var(--espresso-2); border: 1px solid var(--line-light); border-radius: 6px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 26px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244, 239, 231, .25);
  padding: 22px 0 10px; color: var(--ivory); font: inherit; font-size: 16px; outline: none; resize: vertical; border-radius: 0;
  transition: border-color .4s;
}
.field > label { position: absolute; left: 0; top: 22px; color: rgba(244, 239, 231, .5); font-size: 15px; pointer-events: none; transition: transform .4s var(--ease), color .4s, font-size .4s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--brass-light); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--brass-light); }
.field.is-invalid input { border-color: #d98a75; }
.field__title { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 239, 231, .55); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 18px; border: 1px solid rgba(244, 239, 231, .22); border-radius: 100px; font-size: 13.5px; cursor: pointer; transition: .4s var(--ease); }
.chips input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--espresso); }
.chips input:focus-visible + span { outline: 2px solid var(--brass-light); outline-offset: 2px; }
.form__note { margin: -8px 0 0; font-size: 12.5px; color: rgba(244, 239, 231, .45); text-align: center; }
.map { margin-top: clamp(64px, 8vw, 110px); border-radius: 6px; overflow: hidden; border: 1px solid var(--line-light); height: clamp(280px, 36vw, 440px); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.25) contrast(.95) brightness(.85); transition: filter .8s; }
.map:hover iframe { filter: none; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--sand); padding: 0 0 32px; border-top: 1px solid var(--line-light); }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 72px 0 40px; }
.footer__tag { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 0; color: var(--ivory); }
.footer__tag em { color: var(--brass-light); font-weight: 300; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; align-items: center; }
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: var(--brass-light); }
.footer__word { font-family: var(--serif); font-size: clamp(40px, 15vw, 250px); overflow: hidden; line-height: .85; color: var(--ivory); letter-spacing: -.03em; white-space: nowrap; text-align: center; padding: 20px 0 40px; border-bottom: 1px solid var(--line-light); }
.footer__word em { color: var(--brass); font-weight: 300; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 84px 0 0; font-size: 13px; color: var(--taupe); }
.to-top:hover { color: var(--brass-light); }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--espresso); box-shadow: 0 14px 30px -10px rgba(28, 23, 20, .55); transition: transform .5s var(--ease), background .4s; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--brass); animation: ping 2.6s var(--ease) infinite; }
.wa:hover { transform: scale(1.08); background: var(--ivory); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal utility (only hidden when JS present) ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .journal__grid { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .services__grid .svc-card:last-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .services__grid .svc-card:last-child .svc-card__img { aspect-ratio: auto; height: 100%; }
  .hero__rating { top: 110px; bottom: auto; padding: 10px 16px; }
  .hero__rating strong { font-size: 28px; }
}

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .studio__grid, .feature__wrap, .process__wrap, .contact__wrap { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid .svc-card:last-child { grid-column: auto; display: block; }
  .services__grid .svc-card:last-child .svc-card__img { aspect-ratio: 4 / 3; height: auto; }
  .hero__rating { display: none; }
  .feature__img { aspect-ratio: 4 / 5; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  /* Work: native swipe on touch / small screens */
  .work__hint { position: static; margin-top: 8px; }
  .work__pin { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 8px; }
  .work__pin::-webkit-scrollbar { display: none; }
  .work__track { align-items: flex-start; }
  .project, .project--tall { width: 78vw; scroll-snap-align: center; }
  .project--tall .project__img { aspect-ratio: 4 / 3.1; }
  .project--cta { width: 78vw; padding: 24px 8px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .nav__logo { font-size: 22px; }
  .hero__content { padding-bottom: 88px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .journal__grid { grid-template-columns: 1fr; }
  .flip { aspect-ratio: 4 / 4.4; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat__label { font-size: 10px; letter-spacing: .08em; }
  .step { grid-template-columns: 44px 1fr; gap: 18px; }
  .step__num { width: 44px; height: 44px; font-size: 11px; }
  .steps__line { left: 21px; }
  .badge { min-width: 0; flex: 1 1 0; padding: 18px 12px; text-align: center; }
  .badge strong { font-size: 34px; }
  .band { min-height: 60vh; }
  .wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .section__head--row .btn { width: 100%; }
  .feature__list li { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .img-reveal { clip-path: none; }
  .js .img-reveal img { transform: none; }
  .marquee__track { animation: none; }
}
