/* ==========================================================================
   ISOCIALS — It's all about you.
   Quiet, precise, product-page language. Brand wine is the accent.
   ========================================================================== */

:root {
  /* Brand palette — the only five colors on the site */
  --ivory: #F2F1ED;
  --stone: #E5DED6;
  --burgundy: #520E0D;   /* primary */
  --oxblood: #260705;
  --charcoal: #111010;

  /* Roles (tints of the palette, never new hues) */
  --black: var(--charcoal);
  --ink: var(--charcoal);
  --gray: rgba(17, 16, 16, .64);
  --gray-2: rgba(17, 16, 16, .52);
  --line: rgba(17, 16, 16, .14);
  --line-dark: rgba(242, 241, 237, .14);
  --light: var(--ivory);
  --white: var(--stone);
  --accent: var(--burgundy);
  --accent-hover: var(--oxblood);
  --rose: var(--ivory);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --nav-h: 48px;
}

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

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, dl, dd { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--burgundy); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 44px); margin-inline: auto; }
.wrap--narrow { width: min(980px, 100% - 44px); }
.wrap--wide { width: min(1440px, 100% - 32px); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(44px, 6.8vw, 96px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.07; font-weight: 600; letter-spacing: -.03em; }
.eyebrow { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--gray-2); }
.eyebrow--accent { color: var(--accent); }
.eyebrow--rose { color: var(--rose); }
.lead { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.38; font-weight: 600; letter-spacing: -.02em; color: var(--gray-2); }
.lead strong { color: var(--ink); font-weight: 600; }
.lead--dark strong, [data-nav="dark"] .lead strong { color: var(--ivory); }
.body { color: var(--gray); font-size: 17px; }
.grad { color: inherit; }
[data-nav="dark"], .ptile--icrm, .tile--why { --gray: rgba(242, 241, 237, .64); --gray-2: rgba(242, 241, 237, .6); }
/* Serif accent words carry the primary color on light surfaces */
[data-nav="light"] .serif, .ptile--nadil .serif, .ptile--addal .serif { color: var(--burgundy); }

.sec-head { display: grid; gap: 14px; margin-bottom: clamp(48px, 8vh, 88px); }
.sec-head--center { text-align: center; justify-items: center; }
.sec-head--center .lead { max-width: 680px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  background: var(--accent); color: var(--ivory); font-size: 17px; font-weight: 400; letter-spacing: -.02em;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.97); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 17px; }
.link::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translate(3px, -1px); }
[data-nav="dark"] .link { color: var(--rose); }

/* ==========================================================================
   Global nav
   ========================================================================== */
