/* Emilia Grillasca · portfolio
   Neutral frame: the work carries the color.
   Mobile-first; one breakpoint for tablet, one for desktop. */

:root {
  --bone: #EFEAE2;        /* page */
  --bone-deep: #E6E0D6;   /* placeholders, quiet panels */
  --ink: #1A1817;         /* text */
  --ink-soft: #625C56;    /* secondary text (5.4:1 on bone) */
  --rule: #D6CFC4;        /* hairlines */

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --text: "Lora", Georgia, serif;

  --gutter: 16px;
  --max: 1440px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 104px;
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone); padding: 8px 12px;
}
.skip:focus { left: var(--gutter); }

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

/* Small caps label, used for nav, eyebrows, meta */
.label {
  font-family: var(--text);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  padding: var(--space-3) 0;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
}
.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-nav ul {
  display: flex;
  gap: var(--space-3);
  margin: 0; padding: 0; list-style: none;
}
.site-nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* ---------- Home: intro ---------- */
.intro {
  padding: var(--space-5) 0 var(--space-5);
}
.intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 11vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.intro .lede {
  margin: var(--space-3) 0 0;
  max-width: 30ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 5.6vw, 34px);
  line-height: 1.3;
  color: var(--ink);
}
.intro .meta {
  margin: var(--space-4) 0 0;
  color: var(--ink-soft);
}

/* ---------- Home: work tiles ---------- */
.work { padding-bottom: var(--space-5); }

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: 0; padding: 0; list-style: none;
}
.tile a, .tile > div { display: block; }
.tile figure { margin: 0; }
.tile img,
.tile .placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;     /* never crop the stills */
  background: var(--bone-deep);
}
.tile img { transition: opacity .5s ease; }
.tile a:hover img { opacity: .9; }

.tile .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
}

.tile figcaption { padding-top: var(--space-2); }
.tile h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
}
.tile p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.tile .status { margin-top: var(--space-1); }

/* ---------- Home: more work ---------- */
.more {
  border-top: 1px solid var(--rule);
  padding: var(--space-3) 0 var(--space-5);
}
.more .wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.more ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0; padding: 0; list-style: none;
}
.more li a {
  font-family: var(--serif);
  font-size: 22px;
  border-bottom: 1px solid var(--rule);
  transition: border-color .3s ease;
}
.more li a:hover { border-bottom-color: var(--ink); }
.more .label { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: var(--space-4) 0 var(--space-5);
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin: 0; padding: 0; list-style: none;
}
.site-footer a:hover { color: var(--ink); }

/* ---------- Motion: one soft fade, nothing else ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade .9s ease both; }
  .fade-2 { animation-delay: .15s; }
  .fade-3 { animation-delay: .3s; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
  .more .wrap { flex-direction: row; align-items: baseline; gap: var(--space-4); }
  .more ul { flex-direction: row; gap: var(--space-4); }
  .site-footer .wrap { flex-direction: row; justify-content: space-between; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1100px) {
  :root { --gutter: 64px; }
  .site-header { padding: var(--space-4) 0; }
  .intro { padding: var(--space-6) 0 var(--space-6); }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .tile h2 { font-size: 32px; }
}
.site-footer p { margin: 0; }
.tile p.status { font-size: 11px; color: var(--ink-soft); }
.more h2 { margin: 0; font-weight: 400; }
/* On phones the empty placeholder shouldn't eat a whole screen */
@media (max-width: 719px) { .tile .placeholder { aspect-ratio: 4 / 3; } }

/* =========================================================
   Case studies — shared layout. Each page sets its own palette
   by overriding the tokens on <body class="cs cs-…">.
   ========================================================= */

.cs-gentle-barre {
  --bone: #F4F1EA;        /* cream */
  --bone-deep: #ECE6DC;
  --ink: #4A3236;         /* cocoa */
  --ink-soft: #6B5F5F;    /* taupe, 5.6:1 on cream */
  --rule: #DDD2C8;
  --accent: #96586A;      /* deep rose, text-safe on cream */
  --panel: #4A3236;
  --panel-ink: #F3F0E9;
  --panel-soft: #E4D9D3;
  --panel-accent: #D9A8A0; /* dusty rose, used on cocoa only */
  --card: #FBF9F4;
}

.cs .eyebrow { color: var(--accent); margin: 0 0 var(--space-2); }

/* Hero: full width, never cropped */
.cs-hero { margin: 0; }
.cs-hero img {
  width: 100%;
  background: var(--bone-deep);
}

/* Title + summary + Role · Scope · Year · Results */
.cs-head { padding: var(--space-5) 0; }
.cs-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 10vw, 88px);
  line-height: 1.02;
}
.cs-head .lede {
  margin: var(--space-2) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 5vw, 30px);
  color: var(--ink-soft);
}
.cs-summary {
  margin: var(--space-4) 0 0;
  max-width: 36em;
  font-size: 17px;
}
.cs-summary p { margin: 0 0 var(--space-1); }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-3);
  margin: var(--space-5) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink);
}
.facts dt { color: var(--accent); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 15px; line-height: 1.5; }

/* Sections */
.cs-section { padding: var(--space-5) 0; border-top: 1px solid var(--rule); }
.cs-section h2 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 7.5vw, 56px);
  line-height: 1.08;
}
.cs-section .intro-text {
  margin: var(--space-3) 0 0;
  max-width: 36em;
  color: var(--ink-soft);
}
.cs-section > .wrap > * + .block { margin-top: var(--space-4); }
.cs h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}
.cs .muted { color: var(--ink-soft); }

/* Dark statement panel */
.cs-panel {
  background: var(--panel);
  color: var(--panel-ink);
  border-top: 0;
}
.cs-panel .eyebrow { color: var(--panel-accent); }
.cs-panel h2 { max-width: 26ch; }

/* Then → now */
.compare { display: grid; gap: var(--space-2); }
.compare > div { padding: var(--space-3); border: 1px solid var(--rule); }
.compare .now { background: var(--panel); color: var(--panel-ink); border-color: var(--panel); }
.compare .now .label { color: var(--panel-accent); }
.compare .label { color: var(--ink-soft); }
.compare p.big {
  margin: var(--space-1) 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}
.compare .line { margin: 0; font-style: italic; }
.compare .arrow { text-align: center; color: var(--accent); font-size: 22px; line-height: 1; padding: 0; border: 0; }

.notes {
  display: grid;
  gap: var(--space-3);
  margin: 0; padding: 0; list-style: none;
}
.notes li { border-top: 1px solid var(--accent); padding-top: var(--space-2); }
.notes p { margin: 6px 0 0; color: var(--ink-soft); }

/* Brand world */
.brand-kit { display: grid; gap: var(--space-4); }
.type-specimen { display: flex; align-items: center; gap: var(--space-3); }
.type-specimen img { width: 56px; height: auto; }
.type-specimen .serif-sample { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin: 0; padding: 0; list-style: none;
}
.swatches span {
  display: block;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(0,0,0,.06);
}
.swatches small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  margin: 0; padding: 0; list-style: none;
}
.photo-grid img { width: 100%; background: var(--bone-deep); }

/* Journey */
.journey {
  display: grid;
  gap: var(--space-3);
  margin: 0; padding: 0; list-style: none;
  counter-reset: step;
}
.journey li { border-top: 1px solid var(--accent); padding-top: var(--space-2); }
.journey .num { font-family: var(--serif); font-size: 20px; color: var(--accent); }
.journey p { margin: 6px 0 0; color: var(--ink-soft); }
.pull {
  margin: var(--space-4) 0 0;
  max-width: 30ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 5.5vw, 34px);
  line-height: 1.25;
}

/* Cards */
.cards { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.cards li { background: var(--card); border: 1px solid var(--rule); padding: var(--space-3); }
.cards li.dark { background: var(--panel); color: var(--panel-ink); border-color: var(--panel); }
.cards .label { color: var(--accent); }
.cards li.dark .label { color: var(--panel-accent); }
.cards h3 { margin-top: var(--space-1); }
.cards p { margin: var(--space-1) 0 0; font-size: 15px; }
.cards li:not(.dark) p { color: var(--ink-soft); }
.cards li.dark p { color: var(--panel-soft); }

.aside-stat {
  display: grid;
  gap: var(--space-2);
  border-top: 1px solid var(--accent);
  padding-top: var(--space-3);
}
.aside-stat p { margin: 0; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: 0;
}
.stats div { margin: 0; }
.stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 12vw, 80px);
  line-height: 1;
}
.stats dt { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

.results { display: grid; gap: var(--space-4); }
.results figure { margin: 0; }
.results figcaption, .quote { margin-top: var(--space-2); }
.quote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.3;
}
.quote footer { margin-top: var(--space-1); color: var(--accent); }

