/* =========================================================
   PALETTE PALS
   Design system + shared styles. Plain CSS, no build step.
   ========================================================= */

:root {
  /* Surfaces */
  --bone:    #F7F3EA;
  --bone-2:  #EFE7D8;
  --ink:     #17140F;
  --ink-2:   #221D16;
  --muted:   #6E6355;

  /* Brand — sampled from the logo mark */
  --flame:   #E2662B;
  --ember:   #BE3A22;
  --gold:    #D9A441;

  --line:    rgba(23, 20, 15, .13);
  --line-2:  rgba(247, 243, 234, .16);

  --maxw:    1280px;
  --gut:     clamp(20px, 5vw, 64px);

  --display: "Fraunces", Georgia, serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;

  --ease:    cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Paper grain — one repeating SVG, cheap and no extra request */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9;
  pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 8.2vw, 7.2rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.85rem); letter-spacing: -.015em; }
em { font-style: italic; color: var(--flame); }
p  { margin: 0 0 1.1em; }

.eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 1.1rem;
}
.eyebrow.dim { color: var(--muted); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.32rem); color: var(--muted); max-width: 54ch; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section.tight { padding-block: clamp(52px, 7vw, 92px); }
.section-head { max-width: 62ch; margin-bottom: clamp(38px, 5vw, 68px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--bone);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: 15px 30px; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, var(--flame), var(--ember));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.4px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.4px transparent; }
.btn .arw { transition: transform .45s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* Text link with a wipe underline */
.tlink {
  position: relative; font-weight: 600;
  background-image: linear-gradient(var(--flame), var(--flame));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .45s var(--ease), color .3s;
  padding-bottom: 2px;
}
.tlink:hover { background-size: 100% 1.5px; color: var(--flame); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-block: 18px;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, padding .4s;
}
.hdr.stuck {
  background: rgba(247, 243, 234, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 11px;
}
.hdr.hide { transform: translateY(-104%); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: auto; height: 38px; transition: height .4s var(--ease); }
.hdr.stuck .brand img { height: 32px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--display); font-weight: 500; font-size: 1.16rem; letter-spacing: -.02em; }
.brand-txt span { font-size: .6rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 9px 15px; border-radius: 100px;
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px;
  background: var(--flame); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after,
.nav a.on::after { transform: scaleX(1); }
.nav a.on { color: var(--ink); }
.nav .btn { margin-left: 10px; padding: 11px 22px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 70; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 23px; } .burger i:nth-child(3) { top: 29px; }
body.menu .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu .burger i:nth-child(2) { opacity: 0; }
body.menu .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 132px 72px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; }

/* Blobs behind the hero */
.blob { position: absolute; border-radius: 50%; filter: blur(78px); opacity: .5; z-index: 0; pointer-events: none; }
.blob.a { width: 46vw; height: 46vw; background: rgba(226, 102, 43, .34); top: -14%; right: -10%; }
.blob.b { width: 34vw; height: 34vw; background: rgba(217, 164, 65, .3); bottom: -18%; left: -8%; }
.blob.c { width: 26vw; height: 26vw; background: rgba(190, 58, 34, .17); top: 42%; left: 38%; }

/* Stacked hero art */
.hero-art { position: relative; aspect-ratio: 1 / 1.06; }
.hero-art figure { position: absolute; margin: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 34px 80px -34px rgba(23, 20, 15, .6); background: var(--bone-2); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .f1 { inset: 0 16% 12% 0; z-index: 2; }
.hero-art .f2 { width: 42%; aspect-ratio: 3/4; right: 0; top: 6%; z-index: 3; }
.hero-art .f3 { width: 38%; aspect-ratio: 4/3; left: 7%; bottom: 0; z-index: 4; }

.hero-tag {
  position: absolute; z-index: 5; right: 2%; bottom: 8%;
  background: var(--ink); color: var(--bone);
  border-radius: 100px; padding: 10px 19px;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600;
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: .64rem; letter-spacing: .21em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint span { width: 1px; height: 42px; background: linear-gradient(var(--flame), transparent); animation: drop 2.1s var(--ease-io) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: 0 0; } 45% { transform: scaleY(1); transform-origin: 0 0; } 46% { transform-origin: 0 100%; } 100% { transform: scaleY(0); transform-origin: 0 100%; } }

/* ---------- Marquee ---------- */
.marq {
  border-block: 1px solid var(--line);
  background: var(--bone-2);
  overflow: hidden; padding-block: 17px;
  display: flex; white-space: nowrap;
  --spd: 34s;
}
.marq-run { display: flex; flex-shrink: 0; animation: run var(--spd) linear infinite; }
.marq:hover .marq-run { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-100%); } }
.marq span { font-family: var(--display); font-size: clamp(1.15rem, 2.1vw, 1.75rem); padding-inline: .5em; }
.marq b { color: var(--flame); font-weight: 400; padding-inline: .35em; }

