/* Nitin Sukhija — Stories. Conversations. Cinema.
   Dark, editorial, video-first. Thumbnails carry the colour; the page
   stays out of their way. No cards, no shadows, no rounded corners. */

:root {
  --bg:        #0C0C0F;
  --bg-lift:   #141419;
  --fg:        #F2EEE7;
  --fg-soft:   #B5B0A6;
  --fg-faint:  #948E84;
  --rule:      #31313A;
  --accent:    #FBB402;   /* logo gold — the site-wide default */

  /* Colours sampled from the NS mark itself. The six below clear WCAG AA
     for normal-size text on --bg and are what pages/strands are tinted
     with; the rest (violet, magenta, crimson) only appear in the large
     decorative hero gradient, where they're exempt as display type. */
  --logo-gold:    #FBB402;
  --logo-orange:  #FC8B06;
  --logo-red:     #F62C2C;
  --logo-skyblue: #0090D7;
  --logo-blue:    #147FF3;
  --logo-teal:    #01A8B4;
  --logo-violet:  #7221FA;
  --logo-magenta: #BE12DC;
  --logo-crimson: #E2014B;
  --nav-bg:      rgba(12,12,15,.72);
  --fade:        rgba(12,12,15,.55);
  /* Painted over the foot of a photograph, so it must match the ground the
     photograph sits on — not the ground the page is made of. */
  --img-fade:    rgba(12,12,15,.55);
  --scrim:       rgba(12,12,15,.3);
  --play-border: rgba(242,238,231,.55);
  --field-bg:    #17171D;
  --field-brd:   #2E2E36;
  --field-hover: #3D3D47;
  --field-focus: #1C1C23;
  --error:       #E0705F;
  --img-dim:     .74;   /* how far thumbnails sit back before hover */

  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;

  --page: 1240px;
  --gut:  clamp(1.25rem, 5vw, 4.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Light theme ----------------------------------------------
   Dark is the default and stays the brand's home ground. Light is opt-in
   through the switch in the nav; the choice is remembered per visitor.
   Only the tokens change — every rule below this block is written
   against them, so nothing else needs a light-mode variant. */
:root[data-theme="light"] {
  --bg:        #F7F4EF;
  --bg-lift:   #EFEAE1;
  --fg:        #17140F;
  --fg-soft:   #4E483F;
  --fg-faint:  #6E675C;
  --rule:      #DFD8CC;
  --accent:    #9D6119;   /* 4.6:1 on the cream ground — AA for small text */

  --nav-bg:      rgba(247,244,239,.78);
  --fade:        rgba(247,244,239,.55);
  /* No wash at all on the cream ground: a pale gradient over a photograph
     reads as the image being washed out, not as it settling into the page. */
  --img-fade:    transparent;
  --scrim:       rgba(23,20,15,.28);
  --play-border: rgba(23,20,15,.45);
  --field-bg:    #FFFFFF;
  --field-brd:   #DFD8CC;
  --field-hover: #BFB6A7;
  --field-focus: #FFFFFF;
  --error:       #A6382A;
  --img-dim:     1;      /* photographs carry themselves on a pale ground */
}

/* The per-page accents are sampled from the logo, which was drawn for a
   dark ground — on cream they need darkening to stay legible. */
:root[data-theme="light"] {
  --logo-gold:    #8A5B05;
  --logo-orange:  #A85A02;
  --logo-red:     #C21B1B;
  --logo-skyblue: #0069A0;
  --logo-blue:    #0F5FB8;
  --logo-teal:    #017681;
}

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

/* The nav is sticky and now taller (logo + tagline stacked), so an
   in-page jump like #work needs this much clearance or its heading
   lands partly hidden behind the nav. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Translucency is decoration; when it is turned down the surfaces go solid
   rather than losing their separation. */
@media (prefers-reduced-transparency: reduce) {
  .nav, .mob-nav { background: var(--bg); backdrop-filter: none; }
  .play { backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --fg-soft: #E6E2DA; --fg-faint: #CFC9BF; --rule: #6A6A78; }
  :root[data-theme="light"] { --fg-soft: #2A2620; --fg-faint: #3D382F; --rule: #8C8577; }
  .nav, .mob-nav { background: var(--bg); backdrop-filter: none; }
  .btn, .theme-toggle { border-color: currentColor; }
}

/* Images sit back until hover — but a touch screen has no hover, so on
   phones that only means every photograph is permanently dimmed. */
@media (hover: none) { :root { --img-dim: 1; } }

/* Each page picks up one hue from the logo's own gradient — the same
   colour the strand card for that section shows on the home page. */
body.page-conversations  { --accent: var(--logo-gold); }
body.page-stories        { --accent: var(--logo-red); }
body.page-storytelling   { --accent: var(--logo-skyblue); }
body.page-cinema         { --accent: var(--logo-blue); }
body.page-about          { --accent: var(--logo-orange); }
body.page-contact        { --accent: var(--logo-teal); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.1; margin: 0;
}

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fg); color: var(--bg); padding: .75rem 1.25rem; z-index: 200;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(16px);
}
/* Content passing under the bar gets a soft edge rather than a hard rule —
   the fade only appears once there is something to pass underneath. */
.nav::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 22px;
  background: linear-gradient(to bottom, var(--fade), transparent);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.nav.scrolled::after { opacity: 1; }

.nav-inner {
  max-width: var(--page); margin: 0 auto; padding: 1.4rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

/* The logo and "Find your Story", in the nav and the footer. --logo-h is the
   artwork's height; --tag-x / --tag-y are where the wordmark starts and
   ends, measured from each artwork as multiples of that height, so the
   tagline sits directly under "nitinsukhija" at any size. */
.nav-logo, .footer-mark {
  display: flex; flex-direction: column; align-items: flex-start; text-decoration: none;
  --tag-x: 1.37; --tag-y: .83;
}
:root[data-theme="light"] .nav-logo,
:root[data-theme="light"] .footer-mark { --tag-x: 1.42; --tag-y: .76; }
.nav-logo    { --logo-h: 48px; }
.footer-mark { --logo-h: 64px; }
.nav-logo .mark, .footer-mark .mark { width: auto; height: var(--logo-h); display: block; flex: 0 0 auto; }
.nav-tagline {
  font-family: var(--script); font-size: calc(var(--logo-h) * .35); line-height: 1;
  color: var(--fg); letter-spacing: .01em; white-space: nowrap;
  margin-left: calc(var(--logo-h) * var(--tag-x));
  margin-top: calc(var(--logo-h) * (var(--tag-y) - 1));
}

/* The lockup was drawn for a dark ground; light mode gets the black cut. */
/* Scoped to both lockups so these outrank `.footer-mark .mark`, which
   sets its own display further down the file. */
.nav-logo .mark.for-light,
.footer-mark .mark.for-light { display: none; }
:root[data-theme="light"] .nav-logo .mark.for-dark,
:root[data-theme="light"] .footer-mark .mark.for-dark { display: none; }
:root[data-theme="light"] .nav-logo .mark.for-light,
:root[data-theme="light"] .footer-mark .mark.for-light { display: block; }

.nav-links { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; text-decoration: none;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg-soft); padding-bottom: 4px;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--fg); }

/* ---------- Light/dark switch ---------- */
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; cursor: pointer;
  background: transparent; color: var(--fg-soft);
  border: 1px solid var(--rule); border-radius: 50%;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .12s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { width: 17px; height: 17px; display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; width: 34px; height: 30px; }
.hamburger span { display: block; height: 1px; background: var(--fg); margin: 7px 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* The panel materialises — blur and scale resolve together — rather than
   simply fading, and it leaves along the same path it arrived by. */
.mob-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--nav-bg);
  backdrop-filter: blur(0px) saturate(140%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 1.4rem; padding: 0 var(--gut);
  opacity: 0; transform: scale(1.03); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              backdrop-filter .35s var(--ease);
}
.mob-nav.open {
  opacity: 1; transform: scale(1); pointer-events: auto;
  backdrop-filter: blur(26px) saturate(140%);
}
/* Without backdrop-filter the panel must be opaque or the page shows through. */
@supports not (backdrop-filter: blur(1px)) {
  .mob-nav { background: var(--bg); }
}
.mob-nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem);
  text-decoration: none; color: var(--fg); line-height: 1.1;
}

