/* =============================================================================
   AMBA — Cinematic Editorial
   Black / off-white / warm neutral. Cormorant Garamond + Inter grotesk.
   Overrides the design system palette per project direction.
============================================================================= */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap");

:root {
  /* Noir/ivory palette (overrides design-system cream/coral) */
  --noir:          #0a0a09;
  --noir-soft:     #141310;
  --char:          #26221d;
  --ivory:         #f5f1e8;
  --ivory-strong:  #ebe5d6;
  --bone:          #d9d2c1;
  --ash:           #8a8275;
  --ash-soft:      #b6ae9d;
  --ash-dark:      #4a443c;

  --hair-on-dark:  rgba(245, 241, 232, 0.13);
  --hair-on-darker: rgba(245, 241, 232, 0.06);
  --hair-on-light: rgba(10, 10, 9, 0.10);

  /* Type */
  --font-display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Motion */
  --ease-editorial: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-cinema:    cubic-bezier(0.65, 0, 0.2, 1);

  --nav-h: 72px;

  /* Spacing scale */
  --space-section: 120px;
  --space-mast-top: calc(var(--nav-h) + 120px);
  --space-mast-bottom: 96px;
  --space-head: 56px;
}
@media (max-width: 900px) { :root { --space-section: 72px; --space-mast-top: calc(var(--nav-h) + 64px); --space-mast-bottom: 56px; --space-head: 32px; } }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--noir);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
img, video { display: block; max-width: 100%; }

/* =============================================================================
   Type primitives
============================================================================= */
.serif        { font-family: var(--font-display); font-weight: 400; }
.serif-light  { font-family: var(--font-display); font-weight: 300; }
.serif-it     { font-family: var(--font-display); font-weight: 400; font-style: italic; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
}
.eyebrow-dark { color: var(--ash); }

.label-xs {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.numeral {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  color: var(--ash-soft);
}

/* =============================================================================
   Layout
============================================================================= */
.page {
  min-height: 100vh;
  animation: pageFade 700ms var(--ease-editorial) both;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-wide {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 720px) {
  .container, .container-wide, .container-narrow { padding-left: 24px; padding-right: 24px; }
}

/* =============================================================================
   Nav
============================================================================= */
.amba-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  color: var(--ivory);
  transition: background-color 500ms var(--ease-editorial),
              backdrop-filter 500ms var(--ease-editorial),
              border-color 500ms var(--ease-editorial),
              color 500ms var(--ease-editorial);
  border-bottom: 1px solid transparent;
}
.amba-nav.on-light {
  color: var(--noir);
}
.amba-nav.scrolled {
  background: rgba(10, 10, 9, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hair-on-dark);
}
.amba-nav.on-light.scrolled {
  background: rgba(245, 241, 232, 0.88);
  border-bottom-color: var(--hair-on-light);
}
.amba-nav .nav-side {
  flex: 1 1 0;
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}
.amba-nav .nav-side.right { justify-content: flex-end; }
.amba-nav .nav-link {
  position: relative;
  opacity: 0.78;
  transition: opacity 220ms var(--ease-editorial);
  padding: 6px 0;
}
.amba-nav .nav-link:hover,
.amba-nav .nav-link.active { opacity: 1; }
.amba-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.amba-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.22em;
  padding-left: 0.32em; /* compensate tracking */
}

