/* =============================================================================
   Do Epic Sh*t — layout system
   Breakpoints
     --bp-sm  560px   cards stack less tightly
     --bp-md  760px   12-col grid on; 2-up clusters
     --bp-lg  860px   3-up fears / modules; split offer + contact
     --bp-xl  980px   3-up work grid
     content  1240px  max wrap
   ============================================================================= */

:root {
  /* Raw palette — three committed surfaces + one accent */
  --ink: #000000;
  --bone: #f0efec;
  --sky: #b0f1ff;
  --doodle: #8fe6f4;
  --paper: #ffffff;
  --mute: #5f5e5a;
  --mute-d: #a5a49f;
  --line: rgba(0, 0, 0, 0.14);
  --line-d: rgba(255, 255, 255, 0.16);
  --card-d: #141414;

  /* Semantic colour roles */
  --bg-page: var(--ink);
  --bg-alt: var(--bone);
  --bg-accent: var(--sky);
  --text-on-dark: var(--paper);
  --text-on-light: var(--ink);
  --text-muted-on-dark: var(--mute-d);
  --text-muted-on-light: var(--mute);
  --logo-accent: #00dfe4;
  --accent: var(--sky);
  --accent-mark: var(--doodle);
  --focus: var(--doodle);
  --selection-bg: var(--sky);
  --selection-fg: var(--ink);

  /* Type families: Playfair + Fraunces (display/serif) + Jost (UI/sans) */
  --serif: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --fraunces: "Fraunces", "Playfair Display", Georgia, serif;
  --montserrat: "Montserrat", "Jost", system-ui, sans-serif;
  --sans: "Jost", "Futura", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --font-display: var(--serif);
  --font-body: var(--sans);
  --font-fraunces: var(--fraunces);
  --font-montserrat: var(--montserrat);

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-black: 800;

  --tracking-display: -0.02em;
  --tracking-tight: -0.03em;
  --tracking-caps: 0.14em;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-caption: 14px;
  --text-nav: 15px;
  --text-ui: 16px;
  --text-body: 18px;
  --text-btn: 17px;
  --text-lede: clamp(18px, 1.6vw, 21px);
  --text-quote: 21px;
  --text-hero-sub: clamp(22px, 2.2vw, 30px);
  --text-card: clamp(26px, 2.4vw, 34px);
  --text-sub: clamp(26px, 2.6vw, 36px);
  --text-h3: clamp(28px, 3vw, 38px);
  --text-mix: 30px;
  --text-dialog: clamp(34px, 4vw, 50px);
  --text-founder: clamp(44px, 5vw, 72px);
  --text-h2: clamp(40px, 5.6vw, 80px);
  --text-hero: clamp(56px, 12.5vw, 190px);
  --text-step-num: 44px;
  --leading-body: 1.55;
  --leading-tight: 1;

  --wrap: 1240px;
  --wrap-narrow: 760px;
  --gutter: clamp(20px, 4vw, 40px);
  --gap: clamp(12px, 1.8vw, 24px);
  --gap-lg: clamp(20px, 3vw, 40px);
  --band-pad: clamp(64px, 9vw, 120px);
  --radius: 18px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --header-h: 64px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration: 0.7s;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

html.lenis {
  scroll-behavior: auto;
}

@media (max-width: 759px) {
  html {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 760px) {
  html {
    scrollbar-gutter: stable;
  }
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-fg);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 80;
  background: var(--sky);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: calc(8px + env(safe-area-inset-top, 0px));
}

/* -----------------------------------------------------------------------------
   Width + grid
   ----------------------------------------------------------------------------- */

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px))
    max(var(--gutter), env(safe-area-inset-right, 0px));
}

.wrap--narrow {
  max-width: calc(var(--wrap-narrow) + var(--gutter) * 2);
}

.band {
  padding-block: var(--band-pad);
}

.band--hero {
  padding-block: clamp(56px, 9vw, 100px) clamp(64px, 8vw, 104px);
}

