/* ==========================================================
   MgM Creative Lab — styles
   ========================================================== */

:root {
  /* brand */
  --red: #CF0000;
  --red-deep: #9E0000;
  --ink: #161212;
  --ink-2: #221c1c;
  --paper: #F6F2EC;
  --paper-2: #EDE6DC;
  --white: #FFFFFF;
  --muted: #5C5450;
  --muted-light: #B9AFA9;
  --line: rgba(22, 18, 18, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  /* type */
  --serif: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;

  /* rhythm */
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(88px, 13vw, 176px);
  --max: 1240px;

  /* type scale: section headers and subheaders share these sizes */
  --fs-header: max(30px, min((100vw - 2 * var(--gutter)) * .046, 52.6px));
  --fs-subheader: clamp(24px, 2.8vw, 38px);
  --fs-body: clamp(18px, 1.75vw, 24px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-header: 50;
  --z-dialog: 100;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--red :focus-visible,
.section--ink :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed; top: 12px; left: 12px;
  z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type primitives ---------- */

.eyebrow {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 2px;
  background: currentColor;
}
.eyebrow--light { color: var(--white); }
/* section titles set on a red band: body size, white, all caps, no dash */
.eyebrow--band {
  width: fit-content;
  padding: .3em .75em .32em;
  background: var(--red); color: var(--white);
  font-size: var(--fs-body);
  letter-spacing: .12em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.eyebrow--band::before { display: none; }
.section--ink .eyebrow--light { color: #FF5A4E; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 16ch;
}
.display em { font-style: italic; color: var(--red); }
.display--md { font-size: clamp(34px, 4.8vw, 66px); max-width: 20ch; }
.display--xl { font-size: clamp(52px, 10vw, 150px); max-width: none; }
.display--xxl { font-size: clamp(72px, 16vw, 240px); max-width: none; line-height: .95; }

.lede {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.55;
  max-width: 36ch;
  text-wrap: pretty;
}
.lede--red { color: var(--red); }
.lede--light { color: rgba(255,255,255,.86); }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(246, 242, 236, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .5s var(--ease-out);
}
.site-header.is-visible { transform: none; }
.brand img { width: 88px; height: auto; }

.nav-list { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav-list a {
  font-size: 14px; font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 10px 0;
  position: relative;
}
.nav-list a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.nav-cta {
  background: var(--red); color: var(--white);
  padding: 10px 18px;
  transition: background .2s;
}
.nav-list a.nav-cta:hover { background: var(--red-deep); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--ink); content: "";
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -7px; left: 0; }
.nav-toggle-bars::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-list a.nav-cta { margin-top: 16px; text-align: center; border: 0; }
}

/* ==========================================================
   INTRO
   ========================================================== */

.intro {
  position: relative;
  background: var(--paper);
}
.intro-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 72px var(--gutter) 96px;
  overflow: hidden;
}

/* logo size drives everything; the question box is a scaled version */
.intro-stage { --logo-w: min(40vw, 46svh, 440px); }
@media (max-width: 600px) { .intro-stage { --logo-w: min(74vw, 44svh); } }

.flip-wrap {
  width: var(--logo-w);
  aspect-ratio: 1049 / 1016;
  perspective: 1600px;
  flex: none;
}
.flip {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: scale(.56);
  will-change: transform;
}
.face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.face-front {
  background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 30px 60px -30px rgba(120, 0, 0, .45);
}
.face-back {
  transform: rotateY(180deg);
  box-shadow: 0 40px 80px -40px rgba(120, 0, 0, .5);
}
.logo-svg { width: 100%; height: 100%; display: block; }

.qmark {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  font-size: calc(var(--logo-w) * .62);
  line-height: 1;
  transform: translateY(4%);
  display: block;
  animation: qbob 3.2s ease-in-out infinite;
}
@keyframes qbob {
  0%, 100% { transform: translateY(4%) rotate(0deg); }
  50% { transform: translateY(0%) rotate(-4deg); }
}

.intro-copy {
  position: relative;
  width: min(100%, 860px);
  height: 2.8em;
  margin-top: clamp(20px, 4svh, 44px);
  font-size: clamp(22px, 2.6vw, 36px);
  text-align: center;
}
.intro-title {
  position: absolute; left: 0; right: 0; top: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1em;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
#introT1 { transform: translateY(calc(var(--logo-w) * -.22)); }
.intro-title--answer { opacity: 0; }
.qmark-wrap { display: block; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--serif);
  letter-spacing: .22em; text-transform: uppercase;
  font-size: 11px; color: var(--muted);
}
.scroll-cue i {
  width: 1.5px; height: 44px;
  background: linear-gradient(var(--red), var(--red)) no-repeat;
  background-size: 100% 40%;
  background-color: var(--line);
  animation: cue 2s var(--ease-out) infinite;
}
@keyframes cue {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 250%; }
}

/* JS-less / failed-GSAP fallback: show the final logo state */
.no-anim .flip { transform: rotateY(180deg); }
.no-anim #introT1 { display: none; }
.no-anim #introT2 { opacity: 1; position: static; }
.no-anim #wipeRect { x: 0; }

/* ==========================================================
   SECTIONS
   ========================================================== */

.section { padding-block: var(--section-y); position: relative; scroll-margin-top: 40px; }
.section--ink { background: var(--ink); color: var(--white); }
.section--red { background: var(--red); color: var(--white); }

/* reveal (JS adds .is-in); visible by default without JS */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

/* ---------- challenge ---------- */
#main { position: relative; z-index: 1; }
.challenge { padding-top: clamp(40px, 5vw, 72px); background: var(--paper); }
.no-anim .challenge { padding-top: calc(var(--section-y) * .8); }
.change-words {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.change-words span {
  font-family: var(--serif);
  font-size: var(--fs-subheader);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  padding: .3em 0 .28em;
  border-bottom: 1px solid var(--line);
}
.challenge-foot {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px);
}
@media (max-width: 760px) { .challenge-foot { grid-template-columns: 1fr; } }

/* ---------- essence / soul ---------- */
.essence { background: var(--paper-2); }
/* same type as the Experience heading (.exp-title), one sentence per line */
@media (min-width: 700px) { .essence-title span { display: block; } }
/* Essence and Soul: two compact full-width paragraphs, one after the other */
.flow {
  margin-top: clamp(48px, 6vw, 80px);
  container-type: inline-size;
}
.flow-step { padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--line); }
.flow-step:last-child { border-bottom: 1px solid var(--line); }
.duo-label {
  display: block; margin-bottom: 14px;
  font-family: var(--serif); text-transform: uppercase;
  letter-spacing: .18em; font-size: 12px;
  color: var(--red);
}
/* subheader size, matching "Markets change." */
.flow-step h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-subheader);
  line-height: 1.15; letter-spacing: -0.015em;
}
.flow-step p {
  margin-top: 16px;
  font-size: var(--fs-subheader);
  line-height: 1.35;
}
.flow-step p em { color: var(--red); font-style: normal; }
.statement {
  margin-top: clamp(72px, 9vw, 128px);
  font-family: var(--serif);
  font-size: var(--fs-header);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}
