@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700&display=swap");

@layer base, personal, immersive;

@layer base {
:root {
  --paper: #f3f0e8;
  --paper-deep: #e9e3d8;
  --ink: #151515;
  --muted: #65635f;
  --line: rgba(21, 21, 21, 0.16);
  --accent: #5b54ff;
  --accent-soft: #d9d6ff;
  --builda: #7e5cff;
  --saagie: #2f72e8;
  --civic: #e45b42;
  --white: #fff;
  --radius-sm: 16px;
  --radius: 28px;
  --radius-lg: 42px;
  --shadow: 0 18px 50px rgba(31, 29, 24, 0.1);
  --container: min(1240px, calc(100vw - 48px));
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Manrope", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
}

@layer immersive {
.immersive.case-page { background: var(--ivory); color: var(--night); }
.immersive.case-page .site-header { color: var(--night); }
.immersive.case-page .case-hero { padding-top: 160px; }
.immersive.case-page .case-hero .eyebrow {
  color: currentColor;
  font-size: 10px;
  letter-spacing: .15em;
}
.immersive.case-page .case-hero h1 {
  max-width: 1120px;
  margin-top: 36px;
  font-family: var(--display);
  font-size: clamp(74px, 9vw, 138px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .83;
}
.immersive.case-page .case-hero h1 em { color: var(--copper); font-weight: 400; }
.immersive.case-builda .case-hero h1 em { color: #7651dc; }
.immersive.case-saagie .case-hero h1 em { color: var(--cobalt); }
.immersive.case-civic .case-hero h1 em { color: var(--case-accent); }
.immersive.case-secondary .case-hero h1 em { color: var(--case-accent); }
.immersive.case-page .case-standfirst { margin-top: 80px; padding-top: 26px; border-top: 1px solid rgba(16,23,36,.18); }
.immersive.case-page .case-cover {
  width: min(1120px, calc(100vw - 64px));
  min-height: 0;
  margin: 80px auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 30px 70px rgba(16,23,36,.11);
}
.immersive.case-page .case-cover:not(.generated-cover) img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; object-position: center; }
.immersive.case-secondary .secondary-case-cover { width: min(920px, calc(100vw - 64px)); background: transparent; }
.immersive.case-secondary .secondary-case-cover img { display: block; width: 100%; height: auto; object-fit: contain; }
.immersive.case-secondary .case-placeholder { margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(16,23,36,.18); }
.immersive.case-secondary .case-placeholder span { color: var(--case-accent); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.immersive.case-secondary .case-placeholder p { margin: 14px 0 0; color: rgba(16,23,36,.68); font-size: 17px; line-height: 1.65; }
.immersive.case-autisme .autisme-legacy-figure { margin: 58px 0 0; }
.immersive.case-autisme .autisme-legacy-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 64px rgba(38,88,112,.14), 0 8px 18px rgba(38,88,112,.08);
}
.immersive.case-autisme .autisme-legacy-figure figcaption {
  display: flex;
  margin-top: 16px;
  justify-content: space-between;
  gap: 24px;
  color: rgba(16,23,36,.64);
  font-size: 14px;
  line-height: 1.45;
}
.immersive.case-autisme .autisme-legacy-figure figcaption span:first-child { color: var(--night); font-weight: 650; }
.immersive.case-autisme .autisme-legacy-figure figcaption span:last-child { max-width: 58%; text-align: right; }
.immersive.case-autisme .autisme-site-stack { position: relative; padding-bottom: 12%; }
.immersive.case-autisme .autisme-site-original-pair { width: 86%; }
.immersive.case-autisme .autisme-site-stack .autisme-site-original { width: 100%; }
.immersive.case-autisme .autisme-site-inline-caption {
  display: flex;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
  color: var(--night);
  font-size: 15px;
  line-height: 1.45;
}
.immersive.case-autisme .autisme-site-inline-caption > span:last-child { font-weight: 650; }
.immersive.case-autisme .autisme-legacy-figure figcaption.autisme-site-redesign-caption { align-items: center; justify-content: flex-end; }
.immersive.case-autisme .autisme-legacy-figure figcaption.autisme-site-redesign-caption > span:last-child {
  max-width: 58%;
  color: rgba(16,23,36,.64);
  font-weight: 400;
  text-align: right;
}
.immersive.case-autisme .autisme-site-comparison .state-label {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  background: rgba(16,23,36,.07);
  box-shadow: none;
  color: rgba(16,23,36,.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.immersive.case-autisme .autisme-site-redesign-caption .state-label {
  background: color-mix(in srgb, var(--case-accent) 18%, #fffaf1);
  color: var(--night);
}
.immersive.case-autisme .autisme-site-comparison .state-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: .65;
}
.immersive.case-autisme .autisme-site-stack .autisme-site-redesign {
  position: absolute;
  right: -4%;
  bottom: 0;
  z-index: 2;
  width: 66%;
  border-radius: 18px;
  box-shadow: 0 30px 62px rgba(38,88,112,.22), 0 8px 20px rgba(38,88,112,.12);
  rotate: 1.2deg;
}
.immersive.case-autisme .autisme-problems { margin-top: 82px; padding-top: 32px; border-top: 1px solid rgba(16,23,36,.16); }
.immersive.case-autisme .autisme-problems > p { max-width: 720px; color: rgba(16,23,36,.7); }
.immersive.case-autisme .autisme-process-chapter { margin-top: 82px; padding-top: 32px; border-top: 1px solid rgba(16,23,36,.16); }
.immersive.case-autisme .autisme-process-chapter > p { max-width: 740px; color: rgba(16,23,36,.72); }
.immersive.case-autisme .autisme-process-figure { min-width: 0; margin: 44px 0 0; }
.immersive.case-autisme .autisme-empathy-figure { width: min(100%,880px); }
.immersive.case-autisme .autisme-process-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(38,88,112,.13), 0 7px 18px rgba(38,88,112,.08);
}
.immersive.case-autisme .autisme-process-figure figcaption {
  display: flex;
  margin-top: 14px;
  justify-content: space-between;
  gap: 22px;
  color: rgba(16,23,36,.64);
  font-size: 13px;
  line-height: 1.45;
}
.immersive.case-autisme .autisme-process-figure figcaption span:first-child { color: var(--night); font-weight: 650; }
.immersive.case-autisme .autisme-process-figure figcaption span:last-child { max-width: 58%; text-align: right; }
.immersive.case-autisme .autisme-restitution-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 32px 24px;
}
.immersive.case-autisme .autisme-restitution-grid .autisme-process-figure { margin-top: 0; }
.immersive.case-autisme .autisme-process-figure--wide { grid-column: 1 / -1; }
.immersive.case-autisme .autisme-product-section .case-content > p { max-width: 760px; }
.immersive.case-autisme .autisme-product-lead { margin: 58px 0 0; }
.immersive.case-autisme .autisme-product-lead-stack { position: relative; padding: 0 10% 9% 0; }
.immersive.case-autisme .autisme-product-desktop,
.immersive.case-autisme .autisme-product-mobile,
.immersive.case-autisme .autisme-product-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(38,88,112,.15), 0 8px 20px rgba(38,88,112,.09);
}
.immersive.case-autisme .autisme-product-desktop { width: 92%; }
.immersive.case-autisme .autisme-product-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 26%;
  border-radius: 18px;
  rotate: 2deg;
}
.immersive.case-autisme .autisme-product-lead figcaption,
.immersive.case-autisme .autisme-product-figure figcaption {
  display: flex;
  margin-top: 16px;
  justify-content: space-between;
  gap: 24px;
  color: rgba(16,23,36,.64);
  font-size: 15px;
  line-height: 1.45;
}
.immersive.case-autisme .autisme-product-lead figcaption span:first-child,
.immersive.case-autisme .autisme-product-figure figcaption span:first-child { color: var(--night); font-weight: 650; }
.immersive.case-autisme .autisme-product-lead figcaption span:last-child,
.immersive.case-autisme .autisme-product-figure figcaption span:last-child { max-width: 58%; text-align: right; }
.immersive.case-autisme .autisme-value-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: 70px;
}
.immersive.case-autisme .autisme-value-grid article {
  min-height: 250px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(145deg,rgba(222,247,252,.9),rgba(243,238,255,.82));
  box-shadow: 0 20px 48px rgba(38,88,112,.1);
}
.immersive.case-autisme .autisme-value-grid span {
  color: var(--case-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.immersive.case-autisme .autisme-value-grid h3 { margin: 54px 0 12px; font-size: clamp(25px,2.1vw,36px); line-height: 1.02; }
.immersive.case-autisme .autisme-value-grid p { margin: 0; color: rgba(16,23,36,.68); font-size: 16px; line-height: 1.55; }
.immersive.case-autisme .autisme-product-chapter { margin-top: 86px; padding-top: 32px; border-top: 1px solid rgba(16,23,36,.16); }
.immersive.case-autisme .autisme-product-chapter > p { max-width: 760px; color: rgba(16,23,36,.72); }
.immersive.case-autisme .autisme-product-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 34px 24px;
  margin-top: 48px;
}
.immersive.case-autisme .autisme-product-figure { min-width: 0; margin: 0; }
.immersive.case-secondary .featured-case-hero {
  display: grid;
  min-height: 760px;
  padding-bottom: 54px;
  grid-template-columns: minmax(0,.86fr) minmax(480px,1.14fr);
  align-items: start;
  column-gap: 34px;
}
.immersive.case-secondary .featured-hero-heading { position: relative; z-index: 2; padding-top: 22px; }
.immersive.case-secondary .featured-case-hero h1 { max-width: 720px; font-size: clamp(66px,6.5vw,100px); line-height: .86; }
.immersive.case-secondary .featured-hero-visual {
  --motion-base-rotate: 1.5deg;
  position: relative;
  z-index: 1;
  width: calc(100% + 56px);
  margin: -20px -112px 0 20px;
}
.immersive.case-defi .featured-hero-visual { --motion-base-rotate: 2.4deg; }
.immersive.case-autisme .featured-hero-visual { --motion-base-rotate: -1deg; }
.immersive.case-splinterboard .featured-hero-visual { --motion-base-rotate: 1.6deg; }
.immersive.case-secondary .featured-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  filter: drop-shadow(0 32px 44px rgba(31,28,48,.22)) drop-shadow(0 8px 16px rgba(31,28,48,.12));
}
.immersive.case-secondary .featured-case-hero .case-standfirst { grid-column: 1 / -1; margin-top: 64px; }
.immersive.case-secondary .case-body { padding-top: 66px; }
.immersive.case-splinterboard .splinter-showcase {
  display: grid;
  margin-top: 58px;
  grid-template-columns: 1fr;
  gap: 42px;
}
.immersive.case-splinterboard .splinter-detail-grid {
  display: grid;
  margin-top: 58px;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  align-items: start;
  gap: 30px;
}
.immersive.case-splinterboard .splinter-media { min-width: 0; margin: 0; }
.immersive.case-splinterboard .splinter-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 22px;
  background: #24163f;
  box-shadow: 0 28px 62px rgba(36,22,63,.18), 0 8px 18px rgba(36,22,63,.09);
}
.immersive.case-splinterboard .splinter-media figcaption {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  gap: 24px;
  color: rgba(16,23,36,.64);
  font-size: 15px;
  line-height: 1.45;
}
.immersive.case-splinterboard .splinter-media figcaption span:first-child { color: var(--night); font-weight: 650; }
.immersive.case-splinterboard .splinter-media figcaption span:last-child { max-width: 58%; text-align: right; }
.immersive.case-builda .builda-web-media { min-width: 0; margin: 46px 0 0; }
.immersive.case-builda .builda-web-media--lead { margin-top: 58px; }
.immersive.case-builda .builda-web-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 22px;
  background: #121027;
  box-shadow: 0 28px 64px rgba(30,19,52,.18), 0 8px 18px rgba(30,19,52,.09);
}
.immersive.case-builda .builda-web-media figcaption {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  gap: 24px;
  color: rgba(16,23,36,.64);
  font-size: 15px;
  line-height: 1.45;
}
.immersive.case-builda .builda-web-media figcaption span:first-child { color: var(--night); font-weight: 650; }
.immersive.case-builda .builda-web-media figcaption span:last-child { max-width: 58%; text-align: right; }
.immersive.case-builda .builda-web-gallery { display: grid; margin-top: 54px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.immersive.case-builda .builda-web-gallery .builda-web-media { margin-top: 0; }
.immersive.case-builda .builda-web-gallery .builda-web-media figcaption { margin-top: 12px; font-size: 14px; }
.immersive.case-defi .defi-brand-grid {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}
.immersive.case-defi .defi-media-card { min-width: 0; margin: 0; }
.immersive.case-defi .defi-media-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(31,28,48,.14), 0 6px 18px rgba(31,28,48,.08);
}
.immersive.case-defi .defi-media-card figcaption {
  display: flex;
  margin-top: 12px;
  justify-content: space-between;
  gap: 20px;
  color: rgba(16,23,36,.62);
  font-size: 11px;
  line-height: 1.45;
}
.immersive.case-defi .defi-media-card figcaption span:last-child { max-width: 58%; text-align: right; }
.immersive.case-defi .defi-product-showcase {
  display: grid;
  margin-top: 58px;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 42px;
}
.immersive.case-defi .defi-product-card--long { width: min(100%,650px); margin-right: auto; margin-left: auto; }
.immersive.case-defi .defi-product-stack { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(240px,.65fr); align-items: start; gap: 30px; }
.immersive.case-defi .defi-product-card--mobile { width: min(68%,360px); margin-left: auto; }
.immersive.case-page .case-body { padding-top: 120px; }
.immersive.case-page .case-section { padding: 110px 0; border-top: 1px solid rgba(16,23,36,.18); }
.immersive.case-page .case-label h2,
.immersive.case-page .chapter h3,
.immersive.case-page .metric-copy h3,
.immersive.case-page .next-project strong { font-family: var(--display); font-weight: 400; }
.immersive.case-page .case-label h2 { font-size: clamp(38px,4vw,60px); line-height: .95; }
.immersive.case-page .quote { border-left-color: var(--copper); font-family: var(--display); font-size: clamp(30px,4vw,50px); font-style: italic; }
.immersive.case-page .decision,
.immersive.case-page .insight {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(16,23,36,.1), 0 3px 9px rgba(16,23,36,.06);
  rotate: -.4deg;
}
.immersive.case-page .decision:nth-child(even),
.immersive.case-page .insight:nth-child(even) { transform: none; rotate: .4deg; }
.immersive.case-page.case-builda .decision,
.immersive.case-page.case-builda .insight {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(16,23,36,.1), 0 3px 9px rgba(16,23,36,.06);
  rotate: -.4deg;
}
.immersive.case-page.case-builda .decision:nth-child(even),
.immersive.case-page.case-builda .insight:nth-child(even) { transform: none; rotate: .4deg; }
.immersive.case-page .figure img,
.immersive.case-page .before-after .frame {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(16,23,36,.095);
}
.immersive.case-page .figure.simple-sketch-reveal {
  overflow: visible;
}
.immersive.case-page .before-after {
  grid-template-columns: 1fr;
  gap: 58px;
}
.immersive.case-page .before-after .frame {
  height: auto;
  aspect-ratio: auto;
  background: transparent;
}
.immersive.case-page .before-after img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.immersive.case-page .before-after .state-label {
  display: inline-flex;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  background: rgba(16,23,36,.07);
  box-shadow: none;
  color: rgba(16,23,36,.72);
  font-size: 10px;
}
.immersive.case-page .before-after figure:nth-child(even) .state-label {
  background: color-mix(in srgb, var(--case-accent) 18%, #fffaf1);
  color: var(--night);
}
.immersive.case-page .before-after .state-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: .65;
}
.immersive.case-page .before-after .history-image-figure {
  width: min(100%,560px);
  margin-inline: auto;
}
.immersive.case-page .metric-panel {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 58px rgba(16,23,36,.14), 0 7px 18px rgba(16,23,36,.07);
}
.immersive.case-page .generated-cover { position: relative; min-height: 0; aspect-ratio: 1586 / 992; overflow: hidden; background: #fff; }
.immersive.case-page .generated-cover > img,
.immersive.case-page .generated-cover .paint-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.immersive.case-page .generated-cover .draw-layer { filter: grayscale(1) contrast(1.8) brightness(1.3); opacity: .35; }
.immersive.case-page .cap-project-cover { display: block; min-height: 0; padding: 0; aspect-ratio: auto; background: #2d86a6; }
.immersive.case-page .cap-project-cover > img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.immersive.case-page .cap-chapter { margin-top: 76px; }
.immersive.case-page .cap-chapter--grand-debat { margin-top: 48px; }
.immersive.case-page .cap-chapter p { max-width: 760px; color: rgba(16,23,36,.72); line-height: 1.65; }
.immersive.case-page .cap-case-figure,
.immersive.case-page .cap-media-card,
.immersive.case-page .cap-longshot { margin-right: 0; margin-left: 0; }
.immersive.case-page .cap-case-figure img,
.immersive.case-page .cap-media-card img,
.immersive.case-page .cap-longshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 18px;
  background: #2d78a1;
  box-shadow: 0 20px 48px rgba(16,23,36,.095);
}
.immersive.case-page .cap-media-grid,
.immersive.case-page .cap-process-grid { display: grid; margin-top: 54px; align-items: start; gap: 22px; }
.immersive.case-page .cap-media-grid { grid-template-columns: minmax(260px,.86fr) minmax(0,1.14fr); }
.immersive.case-page .cap-boulogne-grid { display: grid; margin-top: 54px; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 22px; }
.immersive.case-page .cap-media-stack { display: grid; gap: 22px; }
.immersive.case-page .cap-process-grid { grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); }
.immersive.case-page .cap-media-card { min-width: 0; }
.immersive.case-page .cap-longshot { width: min(100%,560px); margin-top: 54px; margin-right: auto; margin-left: auto; }
.immersive.case-page .cap-overlap-gallery { position: relative; margin-top: 54px; padding: 8px 0 42px; }
.immersive.case-page .cap-overlap-card { position: relative; margin: 0; }
.immersive.case-page .cap-overlap-card--launch { width: 70%; margin-left: 2%; }
.immersive.case-page .cap-overlap-card--primary { width: 82%; margin-top: -7%; margin-left: auto; }
.immersive.case-page .cap-overlap-card--secondary { width: 76%; margin-top: -13%; }
.immersive.case-page .cap-overlap-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 26px 62px rgba(16,23,36,.13);
}
.immersive.case-page .cap-overlap-card--launch img { rotate: .55deg; }
.immersive.case-page .cap-overlap-card--primary img { rotate: -.8deg; }
.immersive.case-page .cap-overlap-card--secondary img { rotate: .7deg; }
.immersive.case-page .cap-overlap-card figcaption {
  position: relative;
  z-index: 4;
  display: flex;
  margin-top: 12px;
  justify-content: space-between;
  gap: 20px;
  color: rgba(16,23,36,.62);
  font-size: 11px;
  line-height: 1.45;
}
.immersive.case-page .cap-overlap-card figcaption span:last-child { max-width: 55%; text-align: right; }
.immersive.case-page .cap-overlap-card figcaption span,
.immersive.case-page .cap-case-figure figcaption span,
.immersive.case-page .cap-media-card figcaption span,
.immersive.case-page .cap-longshot figcaption span { min-width: 0; overflow-wrap: anywhere; }
.immersive.case-page.case-builda .quote::before,
.immersive.case-page.case-saagie .quote::before,
.immersive.case-civic .quote::before { color: var(--case-accent); }