.band--black {
  background: var(--bg-page);
  color: var(--text-on-dark);
}

.band--bone {
  background: var(--bg-alt);
  color: var(--text-on-light);
}

.band--sky {
  background: var(--bg-accent);
  color: var(--text-on-light);
}

#how {
  padding-bottom: calc(var(--band-pad) / 2);
}

#how + .band {
  padding-top: calc(var(--band-pad) / 2);
}

.band--paper {
  background: var(--paper);
  color: var(--text-on-light);
}

.band--paper .wrap > .subhead:first-child {
  margin-top: 0;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.span-4,
.span-5,
.span-6,
.span-7,
.span-8,
.span-12 {
  min-width: 0;
}

.cards-2,
.cards-3,
.cards-6 {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

.section-lead {
  margin-top: clamp(36px, 5vw, 60px);
}

.align-end {
  align-items: end;
}

@media (min-width: 560px) {
  .cards-6,
  .cards-3--work {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .how-lead {
    grid-template-columns: minmax(0, 6.25fr) minmax(0, 5.75fr);
  }

  .how-lead .span-7,
  .how-lead .span-5 {
    grid-column: auto;
  }

  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-12 { grid-column: 1 / -1; }

  .cards-2,
  .cards-3:not(.cards-3--work) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .cards-3:not(.cards-3--work):not(.cards-3--mixes),
  .cards-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .cards-3--work {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-3--work .work-arrive__item:nth-child(7) {
    grid-column: 2;
  }
}

/* -----------------------------------------------------------------------------
   Type
   ----------------------------------------------------------------------------- */

.sf {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
}

.ff {
  font-family: var(--font-fraunces);
  font-weight: var(--weight-regular);
}

.ff--light {
  font-weight: var(--weight-light);
}

.mn {
  font-family: var(--font-montserrat);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--logo-accent);
}

.ss {
  font-family: var(--font-body);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
}

.sl {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-display);
}

.lbl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-family: var(--font-fraunces);
  font-size: 22px;
  font-weight: var(--weight-regular);
  line-height: 1;
}

.lbl::before {
  content: "";
  width: 8px;
  height: 0.8em;
  border: 2px solid currentColor;
  border-right: 0;
}

.h2 {
  margin: 0;
  font-weight: var(--weight-regular);
  font-size: var(--text-h2);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

.h2 b {
  font-family: var(--font-body);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
}

.h2 b.mn {
  font-family: var(--font-montserrat);
  color: var(--logo-accent);
}

#how .h2 b,
#contact .h2 b {
  font-family: var(--font-montserrat);
}

.lede {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: var(--text-lede);
}

.lede--mute {
  color: var(--text-muted-on-light);
}

.lede--on-dark {
  color: var(--text-muted-on-dark);
}

.subhead {
  margin: clamp(56px, 7vw, 88px) 0 22px;
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-size: var(--text-sub);
  line-height: 1.1;
}

/* -----------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------------- */

.btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-btn);
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--logo-accent);
  outline-offset: 3px;
}

.btn--solid {
  background: var(--sky);
  color: var(--ink);
  border-color: var(--sky);
}

.btn--solid:hover {
  background: var(--logo-accent);
  border-color: var(--logo-accent);
  box-shadow: 0 10px 28px rgba(0, 223, 228, 0.28);
}

.btn--solid:active {
  box-shadow: none;
}

.btn:not(.btn--solid):hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* -----------------------------------------------------------------------------
   Header / nav
   ----------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-d);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.mark {
  display: flex;
  align-items: center;
  flex: none;
  z-index: 51;
  line-height: 0;
}

.mark img {
  display: block;
  height: clamp(22px, 4.2vw, 30px);
  width: auto;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  z-index: 51;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav,
.site-footer__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: 15px;
  font-weight: 400;
}