/* =============================================================================
   Footer
============================================================================= */
.amba-footer {
  background: var(--noir);
  color: var(--ivory);
  padding: 96px 32px 40px;
  border-top: 1px solid var(--hair-on-dark);
}
.amba-footer.on-ivory {
  background: var(--ivory);
  color: var(--noir);
  border-top-color: var(--hair-on-light);
}
.amba-footer .ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto 80px;
}
.amba-footer .ft-wordmark {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
}
.amba-footer .ft-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--ash-soft);
  margin-top: 16px;
  max-width: 340px;
  line-height: 1.4;
}
.amba-footer.on-ivory .ft-tag { color: var(--ash); }
.amba-footer .ft-col-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--ash-soft);
}
.amba-footer.on-ivory .ft-col-title { color: var(--ash); }
.amba-footer .ft-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.85;
  transition: opacity 220ms;
}
.amba-footer .ft-col a:hover { opacity: 1; }
.amba-footer .ft-base {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--hair-on-dark);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
}
.amba-footer.on-ivory .ft-base {
  border-top-color: var(--hair-on-light);
  color: var(--ash);
}

@media (max-width: 880px) {
  .amba-footer .ft-grid { grid-template-columns: 1fr 1fr; }
  .amba-footer .ft-wordmark { font-size: 40px; }
}

/* =============================================================================
   Home — Hero
============================================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--ivory);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media .hero-still {
  position: absolute;
  inset: -10% -5% -10% -5%;
  width: 110%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.hero-still {
  background-size: cover;
  background-position: center;
}

/* 5-slide hero carousel ------------------------------------------------- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease-editorial);
  z-index: 0;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide .hero-slide-still {
  position: absolute;
  inset: -10% -5% -10% -5%;
  width: 110%;
  height: 120%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-slide video {
  position: absolute;
  inset: -10% -5% -10% -5%;
  width: 110%;
  height: 120%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease-editorial);
  will-change: transform;
}
.hero-slide video.is-ready { opacity: 1; }

.hero-progress {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 14px;
  width: min(54vw, 720px);
  --slide-duration: 7000ms;
}
.hero-progress-seg {
  flex: 1;
  appearance: none;
  background: rgba(245, 241, 232, 0.22);
  border: 0;
  padding: 14px 0;
  margin: 0;
  cursor: pointer;
  position: relative;
  height: 1px;
  box-sizing: content-box;
  background-clip: content-box;
}
.hero-progress-seg .fill {
  position: absolute;
  left: 0;
  top: 14px;
  height: 1px;
  width: 0;
  background: rgba(245, 241, 232, 0.95);
}
.hero-progress-seg.seg-active .fill {
  animation: ambaSegFill var(--slide-duration) linear forwards;
}
.hero-progress-seg.seg-done .fill { width: 100%; }
@keyframes ambaSegFill {
  from { width: 0; }
  to   { width: 100%; }
}
@media (max-width: 720px) {
  .hero-progress { width: 80vw; bottom: 72px; gap: 10px; }
}
.hero-grade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(10,10,9,0.55) 0%, rgba(10,10,9,0.0) 22%, rgba(10,10,9,0.0) 60%, rgba(10,10,9,0.7) 100%);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) 48px 48px;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--ivory);
}
.hero-top .eyebrow { color: rgba(245,241,232,0.7); }
.hero-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  animation: heroRise 1400ms var(--ease-editorial) both;
}
.hero-title .it { font-style: italic; font-weight: 300; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); letter-spacing: 0.02em; }
  to   { opacity: 1; transform: translateY(0); letter-spacing: -0.02em; }
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.hero-manifesto {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.3;
  max-width: 520px;
  color: rgba(245,241,232,0.95);
  animation: pageFade 1600ms 600ms var(--ease-editorial) both;
}
.hero-meta {
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.6);
  line-height: 1.8;
  animation: pageFade 1600ms 800ms var(--ease-editorial) both;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(245,241,232,0.7));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50%      { opacity: 1; transform: scaleY(1); }
}

/* =============================================================================
   Home — sections below hero
============================================================================= */
.section {
  padding: 120px 0;
  position: relative;
}
.section.tight { padding: 80px 0; }
.section.loose { padding: 160px 0; }
.section.ivory { background: var(--ivory); color: var(--noir); }
.section.noir  { background: var(--noir);  color: var(--ivory); }