.gnav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(17, 16, 16, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  color: var(--ivory); transition: background-color .5s var(--ease), color .5s var(--ease);
}
.gnav[data-theme="light"] { background: rgba(242, 241, 237, .85); color: var(--ink); }
.gnav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); }
.gnav[data-theme="light"]::after { background: var(--line); }
.gnav__inner { height: 100%; width: min(1024px, 100% - 44px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gnav__logo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.gnav__logo svg { width: 14px; fill: currentColor; }
.gnav__links { display: flex; gap: clamp(18px, 3vw, 36px); font-size: 12px; letter-spacing: -.01em; }
.gnav__links a { opacity: .82; transition: opacity .3s; }
.gnav__links a:hover { opacity: 1; }
.gnav__cta { font-size: 12px; padding: 4px 11px; border-radius: 980px; background: var(--accent); color: var(--ivory); transition: background-color .3s; }
.gnav__cta:hover { background: var(--accent-hover); }
.gnav__burger { display: none; width: 44px; height: 44px; margin-right: -12px; position: relative; }
.gnav__burger span { position: absolute; left: 14px; right: 14px; height: 1.2px; background: currentColor; transition: transform .4s var(--ease); }
.gnav__burger span:first-child { top: 18px; }
.gnav__burger span:last-child { top: 25px; }
.gnav.is-open .gnav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.gnav.is-open .gnav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.gnav.is-open { background: var(--charcoal); color: var(--ivory); }

.gmenu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--charcoal); color: var(--ivory);
  padding: 24px 44px; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.gmenu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.gmenu nav { display: grid; gap: 6px; }
.gmenu a { font-size: 28px; font-weight: 600; letter-spacing: -.02em; transform: translateY(-8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.gmenu.is-open a { transform: none; opacity: 1; }
.gmenu.is-open a:nth-child(2) { transition-delay: .03s; } .gmenu.is-open a:nth-child(3) { transition-delay: .06s; }
.gmenu.is-open a:nth-child(4) { transition-delay: .09s; } .gmenu.is-open a:nth-child(5) { transition-delay: .12s; }
.gmenu.is-open a:nth-child(6) { transition-delay: .15s; }

/* ==========================================================================
   Hero + sticky zoom
   ========================================================================== */
.hero { background: var(--charcoal); color: var(--ivory); }
.hero__copy { display: grid; justify-items: center; text-align: center; gap: 18px; padding: calc(var(--nav-h) + clamp(56px, 11vh, 120px)) 22px clamp(40px, 6vh, 64px); }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: .02em; color: var(--ivory); }
.hero__eyebrow svg { width: 18px; fill: currentColor; }
.hero__title { font-size: clamp(56px, 9.6vw, 136px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; }
.hero__sub { max-width: 640px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.38; font-weight: 500; color: var(--gray-2); letter-spacing: -.02em; }
.hero__ctas { display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.zoom { height: 210vh; position: relative; }
.zoom__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.zoom__frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(6% 9% 14% 9% round 32px); will-change: clip-path; }
.zoom__caption {
  position: absolute; left: 0; right: 0; bottom: 12vh; text-align: center; color: var(--ivory);
  font-size: clamp(40px, 6.4vw, 92px); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; opacity: 0;
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { background: var(--charcoal); color: var(--ivory); padding-block: clamp(120px, 24vh, 260px); }
.statement .wrap { max-width: 1040px; }
.signal { width: 100%; height: 120px; margin-bottom: clamp(48px, 8vh, 88px); }
.statement .eyebrow { margin-bottom: 20px; color: var(--rose); }
.highlight-text { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
.highlight-text .word { will-change: opacity; }
.highlight-text .grad { background: none; color: inherit; }

/* ==========================================================================
   Purpose + believe
   ========================================================================== */
.purpose { background: var(--light); padding-block: clamp(120px, 20vh, 220px); overflow: hidden; }
.purpose__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.purpose__copy { display: grid; gap: 22px; }
.purpose__copy .h2 { max-width: 13ch; }
.purpose__key { width: min(340px, 100%); justify-self: center; display: grid; justify-items: center; gap: clamp(64px, 7vw, 88px); cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Keycap — built in CSS so it stays crisp at any size */
.key { --press: 0; --depth: 22; position: relative; width: 100%; aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.key__shadow { display: none; }
.key__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.key__body {
  position: absolute; inset: 0; border-radius: 24%;
  background: var(--burgundy);
  transform: translateY(calc(var(--press) * 1px));
  box-shadow:
    0 calc(var(--depth) * 1px) 0 var(--oxblood),
    0 calc(var(--depth) * 1px + 22px) 46px -12px rgba(38, 7, 5, .45),
    0 0 0 0 transparent;
}
.key__cap {
  position: absolute; inset: 8% 9% 14%; border-radius: 20%; overflow: hidden;
  background: var(--burgundy);
  box-shadow: 0 6px 0 var(--oxblood);
}
.key__label { position: absolute; left: 13%; top: 8%; font-size: clamp(64px, 8.5vw, 104px); line-height: 1; color: var(--ivory);  }
.key__glint { display: none; }
.key__caption { font-size: 13px; font-weight: 600; letter-spacing: .7em; margin-right: -.7em; text-transform: uppercase; color: var(--gray-2); }
.believe { text-align: center; display: grid; justify-items: center; gap: 22px; padding-top: clamp(140px, 24vh, 260px); }
.believe .h1 { max-width: 16ch; }
.believe .lead { max-width: 720px; }

/* ==========================================================================
   Model — why / how / what
   ========================================================================== */
.model { background: var(--charcoal); color: var(--ivory); padding-block: clamp(120px, 20vh, 220px) clamp(60px, 10vh, 120px); }
.model__head { text-align: center; display: grid; gap: 14px; margin-bottom: clamp(40px, 8vh, 80px); }
.model__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.model__sticky { position: sticky; top: calc(var(--nav-h) + 8vh); height: calc(84vh - var(--nav-h)); display: grid; place-items: center; }
.circles { width: min(100%, 58vh); height: auto; overflow: visible; }
.cring { fill: none; stroke: var(--line-dark); stroke-width: 1; }
.cfill { opacity: 0; transition: opacity .9s var(--ease); }
.cf-2 { fill: var(--oxblood); }
.cf-1 { fill: var(--burgundy); }
.cf-0 { fill: var(--ivory); }
.circles[data-step="0"] .cf-0,
.circles[data-step="1"] .cf-0, .circles[data-step="1"] .cf-1,
.circles[data-step="2"] .cfill { opacity: 1; }
.clabel { font-family: var(--font); font-size: 24px; font-weight: 600; letter-spacing: -.01em; fill: rgba(242, 241, 237, .34); transition: fill .6s var(--ease); }
.circles[data-step="0"] .cl-0, .circles[data-step="1"] .cl-0, .circles[data-step="1"] .cl-1, .circles[data-step="2"] .clabel { fill: var(--ivory); }
.circles[data-step="0"] .cl-0, .circles[data-step="1"] .cl-0, .circles[data-step="2"] .cl-0 { fill: var(--charcoal); }
.model__steps { display: grid; }
.mstep { min-height: 72vh; display: grid; align-content: center; gap: 14px; opacity: .22; transition: opacity .6s var(--ease); }
.mstep.is-active { opacity: 1; }
.mstep__n { font-size: 17px; font-weight: 600; color: var(--rose); }
.mstep h3 { font-size: clamp(64px, 8vw, 120px); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.mstep p { max-width: 420px; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.3; font-weight: 600; color: var(--gray-2); letter-spacing: -.02em; }

/* ==========================================================================
   Services — bento
   ========================================================================== */
.services { background: var(--light); padding-block: clamp(120px, 20vh, 220px); }
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "creative creative brand"
    "soft media brand"
    "growth why why";
}
.tile {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--white);
  padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; min-height: 360px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tile:hover { transform: scale(1.012); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .18); }
.tile__text { display: grid; gap: 8px; max-width: 420px; }
.tile__n { font-size: 14px; font-weight: 600; color: var(--accent); }
.tile h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }
.tile__text p:not(.tile__n) { color: var(--gray); font-size: 17px; }
.tile__media { flex: 1; border-radius: 18px; overflow: hidden; min-height: 200px; position: relative; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.tile__media--shot { border-radius: 14px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .35); }
.tile__media--shot img { object-position: 50% 0; }
.tile--creative { grid-area: creative; flex-direction: row; align-items: stretch; min-height: 440px; }
.tile--creative .tile__text { align-self: flex-end; flex: 0 0 38%; }
.tile--brand { grid-area: brand; }
.tile--brand .tile__media { min-height: 420px; }
.tile--soft { grid-area: soft; }
.tile--media { grid-area: media; justify-content: space-between; }
.tile__stat { display: grid; gap: 4px; }
.tile__stat span { font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.tile__stat small { font-size: 14px; color: var(--gray); }
.tile--growth { grid-area: growth; }
.tile--why { grid-area: why; background: var(--burgundy); color: var(--ivory); justify-content: space-between; }
.tile--why .tile__n { color: var(--rose); }
.tile__big { font-size: clamp(40px, 5vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.045em; max-width: 12ch; }

/* ==========================================================================
   Products — homepage-style tiles
   ========================================================================== */
.products { background: var(--white); padding-top: clamp(120px, 20vh, 220px); padding-bottom: 12px; }
.ptile {
  position: relative; overflow: hidden; margin: 12px 12px 0;
  min-height: min(92vh, 860px); display: grid; grid-template-rows: auto 1fr;
  text-align: center; padding-top: clamp(56px, 8vh, 80px);
}
.ptile--nadil { background: var(--ivory); }
.ptile--icrm { background: var(--burgundy); color: var(--ivory); }
.ptile--addal { background: var(--ivory); }
.ptile__copy { position: relative; display: grid; justify-items: center; gap: 8px; padding-inline: 22px; }
.ptile__name { font-size: clamp(48px, 5.6vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.ptile__tag { font-size: clamp(21px, 2vw, 28px); line-height: 1.2; font-weight: 400; letter-spacing: -.02em; }
.ptile__desc { max-width: 560px; margin-top: 8px; color: var(--gray); }
.ptile--icrm .ptile__desc { color: var(--gray-2); }
.ptile__url { margin-top: 12px; font-size: 15px; color: var(--accent); }
.ptile--icrm .ptile__url { color: var(--rose); }
.ptile__visual { position: relative; display: grid; place-items: end center; padding: clamp(32px, 5vh, 56px) 22px 0; }
.ptile__shot {
  width: min(900px, 92%); border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 60px -20px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .05);
  will-change: transform;
}
.ptile--icrm .ptile__shot { box-shadow: 0 -20px 60px -24px rgba(17, 16, 16, .55); }
.ptile__logo {
  position: absolute; z-index: 2; left: max(22px, calc(50% - 520px)); top: 18%;
  width: clamp(140px, 16vw, 220px); padding: 18px 22px; border-radius: 20px; background: var(--white);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .28); will-change: transform;
}

/* ==========================================================================
   Case studies — highlights carousel
   ========================================================================== */
.cases { background: var(--light); padding-block: clamp(120px, 20vh, 220px) clamp(80px, 12vh, 140px); overflow: hidden; }
.cases__head { display: grid; gap: 12px; margin-bottom: clamp(32px, 6vh, 56px); }
.cases__head .lead { max-width: 560px; }
.carousel {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  --pad: max(22px, calc((100vw - 1200px) / 2));
  scroll-padding-inline: var(--pad);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 20px; width: max-content; padding: 10px var(--pad) 30px; }
.ccard {
  position: relative; flex: none; scroll-snap-align: start;
  width: clamp(300px, 30vw, 400px); height: clamp(520px, 68vh, 680px);
  border-radius: 28px; overflow: hidden; background: var(--stone); color: var(--ivory);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.ccard:hover { transform: scale(1.015); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .4); }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ccard:hover img { transform: scale(1.04); }
.ccard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(17, 16, 16, .26); }
.ccard__top { position: relative; z-index: 2; padding: 28px 28px 0; display: grid; gap: 8px; }
.ccard__top p { font-size: 14px; font-weight: 600; opacity: .85; }
.ccard__top h3 { font-size: clamp(24px, 2vw, 28px); line-height: 1.14; font-weight: 600; letter-spacing: -.025em; max-width: 14ch; }
.ccard__plus {
  position: absolute; z-index: 2; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(17, 16, 16, .7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .3s var(--ease), transform .4s var(--ease);
}
.ccard__plus span, .ccard__plus span::after { position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ivory); }
.ccard__plus span::after { content: ""; margin: -1px 0 0 -7px; transform: rotate(90deg); left: 50%; top: 50%; }
.ccard__plus:hover { background: var(--burgundy); transform: rotate(90deg); }
.carousel__nav { display: flex; justify-content: flex-end; gap: 16px; margin-top: 4px; }
.cbtn { width: 40px; height: 40px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; transition: background-color .3s, opacity .3s; }
.cbtn:hover { background: var(--burgundy); }
.cbtn:hover svg { stroke: var(--ivory); }
.cbtn:disabled { opacity: .4; cursor: default; }
.cbtn svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Case modal */
.modal {
  width: min(900px, 100% - 32px); max-height: min(92vh, 980px); margin: auto;
  padding: 0; border: 0; border-radius: 28px; background: var(--ivory); color: var(--ink);
  overflow: hidden;
}
.modal::backdrop { background: rgba(17, 16, 16, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.modal__body { max-height: min(92vh, 980px); overflow-y: auto; padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 84px); display: grid; gap: 18px; overscroll-behavior: contain; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--ivory); }
.modal__close span, .modal__close span::after { position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--gray); transform: rotate(45deg); }
.modal__close span::after { content: ""; transform: rotate(90deg); margin: -1px 0 0 -7px; }
.modal__close:hover { background: var(--burgundy); }
.modal__close:hover span, .modal__close:hover span::after { background: var(--ivory); }
.cdl { display: grid; margin-top: 16px; border-top: 1px solid var(--line); }
.cdl dt { padding-top: 24px; font-size: 14px; font-weight: 600; color: var(--accent); }
.cdl dd { padding: 6px 0 24px; border-bottom: 1px solid var(--line); color: var(--gray); font-size: 17px; }
.cdl dd strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.cline { margin-top: 12px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.03em; }

/* ==========================================================================
   Impact
   ========================================================================== */
.impact { background: var(--charcoal); color: var(--ivory); padding-block: clamp(120px, 20vh, 220px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.stat { padding: 40px 24px 0; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__v { font-size: clamp(56px, 6vw, 92px); line-height: 1; font-weight: 700; letter-spacing: -.05em; font-variant-numeric: tabular-nums; padding-bottom: 6px; }
.stat__v b { font-weight: inherit; }
.stat__k { font-size: 21px; font-weight: 600; }
.stat__d { color: var(--gray-2); font-size: 17px; }

/* ==========================================================================
   Showcase
   ========================================================================== */
.showcase { background: var(--charcoal); color: var(--ivory); padding-block: 0 clamp(80px, 14vh, 160px); overflow: hidden; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.gallery__col { display: grid; gap: clamp(12px, 1.6vw, 24px); will-change: transform; }
.gallery__col--mid { margin-top: 14vh; }
.gallery figure { border-radius: 22px; overflow: hidden; background: var(--charcoal); }
.gallery img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ==========================================================================
   Clients
   ========================================================================== */
.clients { background: var(--white); padding-block: clamp(120px, 20vh, 220px); overflow: hidden; }

/* ==========================================================================
   Voices
   ========================================================================== */
.voices { background: var(--light); padding-block: clamp(120px, 20vh, 220px); }
.vcard { background: var(--white); border-radius: 28px; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 320px; }
.vcard blockquote { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.24; font-weight: 600; letter-spacing: -.025em; }
.vcard figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--gray); }
.vcard figcaption b { font-size: 17px; color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Founder
   ========================================================================== */
.founder { background: var(--white); padding-block: clamp(120px, 20vh, 220px); }
.founder__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.founder__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--burgundy); }
.founder__photo img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90%; object-fit: cover; object-position: 50% 0; will-change: transform; }
.founder__copy { display: grid; gap: 20px; }
.founder__copy .lead, .founder__copy .body { max-width: 560px; }

/* ==========================================================================
   Closing + contact
   ========================================================================== */
.closing__pre { font-size: clamp(24px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.03em; color: var(--gray-2); }
.closing__big { margin-top: 6px; font-size: clamp(48px, 8vw, 128px); line-height: 1; font-weight: 700; letter-spacing: -.055em; will-change: transform; padding-bottom: .08em; }

.contact { background: var(--charcoal); color: var(--ivory); padding-block: clamp(80px, 12vh, 140px) clamp(120px, 20vh, 220px); text-align: center; }
.contact .wrap { display: grid; justify-items: center; gap: 20px; }
.contact__mark { width: 40px; fill: var(--rose); margin-bottom: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--light); color: var(--gray); font-size: 12px; line-height: 1.33; letter-spacing: -.01em; padding: 18px 0 22px; }
.footer .wrap { width: min(980px, 100% - 44px); }
.footer__note { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0; }
.footer__cols h4 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.footer__cols a { display: block; padding: 4px 0; word-break: break-word; }
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "creative creative" "brand soft" "brand media" "growth growth" "why why"; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 40px; }
}

@media (max-width: 833px) {
  .collage__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); grid-template-areas: "a a" "b c" "d e" "f g"; }
  .rcard { height: 58vh; }
  .whyword__word { font-size: min(44vw, 46vh); }
  .gnav__links, .gnav__cta { display: none; }
  .gnav__burger { display: block; }
  .zoom__frame { clip-path: inset(4% 5% 18% 5% round 22px); }
  .purpose__grid, .founder__grid { grid-template-columns: 1fr; }
  .purpose__key { width: min(230px, 62%); margin-top: 24px; }
  .key__label { font-size: clamp(56px, 18vw, 72px); }
  .model__grid { grid-template-columns: 1fr; gap: 0; }
  /* Phone: orbit on top, steps crossfade beneath it inside a pinned stage */
  .model { padding-bottom: 0; }
  .model__grid { height: calc(100svh - var(--nav-h)); align-content: center; gap: clamp(16px, 4svh, 36px); padding-bottom: 4svh; }
  .model__sticky { position: static; height: auto; }
  .circles { width: min(72vw, 40svh); }
  .model__steps { display: grid; }
  .mstep { grid-area: 1 / 1; min-height: 0; text-align: center; justify-items: center; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
  .mstep.is-active { opacity: 1; transform: none; }
  .mstep h3 { font-size: clamp(52px, 15vw, 76px); }
  .mstep p { font-size: 19px; }
  .statement { padding-block: 18vh 14vh; }
  .signal { height: 80px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "creative" "brand" "soft" "media" "growth" "why"; }
  .tile--creative { flex-direction: column; }
  .tile--creative .tile__text { flex: none; align-self: auto; }
  .tile__media { min-height: 260px; }
  .tile--brand .tile__media { min-height: 320px; }
  .ptile { min-height: 0; margin-inline: 0; }
  .ptile__logo { top: 8%; width: 120px; padding: 12px 14px; border-radius: 14px; }
    .vcard { min-height: 0; gap: 28px; }
  .founder__photo { width: min(460px, 100%); justify-self: center; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line-dark); padding-bottom: 32px; }
  .hero__ctas { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .zoom { height: auto; }
  .zoom__sticky { position: relative; height: 80vh; }
  .zoom__frame { clip-path: none; }
  .zoom__caption { opacity: 1; }
  .voices__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ==========================================================================
   Collage — scattered work assembles into a grid (pinned)
   ========================================================================== */
.collage { background: var(--charcoal); color: var(--ivory); }
.collage__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.collage__title {
  position: absolute; z-index: 2; text-align: center; pointer-events: none;
  font-size: clamp(48px, 8vw, 120px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em;
}
.collage__grid {
  position: absolute; inset: calc(var(--nav-h) + 3vh) 3vw 3vh;
  display: grid; gap: clamp(8px, 1.2vw, 16px);
  grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr);
  grid-template-areas: "a a b c" "a a d e" "f g g e";
}
.ci { margin: 0; border-radius: clamp(12px, 1.6vw, 22px); overflow: hidden; background: var(--charcoal); will-change: transform, opacity; }
.ci img { width: 100%; height: 100%; object-fit: cover; }
.ci--a { grid-area: a; } .ci--b { grid-area: b; } .ci--c { grid-area: c; } .ci--d { grid-area: d; }
.ci--e { grid-area: e; } .ci--f { grid-area: f; } .ci--g { grid-area: g; }

/* ==========================================================================
   Reel — horizontal pinned feed cards
   ========================================================================== */
.reel { background: var(--charcoal); color: var(--ivory); overflow: hidden; }
.reel__pin { height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--nav-h) + 4vh); }
.reel__head { display: grid; gap: 8px; }
.reel__track { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); width: max-content; padding-inline: max(22px, calc((100vw - 1200px) / 2)); will-change: transform; }
.rcard { margin: 0; flex: none; height: min(64vh, 640px); aspect-ratio: 2 / 3; display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.rcard img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; will-change: transform; }
.rcard figcaption { font-size: 14px; font-weight: 600; color: var(--gray-2); }

