/* ----------------------------------------------------------------
   Nicholas von Bodungen — personal site
   Style modeled on the Maison Margiela "Who is..." landing reference.
   Editorial grotesk type, two-column asymmetric grids, monochrome,
   black rectangle photo placeholders.
   ---------------------------------------------------------------- */

/* Fonts:
   - Bricolage Grotesque (Google) — display/headers
   - SK Modernist (local) — body + secondary text
   - SK Modernist Mono (local) — dates, labels, mono accents */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..700&display=swap');

@font-face {
  font-family: "SK Modernist";
  src: url("fonts/SkModernist-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SK Modernist";
  src: url("fonts/SkModernist-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SK Modernist";
  src: url("fonts/SkModernist-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SK Modernist Mono";
  src: url("fonts/SkModernist-Mono.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F4F3EE;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --muted: #6F6F6F;
  --muted-2: #9A9A9A;
  --line: #C4C4C4;
  --line-2: #DCDCDC;
  --black: #000000;

  /* Capped so the hero lead column holds at exactly 5 lines on both pages
     (index + studio 5-line widths overlap at ~1285px). On wider screens
     the page margins expand instead of the lead dropping to 4 lines; below
     the hero's stack breakpoint the lead moves under the title. */
  --max: 1285px;
  --pad-x: 72px;
  --pad-y: 112px;

  --indent-deep: 200px;

  --font-display: "Bricolage Grotesque", "SK Modernist", system-ui, sans-serif;
  --font-sans: "SK Modernist", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "SK Modernist Mono", "SK Modernist", "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
/* scroll-behavior removed — Lenis handles smooth scrolling globally,
   including anchor link clicks (intercepted in the inline script below). */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.page { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

/* Divider — thin horizontal rule used between sections */
.divider {
  width: 100%;
  height: 1.5px;
  background: var(--line);
  margin: 0;
}

/* ===== Nav ===== */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 22px;
}
.nav-brand {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}
/* Hamburger — opens the slide-in panel. Sits above the panel (z-index)
   so its two bars can recolor to cream and fold into an X for closing. */
.nav-menu-btn {
  position: relative;
  z-index: 120;
  background: transparent;
  border: 0;
  padding: 8px;
  margin: -8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-menu-btn span {
  display: block;
  width: 44px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s ease;
}
body.menu-open .nav-menu-btn span { background: var(--bg); }
body.menu-open .nav-menu-btn span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}
body.menu-open .nav-menu-btn span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Slide-in menu — a dark column anchored to the right edge. Never spans
   the whole page; the cream site stays visible alongside it. Big numbered
   links echo the 01/02/03 motif used elsewhere on the site. */
.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 420px);
  z-index: 110;
  background: var(--ink);
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 4.5vw, 60px);
}
body.menu-open .nav-panel { transform: translateX(0); }
.nav-panel-inner { display: flex; flex-direction: column; }
.nav-panel-inner a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 15px 2px;
  color: var(--bg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
body.menu-open .nav-panel-inner a { opacity: 1; transform: none; }
body.menu-open .nav-panel-inner a:nth-child(1) { transition-delay: 0.14s; }
body.menu-open .nav-panel-inner a:nth-child(2) { transition-delay: 0.21s; }
body.menu-open .nav-panel-inner a:nth-child(3) { transition-delay: 0.28s; }
body.menu-open .nav-panel-inner a:nth-child(4) { transition-delay: 0.35s; }
.nav-panel-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 243, 238, 0.45);
}
.nav-panel-label {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.04;
  color: var(--bg);
  transition: opacity 0.2s ease;
}
.nav-panel-inner a:hover .nav-panel-label { opacity: 0.55; }

/* Lock page scroll while the panel is open. */
body.menu-open { overflow: hidden; }

/* ===== Hero (landing + studio share the same setup) =====
   CSS Grid: title sized to its widest line (max-content), lead fills
   the rest. Deterministic — no flex-wrap flicker. At viewport < 1280,
   stacks to a single column. */
.hero {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 80px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 56px;
}
.hero-title { min-width: 0; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
  text-transform: uppercase;
}
@media (min-width: 981px) {
  .hero h1 { white-space: nowrap; }
}
.hero-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 80px 0 0;
}

