/* Execution Associates — one evening on the coast, golden hour to night. */

:root {
  --ink: #1B0A2C;
  --ink-2: #240934;
  --ink-deep: #12071F;
  --indigo: #28286D;
  --violet: #774CA7;
  --magenta: #DD519B;
  --coral: #F78478;
  --peach: #FEBE75;
  --white: #FDF6FA;
  --glow: #F099BF;
  --text: rgba(253, 246, 250, 0.86);
  --muted: rgba(253, 246, 250, 0.68);
  --faint: rgba(253, 246, 250, 0.16);
  --rule: rgba(253, 246, 250, 0.14);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(18px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- the scene (fixed backdrop) ---------- */
.scene { position: fixed; inset: 0; z-index: -2; background: var(--ink); }
.scene-poster {
  position: absolute; inset: 0;
  background:
    url("../assets/plates/day-poster.webp") center bottom / 100% auto no-repeat,
    linear-gradient(180deg, #1d1747 0%, #3b3a8a 100%);
}
@media (max-aspect-ratio: 1/1) {
  .scene-poster { background: url("../assets/plates/day-mobile.webp") center bottom / 100% auto no-repeat, linear-gradient(180deg, #1d1747 0%, #3b3a8a 100%); }
}
.scene-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.scene.gl-ready .scene-gl { opacity: 1; }
.scene.gl-ready .scene-poster { opacity: 0; transition: opacity 1.2s ease; }

/* film grain over everything: texture keeps flat UI from looking plastic beside the paint */
.grain {
  position: fixed; inset: -100%; z-index: 60; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-7%, 4%); } 40% { transform: translate(5%, -6%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(8%, 2%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
/* the shader version of the grain, plus dithered light spill; the CSS grain is the fallback */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 59; pointer-events: none; image-rendering: pixelated; }
.fx-ready .grain { display: none; }

/* ---------- shared type ---------- */
.overline {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(253, 246, 250, .8);
  display: flex; align-items: center; flex-wrap: wrap; gap: .9em;
}
.overline i { display: inline-block; width: 2.2em; height: 1px; background: currentColor; opacity: .6; }
.idx { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted); }

.display {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 300;
  font-size: clamp(2.5rem, 6.2vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--white);
}
.display strong, .display .punch { font-weight: 800; }
.display-l { font-size: clamp(2.6rem, 5.2vw, 5.4rem); }
.display-s { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
.display-xs { font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; }
.display .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.display .ln > span { display: inline-block; }
.js [data-reveal] .ln > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js [data-reveal] .ln:nth-child(2) > span { transition-delay: .09s; }
.js [data-reveal] .ln:nth-child(3) > span { transition-delay: .18s; }
.js [data-reveal].is-in .ln > span { transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] .ln > span { transform: none; transition: none; } }

.lead { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.38; font-weight: 300; color: var(--white); letter-spacing: -.005em; }

.slate {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(253, 246, 250, .7);
}
.slate b { font-weight: 500; color: var(--white); margin-left: .9em; }

.tags { display: flex; flex-wrap: wrap; gap: .2em .9em; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.tags span + span::before { content: "/"; margin-right: .9em; opacity: .5; }

.text-link { display: inline-flex; gap: .5em; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(253, 246, 250, .35); padding-bottom: .3em; transition: border-color .3s; }
.text-link:hover { border-color: var(--peach); }

.btn {
  display: inline-flex; align-items: center; gap: 1.1em;
  font-family: var(--display); font-stretch: 115%; font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 1.1em 1.5em; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-solid { background: var(--white); color: var(--ink); }
.btn-solid:hover { background: var(--peach); }
.btn-line { border-color: rgba(253, 246, 250, .42); color: var(--white); background: transparent; }
.btn-line:hover { border-color: var(--white); background: rgba(253, 246, 250, .06); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  padding: 20px var(--gutter);
  transition: background .5s, padding .5s;
}
.site-header.is-solid { background: rgba(18, 7, 31, .86); padding-block: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand img { height: 34px; width: auto; }
.site-header.is-solid .brand img { height: 28px; }
.site-nav { margin-left: auto; position: relative; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .9em; background: none; border: 0; color: var(--white); cursor: pointer; padding: .6em 0;
  font-family: var(--display); font-stretch: 125%; font-size: .72rem; letter-spacing: .38em; text-transform: uppercase;
}
.nav-toggle i { width: 20px; height: 7px; border-block: 1px solid currentColor; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] i { transform: scaleY(.2); }
.nav-panel {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 250px;
  background: var(--ink-deep); border: 1px solid var(--rule); padding: 10px 0;
  display: none;
}
.nav-panel.is-open { display: block; }
.js .nav-panel { display: none; }
.js .nav-panel.is-open { display: block; }
.nav-panel a { display: block; padding: .7rem 1.3rem; text-decoration: none; font-size: .95rem; color: var(--text); }
.nav-panel a:hover { color: var(--white); background: rgba(253, 246, 250, .05); }
/* Index is navigation (quiet text); the CTA is an action (a button). A hairline separates them.
   Over the hero it is outlined, so it doesn't compete with the hero's own solid button; once the
   hero has scrolled away it becomes the solid button itself. */
.site-nav { padding-right: 28px; border-right: 1px solid rgba(253, 246, 250, .22); }
.header-cta {
  display: inline-flex; align-items: center; gap: .9em;
  font-family: var(--display); font-stretch: 115%; font-weight: 600; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--white);
  padding: .95em 1.3em; border: 1px solid rgba(253, 246, 250, .55);
  transition: background .35s, color .35s, border-color .35s;
}
.header-cta:hover { border-color: var(--white); background: rgba(253, 246, 250, .08); }
.site-header.is-solid .header-cta { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header.is-solid .header-cta:hover { background: var(--peach); border-color: var(--peach); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
/* the painted sky needs a little night at the top for the type to sit on */
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 78%; pointer-events: none;
  background: radial-gradient(110% 90% at 32% 18%, rgba(18, 7, 31, .55) 0%, rgba(18, 7, 31, .25) 45%, rgba(18, 7, 31, 0) 72%); }
.hero-copy { position: relative; padding: clamp(100px, 16vh, 180px) var(--gutter) 0; max-width: calc(var(--max) + var(--gutter) * 2); width: 100%; margin-inline: auto; }
.hero-title {
  font-family: var(--display); font-stretch: 112%; color: var(--white);
  font-size: clamp(3.2rem, min(8.2vw, 13.5vh), 8.8rem); line-height: .9; letter-spacing: -.03em;
  margin: .45em 0 .38em; display: flex; flex-direction: column;
}
.cycle { display: block; overflow: hidden; height: 1.02em; font-weight: 300; }
.cycle-word { display: inline-block; white-space: nowrap; transition: transform .7s var(--ease), opacity .7s; }
.cycle-word.is-long { font-size: .62em; line-height: 1.64; }
.cycle-word.is-out { transform: translateY(-105%); opacity: 0; }
.cycle-word.is-pre { transform: translateY(105%); opacity: 0; transition: none; }
.executed { font-weight: 800; }
.hero-lede { max-width: 30em; font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--white); margin-bottom: 2rem; font-weight: 400; text-shadow: 0 1px 24px rgba(18, 7, 31, .5); }
.hero-foot {
  position: relative; margin-top: auto; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 32px var(--gutter) 18px;
}
.hero-proof { grid-area: proof; display: flex; align-items: baseline; gap: .8em; padding-left: 36px; border-left: 1px solid var(--rule); }
.hero-proof strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.6rem); color: var(--white); letter-spacing: -.02em; line-height: 1; }
.hero-proof span { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); max-width: 14em; text-align: left; line-height: 1.5; }

/* short laptop screens: keep the whole hero, credits included, inside the first view */
@media (min-width: 861px) and (max-height: 820px) {
  .hero-title { margin: .3em 0 .28em; }
  .hero-lede { margin-bottom: 1.4rem; }
  .hero-foot { padding-top: 18px; padding-bottom: 12px; }
  .credits { padding-top: 16px; padding-bottom: 18px; }
}

/* on wide screens the copy starts where the palms end, like the key art */
@media (min-width: 1000px) { .hero-copy { padding-left: max(var(--gutter), 18vw); max-width: none; } .hero-foot { padding-left: max(var(--gutter), 18vw); } }

/* ---------- opening credits ---------- */
.credits { position: relative; padding: 22px var(--gutter) 26px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "label roll proof"; align-items: center; gap: 40px;
  /* sits on the foreground of the painting: dark enough for the logos, the scene still shows through */
  background: linear-gradient(0deg, rgba(18, 7, 31, .9) 0%, rgba(18, 7, 31, .78) 62%, rgba(18, 7, 31, 0) 100%); }
.credits-label { grid-area: label; font-size: .64rem; letter-spacing: .4em; color: var(--muted); white-space: nowrap; line-height: 1.9; }
.credits-roll { grid-area: roll; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.credits-track { display: flex; width: max-content; animation: roll 70s linear infinite; }
.credits-set { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); }
.credits-set img { width: auto; opacity: .74; }
.credits-set img.logo-svg { filter: brightness(0) invert(1); }
.h-s { height: 22px; } .h-m { height: 30px; } .h-l { height: 40px; }
@keyframes roll { to { transform: translateX(-50%); } }
.credits-roll:hover .credits-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .credits-track { animation: none; width: auto; }
  .credits-set { flex-wrap: wrap; gap: 28px 48px; }
  .credits-set[aria-hidden] { display: none; }
}

/* ---------- windows onto the scene ---------- */
.window { position: relative; min-height: 58vh; min-height: 58svh; display: flex; align-items: center; }
.window::before, .window::after { content: ""; position: absolute; left: 0; right: 0; height: 22%; pointer-events: none; }
.window::before { top: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(27, 10, 44, .6) 40%, rgba(27, 10, 44, 0) 100%); }
.window::after { bottom: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(27, 10, 44, .6) 40%, rgba(27, 10, 44, 0) 100%); }
.window-inner { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: 9vh var(--gutter); display: grid; gap: 1.2rem; }
.window-inner .display { text-shadow: 0 2px 40px rgba(18, 7, 31, .35); }
.window-inner .slate { margin-top: .6rem; }

.ink { background: var(--ink); position: relative; }

/* ---------- approach + capabilities ---------- */
.approach-copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; padding-top: 2.5rem; padding-bottom: 4.5rem; align-items: start; }
.approach-copy p:not(.lead) { color: var(--muted); max-width: 30em; padding-top: .4rem; }
.split-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6vw; align-items: end; margin-bottom: 2.5rem; }
.split-head p { color: var(--muted); max-width: 28em; }
.capabilities { padding-bottom: 5rem; }
.index { border-bottom: 1px solid var(--rule); counter-reset: none; }
.index li {
  position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px; align-items: baseline; padding: 1.3rem 0; border-top: 1px solid var(--rule);
}
.index li::before { /* a thin line of light draws across on hover */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, var(--peach), var(--coral) 35%, rgba(221, 81, 155, .5) 70%, rgba(221, 81, 155, 0));
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.index li:hover::before { transform: scaleX(1); }
.index h3 { font-family: var(--display); font-stretch: 112%; font-weight: 400; font-size: clamp(1.35rem, 2.3vw, 2.05rem); color: var(--white); letter-spacing: -.01em; line-height: 1.15; display: flex; align-items: center; gap: 1.2rem; }
.index h3::after { content: ""; flex: 1; height: 1px; background: var(--rule); min-width: 2rem; transform: translateY(.1em); }
.index p { color: var(--muted); font-size: 1rem; }
.index li:hover h3 { font-weight: 500; }