.site-nav a:not(.btn),
.site-footer__links a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  opacity: 0.8;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.site-nav a:not(.btn)::after,
.site-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--logo-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible,
.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--logo-accent);
  opacity: 1;
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after,
.site-footer__links a:hover::after,
.site-footer__links a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 759px) {
  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--ink);
    font-size: 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */

.hero {
  --hero-word-dur-we: 0.25s;
  --hero-word-pause-we: 0.01s;
  --hero-word-dur-dont: 0.3s;
  --hero-word-pause-dont: 0.2s;
  --hero-word-dur-do: 0.4s;
  --hero-word-pause-do: 0.3s;
  --hero-word-dur-wallpaper: 0.4s;
  --hero-underline-pause: 0.2s;
  --hero-underline-dur: 0.15s;
  --hero-bang-pause: 0.1s;
  --hero-bang-dur: 0.15s;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

@media (max-width: 759px) {
  .hero {
    --hero-word-dur-we: 0.1875s;
    --hero-word-dur-dont: 0.225s;
    --hero-word-dur-do: 0.3s;
    --hero-word-dur-wallpaper: 0.3s;
    --hero-underline-dur: 0.1125s;
    --hero-bang-dur: 0.1125s;
  }
}

.hero .wrap {
  container-type: inline-size;
}

.hero h1 {
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  font-weight: var(--weight-regular);
  line-height: 1.08;
  letter-spacing: var(--tracking-display);
  font-size: clamp(44px, 12cqi, 160px);
}

.hero h1 .mn {
  font-size: 0.82em;
  color: var(--logo-accent);
}

.hero__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em;
}

.hero__row--offset {
  padding-left: clamp(20px, 10cqi, 168px);
}

.hero__word {
  display: inline-block;
  will-change: transform;
}

.hero__wallpaper-group {
  display: flex;
  align-items: center;
  gap: 0.08em;
  min-width: 0;
}

.hero__word--wallpaper {
  position: relative;
}

.hero__bang {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 0.58em;
  align-self: center;
  opacity: 0;
  transform-origin: center;
}

.hero__bang-mark,
.hero__bang-dot {
  display: block;
  width: auto;
  max-width: none;
}

.hero__bang-mark {
  height: 0.78em;
}

.hero__bang-dot {
  height: 0.24em;
  margin-top: 0.04em;
  transform: translateX(-10px);
}

.hero__underline {
  position: absolute;
  left: 0;
  bottom: -0.06em;
  width: 100%;
  height: 0.28em;
  overflow: visible;
  pointer-events: none;
  transform: translateY(10px) rotate(-2deg);
  transform-origin: center;
}

.hero__underline-path {
  fill: none;
  stroke: var(--logo-accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
  opacity: 0;
}

.hero__sub {
  margin-top: clamp(52px, 7vw, 96px);
}

.hero__sub p {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  max-width: 24ch;
}

.hero__sub p .sf {
  font-size: 1.04em;
}

.hero__sub small {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  color: var(--mute-d);
  line-height: 1.45;
}

@media (min-width: 760px) {
  .hero__sub {
    align-items: end;
  }
}

/* -----------------------------------------------------------------------------
   Why us
   ----------------------------------------------------------------------------- */

.fear {
  position: relative;
  padding-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fear[data-reveal].is-in {
  transition: transform 0.25s var(--ease);
}

.fear[data-reveal].is-in:hover {
  transform: translateY(-5px);
}

.fear::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: var(--logo-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.fear:hover::after {
  transform: scaleX(1);
}

.fear__q {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}

.fear h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.12;
}

.fear p {
  margin: 0;
  font-size: 18px;
}

/* -----------------------------------------------------------------------------
   Work
   ----------------------------------------------------------------------------- */

.work-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.work-head .h2 {
  text-wrap: wrap;
}

#work {
  overflow-x: clip;
}

.work-arrive__item {
  min-width: 0;
}

.work-arrive__item > .case {
  width: 100%;
}

@media (min-width: 980px) {
  .work-arrive__item {
    transform: translate3d(-110vw, 0, 0);
    transition: transform 0.4s var(--ease);
    transition-delay: var(--work-arrive-delay, 0s);
  }

  .work-arrive.is-in .work-arrive__item {
    transform: none;
  }
}

@media (max-width: 979px) {
  .work-arrive__item {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.8);
    transform-origin: center center;
    transition:
      transform 0.75s var(--ease),
      opacity 0.65s var(--ease);
    transition-delay: 0s;
  }

  .work-arrive.is-in .work-arrive__item,
  .work-arrive__item.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 560px) and (max-width: 979px) {
  .work-arrive__item:nth-child(even) {
    transition-delay: 0.08s;
  }
}