.hl { color: var(--red); }

/* ---------- soul searching ---------- */
.soul-head { display: grid; gap: 8px; }
.soul { background: var(--paper); }
.soul h2 sup { font-size: .32em; vertical-align: super; margin-left: .12em; }
.soul-head .lede { max-width: none; }
.pillars {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 28px 24px 40px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 48px;
}
.pillar + .pillar { padding-left: 24px; }
.pillar:last-child { border-right: 0; }
.pillar-num { font-family: var(--serif); font-size: 14px; color: var(--red); letter-spacing: .14em; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; padding-left: 0 !important; gap: 16px; }
}
.soul-body {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .soul-body { grid-template-columns: 1fr; } }
.soul-quote {
  font-family: var(--serif);
  font-size: var(--fs-subheader);
  line-height: 1.35;
}
.soul-quote em { color: var(--red); font-style: normal; }
.isnt-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
/* same size as the pillar names */
.soul-head .lede,
.isnt-list li { font-size: clamp(20px, 2vw, 28px); }
.isnt-list li:first-child { border-top: 1px solid var(--line); }

/* ---------- what if ---------- */
.whatif { overflow: hidden; }
.whatif-bg {
  position: absolute;
  right: -4vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(420px, 70vw, 1100px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.28);
  pointer-events: none;
  user-select: none;
}
.whatif .container { position: relative; }
.whatif-lead {
  font-family: var(--serif);
  font-size: var(--fs-subheader);
  line-height: 1.3;
  color: rgba(255,255,255,.88);
}
.whatif-title {
  margin-top: 12px;
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-header);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.whatif-list { margin-top: clamp(40px, 6vw, 80px); max-width: 900px; }
.whatif-list li {
  font-family: var(--serif);
  font-size: var(--fs-subheader);
  line-height: 1.3;
  padding: .7em 0;
  border-top: 1px solid rgba(255,255,255,.28);
  display: flex; gap: 1em;
}
.whatif-list li::before {
  content: "?";
  font-family: var(--serif);
  font-size: .9em;
  color: rgba(255,255,255,.55);
  flex: none; width: .6em;
}