/* ---------- founders ---------- */
.about-intro { padding-top: 2.5rem; padding-bottom: 3rem; }
.about-intro .lead { max-width: 34em; margin-left: auto; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding-bottom: 5rem; }
.frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink); margin-bottom: 1.4rem; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* each portrait develops once: a three-tone dither print gives way to the finished photo */
.frame .print { image-rendering: pixelated; }
.js .frame .photo { opacity: 0; transition: opacity 1.8s ease; }
.js .frame.is-developed .photo { opacity: 1; }
.founder:nth-child(2) .frame .photo { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .js .frame .photo { opacity: 1; transition: none; } }
.founder-text { display: grid; gap: 1.1rem; justify-items: start; }
.founder-text h3 { font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--white); letter-spacing: -.015em; line-height: 1.05; }
.founder-text > p:not(.overline):not(.tags) { color: var(--muted); max-width: 32em; }

/* ---------- proof ---------- */
.proof-intro { max-width: 30em; padding: 2.5rem 0 1.5rem; }
.proof { display: grid; grid-template-columns: 5fr 7fr; gap: 5vw; padding-bottom: 5rem; }
.scoreboard-stick { position: sticky; top: 30vh; padding-top: 2.5rem; }
.score { font-family: var(--display); font-stretch: 125%; font-weight: 800; color: var(--white); font-size: clamp(4rem, 9.4vw, 9.8rem); line-height: .9; letter-spacing: -.04em; margin-top: 1.4rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.score.is-swap { animation: swap .75s var(--ease); }
@keyframes swap { from { transform: translateY(28%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .score.is-swap { animation: none; } }
.case { min-height: 34vh; padding: 2.5rem 0 2rem; border-top: 1px solid var(--rule); display: grid; gap: 1.2rem; align-content: start; transition: opacity .6s; }
.js .case:not(.is-active) { opacity: .38; }
.case h3 { font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.6rem, 2.7vw, 2.5rem); color: var(--white); line-height: 1.1; letter-spacing: -.015em; max-width: 18em; }
.case > p:not(.overline):not(.tags):not(.case-metric) { color: var(--muted); max-width: 34em; }
.case-metric { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- partners: a light you can turn up or down ---------- */
.partners .ink { padding-top: 4.5rem; padding-bottom: 5rem; background: linear-gradient(180deg, var(--ink) 0%, #190a2a 100%); }
.partner-opening { margin-bottom: 3rem; }
.partners-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6vw; padding: 2.5rem 0 3rem; border-top: 1px solid var(--rule); }
.partner-audience { font-family: var(--display); font-stretch: 112%; font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.1; color: var(--white); letter-spacing: -.015em; }
.partner-audience span { font-weight: 700; }
.partners-head > div { display: grid; gap: 1.4rem; }
.partners-head > div p { color: var(--muted); max-width: 32em; }

.dimmer { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.2rem 6vw; padding: 3rem 0; border-top: 1px solid var(--rule); }
.dimmer-promise { display: grid; gap: 1rem; align-content: start; }
.dimmer-promise strong { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: var(--white); line-height: 1.1; letter-spacing: -.015em; }
.dimmer-promise p { color: var(--muted); max-width: 26em; }

/* "What your client sees": a small stage, two names, two spotlights */
.stage { position: relative; aspect-ratio: 16 / 9; background: #0b0413; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(253, 246, 250, .08); }
.stage-light { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.stage-head { position: absolute; top: 0; left: 0; right: 0; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 16px 20px; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stage-mode b { color: var(--white); font-weight: 500; margin-right: .5em; }
.stage-mode span { color: var(--white); transition: opacity .35s ease; }
.stage-mode span.is-swapping { opacity: 0; }
.stage-cast { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-top: 8%; }
.cast { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 5.5rem; }
.cast-name, .cast-ea img { transition: opacity 1.1s ease, filter 1.1s ease; }
.cast-name { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: clamp(.95rem, 1.7vw, 1.35rem); letter-spacing: .3em; text-transform: uppercase; color: var(--white); padding-left: .3em; line-height: 44px; }
.cast-ea img { height: clamp(30px, 3.4vw, 44px); width: auto; }
.cast-note { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); transition: opacity .35s ease; }
.cast-note.is-swapping { opacity: 0; }
.dimmer[data-level="0"] .cast-ea img { opacity: .2; filter: blur(.4px); }
.dimmer[data-level="1"] .cast-ea img { opacity: .82; }
.dimmer[data-level="2"] .cast-client .cast-name { opacity: .42; }

.dimmer-control { grid-column: 1 / -1; }
.dimmer-track { position: relative; height: 1px; background: var(--rule); margin: 0 0 1.6rem; }
.dimmer-fill { position: absolute; left: 0; top: 0; height: 1px; width: calc(var(--lvl, 0) * 33.33% + 16.66%); background: linear-gradient(90deg, rgba(253, 246, 250, .15), var(--white)); transition: width .8s var(--ease); }
.dimmer-knob { position: absolute; top: -5px; left: calc(var(--lvl, 0) * 33.33% + 16.66%); width: 11px; height: 11px; margin-left: -5px; background: var(--white); border-radius: 50%; transition: left .8s var(--ease); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.mode { display: grid; gap: .8rem; align-content: start; cursor: pointer; padding: .4rem 0; transition: opacity .5s; }
.js .mode[aria-checked="false"] { opacity: .42; }
.mode:hover { opacity: 1 !important; }
.mode h3 { font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: 1.45rem; color: var(--white); letter-spacing: -.01em; }
.mode p { color: var(--muted); font-size: .98rem; }

.partner-footer { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 24px; align-items: center; padding-top: 2.2rem; border-top: 1px solid var(--rule); }
.partner-footer span { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.partner-footer strong { font-weight: 500; color: var(--white); }

/* ---------- leverage ---------- */
.leverage-intro { max-width: 34em; padding: 2.5rem 0 2.5rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.compare-col { padding: 2.4rem 3rem 2.4rem 0; display: grid; gap: 1.4rem; align-content: start; }
.compare-col.team { padding-left: 3rem; padding-right: 0; border-left: 1px solid var(--rule); position: relative; }
.compare-col.team::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--peach); }
.figure { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(3.4rem, 7.4vw, 7.4rem); line-height: .9; letter-spacing: -.04em; color: var(--white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.figure sup { font-size: .4em; vertical-align: top; position: relative; top: .1em; margin-left: .05em; }
.figure sub { font-family: var(--mono); font-weight: 400; font-size: .8rem; letter-spacing: .12em; vertical-align: baseline; margin-left: .8em; text-transform: uppercase; color: var(--muted); }
.hire .figure { font-weight: 300; color: rgba(253, 246, 250, .7); }
.compare-col h3 { font-family: var(--display); font-stretch: 112%; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--white); line-height: 1.15; max-width: 16em; }
.hire h3 { color: var(--text); }
.compare-col ul { display: grid; border-top: 1px solid var(--rule); }
.compare-col li { padding: .8rem 0; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: .98rem; }
.team li { color: var(--text); }
.leverage-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 2.5rem 0 4rem; }
.leverage-foot p { font-family: var(--display); font-stretch: 112%; font-size: clamp(1.2rem, 1.9vw, 1.6rem); color: var(--white); }

/* ---------- finale: night, the sign comes on ---------- */
.finale-scene { position: relative; min-height: 92vh; display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 4vw; padding: 13vh var(--gutter) 18vh; }
.finale-scene::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22%; background: linear-gradient(180deg, var(--ink), rgba(27, 10, 44, 0)); pointer-events: none; }
.finale-scene::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, var(--ink), rgba(27, 10, 44, 0)); pointer-events: none; }
/* the only glowing thing on the whole page. No transforms/opacity on ancestors: the tubes screen-blend onto the scene */
.sign { position: relative; width: 100%; max-width: 800px; margin-top: -4vh; }
.sign img { width: 100%; height: auto; mix-blend-mode: screen; }
.sign img + img { position: absolute; inset: 0; }
.sign-exa, .sign-script { opacity: 0; }
.sign.is-lit .sign-exa { animation: ignite-exa 1.9s linear forwards; }
.sign.is-lit .sign-script { animation: ignite-script 1.6s linear .75s forwards; }
@keyframes ignite-exa {
  0% { opacity: 0; } 4% { opacity: .9; } 7% { opacity: .05; } 12% { opacity: .75; } 15% { opacity: .1; }
  30% { opacity: 0; } 33% { opacity: 1; } 36% { opacity: .35; } 40% { opacity: 1; } 62% { opacity: .82; } 66% { opacity: 1; } 100% { opacity: 1; }
}
@keyframes ignite-script {
  0% { opacity: 0; } 6% { opacity: .85; } 10% { opacity: 0; } 24% { opacity: 0; } 28% { opacity: 1; } 33% { opacity: .4; } 38% { opacity: 1; } 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sign.is-lit .sign-exa, .sign.is-lit .sign-script { animation: none; opacity: 1; }
}
.finale-pitch { position: relative; z-index: 1; display: grid; gap: 1.5rem; justify-items: start; padding-top: 4vh; max-width: 34rem; }
.finale-pitch > p:not(.overline) { color: var(--text); text-shadow: 0 1px 18px rgba(18, 7, 31, .9); }
.finale-pitch .actions { gap: 20px 28px; }
.finale-slate { position: absolute; left: var(--gutter); bottom: 20vh; z-index: 1; }

.contact-ink { padding: 0 0 5rem; background: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* a form should look like a form: a solid panel, boxed fields, a clear title */
.contact-form {
  position: relative; z-index: 2; max-width: 980px; margin-top: -10vh;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.6rem 1.4rem;
  padding: clamp(24px, 3.4vw, 44px);
  background: rgba(18, 7, 31, .92); border: 1px solid rgba(253, 246, 250, .16);
  box-shadow: 0 30px 80px rgba(8, 3, 16, .6);
}
.form-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); margin-bottom: .4rem; }
.form-head h3 { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--white); letter-spacing: -.01em; }
.form-head p { font-size: .82rem; color: var(--muted); }
.contact-form i { font-style: normal; color: var(--peach); }
.contact-form label { display: grid; gap: .55rem; align-content: start; }
.contact-form label > span { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--white);
  background: rgba(253, 246, 250, .045); border: 1px solid rgba(253, 246, 250, .26); border-radius: 2px;
  padding: .85rem 1rem; resize: vertical; transition: border-color .25s, background .25s;
}
.contact-form textarea { min-height: 8.5rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(253, 246, 250, .4); }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(253, 246, 250, .45); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--peach); background: rgba(253, 246, 250, .07); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.contact-form .is-invalid { border-color: var(--coral); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-top: .4rem; }