.case {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--card-d);
  color: var(--paper);
  min-width: 0;
}

.case:focus-visible {
  outline: 3px solid var(--doodle);
  outline-offset: 4px;
}

.case > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.86) 100%);
}

.case__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.case h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
}

.case p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.case__open {
  flex: none;
  width: 28px;
  height: auto;
  line-height: 0;
  position: relative;
  z-index: 2;
  transition: transform 0.3s var(--ease);
}

.case__open img {
  position: static;
  width: 28px;
  height: auto;
  display: block;
  object-fit: contain;
}

.case:hover > img {
  transform: scale(1.05);
}

.case[data-id="ddc"] > img {
  transform: scale(1.2);
}

.case[data-id="ddc"]:hover > img {
  transform: scale(1.28);
}

.case:hover .case__open {
  transform: rotate(45deg);
}

.also {
  margin: 26px 0 0;
  font-size: 17px;
  color: var(--mute-d);
}

.also b {
  color: var(--paper);
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
   Case dialog
   ----------------------------------------------------------------------------- */

.case-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  width: min(1080px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  border-radius: 24px;
  background: var(--bone);
  color: var(--ink);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.95);
  transform-origin: center center;
  transition:
    transform 0.5s var(--ease),
    opacity 0.45s var(--ease);
}

.case-dialog.is-in {
  opacity: 1;
  transform: none;
}

.case-dialog.is-closing {
  transition-duration: 0.25s, 0.22s;
}

.case-dialog::-webkit-scrollbar {
  display: none;
}

.case-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.case-dialog__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px -52px 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--logo-accent);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 759px) {
  .case-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .case-dialog__close {
    float: none;
    display: block;
    margin: 12px 12px -56px auto;
  }
}

.case-dialog__layout {
  display: grid;
  grid-template-columns: 1fr;
}

.case-dialog__shots {
  background: transparent;
  display: grid;
  gap: 4px;
  align-content: start;
}

.case-dialog__shots img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-bleed,
.shot-video.shot--bleed {
  display: block;
  overflow: hidden;
  width: 100%;
}

.shot-bleed img,
.shot-video.shot--bleed img {
  transform: scale(1.03);
  transform-origin: center center;
}

.shot-video {
  all: unset;
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 100%;
  cursor: pointer;
}

.shot-video img {
  display: block;
}

.shot-video:focus-visible {
  outline: 3px solid var(--doodle);
  outline-offset: 4px;
}

.shot-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 50%;
  background: var(--logo-accent);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.shot-video__play::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--ink);
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.82);
}

.video-overlay.is-on {
  display: flex;
}

.video-overlay__frame {
  position: relative;
  max-width: min(1200px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
}

.video-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--logo-accent);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.video-overlay__player {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1200px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  background: #000;
}

@media (max-width: 759px) {
  .video-overlay__frame,
  .video-overlay__player {
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }
}

.case-dialog__txt {
  padding: clamp(26px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.case-dialog__txt h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.02;
}

.case-dialog__proj {
  margin: -10px 0 0;
  color: var(--mute);
  font-size: 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}

.case-dialog__txt h4 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 19px;
}

.case-dialog__txt section p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
}

.chap {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--sky);
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

.case-dialog__txt blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.35;
  border-left: 3px solid var(--doodle);
  padding-left: 16px;
}