.divider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--hair-on-dark);
  padding-top: 24px;
  margin-bottom: 64px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
}
.section.ivory .divider-row { border-top-color: var(--hair-on-light); color: var(--ash); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 1100px;
}
.section-title .it { font-style: italic; }

.lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.35;
  color: var(--ash-soft);
  max-width: 720px;
}
.section.ivory .lede { color: var(--ash); }

.body-copy {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ash-soft);
  max-width: 540px;
}
.section.ivory .body-copy { color: var(--ash-dark); }

/* =============================================================================
   Editorial grid (Photography)
============================================================================= */
.chapter {
  padding: 120px 0;
  border-top: 1px solid var(--hair-on-dark);
}
.section.ivory .chapter { border-top-color: var(--hair-on-light); }
.chapter:first-of-type { border-top: none; }

.chapter-head {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: end;
}
.chapter-head .ch-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 8vw, 140px);
  line-height: 0.9;
  color: var(--ash);
  opacity: 0.7;
}
.chapter-head .ch-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.chapter-head .ch-lede {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ash-soft);
  max-width: 480px;
  margin-top: 20px;
  font-weight: 300;
}

/* Editorial asymmetric grid */
.ed-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.ed-card {
  position: relative;
  background: var(--char);
  overflow: hidden;
  cursor: pointer;
}
.section.ivory .ed-card { background: var(--ivory-strong); }
.ed-card .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  transition: transform 1400ms var(--ease-cinema);
}
.ed-card:hover .placeholder {
  transform: scale(1.04);
}
.ed-card .ph-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: rgba(245,241,232,0.35);
  letter-spacing: 0.05em;
}
.section.ivory .ed-card .ph-tag { color: rgba(10,10,9,0.25); }
.ed-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: var(--ivory);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease-editorial), transform 400ms var(--ease-editorial);
}
.ed-card:hover .meta { opacity: 1; transform: translateY(0); }
.ed-card .meta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.ed-card .meta-sub {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.75);
  margin-top: 4px;
}
.ed-card .meta-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: rgba(245,241,232,0.6);
}

.ed-card.sz-4 { grid-column: span 4; aspect-ratio: 3/4; }
.ed-card.sz-5 { grid-column: span 5; aspect-ratio: 4/5; }
.ed-card.sz-6 { grid-column: span 6; aspect-ratio: 3/2; }
.ed-card.sz-7 { grid-column: span 7; aspect-ratio: 16/10; }
.ed-card.sz-8 { grid-column: span 8; aspect-ratio: 3/2; }
.ed-card.sz-12 { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 1024px) {
  .chapter-head { grid-template-columns: 1fr; gap: 16px; }
  .ed-card.sz-4, .ed-card.sz-5 { grid-column: span 6; }
  .ed-card.sz-7, .ed-card.sz-8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .ed-card.sz-4, .ed-card.sz-5, .ed-card.sz-6 { grid-column: span 12; }
}

/* =============================================================================
   Videography — full bleed tiles
============================================================================= */
.video-stack { display: flex; flex-direction: column; }
.video-tile {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 540px;
  overflow: hidden;
  background: var(--noir);
  cursor: pointer;
  border-bottom: 1px solid var(--hair-on-dark);
}
.video-tile:last-child { border-bottom: none; }
.video-tile .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2) brightness(0.78) contrast(1.05);
  transition: transform 2000ms var(--ease-cinema), filter 800ms var(--ease-editorial);
  transform: scale(1.0);
}
.video-tile:hover .bg { transform: scale(1.06); filter: grayscale(0) brightness(0.88) contrast(1.08); }
.video-tile .vid-grade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,9,0.4) 0%, rgba(10,10,9,0) 30%, rgba(10,10,9,0) 60%, rgba(10,10,9,0.8) 100%);
}
.video-tile .vid-content {
  position: absolute;
  left: 48px; right: 48px; bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--ivory);
}
.video-tile .vid-meta-left .eyebrow { color: rgba(245,241,232,0.6); margin-bottom: 18px; display: block; }
.video-tile .vid-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 720px;
}
.video-tile .vid-title .it { font-style: italic; }
.video-tile .vid-meta-right { text-align: right; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,241,232,0.7); line-height: 1.8; }
.play-pill {
  position: absolute;
  right: 48px; top: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid rgba(245,241,232,0.35);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  backdrop-filter: blur(6px);
  background: rgba(10,10,9,0.18);
  transition: background 300ms var(--ease-editorial);
}
.video-tile:hover .play-pill { background: rgba(245,241,232,0.12); }
.play-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ivory);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.0); }
}