/* ---------- Hero ---------- */

.hero { padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2rem, 4vw, 3.25rem); }

.hero-grid {
  /* stretch, not center: centring pushed the shorter column down and left
     a void under the nav */
  display: grid; align-items: stretch;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
}
/* A fixed box, sized by its own width to match the real photo — the hero
   text column can grow as tall as it needs without ever stretching or
   cropping the portrait to fit. */
.hero-portrait { position: relative; overflow: hidden; background: var(--bg-lift); aspect-ratio: 934 / 1400; align-self: start; }
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}
/* A soft fade into the page so the photo sits on the ground rather than on
   a slab. Uses --img-fade, not --fade: the nav's edge wants the colour of
   the page, this wants whatever the photograph is resting against, and in
   light mode that means no wash at all. */
.hero-portrait::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, var(--img-fade) 100%);
}
.hero-cta { margin-top: 2.25rem; }

.hero-name {
  font-size: clamp(3rem, 11vw, 8rem);
  letter-spacing: -0.045em; line-height: .92; margin-bottom: 2.5rem;
  /* the one place the full logo gradient appears as text — everywhere
     else on the site picks a single hue from it instead */
  background: linear-gradient(165deg,
    var(--logo-gold) 0%, var(--logo-orange) 16%, var(--logo-red) 30%,
    var(--logo-crimson) 42%, var(--logo-magenta) 55%, var(--logo-violet) 68%,
    var(--logo-blue) 82%, var(--logo-teal) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-lines {
  font-family: var(--serif); font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--fg-soft); line-height: 1.5; font-style: italic; margin: 0;
}
.hero-lines em { font-style: normal; color: var(--fg); }
.hero-sub {
  margin-top: 1.75rem; max-width: 44ch; color: var(--fg-soft);
  font-size: .95rem; letter-spacing: .01em;
}

.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--fg);
  border-bottom: 1px solid var(--accent); padding-bottom: .55rem;
  transition: gap .3s var(--ease), color .3s var(--ease), transform .12s var(--ease);
}
.btn:hover { gap: 1.3rem; color: var(--accent); }
.btn:active { transform: scale(.98); }
.btn-solid {
  border: 1px solid var(--accent); border-bottom-color: var(--accent);
  padding: 1rem 2.25rem; background: var(--accent); color: var(--bg);
  transition: background .3s var(--ease), color .3s var(--ease), transform .12s var(--ease);
}
.btn-solid:hover { background: transparent; color: var(--accent); gap: .7rem; }