.case-dialog__txt blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mute);
  margin-top: 6px;
}

@media (min-width: 760px) {
  .case-dialog__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .case-dialog__shots,
  .case-dialog__txt {
    position: sticky;
    top: 0;
  }
}

/* -----------------------------------------------------------------------------
   Offer
   ----------------------------------------------------------------------------- */

.promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.promises li {
  border-top: 1.5px solid var(--ink);
  padding: 14px 0;
}

.promises li:last-child {
  border-bottom: 1.5px solid var(--ink);
}

.promises b {
  display: block;
  font-weight: 700;
  font-size: 18px;
}

.promises span {
  font-size: 16px;
  color: var(--mute);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 24px);
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steps li::before {
  content: "0" counter(s);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
}

.steps b {
  font-size: 20px;
  font-weight: 700;
}

.steps span {
  font-size: 17px;
}

.blocks {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
}

.blocks__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
}

.blocks__title b {
  font-weight: var(--weight-black);
  color: var(--logo-accent);
}

.blocks__grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 26px) clamp(16px, 2vw, 28px);
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .blocks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
  }
}

.blocks .mod {
  position: relative;
  background: none;
  border-radius: 0;
  padding: 0 0 18px;
  min-width: 0;
  transition: transform 0.25s var(--ease);
}

.blocks .mod:hover {
  transform: translateY(-5px);
}

.blocks .mod::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: var(--logo-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.blocks .mod:hover::after {
  transform: scaleX(1);
}

.blocks .mod b {
  display: block;
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.12;
}

.blocks .mod span {
  display: block;
  font-size: 18px;
  font-weight: var(--weight-light);
  line-height: 1.45;
  color: var(--ink);
}

.mix {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mix h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
}

.mix__inc {
  font-size: 16px;
  color: var(--mute-d);
  line-height: 1.45;
  flex: 1;
}

.mix__paid {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--sky);
  border-radius: 999px;
  padding: 4px 12px;
  align-self: flex-start;
}

.pay {
  padding-top: 22px;
  border-top: 1.5px solid var(--ink);
}

.pay b {
  display: block;
  font-weight: 700;
  font-size: 18px;
}

.pay span {
  font-size: 16px;
  color: var(--mute);
}

.return {
  margin: 24px 0 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.4;
}

.return b {
  color: var(--doodle);
  font-family: var(--serif);
  font-weight: 500;
}

.path {
  display: grid;
  gap: var(--gap-lg);
  grid-template-columns: 1fr;
  align-items: stretch;
}

.path__col {
  background: var(--bone);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.path__col[data-reveal].is-in {
  transform-origin: center center;
  transition: transform 0.25s var(--ease);
}

.path__col[data-reveal].is-in:hover {
  z-index: 1;
  transform: scale(1.03);
}

.path__title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-montserrat);
  font-weight: var(--weight-black);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: var(--logo-accent);
}

.path__num {
  font-family: var(--font-montserrat);
  font-size: 1em;
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  text-transform: none;
  color: var(--ink);
}

.path__stack {
  display: grid;
  gap: 16px;
}

.path .mix h4,
.path .promises b,
.path .return b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.12;
}

.path .mix__inc,
.path .promises span,
.path .return li,
.path .return > p:not(.return__clients) {
  font-size: 16px;
  font-weight: var(--weight-light);
  line-height: 1.4;
  color: var(--ink);
}

.path .mix {
  background: none;
  color: inherit;
  border-radius: 0;
  padding: 0;
  gap: 8px;
}

.path .mix__inc {
  color: var(--mute);
  flex: none;
}

.path .promises {
  gap: 16px;
}

.path .promises li,
.path .promises li:last-child {
  border: 0;
  padding: 0;
}

.path .promises b {
  font-weight: 500;
}

.path .promises span {
  display: block;
  color: var(--mute);
}

.path .return li,
.path .return > p:not(.return__clients) {
  color: var(--mute);
}