/* ==========================================================================
   Clients — centered logo grid
   ========================================================================== */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1100px; }
.logo-grid li { flex: 0 0 clamp(140px, 15vw, 170px); display: flex; align-items: center; justify-content: center; overflow: hidden; height: clamp(92px, 9vw, 110px); padding: 18px 22px; border-radius: 18px; background: var(--light); transition: background-color .5s var(--ease); }
.logo-grid li:hover { background: var(--ivory); }
.logo-grid img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52px; filter: grayscale(1); opacity: .62; transition: filter .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.logo-grid li:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.clients__more { text-align: center; margin-top: clamp(40px, 7vh, 72px); font-size: 17px; font-weight: 600; color: var(--gray-2); }

/* ==========================================================================
   Voices — slow moving strip of quote cards
   ========================================================================== */
.voices__strip { overflow: hidden; }
.voices__track { display: flex; gap: 20px; width: max-content; animation: drift 70s linear infinite; }
.voices__strip:hover .voices__track { animation-play-state: paused; }
.voices .vcard { width: clamp(300px, 34vw, 460px); flex: none; min-height: 300px; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ==========================================================================
   WHY — knockout word over a photo; scroll flies through the H
   ========================================================================== */
.whyword { background: var(--charcoal); color: var(--ivory); }
.whyword__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.whyword__img { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.whyword__shade { position: absolute; inset: 0; background: rgba(17, 16, 16, .45); opacity: 0; }
.whyword__mask { position: absolute; inset: 0; display: grid; place-items: center; background: var(--charcoal); mix-blend-mode: multiply; will-change: opacity; }
.whyword__word { color: #fff; /* utility white: required for the multiply knockout */ font-size: min(36vw, 56vh); line-height: .8; font-weight: 800; letter-spacing: -.06em; will-change: transform; padding-top: .04em; }
.whyword__copy { position: absolute; left: 0; right: 0; bottom: 12vh; text-align: center; padding-inline: 22px; opacity: 0; }
.whyword .closing__pre { color: rgba(242, 241, 237, .78); }
.whyword .closing__big { color: var(--ivory); }

/* ==========================================================================
   Word flow — big words slide with scroll
   ========================================================================== */
.flow { background: var(--light); padding-block: clamp(40px, 8vh, 90px) clamp(80px, 14vh, 160px); overflow: hidden; display: grid; gap: 8px; }
.flow__row { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); width: max-content; white-space: nowrap; will-change: transform; }
.flow__row span { font-size: clamp(56px, 9vw, 144px); line-height: 1.05; font-weight: 700; letter-spacing: -.05em; color: var(--ink); }
.flow__row--rev span { color: rgba(17, 16, 16, .2); }
.flow__row--rev span.grad { color: var(--burgundy); }
.flow__row i { width: clamp(14px, 1.4vw, 22px); height: clamp(14px, 1.4vw, 22px); border-radius: 50%; background: var(--accent); flex: none; }

/* Scroll progress */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--burgundy); transform-origin: 0 50%; transform: scaleX(0); }