/* ---------- Press feedback ----------------------------------------------
   Hover does not exist on a touch screen, so every tappable thing needs a
   state that fires on press rather than on release. These are deliberately
   un-transitioned: the acknowledgement should be immediate. */
.piece-link:active, .ig-card:active, .ep:active,
.channel-badge:active, .play-poster:active { transform: scale(.985); }
/* Inline links cannot be scaled — a non-replaced inline box ignores
   transform — so they dim instead. */
.nav-links a:active, .mob-nav a:active,
.footer-links a:active, .section-link:active { opacity: .6; }
/* We supply our own feedback, so drop the platform's grey tap flash. */
a, button { -webkit-tap-highlight-color: transparent; }

/* ---------- Featured ---------- */

.featured { padding-bottom: clamp(3rem, 5vw, 4.5rem); }

.featured-media {
  display: block; position: relative; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--bg-lift); text-decoration: none;
}
.featured-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--img-dim); transition: transform 1.4s var(--ease), opacity .6s var(--ease);
}
.featured-media:hover img { transform: scale(1.03); opacity: 1; }

.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 88px; height: 88px; border-radius: 50%;
  border: 1px solid var(--play-border);
  background: var(--scrim); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.featured-media:hover .play { background: var(--accent); border-color: var(--accent); }