/* Test & learn */
.tl { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.tl li { background: var(--card); border: 1px solid var(--rule); padding: var(--space-3); }
.tl li.dark { background: var(--panel); color: var(--panel-ink); border-color: var(--panel); }
.tl dl { margin: var(--space-2) 0 0; }
.tl dt { color: var(--accent); margin-top: var(--space-2); }
.tl li.dark dt { color: var(--panel-accent); }
.tl dd { margin: 4px 0 0; font-size: 15px; }

/* Download + next */
.cs-end {
  border-top: 1px solid var(--rule);
  padding: var(--space-5) 0;
}
.cs-end .wrap { display: grid; gap: var(--space-4); }
.button {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  transition: background .3s ease, color .3s ease;
}
.button:hover { background: var(--ink); color: var(--bone); }
.next a { display: block; }
.next .label { color: var(--ink-soft); }
.next .title {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.1;
}
.next a:hover .title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .compare { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .compare .arrow { transform: rotate(-90deg); }
  .notes { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .swatches { grid-template-columns: repeat(6, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
  .journey { grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .aside-stat { grid-template-columns: auto 1fr; gap: var(--space-5); align-items: baseline; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .tl { grid-template-columns: 1fr 1fr; }
  .cs-end .wrap { grid-template-columns: 1fr 1fr; align-items: end; }
  .next { text-align: right; }
}

@media (min-width: 1100px) {
  .cs-section { padding: var(--space-6) 0; }
  .cs-head { padding: var(--space-6) 0 var(--space-5); }
  /* Portrait hero: keep it whole on wide screens, centered on the page colour */
  .cs-hero { background: var(--bone-deep); }
  .cs-hero img { width: auto; max-height: 92vh; margin: 0 auto; }
  .brand-kit { grid-template-columns: 1fr 2fr; gap: var(--space-5); align-items: start; }
  .results { grid-template-columns: 3fr 2fr; gap: var(--space-5); align-items: start; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
}

/* Fixes after review */
.cards p.label { font-size: 11px; margin: 0; }
.quote { margin: var(--space-2) 0 0; }
.cs-panel h2 { font-size: clamp(30px, 7vw, 52px); line-height: 1.12; }
@media (min-width: 720px) {
  .compare { align-items: stretch; }
  .compare .arrow { align-self: center; }
}

/* =========================================================
   Interior States: film black, bone, lilac
   ========================================================= */
.cs-interior-states {
  --bone: #151313;        /* film black: page */
  --bone-deep: #1F1C1B;
  --ink: #EDE6DA;         /* bone: text */
  --ink-soft: #B9B0A4;    /* 8.9:1 on film black */
  --rule: #3A3532;
  --accent: #C8B6E2;      /* lilac */
  --panel: #EDE6DA;       /* light band, inverted */
  --panel-ink: #1C1A19;
  --panel-soft: #5E5650;
  --panel-accent: #6E5A92;
  --card: #1C1A19;
  color-scheme: dark;
}
.cs-interior-states .site-nav a[aria-current="page"],
.cs-interior-states .wordmark { color: var(--ink); }

/* Triptych hero: three stills, never cropped */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0;
}
.triptych img { width: 100%; background: var(--bone-deep); }

/* One film per section */
.film { display: grid; gap: var(--space-4); }
.film figure { margin: 0; }
.film img { width: 100%; background: var(--bone-deep); }
.film .numeral { color: var(--accent); margin: 0 0 var(--space-1); }
.film h2 { max-width: none; }
.film .room {
  margin: var(--space-1) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-soft);
}
.film dl { margin: var(--space-4) 0 0; }
.film dl > div { border-top: 1px solid var(--rule); padding: var(--space-2) 0; }
.film dt { color: var(--accent); margin-bottom: 4px; }
.film dd { margin: 0; }

/* Video: a still with a play button; loads YouTube only on tap */
.video {
  position: relative;
  margin-top: var(--space-4);
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: var(--bone-deep);
  border: 1px solid var(--rule);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button {
  all: unset;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  cursor: pointer;
  color: var(--ink);
}
.video button:focus-visible { outline: 1px solid var(--accent); outline-offset: -6px; }
.video .play {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
}
.video .play::after {
  content: ""; margin-left: 4px;
  border-left: 14px solid currentColor;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.video .pending {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}

/* Process band (light) */
.cs-light { background: var(--panel); color: var(--panel-ink); border-top: 0; }
.cs-light .eyebrow { color: var(--panel-accent); }
.cs-light .notes li { border-top-color: var(--panel-accent); }
.cs-light .notes p, .cs-light .muted { color: var(--panel-soft); }
.process { display: grid; gap: var(--space-4); }
.bts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.bts img { width: 100%; }
.process figcaption { margin-top: var(--space-1); font-size: 14px; }

/* Credits */
.credits { display: grid; gap: 0; margin: var(--space-4) 0 0; }
.credits > div { display: grid; grid-template-columns: 1fr; gap: 2px; border-top: 1px solid var(--rule); padding: var(--space-2) 0; }
.credits dt { color: var(--accent); }
.credits dd { margin: 0; }

/* GEEKS closing panel */
.geeks { display: grid; gap: var(--space-4); align-items: center; }
.geeks h2 { letter-spacing: 0.08em; }
.geeks .credit-line {
  margin: var(--space-2) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.3;
}
.geeks .poster {
  aspect-ratio: 2 / 3;
  max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bone-deep);
  border: 1px dashed var(--rule);
  color: var(--ink-soft);
}
.geeks .facts { border-top-color: var(--rule); margin-top: var(--space-4); }
.text-link { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

@media (min-width: 720px) {
  .triptych { gap: 8px; }
  .film { grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
  .film.reverse figure { order: 2; }
  .credits > div { grid-template-columns: 220px 1fr; gap: var(--space-3); }
  .geeks { grid-template-columns: 3fr 2fr; gap: var(--space-5); }
  .geeks .facts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .film figure img { max-height: 92vh; width: auto; margin: 0 auto; }
  .process { grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
  .geeks .poster { max-height: 80vh; }
}
.video .play { background: rgba(21,19,19,.55); }

/* In print: cards and flyers */
.in-print { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.in-print > p { margin: var(--space-1) 0 0; max-width: 36em; color: var(--ink-soft); }
.in-print h4 { margin: var(--space-4) 0 var(--space-2); font-weight: 400; color: var(--accent); }
.print-cards { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.print-cards li { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); }
.print-cards img, .print-flyers img { width: 100%; border: 1px solid var(--rule); background: var(--bone-deep); }
.print-flyers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin: 0; padding: 0; list-style: none; align-items: start; }
.print-posters {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: var(--space-2); margin: 0; padding: 0 0 var(--space-1); list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.print-posters li { scroll-snap-align: start; }
.print-posters img { width: 100%; border: 1px solid var(--rule); }
.swipe-hint { margin: var(--space-1) 0 0; font-size: 12px; color: var(--ink-soft); }
@media (min-width: 720px) {
  .print-cards { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
  .print-cards li { grid-template-columns: 1fr; }
  .print-posters { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .swipe-hint { display: none; }
  .print-flyers { max-width: 66%; }
}

/* =========================================================
   /work: short entries in the neutral frame
   ========================================================= */
.work-page .cs-head h1 { font-size: clamp(42px, 10vw, 80px); }
.entry { padding: var(--space-5) 0; border-top: 1px solid var(--rule); scroll-margin-top: var(--space-3); }
.entry h2 {
  margin: 0; max-width: 22ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 7vw, 52px); line-height: 1.08;
}
.entry .proves { margin: var(--space-2) 0 0; max-width: 36em; color: var(--ink-soft); }
.entry .eyebrow { color: var(--ink-soft); }
.entry-body { display: grid; gap: var(--space-4); margin-top: var(--space-4); }

/* Browser frame around site screenshots */
.browser {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bone-deep);
  box-shadow: 0 1px 2px rgba(26,24,23,.04), 0 12px 32px -12px rgba(26,24,23,.18);
}
.browser .bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
}
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: #CFC7BC; }
.browser .bar span {
  flex: 1; margin: 0 6px 0 10px; padding: 3px 10px;
  border-radius: 4px; background: var(--bone);
  font-size: 11px; color: var(--ink-soft); letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; }

.spec { margin: 0; }
.spec > div { border-top: 1px solid var(--rule); padding: var(--space-2) 0; }
.spec dt { color: var(--ink-soft); margin-bottom: 4px; }
.spec dd { margin: 0; }

.voices { display: grid; gap: var(--space-4); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.voices .post {
  aspect-ratio: 4 / 5; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bone-deep); border: 1px solid var(--rule);
  color: var(--ink-soft);
}
.voices h3 { margin: var(--space-2) 0 0; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.voices p { margin: 4px 0 0; color: var(--ink-soft); }

@media (min-width: 720px) {
  .voices { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}
@media (min-width: 1100px) {
  .entry { padding: var(--space-6) 0; }
  .entry-body { grid-template-columns: 2fr 1fr; gap: var(--space-5); align-items: start; }
}
/* Instagram entry reads like a profile grid at every width */
.voices { grid-template-columns: repeat(3, 1fr); gap: 4px; }
@media (min-width: 720px) { .voices { gap: var(--space-2); } }
.entry-solo { border-top: 0; }
.entry-solo h1 {
  margin: 0; max-width: 18ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 8.5vw, 72px); line-height: 1.05;
  overflow-wrap: anywhere;
}
.in-print .voices { margin-top: var(--space-2); }
.entry-solo h1 { font-size: clamp(28px, 7.6vw, 72px); max-width: none; }
@media (min-width: 720px) { .in-print .voices { max-width: 66%; } }

/* Placeholders for merch and press until the photos arrive */
.ph {
  aspect-ratio: 1 / 1; max-width: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--bone-deep); border: 1px solid var(--rule); color: var(--ink-soft);
}
.ph-spread { aspect-ratio: 3 / 2; }
.ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.press-feature { margin: var(--space-4) 0 0; }
.press-feature figcaption { margin-top: var(--space-1); font-size: 14px; color: var(--ink-soft); }
.press-feature figcaption .label { color: var(--accent); margin-right: 8px; }
@media (min-width: 720px) {
  .print-cards { grid-template-columns: repeat(3, 1fr); max-width: 80%; }
  .ph-row { gap: var(--space-2); max-width: 66%; }
  .press-feature .ph-spread { max-width: 66%; }
}
.merch-board { margin: var(--space-2) 0 0; }
.merch-board img { width: 100%; border: 1px solid var(--rule); }
@media (min-width: 720px) { .merch-board { max-width: 66%; } }

/* Bridge lines: tie the work to luxury brands */
.bridge {
  margin-top: var(--space-4);
  padding: var(--space-3) 0 0;
  border-top: 1px solid var(--accent);
  max-width: 40em;
}
.bridge .label { margin: 0 0 var(--space-1); color: var(--accent); }
.bridge p:last-child { margin: 0; font-size: 17px; }
@media (min-width: 720px) { .notes-4 { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================
   /about
   ========================================================= */
.about-intro { display: grid; gap: var(--space-4); padding-top: var(--space-4); padding-bottom: var(--space-5); }
.about-intro figure { margin: 0; }
.about-intro img { width: 100%; background: var(--bone-deep); }
.about-intro h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 10vw, 80px); line-height: 1.02;
}
.about-intro .lede {
  margin: var(--space-2) 0 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 5vw, 30px); line-height: 1.3;
}
.about-intro .bio { margin-top: var(--space-4); max-width: 36em; font-size: 17px; }
.about-intro .bio p { margin: 0 0 var(--space-2); }
.about-intro .actions { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; margin-top: var(--space-3); }

.about-block { padding: var(--space-5) 0; border-top: 1px solid var(--rule); }
.about-block h2 { margin: 0 0 var(--space-3); font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 6vw, 40px); }
.about-grid { display: grid; gap: var(--space-4); }
.about-grid h3 { margin: 0 0 var(--space-1); font-family: var(--serif); font-weight: 500; font-size: 22px; }
.about-grid p { margin: 0; color: var(--ink-soft); }
.cred { border-top: 1px solid var(--ink); padding-top: var(--space-2); }
.cred .meta { margin-top: 6px; color: var(--ink-soft); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; background: var(--bone); }
.tag-group + .tag-group { margin-top: var(--space-3); }
.tag-group h3 { margin: 0 0 var(--space-1); }
.tag-group .note { margin: 0 0 var(--space-1); font-size: 13px; color: var(--ink-soft); }

.contact-list { margin: 0; }
.contact-list > div { display: grid; gap: 2px; border-top: 1px solid var(--rule); padding: var(--space-2) 0; }
.contact-list dt { color: var(--ink-soft); }
.contact-list dd { margin: 0; font-family: var(--serif); font-size: 24px; overflow-wrap: anywhere; }

@media (min-width: 720px) {
  .about-intro { grid-template-columns: 2fr 3fr; gap: var(--space-5); align-items: start; padding-top: var(--space-5); }
  .about-grid.two { grid-template-columns: 1fr 1fr; }
  .about-grid.three { grid-template-columns: repeat(3, 1fr); }
  .contact-list > div { grid-template-columns: 200px 1fr; align-items: baseline; }
}
@media (min-width: 1100px) {
  .about-intro img { max-height: 86vh; width: auto; }
}
.contact-wrap { display: grid; gap: var(--space-4); align-items: start; }
.headshot { margin: 0; max-width: 70%; }
.headshot img { width: 100%; }
@media (min-width: 720px) {
  .contact-wrap { grid-template-columns: 1fr 2fr; gap: var(--space-5); }
  .headshot { max-width: none; }
}
.bring-lede { margin: 0 0 var(--space-4); max-width: 26ch; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 5.5vw, 34px); line-height: 1.25; }
.cred .meta a { border-bottom: 1px solid var(--rule); }
.cred .meta a:hover { border-bottom-color: var(--ink); }
.intro .meta { line-height: 2; }
@media (min-width: 720px) { .about-grid.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .about-grid.four { grid-template-columns: repeat(4, 1fr); } }
.nw { white-space: nowrap; }

/* Refinement pass: fewer, larger things */
@media (min-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .intro h1 { max-width: 14ch; }
}
.geeks-solo { grid-template-columns: 1fr !important; max-width: 52rem; }

/* =========================================================
   Design-forward pass
   ========================================================= */
/* House-style wordmark */
.wordmark {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Catalogue index on the work */
.tile-index { margin: 0 0 var(--space-1); color: var(--ink-soft); }
.tile figcaption { padding-top: var(--space-3); }
.tile h2 { font-size: clamp(28px, 6vw, 40px); }

.more { padding: 0; }
.index-row {
  display: grid; gap: 6px;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--rule);
}
.index-row .label { color: var(--ink-soft); }
.index-title { font-family: var(--serif); font-size: clamp(26px, 5.5vw, 40px); line-height: 1.15; }
.index-arrow { display: none; font-size: 28px; transition: transform .3s ease; }
.index-row:hover .index-arrow { transform: translateX(6px); }

/* Closing statement */
.closing { padding: var(--space-6) 0; text-align: left; }
.closing .label { color: var(--ink-soft); margin: 0 0 var(--space-2); }
.closing h2 {
  margin: 0; max-width: 16ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 9vw, 84px); line-height: 1.02;
}
.closing-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-4) 0 0; font-size: 17px; }

@media (min-width: 720px) {
  .index-row { grid-template-columns: 220px 1fr auto; align-items: baseline; gap: var(--space-4); }
  .index-arrow { display: block; }
}
@media (min-width: 1100px) {
  .closing { padding: 160px 0; }
}
.tile p.tile-index { font-size: 11px; margin: 0 0 var(--space-1); }
.more .wrap { display: block; }
.index-row { border-bottom: 0; }
.more { border-bottom: 1px solid var(--rule); }

/* Phone screenshots beside the desktop frame */
.shots { display: grid; gap: var(--space-4); min-width: 0; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); max-width: 560px; }
.phone { margin: 0; }
.phone img {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(26,24,23,.04), 0 12px 32px -12px rgba(26,24,23,.18);
  background: var(--bone-deep);
}
.phone figcaption { margin-top: var(--space-1); text-align: center; color: var(--ink-soft); }
.phone img { aspect-ratio: 800 / 1437; object-fit: contain; object-position: top; background: #F3F1EC; }

/* =========================================================
   Frame v2: atelier. Crisp white, editorial serif, typewriter
   labels. Distinct from Gentle Barre's own type and palette.
   ========================================================= */
:root {
  --bone: #FAF9F6;
  --bone-deep: #EFECE6;
  --ink: #121110;
  --ink-soft: #5F5B56;
  --rule: #E3DFD8;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}
body { font-size: 16px; line-height: 1.6; }

h1, h2, h3, .tile h2, .cs h3, .about-grid h3, .cs-head h1 { font-weight: 400; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Signature wordmark + typewriter navigation */
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}
.site-nav.label { font-size: 13px; letter-spacing: 0; text-transform: none; }
.site-nav ul { gap: var(--space-3); }

/* Home: a statement, then the work edge to edge */
.intro h1 {
  font-size: clamp(52px, 13vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 11ch;
}
.intro .lede { font-size: clamp(24px, 6vw, 38px); max-width: 24ch; }

.work > .wrap { max-width: none; padding: 0; }
.tiles { gap: var(--space-5); }
.tile img { background: var(--bone-deep); }
.tile figcaption { padding: var(--space-2) var(--gutter) 0; }
.tile h2 { font-size: clamp(32px, 7vw, 48px); line-height: 1.05; }
.tile p { font-size: 15px; }

/* A little wit on hover */
.tile a:hover h2,
.index-row:hover .index-title,
.next a:hover .title { font-style: italic; }
.tile a:hover img { opacity: 1; }

.index-title { font-size: clamp(30px, 6vw, 48px); }
.closing h2 { font-size: clamp(44px, 10vw, 104px); line-height: 0.98; }

/* Case study and section headings scale up for the condensed serif */
.cs-head h1 { font-size: clamp(48px, 11vw, 104px); line-height: 0.98; }
.cs-section h2 { font-size: clamp(36px, 8vw, 64px); line-height: 1.02; }
.cs h3 { font-size: 28px; }
.about-intro h1 { font-size: clamp(48px, 11vw, 96px); line-height: 0.98; }

@media (min-width: 720px) {
  .tiles { gap: 2px; }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 2px; }
  .tile figcaption { padding: var(--space-3) var(--space-4) 0; }
}
.site-nav.label { font-size: 14px; }

/* =========================================================
   Frame v3: leaning Miu Miu / Scout Dixon West.
   Stark white, black hairline grid, serif capitals,
   pill buttons, one red accent used sparingly.
   ========================================================= */
:root {
  --bone: #FFFFFF;
  --bone-deep: #F2F0EC;
  --ink: #111111;
  --ink-soft: #555555;
  --rule: #111111;
  --accent-red: #A3201C;   /* 6.9:1 on white */
}

/* Labels and navigation in serif capitals */
.label {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Header: centred name, navigation beneath, ruled off */
.site-header { padding: 0; border-bottom: 1px solid var(--ink); }
.site-header .wrap {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding-top: var(--space-3);
  padding-bottom: var(--space-2);
}
.wordmark {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(26px, 6vw, 40px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.site-nav.label { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.site-nav ul { gap: var(--space-3); justify-content: center; }
.site-nav a { border-bottom-width: 1px; }

/* Home statement */
.intro { padding: var(--space-5) 0; }
.intro h1 { max-width: 12ch; }
.intro .meta { color: var(--ink); }

/* Work in a ruled grid */
.work { padding-bottom: 0; }
.tiles { gap: 0; border-top: 1px solid var(--ink); }
.tile { border-bottom: 1px solid var(--ink); }
.tile figcaption { border-top: 1px solid var(--ink); padding: var(--space-2) var(--gutter) var(--space-3); }
.tile .tile-index { color: var(--accent-red); }
.tile h2 { text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(30px, 6.5vw, 44px); }

.more { border-top: 0; border-bottom: 1px solid var(--ink); }
.index-row .label { color: var(--accent-red); }
.index-title { text-transform: uppercase; letter-spacing: 0.01em; }

.closing h2 { text-transform: uppercase; letter-spacing: 0.005em; max-width: 14ch; }

/* Pill buttons */
.button {
  border-radius: 999px;
  border: 1px solid var(--ink);
  padding: 12px 26px;
}

/* Footer ruled like the header */
.site-footer { border-top: 1px solid var(--ink); }

/* Links: red on hover, a small Miu Miu wink */
a.text-link:hover, .site-nav a:hover, .site-footer a:hover { color: var(--accent-red); }

@media (min-width: 720px) {
  .tiles { gap: 0; }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 0; }
  .tile + .tile { border-left: 1px solid var(--ink); }
  .intro { padding: var(--space-6) 0; }
}
.index-title { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 719px) { .index-title { font-size: 26px; } }

/* =========================================================
   Frame v4: luxury refinement.
   Softer ivory, hairlines, wide-tracked small capitals,
   centred compositions, more air, no loud accents.
   ========================================================= */
:root {
  --bone: #FBFAF7;
  --bone-deep: #F1EEE8;
  --ink: #161514;
  --ink-soft: #6B6661;
  --rule: #DAD6CF;
  --accent-red: var(--ink-soft);
}

/* Small capitals, widely tracked */
.label { font-size: 11px; letter-spacing: 0.16em; }
.site-nav.label { font-size: 12px; letter-spacing: 0.18em; }

/* Header: quiet, centred, hairline */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { padding-top: var(--space-4); padding-bottom: var(--space-3); gap: var(--space-2); }
.wordmark { font-size: clamp(20px, 4.4vw, 26px); letter-spacing: 0.22em; }

/* Home statement, centred */
.intro { padding: 96px 0 104px; text-align: center; }
.intro h1 { margin: 0 auto; max-width: 13ch; font-size: clamp(46px, 11vw, 112px); line-height: 0.98; }
.intro .lede { margin: var(--space-4) auto 0; max-width: 26ch; color: var(--ink-soft); }
.intro .meta { margin-top: var(--space-5); color: var(--ink-soft); }

/* Work: framed by white space, not lines */
.work > .wrap { max-width: var(--max); padding: 0 var(--gutter); }
.tiles { border-top: 0; gap: var(--space-6); }
.tile { border-bottom: 0; }
.tile figcaption { border-top: 0; padding: var(--space-3) 0 0; text-align: center; }
.tile .tile-index { color: var(--ink-soft); }
.tile h2 { font-size: clamp(16px, 3.6vw, 18px); letter-spacing: 0.18em; line-height: 1.4; margin-top: 6px; }
.tile p { font-size: 15px; max-width: 34ch; margin-left: auto; margin-right: auto; }
.tile a:hover h2 { font-style: normal; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.tile img { transition: opacity 1.2s ease; }

.more { border-top: 0; border-bottom: 0; padding: var(--space-6) 0 0; }
.index-row {
  grid-template-columns: 1fr !important;
  justify-items: center; text-align: center;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.index-row .label { color: var(--ink-soft); }
.index-title { font-size: clamp(16px, 3.6vw, 18px) !important; letter-spacing: 0.18em; }
.index-arrow { display: none !important; }
.index-row:hover .index-title { font-style: normal; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Closing: an italic line, centred */
.closing { text-align: center; padding: 128px 0 136px; }
.closing h2 {
  margin: 0 auto; max-width: 18ch;
  text-transform: none; letter-spacing: 0;
  font-style: italic;
  font-size: clamp(36px, 8vw, 76px); line-height: 1.04;
}
.closing-links { justify-content: center; }

/* Buttons and links */
.button { padding: 12px 28px; border-color: var(--ink); }
a.text-link:hover, .site-nav a:hover, .site-footer a:hover { color: var(--ink-soft); }
.site-footer { border-top: 1px solid var(--rule); }

@media (min-width: 720px) {
  .tiles { gap: var(--space-5); }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .tile + .tile { border-left: 0; }
  .tile figcaption { padding: var(--space-4) 0 0; }
  .intro { padding: 136px 0 144px; }
}
.tile p.tile-index { max-width: none; }

/* =========================================================
   Frame v5: Madison Avenue, 1960s.
   Bodoni display, Futura-style Jost text, ivory paper,
   masthead with a double rule, classic print-ad composition.
   ========================================================= */
:root {
  --bone: #FAF7F0;          /* ivory paper */
  --bone-deep: #EFEAE0;
  --ink: #171513;
  --ink-soft: #5E5850;
  --rule: #D8D1C4;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --text: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
}
body { font-weight: 300; letter-spacing: 0.005em; }
strong, b, .facts dd, .spec dd { font-weight: 400; }

/* Labels: Futura-style capitals, widely tracked */
.label {
  font-family: var(--text);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-nav.label { font-size: 11px; letter-spacing: 0.26em; }

/* Masthead: Bodoni capitals over a double rule (thin above thick) */
.site-header { border-bottom: 0; position: relative; }
.site-header::after {
  content: "";
  display: block;
  height: 5px;
  margin: 0 var(--gutter);
  border-top: 1px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.site-header .wrap { padding-top: var(--space-4); padding-bottom: var(--space-3); }
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(22px, 5vw, 32px);
  letter-spacing: 0.18em;
}

/* Headlines: Bodoni, a touch of italic for the line beneath */
.intro h1 { font-size: clamp(40px, 9.5vw, 96px); line-height: 1.02; letter-spacing: -0.01em; max-width: 14ch; }
.intro .lede { font-family: var(--serif); font-style: italic; }
.cs-head h1, .about-intro h1 { font-size: clamp(40px, 9vw, 84px); line-height: 1.02; letter-spacing: -0.01em; }
.cs-section h2 { font-size: clamp(32px, 7vw, 56px); line-height: 1.06; letter-spacing: -0.005em; }
.closing h2 { font-size: clamp(32px, 7.5vw, 68px); line-height: 1.06; }
.tile h2, .index-title { font-family: var(--serif); letter-spacing: 0.16em; }

/* Footer: the double rule again, inverted */
.site-footer { border-top: 0; }
.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  margin: 0 var(--gutter) var(--space-4);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.site-footer { padding-top: 0; }

/* Buttons: squared, like a printed coupon */
.button { border-radius: 0; letter-spacing: 0.22em; }

/* ---------- Case study opener: photograph beside the title ---------- */
.cs-opener { padding: var(--space-4) 0 var(--space-5); }
.opener-grid { display: grid; gap: var(--space-4); }
.opener-image { margin: 0; }
.opener-image img { width: 100%; background: var(--bone-deep); }
.opener-text h1 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 9vw, 76px); line-height: 1.02; letter-spacing: -0.01em;
}
.opener-text .lede {
  margin: var(--space-2) 0 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 5vw, 30px); color: var(--ink-soft);
}
.opener-text .cs-summary { margin-top: var(--space-4); }
.cs-opener .facts { margin-top: var(--space-5); }

@media (min-width: 900px) {
  .opener-grid { grid-template-columns: 5fr 6fr; gap: var(--space-6); align-items: center; }
  .opener-image img { max-height: 80vh; width: auto; max-width: 100%; }
  .cs-opener { padding: var(--space-5) 0 var(--space-6); }
}
@media (min-width: 900px) { .opener-image img { width: 100%; max-height: none; } .opener-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   v5.1: keep the Madison Avenue structure, restore quiet luxury.
   Hairline double rules, lighter and smaller Bodoni, more air.
   ========================================================= */
:root { --ink: #1C1A18; --rule: #DCD5C9; }

.site-header::after {
  height: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  opacity: .55;
}
.site-footer::before {
  height: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  opacity: .55;
}
.site-header .wrap { padding-top: var(--space-5); padding-bottom: var(--space-3); }
.wordmark { font-size: clamp(20px, 4.4vw, 26px); letter-spacing: 0.24em; }

h1, h2, .closing h2, .intro h1 { font-weight: 400; font-variation-settings: "opsz" 96; }
.intro { padding: 120px 0 128px; }
.intro h1 { font-size: clamp(36px, 8.4vw, 84px); line-height: 1.06; letter-spacing: -0.005em; }
.intro .lede { font-size: clamp(20px, 5vw, 30px); }
.opener-text h1 { font-size: clamp(36px, 8vw, 64px); line-height: 1.06; }
.cs-head h1, .about-intro h1 { font-size: clamp(36px, 8vw, 72px); line-height: 1.06; }
.cs-section h2 { font-size: clamp(28px, 6.2vw, 48px); line-height: 1.12; }
.closing h2 { font-size: clamp(30px, 7vw, 60px); line-height: 1.1; }
.tile h2, .index-title { font-size: clamp(14px, 3.4vw, 16px) !important; letter-spacing: 0.22em; }
.label { letter-spacing: 0.24em; }
.cs-section { padding-top: var(--space-6); padding-bottom: var(--space-6); }
@media (min-width: 1100px) {
  .intro { padding: 168px 0 176px; }
  .cs-section { padding-top: 136px; padding-bottom: 136px; }
}

/* ===== v6 · About as a journey ===== */
.about-sub { margin: var(--space-3) 0 0; max-width: 30em; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.about-journey { padding: var(--space-5) 0 var(--space-6, 96px); border-top: 1px solid var(--rule); }
.journey-label { margin: 0 0 var(--space-4); color: var(--ink-soft); font-family: var(--text); font-weight: 400; font-size: 12px; }
.chapters { list-style: none; margin: 0 auto; padding: 0; max-width: 40rem; }
.chapters li { padding: var(--space-4) 0; border-top: 1px solid var(--rule); }
.chapters li:first-child { border-top: 0; padding-top: 0; }
.ch-num { margin: 0 0 var(--space-2); color: var(--ink-soft); }
.ch-lead { margin: 0; font-family: var(--serif); font-size: clamp(22px, 4.6vw, 30px); line-height: 1.32; letter-spacing: -0.005em; }
.chapters li p:not(.ch-num):not(.ch-lead) { margin: var(--space-2) 0 0; font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 34em; }
.chapters .text-link, .chapters a { color: inherit; }
.ledger { margin: 0; }
.ledger > div { display: grid; gap: 4px; padding: var(--space-2) 0; border-top: 1px solid var(--rule); }
.ledger > div:last-child { border-bottom: 1px solid var(--rule); }
.ledger dt { font-family: var(--serif); font-size: clamp(20px, 4.4vw, 26px); line-height: 1.25; }
.ledger dd { margin: 0; color: var(--ink-soft); line-height: 1.7; }
@media (min-width: 900px) {
  .ledger > div { grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: baseline; }
  .chapters li { display: grid; grid-template-columns: 9rem 1fr; column-gap: var(--space-4); }
  .chapters li > * { grid-column: 2; }
  .chapters li > .ch-num { grid-column: 1; grid-row: 1 / span 3; margin-top: .7em; }
  .chapters { max-width: 52rem; }
}
.about-journey .chapters { width: 100%; }
@media (min-width: 900px) { .about-journey .chapters { max-width: 56rem; margin-left: 0; } }
.credits .credit-note { display: block; margin-top: 4px; font-family: var(--text); font-size: 14px; line-height: 1.55; opacity: .72; font-style: normal; letter-spacing: 0; text-transform: none; }

/* ===== GEEKS ===== */
.geeks-wide { margin: var(--space-4) 0 var(--space-1); }
.geeks-wide img { width: 100%; }
.geeks-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); }
.geeks-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .geeks-grid { grid-template-columns: repeat(3, 1fr); } }
.geeks-poster { margin: var(--space-4) 0 0; max-width: 22rem; }
.geeks-poster img { width: 100%; }
.geeks-grid figure { margin: 0; }
.geeks-grid img { aspect-ratio: 2 / 3; }
.geeks-grid figcaption, .geeks-wide figcaption { margin: 8px 0 var(--space-2); color: var(--ink-soft); font-size: 11px; }
@media (min-width: 900px) { .geeks-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== Home v6 · featured case study ===== */
.feature { display: grid; gap: var(--space-3); margin: 0 0 var(--space-6, 96px); }
.feature-image { display: block; }
.feature-image img { width: 100%; background: var(--bone-deep); transition: opacity .5s ease; }
.feature-image:hover img { opacity: .92; }
.feature-text h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 7vw, 54px); line-height: 1.08; }
.feature-text h2 a { color: inherit; text-decoration: none; }
.feature-sub { margin: var(--space-2) 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 30em; }
.feature-stats { margin: var(--space-4) 0 var(--space-3); border-top: 1px solid var(--ink); }
.feature-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--rule); }
.feature-stats dt { color: var(--ink-soft); }
.feature-stats dd { margin: 0; font-family: var(--serif); font-size: clamp(22px, 4.5vw, 30px); text-align: right; }
.feature-link { display: inline-block; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.15fr 1fr; gap: var(--space-5); align-items: center; }
  .feature-image img { max-height: 88vh; object-fit: cover; }
}
.work .tiles { margin-top: 0; }
.geeks-onset { display: grid; gap: var(--space-3); margin-bottom: var(--space-3); }
.geeks-onset .geeks-wide { margin: 0; }
@media (min-width: 900px) {
  .geeks-onset { grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: end; }
  .geeks-onset .geeks-wide { max-width: 34rem; justify-self: end; }
}
@media (min-width: 900px) { .feature-image img { max-height: none; object-fit: initial; } }

/* ===== Work · marketing built in ===== */
.mkt { padding: var(--space-5) 0 var(--space-6, 96px); border-top: 1px solid var(--rule); }
.mkt h2 { margin: 0 0 var(--space-4); font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 6vw, 44px); line-height: 1.15; max-width: 18ch; }
.mkt-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3) var(--space-4); }
.mkt-grid li { border-top: 1px solid var(--ink); padding-top: var(--space-2); }
.mkt-grid h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.mkt-grid p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
@media (min-width: 720px) { .mkt-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .mkt-grid { grid-template-columns: repeat(3, 1fr); } }

/* GEEKS · building the audience */
.geeks-stats { display: grid; gap: 0; margin: var(--space-4) 0 var(--space-5); border-top: 1px solid var(--accent); }
.geeks-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--rule); }
.geeks-stats dt { opacity: .75; }
.geeks-stats dd { margin: 0; font-family: var(--serif); font-size: clamp(24px, 5vw, 36px); }
@media (min-width: 900px) { .geeks-stats { grid-template-columns: repeat(3, 1fr); column-gap: var(--space-4); } .geeks-stats > div { display: block; } .geeks-stats dd { margin-top: 6px; } }
.geeks-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-4) var(--space-3); }
@media (min-width: 720px) { .geeks-posts { grid-template-columns: repeat(3, 1fr); } }
.geeks-posts figure { margin: 0; }
.geeks-posts img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.geeks-posts figcaption { display: grid; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.geeks-posts .label { color: var(--accent); font-size: 11px; }
.geeks-posts .who { font-size: 14px; opacity: .85; }
.geeks-posts .stat { font-family: var(--serif); font-size: 18px; }
.geeks-bass { display: grid; gap: var(--space-1); margin-top: var(--space-5); align-items: stretch; }
@media (min-width: 720px) { .geeks-bass { grid-template-columns: 1fr 1fr; } }
.geeks-bass figure { margin: 0; }
.geeks-bass img { width: 100%; height: 100%; object-fit: cover; display: block; }
.geeks-credit { margin: 12px 0 0; opacity: .7; font-size: 11px; line-height: 1.8; }
.geeks-note { align-self: end; border-top: 1px solid var(--accent); padding-top: var(--space-2); }
.geeks-note .label { color: var(--accent); font-size: 11px; }
.geeks-note .big { margin: var(--space-2) 0 6px; font-family: var(--serif); font-size: clamp(48px, 7vw, 80px); line-height: 1; }
.geeks-note .who { margin: 0; font-size: 15px; line-height: 1.6; opacity: .85; max-width: 22em; }
.geeks-room { margin: var(--space-5) 0 0; }
.geeks-room img { width: 100%; height: auto; display: block; }
.geeks-stats { margin-bottom: var(--space-4) !important; }
.geeks-room img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 55%; }
.geeks-bass { display: grid; gap: var(--space-1); margin-top: 0; }
@media (min-width: 720px) { .geeks-bass { grid-template-columns: 2fr 3fr; align-items: stretch; } }
.geeks-bass figure { margin: 0; }
.geeks-bass img { width: 100%; height: 100%; object-fit: cover; display: block; }
.geeks-posts-line { margin: var(--space-3) 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.geeks-posts-line span { opacity: .4; margin: 0 .35em; }

/* Gentle Barre · press */
.press-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) { .press-grid { grid-template-columns: 5fr 6fr; gap: var(--space-5); } }
.press-copy h2 em { font-style: italic; }
.press-meta { margin: var(--space-3) 0 0; color: var(--accent); }
.press-head { font-family: var(--serif); font-size: 22px; margin: var(--space-3) 0 var(--space-2); }
.press-spread { margin: 0; }
.press-spread img { width: 100%; height: auto; display: block; }
.press-card { aspect-ratio: 3 / 2; background: var(--panel, #4A3236); color: var(--panel-ink, #F4F1EA); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: var(--space-4); box-sizing: border-box; }
.press-card-mast { font-family: var(--serif); font-size: clamp(56px, 10vw, 112px); letter-spacing: .14em; line-height: 1; padding-left: .14em; }
.press-card-sub { opacity: .8; }
.press-card-line { font-family: var(--serif); font-style: italic; font-size: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(244,241,234,.35); }
.featured-in { margin: var(--space-3) 0 0; }
.featured-in { color: var(--ink-soft); }
.featured-in a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.featured-in a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.featured-in em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 1.25em; }
.aside-copy { max-width: 38em; }
.aside-copy p + p { margin-top: var(--space-2); }

/* =====================================================================
   v7 · Gallery rhythm — one spacing system for every page
   ===================================================================== */
:root {
  --gutter: clamp(22px, 5.2vw, 80px);
  --sec: clamp(96px, 11vw, 176px);        /* space between sections */
  --head-gap: clamp(20px, 2vw, 28px);     /* heading to its text */
  --block-gap: clamp(48px, 5vw, 80px);    /* heading group to content */
  --measure: 34em;
}
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Sections breathe the same everywhere */
.cs-section, .about-block, .about-journey, .mkt, .press,
.cs-section.press { padding-top: var(--sec); padding-bottom: var(--sec); }
@media (min-width: 1100px) {
  .cs-section, .about-block, .about-journey, .mkt { padding-top: var(--sec); padding-bottom: var(--sec); }
}
.cs-opener { padding-top: clamp(40px, 6vw, 96px); padding-bottom: var(--sec); }
.intro { padding-top: clamp(96px, 13vw, 200px); padding-bottom: clamp(96px, 12vw, 184px); }
.closing { padding-top: var(--sec); padding-bottom: var(--sec); }
@media (min-width: 1100px) { .closing { padding-top: var(--sec); padding-bottom: var(--sec); } .intro { padding-top: clamp(96px, 13vw, 200px); padding-bottom: clamp(96px, 12vw, 184px); } }
.cs-end { padding-top: clamp(72px, 8vw, 128px); padding-bottom: clamp(72px, 8vw, 128px); }

/* Heading group: label, title, standfirst */
.eyebrow, .cs .eyebrow, .entry .eyebrow { margin: 0 0 var(--head-gap) !important; }
.cs-section h2, .about-block h2, .mkt h2, .press h2, .about-journey .journey-label { margin-top: 0; margin-bottom: var(--head-gap); }
.cs-section .intro-text, .press .intro-text { margin-top: 0; margin-bottom: 0; max-width: var(--measure); }
.cs-section h2 { max-width: 20ch; }

/* Heading group to content: one consistent pause */
.cs-section > .wrap > * + .block,
.cs-section .block,
.mkt-grid, .about-grid, .ledger, .chapters, .geeks-stats,
.cs-section .facts, .cs-section .credits { margin-top: var(--block-gap); }
.geeks-stats { margin-bottom: var(--block-gap) !important; }
.chapters { margin-top: 0; }

/* Readable measure for running text */
.cs-section p:not(.label):not(.eyebrow):not(.stat), .about-block p, .chapters p { max-width: var(--measure); }
.press-copy p { max-width: 30em; }

/* Homepage: work list spacing */
.feature { margin-bottom: var(--sec); }
.work .tiles { gap: var(--block-gap) var(--gutter); }
.tile figcaption { padding-top: var(--space-3); }
.more { padding-top: var(--sec); }
.more .index-row { padding-top: 28px; padding-bottom: 28px; }

/* Captions and credits sit close to their images */
figcaption, .geeks-credit, .geeks-posts-line { margin-top: 14px; }
.geeks-posts-line { margin-top: var(--space-3); }

/* Footer keeps distance from the last section */
.site-footer { margin-top: 0; }

/* Website page · brief, measurement, email */
.brief-grid { display: grid; gap: var(--space-4) var(--gutter); margin-top: var(--block-gap); }
@media (min-width: 900px) { .brief-grid { grid-template-columns: repeat(3, 1fr); } }
.brief-grid > div { border-top: 1px solid var(--ink); padding-top: var(--space-2); }
.brief-grid h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.brief-grid p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.measure { width: 100%; border-collapse: collapse; margin-top: var(--block-gap); font-size: 15px; }
.measure th { text-align: left; font-family: var(--text); font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding: 0 var(--space-3) 12px 0; border-bottom: 1px solid var(--ink); }
.measure td { padding: 18px var(--space-3) 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-soft); line-height: 1.6; }
.measure td:first-child { font-family: var(--serif); font-size: 19px; color: var(--ink); white-space: nowrap; }
.measure td:last-child { white-space: nowrap; font-size: 13px; }
@media (max-width: 719px) {
  .measure thead { display: none; }
  .measure tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .measure td { display: block; border: 0; padding: 2px 0; white-space: normal !important; }
  .measure td:last-child { margin-top: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
}
.email-grid { display: grid; gap: var(--block-gap); align-items: start; }
@media (min-width: 900px) { .email-grid { grid-template-columns: 1fr 1fr; gap: var(--gutter); } }
.email-copy p { color: var(--ink-soft); line-height: 1.7; max-width: var(--measure); margin: 0 0 var(--space-2); }
.email-signup { margin: var(--block-gap) 0 0; }
.email-signup img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); }
.email-frame { margin: 0; justify-self: center; width: 100%; max-width: 440px; }
.email-frame img { width: 100%; height: auto; display: block; box-shadow: 0 1px 0 var(--rule), 0 24px 60px -30px rgba(28,26,24,.35); }
.email-signup figcaption, .email-frame figcaption { color: var(--ink-soft); font-size: 11px; }
.brief-shot { margin: var(--block-gap) 0 0; }
@media (min-width: 1100px) { .brief-shot { max-width: 76%; } }
.brief-shot figcaption { margin-top: 14px; color: var(--ink-soft); font-size: 11px; }
.brief-cap { margin: 14px 0 0; color: var(--ink-soft); font-size: 11px; }

