:root {
  --paper: #F7F4EE;
  --ink: #1C1916;
  --forest: #1F4A3C;
  --terracotta: #C45C32;
  --muted: rgba(28, 25, 22, 0.68);
  --rule: rgba(28, 25, 22, 0.14);
  --max: 72rem;
  --gap: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--paper) 92%, white);
  backdrop-filter: blur(10px);
  z-index: 20;
}
.header-inner, footer.site .footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
nav.primary { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; }
nav.primary a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
nav.primary a[aria-current="page"], nav.primary a:hover { color: var(--terracotta); }
.menu-toggle { display: none; }
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.7rem;
}
.lede { font-size: clamp(0.86rem, 1.7vw, 1.09rem); max-width: 46rem; color: var(--ink); }
.muted { color: var(--muted); }
.hero {
  padding: 12vw 0 8vw;
  border-bottom: 1px solid var(--rule);
}
.hero h1 { margin-bottom: 0.4em; }

/* Homepage still banner */
.hero.hero-banner {
  padding: 0;
  border-bottom: 0;
}
.hero-banner-media {
  position: relative;
  width: 100%;
  height: 76vh;
  min-height: 28rem;
  max-height: 46rem;
  overflow: hidden;
  background: #16110e;
}
.hero-banner-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 38%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(12, 9, 7, 0.62) 0%, rgba(12, 9, 7, 0.22) 42%, rgba(12, 9, 7, 0.16) 70%, rgba(12, 9, 7, 0.28) 100%),
    linear-gradient(to right, rgba(12, 9, 7, 0.38) 0%, rgba(12, 9, 7, 0.08) 46%, rgba(12, 9, 7, 0) 70%);
}
.hero-banner-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 0 3.1rem;
}
.hero-banner .kicker {
  color: rgba(247, 244, 238, 0.86);
  margin-bottom: 0.55rem;
}
.hero-banner h1 {
  color: #F7F4EE;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 6.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 16ch;
}
.hero-lede {
  padding: 2.35rem 0 3rem;
  border-bottom: 1px solid var(--rule);
}
.hero-lede .lede {
  margin: 0;
  max-width: 46rem;
}