.path .return > p:not(.return__clients) {
  margin: 0;
}

.path .return {
  margin: 0;
  background: none;
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path .return b {
  color: inherit;
}

.path .return ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.15em;
}

.path .return__clients {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 24px 0 0;
  text-align: center;
}

.path .return__clients a,
.path .return__clients a:visited,
.path .return__clients a:active {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.12;
}

.path .return__clients a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--logo-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.path .return__clients a:hover,
.path .return__clients a:focus-visible,
.path .return__clients a:visited:hover {
  color: var(--logo-accent);
}

.path .return__clients a:hover::after,
.path .return__clients a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 759px) {
  .blocks__title {
    font-size: 24px;
  }

  .blocks .mod b {
    font-size: 26px;
  }

  .blocks .mod:hover,
  .path__col[data-reveal].is-in:hover {
    transform: none;
  }

  .blocks .mod:hover::after {
    transform: none;
  }

  .path__title {
    font-size: 30px;
  }

  .path .mix h4,
  .path .promises b,
  .path .return b,
  .path .return__clients a,
  .path .return__clients a:visited,
  .path .return__clients a:active {
    font-size: 26px;
  }

  .path .mix__inc,
  .path .promises span,
  .path .return li,
  .path .return > p:not(.return__clients) {
    font-size: var(--text-body);
  }

  .path .return__clients a:hover::after {
    transform: none;
  }
}

@media (min-width: 860px) {
  .path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .steps,
  .cards-3.cards-3--mixes,
  .pay {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -----------------------------------------------------------------------------
   Founder
   ----------------------------------------------------------------------------- */

.founder img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  filter: grayscale(1);
  border-radius: var(--radius);
}

.founder h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
}

.founder__role {
  margin: 8px 0 22px;
  color: var(--mute-d);
}

.creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 18px;
  max-width: 52ch;
}

.creds li {
  padding-left: 20px;
  position: relative;
}

.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--doodle);
}

/* -----------------------------------------------------------------------------
   Contact
   ----------------------------------------------------------------------------- */

.contact-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-card--light {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--doodle);
  font-weight: 500;
}

.contact-card--light .eyebrow {
  color: var(--mute);
}

.contact-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
}

.contact-card__role {
  font-size: 16px;
  color: var(--mute-d);
  margin-bottom: 8px;
}

.contact-card--light .contact-card__role {
  color: var(--mute);
}

.cline {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid var(--line-d);
}

.contact-card--light .cline {
  border-color: var(--line);
}

.cline__k {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-d);
}

.contact-card--light .cline__k {
  color: var(--mute);
}

.cline a {
  font-size: clamp(16px, 1.5vw, 19px);
  text-decoration: none;
  overflow-wrap: anywhere;
  user-select: all;
}

.cline a:hover {
  color: var(--doodle);
}

.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  color: var(--paper);
  border: 0;
  cursor: pointer;
}

.copy .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.copy:hover,
.contact-card--light .copy:hover {
  color: var(--doodle);
}

.contact-card--light .copy {
  color: var(--ink);
}

.contact-stack {
  display: grid;
  gap: 14px;
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--text-muted-on-dark);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
  padding-block: clamp(72px, 9vw, 120px);
}

.site-footer__brand {
  flex: 1 1 280px;
  line-height: 0;
  text-decoration: none;
}

.site-footer__brand img {
  display: block;
  height: clamp(52px, 7.2vw, 92px);
  width: auto;
}

.site-footer__group {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35em;
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
  color: var(--mute-d);
}

.site-footer__sister {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: 0.88;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}

.site-footer__sister:hover,
.site-footer__sister:focus-visible {
  opacity: 1;
}

.site-footer__sister img {
  display: block;
  height: 2em;
  width: auto;
}

.site-footer__aside {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  text-align: right;
}

.site-footer__links {
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--paper);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  text-decoration: none;
}

.site-footer__social a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  max-width: 48ch;
}