/* Stack both heroes below 1280 viewport. */
@media (max-width: 1279px) {
  .hero {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .hero-lead { margin-right: 0; }
}

/* ===== Hero portrait image ===== */
.hero-image {
  margin: 0;
}
.img-placeholder {
  background: var(--black);
  width: 100%;
  display: block;
  object-fit: cover;
}
.img-placeholder.hero-portrait {
  aspect-ratio: 4 / 1;
  height: auto;
}

/* ===== Info row =====
   Grid with col 1 fixed at the same indent depth as the about section,
   so the second info-pair ("Founded:") aligns with the left edge of
   the portrait below. */
.info-row {
  display: grid;
  grid-template-columns: var(--indent-deep) 1fr auto;
  column-gap: 0;
  padding: 36px 0 56px;
  align-items: start;
}
.info-pair { display: flex; flex-direction: column; gap: 8px; }
.info-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}
.info-value {
  font-size: 20px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-weight: 400;
  line-height: 1.25;
}
.social-circles {
  display: flex;
  gap: 12px;
  justify-self: end;
  align-self: start;
}
.social-circle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.social-circle:hover { background: var(--ink); color: var(--bg); }

/* Pill variant of social-circle — same height and border, just
   widens for text content. Used on the studio page CTA. */
.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 0;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.social-pill:hover { opacity: 0.55; }

/* ===== About / "The Man" section ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  padding: 96px 0 96px var(--indent-deep);
  align-items: start;
}
.about-media { display: flex; flex-direction: column; gap: 22px; }
.about-portrait-wrap {
  position: relative;
}
.about-portrait {
  background: var(--black);
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.about-caption-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
.about-caption {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 240px;
  line-height: 1.5;
  margin: 0;
}
.date-display {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.0;
  letter-spacing: 0.005em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.date-display .date-line1 {
  margin-right: 32px;
}
.date-display .date-line2 {
  margin-right: 0;
}
.about-text {
  padding-top: 0;
  border-top: 1.5px solid var(--line);
}
.about-text .section-title {
  margin-top: 160px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 28px;
  line-height: 1.1;
}
.about-text p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: var(--ink-2);
}
.about-text p:last-child { margin-bottom: 0; }

/* ===== Quote section ===== */
.quote-section {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  padding: 56px 0 96px var(--indent-deep);
  align-items: start;
}
.quote-block {
  position: relative;
  padding: 0;
}
.quote-mark {
  position: absolute;
  left: -64px;
  top: -8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
}
.quote-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 420px;
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: 24px;
}
.quote-attr-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 280px;
}
.quote-star {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.quote-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.quote-photos .img-placeholder { aspect-ratio: 4 / 5; }

/* ===== Generic content section (Pentamerus, Content & Media) =====
   Standard direction (Pentamerus): RIGHT indent — image floats to the
   page's left edge, text sits in the middle-right with empty space
   on the right.
   Reverse direction (Content & Media): LEFT indent — text sits in
   the middle-left with empty space on the left, image hits the
   page's right edge. Creates an alternating rhythm. */
.content-section {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  padding: 112px var(--indent-deep) 112px 0;
  align-items: start;
}
.content-section.reverse {
  grid-template-columns: 1.05fr 1fr;
  padding: 112px 0 112px var(--indent-deep);
}
.content-section.reverse .content-media { order: 2; }
.content-section.reverse .content-text { order: 1; }
.content-media { display: flex; flex-direction: column; gap: 18px; }
.content-media .img-placeholder { aspect-ratio: 1 / 1; }
.content-text {
  padding-top: 0;
  border-top: 1.5px solid var(--line);
}
.content-text .section-title {
  margin-top: 160px;
}
.content-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.content-text p:last-of-type { margin-bottom: 36px; }

/* Action links at the end of a content section. Side-by-side, small,
   editorial. Arrow visually centered with text via small translateY. */
.content-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
}
.content-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: opacity 0.2s ease;
}
.content-action svg {
  display: block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transform: translateY(1px);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.content-action:hover { opacity: 0.6; }
.content-action:hover svg {
  transform: translateY(1px) translateX(3px);
}

/* ===== Work / portfolio grid =====
   No horizontal indent. No top divider — the section flows directly
   from the Narrative & Media block above. */
.work-section { padding: 56px 0 96px; }
.work-header {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: end;
}
.work-header .section-title { margin: 0; grid-column: 1; }
.work-header .lede {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 80px 0 auto;
  max-width: 420px;
  grid-column: 2;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.work-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-tweet {
  width: 100%;
}
.work-tweet .twitter-tweet {
  margin: 0 auto !important;
  width: 100% !important;
}
.work-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
  text-decoration: none;
}
.work-item .img-placeholder { aspect-ratio: 1 / 1; margin-bottom: 18px; }
.work-thumb {
  aspect-ratio: 1 / 1;
  background: var(--black);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: opacity 0.3s ease;
}
.work-play {
  width: 56px;
  height: 56px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-item:hover .work-thumb { opacity: 0.85; }
.work-item:hover .work-play { transform: scale(1.08); }
.work-item:hover .work-title { opacity: 0.6; }
.work-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.work-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.work-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ===== Contact section =====
   RIGHT indent — heading and links anchored to the left of the page,
   empty space on the right. Visual closure to the page. */
.contact-section {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
  border-top: 1.5px solid var(--line);
}
.contact-main { max-width: 600px; }
.contact-email {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: inline-block;
  margin-bottom: 18px;
  transition: opacity 0.2s ease;
}
.contact-email:hover { opacity: 0.55; }
.contact-lede {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}
.contact-lede a {
  color: inherit;
  transition: opacity 0.2s ease;
}
.contact-lede a:hover { opacity: 0.55; }
.contact-copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 18px 0 0;
}
.contact-social .social-circles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* =================================================================
   STUDIO PAGE  — text-driven service page sections.
   ================================================================= */

/* Studio list — ONE unified row pattern used by every list section
   on the studio page (What I make, The Method, Engagement). Same
   visual structure throughout; Engagement just adds expand behavior. */
.studio-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.studio-list-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
  align-items: baseline;
}
.studio-list-item:last-child {
  border-bottom: 1px solid var(--line-2);
}
.studio-list-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.studio-list-body { max-width: 640px; }
.studio-list-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
}
.studio-list-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* Expandable variant — used by Engagement. Layout matches the
   regular list items when collapsed; reveals detail body below. */