/* Films index hero: reuse homepage banner pattern, focal point on her face */
.hero-banner.films-hero-banner .hero-banner-media img {
  object-position: 72% 42%;
}
section.block { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: var(--gap);
}
.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.card .thumb, .card .ph {
  aspect-ratio: 16 / 10;
  background: color-mix(in srgb, var(--forest) 12%, var(--paper));
  overflow: hidden;
  margin-bottom: 0.7rem;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .ph {
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.6rem;
  color: var(--forest);
}
.card h3 { font-size: 1.25rem; margin: 0 0 0.2rem; }
.card .meta { font-size: 0.82rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 2rem; }
.filters button {
  appearance: none;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  border-radius: 999px;
}
.filters button[aria-pressed="true"], .filters button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  margin: 1.4rem 0 2rem;
}
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.meta-list { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.95rem; }
.meta-list li { margin: 0 0 0.35rem; }
.meta-list span { color: var(--muted); display: inline-block; min-width: 7.5rem; }
.prose { max-width: 42rem; }
.gallery {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2rem 0 0;
  max-width: 56rem;
}
.gallery-stage {
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
}
.gallery-slides {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery-slide {
  margin: 0 0 1rem;
}
.gallery-slide:last-child { margin-bottom: 0; }
.gallery-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.gallery-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 52rem);
  object-fit: contain;
  aspect-ratio: auto;
  margin-inline: auto;
}
.gallery-toolbar,
.gallery-thumbs { display: none; }
.gallery.is-enhanced .gallery-slide { display: none; margin: 0; }
.gallery.is-enhanced .gallery-slide.is-current { display: block; }
.gallery.is-enhanced .gallery-slides {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 42rem);
}
.gallery.is-enhanced .gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
}
.gallery-btn {
  appearance: none;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gallery-btn svg { width: 1.15rem; height: 1.15rem; display: block; }
.gallery-btn:hover {
  border-color: var(--ink);
}
.gallery-btn:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}
.gallery-counter {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery.is-enhanced .gallery-thumbs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gallery-thumb {
  appearance: none;
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.gallery-thumb[aria-current="true"] {
  border-color: var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 1px;
}
.gallery-thumb:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-thumbs { scroll-behavior: auto; }
}
.note {
  border-left: 2px solid var(--terracotta);
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.placeholder {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.people, .clients, .services { display: grid; gap: 1.5rem; }
.people { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.services { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.clients { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.person, .service, .client {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.client p, .service p { margin: 0; }
.service-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 0.9rem;
  border: 1px solid var(--rule);
}
footer.site { padding: 2rem 0 3rem; font-size: 0.85rem; color: var(--muted); }
footer.site a { color: inherit; }
footer.site .footer-inner { flex-wrap: wrap; }
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.15rem;
}
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin: 1.4rem 0 1.6rem; }
.breadcrumb a { color: inherit; }
.hidden { display: none !important; }
@media (max-width: 48rem) {
  .menu-toggle { display: block; appearance: none; background: none; border: 1px solid var(--rule); font: inherit; padding: 0.25rem 0.55rem; }
  nav.primary { display: none; }
  header.site.open nav.primary {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1rem 1.2rem;
  }
  .hero { padding: 18vw 0 14vw; }
  .hero.hero-banner { padding: 0; }
  .hero-banner-media {
    height: 64vh;
    min-height: 22rem;
    max-height: 34rem;
  }
  .hero-banner-media img { object-position: 66% 46%; }
  .hero-banner.films-hero-banner .hero-banner-media img { object-position: 78% 42%; }
  .hero-banner-title { padding-bottom: 1.7rem; }
  .hero-banner h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); max-width: 12ch; }
  .hero-lede { padding: 1.7rem 0 2.2rem; }
}

/* Team — split founders */
.team-intro { max-width: 38rem; margin-bottom: 2.2rem; }
.team-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.founder { padding: 2.4rem 2rem 3rem 0; min-width: 0; }
.founder + .founder {
  padding-left: 2rem;
  padding-right: 0;
  border-left: 1px solid var(--rule);
}
.founder h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.25rem; }
.founder .role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 1.2rem;
}
.portrait-slot {
  aspect-ratio: 4 / 5;
  max-height: 28rem;
  width: 100%;
  background: color-mix(in srgb, var(--forest) 9%, var(--paper));
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
}
.portrait-slot img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}
.work-list, .honor-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem;
}
.work-list li, .honor-list li {
  margin: 0 0 0.65rem;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.work-list li:last-child, .honor-list li:last-child { border-bottom: 0; }
.honor-list .src {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.honor-list .src a { color: inherit; }
.dop-note { font-size: 0.92rem; color: var(--muted); }
.honor-lead {
  margin: 1.8rem 0 0.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
  margin: 0 0 0.4rem;
}
.press-card { display: block; color: inherit; text-decoration: none; }
.press-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.press-title {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.35;
}
.press-card:hover .press-title { color: var(--terracotta); }
@media (max-width: 30rem) {
  .press-grid { grid-template-columns: 1fr; }
}
/* Team: align both founders' honours sections on one row (desktop, no JS) */
@supports (grid-template-rows: subgrid) {
  .team-split { grid-template-rows: auto auto auto auto 1fr; }
  .team-split > .founder {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-content: start;
  }
  .team-split > .founder .prose > :last-child { margin-bottom: 0; }
}
@media (max-width: 48rem) {
  .team-split { grid-template-columns: 1fr; grid-template-rows: none; }
  .team-split > .founder { display: block; grid-row: auto; }
  .team-split > .founder .prose > :last-child { margin-bottom: revert; }
  .founder { padding: 2rem 0 0.5rem; }
  .founder + .founder {
    padding: 2rem 0 0.5rem;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
}

/* Film page — A Night, After All */
.film-hero {
  display: grid;
  grid-template-columns: minmax(11rem, 17.5rem) 1fr;
  gap: 2.2rem;
  align-items: start;
}
.film-hero .poster {
  width: 100%;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--forest) 8%, var(--paper));
}
.film-hero .logline {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  max-width: 42rem;
  margin-bottom: 1.1rem;
}
.meta-list { margin: 1.1rem 0 0; }
.statement {
  border-left: 2px solid var(--forest);
  padding: 0.15rem 0 0.15rem 1.2rem;
  max-width: 42rem;
}
.statement p:last-child { margin-bottom: 0; }
.statement .attrib { color: var(--muted); margin-top: 0.8rem; }
.credit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}
.credit-list li { break-inside: avoid; margin: 0 0 0.7rem; }
.credit-list .role {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}
.stills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
}
.stills figure { margin: 0; }
.stills img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
  background: color-mix(in srgb, var(--forest) 8%, var(--paper));
  border: 1px solid var(--rule);
}
.stills.wide-first { grid-template-columns: 2fr 1fr 1fr; }
.stills.wide-first figure:first-child { grid-column: 1 / 2; grid-row: 1 / 3; }
.stills.wide-first figure:first-child img,
.stills figure.landscape img { height: 100%; min-height: 11.5rem; object-fit: cover; }
.stills figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; }