/* =====================================================================
   v8 · Gallery white — the portfolio frame is white and black only.
   Case studies keep their own palettes (cocoa/cream, film black).
   ===================================================================== */
:root {
  --bone: #FFFFFF;
  --bone-deep: #F3F3F2;
  --ink: #111111;
  --ink-soft: #5C5C5C;      /* 6.6:1 on white */
  --rule: #E2E2E0;
  --accent: #111111;
}
body:not(.cs) .eyebrow, body:not(.cs) .label { color: var(--ink-soft); }
.site-header::after { border-top-color: #111; border-bottom-color: #111; }
.browser .bar i { background: #D4D4D2; }
.phone img { background: #F6F6F5; }
.tags li { background: #FFFFFF; }
.button { border-color: #111; color: #111; }
.button:hover { background: #111; color: #FFF; }
@media (min-width: 900px) { .brief-grid.two { grid-template-columns: 1fr 1fr; max-width: 60rem; } }
.mkt .intro-text { max-width: var(--measure); color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* Homepage · How I think */
.principles { padding-top: var(--sec); border-top: 1px solid var(--rule); margin-top: var(--sec); }
.principles-label { margin: 0 0 var(--block-gap); color: var(--ink-soft); text-align: center; }
.principles-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--block-gap) var(--gutter); }
@media (min-width: 900px) { .principles-list { grid-template-columns: repeat(3, 1fr); } }
.principles-list li { text-align: center; }
.principles-list .label { color: var(--ink-soft); }
.principles-list h3 { margin: 14px 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.principles-list p { margin: 0 auto; max-width: 22em; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.cs-summary p + p { margin-top: var(--space-2); }

/* In marketing terms */
.strengths-list { list-style: none; margin: var(--block-gap) 0 0; padding: 0; display: grid; gap: var(--space-4) var(--gutter); }
@media (min-width: 720px) { .strengths-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .strengths-list { grid-template-columns: repeat(3, 1fr); } }
.strengths-list li { border-top: 1px solid var(--accent, var(--ink)); padding-top: var(--space-2); }
.strengths-list h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }
.strengths-list p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: none !important; }
.shows { margin: var(--space-2) 0 0; color: var(--ink-soft); font-size: 10px !important; line-height: 1.8; }
.feature .shows { margin: 0 0 var(--space-3); }
.index-row .shows { display: block; margin-top: 6px; }

/* ===== v9 · Hero: editorial headline and spaced line ===== */
.intro h1 { font-size: clamp(48px, 11vw, 124px); line-height: 0.96; letter-spacing: -0.02em; max-width: none; }
.intro h1 em { font-style: italic; letter-spacing: -0.015em; }
.intro .hero-line {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 0; max-width: none; margin: clamp(36px, 5vw, 56px) auto 0; padding-top: clamp(28px, 4vw, 40px);
  position: relative; font-family: inherit; font-style: normal;
  font-size: clamp(10.5px, 2.6vw, 12px); letter-spacing: 0.34em; color: var(--ink-soft); line-height: 1.6;
}
.intro .hero-line::before { content: ""; position: absolute; top: 0; left: 50%; width: 56px; height: 1px; background: var(--ink); transform: translateX(-50%); }
.intro .hero-line .g { display: inline-flex; white-space: nowrap; }
.intro .hero-line .g span + span::before,
.intro .hero-line .g + .g::before { content: "·"; margin: 0 0.9em 0 0.6em; letter-spacing: 0; color: #9A9A9A; }
.intro .featured-in { margin-top: clamp(28px, 4vw, 40px); }
@media (max-width: 600px) {
  .intro h1 { font-size: clamp(52px, 14.5vw, 72px); }
  .intro .hero-line { flex-direction: column; gap: 8px; letter-spacing: 0.28em; }
  .intro .hero-line .g + .g::before { content: none; }
  .intro .hero-line .g span + span::before { margin: 0 0.7em 0 0.45em; }
}

/* AQUA card is now a link to the issue */
a.press-card { text-decoration: none; color: var(--panel-ink, #F4F1EA); transition: opacity .3s ease; }
a.press-card:hover { opacity: .92; }
.press-copy > .text-link { display: inline-block; margin-top: 20px; }

/* ===== v10 · AQUA feature: cover and opening spread ===== */
.press .press-top { display: grid; gap: var(--space-3) var(--space-5); align-items: start; }
@media (min-width: 900px) { .press .press-top { grid-template-columns: 1fr 1.15fr; } }
.press .press-top .press-copy > * + * { margin-top: 18px; }
.press .press-head { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 5vw, 38px); line-height: 1.15; margin: 0; }
.press .press-quote { margin: 0; padding-left: 20px; border-left: 1px solid currentColor; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 3.6vw, 22px); line-height: 1.45; max-width: 32em; opacity: .9; }
.press .press-pages { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 72px); text-decoration: none; color: inherit; align-items: end; }
@media (min-width: 720px) { .press .press-pages { grid-template-columns: 0.772fr 1.541fr; } }
.press .press-pages figure { margin: 0; }
.press .press-pages img { display: block; width: 100%; height: auto; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.18); }
.press .press-pages figcaption { margin-top: 12px; opacity: .75; }
.press .press-pages:hover img { opacity: .96; }
.press .press-meta { max-width: none; }

/* ===== v11 · The Bass: three full-quality photographs ===== */
@media (min-width: 720px) {
  .geeks-bass.geeks-bass-3 { grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; }
  .geeks-bass-3 .bass-main { grid-row: 1 / span 2; }
}
.geeks-bass-3 figure { min-height: 0; }

/* ===== v12 · Four principles, About role line ===== */
@media (min-width: 720px) { .principles-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .principles-list { grid-template-columns: repeat(4, 1fr); } }
.about-intro .role-line { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.25; color: var(--ink); max-width: 20em; text-wrap: balance; }
.about-intro .role-line + .lede { margin-top: 20px; font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-style: normal; font-weight: 300; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 30em; }

/* ===== v13 · GEEKS premiere loop ===== */
.geeks-premiere .premiere-film { margin: clamp(32px, 5vw, 56px) 0 0; }
.geeks-premiere .premiere-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.geeks-premiere figcaption { margin-top: 12px; opacity: .7; }

/* =====================================================================
   v14 · Palettes: one world per page
   Home & About · gallery white, black ink, each project keeps its own hue
   Gentle Barre · brand cocoa, cream, and dusty rose
   GEEKS        · velvet theater black, marquee red
   Interior States · dark salon umber, antique gilt
   Website build · ivory paper, sage (the calm of the site it describes)
   ===================================================================== */
:root {
  --hue-gb: #96586A;      /* deep rose */
  --hue-geeks: #A3302B;   /* marquee red */
  --hue-is: #836330;      /* antique gilt, text-safe on white */
  --hue-work: #5E7062;    /* sage */
}

/* Home: each project announces itself in its own color */
.hue-gb .tile-index, .hue-gb .shows { color: var(--hue-gb) !important; }
.hue-geeks .tile-index, .hue-geeks .shows { color: var(--hue-geeks) !important; }
.hue-is .tile-index, .hue-is .shows { color: var(--hue-is) !important; }
.hue-work .label, .hue-work .shows { color: var(--hue-work) !important; }
.hue-gb .feature-link:hover, .hue-gb h2 a:hover { color: var(--hue-gb); }
.hue-geeks a:hover h2 { color: var(--hue-geeks); }
.hue-is a:hover h2 { color: var(--hue-is); }
.hue-work:hover .index-title { color: var(--hue-work); }
.intro .featured-in em { color: var(--hue-gb); }
.principles-list .label { color: var(--ink); letter-spacing: .3em; }

/* GEEKS: velvet black and marquee red */
.cs-geeks {
  --bone: #100C0D;
  --bone-deep: #1A1314;
  --ink: #F1E9DF;
  --ink-soft: #B9ACA4;
  --rule: #3A2627;
  --accent: #E06A5F;        /* marquee red, 5.9:1 on velvet */
  --panel: #F1E9DF;
  --panel-ink: #1A1314;
  --panel-soft: #6A5552;
  --panel-accent: #8E1B1B;
  --card: #1A1314;
}
.cs-geeks .geeks-stats dd { color: var(--ink); }
.cs-geeks .geeks-stats { border-color: var(--accent); }
.cs-geeks .geeks-posts-line span { color: var(--accent); }

/* Interior States: a dark salon, umber and gilt */
.cs-interior-states:not(.cs-geeks) {
  --bone: #17120F;
  --bone-deep: #211A16;
  --ink: #EFE6D8;
  --ink-soft: #B5A894;
  --rule: #3B3029;
  --accent: #C8A66A;        /* antique gilt, 8:1 on umber */
  --panel: #EFE6D8;
  --panel-ink: #211A16;
  --panel-soft: #6B5E50;
  --panel-accent: #836330;
  --card: #211A16;
}

/* Dark pages: the double rule under the header follows the page ink */
.cs-interior-states .site-header::after { border-top-color: var(--ink-soft); border-bottom-color: var(--ink-soft); }
.cs-gentle-barre .site-header::after, .work-page .site-header::after { border-top-color: var(--ink); border-bottom-color: var(--ink); }
.cs-interior-states { background: var(--bone); }

/* Website build: ivory paper and sage */
.work-page {
  --bone: #F8F6F0;
  --bone-deep: #EFEBE2;
  --ink: #2B2626;
  --ink-soft: #66605B;
  --rule: #E2DDD3;
  --accent: #5E7062;
  background: var(--bone);
}
.work-page .eyebrow, .work-page .cs-head .label { color: var(--accent) !important; }
.work-page .tags li, .work-page .browser .bar i { background: #FFFFFF; }

/* =====================================================================
   v15 · Homepage work as editorial rows: number, title, type, and a
   full-bleed strip of stills, with the substance set quietly beneath
   ===================================================================== */
.rows { padding-top: var(--sec); }
.rows .row { margin-bottom: clamp(88px, 10vw, 160px); }
.rows .row:last-child { margin-bottom: 0; }
.row-head { display: grid; gap: 6px 24px; align-items: baseline; margin-bottom: 20px; }
@media (min-width: 900px) { .row-head { grid-template-columns: 64px minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.2fr); } }
.row-num { color: var(--ink-soft) !important; }
.row-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.005em; }
.row-title a { color: inherit; text-decoration: none; }
.row-meta { margin: 0; color: var(--ink); line-height: 1.6; }
.row-meta .k { color: var(--ink-soft); margin-right: .6em; }
.row-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; text-decoration: none; }
@media (min-width: 720px) {
  .row-strip.n5 { grid-template-columns: repeat(5, 1fr); }
  .row-strip.n4 { grid-template-columns: repeat(4, 1fr); }
}
.row-strip picture, .row-strip img { display: block; width: 100%; }
.row-strip img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 30%; transition: opacity .5s ease, filter .5s ease; }
.row-strip:hover img { opacity: .82; }
.row-strip:hover picture:hover img, .row-strip:hover > img:hover { opacity: 1; }
@media (max-width: 719px) { .row-strip > :nth-child(n+5) { display: none; } }
.row-foot { display: grid; gap: 10px 24px; margin-top: 20px; align-items: baseline; }
@media (min-width: 900px) { .row-foot { grid-template-columns: 64px minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.2fr); } .row-desc { grid-column: 2; } .row-facts { grid-column: 3; } .row-foot .text-link { grid-column: 4; justify-self: start; } }
.row-desc { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 34em; }
.row-facts { margin: 0; color: var(--ink); line-height: 1.7; }
.row-facts em { font-family: var(--serif); text-transform: none; letter-spacing: .02em; font-size: 1.2em; }
.rows .hue-gb .row-num, .rows .hue-gb .row-meta .k { color: var(--hue-gb) !important; }
.rows .hue-geeks .row-num, .rows .hue-geeks .row-meta .k { color: var(--hue-geeks) !important; }
.rows .hue-is .row-num, .rows .hue-is .row-meta .k { color: var(--hue-is) !important; }
.rows .hue-work .row-num, .rows .hue-work .row-meta .k { color: var(--hue-work) !important; }
.rows .row .label { color: inherit; }
.rows .hue-work .label:not(.row-num) { color: var(--ink) !important; }
.rows .hue-work .row-meta .k { color: var(--hue-work) !important; }
.rows .hue-work .row-strip img { aspect-ratio: 4 / 3; object-position: 50% 0; background: var(--bone-deep); }
@media (min-width: 720px) { .rows .hue-work .row-strip.n4 { grid-template-columns: 2fr 2fr 1fr 1fr; } .rows .hue-work .row-strip img { aspect-ratio: auto; height: clamp(220px, 24vw, 360px); } }