/* ---------- experience ---------- */
/* sized so the sentence spans the full content width on one line (wraps on small screens) */
.exp-title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-header);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.exp-title em { font-style: italic; color: var(--red); }
/* the years and what they cover read as one sentence */
.exp-stat {
  margin-top: clamp(40px, 5vw, 64px);
  font-family: var(--serif);
  font-size: var(--fs-subheader);
  line-height: 1.3;
  max-width: 34ch;
}
.exp-list {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
/* the longest line gets its own row so it stays on one line */
.exp-list li:last-child { grid-column: 1 / -1; }
.exp-list li {
  font-family: var(--serif);
  font-size: var(--fs-subheader);
  line-height: 1.35;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  position: relative;
}
.exp-list li::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 32px; height: 2px; background: var(--red);
}
@media (max-width: 600px) { .exp-list { grid-template-columns: 1fr; gap: 0; } .exp-list li { padding: 16px 0; } }
.exp-quote {
  margin-top: clamp(64px, 8vw, 112px);
  font-family: var(--serif);
  font-size: var(--fs-header);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}
.exp-quote em { color: var(--muted); display: block; font-style: normal; }

/* ---------- deliverables ---------- */
.deliver { background: var(--paper-2); }
.deliver-grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.deliver-item {
  background: var(--paper-2);
  padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.6vw, 36px);
  font-family: var(--serif);
  font-size: var(--fs-body);
  line-height: 1.3;
  display: flex; align-items: center;
  transition: background .3s;
}
.deliver-item:hover { background: var(--paper); }
.deliver-item--feature { background: var(--red); color: var(--white); }
.deliver-item--feature:hover { background: var(--red-deep); }
@media (max-width: 860px) { .deliver-grid { grid-template-columns: 1fr 1fr; } .deliver-item--feature { grid-column: span 2; } }
@media (max-width: 480px) { .deliver-grid { grid-template-columns: 1fr; } .deliver-item--feature { grid-column: auto; } }

.compass {
  margin-top: clamp(56px, 7vw, 96px);
  display: flex; gap: clamp(20px, 3vw, 40px); align-items: flex-start;
}
.compass-icon { width: 64px; height: 64px; flex: none; color: var(--muted); }
.compass p { font-family: var(--serif); font-size: var(--fs-subheader); line-height: 1.35; color: var(--ink); }
.compass strong { color: var(--red); font-weight: 400; }