.play::after {
  content: ''; margin-left: 5px;
  border-left: 15px solid var(--fg); border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.featured-media:hover .play::after { border-left-color: var(--bg); }

.featured-meta {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap;
  gap: .5rem 2rem; align-items: baseline;
}
.featured-title { font-size: clamp(1.5rem, 3.4vw, 2.4rem); max-width: 22ch; }

/* ---------- Sections ---------- */

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
/* A section straight after a page header must not stack its own top
   padding onto the header's bottom padding — that leaves a dead band. */
.page-head + .section { border-top: 0; padding-top: 0; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .75rem 2rem; margin-bottom: 3rem;
}
.section-title {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-family: var(--sans);
  font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg-soft);
}
.section-note { color: var(--fg-soft); font-size: .88rem; max-width: 46ch; margin: .75rem 0 0; }
.section-link {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: var(--fg-soft); white-space: nowrap;
  transition: color .3s var(--ease);
}
.section-link:hover { color: var(--accent); }

.eyebrow {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}

/* ---------- Episode index ---------- */

.ep-grid {
  display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  counter-reset: ep;
}

.ep { text-decoration: none; display: block; counter-increment: ep; }
.ep-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-lift); position: relative; }
.ep-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--img-dim); transition: transform 1.1s var(--ease), opacity .5s var(--ease);
}
.ep:hover .ep-thumb img { transform: scale(1.05); opacity: 1; }
.ep-thumb.no-img::after {
  content: 'NS'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.8rem; letter-spacing: .14em; color: var(--fg-faint);
}

.ep-body { padding-top: 1.1rem; border-top: 1px solid var(--rule); margin-top: 1.1rem; position: relative; }
.ep-body::before {
  content: counter(ep, decimal-leading-zero);
  position: absolute; top: 1.1rem; right: 0;
  font-size: .68rem; letter-spacing: .12em; color: var(--fg-faint); font-variant-numeric: tabular-nums;
}
.ep-meta {
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg-faint); margin: 0 0 .7rem;
}
.ep-title {
  font-size: 1.2rem; line-height: 1.28; padding-right: 2.5rem;
  transition: color .3s var(--ease);
}
.ep:hover .ep-title { color: var(--accent); }
.ep-desc { color: var(--fg-soft); font-size: .87rem; margin: .6rem 0 0; }

/* ---------- Piece index (Stories / Cinema) ---------- */

.pieces {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  counter-reset: pc;
}
.pieces-empty { grid-column: 1 / -1; }
.piece { counter-increment: pc; }
.piece-link { display: block; text-decoration: none; }

.piece-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-lift); }
.piece-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--img-dim); transition: transform 1.1s var(--ease), opacity .5s var(--ease);
}
.piece:hover .piece-thumb img { transform: scale(1.05); opacity: 1; }
.piece-thumb .play { width: 60px; height: 60px; }
.piece-thumb .play::after { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }

/* Book covers are 2:3; a matching frame means no letterboxing, so every cover reads the same size. */
.piece-thumb.book-cover { aspect-ratio: 2 / 3; }
.piece-thumb.book-cover img { object-fit: cover; }
/* Two books need no running count. */
[data-books] .piece-inner::before { content: none; }
[data-books] .piece-title { padding-right: 0; }

.piece-inner { display: block; padding-top: 1.1rem; border-top: 1px solid var(--rule); margin-top: 1.1rem; position: relative; }
.piece-inner::before {
  content: counter(pc, decimal-leading-zero);
  position: absolute; top: 1.1rem; right: 0;
  font-size: .68rem; letter-spacing: .12em; color: var(--fg-faint); font-variant-numeric: tabular-nums;
}
.piece-meta { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-faint); margin: 0 0 .7rem; }
.piece-title { font-size: 1.2rem; line-height: 1.28; padding-right: 2.5rem; transition: color .3s var(--ease); }
.piece:hover .piece-title { color: var(--accent); }
.piece-excerpt { color: var(--fg-soft); font-size: .87rem; margin: .6rem 0 0; }

/* ---------- The three strands ---------- */

.strand-list { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }

.strand {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  text-decoration: none; transition: background .4s var(--ease);
}
.strand:hover { background: var(--bg-lift); }

.strand-art { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-lift); }
.strand-art img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--img-dim); transition: transform 1.1s var(--ease), opacity .5s var(--ease);
}
.strand:hover .strand-art img { transform: scale(1.06); opacity: 1; }