/* ===== v16 · Gentle Barre leads; strips trimmed to the strongest frames ===== */
@media (min-width: 720px) {
  .row-strip.n3 { grid-template-columns: repeat(3, 1fr); }
  .row-strip.n2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 719px) { .row-strip.n3 > :first-child { grid-column: 1 / -1; } }
.row-lead .row-title { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; }
.row-lead .row-strip img { aspect-ratio: 4 / 5; }
.rows .hue-work .row-strip.n2 img { aspect-ratio: 16 / 10; height: auto; object-position: 50% 0; }
.row-stats { margin: 0; display: grid; gap: 24px; border-top: 1px solid var(--rule); padding-top: 24px; }
@media (min-width: 900px) {
  .row-lead .row-foot { grid-template-columns: 64px minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.2fr); }
  .row-stats { grid-column: 2 / -1; grid-template-columns: repeat(3, 1fr); }
  .row-lead .row-desc { grid-column: 2 / 4; }
  .row-lead .row-foot .text-link { grid-column: 4; }
}
.row-stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.row-stats dt { color: var(--ink-soft) !important; }
.row-stats dd { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.row-stats dd em { font-style: italic; }
.row-stats div:last-child dd { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.row-lead .row-strip img { aspect-ratio: 3 / 4; }
@media (min-width: 720px) { .rows .hue-is .row-strip img { aspect-ratio: 1 / 1; object-position: 50% 35%; } }

/* ===== v17 · Per-photo framing on the homepage strips ===== */
.row-strip picture, .row-strip > img { overflow: hidden; }
.row-strip picture { display: block; }
.hue-gb .row-strip > :nth-child(1) img { object-position: 48% 70%; transform: scale(1.32); transform-origin: 48% 68%; }
.hue-gb .row-strip > :nth-child(2) img { object-position: 45% 15%; }
.hue-gb .row-strip > :nth-child(3) img { object-position: 72% 50%; }
.hue-geeks .row-strip > :nth-child(1) img { object-position: 50% 60%; transform: scale(1.15); transform-origin: 40% 58%; }
.hue-geeks .row-strip > :nth-child(2) img { object-position: 50% 18%; }
.hue-geeks .row-strip > :nth-child(3) img { object-position: 45% 45%; }
.hue-geeks .row-strip > :nth-child(4) img { object-position: 22% 40%; }
.hue-is .row-strip > :nth-child(1) img { object-position: 50% 28%; }
.hue-is .row-strip > :nth-child(2) img { object-position: 50% 42%; }
.hue-is .row-strip > :nth-child(3) img { object-position: 52% 62%; }
.row-strip:hover img { opacity: .82; }

/* =====================================================================
   v18 · Editorial chapters: every section in a case study is numbered
   like a magazine feature (I, II, III…), with a fine rule before it
   ===================================================================== */
.cs main, .work-page main { counter-reset: chapter; }
.cs .cs-section .eyebrow,
.work-page .mkt .eyebrow,
.work-page .cs-section .eyebrow { display: flex; align-items: center; gap: 14px; }
.cs .cs-section .eyebrow::before,
.work-page .mkt .eyebrow::before,
.work-page .cs-section .eyebrow::before {
  counter-increment: chapter; content: counter(chapter, upper-roman);
  font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0;
  font-size: 1.5em; line-height: 1; min-width: 1.6em; padding-right: 14px; border-right: 1px solid currentColor; opacity: .9;
}
/* Section headlines read like display type */
.cs .cs-section h2, .work-page .mkt h2 { letter-spacing: -0.012em; text-wrap: balance; }
.cs .lede, .work-page .cs-head .lede { font-style: italic; }
.cs .cs-section .eyebrow::before, .work-page .mkt .eyebrow::before, .work-page .cs-section .eyebrow::before { font-size: 22px; padding-right: 16px; min-width: 0; }

/* ===== v19 · About: press line and an editorial ledger; a grander close ===== */
.credits-line { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--rule); max-width: 36em; }
.credits-line .label { margin: 0 0 8px; color: var(--ink-soft); }
.credits-names { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; color: var(--ink); }
.ledger-group { margin: clamp(40px, 5vw, 64px) 0 14px; color: var(--ink-soft); }
.ledger-ed > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; align-items: baseline; }
.ledger-ed dt { grid-column: 2; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }
.ledger-ed dt a { color: inherit; text-decoration: none; }
.ledger-ed dt a:hover { opacity: .7; }
.ledger-ed dd { grid-column: 2; margin: 0; color: var(--ink-soft); line-height: 1.7; }
.ledger-ed dd em { font-family: var(--serif); text-transform: none; letter-spacing: .02em; font-size: 1.2em; }
.ledger-num { grid-row: 1; grid-column: 1; color: var(--ink-soft); font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none; }
@media (min-width: 900px) {
  .ledger-ed > div { grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr); }
  .ledger-ed dt { grid-column: 2; }
  .ledger-ed dd { grid-column: 3; grid-row: 1; }
}
.closing h2 { font-size: clamp(40px, 7vw, 96px); line-height: 1.02; max-width: 16ch; margin-inline: auto; text-transform: none; }
.closing h2 em { font-style: italic; }
.closing-note { margin: 22px auto 0; color: var(--ink-soft); font-size: 16px; }
.closing h2 { font-style: normal; }
.ledger.ledger-ed { margin: 0 !important; }
.ledger-group { margin: clamp(40px, 5vw, 64px) 0 12px !important; }
h2#selected + .ledger-group { margin-top: 8px !important; }