/* Film page banner: 06 + 07 side by side; stacked on small screens so the 4:1 strip isn't too short */
.film-page-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #16110e;
  line-height: 0;
}
.film-page-banner img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}
@media (max-width: 48rem) {
  .film-page-banner { grid-template-columns: 1fr; }
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin: 0.4rem 0 0;
}
.press-doc { max-width: 42rem; }
.press-doc .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}
.press-doc h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0.4rem 0 1rem; }
.press-doc .dateline { font-weight: 500; margin-bottom: 1.1rem; }
.press-doc blockquote {
  margin: 0 0 1.1rem;
  padding: 0.1rem 0 0.1rem 1.2rem;
  border-left: 2px solid var(--forest);
}
.press-doc blockquote p:last-child { margin-bottom: 0; }
.press-end { text-align: center; letter-spacing: 0.2em; margin-top: 2rem; }
@media (max-width: 48rem) {
  .film-hero { grid-template-columns: 1fr; }
  .film-hero .poster { max-width: 18rem; }
  .credit-list { columns: 1; }
  .stills.wide-first { grid-template-columns: 1fr 1fr; }
  .stills.wide-first figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .stills.wide-first figure:first-child img { min-height: 14rem; }
}

.embed .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
}
.embed .video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.embed .video-poster::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 0 18px 30px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.45));
  pointer-events: none;
}
.film-still {
  margin: 0 0 1.25rem;
  border: 1px solid var(--rule);
}
.film-still img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Work page — featured films and sections */
.work-section-title {
  margin: 0 0 1.25rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
}
a.featured-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
a.featured-card:hover { color: inherit; }
a.featured-card:hover h3 { color: var(--terracotta); }
.featured-card .thumb {
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--forest) 12%, var(--paper));
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.featured-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card .kicker { margin-bottom: 0.35rem; }
.featured-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 0.45rem;
}
.featured-card .featured-desc {
  margin: 0 0 0.75rem;
  color: var(--ink);
  max-width: 36rem;
}
.featured-card .tally {
  margin: 0;
  font-size: 0.95rem;
  color: var(--forest);
  letter-spacing: 0.01em;
}
a.featured-card:hover .tally { color: var(--terracotta); }
.highlight {
  margin: 1.75rem 0 0;
  padding: 0.95rem 1.15rem;
  border-left: 2px solid var(--terracotta);
  background: color-mix(in srgb, var(--terracotta) 8%, var(--paper));
  max-width: 42rem;
}
.highlight p { margin: 0; }
@media (max-width: 48rem) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* Contact form */
.contact-form {
  max-width: 34rem;
  margin: 2.2rem 0 0;
  display: grid;
  gap: 1.05rem;
}
.contact-form p { margin: 0; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.contact-form .optional { color: var(--muted); letter-spacing: 0; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  appearance: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 0;
  font: inherit;
  padding: 0.65rem 0.75rem;
}
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}
.contact-form .consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--muted);
}
.contact-form .consent input[type="checkbox"] {
  margin-top: 0.28rem;
  accent-color: var(--forest);
  flex: none;
}
.contact-form .form-actions { margin-top: 0.4rem; }
.contact-form button[type="submit"] {
  appearance: none;
  background: var(--forest);
  color: var(--paper);
  border: 0;
  font: inherit;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}