/* ---------- Service cards ---------- */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.7vw, 24px); }
.svc-card {
  position: relative; display: block; overflow: hidden; border-radius: 4px;
  background: var(--ink); color: var(--bone);
  aspect-ratio: 3 / 3.75;
  isolation: isolate;
}
.svc-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .62; transition: transform 1.05s var(--ease), opacity .6s;
  z-index: -2;
}
/* Strong enough to keep the copy legible over the busiest photos (the doodle wall) */
.svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    rgba(12, 10, 8, .95) 0%,
    rgba(12, 10, 8, .88) 26%,
    rgba(12, 10, 8, .58) 52%,
    rgba(12, 10, 8, .22) 78%,
    rgba(12, 10, 8, .10) 100%);
}
.svc-card:hover img { transform: scale(1.07); opacity: .78; }
.svc-body { position: absolute; inset: auto 0 0; padding: clamp(20px, 2.4vw, 32px); }
.svc-body h3 { margin-bottom: .45em; }
.svc-body p { font-size: .93rem; color: rgba(247, 243, 234, .84); margin: 0 0 1em; max-width: 34ch; }
.svc-n { position: absolute; top: clamp(18px, 2.2vw, 28px); left: clamp(20px, 2.4vw, 32px); font-size: .7rem; letter-spacing: .18em; font-weight: 600; color: rgba(247, 243, 234, .92); text-shadow: 0 1px 6px rgba(12, 10, 8, .75); }
.svc-go { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.svc-card:hover .svc-go .arw { transform: translateX(5px); }
.svc-go .arw { transition: transform .45s var(--ease); }

/* ---------- Horizontal reel ---------- */
.reel-sec { overflow: hidden; }
.reel-vp { position: relative; }
.reel {
  display: flex; gap: clamp(14px, 1.7vw, 26px); align-items: flex-end;
  padding-inline: var(--gut);
  will-change: transform;
}
/* Fallback when GSAP is unavailable: a normal swipeable strip */
.no-gsap .reel { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; }
.no-gsap .reel-item { scroll-snap-align: center; }

.reel-item { flex: 0 0 auto; width: clamp(240px, 27vw, 400px); }
.reel-item.big { width: clamp(280px, 34vw, 520px); }
.reel-fig { position: relative; overflow: hidden; border-radius: 3px; background: var(--bone-2); }
.reel-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.15s var(--ease); }
.reel-item:hover .reel-fig img { transform: scale(1.05); }
.reel-meta { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding-top: 14px; }
.reel-meta h3 { font-size: 1.2rem; }
.reel-meta small { font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--bone); padding: clamp(26px, 3.6vw, 48px) clamp(16px, 2vw, 28px); text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5.5vw, 84px); align-items: center; }
.split:has(.portrait) { align-items: start; }
.split.wide-l { grid-template-columns: 1.15fr .85fr; }
.media { position: relative; overflow: hidden; border-radius: 3px; background: var(--bone-2); }
.media img { width: 100%; transition: transform 1.2s var(--ease); }
.media:hover img { transform: scale(1.04); }
/* Collage: the tall left tile spans both rows, so give the block a fixed shape and let
   every image cover its cell. Without this the spanning tile leaves an empty gap below. */
.media-stack { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.1; }
.media-stack .media:first-child { grid-row: span 2; }
.media-stack .media { height: 100%; }
.media-stack .media img { width: 100%; height: 100%; object-fit: cover; }

/* Founder portrait with a caption under it.
   Capped and given a fixed aspect: an unconstrained full-size image stretches to the
   grid column and swamps the text beside it. */