/* ---------- capabilities ---------- */
.cap-intro { margin-top: clamp(28px, 3vw, 40px); }
.cap-intro p { color: var(--muted); max-width: 62ch; font-size: var(--fs-subheader); line-height: 1.3; }
.cap-intro .cap-tagline {
  font-family: var(--serif);
  font-size: var(--fs-subheader); line-height: 1.3;
  color: var(--ink); margin-bottom: 18px;
  max-width: 44ch;
}
.cap-grid {
  margin-top: clamp(56px, 6vw, 88px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 1000px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-col {
  background: var(--white);
  padding: 28px 28px 32px;
  border-top: 4px solid var(--ink);
}
.cap-col--new { border-top-color: var(--red); }
.cap-col h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; line-height: 1.2;
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px;
}
.cap-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.cap-col li:last-child { border-bottom: 0; }

.studio {
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--ink); color: var(--white);
  padding: clamp(28px, 5vw, 64px);
  container-type: inline-size;
}
.studio .eyebrow { color: #FF5A4E; }
/* sized so the heading spans the panel's inner width on one line (wraps when narrow) */
.studio-title {
  font-family: var(--serif); font-weight: 400;
  font-size: max(28px, calc(100cqi * .0572));
  line-height: 1.15; letter-spacing: -0.015em;
}
/* skills and bio read as one unit: shared top rule, equal height, reel link closing it out */
/* the four capabilities in a 2×2 grid, Adam's bio beneath them, reel link closing the unit */
.studio-body {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid; gap: clamp(28px, 3.5vw, 44px);
}
.studio-grid {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line-light); border: 1px solid var(--line-light);
}
@media (max-width: 480px) { .studio-grid { grid-template-columns: 1fr; } }
.studio-grid div { background: var(--ink); padding: clamp(18px, 2vw, 26px); }
.studio-grid dt { font-family: var(--serif); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: #FF5A4E; margin-bottom: 10px; }
.studio-grid dd { margin: 0; font-size: var(--fs-body); color: rgba(255,255,255,.8); line-height: 1.4; }
.studio-bio { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(24px, 4vw, 64px); }
@media (max-width: 760px) { .studio-bio { flex-direction: column; align-items: stretch; } }
.studio-bio p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.6; max-width: 60ch; }
.studio-bio strong { color: var(--white); font-weight: 700; }
.studio-bio .text-link { flex: none; align-self: flex-end; }
.member-link { display: inline-block; margin-top: 6px; color: var(--red); text-underline-offset: 3px; }

/* ---------- work ---------- */
.work { background: var(--paper-2); }
.work-lede { margin-top: 24px; max-width: 44ch; }
.firsts {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px);
}
@media (max-width: 1000px) { .firsts { grid-template-columns: 1fr; } .first { grid-template-columns: minmax(0, 300px) 1fr; } }
.first { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
@media (max-width: 480px) { .first { grid-template-columns: 1fr; } }
.first-media {
  display: block; padding: 0; border: 0; background: var(--ink);
  cursor: zoom-in; overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.45);
}
.first-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.first-media:hover img { transform: scale(1.04); }
.first-media--type {
  background: var(--red); color: var(--white);
  display: grid; place-items: center; text-align: center;
  cursor: default;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25;
  padding: 16px;
}
.first-tag {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .18em;
  color: var(--red); font-size: 12px;
}
.first-body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15;
  margin: 6px 0 12px;
}
.first-body p { font-size: 15.5px; color: var(--muted); }

.gallery-head {
  margin-top: clamp(80px, 10vw, 140px);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 16px;
}
.gallery-title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); }
.gallery-note { font-size: 14px; color: var(--muted); }
.gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.4vw, 18px);
}
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery li { aspect-ratio: 3 / 4; overflow: hidden; }
.gallery li.g-wide { grid-column: span 2; aspect-ratio: auto; }
.gallery button {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: var(--ink);
  cursor: zoom-in; overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .4s; }
.gallery button span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: var(--white); text-align: left;
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .16em; font-size: 12px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease-out);
}
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.05); }
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .gallery button span { opacity: 1; transform: none; } }