.site-footer__legal {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute-d);
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--paper);
}

@media (max-width: 759px) {
  .site-footer__aside,
  .site-footer__links,
  .site-footer__meta,
  .site-footer__group {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }
}

/* -----------------------------------------------------------------------------
   Motion
   ----------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="2"].is-in { transition-delay: 0.08s; }
[data-reveal="3"].is-in { transition-delay: 0.16s; }

@media (prefers-reduced-motion: no-preference) {
  .hero__word {
    animation-timing-function: linear;
    animation-fill-mode: both;
  }

  .hero__word--we {
    animation-name: hero-in-left;
    animation-duration: var(--hero-word-dur-we);
    animation-delay: 0s;
  }

  .hero__word--dont {
    animation-name: hero-in-down;
    animation-duration: var(--hero-word-dur-dont);
    animation-delay: calc(var(--hero-word-dur-we) + var(--hero-word-pause-we));
  }

  .hero__word--do {
    animation-name: hero-in-right;
    animation-duration: var(--hero-word-dur-do);
    animation-delay: calc(
      var(--hero-word-dur-we) + var(--hero-word-pause-we) +
      var(--hero-word-dur-dont) + var(--hero-word-pause-dont)
    );
  }

  .hero__word--wallpaper {
    animation-name: hero-in-right;
    animation-duration: var(--hero-word-dur-wallpaper);
    animation-delay: calc(
      var(--hero-word-dur-we) + var(--hero-word-pause-we) +
      var(--hero-word-dur-dont) + var(--hero-word-pause-dont) +
      var(--hero-word-dur-do) + var(--hero-word-pause-do)
    );
  }

  .hero__underline-path {
    animation-name: hero-draw;
    animation-duration: var(--hero-underline-dur);
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-delay: calc(
      var(--hero-word-dur-we) + var(--hero-word-pause-we) +
      var(--hero-word-dur-dont) + var(--hero-word-pause-dont) +
      var(--hero-word-dur-do) + var(--hero-word-pause-do) +
      var(--hero-word-dur-wallpaper) + var(--hero-underline-pause)
    );
  }

  .hero__bang {
    animation-name: hero-stamp;
    animation-duration: var(--hero-bang-dur);
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-delay: calc(
      var(--hero-word-dur-we) + var(--hero-word-pause-we) +
      var(--hero-word-dur-dont) + var(--hero-word-pause-dont) +
      var(--hero-word-dur-do) + var(--hero-word-pause-do) +
      var(--hero-word-dur-wallpaper) + var(--hero-underline-pause) +
      var(--hero-underline-dur) + var(--hero-bang-pause)
    );
  }
}

@keyframes hero-in-left {
  from { transform: translateX(-100vw); }
  60% { transform: translateX(-20vw); }
  to { transform: none; }
}

@keyframes hero-in-down {
  from { transform: translateY(-100vh); }
  60% { transform: translateY(-20vh); }
  to { transform: none; }
}

@keyframes hero-in-right {
  from { transform: translateX(100vw); }
  60% { transform: translateX(20vw); }
  to { transform: none; }
}

@keyframes hero-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  1% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
  60% {
    stroke-dashoffset: 0.2;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes hero-stamp {
  from {
    opacity: 0;
    transform: scale(1.15);
  }
  60% {
    opacity: 0.8;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__underline-path {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .hero__bang {
    opacity: 1;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .work-arrive__item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .case-dialog {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .shot-video__play {
    transform: translate(-50%, -50%);
  }

  .btn:hover,
  .case:hover > img,
  .case:hover .case__open,
  .fear[data-reveal].is-in:hover,
  .blocks .mod:hover,
  .path__col[data-reveal].is-in:hover {
    transform: none;
    box-shadow: none;
  }

  .site-nav a:not(.btn)::after,
  .site-footer__links a::after,
  .path .return__clients a::after,
  .fear::after,
  .blocks .mod::after {
    transition: none;
  }
}