.portrait { margin: 0; width: 100%; max-width: 440px; margin-inline: auto; }
.portrait .media { aspect-ratio: 4 / 5; }
.portrait .media img { width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption {
  margin-top: 14px;
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 1.5px solid var(--line); counter-increment: s; }
.step::before {
  content: "0" counter(s);
  font-size: .74rem; letter-spacing: .16em; color: var(--flame); font-weight: 600;
  display: block; margin-bottom: 14px;
}
.step::after {
  content: ""; position: absolute; top: -1.5px; left: 0; width: 0; height: 1.5px;
  background: var(--flame); transition: width 1s var(--ease);
}
.step.in::after { width: 100%; }
.step h3 { font-size: 1.22rem; margin-bottom: .4em; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.quote { background: var(--bone-2); border-radius: 3px; padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; }
.quote p { font-family: var(--display); font-size: clamp(1.02rem, 1.35vw, 1.22rem); line-height: 1.5; letter-spacing: -.012em; flex: 1; }
.quote cite { font-style: normal; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quote .mk { font-family: var(--display); font-size: 3rem; line-height: .7; color: var(--flame); opacity: .5; margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.band {
  position: relative; overflow: hidden; border-radius: 6px;
  background: var(--ink); color: var(--bone);
  padding: clamp(46px, 7vw, 104px) clamp(26px, 5vw, 76px);
  text-align: center;
}
.band h2 { margin-bottom: .5em; }
.band p { color: rgba(247, 243, 234, .7); max-width: 52ch; margin-inline: auto; margin-bottom: 2em; }
.band .btn { --bg: var(--bone); --fg: var(--ink); }
.band .splash { position: absolute; border-radius: 50%; filter: blur(66px); opacity: .5; }
.band .splash.x { width: 340px; height: 340px; background: var(--flame); top: -34%; right: -6%; }
.band .splash.y { width: 300px; height: 300px; background: var(--ember); bottom: -38%; left: -4%; }

/* ---------- Gallery (work page) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.filters button {
  padding: 9px 19px; border-radius: 100px;
  box-shadow: inset 0 0 0 1.3px var(--line);
  font-size: .86rem; font-weight: 500; color: var(--muted);
  transition: color .3s, box-shadow .3s, background .3s;
}
.filters button:hover { color: var(--ink); box-shadow: inset 0 0 0 1.3px rgba(23,20,15,.3); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bone); box-shadow: none; }

.grid { columns: 3; column-gap: clamp(14px, 1.7vw, 24px); }
.gitem { break-inside: avoid; margin-bottom: clamp(14px, 1.7vw, 24px); display: block; width: 100%; text-align: left; }
.gitem figure { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--bone-2); }
.gitem img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .5s; }
.gitem:hover img { transform: scale(1.045); }
.gitem figcaption {
  position: absolute; inset: auto 0 0; padding: 34px 20px 18px;
  background: linear-gradient(to top, rgba(12,10,8,.9), transparent);
  color: var(--bone); opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gitem:hover figcaption, .gitem:focus-visible figcaption { opacity: 1; transform: none; }
.gitem figcaption b { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 400; }
.gitem figcaption small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,243,234,.68); }
.gitem .count { position: absolute; top: 12px; right: 12px; background: rgba(12,10,8,.6); color: var(--bone); border-radius: 100px; padding: 4px 11px; font-size: .7rem; font-weight: 600; opacity: 0; transition: opacity .4s; }
.gitem:hover .count { opacity: 1; }
.gitem.hide { display: none; }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 9, 7, .96);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: clamp(16px, 2.6vw, 30px) var(--gut); color: var(--bone); }
.lb-top h3 { font-size: clamp(1.15rem, 2vw, 1.7rem); color: var(--bone); }
.lb-top small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,243,234,.55); margin-top: 6px; }
.lb-x { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px var(--line-2); color: var(--bone); flex: 0 0 auto; transition: background .3s, transform .4s var(--ease); }
.lb-x:hover { background: rgba(247,243,234,.12); transform: rotate(90deg); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding-inline: var(--gut); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(247,243,234,.1); color: var(--bone); display: grid; place-items: center; transition: background .3s; }
.lb-nav:hover { background: rgba(247,243,234,.24); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-foot { padding: clamp(14px, 2vw, 24px) var(--gut) clamp(20px, 3vw, 34px); color: rgba(247,243,234,.7); text-align: center; }
.lb-foot p { max-width: 62ch; margin-inline: auto; font-size: .95rem; }
.lb-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.lb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(247,243,234,.3); transition: background .3s, transform .3s; }
.lb-dots i.on { background: var(--flame); transform: scale(1.5); }
body.lb-open { overflow: hidden; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 3px;
  background: var(--bone-2); border: 1.3px solid transparent;
  font: inherit; font-size: .98rem; color: var(--ink);
  transition: border-color .3s, background .3s;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--flame); background: #fff; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-msg { padding: 14px 18px; border-radius: 3px; background: var(--bone-2); font-size: .92rem; display: none; }
.form-msg.on { display: block; }
.form-msg.ok { background: rgba(126, 142, 108, .17); }
.form-msg.bad { background: rgba(190, 58, 34, .12); }

.contact-list { display: grid; gap: 2px; background: var(--line); border-block: 1px solid var(--line); }
.contact-row { background: var(--bone); padding: 22px 0; display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: baseline; }
.contact-row dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-row dd { margin: 0; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--bone); padding-block: clamp(54px, 7vw, 92px) 30px; position: relative; overflow: hidden; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); padding-bottom: clamp(40px, 6vw, 76px); }
.ftr h4 { font-family: var(--body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,243,234,.45); margin-bottom: 18px; }
.ftr a:not(.brand) { display: block; padding: 5px 0; color: rgba(247,243,234,.8); transition: color .3s, transform .3s var(--ease); }
.ftr a:not(.brand):hover { color: var(--flame); transform: translateX(3px); }
.ftr p { color: rgba(247,243,234,.6); max-width: 38ch; font-size: .95rem; }
.ftr .brand-txt b { color: var(--bone); }
.ftr .brand-txt span { color: rgba(247,243,234,.5); }
.ftr-word {
  font-family: var(--display); font-size: clamp(3rem, 15vw, 15rem); line-height: .82;
  letter-spacing: -.045em; color: rgba(247,243,234,.07);
  text-align: center; user-select: none; pointer-events: none; margin-bottom: -.08em;
}
.ftr-btm { border-top: 1px solid var(--line-2); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: rgba(247,243,234,.5); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; } .rv-d2 { transition-delay: .18s; } .rv-d3 { transition-delay: .27s; }

/* Clip-path image wipe */
.wipe img { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease), transform 1.2s var(--ease); }
.wipe.in img { clip-path: inset(0 0 0 0); }

/* Word-by-word headline */
.split-w .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-w .w i { display: inline-block; font-style: inherit; transform: translateY(105%); transition: transform 1s var(--ease); }
.split-w.in .w i { transform: none; }

/* ---------- Custom cursor (pointer devices only) ---------- */
.cur, .cur-d { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cur { width: 7px; height: 7px; background: var(--bone); margin: -3.5px 0 0 -3.5px; }
.cur-d {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  box-shadow: inset 0 0 0 1.3px rgba(247,243,234,.55);
  transition: width .38s var(--ease), height .38s var(--ease), margin .38s var(--ease), background .38s;
  display: grid; place-items: center;
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: transparent;
}
body.cur-lg .cur-d { width: 82px; height: 82px; margin: -41px 0 0 -41px; background: rgba(247,243,234,.95); color: var(--ink); mix-blend-mode: normal; box-shadow: none; }
body.cur-lg .cur { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cur, .cur-d { display: none; } }

/* ---------- Mobile ---------- */
@media (max-width: 1240px) { .svc { grid-template-columns: 1fr 1fr; } }

@media (max-width: 1020px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .svc-card { aspect-ratio: 3 / 2.1; }
  .grid { columns: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { min-height: auto; padding-block: 118px 56px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 1 / .92; margin-top: 8px; }
  .scroll-hint { display: none; }
  .split, .split.wide-l { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
  .row2 { grid-template-columns: 1fr; }

  /* Slide-in menu */
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 65;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 4px; padding: 0 var(--gut);
    background: var(--bone);
    clip-path: circle(0% at calc(100% - 42px) 42px);
    transition: clip-path .72s var(--ease);
  }
  body.menu .nav { clip-path: circle(145% at calc(100% - 42px) 42px); }
  body.menu { overflow: hidden; }
  .nav a:not(.btn) { font-family: var(--display); font-size: 2.3rem; color: var(--ink); padding: 8px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 0 0; }
}

@media (max-width: 620px) {
  .grid { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-art .f2, .hero-art .f3 { display: none; }
  .hero-art .f1 { inset: 0; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-nav.prev { left: 4px; } .lb-nav.next { right: 4px; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .wipe img { clip-path: none; }
  .split-w .w i { transform: none; }
  html { scroll-behavior: auto; }
}

/* No-JS: never hide content behind an animation that will not run */
.no-js .rv { opacity: 1; transform: none; }
.no-js .wipe img { clip-path: none; }
.no-js .split-w .w i { transform: none; }