.strand-body { display: block; padding-right: clamp(0rem, 4vw, 3rem); }
.strand-kicker {
  display: block; font-size: .7rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .7rem;
}
.strand-title {
  display: block; font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1; letter-spacing: -0.03em;
  transition: color .3s var(--ease);
}
.strand:hover .strand-title { color: var(--accent); }
.strand-blurb { display: block; color: var(--fg-soft); font-size: .95rem; margin-top: .9rem; max-width: 58ch; }
.strand-count {
  display: block; font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--fg-faint); margin-top: 1.1rem;
}

/* ---------- Guest roll ---------- */

.guest-line { margin: 0; max-width: 46ch; line-height: 1.7; }
.guest {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--fg-soft); letter-spacing: -0.01em;
}
/* separator rides with the name before it, so it never starts a new line */
.guest:not(:last-child)::after {
  content: ' \00b7 '; color: var(--fg-faint); font-family: var(--sans);
}

/* ---------- Storytelling ---------- */

.stage-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: start;
}
.stage-poster { overflow: hidden; background: var(--bg-lift); }
.stage-poster img { width: 100%; height: auto; display: block; }
.show-name {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15; color: var(--fg); margin: 0 0 .5rem;
}
@media (max-width: 820px) { .stage-grid { grid-template-columns: 1fr; } }

/* ---------- Instagram cards ---------- */

.ig-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ig-card { display: block; text-decoration: none; }
.ig-art {
  display: block; position: relative; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--bg-lift);
}
.ig-art img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--img-dim); transition: transform 1.1s var(--ease), opacity .5s var(--ease);
}
.ig-card:hover .ig-art img { transform: scale(1.05); opacity: 1; }
.ig-caption {
  display: block; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--fg-soft); font-size: .9rem;
  transition: color .3s var(--ease);
}
.ig-card:hover .ig-caption { color: var(--fg); }

@media (max-width: 720px) { .ig-grid { grid-template-columns: 1fr; } }

/* ---------- Closing call to action ---------- */

.cta-title { font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: -0.03em; max-width: 18ch; margin-bottom: .9rem; }
.cta-band .section-note { font-size: .95rem; }

@media (max-width: 720px) {
  .strand { grid-template-columns: 1fr; gap: 1.1rem; }
  .strand-art { max-width: 100%; }
}

/* ---------- Channel badge ---------- */

.channel-badge {
  display: inline-flex; align-items: center; gap: 1rem;
  text-decoration: none; margin-top: 2.25rem;
  padding-bottom: .9rem; border-bottom: 1px solid var(--rule);
  transition: border-color .3s var(--ease);
}
.channel-badge:hover { border-bottom-color: var(--accent); }
.channel-badge img { width: 44px; height: 44px; }
.channel-badge .txt { display: block; line-height: 1.4; }
.channel-badge .kicker { display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-faint); }
.channel-badge b { font-weight: 400; font-size: .85rem; letter-spacing: .06em; display: block; color: var(--fg); }

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

/* matches .hero so every page starts the same distance below the nav */
.page-head { padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(1.5rem, 2.5vw, 2rem); }
.page-title { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -0.04em; line-height: .95; }
.page-lede { margin: 1.75rem 0 0; max-width: 50ch; color: var(--fg-soft); font-size: 1rem; }

/* ---------- Prose ---------- */

.prose p { margin: 0 0 1.5rem; color: var(--fg-soft); font-size: 1.02rem; line-height: 1.9; }
.prose p.lead {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--fg); line-height: 1.25; margin-bottom: 2.25rem; letter-spacing: -0.02em;
}
.prose .signoff {
  font-family: var(--serif); font-size: 1.3rem; color: var(--accent);
  letter-spacing: .04em; margin-top: 3.5rem;
}

.portrait { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--bg-lift); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.03); }
.portrait.empty::after {
  content: 'NS'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3rem; letter-spacing: .14em; color: var(--fg-faint);
}

.about-media { display: flex; flex-direction: column; gap: 1.5rem; }
.about-speakers { display: flex; flex-direction: column; gap: 1.5rem; }
.about-speakers img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  background: var(--bg-lift); filter: saturate(.85) contrast(1.03);
}

.about-grid, .contact-grid {
  display: grid; gap: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start;
}