/* Section chapter labels for videography */
.vid-chapter-label {
  background: var(--noir);
  padding: 80px 48px 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  border-top: 1px solid var(--hair-on-dark);
}
.vid-chapter-label:first-child { border-top: none; }
.vid-chapter-label .ch-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 6vw, 96px);
  color: var(--ash);
  line-height: 0.9;
}
.vid-chapter-label .ch-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.01em;
}

/* Immersive video lightbox */
.vid-modal {
  position: fixed; inset: 0;
  background: rgba(10,10,9,0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.vid-modal.open {
  display: flex;
  animation: pageFade 400ms var(--ease-editorial) both;
}
.vid-modal-inner {
  position: relative;
  width: min(92vw, 1600px);
  aspect-ratio: 16/9;
  background: var(--char);
  overflow: hidden;
}
.vid-modal .vid-modal-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.7) contrast(1.1);
}
.vid-modal .vid-modal-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: var(--ivory);
}
.vid-modal .vid-modal-top {
  display: flex; justify-content: space-between;
}
.vid-modal-bottom .modal-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.vid-modal .close-x {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.vid-modal .close-x .x-line { display: inline-block; width: 18px; height: 1px; background: currentColor; }
.fake-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 92px;
  border: 1px solid rgba(245,241,232,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fake-play::after {
  content: "";
  border-left: 14px solid var(--ivory);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

/* =============================================================================
   Archives — atmospheric notebook
============================================================================= */
.archive-masthead {
  padding: calc(var(--nav-h) + 120px) 48px 80px;
  border-bottom: 1px solid var(--hair-on-dark);
}
.archive-masthead .h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.archive-masthead .h .it { font-style: italic; }
.archive-masthead .sub {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
}
.archive-masthead .sub-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: var(--ash-soft);
  max-width: 540px;
}

.archive-strip {
  padding: 80px 0;
  border-bottom: 1px solid var(--hair-on-dark);
}
.archive-strip:last-child { border-bottom: none; }
.archive-strip .strip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 48px;
  margin-bottom: 40px;
}
.archive-strip .strip-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 36px);
  letter-spacing: -0.01em;
}
.archive-strip .strip-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
}

/* Horizontal scroll row */
.h-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 48px 16px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll .item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  position: relative;
}
.h-scroll .item .ph {
  background-size: cover;
  background-position: center;
  background-color: var(--char);
  transition: transform 1200ms var(--ease-cinema);
}
.h-scroll .item:hover .ph { transform: scale(1.03); }
.h-scroll .item .cap {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ash-soft);
  font-weight: 300;
  max-width: 100%;
}
.h-scroll .item .cap .num {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-right: 10px;
}

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 0 48px;
}
.mosaic .cell {
  background: var(--char);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.mosaic .cell .cell-tag {
  position: absolute;
  bottom: 14px; left: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(245,241,232,0.85);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 320ms, transform 320ms;
}
.mosaic .cell:hover .cell-tag { opacity: 1; transform: translateY(0); }
.m-1x1 { grid-column: span 1; aspect-ratio: 1; }
.m-2x1 { grid-column: span 2; aspect-ratio: 2; }
.m-2x2 { grid-column: span 2; aspect-ratio: 1; }
.m-3x2 { grid-column: span 3; aspect-ratio: 3/2; }
.m-4x2 { grid-column: span 4; aspect-ratio: 2; }

@media (max-width: 880px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .cell { grid-column: span 1 !important; aspect-ratio: 1 !important; }
}

/* =============================================================================
   The Practice — text editorial
============================================================================= */
.practice {
  background: var(--ivory);
  color: var(--noir);
  min-height: 100vh;
}
.practice-mast {
  padding: calc(var(--nav-h) + 140px) 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.practice-mast .eyebrow { color: var(--ash); }
.practice-mast .h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 152px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 32px 0 0;
}
.practice-mast .h .it { font-style: italic; }

.practice-lede {
  border-top: 1px solid var(--hair-on-light);
  border-bottom: 1px solid var(--hair-on-light);
  padding: 64px 48px;
}
.practice-lede .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
.practice-lede .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}
.practice-lede .copy {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.35;
  color: var(--char);
  max-width: 880px;
}