.studio-list-item.is-expandable {
  display: block;
  padding: 0;
}
.studio-list-item.is-expandable summary {
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  gap: 32px;
  padding: 28px 0;
  align-items: baseline;
  cursor: pointer;
  list-style: none;
  transition: opacity 0.2s ease;
}
.studio-list-item.is-expandable summary::-webkit-details-marker { display: none; }
.studio-list-item.is-expandable summary::marker { display: none; }
.studio-list-item.is-expandable summary:hover { opacity: 0.7; }
.studio-list-item.is-expandable summary .studio-list-title { margin: 0; }
.studio-list-toggle {
  position: relative;
  width: 14px;
  height: 14px;
  justify-self: end;
  align-self: center;
}
.studio-list-toggle::before,
.studio-list-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s ease;
}
.studio-list-toggle::before {
  left: 0; top: 50%;
  width: 100%; height: 1px;
  transform: translateY(-50%);
}
.studio-list-toggle::after {
  left: 50%; top: 0;
  width: 1px; height: 100%;
  transform: translateX(-50%);
}
.studio-list-item.is-expandable[open] .studio-list-toggle::after {
  transform: translateX(-50%) scaleY(0);
}
.studio-list-detail {
  padding: 0 0 28px 104px;
  max-width: 720px;
}
.studio-list-detail p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* Prose section: eyebrow + heading on the left, body on the right.
   No left indent — runs the full container width. */
.studio-prose {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: 88px 0;
  align-items: start;
}
.studio-prose-header { padding-top: 4px; }
.studio-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.studio-prose-header .section-title {
  font-size: 38px;
  line-height: 1.1;
  margin: 0;
  text-transform: none;
  letter-spacing: -0.005em;
}
.studio-prose-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 640px;
}
.studio-prose-body p:last-child { margin-bottom: 0; }

/* Wide section: full-width header + grid below (Method, Engagement). */
.studio-section {
  padding: 88px 0;
}
.studio-section-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.studio-section-header .section-title { margin: 0; grid-column: 1; font-size: 38px; }
.studio-section-header .lede {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
  max-width: 540px;
  grid-column: 2;
}

/* The System — four numbered steps in a 2x2 grid. */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.studio-step {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
}
.studio-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.studio-step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  line-height: 1.15;
  color: var(--ink);
}
.studio-step-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* Pricing — three tier cards. */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.pricing-card {
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-tag {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.pricing-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 4px 0 0;
  color: var(--ink);
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.pricing-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 4px 0 18px;
  flex: 1;
}
.pricing-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  letter-spacing: 0;
  transition: opacity 0.2s ease;
}
.pricing-action svg {
  display: block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transform: translateY(1px);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pricing-action:hover { opacity: 0.6; }
.pricing-action:hover svg { transform: translateY(1px) translateX(3px); }

/* Engagement list — three typographic rows separated by thin lines.
   Replaces the older boxy pricing cards with something more editorial. */
.engagement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.engagement-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 32px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line-2);
  align-items: baseline;
}
.engagement-item:last-child {
  border-bottom: 1px solid var(--line-2);
}
.engagement-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.engagement-body { max-width: 640px; }
.engagement-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
}
.engagement-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* Closer — centered declarative statement + two action links. */
.studio-closer {
  padding: 128px 0 112px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.studio-closer-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.studio-closer-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 44px;
}
.studio-closer-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

/* Quote variant of the closer — homepage, in place of the old work grid.
   Same centered display type; a single attribution line instead of links. */
.quote-closer { padding-top: 88px; }
.quote-closer .studio-closer-title { margin-bottom: 30px; }
.quote-closer-attr {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
}