/* ---------- Forms ---------- */

.field { margin-bottom: 2rem; }
.field label {
  display: block; font-size: .66rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--fg-soft); margin-bottom: .6rem;
}
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--field-bg); border: 1px solid var(--field-brd);
  padding: .85rem 1rem; border-radius: 2px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--field-hover); }
.field select { color: var(--fg); }
.field select option { background: var(--bg-lift); color: var(--fg); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: var(--field-focus);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }

button.btn-solid { font-family: var(--sans); cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--fg-faint); font-size: .82rem; margin-top: 1.25rem; }
.form-status { margin-top: 1.5rem; font-size: .92rem; }
.form-status.ok  { color: var(--accent); }
.form-status.err { color: var(--error); }

/* Per-field errors sit with the field they belong to, not in a single
   line at the foot of the form. */
.field-error {
  color: var(--error); font-size: .8rem; line-height: 1.4;
  margin: .5rem 0 0; display: none;
}
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--error); }
.field.invalid label { color: var(--error); }

/* The contact page has no imagery to carry it, so the form gets a panel
   and the details column gets a lift — otherwise the page reads as empty. */
.form-panel {
  background: var(--bg-lift); border: 1px solid var(--rule);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.form-panel h2 {
  font-size: 1.05rem; font-family: var(--sans); font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.75rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--rule);
}
.detail-list li { padding: 1.15rem 0; }
.detail-list .val { font-size: 1.02rem; }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { border-top: 1px solid var(--rule); padding: 1.25rem 0; }
.detail-list li:first-child { border-top: 0; padding-top: 0; }
.detail-list span {
  display: block; font-size: .64rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--fg-faint); margin-bottom: .45rem;
}
.detail-list a { text-decoration: none; transition: color .3s var(--ease); }
.detail-list a:hover { color: var(--accent); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--rule); padding: clamp(2.5rem, 4vw, 3.5rem) 0 3rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--fg-soft); transition: color .3s var(--ease);
}
.footer-links a:hover { color: var(--fg); }
.footer-fine {
  margin-top: 3rem; font-size: .72rem; letter-spacing: .1em; color: var(--fg-soft);
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-portrait { max-width: 320px; aspect-ratio: 934 / 1400; }
}
@media (max-width: 820px) { .about-grid, .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-inner { padding: 1rem var(--gut); }
  .nav-logo    { --logo-h: 38px; }
  .footer-mark { --logo-h: 52px; }
  body { font-size: 16px; }
  .ep-grid, .pieces { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Added for the 2026 copy rewrite — workshops, plays, and the stripped-
   down layouts that came with it. Everything else above is reused as-is:
   .pieces for Books/Empty Bottles/Picturewallah, .ig-grid for galleries,
   .prose/.wrap-narrow for the long-form home-page sections.
   ========================================================================== */

body.page-workshops { --accent: var(--logo-blue); }

/* ---------- Two-line closing headline (home, about) ---------- */
.cta-title-line2 {
  display: block; color: var(--fg-soft); font-style: italic;
  font-size: .55em; margin-top: .3em;
}

/* ---------- Hero, two calls to action ---------- */
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; align-items: baseline; }

/* ---------- Feature grid — audiences, "what we work on", formats ---------- */
.feature-grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2.5rem;
}
.feature-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feature-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .feature-grid.cols-4 { grid-template-columns: 1fr; } }
.feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .feature-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid.cols-3 { grid-template-columns: 1fr; } }
.feature-card { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.feature-card h3 {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .04em; color: var(--fg); margin-bottom: .7rem;
}
.feature-card p { color: var(--fg-soft); font-size: .92rem; line-height: 1.7; margin: 0; }
.feature-card p + p { margin-top: .55rem; }

/* ---------- Plays — posters that expand into detail ---------- */
.play-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.play-card { border: 0; background: none; padding: 0; }
.play-poster {
  display: block; width: 100%; text-align: left; cursor: pointer;
  border: 0; background: none; padding: 0; color: inherit; font: inherit;
}
.play-poster-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-lift); }
.play-poster-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--img-dim); transition: transform 1.1s var(--ease), opacity .5s var(--ease);
}
.play-poster:hover .play-poster-img img, .play-card.open .play-poster-img img {
  transform: scale(1.04); opacity: 1;
}
.play-name {
  display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2;
  margin-top: 1rem; transition: color .3s var(--ease);
}
.play-poster:hover .play-name { color: var(--accent); }
.play-tagline { display: block; color: var(--fg-soft); font-size: .85rem; margin-top: .4rem; }