.contact-form button[type="submit"]:hover { background: var(--ink); }
.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}
.contact-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 0.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
}
.form-status.success {
  color: var(--forest);
  border-color: color-mix(in srgb, var(--forest) 35%, var(--rule));
  background: color-mix(in srgb, var(--forest) 8%, var(--paper));
}
.form-status.error {
  color: var(--terracotta);
  border-color: color-mix(in srgb, var(--terracotta) 40%, var(--rule));
  background: color-mix(in srgb, var(--terracotta) 8%, var(--paper));
}

/* Client logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 1.15rem 1.4rem;
  margin-top: 2rem;
  align-items: stretch;
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.75rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--rule);
}
.logo-cell img {
  max-width: 100%;
  max-height: 5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.9;
  transition: filter 0.28s ease, opacity 0.28s ease;
}
.logo-cell.logo-tall img { max-height: 5.4rem; }
.logo-cell:hover img,
.logo-cell:focus-within img {
  filter: none;
  opacity: 1;
}
.logo-cell.logo-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--ink);
  padding-inline: 0.6rem;
}

.work-group-label {
  margin: 1.6rem 0 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.work-group-label:first-of-type { margin-top: 0.85rem; }
.work-pair + .work-group-label { margin-top: 2rem; }

.work-pair + .work-pair { margin-top: 2rem; }


/* Side-by-side photo stack used only on The Veiled Dhanno.
   Other photography pages keep the existing .gallery carousel. */
.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 0;
  max-width: 960px;
  width: 100%;
}
.gallery-stack figure {
  margin: 0;
  min-width: 0;
}
.gallery-stack img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: top;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
}
.gallery-stack-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
}
.gallery-stack-row figure {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}
.gallery-stack-row--solo {
  justify-content: flex-start;
}
.gallery-stack-row--solo figure {
  flex-grow: 0;
  flex-basis: auto;
  width: calc((100% - 1.25rem) / 2);
  max-width: calc((100% - 1.25rem) / 2);
}
@media (max-width: 48rem) {
  .gallery-stack-row {
    flex-direction: column;
  }
  .gallery-stack-row--solo figure {
    width: 100%;
    max-width: none;
  }
}

/* A thousand doorbells. Malini — photo-book essay.
   Photos are embedded in the book at modest resolution, so they are never
   shown larger than their own pixel width (inline max-width on each figure)
   and carry no link, popup or pointer cursor: clicking does nothing. */
.series-cover {
  margin: 1.75rem 0 0;
  max-width: 960px;
  width: 100%;
}
.series-cover img {
  display: block;
  width: 100%;
  max-width: 1763px;
  height: auto;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
}
.series-cover + .prose { margin-top: 2rem; }
.prose h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin: 0 0 1.1rem;
}
.gallery-stack--book {
  margin-top: 2.5rem;
  cursor: default;
}
.gallery-stack--book img {
  cursor: default;
  -webkit-user-drag: none;
}

/* About — stacked name heading */
.about-names {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
  color: var(--ink);
  max-width: 42rem;
}

/* Portrait posters in landscape cards — letterbox so the title stays visible */
.card .thumb.thumb-poster {
  background: #4d8cc2;
}
.card .thumb.thumb-poster img {
  object-fit: contain;
}
.embed .video-poster.poster-fit {
  background: #4d8cc2;
}
.embed .video-poster.poster-fit img {
  object-fit: contain;
}

/* Lightbox for The Veiled Dhanno stack (other series stay carousels) */
html.lightbox-open,
body.lightbox-open {
  overflow: hidden;
}
body.lightbox-open #wixheadless-banner-container {
  visibility: hidden;
  pointer-events: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.lightbox.is-open {
  display: block;
}
.lightbox[hidden] {
  display: none !important;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.lightbox-dialog {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4.5rem 3.25rem;
  pointer-events: none;
  box-sizing: border-box;
}
.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: auto;
  user-select: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  appearance: none;
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.lightbox-close {
  top: 0.85rem;
  right: 0.85rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-size: 1.85rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 3.1rem;
  border-radius: 0.2rem;
  font-size: 2.4rem;
}
.lightbox-prev { left: 0.7rem; }
.lightbox-next { right: 0.7rem; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.78);
}
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.lightbox-counter {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
@media (max-width: 48rem) {
  .lightbox-dialog {
    padding: 3.4rem 3.2rem 3rem;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 2.3rem;
    height: 2.7rem;
    font-size: 2rem;
  }
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
}