/* ===== v20 · Second press mention under the AQUA feature ===== */
.press-also { margin-top: clamp(56px, 7vw, 96px); }
.press-also-label { margin: 0 0 14px; color: var(--ink-soft); }
.press-also-row { display: grid; gap: 14px 32px; padding: 26px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); align-items: baseline; }
@media (min-width: 900px) { .press-also-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; } }
.press-also-pub { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; display: flex; flex-direction: column; gap: 8px; }
.press-also-pub .label { color: var(--ink-soft); font-style: normal; font-size: 11px; }
.press-also-head { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
.press-also-quote { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ===== v21 · Gentle Barre press, moved up and given a cover-story treatment ===== */
.press-lead { background: var(--card, #FBF9F4); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.press-lead #press-title { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.015em; max-width: 13ch; }
.press-lead .press-head { font-size: clamp(30px, 3.4vw, 46px); }
.press-lead .press-pages { margin-top: clamp(48px, 6vw, 80px); }

/* ===== v22 · Gentle Barre results: three posts, measured ===== */
.posts-proof { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--rule); }
.posts-proof-label { margin: 0 0 10px; color: var(--accent); }
.posts-proof-lede { margin: 0 0 clamp(28px, 4vw, 44px); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; max-width: 30ch; }
.posts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .posts-list { grid-template-columns: repeat(3, 1fr); } }
.posts-list li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; }
.posts-list img { width: 112px; height: 140px; object-fit: cover; object-position: 50% 30%; display: block; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 24px -14px rgba(0,0,0,.25); }
.post-kind { margin: 0 0 6px; color: var(--ink-soft); }
.posts-list h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.post-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.post-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.post-stats dt { color: var(--ink-soft); font-size: 10px; }
.post-stats dd { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.1; color: var(--ink); }
.post-note { margin: 14px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }

/* ===== v23 · No hero: a slim line of roles and press, then straight into the work ===== */
.intro.intro-slim { padding: clamp(28px, 4vw, 48px) 0 0 !important; text-align: left; }
.intro-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; }
.intro-roles { margin: 0; color: var(--ink) !important; }
.intro-slim .featured-in { margin: 0 !important; }
.intro-slim + .rows { padding-top: clamp(40px, 5vw, 72px); }