.work-cta {
  margin-top: clamp(64px, 8vw, 112px);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.3;
  text-align: center;
  color: var(--red);
}
.clients { margin-top: clamp(64px, 8vw, 112px); }
.client-wall {
  margin-top: 24px;
  columns: 4 200px; column-gap: 32px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.client-wall li {
  break-inside: avoid;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 20px);
  padding: 6px 0;
  color: var(--ink);
}

/* ---------- founder ---------- */
.founder-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-photo { position: sticky; top: 150px; }
@media (max-width: 900px) { .founder-photo { position: relative; top: 0; max-width: 440px; margin-left: 14px; } }
.founder-photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}
/* the red frame sits around the photo only, so it never crosses the caption */
.founder-frame { position: relative; isolation: isolate; }
.founder-frame::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 2px solid var(--red); z-index: -1;
}
.founder-photo figcaption { margin-top: 18px; font-size: 13px; color: var(--muted-light); letter-spacing: .02em; }
.founder-role { margin-top: 12px; color: var(--muted-light); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.founder-quote {
  margin: clamp(32px, 4vw, 48px) 0;
  padding-left: 24px; border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35;
}
.founder-text > p:not(.eyebrow):not(.founder-role) { color: rgba(255,255,255,.82); max-width: 60ch; margin-bottom: 18px; }
.timeline { margin-top: 40px; border-top: 1px solid var(--line-light); }
.timeline li {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line-light);
}
.tl-year { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: #FF5A4E; }
.timeline p { color: rgba(255,255,255,.82); font-size: 15.5px; }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }
.founder-links { margin-top: 40px; display: grid; gap: 20px; }
.book {
  display: flex; align-items: center; gap: 20px;
  padding: 20px; border: 1px solid var(--line-light);
  text-decoration: none;
  transition: border-color .3s, background .3s;
}
.book:hover { border-color: var(--white); background: rgba(255,255,255,.04); }
.book-spine { width: 44px; height: 64px; background: var(--red); flex: none; box-shadow: inset -6px 0 0 rgba(0,0,0,.25); }
.book-text { display: grid; gap: 4px; }
.book-text strong { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 22px; }
.book-text span { font-size: 14px; color: rgba(255,255,255,.7); }
.book svg, .text-link svg { width: 20px; height: 20px; flex: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-underline-offset: 4px; }

/* ---------- team ---------- */
.team-lede { margin-top: 24px; max-width: 44ch; }
.team-grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.member-photo {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2);
  margin-bottom: 20px;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.member:hover .member-photo img { filter: none; }