.practice-pillar {
  padding: 100px 48px;
  border-bottom: 1px solid var(--hair-on-light);
}
.practice-pillar:last-child { border-bottom: none; }
.practice-pillar .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.practice-pillar .pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--ash);
}
.practice-pillar .pillar-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 360px;
}
.practice-pillar .pillar-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ash-dark);
  font-weight: 300;
  max-width: 460px;
}
.practice-pillar .pillar-body p + p { margin-top: 18px; }

@media (max-width: 880px) {
  .practice-pillar .inner,
  .practice-lede .inner { grid-template-columns: 1fr; gap: 16px; }
}

/* Pull quote */
.pull-quote {
  padding: 140px 48px;
  text-align: center;
  background: var(--noir);
  color: var(--ivory);
}
.pull-quote .q {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 980px;
  margin: 0 auto;
}
.pull-quote .attr {
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
}

/* =============================================================================
   Contact
============================================================================= */
.contact-page {
  background: var(--noir);
  color: var(--ivory);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 120px) 48px 100px;
}
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.contact-left .eyebrow { color: var(--ash-soft); }
.contact-left .h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 32px 0;
}
.contact-left .h .it { font-style: italic; }
.contact-left .intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ash-soft);
  max-width: 480px;
  margin-bottom: 56px;
}
.contact-left .channels {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 1px solid var(--hair-on-dark);
  padding-top: 40px;
}
.contact-left .channel .lbl {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
  margin-bottom: 10px;
}
.contact-left .channel .val {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
}
.contact-left .channel .val a:hover { color: var(--ivory); border-bottom: 1px solid var(--ash-soft); }
.contact-left .channel .val.italic { font-style: italic; }
.contact-left .channel .val.smaller { font-size: 20px; }

.contact-form {
  background: var(--noir-soft);
  border: 1px solid var(--hair-on-dark);
  padding: 48px;
}
.contact-form .form-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  margin-bottom: 8px;
}
.contact-form .form-sub {
  font-size: 13px;
  color: var(--ash-soft);
  margin-bottom: 40px;
}
.field {
  border-bottom: 1px solid var(--hair-on-dark);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 220ms;
}
.field:focus-within { border-bottom-color: var(--ivory); }
.field label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  padding: 4px 0;
  width: 100%;
  resize: vertical;
 line-height: 1.65;}