/* ===== v24 · A quiet opening: one centered line, with room above and below ===== */
.intro.intro-slim { padding: clamp(72px, 9vw, 140px) 0 0 !important; }
.intro-bar { justify-content: center; text-align: center; }
.intro-roles { letter-spacing: .32em; font-size: 11px; color: var(--ink-soft) !important; }
.intro-slim + .rows { padding-top: clamp(88px, 10vw, 160px); }

/* ===== v25 · Gallery opening: one piece on a white wall, with a wall label ===== */
.intro.intro-gallery { padding: clamp(72px, 9vw, 150px) 0 0 !important; text-align: center; }
.gallery-piece { margin: 0 auto; display: grid; justify-items: center; gap: clamp(28px, 3vw, 40px); }
.gallery-piece img { display: block; width: auto; height: auto; max-height: min(64vh, 640px); max-width: min(380px, 72vw); }
.wall-label { display: grid; gap: 10px; justify-items: center; }
.wall-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.05; letter-spacing: -0.005em; max-width: none !important; }
.wall-role { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }
.wall-meta { margin: 6px 0 0; color: var(--ink-soft) !important; letter-spacing: .26em; }
.wall-meta a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.wall-meta em { font-family: var(--serif); text-transform: none; letter-spacing: .02em; font-size: 1.25em; }
.intro-gallery + .rows { padding-top: clamp(120px, 14vw, 220px); }
.wall-press { margin-top: 0 !important; }
.wall-name { font-size: clamp(24px, 2.6vw, 32px) !important; }
.wall-role a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.wall-label .wall-meta:first-of-type { margin-top: 18px; }