/* Accent words (formerly gradient) are flat */
.grad-split { background: none !important; color: inherit !important; }
.word.grad { display: inline-block; }

/* ==========================================================================
   Luxury layer — serif accents, WebGL images, cursor, grain, odometer
   ========================================================================== */
.serif { font-family: "Instrument Serif", "Times New Roman", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.015em; padding-right: .04em; }
.word.serif, .serif .word { font-family: "Instrument Serif", "Times New Roman", Georgia, serif; font-style: italic; font-weight: 400; }
.flow__row span.serif { font-weight: 400; letter-spacing: -.02em; }


/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; display: none; place-items: center; transition: width .6s var(--ease), height .6s var(--ease), margin .6s var(--ease), background-color .4s, opacity .4s; }
@media (pointer: fine) { .cursor { display: grid; } }
.cursor__label { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; mix-blend-mode: normal; background: var(--ivory); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-hidden { opacity: 0; }

/* Film grain */
.grain { display: none; position: fixed; inset: -50%; z-index: 65; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, 6%); } 100% { transform: translate(0, 0); } }

/* Odometer digits */
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; line-height: 1; }
.odo__strip { display: block; will-change: transform; }
.odo__strip span { display: block; height: 1em; line-height: 1; }
.stat__v .odo__strip span, .stat__v .odo-dot { color: var(--ivory); }
.stat__v.grad-split { color: var(--rose) !important; }