.site-footer { background: var(--ink-deep); padding: 40px 0; border-top: 1px solid rgba(253, 246, 250, .06); }
.footer-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.footer-row .brand img { height: 30px; }
.footer-row p { margin-right: auto; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
/* the in-house credit: the site itself is a piece of the portfolio */
.made-here { flex-basis: 100%; align-self: stretch; margin: 6px 0 0 !important; padding-top: 18px; border-top: 1px solid rgba(253, 246, 250, .07); font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.made-here span { color: var(--muted); margin-left: .8em; }
@media (max-width: 860px) { .made-here span { display: block; margin: .5em 0 0; } }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  .site-header { gap: 16px; padding-block: 16px; }
  .brand img { height: 28px; }
  .header-cta { display: none; }
  .site-nav { padding-right: 0; border-right: 0; }
  .hero-copy { padding-top: clamp(96px, 14vh, 140px); }
  .hero-copy .overline { font-size: .58rem; letter-spacing: .3em; gap: .7em; flex-wrap: nowrap; }
  .hero-copy .overline i { width: 4px; height: 4px; border-radius: 50%; }
  .hero-title { font-size: clamp(2.7rem, 13.4vw, 5.2rem); }
  .cycle-word.is-long { font-size: .58em; line-height: 1.76; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-proof { text-align: left; }
  .credits { grid-template-columns: minmax(0, 1fr); grid-template-areas: "proof" "label" "roll"; gap: 12px; padding-right: 0; padding-top: 16px; padding-bottom: 20px; }
  .hero-proof { padding-left: 0; border-left: 0; margin-bottom: 6px; }
  .hero-title { margin: .35em 0 .3em; }
  .hero-lede { margin-bottom: 1.4rem; }
  .hero-foot { padding-bottom: 10px; }
  .credits-label { max-width: none; }
  .window { min-height: 46svh; }
  .window-inner { padding-block: 8vh; }
  .approach-copy, .split-head, .partners-head, .dimmer, .compare { grid-template-columns: 1fr; }
  .approach-copy { gap: 1.2rem; padding-top: 1.5rem; padding-bottom: 3rem; }
  .index li { grid-template-columns: 2.4rem 1fr; gap: .3rem 12px; padding: 1.1rem 0; }
  .index p { font-size: .95rem; }
  .index p { grid-column: 2; }
  .index h3::after { display: none; }
  /* the two portraits stay side by side on a phone too: equal billing */
  .founders { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 0; padding-bottom: 3rem; }
  .founder { display: contents; }
  .founder .frame { grid-row: 1; margin-bottom: 2.2rem; }
  .founder:nth-child(1) .frame { grid-column: 1; }
  .founder:nth-child(2) .frame { grid-column: 2; }
  .founder-text { grid-column: 1 / -1; padding-bottom: 2.2rem; }
  .about-intro { padding-block: 1.5rem 2rem; }
  .proof { grid-template-columns: 1fr; padding-bottom: 3rem; }
  .scoreboard { display: none; }
  .case-metric { position: static; width: auto; height: auto; clip-path: none; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 16vw, 5rem); line-height: .95; letter-spacing: -.04em; color: var(--white); }
  .case { min-height: 0; padding: 1.6rem 0; gap: .9rem; }
  .js .case:not(.is-active) { opacity: 1; }
  .partners .ink { padding-block: 3.5rem; }
  .partner-opening { margin-bottom: 3rem; }
  .partners-head { padding: 2rem 0 3rem; gap: 1.6rem; }
  .dimmer { padding: 3rem 0; gap: 2rem; }
  .modes { grid-template-columns: 1fr; gap: 1rem; }
  /* only the selected mode shows its paragraph; the others collapse to their titles */
  .js .mode[aria-checked="false"] p { display: none; }
  .mode h3 { font-size: 1.2rem; }
  .dimmer-track { display: none; }
  .stage { aspect-ratio: 4 / 3; }
  .stage-head { padding: 12px 14px; font-size: .6rem; }
  .cast-name { font-size: .82rem; letter-spacing: .22em; }
  .cast-ea img { height: 28px; }
  .cast-note { font-size: .58rem; letter-spacing: .12em; text-align: center; }
  .mode { border-left: 1px solid var(--rule); padding-left: 1.1rem; transition: opacity .5s, border-color .5s; }
  .mode[aria-checked="true"] { border-color: var(--white); }
  .partner-footer { grid-template-columns: 1fr; }
  .compare-col, .compare-col.team { padding: 1.8rem 0; border-left: 0; }
  .compare-col.team { border-top: 1px solid var(--rule); }
  .leverage-foot { padding-bottom: 3rem; }
  .finale-scene { grid-template-columns: 1fr; min-height: 0; padding: 12vh var(--gutter) 12vh; gap: 0; }
  .sign { margin: 0 -4vw 0 -6vw; width: calc(100% + 10vw); }
  .finale-pitch { padding-top: 0; margin-top: -6vh; }
  .finale-scene::after { height: 58%; background: linear-gradient(0deg, var(--ink) 0%, rgba(27, 10, 44, .92) 45%, rgba(27, 10, 44, 0) 100%); }
  .finale-slate { position: relative; left: 0; bottom: 0; margin-top: 1.6rem; }
  .contact-form { grid-template-columns: 1fr; gap: 1.3rem; margin-top: -4vh; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