.immersive.case-page .saagie-interface-section {
  grid-template-columns: 1fr;
  gap: 48px;
}
.immersive.case-page .saagie-interface-section .case-label { position: static; }
.immersive.case-page .saagie-interface-section .case-label h2 { max-width: 760px; }
.immersive.case-page .saagie-interface-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 34px 28px;
}
.immersive.case-page .saagie-interface-card { min-width: 0; margin: 0; }
.immersive.case-page .saagie-interface-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 18px;
  background: #f6f8fb;
  box-shadow: 0 20px 48px rgba(16,23,36,.095);
}
.immersive.case-page .saagie-interface-card figcaption {
  display: flex;
  margin-top: 12px;
  justify-content: space-between;
  gap: 20px;
  color: rgba(16,23,36,.62);
  font-size: 11px;
  line-height: 1.45;
}
.immersive.case-page .saagie-interface-card figcaption span:last-child {
  max-width: 62%;
  text-align: right;
}
.immersive.case-page .cap-case-figure figcaption,
.immersive.case-page .cap-media-card figcaption,
.immersive.case-page .cap-longshot figcaption {
  display: flex;
  margin-top: 12px;
  justify-content: space-between;
  gap: 20px;
  color: rgba(16,23,36,.62);
  font-size: 11px;
  line-height: 1.45;
}
.immersive.case-page .cap-case-figure figcaption span:last-child,
.immersive.case-page .cap-media-card figcaption span:last-child,
.immersive.case-page .cap-longshot figcaption span:last-child { max-width: 55%; text-align: right; }
.immersive.case-page .cap-client-figure img { background: #4eb38d; }
.immersive.case-page .cap-client-groups {
  display: grid;
  margin-top: 44px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}
.immersive.case-page .cap-client-group {
  padding-top: 20px;
  border-top: 1px solid rgba(16,23,36,.18);
}
.immersive.case-page .cap-client-group span {
  color: rgba(16,23,36,.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.immersive.case-page .cap-client-group p {
  margin: 14px 0 0;
  color: rgba(16,23,36,.78);
  font-size: 17px;
  line-height: 1.65;
}
.immersive.case-page .cap-client-more { max-width: 820px; margin: 34px 0 0; color: rgba(16,23,36,.62); font-size: 15px; line-height: 1.65; }
.immersive.case-page .autisme-site-redesign-caption strong { color: rgba(16,23,36,.82); font-weight: 700; }
.immersive.case-page .site-footer { min-height: auto; padding: 100px 0 28px; }
.immersive.case-page .footer-main { display: flex; align-items: flex-end; }
.immersive.case-page .footer-main h2 { max-width: 850px; margin: 0; font-size: clamp(56px,7vw,96px); }
.immersive.case-page .footer-bottom { position: static; margin-top: 80px; }

@media (max-width: 1020px) {
  .immersive.case-secondary .featured-case-hero { min-height: 0; grid-template-columns: 1fr; }
  .immersive.case-secondary .featured-hero-heading { max-width: 760px; }
  .immersive.case-secondary .featured-hero-visual { width: 102%; margin: 54px -1% 0; }
  .immersive.case-secondary .featured-case-hero .case-standfirst { grid-column: 1; }
}

@media (max-width: 920px) {
  .immersive.case-page .saagie-interface-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .immersive.case-page .case-hero { padding-top: 115px; }
  .immersive.case-page .case-hero h1 { font-size: clamp(58px,17vw,82px); }
  .immersive.case-page .case-standfirst { margin-top: 52px; }
  .immersive.case-page .case-cover { width: calc(100vw - 28px); margin-top: 54px; border-radius: 18px; }
  .immersive.case-page .cap-media-grid,
  .immersive.case-page .cap-process-grid,
  .immersive.case-page .cap-boulogne-grid { grid-template-columns: 1fr; }
  .immersive.case-page .cap-overlap-card--primary { width: 94%; }
  .immersive.case-page .cap-overlap-card--launch,
  .immersive.case-page .cap-overlap-card--primary,
  .immersive.case-page .cap-overlap-card--secondary { width: 94%; margin-top: 28px; margin-left: 0; }
  .immersive.case-page .cap-overlap-card figcaption,
  .immersive.case-page .cap-case-figure figcaption,
  .immersive.case-page .cap-media-card figcaption,
  .immersive.case-page .cap-longshot figcaption { flex-direction: column; gap: 3px; }
  .immersive.case-page .cap-overlap-card figcaption span:last-child,
  .immersive.case-page .cap-case-figure figcaption span:last-child,
  .immersive.case-page .cap-media-card figcaption span:last-child,
  .immersive.case-page .cap-longshot figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-page .saagie-interface-card figcaption { flex-direction: column; gap: 4px; }
  .immersive.case-page .saagie-interface-card figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-page .cap-client-groups { grid-template-columns: 1fr; gap: 24px; }
  .immersive.case-page .case-body { padding-top: 80px; }
  .immersive.case-page .case-section { padding: 78px 0; }
  .immersive.case-page .footer-main { display: block; }
  .immersive.case-secondary .featured-case-hero { min-height: 0; padding-bottom: 30px; grid-template-columns: 1fr; }
  .immersive.case-secondary .featured-case-hero h1 { font-size: clamp(54px,14.5vw,72px); }
  .immersive.case-secondary .featured-hero-visual { width: 102%; margin: 48px -1% 0; }
  .immersive.case-secondary .featured-case-hero .case-standfirst { grid-column: 1; margin-top: 54px; }
  .immersive.case-defi .defi-brand-grid,
  .immersive.case-defi .defi-product-showcase,
  .immersive.case-defi .defi-product-stack { grid-template-columns: 1fr; }
  .immersive.case-defi .defi-media-card figcaption { flex-direction: column; gap: 3px; }
  .immersive.case-defi .defi-media-card figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-defi .defi-product-card--mobile { width: min(78vw,330px); margin-right: auto; }
  .immersive.case-splinterboard .splinter-detail-grid { grid-template-columns: 1fr; gap: 42px; }
  .immersive.case-splinterboard .splinter-media figcaption { flex-direction: column; gap: 3px; }
  .immersive.case-splinterboard .splinter-media figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-builda .builda-web-media figcaption { flex-direction: column; gap: 3px; }
  .immersive.case-builda .builda-web-media figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-builda .builda-web-gallery { grid-template-columns: 1fr; gap: 30px; }
  .immersive.case-autisme .autisme-legacy-figure figcaption { flex-direction: column; gap: 3px; }
  .immersive.case-autisme .autisme-legacy-figure figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-autisme .autisme-problems { margin-top: 68px; padding-top: 26px; }
  .immersive.case-autisme .autisme-site-stack { padding-bottom: 18%; }
  .immersive.case-autisme .autisme-site-original-pair { width: 90%; }
  .immersive.case-autisme .autisme-site-stack .autisme-site-redesign { right: -2%; width: 76%; }
  .immersive.case-autisme .autisme-legacy-figure figcaption.autisme-site-redesign-caption > span:last-child { max-width: none; text-align: left; }
  .immersive.case-autisme .autisme-process-chapter { margin-top: 68px; padding-top: 26px; }
  .immersive.case-autisme .autisme-restitution-grid { grid-template-columns: 1fr; gap: 30px; }
  .immersive.case-autisme .autisme-process-figure--wide { grid-column: auto; }
  .immersive.case-autisme .autisme-process-figure figcaption { flex-direction: column; gap: 3px; }
  .immersive.case-autisme .autisme-process-figure figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-autisme .autisme-product-lead-stack { padding: 0 4% 18% 0; }
  .immersive.case-autisme .autisme-product-desktop { width: 96%; }
  .immersive.case-autisme .autisme-product-mobile { right: -1%; width: 34%; border-radius: 12px; }
  .immersive.case-autisme .autisme-product-lead figcaption,
  .immersive.case-autisme .autisme-product-figure figcaption { flex-direction: column; gap: 3px; }
  .immersive.case-autisme .autisme-product-lead figcaption span:last-child,
  .immersive.case-autisme .autisme-product-figure figcaption span:last-child { max-width: none; text-align: left; }
  .immersive.case-autisme .autisme-value-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .immersive.case-autisme .autisme-value-grid article { min-height: 0; }
  .immersive.case-autisme .autisme-value-grid h3 { margin-top: 34px; }
  .immersive.case-autisme .autisme-product-chapter { margin-top: 68px; padding-top: 26px; }
  .immersive.case-autisme .autisme-product-gallery { grid-template-columns: 1fr; gap: 38px; }
}
}

/* Immersive field-journal direction */
@layer immersive {
:root {
  --night: #101724;
  --night-soft: #172333;
  --ivory: #f4f0e7;
  --cobalt: #1d67d7;
  --copper: #dd603d;
  --moss: #667b58;
  --acid: #e7de73;
  --display: "Instrument Serif", "Iowan Old Style", serif;
  --body: "Manrope", Inter, sans-serif;
}

html { scroll-behavior: smooth; }

body.immersive {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--night);
  font-family: var(--body);
}

.immersive::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  content: "";
  opacity: .11;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.immersive .container { width: min(1240px, calc(100vw - 64px)); }

.immersive .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 15;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ivory);
  transition: color .35s ease, background .35s ease, border-color .35s ease;
}