/* Opens by animating the row from 0fr to 1fr, which gets a real height
   transition without hard-coding one. The inner wrapper carries the
   padding so nothing shows while the panel is closed. */
.play-detail {
  grid-column: 1 / -1;
  display: grid; grid-template-rows: 0fr;
  margin-top: 0; opacity: 0; visibility: hidden;
  transition: grid-template-rows .45s var(--ease), margin-top .45s var(--ease),
              opacity .25s var(--ease), visibility 0s linear .45s;
}
.play-detail.open {
  grid-template-rows: 1fr; margin-top: .5rem; opacity: 1; visibility: visible;
  transition: grid-template-rows .45s var(--ease), margin-top .45s var(--ease),
              opacity .3s var(--ease) .1s, visibility 0s;
}
.play-detail-inner {
  min-height: 0; overflow: hidden;
  /* Padding and rule live on the open state only. Left on the wrapper they
     sit outside the 0fr collapse, leaving a 26px band under the posters
     even when every panel is shut. */
  padding-top: 0; border-top: 0 solid var(--accent);
  transition: padding-top .45s var(--ease), border-top-width .45s var(--ease);
}
/* Accent rather than a grey rule, so the open panel reads as belonging to
   the card that opened it. */
.play-detail.open .play-detail-inner {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top-width: 2px;
}
.play-detail .prose { max-width: 62ch; }

/* ---------- Link row — "For more conversations" ---------- */
.link-row { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.5rem; }

/* ---------- Contact, stripped to just the form ---------- */
.contact-solo { max-width: 720px; }

/* ---------- For organisations, on the Workshops page ----------
   Everything shares the one left edge; text keeps a readable measure. */
.org-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 1rem;
}
.org-lede { color: var(--fg-soft); font-size: 1.05rem; margin: 0 0 2.5rem; }
.org-block .prose { max-width: 62ch; }
.org-block .section-title { margin-top: clamp(3rem, 6vw, 4.5rem); }
.org-block .org-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.org-block .org-formats { margin-top: 1.5rem; padding-left: 1.2rem; }

@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Split teaser — image beside text, on the home page ---------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .split-media { order: 2; }
.split-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-lift); }
/* One of the four home splits breaks the 4:3 metronome on purpose. */
.split.cine .split-media { aspect-ratio: 16 / 9; }
.split-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--img-dim); filter: saturate(.9);
}
.split-body .eyebrow { margin-bottom: 1.1rem; }
.split-body h2 {
  font-family: var(--serif); font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.25rem;
}
@media (max-width: 820px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .split-media { max-width: 420px; }
}

/* ---------- Conversations — a fixed 2×4 grid, per the brief ---------- */
/* Four across only when there is genuinely room; below that the cards
   fall to three and two on their own rather than being squeezed. */
.page-conversations .ep-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (min-width: 1200px) { .page-conversations .ep-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Workshop audiences — a branching diagram on the home page ---- */
.audience-diagram { margin-top: 2.5rem; }
.audience-diagram svg { display: block; width: 100%; height: auto; }
.adiag-line { stroke: var(--rule); stroke-width: 2; }
.adiag-dot  { fill: var(--accent); }
.adiag-center-ring { fill: none; stroke: var(--accent); stroke-width: 2; }
.adiag-center-text {
  font-family: var(--serif); font-size: 36px; fill: var(--fg);
  text-anchor: middle; dominant-baseline: middle;
}
.adiag-label {
  font-family: var(--sans); font-size: 23px; font-weight: 600;
  letter-spacing: .01em; fill: var(--fg);
}

.audience-list-mobile { display: none; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.audience-list-mobile li {
  padding: 1rem 0; border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: .95rem; color: var(--fg);
}

@media (max-width: 720px) {
  .audience-diagram { display: none; }
  .audience-list-mobile { display: block; }
}