/* Mobile collapse for all studio sections. */
@media (max-width: 980px) {
  .studio-prose,
  .studio-section { padding-left: 0; padding-right: 0; padding-top: 64px; padding-bottom: 64px; }
  .studio-prose { grid-template-columns: 1fr; gap: 24px; }
  .studio-prose-header .section-title { font-size: 30px; }
  .studio-section-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .studio-section-header .section-title,
  .studio-section-header .lede { grid-column: auto; }
  .studio-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .studio-closer { padding: 64px 0; }
  .studio-closer-title { font-size: 26px; }
  /* Mobile rules for the unified studio-list pattern */
  .studio-list-item { grid-template-columns: 36px 1fr; gap: 16px; padding: 22px 0; }
  .studio-list-item.is-expandable summary { grid-template-columns: 36px 1fr 24px; gap: 16px; padding: 22px 0; }
  .studio-list-title { font-size: 19px; }
  .studio-list-detail { padding: 0 0 22px 52px; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  :root { --pad-x: 24px; --pad-y: 64px; --indent-deep: 0px; }
  .hero {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .hero h1 { font-size: 44px; }
  .hero-lead {
    font-size: 15px;
    margin: 0;
  }
  .section-title { font-size: 30px; }
  .date-display { font-size: 36px; }
  .quote-attr-name { font-size: 28px; }
  .contact-email { font-size: 24px; }
  .info-value { font-size: 18px; }
  .info-row {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
    gap: 36px;
  }
  .social-circles { justify-self: stretch; margin-left: auto; }
  .info-row {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    row-gap: 24px;
    padding: 28px 0 44px;
  }
  .social-circles { grid-column: 1 / -1; justify-self: start; }
  .about { grid-template-columns: 1fr; gap: 36px; padding: 72px 0; }
  .about-text { border-top: 0; }
  .about-text .section-title { margin-top: 0; }
  .quote-block { padding: 0 0 0 40px; }
  .quote-mark { left: 0; }
  .quote-section { grid-template-columns: 1fr; gap: 48px; padding: 36px 0 72px; }
  .quote-block { padding-left: 44px; }
  .content-section,
  .content-section.reverse { grid-template-columns: 1fr; gap: 36px; padding: 80px 0; }
  .content-section.reverse .content-media { order: 1; }
  .content-section.reverse .content-text { order: 2; }
  .content-text { border-top: 0; }
  .content-text .section-title { margin-top: 0; }
  .work-section { padding: 40px 0 72px; }
  .work-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .work-header .section-title,
  .work-header .lede { grid-column: auto; }
  .work-header .lede { margin: 0; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-section { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .contact-email { font-size: 22px; }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .img-placeholder.hero-portrait { aspect-ratio: 16 / 9; }
  .info-row { grid-template-columns: 1fr; }
  /* Phones: the menu takes the whole screen, still sliding in from the
     right like the desktop panel. */
  .nav-panel {
    width: 100%;
    padding: 0 32px;
  }
}

/* =================================================================
   WAITLIST PAGE — simple intake form with editorial underline inputs.
   ================================================================= */
.waitlist {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  padding: 64px 0 128px;
  align-items: start;
}
.waitlist-head { padding-top: 4px; }
.waitlist-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 58px;
  line-height: 1.0;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 26px;
}
.waitlist-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 360px;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 540px;
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 58px; line-height: 1.5; }
/* Honeypot — visually hidden from humans, catches bots. */
.wl-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}
.waitlist-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.waitlist-submit:hover { opacity: 0.78; }
.waitlist-submit:disabled { opacity: 0.5; cursor: default; }
.waitlist-submit svg { display: block; width: 14px; height: 14px; }
.waitlist-status {
  font-size: 14px;
  line-height: 1.5;
  margin: 2px 0 0;
  min-height: 1.2em;
}
.waitlist-status.is-sending { color: var(--muted); }
.waitlist-status.is-success { color: var(--ink); }
.waitlist-status.is-error { color: #9b2c2c; }
.waitlist-status a { color: inherit; text-decoration: underline; }

@media (max-width: 980px) {
  .waitlist {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0 80px;
  }
  .waitlist-title { font-size: 40px; }
  .waitlist-lede { max-width: none; }
  .waitlist-form { max-width: none; }
}

/* =================================================================
   PAGE LOAD — a cinematic "focus-in": every block resolves from a soft
   blur into sharp as it fades in, uniformly. The fixed slide-in menu
   (.nav-panel) is excluded. JS-gated via `.preload` on <html>; if JS is
   off the class never appears; skipped entirely under reduced-motion.
   ================================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.preload .page > *:not(.nav-panel) {
    opacity: 0;
    filter: blur(8px);
  }
  .page > *:not(.nav-panel) {
    transition: opacity 0.6s ease, filter 1s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