/* Curtain edges: light sections arrive with a curved top */
.purpose, .services, .clients { position: relative; z-index: 1; }

/* Eyebrow + line reveal helpers */
.line-mask { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

/* Hide the hero until fonts are in and the intro is staged */
html.is-booting .hero__copy, html.is-booting .zoom { visibility: hidden; }

/* ==========================================================================
   Satin + preloader + micro-interactions
   ========================================================================== */
.hero { position: relative; }
.satin { position: absolute; left: 0; width: 100%; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.satin.is-on { opacity: 1; }
.satin--hero { top: 0; height: 100vh; height: 100svh;  }
.hero__copy { position: relative; z-index: 1; }
.contact { position: relative; overflow: hidden; }
.satin--contact { inset: 0; height: 100%;  }
.contact .wrap { position: relative; z-index: 1; }

.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; color: var(--ivory); }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--charcoal); }
.loader__half--top { top: 0; }
.loader__half--bottom { bottom: 0; }
.loader__center { position: relative; display: grid; justify-items: center; gap: 20px; }
.loader__mark { width: clamp(64px, 6vw, 88px); overflow: visible; }
.loader__mark path { fill: var(--ivory); fill-opacity: 0; stroke: var(--ivory); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.loader__word { font-size: 12px; font-weight: 600; letter-spacing: .6em; margin-right: -.6em; opacity: 0; }
.loader__count { position: absolute; right: clamp(22px, 4vw, 56px); bottom: clamp(22px, 4vw, 48px); overflow: hidden; font-size: clamp(40px, 6vw, 88px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ivory); }
.loader__count span { display: block; }
.loader__tag { position: absolute; left: clamp(22px, 4vw, 56px); bottom: clamp(26px, 4vw, 54px); font-size: clamp(17px, 1.5vw, 21px); color: var(--gray-2); }
.loader__tag .serif { color: var(--rose); }
html.is-loading { overflow: hidden; }

/* Text roll on hover */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.25em; line-height: 1.25; }
.roll > span { display: block; transition: transform .7s cubic-bezier(.19, 1, .22, 1); }
.roll > span::after { content: attr(data-text); display: block; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-50%); }
.btn { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { .loader { display: none; } .satin { display: none; } }


/* Touch devices: lighter, steadier rendering */
@media (hover: none) and (pointer: coarse) {
  .grain { display: none; }
  .voices__track { animation-duration: 90s; }
}

/* Impact numbers: flat ivory on burgundy */
.stat__v, .stat__v.grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--rose); }

/* Dark surfaces: ivory controls so burgundy never sits on near-black */
[data-nav="dark"] .btn, .gnav[data-theme="dark"] .gnav__cta { background: var(--ivory); color: var(--charcoal); }
[data-nav="dark"] .btn:hover, .gnav[data-theme="dark"] .gnav__cta:hover { background: var(--stone); }
[data-nav="dark"] .link { color: var(--ivory); }

/* Primary color moments */
.statement { background: var(--burgundy); }
.impact { background: var(--burgundy); }
.impact .stats { border-top-color: var(--line-dark); }
.impact .stat { border-left-color: var(--line-dark); }

/* Hero frame: a flat burgundy panel carrying the mark */
.zoom__frame--brand { background: var(--burgundy); display: grid; place-items: center; }
.zoom__mark { width: auto; height: min(36vh, 320px); margin-bottom: 24vh; fill: var(--ivory); will-change: transform; }
.zoom__caption { color: var(--ivory); }

/* Keycap label stays ivory on the burgundy key */
.purpose__key .key__label.serif { color: var(--ivory); }