.field textarea { min-height: 100px; }
.field select { appearance: none; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.submit-row {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.submit-row .note {
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.06em;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--ivory);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  background: transparent;
  transition: background 280ms var(--ease-editorial), color 280ms;
  cursor: pointer;
}
.btn-submit:hover { background: var(--ivory); color: var(--noir); }
.btn-submit .arrow { font-family: var(--font-display); font-size: 16px; letter-spacing: 0; transform: translateY(-1px); }

@media (max-width: 920px) {
  .contact-page { padding-left: 24px; padding-right: 24px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .contact-form { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =============================================================================
   Cursor image-trail
============================================================================= */
.trail-img {
  position: fixed;
  pointer-events: none;
  width: 200px;
  height: 260px;
  background-size: cover;
  background-position: center;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  z-index: 50;
  transition: opacity 700ms var(--ease-editorial), transform 900ms var(--ease-editorial);
  will-change: opacity, transform;
  filter: grayscale(0.2) contrast(1.05);
}
.trail-img.live {
  opacity: 0.92;
}
.trail-img.fade {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.06);
}

/* =============================================================================
   Misc — Home featured strip
============================================================================= */
.featured-row {
  display: flex;
  gap: 32px;
  padding: 0 48px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.featured-row::-webkit-scrollbar { display: none; }
.featured-row .feat {
  flex: 0 0 460px;
  scroll-snap-align: start;
}
.featured-row .feat .ph {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--char);
  margin-bottom: 18px;
  transition: transform 1200ms var(--ease-cinema);
}
.featured-row .feat .feat-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.featured-row .feat .feat-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.featured-row .feat .feat-sub {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
  margin-top: 4px;
}
.featured-row .feat .feat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--ash);
}

/* =============================================================================
   Manifesto split
============================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* =============================================================================
   Index list (links)
============================================================================= */
.index-list {
  display: flex;
  flex-direction: column;
}
.index-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 120px;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--hair-on-dark);
  align-items: center;
  transition: padding 320ms var(--ease-editorial);
}
.index-row:last-child { border-bottom: 1px solid var(--hair-on-dark); }
.section.ivory .index-row { border-color: var(--hair-on-light); }
.index-row:hover { padding-left: 16px; padding-right: 16px; }
.index-row .ix-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ash);
}
.index-row .ix-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.index-row .ix-title .it { font-style: italic; }
.index-row .ix-sub {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-soft);
}
.index-row .ix-arrow {
  font-family: var(--font-display);
  font-size: 28px;
  text-align: right;
  opacity: 0.6;
  transition: opacity 320ms, transform 320ms;
}
.index-row:hover .ix-arrow { opacity: 1; transform: translateX(6px); }

@media (max-width: 720px) {
  .index-row { grid-template-columns: 40px 1fr 60px; }
  .index-row .ix-sub { display: none; }
}

/* Published-site image handling */
[hidden]{display:none!important}
.ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
.bs-tile .ph{overflow:hidden}

/* Shared button — outline, ivory */
.amba-btn{display:inline-flex;align-items:center;gap:14px;padding:18px 36px;border:1px solid var(--ivory);color:var(--ivory);text-decoration:none;font-family:var(--font-sans);font-size:11px;font-weight:500;letter-spacing:0.22em;text-transform:uppercase;transition:background 320ms var(--ease-editorial),color 320ms var(--ease-editorial)}
.amba-btn:hover{background:var(--ivory);color:var(--noir)}
.amba-btn .arrow{font-family:var(--font-display);font-size:18px;letter-spacing:0}
/* Footer lockup — AMBA / STUDIOS / CITY OF LONDON */
.amba-footer .ft-lockup{margin-top:10px;font-family:var(--font-sans);font-size:11px;font-weight:500;letter-spacing:0.32em;text-transform:uppercase;color:var(--ivory);line-height:1}
.amba-footer .ft-lockup span{display:block;margin-top:8px;font-size:10px;color:var(--ash-soft)}