.member-photo--placeholder {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(22,18,18,.04) 14px 15px),
    var(--paper-2);
}
.member-photo--placeholder span {
  font-family: var(--serif); font-size: 56px; color: var(--red);
  letter-spacing: .04em;
}
.member h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.member-role {
  margin-top: 6px;
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .16em;
  color: var(--red); font-size: 12px;
}
.member-bio { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- promise / contact ---------- */
/* the stamp's hover and ring can't widen the page; top and bottom stay open */
.promise { overflow-x: clip; }
.promise-text,
.promise-sub {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-subheader);
  line-height: 1.35;
  max-width: 46ch;
}
.promise-text { margin-top: clamp(24px, 3vw, 36px); }
.promise-sub {
  margin-top: 24px;
  font-weight: 700;
}
/* closing stamp: a white box with a red "!", echoing the opening "?" box */
.stamp {
  display: inline-grid; place-items: center;
  width: 2em; height: 2em;
  margin-left: .35em;
  vertical-align: top;
  background: var(--white); color: var(--red);
  font-weight: 700; font-size: 2.4em; line-height: 1;
  box-shadow: 0 18px 40px -16px rgba(60, 0, 0, .6);
  transform: rotate(-6deg);
  position: relative;
}
.stamp span { transform: translateY(.04em); }
.stamp::after {
  content: ""; position: absolute; inset: -8px;
  border: 2px solid rgba(255,255,255,.75);
  opacity: 0; pointer-events: none;
}
.js .stamp { opacity: 0; }
/* lifted high off the page, slammed down, a squash on impact, then it settles */
.js .stamp.is-stamped { animation: stamp 1.35s cubic-bezier(.45, 0, .2, 1) both; }
.js .stamp.is-stamped::after { animation: stamp-ring .8s ease-out .78s both; }
/* appears big and hovering over the page, then slams down, squashes on impact and settles */
@keyframes stamp {
  0%   { opacity: 0; transform: translateY(-40px) scale(3.4) rotate(-26deg); box-shadow: 0 110px 140px -20px rgba(40,0,0,.45); }
  14%  { opacity: .95; transform: translateY(-40px) scale(3.1) rotate(-24deg); }
  40%  { opacity: 1; transform: translateY(-48px) scale(2.9) rotate(-22deg); box-shadow: 0 100px 130px -20px rgba(40,0,0,.45); }
  58%  { transform: scale(.8, .76) rotate(-3deg); box-shadow: 0 2px 3px rgba(40,0,0,.5); }
  70%  { transform: scale(1.12) rotate(-9deg); }
  82%  { transform: scale(.95) rotate(-5deg); }
  92%  { transform: scale(1.02) rotate(-6.5deg); }
  100% { opacity: 1; transform: scale(1) rotate(-6deg); box-shadow: 0 18px 40px -16px rgba(60,0,0,.6); }
}
@keyframes stamp-ring {
  0%   { opacity: 1; transform: scale(.8); }
  100% { opacity: 0; transform: scale(2.2); }
}
@media (prefers-reduced-motion: reduce) {
  .js .stamp { opacity: 1; animation: none !important; }
  .js .stamp::after { display: none; }
}
.contact-card {
  background: var(--white); color: var(--ink);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 48px;
  align-items: end;
}
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card h3 {
  grid-column: 1 / -1;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15;
  max-width: 20ch;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.7; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn--light { background: var(--red); color: var(--white); }
.btn--light:hover { background: var(--red-deep); }
.btn--ghost { border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-inner img { width: 72px; }
.footer-inner p { flex: 1 1 320px; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { text-underline-offset: 4px; }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(92vw, 1100px); max-height: 92vh;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(10, 6, 6, .9); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; }
.lightbox p {
  text-align: center; margin-top: 12px;
  font-family: var(--serif); letter-spacing: .16em; text-transform: uppercase; font-size: 13px;
}
.lightbox-close {
  position: fixed; top: 16px; right: 16px;
  width: 48px; height: 48px;
  background: var(--red); border: 0; cursor: pointer; color: var(--white);
  display: grid; place-items: center;
}
.lightbox-close svg { width: 22px; height: 22px; }

/* ---------- contact form dialog ---------- */
.contact-dialog {
  border: 0; padding: 0;
  width: min(92vw, 720px); max-height: 92vh;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
}
.contact-dialog::backdrop { background: rgba(10, 6, 6, .72); }
.contact-dialog-body { padding: clamp(28px, 5vw, 56px); }
.contact-dialog-close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; color: var(--ink);
  display: grid; place-items: center;
}
.contact-dialog-close:hover { color: var(--red); }
.contact-dialog-close svg { width: 22px; height: 22px; }
.contact-dialog h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-subheader); line-height: 1.2; }
.form-note { margin-top: 10px; color: var(--muted); font-size: 16px; }
.contact-form { margin-top: 28px; display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  display: block; margin-bottom: 6px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.field .req { color: var(--red); }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 18px; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 0;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { margin-top: 6px; font-size: 14px; color: var(--red); min-height: 0; }
.field-error:empty { display: none; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-actions .btn { border: 0; cursor: pointer; }
.form-actions .btn[disabled] { opacity: .5; cursor: wait; }
.form-status { font-size: 16px; color: var(--muted); }
.form-status.is-error { color: var(--red); }
.form-done h2 { margin-bottom: 12px; }
.form-done p { color: var(--muted); font-size: var(--fs-body); }
#openContact { border: 0; cursor: pointer; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .qmark, .scroll-cue i { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