.immersive .site-header.scrolled {
  border-color: rgba(16, 23, 36, .12);
  background: rgba(244, 240, 231, .88);
  color: var(--night);
  backdrop-filter: blur(18px);
}

.immersive .nav { min-height: 82px; }

.immersive .brand {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 12px;
  border: 0;
  color: inherit;
  font-family: var(--body);
}

.brand-initials {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.brand-title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-title i { font-weight: 400; font-style: normal; opacity: .62; }

.immersive .nav-links { gap: 26px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.immersive .nav-links a { color: inherit; }
.immersive .nav-links a:not(.pill-link)::after { bottom: -4px; }

.language-switch { display: inline-flex; align-items: center; gap: 6px; }
.immersive .language-link {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  opacity: .58;
  transition: opacity .25s ease, transform .25s cubic-bezier(.16,1,.3,1), background .25s ease;
}
.immersive .language-link::after { content: none !important; }
.immersive .language-link:hover,
.immersive .language-link.is-active { opacity: 1; transform: translateY(-1px); }
.immersive .language-link.is-active { background: rgba(244,240,231,.2); }
.immersive .site-header.scrolled .language-link.is-active,
.immersive.case-page .language-link.is-active { background: rgba(16,23,36,.08); }

.immersive .pill-link,
.immersive .button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.immersive .pill-link:hover,
.immersive .button:hover {
  background: currentColor;
  box-shadow: none;
  transform: none;
}

.immersive .pill-link:hover { color: var(--ivory); }
.immersive .site-header:not(.scrolled) .pill-link:hover { background: var(--ivory); color: var(--night); }

.immersive-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 32%, rgba(29, 103, 215, .26), transparent 29%),
    radial-gradient(circle at 12% 90%, rgba(221, 96, 61, .12), transparent 24%),
    var(--night);
  color: var(--ivory);
}

.immersive-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 56%, rgba(255,255,255,.025) 56% 57%, transparent 57% 100%);
  content: "";
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  padding: 112px 0 54px;
  grid-template-rows: auto 1fr auto;
}