/* =====================================================================
   v26 · Gallery masthead: name left, menu right, one hairline, quiet type
   (the way Gagosian, Zwirner, and Hauser & Wirth set their headers)
   ===================================================================== */
.site-header::after { display: none !important; }
.site-header { border-bottom: 1px solid var(--rule) !important; }
.site-header .wrap {
  flex-direction: row !important; align-items: baseline !important; justify-content: space-between !important;
  flex-wrap: wrap; gap: 12px 32px !important;
  padding-top: clamp(26px, 3vw, 38px) !important; padding-bottom: clamp(22px, 2.6vw, 32px) !important;
}
.wordmark {
  font-family: var(--serif) !important; font-weight: 400 !important; font-style: normal !important;
  text-transform: none !important; letter-spacing: 0.01em !important;
  font-size: clamp(20px, 1.9vw, 24px) !important; line-height: 1 !important; color: var(--ink);
}
.site-nav.label { font-size: 11px !important; letter-spacing: 0.22em !important; }
.site-nav ul { gap: clamp(20px, 2.6vw, 40px) !important; justify-content: flex-end !important; }
.site-nav a { color: var(--ink-soft); border-bottom: 1px solid transparent !important; padding-bottom: 3px; transition: color .25s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink) !important; border-bottom-color: currentColor !important; }
@media (max-width: 520px) {
  .site-header .wrap { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  .site-nav ul { justify-content: flex-start !important; gap: 22px !important; }
}

/* =====================================================================
   v27 · One gallery voice for header and footer: serif, sentence case,
   ink on paper, hairlines only
   ===================================================================== */
.site-nav.label { font-family: var(--serif) !important; text-transform: none !important; letter-spacing: 0.01em !important; font-size: clamp(16px, 1.3vw, 18px) !important; font-weight: 400; }
.site-nav ul { gap: clamp(22px, 2.4vw, 36px) !important; }
.site-nav a { color: var(--ink) !important; opacity: .55; border-bottom: 0 !important; padding-bottom: 0; transition: opacity .25s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"] { font-style: italic; }

.site-footer::before { display: none !important; }
/* Footer: one quiet line, hairline above, same serif as the menu */
.gallery-footer { border-top: 1px solid var(--rule) !important; margin-top: 0; padding: 26px 0 30px !important; }
.gallery-footer .gf-line { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; }
.gallery-footer p { margin: 0; font-family: var(--serif); font-size: 15px; letter-spacing: .01em; text-transform: none; color: var(--ink); opacity: .55; }
.gallery-footer p:last-child { display: flex; gap: 28px; opacity: 1; }
.gallery-footer a { color: var(--ink); opacity: .55; text-decoration: none; border: 0; transition: opacity .25s; }
.gallery-footer a:hover { opacity: 1; color: var(--ink) !important; }
/* Closing: one line, one address */
.closing { padding: clamp(120px, 14vw, 220px) 0 clamp(110px, 12vw, 180px) !important; }
.closing .closing-links { justify-content: center; margin-top: 28px; }
.closing .closing-links a { font-family: var(--serif); font-size: 18px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 3px; }
.closing .closing-links a:hover { border-bottom-color: var(--ink); }
.closing h2 { font-size: clamp(34px, 4.8vw, 68px) !important; max-width: 18ch; }

/* ===== v28 · Masthead: name and practice on one line, menu opposite; no separate intro line ===== */
.masthead { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; }
.masthead-sub { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.2vw, 17px); color: var(--ink); opacity: .55; letter-spacing: .01em; }
.rows { padding-top: clamp(96px, 11vw, 180px) !important; }
@media (max-width: 720px) { .masthead-sub { display: block; width: 100%; } }

/* =====================================================================
   v29 · Navigation: a single sentence, like a gallery's index
   "Work, About, Resume, Contact" — commas as punctuation, the current
   page in ink and italic, the rest in a soft half-tone. Name set like a
   masthead (Vogue, The Paris Review); restraint like The Row and A24.
   ===================================================================== */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bone); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bone); z-index: 30; }
.wordmark { font-size: clamp(21px, 1.9vw, 25px) !important; letter-spacing: -0.005em !important; }
.site-nav ul { gap: 0 !important; flex-wrap: nowrap; }
.site-nav li { display: inline; white-space: nowrap; }
.site-nav li:not(:last-child)::after { content: ",\00a0"; color: var(--ink); opacity: .35; }
.site-nav.label { font-size: clamp(16px, 1.3vw, 18px) !important; }
.site-nav a { opacity: .38 !important; }
.site-nav a:hover { opacity: 1 !important; }
.site-nav a[aria-current="page"] { opacity: 1 !important; font-style: italic; }
/* On the homepage, every link is an invitation: shown in full ink */
.home-nav .site-nav a { opacity: 1 !important; }
.home-nav .site-nav ul:hover a { opacity: .38 !important; }
.home-nav .site-nav ul:hover a:hover { opacity: 1 !important; }
.site-nav a { opacity: .55 !important; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1 !important; }
.site-nav li:not(:last-child)::after { opacity: .55; }
.home-nav .site-nav a, .home-nav .site-nav li::after { opacity: 1 !important; }
.home-nav .site-nav ul:hover a { opacity: .45 !important; }
.home-nav .site-nav ul:hover a:hover { opacity: 1 !important; }

/* ===== v30 · Every project title takes its own color on hover ===== */
.rows .row-title a, .rows .row-foot .text-link { transition: color .3s ease, border-color .3s ease; }
.rows .hue-gb .row-title a:hover, .rows .hue-gb .row-foot .text-link:hover { color: var(--hue-gb) !important; border-color: var(--hue-gb); }
.rows .hue-geeks .row-title a:hover, .rows .hue-geeks .row-foot .text-link:hover { color: var(--hue-geeks) !important; border-color: var(--hue-geeks); }
.rows .hue-is .row-title a:hover, .rows .hue-is .row-foot .text-link:hover { color: var(--hue-is) !important; border-color: var(--hue-is); }
.rows .hue-work .row-title a:hover, .rows .hue-work .row-foot .text-link:hover { color: var(--hue-work) !important; border-color: var(--hue-work); }
/* Hovering a project's images lights its title too */
.rows .hue-gb:has(.row-strip:hover) .row-title a { color: var(--hue-gb); }
.rows .hue-geeks:has(.row-strip:hover) .row-title a { color: var(--hue-geeks); }
.rows .hue-is:has(.row-strip:hover) .row-title a { color: var(--hue-is); }
.rows .hue-work:has(.row-strip:hover) .row-title a { color: var(--hue-work); }
/* Same language elsewhere: About ledger and case-study "Next" links */
.ledger-ed dt a { transition: color .3s ease, opacity .3s ease; }
.ledger-ed dt a[href="/gentle-barre/"]:hover { color: var(--hue-gb); opacity: 1; }
.ledger-ed dt a[href="/geeks/"]:hover { color: var(--hue-geeks); opacity: 1; }
.ledger-ed dt a[href="/interior-states/"]:hover { color: var(--hue-is); opacity: 1; }
.ledger-ed dt a[href="/work/"]:hover { color: var(--hue-work); opacity: 1; }
.cs-end .next a .title { transition: color .3s ease; }
.cs-end .next a:hover .title { color: var(--accent); }
.row-title { min-width: 0; overflow-wrap: anywhere; }