.amba-footer .ft-role{margin-top:18px;font-family:var(--font-sans);font-size:10.5px;letter-spacing:0.22em;text-transform:uppercase;color:var(--ash)}
/* Buttons: every button uses the shared outline style */
.btn-submit.amba-btn{background:transparent;padding:18px 36px;border:1px solid var(--ivory);font-size:11px;letter-spacing:0.22em}
.btn-submit.amba-btn:hover{background:var(--ivory);color:var(--noir)}
.btn-submit.amba-btn:disabled{opacity:.5;cursor:default}
/* Spacing scale — one gap between major sections, one masthead gap */
body .section, body .section.tight, body .section.loose, body .chapter { padding-top: var(--space-section); padding-bottom: var(--space-section); }
body .movement-marker { padding-top: var(--space-section); padding-bottom: var(--space-head); margin-top: 0; }
body .pull-quote, body .practice-close, body .home-close, body .arc-close { padding-top: var(--space-section); padding-bottom: var(--space-section); }
body .practice-mast, body .pe-mast { padding-top: var(--space-mast-top); padding-bottom: var(--space-mast-bottom); }
body .contact-page { padding-top: var(--space-mast-top); padding-bottom: var(--space-section); }
body .pe-sec { padding-top: 0; padding-bottom: 0; }
body .practice-bio, body .practice-phil { padding-top: 0; padding-bottom: var(--space-section); }
body .practice-process { padding-top: var(--space-section); padding-bottom: var(--space-section); }
body .practice-services { padding-top: 0; }
body .work-chapter { padding-top: var(--space-section); padding-bottom: var(--space-section); }
body .amba-footer { margin-top: 0; }

/* ===== Mobile refinements (Oct 2026) ===== */
/* Compact nav: wordmark + Menu, full-screen overlay (matches Home) */
.nav-menu{display:none;background:none;border:0;padding:0;cursor:pointer;font-family:var(--font-sans);font-size:12px;font-weight:400;letter-spacing:.22em;text-transform:uppercase;color:inherit}
.nav-ov{position:fixed;inset:0;z-index:99;background:rgba(10,10,9,.97);display:none;flex-direction:column;justify-content:center;gap:28px;padding:0 24px}
.nav-ov.open{display:flex}
.nav-ov a{font-family:var(--font-display);font-weight:300;font-size:34px;color:var(--ivory);text-decoration:none}
.nav-ov a.active{font-style:italic}
@media (max-width:860px){
  .amba-nav{padding:0 20px !important;justify-content:space-between}
  .amba-nav .nav-side{display:none !important}
  .amba-nav .amba-wordmark{padding-left:0}
  .nav-menu{display:block}
}
/* Captions reveal on hover (desktop) or tap (phone) */
.ed-card.show-meta .meta{opacity:1 !important;transform:translateY(0) !important}
.bs-imagery .bs-tile .tag{opacity:0;transition:opacity 400ms var(--ease-editorial)}
.bs-imagery .bs-tile:hover .tag,.bs-imagery .bs-tile.show-meta .tag{opacity:1}
/* Footer — phone layout */
@media (max-width:720px){
  .amba-footer{padding:64px 24px 32px !important}
  .amba-footer .ft-grid{grid-template-columns:1fr 1fr !important;gap:40px 24px !important;margin-bottom:48px !important}
  .amba-footer .ft-grid > div:first-child{grid-column:1 / -1}
  .amba-footer .ft-wordmark{font-size:40px}
  .amba-footer .ft-lockup{white-space:nowrap;font-size:10px;letter-spacing:.3em}
  .amba-footer .ft-role{white-space:nowrap;font-size:8.5px;letter-spacing:.16em;margin-top:16px}
  .amba-footer .ft-tag{font-size:16px;margin-top:20px}
  .amba-footer .ft-col-title{font-size:10px;margin-bottom:16px}
  .amba-footer .ft-col a{font-size:14px;margin-bottom:10px}
  .amba-footer .ft-grid > .ft-col:last-child{grid-column:1 / -1}
  .amba-footer .ft-grid > .ft-col:last-child a{display:inline-block;margin-right:22px}
  .amba-footer .ft-base{flex-direction:column;align-items:flex-start;gap:10px;font-size:9px;letter-spacing:.2em;padding-top:24px}
  .amba-footer .ft-base > div{white-space:nowrap}
}