.hero-supra,
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.hero-supra {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(244, 240, 231, .23);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-heading { position: relative; top: -34px; z-index: 3; align-self: center; max-width: 1060px; padding: 26px 0 50px; pointer-events: none; }
.hero-eyebrow { margin: 0 0 24px 5px; color: var(--ivory); font-family: var(--display); font-size: clamp(24px, 3vw, 42px); font-style: italic; }
.hero-heading h1 { margin: 0; font-family: var(--display); font-size: clamp(74px, 9.2vw, 140px); font-weight: 400; letter-spacing: -.055em; line-height: .79; }
.hero-heading h1 em { display: block; color: var(--acid); font-weight: 400; }

.hero-bird {
  --motion-x: 0px;
  --motion-y: 0px;
  --motion-rotate: 0deg;
  --motion-scale: 1;
  position: absolute;
  right: -8%;
  bottom: 5%;
  z-index: 2;
  width: clamp(370px, 42vw, 680px);
  transform: translate3d(var(--motion-x), var(--motion-y), 0) rotate(calc(-7deg + var(--motion-rotate))) scale(var(--motion-scale));
  filter: drop-shadow(0 38px 50px rgba(0,0,0,.35));
  pointer-events: none;
  transform-origin: center;
  transition: transform .72s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

.hero-bird.motion-hover { pointer-events: auto; }
.hero-bird.motion-hover.is-hovered { z-index: 4; transition: none; }
.hero-bird-float {
  width: 100%;
  animation: hero-bird-float-x 4.25s ease-in-out -2.125s infinite alternate;
  transform-origin: center;
  will-change: transform;
}
.hero-bird img {
  display: block;
  width: 100%;
  animation: hero-bird-float-y 2.125s ease-in-out -1.0625s infinite alternate;
  transform-origin: center;
  will-change: transform;
}
.hero-bird.is-hovered .hero-bird-float,
.hero-bird.is-hovered img { animation-play-state: paused; }

.hero-orbit {
  position: absolute;
  top: 13%;
  right: -9vw;
  width: min(70vw, 930px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 240, 231, .12);
  border-radius: 50%;
  transform: translate3d(0, var(--hero-orbit-y, 0px), 0) rotate(var(--hero-orbit-rotate, 0deg));
  will-change: transform;
}

.hero-orbit::before,
.hero-orbit::after { position: absolute; inset: 13%; border: inherit; border-radius: inherit; content: ""; }
.hero-orbit::after { inset: 28%; }

.hero-bottom { position: relative; z-index: 3; padding-top: 24px; border-top: 1px solid rgba(244, 240, 231, .23); }
.hero-bottom > p { max-width: 620px; margin: 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; }
.scroll-cue { display: flex; align-items: center; gap: 15px; color: inherit; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue b { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(244,240,231,.45); border-radius: 50%; animation: bob 2.2s ease-in-out infinite; }

.hero-line { position: absolute; right: 0; bottom: -50px; left: 0; z-index: 1; width: 100%; height: 280px; overflow: visible; transform: translate3d(var(--hero-line-x, 0px), 0, 0); will-change: transform; }
.hero-line path { fill: none; stroke: var(--copper); stroke-width: 3; stroke-linecap: round; }

@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

@keyframes hero-bird-float-x {
  from { transform: translate3d(-12px, 0, 0) rotate(-.28deg); }
  to { transform: translate3d(12px, 0, 0) rotate(.28deg); }
}

@keyframes hero-bird-float-y {
  from { transform: translate3d(0, -6px, 0); }
  to { transform: translate3d(0, 6px, 0); }
}

.chapter-label { margin: 0 0 30px; font-size: 14px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.untangle { position: relative; padding: 150px 0 120px; overflow: hidden; background: var(--ivory); }
.untangle::before { content: none; }
.untangle-intro,
.work-title,
.cabinet-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
  grid-template-areas:
    "label copy"
    "title copy";
  align-items: start;
  column-gap: clamp(56px, 6.5vw, 100px);
  row-gap: 28px;
}
.work-title,
.cabinet-heading {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  column-gap: clamp(40px, 4vw, 64px);
}
.untangle-intro > .chapter-label,
.work-title > .chapter-label,
.cabinet-heading > .chapter-label { grid-area: label; align-self: end; margin: 0; }
.untangle-intro > h2,
.work-title > h2,
.cabinet-heading > h2 { grid-area: title; max-width: 790px; }
.untangle-intro h2,
.work-title h2,
.field-heading h2,
.about-final h2,
.cabinet-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(54px, 6.1vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: .91; }
.untangle-intro h2 em,
.work-title h2 em,
.field-heading h2 em,
.about-final h2 em { color: var(--copper); font-weight: 400; }
.untangle-intro > p:last-child,
.work-title > p:last-child,
.cabinet-heading > p:last-child {
  grid-area: copy;
  align-self: center;
  max-width: 390px;
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.65;
}
.untangle-intro > p:last-child { color: rgba(16,23,36,.72); }
.untangle-intro > .method-copy {
  grid-area: copy;
  align-self: center;
  max-width: 390px;
  margin: 28px 0 0;
  color: rgba(16,23,36,.72);
  font-size: 17px;
  line-height: 1.65;
}
.method-copy p { margin: 0; }
.method-copy ul { margin: 10px 0; padding: 0; list-style: none; }
.method-copy li { position: relative; padding-left: 18px; font-weight: 700; }
.method-copy li::before { position: absolute; left: 1px; content: "•"; }

.working-notes { display: grid; margin-top: 96px; grid-template-columns: repeat(3,1fr); gap: 28px; }
.working-notes article { position: relative; min-height: 238px; padding: 34px 122px 34px 34px; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px rgba(16,23,36,.1), 0 3px 9px rgba(16,23,36,.06); rotate: -1.2deg; }
.working-notes article + article { padding-left: 34px; }
.working-notes article:nth-child(2) { top: 10px; rotate: 1deg; }
.working-notes article:nth-child(3) { rotate: -.65deg; }
.working-notes span { color: var(--copper); font-family: var(--display); font-size: 34px; font-style: italic; }
.working-notes p { max-width: 300px; margin: 46px 0 0; font-size: 14px; line-height: 1.55; }
.process-icon { position: absolute; top: 24px; right: 22px; width: 88px; height: 66px; overflow: visible; color: var(--night); transform: rotate(-2deg); }
.process-icon g { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.process-icon g::after { content: none; }
.process-icon--frame { top: 12px; right: 10px; width: 116px; height: 90px; transform: rotate(2.5deg); }
.process-icon--shape { top: 10px; right: 8px; width: 120px; height: 94px; transform: rotate(-1deg); }

.work-intro { padding: 160px 0 180px; background: var(--night); color: var(--ivory); }
.work-title h2 em { color: var(--acid); }
.work-title > p:last-child { color: rgba(244,240,231,.7); }

.work-story { position: relative; min-height: 100vh; padding: 150px 0; overflow: hidden; isolation: isolate; }
.work-story--builda {
  --story-halo:
    radial-gradient(ellipse at 74% 52%, rgba(235,82,159,.62) 0 8%, rgba(233,139,190,.34) 28%, transparent 58%);
  background: var(--ivory);
  color: var(--night);
}
.work-story--saagie {
  --story-halo:
    radial-gradient(ellipse at 24% 48%, rgba(63,151,230,.7) 0 8%, rgba(90,101,215,.48) 26%, transparent 56%),
    radial-gradient(circle at 42% 65%, rgba(166,103,215,.34) 0 8%, transparent 42%);
  background: var(--night);
  color: var(--ivory);
}
.work-story--civic {
  --story-halo:
    radial-gradient(ellipse at 74% 52%, rgba(100,196,181,.58) 0 8%, rgba(157,218,205,.32) 28%, transparent 58%);
  background: var(--ivory);
}
.work-story::before { position: absolute; inset: -16%; background: var(--story-halo); content: ""; filter: blur(44px) saturate(112%); opacity: .82; pointer-events: none; transform: scale(1.08); }

.story-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .66fr 1.34fr; align-items: center; gap: clamp(48px,5.5vw,86px); }
.story-grid--reverse { grid-template-columns: 1.34fr .66fr; }
.story-copy h3 { margin: 24px 0; font-family: var(--display); font-size: clamp(56px,6vw,92px); font-weight: 400; letter-spacing: -.045em; line-height: .91; }
.story-copy > p { max-width: 520px; margin: 0; color: rgba(16,23,36,.72); font-size: 16px; line-height: 1.65; }
.work-story--builda .story-copy > p { color: rgba(16,23,36,.72); }
.work-story--saagie .story-copy > p { color: rgba(244,240,231,.78); }
.story-number { font-size: clamp(12px,.9vw,14px); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.story-impact { display: flex; margin: 52px 0 38px; align-items: flex-end; gap: 18px; }
.story-impact strong { font-family: var(--display); font-size: clamp(64px,7vw,104px); font-weight: 400; letter-spacing: -.05em; line-height: .75; }
.story-impact span { max-width: 190px; font-size: 10px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }
.text-link { display: inline-flex; padding-bottom: 7px; align-items: center; gap: 24px; border-bottom: 1px solid currentColor; color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(4px,-4px); }

.story-visual { --motion-base-rotate: .55deg; position: relative; display: block; min-height: 0; overflow: visible; background: transparent; color: var(--night); }
.story-grid--reverse .story-visual { --motion-base-rotate: -1.1deg; }
.story-visual img { position: relative; inset: auto; display: block; width: 100%; height: auto; border-radius: 18px; object-fit: contain; object-position: center; filter: drop-shadow(0 30px 38px rgba(16,23,36,.24)) drop-shadow(0 8px 14px rgba(16,23,36,.1)); }
.draw-layer { display: none !important; }
.paint-layer { position: absolute; inset: 0; opacity: 0; transform: translate3d(0,24px,0) scale(.985); transition: opacity .65s ease, transform .9s cubic-bezier(.16,1,.3,1); will-change: transform; }
.draw-reveal.is-painted .paint-layer { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.draw-reveal { --motion-x: 0px; --motion-y: 0px; --motion-rotate: 0deg; --motion-scale: 1; --parallax-y: 0px; position: relative; transform: translate3d(var(--motion-x),calc(var(--motion-y) + var(--parallax-y)),0) rotate(calc(var(--motion-base-rotate, 0deg) + var(--motion-rotate))) scale(var(--motion-scale)); transform-origin: center; transition: transform .72s cubic-bezier(.16,1,.3,1); will-change: transform; }
.draw-reveal.is-hovered { z-index: 8; transition: none; }
.simple-sketch-reveal { position: relative; overflow: hidden; }
.simple-sketch-reveal > img { opacity: 0; transform: translate3d(0,24px,0) scale(.985); transition: opacity .65s ease, transform .9s cubic-bezier(.16,1,.3,1); will-change: transform; }
.simple-sketch-reveal.is-painted > img { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.story-visual::after,
.bird-plate::after { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 0 45%, rgba(244,240,231,.95) 50%, transparent 56%) -130% 0 / 40% 100% no-repeat; content: ""; pointer-events: none; transition: background-position 1.8s cubic-bezier(.77,0,.18,1); }
.draw-reveal.is-painted::after { background-position: 320% 0; }
.story-visual::after,
.bird-plate::after { display: none; }
.story-visual > svg { display: none; }
.story-visual > svg path { fill: none; stroke: var(--copper); stroke-width: 5; stroke-linecap: round; }
.visual-caption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 4; display: flex; min-height: 64px; padding: 12px 20px; align-items: center; background: var(--night); color: var(--ivory); font-family: var(--display); font-size: 19px; font-style: italic; }
.placeholder-label { position: absolute; top: 18px; right: 18px; z-index: 5; padding: 8px 11px; background: var(--ivory); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.cabinet { padding: 150px 0 170px; background: var(--night-soft); color: var(--ivory); }
.cabinet-heading { margin-bottom: 80px; }
.cabinet-heading h2 em { color: var(--acid); font-weight: 400; }
.cabinet-heading > p:last-child { color: rgba(244,240,231,.7); }
.cabinet-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cabinet-item { position: relative; display: block; margin: 0; border-top: 1px solid rgba(244,240,231,.25); color: inherit; text-decoration: none; }
.cabinet-crop { position: relative; aspect-ratio: 612 / 441; margin-top: 18px; overflow: visible; background: transparent; }
.cabinet-crop > img,
.cabinet-crop .paint-layer img { position: absolute; inset: 0; width: 100%; max-width: 100%; height: 100%; border-radius: 18px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.22)); }
.cabinet-crop--one > img,
.cabinet-crop--one .paint-layer img,
.cabinet-crop--two > img,
.cabinet-crop--two .paint-layer img,
.cabinet-crop--three > img,
.cabinet-crop--three .paint-layer img { left: 0; }
.cabinet-crop .draw-layer { filter: grayscale(1) contrast(2) brightness(1.35); opacity: .35; }
.cabinet-copy { padding: 25px 4px 22px; }
.cabinet-copy > span,
.cabinet-item > small { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.cabinet-copy h3 { margin: 13px 0 16px; font-family: var(--display); font-size: 42px; font-weight: 400; transition: color .25s ease; }
.cabinet-item--autisme .cabinet-copy h3 { line-height: .9; }
.cabinet-copy p { margin: 0; color: rgba(244,240,231,.68); font-size: 15px; line-height: 1.6; }
.cabinet-item > small { display: block; padding: 14px 4px 0; border-top: 1px solid rgba(244,240,231,.14); color: rgba(244,240,231,.4); }
.cabinet-cta { display: none; }
.cabinet-item:focus-visible { outline: 2px solid var(--acid); outline-offset: 8px; }
@media (hover: hover) {
  .cabinet-item:hover h3 { color: var(--acid); }
}

.field-notes { --field-green-height: 430px; position: relative; padding: 108px 0 0; overflow: clip; background: var(--ivory); }
html[lang="fr"] .field-notes { --field-green-height: 490px; }
html[lang="en"] .field-notes { --field-green-height: 510px; }
.field-notes::before { position: absolute; top: 0; right: 0; left: 0; height: var(--field-green-height); background: var(--moss); content: ""; }
.field-heading { position: relative; z-index: 2; min-height: calc(var(--field-green-height) - 108px); color: var(--ivory); }
.field-heading h2 { max-width: 880px; font-size: clamp(54px, 6.1vw, 88px); line-height: .91; }
.field-heading h2 em { color: var(--acid); }
.field-intro { display: grid; margin: 42px 0 76px; grid-template-columns: 1fr auto; align-items: end; gap: 60px; }
.field-intro p { max-width: 600px; margin: 0; font-size: 17px; line-height: 1.6; }
.field-intro span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.field-bird--heron { position: absolute; top: calc(12px + 2cm); right: -5%; z-index: 1; width: min(50vw,720px); opacity: 1; transform: translateY(calc(-70px - 5mm)) rotate(-8deg); }
html[lang="fr"] .field-bird--heron { top: calc(12px + 4.5cm); }
html[lang="en"] .field-bird--heron { top: calc(-63px + 6.5cm); }
.field-bird-float {
  width: 100%;
  animation: heron-wave-x 5.8s ease-in-out -2.9s infinite alternate;
  transform-origin: center;
  will-change: transform;
}
.field-bird img {
  display: block;
  width: 100%;
  animation: heron-wave-y 3.7s ease-in-out -1.85s infinite alternate;
  transform-origin: 62% 52%;
  will-change: transform;
}

@keyframes heron-wave-x {
  from { transform: translate3d(-7px, 0, 0) rotate(-.2deg); }
  to { transform: translate3d(7px, 0, 0) rotate(.2deg); }
}

@keyframes heron-wave-y {
  from { transform: translate3d(0, -5px, 0) rotate(-.12deg); }
  to { transform: translate3d(0, 5px, 0) rotate(.12deg); }
}

.bird-collection { position: relative; z-index: 3; display: grid; margin-top: 96px; padding-top: 34px; padding-bottom: 100px; grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); align-items: start; gap: clamp(54px,7vw,110px); border-bottom: 1px solid rgba(16,23,36,.18); }
.bird-gallery { position: relative; display: block; width: 100%; margin: 0; columns: 2 260px; column-gap: 42px; }
.bird-plate { position: relative; display: inline-block; width: 100%; min-height: 0; margin: 0 0 72px; overflow: visible; break-inside: avoid; background: transparent; }
.bird-plate:nth-child(3n + 1) { width: 88%; margin-left: 12%; }
.bird-plate:nth-child(3n + 2) { width: 96%; }
.bird-plate:nth-child(3n) { width: 82%; margin-left: 18%; }
.bird-plate > img { position: relative; inset: auto; display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.bird-plate figcaption { position: static; z-index: 4; display: grid; min-height: 0; padding: 10px 2px 0; grid-template-columns: 1fr auto 24px; align-items: baseline; gap: 12px; border: 0; background: transparent; }
.bird-plate figcaption span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.bird-plate figcaption i { font-family: var(--display); font-size: 16px; }
.bird-plate figcaption b { font-size: 9px; font-weight: 500; text-align: right; }

.collection-note { position: sticky; top: 118px; display: flex; padding: 14px 0 0; flex-direction: column; align-items: flex-start; gap: 26px; }
.collection-note p { max-width: 460px; margin: 0; font-family: var(--display); font-size: clamp(35px,3.3vw,54px); letter-spacing: -.025em; line-height: 1.02; }
.collection-note span,
.collection-note small { font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.collection-note small { padding-top: 16px; border-top: 1px solid rgba(16,23,36,.18); }
.collection-note .collection-description { max-width: 390px; padding-top: 18px; border-top: 1px solid rgba(16,23,36,.18); font-family: var(--body); font-size: 14px; letter-spacing: 0; line-height: 1.65; }

.paris-map { position: relative; z-index: 2; display: grid; padding: 130px 0; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 100px; color: var(--ivory); isolation: isolate; }
.paris-map::before { position: absolute; inset: 0 50%; z-index: -1; width: 100vw; background: var(--night); content: ""; transform: translateX(-50%); }
.map-copy h3 { margin: 0 0 28px; font-family: var(--display); font-size: clamp(58px,6vw,92px); font-weight: 400; letter-spacing: -.045em; line-height: .9; }
.map-copy > p:not(.chapter-label) { margin: 0 0 34px; color: rgba(244,240,231,.7); line-height: 1.65; }
.map-drawing { position: relative; min-height: 610px; background: transparent; color: var(--ivory); }
.paris-map-image { position: absolute; inset: 28px; z-index: 1; display: block; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; filter: saturate(.82) contrast(1.02); }
.map-drawing > svg { position: absolute; inset: 28px; z-index: 1; width: calc(100% - 56px); height: calc(100% - 56px); }
.map-drawing path { fill: none; stroke: rgba(244,240,231,.34); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.map-drawing .map-outline { fill: rgba(244,240,231,.055); stroke: rgba(244,240,231,.88); stroke-width: 3.4; }
.map-drawing .map-ring { stroke: rgba(231,222,115,.32); stroke-width: 1.5; stroke-dasharray: 7 8; }
.map-drawing .map-streets path { stroke: rgba(244,240,231,.2); stroke-width: 1.05; }
.map-drawing .map-river { stroke: var(--cobalt); stroke-width: 20; opacity: .95; }
.map-drawing .map-island { fill: var(--night); stroke: rgba(244,240,231,.72); stroke-width: 2; }
.map-landmarks path { stroke: var(--acid); stroke-width: 2.25; }
.map-landmarks text { fill: rgba(244,240,231,.78); stroke: none; font-family: var(--body); font-size: 9px; letter-spacing: .04em; }
.map-label { position: absolute; right: 24px; bottom: 18px; z-index: 8; font-family: var(--display); font-size: 18px; font-style: italic; }
.map-photos { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.map-photo { --photo-rotate: 0deg; position: absolute; width: 18%; margin: 0; padding: 7px 7px 23px; opacity: 1; background: #f8f3e9; box-shadow: 0 13px 28px rgba(0,0,0,.34); color: var(--night); transform: translate3d(0,0,0) rotate(var(--photo-rotate)) scale(1); transform-origin: center; }
.map-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.map-photo figcaption { position: absolute; right: 7px; bottom: 6px; left: 7px; overflow: hidden; font-size: 7px; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.map-photo--1 { --photo-rotate: -7deg; top: 4%; left: 1%; }
.map-photo--2 { --photo-rotate: 5deg; top: 1%; left: 29%; }
.map-photo--3 { --photo-rotate: -3deg; top: 7%; right: 1%; }
.map-photo--4 { --photo-rotate: 6deg; bottom: 3%; left: 4%; }
.map-photo--5 { --photo-rotate: -5deg; bottom: 0; left: 40%; }
.map-photo--6 { --photo-rotate: 4deg; right: 1%; bottom: 3%; }
@media (hover:hover) {
  .map-photo { pointer-events: auto; transition: transform .72s cubic-bezier(.16,1,.3,1), box-shadow .55s ease; }
  .map-photo:hover { z-index: 10; box-shadow: 0 20px 44px rgba(0,0,0,.42); transform: translate3d(0,-9px,0) rotate(var(--photo-rotate)) scale(1.045); }
}

.about-final { position: relative; padding: 160px 0; overflow: hidden; background: #d9d2ee; }
html[lang="en"] .about-final { padding-bottom: 191px; }
.about-final-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: start; gap: clamp(40px, 4vw, 64px); }
.about-heading { position: relative; top: -56px; max-width: 790px; }
html[lang="en"] .about-heading { top: -76px; }
.about-heading .chapter-label { margin-bottom: 28px; }
.about-copy { max-width: 430px; }
.about-final h2 em { color: #d9690a; }
.about-copy > p { margin: 0 0 24px; font-size: 18px; line-height: 1.7; }
.about-final .text-link { margin-top: 48px; }
.about-bird { position: absolute; bottom: 4px; left: -4.5vw; z-index: 1; width: min(30vw,430px); aspect-ratio: 1066 / 953; background: #d9d2ee url("assets/bird-robin-about.png") center / contain no-repeat; background-blend-mode: multiply; pointer-events: none; }

.immersive .site-footer { position: relative; min-height: 88svh; padding: 140px 0 30px; overflow: hidden; background: var(--night); color: var(--ivory); }
.immersive .footer-main { position: relative; z-index: 2; display: block; }
.immersive .footer-main > span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.immersive .footer-main h2 { max-width: 1000px; margin: 70px 0 54px; font-family: var(--display); font-size: clamp(74px,9.5vw,146px); font-weight: 400; letter-spacing: -.055em; line-height: .8; }
.immersive .footer-main h2 em { display: block; color: var(--acid); font-weight: 400; }
.immersive .footer-main .button { display: inline-flex; width: auto; }
.immersive .footer-main .button:hover { background: var(--ivory); color: var(--night); }
.footer-bird { position: absolute; right: -5vw; bottom: -12vw; width: min(52vw,760px); opacity: .17; transform: rotate(14deg); }
.footer-bird img { width: 100%; filter: grayscale(1); }
.site-footer::after { display: none; content: none; }
.immersive .footer-bottom { position: absolute; right: 0; bottom: 28px; left: 0; z-index: 3; border-color: rgba(244,240,231,.2); color: rgba(244,240,231,.56); }

[data-draw] path { stroke-dasharray: var(--path-length, 1); stroke-dashoffset: var(--path-length, 1); transition: stroke-dashoffset 1.7s cubic-bezier(.65,0,.25,1); }
[data-draw].is-drawn path { stroke-dashoffset: 0; }

.immersive [data-reveal] { opacity: 0; transform: translate3d(var(--scroll-x,0px),calc(42px + var(--scroll-y,0px)),0); transition: opacity .85s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.immersive [data-reveal].visible { opacity: 1; transform: translate3d(var(--scroll-x,0px),var(--scroll-y,0px),0); }
.immersive .featured-hero-visual.draw-reveal.visible {
  transform: translate3d(var(--motion-x),calc(var(--motion-y) + var(--parallax-y)),0) rotate(calc(var(--motion-base-rotate, 0deg) + var(--motion-rotate))) scale(var(--motion-scale));
}
.immersive .featured-hero-visual.draw-reveal.is-hovered { transition: none; }

@media (max-width: 980px) {
  .immersive .container { width: min(100% - 40px, 760px); }
  .hero-heading h1 { font-size: clamp(68px,13vw,110px); }
  .hero-bird { right: -19%; width: 58vw; opacity: .7; }
  .untangle-intro,
  .work-title,
  .cabinet-heading {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "title" "copy";
    gap: 22px;
  }
  .untangle-intro > p:last-child,
  .untangle-intro > .method-copy,
  .work-title > p:last-child,
  .cabinet-heading > p:last-child { max-width: 600px; margin-top: 6px; }
  .story-grid,
  .story-grid--reverse { grid-template-columns: 1fr; gap: 72px; }
  .story-grid--reverse .story-copy { grid-row: 1; }
  .story-visual { min-height: 0; }
  .cabinet-grid { grid-template-columns: repeat(2,1fr); }
  .cabinet-item:last-child { grid-column: 1 / -1; width: calc(50% - 9px); }
  .bird-collection { grid-template-columns: minmax(230px,.7fr) minmax(0,1.3fr); gap: 44px; }
  .bird-gallery { width: 100%; margin: 0; column-gap: 28px; }
  .paris-map { grid-template-columns: 1fr; gap: 70px; }
  html[lang="en"] .about-final { padding-bottom: 160px; }
  .about-final-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-heading,
  html[lang="en"] .about-heading { top: 0; }
  .about-copy { max-width: 600px; }
  .about-bird { display: none; }
}

@media (max-width: 640px) {
  .immersive .container { width: calc(100% - 28px); }
  .immersive .nav { min-height: 66px; }
  .brand-title { display: none; }
  .brand-initials { width: 34px; height: 34px; }
  .immersive .nav-links { gap: 16px; }
  .immersive .nav-links > a:first-child { display: none; }
  .immersive .nav-compact-hidden { display: none; }
  .immersive .pill-link { min-height: 36px; padding: 0 13px; font-size: 9px; }
  .language-switch { gap: 4px; }
  .immersive .language-link { width: 28px; height: 28px; font-size: 14px; }
  .hero-stage { min-height: 800px; padding-top: 92px; }
  .hero-supra span:last-child { text-align: right; }
  .hero-heading { top: -20px; padding: 32px 0 160px; }
  .hero-heading h1 { font-size: clamp(56px,16.5vw,82px); line-height: .82; }
  .hero-bird { right: -27%; bottom: 14%; width: 100vw; opacity: .63; }
  .hero-bottom { align-items: flex-start; }
  .hero-bottom > p { max-width: 76%; font-size: 14px; }
  .scroll-cue span { display: none; }
  .untangle { padding: 100px 0 80px; }
  .untangle-intro h2,
  .work-title h2,
  .field-heading h2,
  .about-final h2,
  .cabinet-heading h2 { font-size: clamp(48px,13vw,66px); }
  .field-heading h2 { font-size: clamp(40px,10vw,56px); line-height: .96; }
  .working-notes { margin-top: 62px; grid-template-columns: 1fr; }
  .working-notes article,
  .working-notes article + article { min-height: 0; padding: 28px 104px 28px 28px; }
  .working-notes article:nth-child(2) { top: 0; }
  .working-notes p { margin-top: 18px; }
  .process-icon { top: 20px; right: 0; width: 78px; }
  .work-intro { padding: 110px 0; }
  .work-story { min-height: auto; padding: 100px 0; }
  .story-copy h3 { font-size: clamp(51px,15vw,72px); }
  .story-impact { margin-top: 40px; }
  .story-impact strong { font-size: 68px; }
  .story-visual { --motion-base-rotate: .4deg; min-height: 0; }
  .cabinet { padding: 100px 0; }
  .cabinet-grid { grid-template-columns: 1fr; gap: 60px; }
  .cabinet-item:last-child { grid-column: auto; width: auto; }
  .cabinet-crop { aspect-ratio: 612 / 441; }
  .field-notes,
  html[lang="fr"] .field-notes { --field-green-height: 510px; padding-top: 82px; }
  .field-heading { min-height: calc(var(--field-green-height) - 82px); }
  .field-intro { margin-bottom: 72px; grid-template-columns: 1fr; gap: 22px; }
  .field-bird--heron {
    display: block;
    top: 286px;
    right: -26%;
    width: min(92vw,420px);
    opacity: .94;
    transform: rotate(-8deg);
  }
  html[lang="fr"] .field-bird--heron,
  html[lang="en"] .field-bird--heron { top: 286px; }
  .cabinet-cta {
    display: inline-flex;
    margin: 20px 4px 0;
    padding: 10px 15px;
    border: 1px solid rgba(244,240,231,.35);
    border-radius: 999px;
    align-items: center;
    gap: 8px;
    color: var(--ivory);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
  }
  .bird-collection { width: calc(100% - 28px); margin-top: 44px; padding-top: 24px; grid-template-columns: 1fr; gap: 58px; }
  .collection-note { position: static; top: auto; padding-top: 0; }
  .bird-gallery { width: min(82vw, 420px); margin: 0 0 0 auto; columns: 1; }
  .bird-plate,
  .bird-plate:nth-child(3n + 1),
  .bird-plate:nth-child(3n + 2),
  .bird-plate:nth-child(3n) { width: 100%; margin: 0 0 56px; }
  .bird-plate figcaption { grid-template-columns: 1fr 26px; }
  .bird-plate figcaption i { display: none; }
  .paris-map { padding-top: 90px; }
  .map-drawing { min-height: 390px; }
  .map-drawing svg,
  .paris-map-image { inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); }
  .map-photo { width: 29%; padding: 4px 4px 15px; }
  .map-photo figcaption,
  .map-label { display: none; }
  .map-photo--1 { left: 2%; }
  .map-photo--2 { left: 35%; }
  .map-photo--3 { right: 2%; }
  .map-photo--4 { left: 3%; }
  .map-photo--5 { left: 36%; }
  .map-photo--6 { right: 2%; }
  .about-final { padding: 110px 0; }
  html[lang="en"] .about-final { padding-bottom: 110px; }
  .immersive .site-footer { min-height: 760px; padding-top: 110px; }
  .immersive .footer-main h2 { margin-top: 52px; font-size: clamp(62px,18vw,88px); }
  .footer-bird { right: -29%; bottom: 7%; width: 110vw; }
}

@media (prefers-reduced-motion: reduce) {
  .paint-layer { clip-path: inset(0); }
  .draw-reveal { transform: rotate(var(--motion-base-rotate, 0deg)); transition: none; }
  .hero-bird-float,
  .hero-bird img { animation: none; }
  .field-bird-float,
  .field-bird img { animation: none; }
  [data-draw] path { stroke-dashoffset: 0; }
}
}

/* Personal sketchbook direction */
@layer personal {
:root {
  --paper: #f7f0e4;
  --paper-deep: #eadfce;
  --ink: #232019;
  --muted: #6d675c;
  --line: rgba(35, 32, 25, 0.2);
  --accent: #5268c9;
  --accent-soft: #d8def4;
  --coral: #f06445;
  --leaf: #7bae83;
  --sun: #f6c85f;
  --hand: "Caveat", "Bradley Hand", cursive;
}

body {
  background-color: var(--paper);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 9% 12%, rgba(246, 200, 95, .13), transparent 23%),
    radial-gradient(circle at 91% 4%, rgba(123, 174, 131, .13), transparent 20%),
    radial-gradient(circle at 80% 84%, rgba(240, 100, 69, .08), transparent 25%);
  content: "";
  pointer-events: none;
}

.site-header {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
}

.brand {
  width: auto;
  height: 52px;
  gap: 5px;
  border: 0;
  border-radius: 0;
  font-family: var(--hand);
  font-size: 26px;
}

.brand img {
  width: 48px;
  height: 40px;
  object-fit: contain;
}

.brand-word {
  transform: rotate(-2deg);
}

.pill-link,
.button {
  border-radius: 12px 18px 13px 20px;
  box-shadow: 3px 3px 0 var(--coral);
}

.pill-link:hover,
.button:hover {
  box-shadow: 5px 6px 0 var(--sun);
  transform: translate(-1px, -2px) rotate(-1deg);
}

.eyebrow {
  color: var(--ink);
  letter-spacing: .08em;
}

.eyebrow::before {
  height: 2px;
  border-radius: 50%;
  transform: rotate(-3deg);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  padding-block: 72px 76px;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, .65fr);
  align-items: center;
  gap: 46px;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
}

.hello-note {
  display: inline-block;
  margin: 0 0 12px 8%;
  color: var(--coral);
  font-family: var(--hand);
  font-size: clamp(27px, 3vw, 40px);
  transform: rotate(-4deg);
}

.home-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(70px, 8.4vw, 124px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .86;
}

.home-hero h1 em {
  position: relative;
  color: var(--accent);
  font-weight: 400;
}

.home-hero h1 em::after {
  position: absolute;
  right: -3px;
  bottom: -4px;
  left: 0;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8c62-9 135 5 204-2 43-4 78-3 112 2' fill='none' stroke='%23F06445' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  content: "";
}

.home-hero-intro {
  max-width: 630px;
  margin: 40px 0 28px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
}

.home-hero-intro strong {
  font-weight: 700;
}

.hero-sketch {
  position: relative;
  align-self: stretch;
  min-height: 560px;
}

.hero-sketch::before {
  position: absolute;
  inset: 10% 2% 11% 0;
  border: 2px solid var(--ink);
  border-radius: 49% 51% 45% 55% / 54% 42% 58% 46%;
  background: #d9e5d4;
  content: "";
  transform: rotate(3deg);
}

.hero-sketch > img {
  position: absolute;
  inset: 7% -4% auto -8%;
  z-index: 2;
  width: 112%;
  height: 78%;
  object-fit: contain;
}

.sketch-note {
  position: absolute;
  right: -3%;
  bottom: 5%;
  z-index: 3;
  max-width: 250px;
  margin: 0;
  padding: 15px 20px 17px;
  border: 2px solid var(--ink);
  border-radius: 8px 15px 10px 18px;
  background: var(--sun);
  font-family: var(--hand);
  font-size: 25px;
  line-height: 1.05;
  transform: rotate(4deg);
}

.small-wins {
  padding: 26px 0 110px;
}

.small-wins-title {
  margin: 0 0 22px;
  font-family: var(--hand);
  font-size: 30px;
  font-weight: 600;
  transform: rotate(-1deg);
}

.impact-strip {
  width: 100%;
  margin: 0;
  gap: 18px;
  border: 0;
}

.impact-item,
.impact-item:first-child,
.impact-item:last-child {
  position: relative;
  min-height: 190px;
  padding: 26px 28px 28px;
  border: 2px solid var(--ink);
  border-radius: 18px 28px 20px 32px;
  background: #fffaf1;
}

.impact-item:nth-child(1) { background: #f4d1c2; transform: rotate(-1.2deg); }
.impact-item:nth-child(2) { background: #dce4f6; transform: rotate(.8deg); }
.impact-item:nth-child(3) { background: #d9e5d4; transform: rotate(-.4deg); }

.impact-item::after {
  position: absolute;
  right: 16px;
  bottom: 10px;
  color: rgba(35,32,25,.45);
  font-family: var(--hand);
  font-size: 19px;
  content: "a result I’m proud of";
}

.impact-item strong {
  font-size: clamp(42px, 4.5vw, 62px);
}

.personal-section-header {
  display: grid;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .5fr);
  align-items: end;
  gap: 50px;
}

.personal-section-header h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .93;
}

.personal-section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.personal-section-header .hand-note {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-family: var(--hand);
  font-size: 30px;
  transform: rotate(-3deg);
}

.project-list {
  gap: 34px;
}

.project-card {
  min-height: 570px;
  overflow: visible;
  border: 2px solid var(--ink);
  border-radius: 22px 44px 26px 38px;
  color: var(--ink);
  box-shadow: 7px 8px 0 var(--ink);
}

.project-card::after {
  display: none;
}

.project-card.builda { background: #dbcff4; transform: rotate(-.25deg); }
.project-card.saagie { background: #cfe3ee; transform: rotate(.2deg); }
.project-card.civic { background: #edc3ad; transform: rotate(-.15deg); }

.project-copy {
  padding: 46px;
}

.project-index {
  color: rgba(35,32,25,.62);
}

.project-copy h3 {
  font-size: clamp(46px, 5vw, 72px);
}

.project-copy p {
  color: rgba(35,32,25,.72);
}

.project-meta .tag {
  border-color: rgba(35,32,25,.34);
  color: rgba(35,32,25,.75);
}

.project-cta span {
  border: 1px solid var(--ink);
  background: #fffaf1;
}

.project-visual {
  padding: 44px 44px 44px 10px;
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  z-index: 3;
  width: 78px;
  height: 23px;
  background: rgba(255, 248, 218, .78);
  content: "";
  transform: rotate(-8deg);
}

.project-visual::before { top: 39px; left: 19%; }
.project-visual::after { right: 12%; bottom: 35px; transform: rotate(7deg); }

.project-visual img {
  border: 2px solid var(--ink);
  border-radius: 9px 17px 12px 20px;
  box-shadow: 5px 7px 0 rgba(35,32,25,.22);
  transform: rotate(1.4deg);
}

.card-note {
  position: absolute;
  z-index: 5;
  max-width: 180px;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px 14px 9px 12px;
  background: var(--sun);
  font-family: var(--hand);
  font-size: 22px;
  line-height: 1;
}

.builda .card-note { right: 22px; top: -20px; transform: rotate(4deg); }
.saagie .card-note { right: 50px; top: -18px; background: #fffaf1; transform: rotate(-3deg); }
.civic .card-note { right: 30px; top: -22px; background: #d9e5d4; transform: rotate(3deg); }

.civic-visual {
  border: 2px solid var(--ink);
  background: #fff1df;
  box-shadow: 5px 7px 0 rgba(35,32,25,.2);
}

.beliefs {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #28352c;
  color: var(--paper);
}

.beliefs::after {
  position: absolute;
  right: -20px;
  bottom: -25px;
  width: 360px;
  height: 120px;
  background: url("assets/flying-birds.svg") center/contain no-repeat;
  content: "";
  filter: invert(92%) sepia(10%) saturate(500%);
  opacity: .55;
}

.beliefs .eyebrow { color: #f7f0e4; }
.principle-grid { border-top: 1px solid rgba(255,255,255,.2); }
.principle { border-color: rgba(255,255,255,.2); }
.principle small { color: #f6c85f; font-family: var(--hand); font-size: 24px; }
.principle p { color: rgba(255,255,255,.68); }

.archive-card {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 14px 24px 16px 28px;
  background: #fffaf1;
  box-shadow: 4px 5px 0 var(--ink);
}

.archive-card:nth-child(1) { transform: rotate(-1deg); }
.archive-card:nth-child(2) { background: #f4d1c2; transform: rotate(1deg); }
.archive-card:nth-child(3) { background: #d9e5d4; transform: rotate(-.6deg); }

.archive-card::before {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 72px;
  height: 22px;
  background: rgba(246,200,95,.65);
  content: "";
  transform: translateX(-50%) rotate(-3deg);
}

.about-block {
  position: relative;
  padding-top: 140px;
}

.about-block::before {
  position: absolute;
  top: 24px;
  right: 5%;
  width: 260px;
  height: 95px;
  background: url("assets/flying-birds.svg") center/contain no-repeat;
  content: "";
  transform: rotate(-4deg);
}

.about-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--coral);
  font-family: var(--hand);
  font-size: 30px;
  transform: rotate(-2deg);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #e7684c;
  color: var(--ink);
}

.site-footer::after {
  position: absolute;
  right: 3%;
  bottom: -35px;
  width: 230px;
  height: 190px;
  background: url("assets/bird-mark.svg") center/contain no-repeat;
  content: "";
  opacity: .32;
  transform: rotate(-8deg) scale(2.1);
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-main h2 em { color: #fff6e9; }
.footer-main .button { border-color: var(--ink); background: #fff6e9; }
.footer-bottom { border-color: rgba(35,32,25,.3); color: rgba(35,32,25,.65); }

/* Warmer case-study styling */
.case-page {
  --case-accent: var(--accent);
}

.case-builda { --case-accent: #7b5fba; }
.case-saagie { --case-accent: #3974b9; }
.case-civic { --case-accent: #2aa6ad; }
.case-splinterboard { --case-accent: #7c69c7; }
.case-autisme { --case-accent: #3899b7; }
.case-defi { --case-accent: #9377ff; }

.case-page .case-hero {
  position: relative;
}

.case-page .case-hero::after {
  position: absolute;
  top: 16px;
  right: 3%;
  width: 220px;
  height: 70px;
  background: url("assets/flying-birds.svg") center/contain no-repeat;
  content: "";
  opacity: .72;
  transform: rotate(-3deg);
}

.case-page .case-hero h1 em { color: var(--case-accent); }

.case-page .case-cover {
  border: 2px solid var(--ink);
  border-radius: 16px 38px 19px 42px;
  box-shadow: 8px 10px 0 var(--ink);
  transform: rotate(-.2deg);
}

.case-page .case-label span,
.case-page .chapter-number {
  color: var(--case-accent);
  font-family: var(--hand);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.case-page .insight,
.case-page .decision {
  border: 0;
  border-radius: 18px;
  background: #fffaf1;
  box-shadow: 0 18px 44px rgba(16,23,36,.1), 0 3px 9px rgba(16,23,36,.06);
  rotate: -.4deg;
}

.case-page .insight:nth-child(even),
.case-page .decision:nth-child(even) {
  background: color-mix(in srgb, var(--case-accent) 14%, #fffaf1);
  transform: none;
  rotate: .4deg;
}

.case-page .quote {
  position: relative;
  padding-left: 30px;
  border: 0;
}

.case-page .quote::before {
  position: absolute;
  top: 30px;
  left: 0;
  color: var(--coral);
  font-family: var(--hand);
  font-size: 60px;
  content: "“";
}

.case-page .figure img,
.case-page .before-after .frame {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(16,23,36,.095);
}

.case-page .state-label {
  border: 0;
  border-radius: 999px;
}

.case-page .metric-panel {
  border: 2px solid var(--ink);
  border-radius: 16px 30px 18px 34px;
  background: #fffaf1;
  box-shadow: 6px 7px 0 var(--ink);
  color: var(--ink);
}

.case-page .metric-number {
  background: var(--case-accent) !important;
}

.case-page .metric-copy p { color: var(--muted); }

@media (max-width: 920px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .home-hero h1 { font-size: clamp(68px, 13vw, 100px); }
  .hero-sketch { width: min(560px, 90%); min-height: 470px; margin: 0 auto; }
  .personal-section-header { grid-template-columns: 1fr; }
  .project-visual { padding: 0 28px 38px; }
  .case-page .case-hero::after { top: 4px; width: 160px; opacity: .35; }
}

@media (max-width: 640px) {
  .brand { height: 44px; font-size: 23px; }
  .brand img { width: 42px; height: 34px; }
  .home-hero { padding: 42px 0 56px; }
  .home-hero h1 { font-size: clamp(58px, 17vw, 78px); }
  .hello-note { margin-left: 2%; font-size: 27px; }
  .home-hero-intro { margin-top: 32px; }
  .hero-sketch { min-height: 350px; width: 100%; }
  .sketch-note { right: 1%; bottom: 0; font-size: 21px; }
  .small-wins { padding-bottom: 78px; }
  .impact-strip { gap: 13px; }
  .impact-item,
  .impact-item:first-child,
  .impact-item:last-child { min-height: 150px; padding: 21px 22px 24px; }
  .impact-item::after { font-size: 16px; }
  .personal-section-header h2 { font-size: 58px; }
  .project-card { border-radius: 18px 28px 20px 32px; box-shadow: 5px 6px 0 var(--ink); }
  .project-copy { padding: 32px 25px; }
  .project-visual { padding: 0 15px 18px; }
  .card-note { display: none; }
  .beliefs::after { width: 240px; opacity: .25; }
  .archive-card { min-height: 230px; }
  .about-block { padding-top: 115px; }
  .about-block::before { width: 190px; right: 0; }
  .case-page .case-hero::after { display: none; }
}
}

@layer base {

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease;
}

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

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:not(.pill-link) {
  position: relative;
}

.nav-links a:not(.pill-link)::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pill-link,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pill-link:hover,
.button:hover {
  box-shadow: 0 8px 0 var(--accent-soft);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero {
  padding: 92px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 64px;
}

.hero h1,
.case-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 8.2vw, 126px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero h1 em,
.case-hero h1 em {
  color: var(--accent);
  font-weight: 400;
}

.hero-aside {
  padding-bottom: 4px;
}

.hero-aside p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.impact-strip {
  display: grid;
  width: var(--container);
  margin: 24px auto 120px;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.impact-item {
  padding: 28px 28px 30px;
  border-right: 1px solid var(--line);
}

.impact-item:first-child {
  padding-left: 0;
}

.impact-item:last-child {
  border-right: 0;
}

.impact-item strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.impact-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

.section-header {
  display: grid;
  margin-bottom: 50px;
  grid-template-columns: 1fr minmax(240px, 0.45fr);
  align-items: end;
  gap: 40px;
}

.section-header h2,
.display-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-header > p {
  margin: 0;
  color: var(--muted);
}

.project-list {
  display: grid;
  gap: 28px;
}

.project-card {
  position: relative;
  display: grid;
  min-height: 590px;
  overflow: hidden;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  border-radius: var(--radius-lg);
  color: var(--white);
  isolation: isolate;
}

.project-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 58%);
  content: "";
}

.project-card.builda {
  background: #140c2b;
}

.project-card.saagie {
  background: #163b77;
}

.project-card.civic {
  background: #2c231e;
}

.project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px;
}

.project-index {
  margin-bottom: auto;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-copy h3 {
  max-width: 480px;
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
}

.project-copy p {
  max-width: 470px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.72);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.tag {
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.project-cta span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: transform 180ms ease;
}

.project-card:hover .project-cta span {
  transform: translate(4px, -2px);
}

.project-visual {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 44px 44px 44px 12px;
}

.project-visual img {
  width: 100%;
  max-height: 500px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  object-fit: cover;
  object-position: top;
  transform: rotate(1.2deg);
  transition: transform 400ms cubic-bezier(.2,.8,.2,1);
}

.project-card:hover .project-visual img {
  transform: rotate(0deg) scale(1.015);
}

.project-card.builda .project-visual img {
  object-position: center top;
}

.civic-visual {
  position: relative;
  display: grid;
  width: min(540px, 100%);
  aspect-ratio: 1.1;
  padding: 34px;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50% 50% 14px 14px;
  background: #f2ddcb;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  color: #2c231e;
  transform: rotate(-2deg);
}

.civic-visual span {
  display: block;
  border-radius: 50%;
  background: var(--civic);
  opacity: calc(.35 + var(--i, 1) * .08);
}

.civic-visual strong {
  position: absolute;
  right: 30px;
  bottom: 24px;
  left: 30px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .9;
}

.principles {
  border-block: 1px solid var(--line);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  padding: 54px 38px 58px;
  border-right: 1px solid var(--line);
}

.principle:first-child {
  padding-left: 0;
}

.principle:last-child {
  border-right: 0;
}

.principle small {
  display: block;
  margin-bottom: 36px;
  color: var(--muted);
  font-weight: 700;
}

.principle h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.archive-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms ease, transform 180ms ease;
}

.archive-card:hover {
  background: var(--paper-deep);
  transform: translateY(-4px);
}

.archive-card .number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.archive-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.archive-card p {
  margin: 0;
  color: var(--muted);
}

.about-block {
  display: grid;
  padding: 96px 0 120px;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about-block .lead {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.035em;
  line-height: 1;
}

.about-copy {
  align-self: end;
}

.about-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  padding: 88px 0 34px;
  background: var(--ink);
  color: var(--paper);
}

.footer-main {
  display: grid;
  margin-bottom: 100px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-main h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
}

.footer-main h2 em {
  color: #aaa3ff;
  font-weight: 400;
}

.footer-main .button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

/* Case studies */
.case-hero {
  padding: 84px 0 46px;
}

.case-hero h1 {
  max-width: 1110px;
  font-size: clamp(64px, 8vw, 118px);
}

.case-standfirst {
  display: grid;
  margin-top: 56px;
  grid-template-columns: 1.3fr .7fr;
  gap: 80px;
}

.case-standfirst > p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-fact {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.case-fact span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.case-fact strong {
  font-size: 14px;
}

.case-cover {
  width: var(--container);
  min-height: 620px;
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #160b30;
}

.case-cover img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: top;
}

.case-cover.pipeline-cover img {
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.case-cover.civic-cover {
  display: grid;
  min-height: 600px;
  padding: 64px;
  place-items: center;
  background: #31241e;
}

.civic-stage {
  position: relative;
  width: min(900px, 90%);
  aspect-ratio: 1.8;
}

.civic-stage .orb {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  animation: float 8s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.civic-stage .stage-copy {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 80%;
  color: var(--paper);
  text-align: center;
  transform: translate(-50%, -50%);
}

.civic-stage .stage-copy span {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.civic-stage .stage-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 98px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .9;
}

@keyframes float {
  to { transform: translate(24px, -18px) scale(1.05); }
}

.case-body {
  padding: 120px 0;
}

.case-section {
  display: grid;
  padding: 94px 0;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: 80px;
  border-top: 1px solid var(--line);
}

.case-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.case-label {
  position: sticky;
  top: 110px;
  align-self: start;
}

.case-label span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.case-label h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.case-content {
  min-width: 0;
}

.case-content > p:first-child,
.case-content .intro {
  margin-top: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
}

.case-content p {
  max-width: 760px;
  color: #43413d;
}

.quote {
  margin: 58px 0;
  padding: 38px 0 12px;
  border-top: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.03em;
  line-height: 1.02;
}

.insight-grid,
.decision-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.insight,
.decision {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.insight span,
.decision span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.insight h3,
.decision h3 {
  margin: 42px 0 10px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
}

.insight p,
.decision p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.figure {
  margin: 54px 0 0;
}

.figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.zoomable {
  cursor: zoom-in;
}

.figure figcaption {
  display: flex;
  margin-top: 13px;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.before-after {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.before-after figure {
  margin: 0;
}

.before-after .frame {
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.before-after figcaption {
  display: flex;
  padding: 14px 2px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.state-label {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.metric-panel {
  display: grid;
  margin-top: 48px;
  grid-template-columns: .8fr 1.2fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.metric-number {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  background: var(--accent);
}

.metric-number strong {
  font-family: var(--serif);
  font-size: clamp(74px, 9vw, 126px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .8;
}

.metric-number span {
  max-width: 240px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.metric-copy {
  align-self: center;
  padding: 46px;
}

.metric-copy h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.metric-copy p {
  margin: 0;
  color: rgba(255,255,255,.66);
}

.chapter {
  margin-top: 70px;
}

.chapter:first-of-type {
  margin-top: 42px;
}

.chapter-number {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.chapter h3 {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.next-project {
  display: flex;
  padding: 62px 0 72px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.next-project span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.next-project strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.next-project b {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 24px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.next-project:hover b {
  background: var(--ink);
  color: var(--paper);
  transform: translateX(5px);
}

.image-dialog {
  width: min(94vw, 1500px);
  height: 92vh;
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #101010;
  box-shadow: 0 30px 120px rgba(0,0,0,.5);
}

.image-dialog::backdrop {
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
}

.image-dialog-viewport {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.image-dialog img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transform-origin: center;
  transition: transform 180ms ease;
  user-select: none;
}

.image-dialog img.is-zoomed { cursor: grab; }
.image-dialog img.is-dragging { cursor: grabbing; transition: none; }

.image-dialog button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #101724;
  cursor: pointer;
  font: inherit;
}

.image-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
}

.image-dialog-toolbar {
  position: absolute;
  right: 68px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(16,23,36,.72);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}

.image-dialog-toolbar button {
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  font-weight: 700;
}

.image-dialog-toolbar .image-dialog-reset { min-width: 74px; padding: 0 12px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

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

@media (max-width: 920px) {
  :root { --container: min(100% - 32px, 760px); }
  .hero { padding-top: 66px; }
  .hero-grid,
  .section-header,
  .case-standfirst,
  .case-section,
  .about-block { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(58px, 14vw, 100px); }
  .hero-aside { max-width: 600px; }
  .impact-strip { margin-bottom: 82px; }
  .project-card { grid-template-columns: 1fr; }
  .project-copy { min-height: 430px; }
  .project-visual { padding: 0 28px 38px; }
  .project-visual img { max-height: 480px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { padding: 42px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card { min-height: 240px; }
  .about-block { gap: 42px; }
  .case-label { position: static; }
  .case-cover { min-height: 460px; }
  .case-cover.pipeline-cover img { min-height: 460px; }
}

@media (max-width: 640px) {
  :root { --container: calc(100vw - 28px); }
  .nav { min-height: 66px; }
  .brand { width: 38px; height: 38px; font-size: 19px; }
  .nav-links { gap: 16px; font-size: 12px; }
  .nav-links .nav-optional { display: none; }
  .nav-links .pill-link { min-height: 38px; padding: 0 14px; }
  .hero { padding: 52px 0 50px; }
  .hero h1,
  .case-hero h1 { font-size: clamp(54px, 17vw, 78px); line-height: .91; }
  .hero-grid { gap: 34px; }
  .impact-strip { grid-template-columns: 1fr; }
  .impact-item,
  .impact-item:first-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .impact-item:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 34px; }
  .project-card { min-height: 0; border-radius: 28px; }
  .project-copy { min-height: 430px; padding: 32px 26px; }
  .project-copy h3 { font-size: 46px; }
  .project-visual { padding: 0 16px 18px; }
  .project-visual img { height: 340px; }
  .civic-visual { padding: 22px; gap: 8px; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .case-hero { padding-top: 52px; }
  .case-standfirst { margin-top: 36px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-cover { min-height: 360px; border-radius: 26px; }
  .case-cover img { min-height: 360px; }
  .case-cover.pipeline-cover img { min-height: 360px; }
  .case-cover.civic-cover { min-height: 430px; padding: 20px; }
  .case-body { padding: 80px 0; }
  .case-section { padding: 72px 0; }
  .insight-grid,
  .decision-grid,
  .before-after,
  .metric-panel { grid-template-columns: 1fr; }
  .insight,
  .decision { min-height: 190px; }
  .before-after .frame { height: 300px; }
  .metric-number { min-height: 240px; }
  .metric-copy { padding: 34px 28px; }
  .figure figcaption { flex-direction: column; gap: 2px; }
  .next-project { padding-bottom: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
}