/* ===== v31 · How I think: three principles, tighter and quieter ===== */
.principles { margin-top: clamp(120px, 13vw, 200px) !important; padding-top: clamp(56px, 6vw, 88px) !important; padding-bottom: 0 !important; }
.principles-label { margin-bottom: clamp(36px, 4vw, 56px) !important; }
@media (min-width: 720px) { .principles-list { grid-template-columns: repeat(3, 1fr) !important; } }
.principles-list { gap: 40px clamp(32px, 4vw, 64px) !important; max-width: 1100px; margin-inline: auto !important; }
.principles-list h3 { margin: 12px 0 10px !important; font-size: clamp(22px, 2.1vw, 28px) !important; }
.principles-list p { font-size: 14px !important; line-height: 1.65 !important; max-width: 24em; }
.closing { padding: clamp(110px, 12vw, 180px) 0 clamp(96px, 10vw, 150px) !important; }
.principles { margin-top: clamp(130px, 14vw, 220px) !important; }
@media (min-width: 900px) { .cs-gentle-barre .block.cards { grid-template-columns: repeat(4, 1fr) !important; } }

/* ===== v32 · Closing: a quiet invitation, not a slogan ===== */
.closing.closing-min { padding: clamp(110px, 12vw, 180px) 0 clamp(96px, 10vw, 150px) !important; text-align: center; }
.closing-min .closing-cta { margin: 0 0 18px !important; font-size: 11px !important; letter-spacing: .3em; color: var(--ink-soft) !important; max-width: none !important; font-family: inherit !important; }
.closing-min .closing-links { margin-top: 0 !important; }
.closing-min .closing-links a { font-size: clamp(24px, 2.6vw, 34px) !important; font-style: italic; padding-bottom: 6px; }
.closing-min .closing-cta { text-transform: uppercase !important; font-weight: 400 !important; }
.rows + .closing-min, .rows ~ .closing-min { border-top: 1px solid var(--rule); margin-top: clamp(130px, 14vw, 220px); }

/* ===== v33 · Phone refinements ===== */
@media (max-width: 720px) {
  .site-header { position: relative; }               /* the masthead scrolls away, leaving the work full screen */
  .site-header .wrap { padding-top: 22px !important; padding-bottom: 18px !important; gap: 10px !important; }
  .masthead-sub { font-size: 14px; }
  .site-nav.label { font-size: 16px !important; }
  .rows { padding-top: 64px !important; }
  .rows .row { margin-bottom: 104px; }
  .row-title { font-size: 30px; }
  .row-lead .row-title { font-size: 34px; }
  .rows .row-meta { line-height: 1.75; }
  .rows .row-stats dd { font-size: 34px; }
  .closing.closing-min { padding: 96px 0 88px !important; }
  .closing-min .closing-links a { font-size: 22px !important; }
  .gallery-footer p { font-size: 14px; }
}

/* ===== v34 · Refinement brief: groups, services, CTA, contact ===== */
.home-cta-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: clamp(28px, 3.4vw, 48px); }
.home-cta-bar .label { margin: 0; color: var(--ink-soft); }
.cta-link { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 3px; }
.cta-link:hover { border-bottom-color: var(--ink); }
.group-head { padding-top: clamp(40px, 5vw, 72px); }
.work-group:first-child .group-head { padding-top: clamp(20px, 2.4vw, 32px); }
.group-title { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--rule); color: var(--ink-soft); font-size: 11px !important; letter-spacing: .3em; font-weight: 400; }
.work-group { scroll-margin-top: 90px; }
.services { padding: clamp(80px, 9vw, 140px) 0 0; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: clamp(28px, 3vw, 44px); }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.services-grid h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.services-grid h3 .label { font-family: var(--text); font-size: 10px; letter-spacing: .26em; color: var(--ink-soft); }
.services-grid ul { list-style: none; margin: 0; padding: 0; }
.services-grid li { font-size: 15px; line-height: 1.5; padding: 7px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.services-extra h3, .services-extra li { color: var(--ink-soft); }
.closing-together h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.8vw, 64px) !important; line-height: 1.05; margin: 0 auto !important; text-transform: none !important; letter-spacing: -0.005em; color: var(--ink) !important; max-width: 18ch; }
.closing-together .closing-note { max-width: 34em; margin: 22px auto 30px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.closing-together .closing-links a { font-size: clamp(20px, 2vw, 26px) !important; }
/* Contact (About) */
.contact-lede { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 30em; margin: 0 0 var(--space-4); color: var(--ink); }
.inquiry-types { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 0 0 var(--space-5); }
@media (min-width: 720px) { .inquiry-types { grid-template-columns: 1fr 1fr; gap: 40px; } }
.inquiry-types > div { border-top: 1px solid var(--rule); padding-top: 14px; }
.inquiry-types h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.inquiry-types p { margin: 0 0 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
/* GEEKS credits + condensed campaign section */
.film-credits { margin-top: var(--space-4); }
.campaign-min { padding-top: clamp(56px, 6vw, 96px) !important; padding-bottom: clamp(40px, 5vw, 72px) !important; }
.campaign-min h2 { font-size: clamp(22px, 2.2vw, 30px) !important; margin: 0 0 18px; }
.campaign-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px) { .campaign-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
.campaign-list li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.55; opacity: .88; }
.campaign-list b { font-weight: 500; }
/* Interior States: per-film credit lines */
.credits .credit-line { display: block; }
.credits .credit-line + .credit-line { margin-top: 4px; }
.credits .credit-line i { font-style: italic; font-family: var(--serif); opacity: .7; display: inline-block; min-width: 6.5em; }
@media (max-width: 720px) {
  .home-cta-bar { padding-top: 22px; }
  .services-grid li { font-size: 14px; }
  .credits .credit-line i { display: block; min-width: 0; }
}
.work.rows { padding-top: 0 !important; }
.group-head { padding-top: 0 !important; margin-bottom: clamp(28px, 3vw, 44px); }
.work-group:first-child { padding-top: clamp(28px, 3.4vw, 48px); }
.work-group + .work-group { margin-top: clamp(104px, 11vw, 176px); }
.closing.closing-together { padding: clamp(96px, 10vw, 150px) 0 clamp(96px, 10vw, 140px) !important; margin-top: clamp(80px, 9vw, 140px); }
@media (max-width: 720px) { .work-group + .work-group { margin-top: 104px; } }
.campaign-min h2.label { font-family: var(--text) !important; font-size: 11px !important; letter-spacing: .3em !important; text-transform: uppercase; color: var(--accent) !important; max-width: none !important; line-height: 1.4 !important; margin: 0 0 18px !important; }
/* v35 · quieter homepage top */
.rows .group-title { border-bottom: 0; padding-bottom: 0; }
.work-group:first-child { padding-top: clamp(56px, 6vw, 96px); }
.group-head { margin-bottom: clamp(20px, 2.2vw, 32px); }
.closing-together h2 a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.closing-together h2 a:hover { border-bottom-color: var(--ink); }
@media (max-width: 720px) { .work-group:first-child { padding-top: 44px; } }
/* v36 · Homepage typography: quieter labels, serif content, more air */
.rows .group-title, .services .group-title { font-size: 10px !important; letter-spacing: .36em !important; color: var(--ink-soft) !important; opacity: .85; }
.rows .row-head { align-items: start; row-gap: 14px; margin-bottom: clamp(28px, 2.6vw, 40px); }
.rows .row-num { font-size: 10px !important; letter-spacing: .3em !important; opacity: .8; padding-top: clamp(10px, 1.1vw, 16px); }
.rows .row-title { line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; }
.rows .row-meta { font-family: var(--serif) !important; text-transform: none !important; letter-spacing: .005em !important; font-size: clamp(15px, 1.15vw, 17px) !important; line-height: 1.5 !important; color: var(--ink) !important; padding-top: clamp(8px, 1vw, 14px); }
.rows .row-meta .k { display: block; margin: 0 0 8px; font-family: var(--text); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; opacity: .9; }
.rows .row-foot { margin-top: clamp(28px, 2.6vw, 40px); }
.rows .row-desc { font-size: 15px; line-height: 1.75; font-weight: 300; }
.rows .row-facts { font-family: var(--serif) !important; font-style: italic; text-transform: none !important; letter-spacing: .005em !important; font-size: 15.5px !important; line-height: 1.6 !important; color: var(--ink-soft) !important; }
.rows .row-foot .text-link { font-size: 14px; letter-spacing: .02em; }
.rows .row-stats { padding-top: 28px; gap: 28px; }
.rows .row-stats dt { font-size: 9.5px !important; letter-spacing: .3em !important; }
.services-grid h3 .label { font-size: 9.5px; letter-spacing: .32em; }
.services-grid li { font-weight: 300; padding: 9px 0; }
@media (max-width: 720px) {
  .rows .row-head { row-gap: 10px; }
  .rows .row-num, .rows .row-meta { padding-top: 0; }
  .rows .row-meta .k { margin-bottom: 4px; }
}
@media (max-width: 720px) { .rows .row-head { row-gap: 16px; } .rows .row-meta .k { margin-bottom: 6px; } .rows .row-title { margin-bottom: 6px; } }

/* ===== v37 · Mobile polish + quieter tags ===== */
.tags { gap: 0 !important; row-gap: 6px !important; }
.tags li, .work-page .tags li { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; font-size: 15px; line-height: 1.7; color: var(--ink); font-weight: 300; }
.tags li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--ink-soft); opacity: .6; }
.rows .row-foot .text-link { justify-self: start; width: max-content; }
@media (max-width: 720px) {
  /* Homepage rows: title full width, Type and Role side by side */
  .rows .row-head { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 14px; }
  .rows .row-head .row-num, .rows .row-head .row-title { grid-column: 1 / -1; }
  .rows .row-head .row-num { margin-bottom: -6px; }
  .rows .row-meta { font-size: 15px !important; line-height: 1.45 !important; }
  .rows .row-foot { gap: 14px; }
  .rows .row-facts { font-size: 15px !important; }
  /* Services: two quiet columns, no rules */
  .services { padding-top: 96px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .services-grid h3 { font-size: 21px; margin-bottom: 12px; }
  .services-grid li { border-top: 0; padding: 3px 0; font-size: 14px; line-height: 1.45; }
  .services-extra h3 .label { display: block; width: 100%; margin-top: 2px; }
  /* Eyebrows: a touch tighter so they sit on fewer lines */
  .eyebrow.label { letter-spacing: .2em !important; line-height: 1.7; }
  .closing-together .closing-note { font-size: 15px; padding: 0 8px; }
  .tags li { font-size: 14px; }
}
.tags li:not(:last-child)::after { content: none !important; }
.tags { column-gap: 22px !important; row-gap: 4px !important; }
