/* ==========================================================================
   EDIFY WORK — styles
   Warm cream canvas · two-tone headlines · saturated colour blocks
   ========================================================================== */
:root {
  --bg: #F6F2EA;
  --paper: #FBF8F2;
  --cream: #EFE7D7;
  --ink: #141414;
  --muted: #7E7A73;
  --dim: #A7A198;
  --line: #E3DDD1;

  --indigo: #3A1EA6;
  --orange: #F2621F;
  --red: #E2252F;
  --brown: #6C4B3A;
  --taupe: #8A8079;
  --lime: #D9F04A;
  --yellow: #F3E15C;
  --tag-pink: #F6C9F4; --tag-blue: #B8D5F8; --tag-orange: #FFB25C; --tag-cream: #FFF0C6; --tag-lav: #DDD6FA;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 10px 30px -12px rgba(20, 20, 20, .14);
  --shadow-lg: 0 30px 60px -24px rgba(20, 20, 20, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0 0; }

/* ---------- type ---------- */
.dim { color: var(--dim); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); }
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow--light::before { background: #fff; }
.h2 {
  font-size: clamp(34px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600;
  max-width: 18ch; text-wrap: balance;
}
.lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); max-width: 52ch; margin-top: 18px; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--center { text-align: center; }
.section-head--center .h2, .section-head--center .lead { margin-left: auto; margin-right: auto; }
.footnote { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ---------- buttons + pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 8px 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease), background .3s; white-space: nowrap;
}
.btn .arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 14px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: rotate(45deg); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { padding: 0 22px; border: 1px solid var(--line); background: var(--paper); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.tiny-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 7px;
  background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; transition: transform .2s var(--ease), background .2s;
}
.tiny-pill:hover { transform: translateY(-1px); }
.tiny-pill--light { background: #fff; color: var(--ink); }
.round-btn {
  display: inline-grid; place-items: center; height: 42px; width: 42px; border-radius: 12px;
  background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: 15px; transition: background .2s, color .2s;
}
.round-btn:hover { background: #fff; color: var(--ink); }


/* ---------- CTA pill (one style everywhere) ---------- */
.cta-pill {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 56px; padding: 0 7px 0 26px; border-radius: 999px; border: 0;
  background: #141414; color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer; transition: transform .3s var(--ease), background .3s;
}
.cta-pill i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: #3A3A3A; color: #fff; font-style: normal; font-size: 18px; transition: transform .35s var(--ease), background .3s;
}
.cta-pill:hover { transform: translateY(-2px); }
.cta-pill:hover i { transform: translateX(3px); background: #4A4A4A; }
.cta-pill--sm { height: 44px; padding: 0 5px 0 18px; gap: 12px; font-size: 14px; }
.cta-pill--sm i { width: 34px; height: 34px; font-size: 15px; }
.cta-pill--block { width: 100%; }
.cta-pill:disabled { opacity: .6; cursor: default; }
.hero__cta { margin-top: 28px; }

/* ---------- announce + nav + rail ---------- */
.nav-wrap { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .3s, backdrop-filter .3s; }
.nav-wrap.is-scrolled { background: rgba(246, 242, 234, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 24px; position: relative; }
.nav__logo img { height: 52px; width: auto; mix-blend-mode: multiply; }
.nav__links { display: flex; gap: 2px; margin: 0 0 0 auto; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 14px; color: #3d3a36; transition: background .2s; }
.nav__links a:hover { background: var(--cream); }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.rail { position: fixed; left: 20px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; flex-direction: column; gap: 8px; }
.rail a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); transition: background .2s; }
.rail svg { width: 17px; height: 17px; fill: var(--ink); }
.rail a.is-active, .rail a:hover { background: var(--ink); border-color: var(--ink); }
.rail a.is-active svg, .rail a:hover svg { fill: var(--bg); }
.rail a.is-active svg [fill], .rail a:hover svg [fill] { fill: var(--ink); }
.rail a.is-active svg [stroke], .rail a:hover svg [stroke] { stroke: var(--ink); }
.rail span { position: absolute; left: 50px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 7px; white-space: nowrap; opacity: 0; transform: translateX(-6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
@media (min-width: 1400px) { .rail { display: flex; } }

/* ---------- hero: gradient haze + serif statement ---------- */
.hero { position: relative; margin-top: -76px; padding-top: 76px; overflow: hidden; background: #FAFAF8; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.haze {
  --h1: 20%; --h2: 42%; --h3: 58%; --h4: 72%; --h5: 92%; --v1: 0%; --v2: 0%;
  position: absolute; inset: 0 0 auto; height: min(560px, 70vh); pointer-events: none;
  background:
    radial-gradient(34% 70% at var(--h1) var(--v1), #F35BD3 0%, rgba(243, 91, 211, 0) 72%),
    radial-gradient(30% 64% at var(--h2) var(--v2), #FF5470 0%, rgba(255, 84, 112, 0) 72%),
    radial-gradient(32% 70% at var(--h3) var(--v1), #FF6A3D 0%, rgba(255, 106, 61, 0) 72%),
    radial-gradient(28% 60% at var(--h4) var(--v2), #FFA85A 0%, rgba(255, 168, 90, 0) 72%),
    radial-gradient(30% 60% at var(--h5) 0%, #DCD3F6 0%, rgba(220, 211, 246, 0) 72%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 22%, transparent 78%);
  mask-image: linear-gradient(#000 0%, #000 22%, transparent 78%);
  filter: blur(10px) saturate(1.15);
  transform-origin: 50% 0;
  animation: haze 16s ease-in-out infinite alternate, hazeFlow 14s ease-in-out infinite;
}
/* film grain over the haze */
.haze::after {
  content: ""; position: absolute; inset: 0; opacity: .8; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes haze { from { transform: scale(1) translateX(0); } to { transform: scale(1.08, 1.15) translateX(-2%); } }

/* the colour blobs drift across the top (animatable custom properties) */
@property --h1 { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --h2 { syntax: "<percentage>"; inherits: false; initial-value: 42%; }
@property --h3 { syntax: "<percentage>"; inherits: false; initial-value: 58%; }
@property --h4 { syntax: "<percentage>"; inherits: false; initial-value: 72%; }
@property --h5 { syntax: "<percentage>"; inherits: false; initial-value: 92%; }
@property --v1 { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --v2 { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes hazeFlow {
  0%   { --h1: 20%; --h2: 42%; --h3: 58%; --h4: 72%; --h5: 92%; --v1: 0%;   --v2: 0%; }
  25%  { --h1: 32%; --h2: 24%; --h3: 70%; --h4: 54%; --h5: 84%; --v1: -8%;  --v2: 6%; }
  50%  { --h1: 46%; --h2: 30%; --h3: 82%; --h4: 40%; --h5: 70%; --v1: 4%;   --v2: -6%; }
  75%  { --h1: 28%; --h2: 56%; --h3: 48%; --h4: 82%; --h5: 96%; --v1: -4%;  --v2: 4%; }
  100% { --h1: 20%; --h2: 42%; --h3: 58%; --h4: 72%; --h5: 92%; --v1: 0%;   --v2: 0%; }
}

.hero__inner { position: relative; z-index: 1; text-align: center; padding-block: clamp(96px, 11vw, 150px) clamp(64px, 8vw, 110px); }
.hero__title {
  font-family: "Instrument Serif", "Times New Roman", serif; font-weight: 400;
  font-size: clamp(52px, 6.8vw, 112px); line-height: .96; letter-spacing: -.035em; color: #1A1A1A;
  max-width: 17ch; margin: 0 auto; text-wrap: balance;
}
/* rotating service word inside the headline */
.hero__title { max-width: none; }
.hero__line { display: block; }
.rotator {
  --chip: var(--tag-pink);
  position: relative; display: inline-block; vertical-align: bottom;
  height: 1.08em; padding: 0 .2em; margin: .06em .02em 0 0;
  border-radius: .14em; background: var(--chip); overflow: hidden;
  transition: width .6s cubic-bezier(.65, 0, .35, 1), background-color .6s ease;
}
.rotator__word {
  display: block; white-space: nowrap; line-height: 1.08em;
  transform: translateY(0); filter: blur(0); opacity: 1;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s ease, opacity .5s ease;
}
.rotator__word.is-next { position: absolute; left: .2em; top: 0; transform: translateY(70%); filter: blur(8px); opacity: 0; }
.rotator__word.is-out { position: absolute; left: .2em; top: 0; transform: translateY(-70%); filter: blur(8px); opacity: 0; }
.hero__title sup { font-size: .32em; vertical-align: top; position: relative; top: .35em; margin-left: .04em; letter-spacing: 0; }
.hero__sub { margin-top: 32px; font-size: clamp(16px, 1.4vw, 21px); color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }


/* ---------- creators carousel (indigo block) ---------- */
.c-card .ico { display: inline-grid; }
.creators-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--indigo); color: #fff; padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.creators-panel .dim { color: rgba(255,255,255,.5); }
.creators-panel__head { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter); margin-bottom: 40px; }
.creators-panel__head .h2 { margin: 0 auto; max-width: 16ch; }
.creators-panel__head .lead { margin: 18px auto 0; color: rgba(255,255,255,.7); }
.carousel { position: relative; z-index: 1; }
.carousel__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.carousel__viewport:focus-visible { outline-offset: -3px; }
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track { display: flex; gap: 14px; width: max-content; will-change: transform; align-items: stretch; }
.c-card { flex: none; width: 190px; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 10px 10px 14px; transition: transform .35s var(--ease); user-select: none; -webkit-user-select: none; }
.c-card:hover { transform: translateY(-6px) rotate(-1deg); }
.c-card a { display: block; height: 100%; -webkit-user-drag: none; }
.c-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transform: scale(1.04); pointer-events: none; background: var(--bg); }
.c-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 0 4px; }
.c-card__handle { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-card__sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.c-card .ico svg { width: 20px; height: 20px; }
.c-card--feature { width: 290px; display: flex; }
.c-card--feature a { display: flex; flex-direction: column; justify-content: space-between; }
.c-card--feature .c-card__top { display: flex; align-items: center; gap: 14px; padding: 6px; }
.c-card--feature img { width: 92px; height: 92px; border: 4px solid rgba(255,255,255,.6); }
.c-card--feature .c-card__tag { margin: 12px 6px 0; font-size: 12px; opacity: .7; }
.c-card--feature .tag { background: var(--ink); color: #fff; }
.c-card--feature:nth-child(3n) { background: var(--lime); }
.c-card--feature:nth-child(3n+1) { background: var(--orange); color: #fff; }
.c-card--feature:nth-child(3n+1) .c-card__sub { color: rgba(255,255,255,.75); }
.c-card--feature:nth-child(3n+2) { background: var(--yellow); }
.carousel__controls { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pause-btn { height: 42px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: 13px; }
.pause-btn:hover { background: #fff; color: var(--ink); }

/* ---------- video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v-card { position: relative; display: block; width: 100%; aspect-ratio: 9/14; border-radius: var(--radius); overflow: hidden; background: #222; text-align: left; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.v-card:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.v-card img, .v-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.v-card:hover img { transform: scale(1.05); }
.v-card video { opacity: 0; transition: opacity .3s; }
.v-card.is-previewing video { opacity: 1; }
.v-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72)); z-index: 1; }
.v-card__play { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); transition: transform .3s var(--ease); }
.v-card__play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.v-card:hover .v-card__play { transform: scale(1.12); }
.v-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--paper); padding: 5px 8px; border-radius: 6px; }
.v-card__body { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; color: #fff; }
.v-card__views { display: inline-flex; align-items: baseline; gap: 6px; background: var(--orange); color: #fff; border-radius: 10px; padding: 6px 11px; font-weight: 600; font-size: 20px; letter-spacing: -.04em; line-height: 1.1; }
.v-card__views small { font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: .85; }
.v-card__title { margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* our edits */
.portfolio-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; }
.portfolio-head .h3 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.03em; margin: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-family: inherit; font-size: 14px; font-weight: 500; color: #3d3a36; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { background: var(--cream); }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.w-card--wide { grid-column: span 2; aspect-ratio: 16/10; }
.w-card[hidden] { display: none; }
.v-card--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.v-card--feature img { object-position: 50% 25%; }
.v-card--feature .v-card__views { font-size: clamp(28px, 4vw, 52px); padding: 8px 16px; border-radius: 14px; }
.v-card--feature .v-card__views small { font-size: 15px; }
.v-card--feature .v-card__title { font-size: 20px; }
.v-card--feature .v-card__play { width: 60px; height: 60px; top: 18px; right: 18px; }
.v-card--feature .v-card__play::after { left: 24px; top: 19px; border-left-width: 16px; border-top-width: 11px; border-bottom-width: 11px; }

/* ---------- services: sticky folding stack ---------- */
.stack { position: relative; padding-bottom: 4vh; }
.s-card {
  --p: 0;
  position: sticky; top: clamp(76px, 12vh, 120px);
  height: min(560px, calc(100vh - 160px)); min-height: 440px;
  margin-bottom: 14vh; perspective: 1600px;
}
.s-card:last-child { margin-bottom: 0; }
.s-card__inner {
  position: relative; height: 100%; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
  color: #fff; display: flex; flex-direction: column; overflow: hidden;
  transform-origin: 50% 100%;
  transform: translateY(calc(var(--p) * -6%)) rotateX(calc(var(--p) * 32deg)) scale(calc(1 - var(--p) * .1));
  filter: brightness(calc(1 - var(--p) * .3));
  box-shadow: 0 -20px 50px -30px rgba(0,0,0,.35);
  will-change: transform;
}
.s-card--indigo .s-card__inner { background: var(--indigo); }
.s-card--orange .s-card__inner { background: var(--orange); }
.s-card--red .s-card__inner { background: var(--red); }
.s-card--brown .s-card__inner { background: var(--brown); }
.s-card--ink .s-card__inner { background: #1E1B18; }
.s-card__head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.s-card__head h3 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; max-width: 16ch; }
.s-card__num { font-size: 15px; opacity: .55; font-weight: 500; }
.s-card__desc { margin-top: 14px; max-width: 48ch; font-size: 15px; opacity: .72; }
.s-card__body { margin-top: auto; display: grid; grid-template-columns: minmax(180px, 1fr) 2.4fr; gap: 28px; align-items: end; }
.s-card__proof b { display: block; font-size: clamp(44px, 5vw, 72px); letter-spacing: -.06em; line-height: 1; font-weight: 600; }
.s-card__proof span { display: block; margin-top: 6px; font-size: 13px; opacity: .72; max-width: 20ch; }
.s-card__proof ul { display: grid; gap: 6px; }
.s-card__proof li { font-size: 14px; font-weight: 500; padding-left: 16px; position: relative; opacity: .9; }
.s-card__proof li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .6; }
.s-card__media { display: flex; gap: 12px; justify-content: flex-end; align-items: flex-end; overflow: hidden; }
.shot { border-radius: 12px; object-fit: cover; box-shadow: 0 16px 30px -16px rgba(0,0,0,.5); flex: none; }
.shot--tall { width: clamp(96px, 11vw, 140px); aspect-ratio: 146/216; }
.shot--wide { width: clamp(150px, 18vw, 230px); aspect-ratio: 16/9; }
.tile { flex: none; display: grid; place-items: center; width: clamp(96px, 11vw, 150px); aspect-ratio: 1; border-radius: 14px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.tile--lime { background: var(--lime); } .tile--cream { background: var(--cream); } .tile--yellow { background: var(--yellow); } .tile--ink { background: #1E1B18; color: #fff; }
.s-card__go { position: absolute; right: clamp(24px, 3vw, 40px); top: 50%; }
.s-card--ink .s-card__go { background: #fff; color: var(--ink); }
.s-card--ink .s-card__go i { background: #E8E3DA; color: var(--ink); }
.services__also { margin-top: 28px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- testimonials: scattered cards ---------- */
.section--testi { overflow: hidden; }
.scatter { position: relative; height: 620px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
.t-card {
  position: absolute; left: calc(var(--gutter) + (100% - 2 * var(--gutter) - 290px) * var(--x)); top: var(--y);
  width: 290px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin: 0;
  box-shadow: 0 24px 50px -28px rgba(20,20,20,.45);
  opacity: 0; transform: translateY(260px) rotate(calc(var(--r) * 2.5));
  transition: transform 1.1s var(--ease) var(--d), opacity .6s ease var(--d), box-shadow .3s;
}
.scatter.is-in .t-card { opacity: 1; transform: rotate(var(--r)); }
.scatter.is-in .t-card:hover, .scatter.is-in .t-card:focus-visible { transform: rotate(0) translateY(-12px) scale(1.03); z-index: 10; box-shadow: var(--shadow-lg); transition-delay: 0s; }
.t-card--dark { background: var(--taupe); border-color: transparent; color: #fff; }
.t-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.t-card__mark { font-size: 46px; line-height: .6; height: 22px; font-weight: 700; color: var(--orange); }
.t-card--dark .t-card__mark { color: #fff; }
.t-card blockquote { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.35; min-height: 96px; }
.t-card figcaption { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); font-size: 12px; }
.t-card--dark figcaption { border-color: rgba(255,255,255,.2); }
.t-card figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.t-card figcaption b { display: block; font-size: 13px; font-weight: 600; }
.t-card figcaption span { opacity: .7; }

/* ---------- process ---------- */
.process-panel { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.process-panel .dim { color: rgba(255,255,255,.45); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: rgba(255,255,255,.12); }
.timeline::after { content: ""; position: absolute; left: 0; top: 26px; height: 2px; width: var(--progress, 0%); background: var(--orange); transition: width 1.4s var(--ease); }
.step { position: relative; z-index: 1; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.step.is-in { opacity: 1; transform: none; }
.step__num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: 15px; margin-bottom: 24px; transition: background .4s, border-color .4s; }
.step.is-in .step__num { background: var(--orange); border-color: transparent; }
.step h3 { font-size: 21px; letter-spacing: -.03em; font-weight: 600; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 26ch; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--orange); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cta .dim { color: rgba(255,255,255,.62); }
.cta__title { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; }
.cta__sub { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,.88); max-width: 44ch; }
.contact-list { margin-top: 32px; display: grid; gap: 10px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.contact-list i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.18); font-style: normal; flex: none; }
.contact-list svg { width: 18px; height: 18px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 12px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 11px; padding: 12px 14px; font-size: 15px; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.hidden-field { position: absolute; left: -9999px; }
.form__status { font-size: 14px; font-weight: 600; min-height: 1.2em; }
.form__status.ok { color: #12803c; } .form__status.err { color: #c0362c; }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 7vw, 88px) 0 clamp(150px, 16vw, 220px); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 32px; border-top: 1px solid rgba(20,20,20,.08); }
.footer__logo img { height: 32px; width: auto; mix-blend-mode: multiply; }
.footer__links { display: flex; gap: 22px; font-weight: 500; font-size: 14px; }
.footer__links a:hover { color: var(--orange); }
.footer__social { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 14px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.social svg { width: 20px; height: 20px; }
.footer__copy { width: 100%; font-size: 13px; color: var(--muted); }

.footer { position: relative; overflow: hidden; }
.footer__haze { position: absolute; inset: 0; transform: scaleY(-1); pointer-events: none; }
.footer__haze .haze { height: 100%; }
.footer__inner { position: relative; z-index: 1; }

/* ---------- floating dock + clock ---------- */
.dock {
  position: fixed; left: 50%; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(251,248,242,.92); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow);
  transform: translate(-50%, 140%); transition: transform .5s var(--ease);
}
.dock.is-shown { transform: translate(-50%, 0); }
.dock__text { font-size: 13px; color: var(--muted); white-space: nowrap; }
.clock { position: fixed; right: 20px; bottom: 26px; z-index: 40; font-size: 11px; color: var(--muted); display: none; margin: 0; }
.clock b { color: var(--ink); font-weight: 600; }
.clock { opacity: 0; transition: opacity .4s; }
.clock.is-shown { opacity: 1; }
@media (min-width: 1100px) { .clock { display: block; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(960px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); overflow: visible; }
.lightbox::backdrop { background: rgba(20, 18, 15, .78); backdrop-filter: blur(6px); }
.lightbox[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.lightbox__inner { position: relative; display: grid; grid-template-columns: auto 1fr; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; max-height: calc(100vh - 32px); }
.lightbox__media { background: #111; display: grid; place-items: center; max-height: calc(100vh - 32px); }
.lightbox__media img, .lightbox__media video { max-height: min(78vh, 720px); width: auto; max-width: 100%; }
.lightbox__media iframe { width: min(405px, 80vw); aspect-ratio: 9/16; border: 0; max-height: 78vh; }
.lightbox__media--wide iframe { width: min(640px, 80vw); aspect-ratio: 16/9; }
.lightbox__media--wide img { max-width: min(620px, 80vw); }
.lightbox__info { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 260px; }
.lightbox__info .eyebrow { margin-bottom: 0; }
.lightbox__info h3 { font-size: 28px; letter-spacing: -.04em; line-height: 1.05; font-weight: 600; }
.lightbox__views { font-size: 48px; font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--orange); }
.lightbox__views:empty { display: none; }
.lightbox__note { color: var(--muted); font-size: 14px; }
.lightbox .btn { align-self: flex-start; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; background: var(--bg); z-index: 2; font-size: 16px; }
.lightbox__close:hover { background: var(--ink); color: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr; }
  .scatter { height: 720px; }
  .t-card { width: 270px; left: calc(var(--gutter) + (100% - 2 * var(--gutter) - 270px) * var(--x)); }
  .s-card__body { grid-template-columns: 1fr; }
  .s-card__media { justify-content: flex-start; }
  .s-card__go { top: auto; bottom: clamp(24px, 3vw, 40px); }
  .s-card__proof { padding-right: 140px; }
}

@media (max-width: 820px) {
  .nav { gap: 12px; }
  .nav__logo img { height: 40px; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__cta { display: none; }
  .nav__links { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 4px); flex-direction: column; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-lg); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 16px; font-size: 16px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before, .timeline::after { left: 26px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline::after { height: var(--progress, 0%); width: 2px; bottom: auto; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 20px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin-top: 4px; }
  /* testimonials become a swipeable row of tilted cards */
  .scatter { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--gutter) 40px; scrollbar-width: none; }
  .scatter::-webkit-scrollbar { display: none; }
  .t-card { position: relative; left: auto !important; top: auto; flex: none; width: 78%; max-width: 320px; scroll-snap-align: center; transform: translateY(120px) rotate(calc(var(--r) * .6)); }
  .scatter.is-in .t-card { transform: rotate(calc(var(--r) * .4)); }
}

@media (max-width: 640px) {
  .c-card { width: 156px; }
  .c-card--feature { width: 246px; }
  .c-card--feature img { width: 74px; height: 74px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .v-card { border-radius: 16px; }
  .v-card--feature { grid-row: auto; aspect-ratio: 4/5; }
  .v-card__views { font-size: 16px; padding: 5px 9px; }
  .v-card__title { font-size: 12px; }
  .v-card__badge { display: none; }
  .v-card__play { width: 32px; height: 32px; top: 10px; right: 10px; }
  .v-card__play::after { left: 13px; top: 10px; border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
  .v-card--feature .v-card__views { font-size: 30px; }
  .s-card { top: 70px; height: auto; min-height: 0; margin-bottom: 8vh; }
  .s-card__inner { min-height: min(560px, calc(100vh - 110px)); }
  .s-card__head { flex-direction: column-reverse; gap: 6px; }
  .s-card__body { gap: 18px; padding-top: 22px; }
  .s-card__proof { padding-right: 0; }
  .s-card__go { position: static; align-self: flex-start; margin-top: 18px; }
  .shot--tall { width: 92px; } .shot--wide { width: 170px; } .tile { width: 92px; font-size: 17px; }
  .form__row { grid-template-columns: 1fr; }
  .lightbox__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox__media img { max-height: 56vh; }
  .lightbox__media iframe { max-height: 56vh; width: auto; height: 56vh; }
  .lightbox__info { padding: 24px; min-width: 0; }
  .footer__links { flex-wrap: wrap; gap: 14px 20px; }
  .dock { left: 16px; right: 16px; transform: translateY(140%); justify-content: space-between; }
  .dock.is-shown { transform: none; }
  .dock__text { font-size: 12px; }
}


@media (max-width: 640px) {
}

@media (max-width: 640px) {
  .hero__inner { padding-block: 120px 72px; }
  .hero__title { font-size: clamp(40px, 11vw, 60px); }
  }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .step { opacity: 1; transform: none; }
  .t-card { opacity: 1; transform: rotate(var(--r)); }
}
