/* ==========================================================================
   Brick TV - design tokens
   ========================================================================== */
:root {
  --ink:            #0C0909;
  --ink-raised:     #151011;
  --ink-tile:       #131010;
  --maroon:         #59121F;
  --red:            #C8102E;
  --bone:           #EDE3D3;
  --bone-muted:     #B7A99B;
  --hairline:       rgba(237,227,211,.14);
  --hairline-soft:  rgba(237,227,211,.12);
  --hairline-strong:rgba(237,227,211,.4);
  --nav-scrim:      rgba(12,9,9,.92);
  --modal-scrim:    rgba(12,9,9,.8);

  --display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --section-y: clamp(48px,8vw,96px);
  --section-x: clamp(20px,6vw,80px);
  --inner-y:   clamp(40px,6vw,72px);
  --band-y:    clamp(56px,9vw,110px);
}

/* Border radius is 0 everywhere. The only round shapes are the headshot
   circles and the 64px play ring, which opt back in explicitly. */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }

html, body { margin: 0; padding: 0; background: var(--ink); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

a { color: var(--bone); text-decoration: none; }
a:hover { color: var(--red); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.page { background: var(--ink); min-height: 100vh; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: var(--bone);
  padding: 12px 18px; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--bone); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Typography roles
   ========================================================================== */
.eyebrow {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin: 0 0 18px;
}
.h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px,7vw,84px); line-height: .95; margin: 0;
}
.h2-statement {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px,4.4vw,52px); line-height: 1.08;
  margin: 0; max-width: 900px;
}
.h2-section {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px,3.6vw,40px); margin: 0 0 34px;
}
.h2-craft {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px,4vw,44px); margin: 0;
}
.h2-band {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px,5vw,58px); line-height: 1.05; margin: 0;
}
.h2-band--compact {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(26px,4vw,44px); line-height: 1.05; margin: 0 0 12px;
}
.body-copy {
  max-width: 640px; color: var(--bone-muted);
  font-size: 16px; line-height: 1.6; margin: 22px 0 0;
}
.intro-copy {
  max-width: 620px; color: var(--bone-muted);
  font-size: 16px; line-height: 1.6; margin: 0 0 26px;
}
.service-list {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--body); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  border: none; cursor: pointer; text-align: center;
  transition: background .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--red); color: var(--bone); padding: 16px 28px; }
.btn--primary:hover { background: var(--maroon); color: var(--bone); }

.btn--outline {
  background: none; color: var(--bone);
  border: 1px solid var(--hairline-strong); padding: 15px 28px;
}
.btn--outline:hover { border-color: var(--red); color: var(--red); }

/* Ink button - used on the maroon bands */
.btn--ink { background: var(--ink); color: var(--bone); padding: 16px 30px; }
.btn--ink:hover { background: var(--red); color: var(--bone); }

.btn--member {
  background: var(--red); color: var(--bone);
  font-size: 12px; padding: 12px 22px;
}
.btn--member:hover { background: var(--maroon); color: var(--bone); }

.btn--send {
  align-self: flex-start; background: var(--red); color: var(--bone);
  font-size: 13px; padding: 14px 26px;
}
.btn--send:hover { background: var(--maroon); color: var(--bone); }
.btn--send[disabled] { opacity: .6; cursor: default; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(10px,2.2vw,28px); flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--nav-scrim);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
/* The link list dissolves on desktop so every item shares the nav's own gap,
   which is what puts the wordmark in the middle of the row. */
.nav__links { display: contents; }
/* Four before the wordmark, the rest after: that puts the four crafts, which
   are the four artists, together on one side and leaves Weddings, FAQ and
   Contact with the Book button on the other. Adjust both numbers together if a
   link is ever added or removed. */
.nav__links > a:nth-child(-n+4) { order: 1; }
.nav__wordmark { order: 2; font-size: 20px; margin: 0 clamp(6px,2vw,22px); }
.nav__links > a:nth-child(n+5)  { order: 3; }
.nav__book {
  order: 4; font-family: var(--body); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--red); color: var(--bone);
  border: none; padding: 10px 18px; cursor: pointer;
  transition: background .2s;
}
.nav__book:hover { background: var(--maroon); }
.nav__toggle { display: none; }

/* Wordmark fallback for the plain (non-glitch) nav lockup */
.nav__wordmark .wordmark { font-size: inherit; }

/* Seven links plus the Book button stop fitting one row well above the old
   640px switch: from there up to roughly 800px the button was dropping onto a
   second row by itself, which reads as broken rather than responsive. The
   drawer starts earlier instead. */
@media (max-width: 820px) {
  .nav { justify-content: space-between; gap: 12px; padding: 12px 16px; }
  .nav__toggle {
    order: 1; display: inline-flex; flex-direction: column;
    justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 1px solid var(--hairline); cursor: pointer;
  }
  .nav__toggle span {
    display: block; height: 2px; width: 100%;
    background: var(--bone); transition: transform .2s, opacity .2s;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__wordmark { order: 2; margin: 0; }
  .nav__book { order: 3; padding: 14px 20px; font-size: 12px; min-height: 44px; }

  .nav__links {
    order: 4; width: 100%; margin-top: 4px;
    display: none; flex-direction: column; gap: 0;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links > a {
    order: 0; padding: 14px 4px; min-height: 44px;
    display: flex; align-items: center;
    border-top: 1px solid var(--hairline-soft);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: min(92vh,860px);
  overflow: hidden; display: flex; flex-direction: column;
}
.hero__frames { position: absolute; inset: 0; }
.hero__frames img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
/* Any number of frames, cross-faded by gallery.js. The old nth-child rules
   hard-coded exactly three; the client now supplies nine. */
.hero__frames img {
  opacity: 0;
  transition: opacity 1.6s ease;
  animation: kenburns 28s linear infinite alternate;
}
.hero__frames img.is-active { opacity: 1; }
/* Paused by IntersectionObserver when the hero scrolls out of view. */
.hero--paused .hero__frames img { animation-play-state: paused; }

.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(12,9,9,.55) 0%, rgba(12,9,9,.15) 40%,
    rgba(12,9,9,.88) 88%, #0C0909 100%);
}
.hero__content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding: clamp(120px,24vh,260px) var(--section-x) clamp(36px,7vh,72px);
}
.hero__title { margin: 0; font-size: clamp(56px,12vw,168px); }
.hero__lede {
  font-size: clamp(16px,2.2vw,24px);
  margin: 18px 0 0; max-width: 560px; color: var(--bone);
}
.hero__sub {
  font-size: 15px; margin: 8px 0 0;
  max-width: 560px; color: var(--bone-muted);
}
.hero__actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

@keyframes kenburns       { 0%{transform:scale(1.02) translateY(0)} 100%{transform:scale(1.14) translateY(-2%)} }
@keyframes drift          { 0%{background-position:0 0} 100%{background-position:112px 0} }

/* ==========================================================================
   Checkerboard strip - the signature section boundary
   ========================================================================== */
.checkerboard {
  height: 14px;
  background: repeating-conic-gradient(var(--red) 0% 25%, var(--ink-tile) 0% 50%) 0 0 / 28px 28px;
  animation: drift 14s linear infinite;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section-y) var(--section-x); }
.section--divided-below { border-bottom: 1px solid var(--hairline-soft); }
.section--divided-above { border-top: 1px solid var(--hairline-soft); }
.section--inner {
  padding: var(--inner-y) var(--section-x);
  border-top: 1px solid var(--hairline-soft);
}

.page-header { padding: clamp(48px,7vw,80px) var(--section-x) clamp(28px,4vw,48px); }
.page-header .eyebrow { margin: 0 0 12px; }

/* ==========================================================================
   Craft cards (Home)
   ========================================================================== */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 18px;
}
.craft-card {
  position: relative; display: block; height: 340px;
  overflow: hidden; background: var(--ink-raised);
  border: 1px solid var(--hairline);
}
.craft-card img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .75; transition: transform .6s, opacity .4s;
}
.craft-card:hover img,
.craft-card:focus-visible img { transform: scale(1.05); opacity: 1; }

.craft-card__audio-bg {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 30% 20%, var(--maroon) 0%, var(--ink-raised) 70%);
}
.craft-card__eq {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.craft-card__eq i { display: block; width: 6px; background: var(--red); }
.craft-card__eq i.bone { background: var(--bone); }

.craft-card__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(12,9,9,.92));
  pointer-events: none;
}
.craft-card__caption h3 { font-family: var(--display); font-size: 24px; margin: 0; }
.craft-card__caption p { font-size: 13px; color: var(--bone-muted); margin: 6px 0 0; }

/* ==========================================================================
   Crew row (Home)
   ========================================================================== */
/* Four columns that line up with the craft cards above. As a flex row the
   four members stopped around 40% of the width while the grid above spanned
   the full width, which read as a broken row rather than a deliberate one. */
.crew {
  display: grid;
  /* Exactly four columns, not auto-fit: auto-fit sized tracks to the minimum
     and packed the four members to the left, leaving the right half blank. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px,3vw,48px);
  width: 100%; height: auto;
}
@media (max-width: 900px) { .crew { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 430px) { .crew { grid-template-columns: minmax(0,1fr); } }
.crew__member {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center; min-width: 0;
}
.crew__member strong { display: block; font-size: 16px; }
.crew__member .role { font-size: 12.5px; color: var(--bone-muted); }

/* Headshot placeholders - bone-on-ink initial until the client's photos land */
.headshot {
  border-radius: 50%; object-fit: cover;
  background: var(--ink-raised);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800;
  color: var(--bone); overflow: hidden; flex: none;
}
.headshot--sm { width: 140px; height: 140px; font-size: 46px; }
.headshot--lg { width: 200px; height: 200px; font-size: 64px; }

/* ==========================================================================
   CTA bands (maroon - exactly one per page)
   ========================================================================== */
.cta-band {
  position: relative;
  padding: var(--band-y) var(--section-x);
  background: var(--maroon); overflow: hidden;
}
.cta-band__texture {
  position: absolute; inset: 0;
  background: repeating-conic-gradient(rgba(12,9,9,.35) 0% 25%, transparent 0% 50%) 0 0 / 90px 90px;
  opacity: .35;
}
.cta-band__inner { position: relative; max-width: 820px; }
.cta-band__inner p {
  font-size: 16px; line-height: 1.6; color: var(--bone); margin: 18px 0 28px;
}
.cta-band--center {
  padding: clamp(48px,8vw,90px) var(--section-x);
  text-align: center;
}
.cta-band--center p { color: var(--bone); font-size: 16px; margin: 0 0 26px; }

/* ==========================================================================
   Footers
   ========================================================================== */
.footer {
  padding: 40px var(--section-x) 56px;
  border-top: 1px solid var(--hairline-soft);
  display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between;
  font-size: 14px; color: var(--bone-muted);
}
.footer__brand { max-width: 300px; }
.footer__brand strong { font-size: 18px; font-weight: 800; }
.footer__brand p { margin: 10px 0 0; line-height: 1.6; }
.footer__label {
  color: var(--bone); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
}
.footer__col p { margin: 10px 0 0; line-height: 1.8; }
.footer__col--languages { max-width: 260px; }
.footer__col--languages p { line-height: 1.6; }

.footer--compact {
  padding: 32px var(--section-x); gap: 20px;
}
.footer--compact .footer__wordmark { font-family: var(--display); color: var(--bone); }

/* ==========================================================================
   Crafts page
   ========================================================================== */
.craft-head {
  display: flex; align-items: baseline; gap: 16px;
  flex-wrap: wrap; margin-bottom: 8px;
}
.media-2up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 16px;
}
.reel-slot {
  position: relative; aspect-ratio: 16/9;
  background: var(--ink-raised); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.reel-slot__ring {
  width: 64px; height: 64px;
  border: 2px solid var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.reel-slot__play {
  width: 0; height: 0;
  border-left: 20px solid var(--bone);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.reel-slot p {
  font-size: 13px; color: var(--bone-muted);
  margin: 0; text-align: center; padding: 0 24px;
}
.still {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; border: 1px solid var(--hairline);
}
.still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.still__chip {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(12,9,9,.75); padding: 5px 9px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 14px;
}
.gallery img {
  width: 100%; height: 380px; object-fit: cover;
  border: 1px solid var(--hairline);
}
.gallery img.pos-top { object-position: 50% 20%; }

.audio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 14px;
}
.audio-card {
  background: var(--ink-raised); border: 1px solid var(--hairline);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.audio-card span { font-size: 13px; color: var(--bone-muted); }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 44px; }
.eq i { display: block; width: 5px; background: var(--red); }
.eq i.bone { background: var(--bone); }
.note { font-size: 13px; color: var(--bone-muted); margin: 18px 0 0; }
.note a { color: var(--red); }
.note a:hover { color: var(--bone); }

/* ==========================================================================
   Members page
   ========================================================================== */
.anchor-chips {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.anchor-chips a {
  border: 1px solid rgba(237,227,211,.3);
  padding: 9px 16px; transition: border-color .2s, color .2s;
}
.anchor-chips a:hover { border-color: var(--red); }

.member {
  padding: var(--inner-y) var(--section-x);
  border-top: 1px solid var(--hairline-soft);
  display: grid;
  /* minmax(0,1fr), not 1fr: the nested auto-fit work/loop grids have a
     min-content wider than a phone, and a bare 1fr track refuses to
     shrink below it. */
  grid-template-columns: minmax(220px,300px) minmax(0,1fr);
  gap: clamp(24px,4vw,56px);
  align-items: start;
}
.member__portrait {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.member__name {
  font-family: var(--display); font-size: 24px; display: block;
}
.member__role {
  font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
}
.member__social { display: flex; gap: 12px; font-size: 12px; color: var(--bone-muted); }
.member__bio {
  font-size: 16px; line-height: 1.7; color: var(--bone);
  max-width: 640px; margin: 0;
}
.member__bio-sub {
  font-size: 14px; line-height: 1.7; color: var(--bone-muted);
  max-width: 640px; margin: 14px 0 0;
}
.member__work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 12px; margin-top: 24px;
}
.member__work img {
  width: 100%; height: 280px; object-fit: cover;
  border: 1px solid var(--hairline);
}
.member__work img.pos-upper { object-position: 50% 25%; }
.member__loops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 12px; margin-top: 24px; max-width: 640px;
}
.loop-card {
  background: var(--ink-raised); border: 1px solid var(--hairline);
  padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.loop-card span { font-size: 13px; color: var(--bone-muted); }
.eq--sm { height: 30px; gap: 3px; }
.eq--sm i { width: 4px; }

/* The one true layout bug in the prototype: the two-column member grid
   crushes the bio column on narrow viewports. */
@media (max-width: 900px) {
  .member { grid-template-columns: minmax(0,1fr); }
  .member__work { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .member__loops { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .member__work { grid-template-columns: minmax(0,1fr); }
}

/* ==========================================================================
   FAQ + Contact page
   ========================================================================== */
.faq-section { padding: clamp(24px,4vw,48px) var(--section-x); max-width: 900px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: var(--ink-raised); border: 1px solid var(--hairline);
  padding: 20px 24px;
}
.faq-list summary {
  font-family: var(--display); font-size: 19px; cursor: pointer;
}
.faq-list p {
  color: var(--bone-muted); font-size: 15px;
  line-height: 1.7; margin: 12px 0 0;
}

.ask-section { padding: clamp(32px,5vw,56px) var(--section-x); max-width: 900px; }
.ask-panel {
  background: var(--ink-raised); border: 1px solid var(--hairline);
  padding: clamp(24px,4vw,40px);
}
.ask-panel h2 {
  font-family: var(--display); font-size: clamp(22px,3vw,30px); margin: 0 0 8px;
}
.ask-panel > p { color: var(--bone-muted); font-size: 15px; margin: 0 0 20px; }
.ask-form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.ask-form input,
.ask-form textarea {
  background: var(--ink); border: 1px solid rgba(237,227,211,.25);
  color: var(--bone); font-family: var(--body); font-size: 15px;
  padding: 14px 16px; outline: none;
}
.ask-form input:focus-visible,
.ask-form textarea:focus-visible { border-color: var(--red); }
.ask-form textarea { resize: vertical; }
.ask-form ::placeholder { color: var(--bone-muted); opacity: 1; }
.ask-form__hp { position: absolute; left: -9999px; }
.ask-status { font-size: 14px; line-height: 1.6; margin: 0; }
.ask-status[hidden] { display: none; }
.ask-status--ok { color: var(--bone); }
.ask-status--error { color: var(--bone-muted); }
.ask-status--error a { color: var(--red); }

.contact-band {
  padding: clamp(48px,8vw,90px) var(--section-x);
  background: var(--maroon);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 32px; align-items: start;
}
.contact-grid h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px,4.5vw,50px); line-height: 1; margin: 0;
}
.contact-grid h2 + p {
  font-size: 15px; line-height: 1.7; margin: 16px 0 0; max-width: 380px;
}
.contact-rows {
  display: flex; flex-direction: column; gap: 14px; font-size: 16px;
}
.contact-rows > a,
.contact-rows > span.row { display: flex; align-items: center; gap: 12px; color: var(--bone); }
.contact-tile {
  display: inline-flex; width: 38px; height: 38px; flex: none;
  background: var(--ink); align-items: center; justify-content: center;
}
.contact-tile svg { width: 17px; height: 17px; fill: none; stroke: var(--bone); stroke-width: 1.6; }
.contact-tile--text {
  font-family: var(--body); font-size: 13px;
  letter-spacing: .04em; color: var(--bone);
}
.contact-langs { font-size: 13px; color: rgba(237,227,211,.75); }
.contact-book { width: 100%; }
.contact-caption {
  font-size: 13px; color: rgba(237,227,211,.75);
  margin: 12px 0 0; text-align: center;
}

/* ==========================================================================
   Booking modal
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: var(--modal-scrim);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal__panel {
  background: var(--ink-raised); border: 1px solid rgba(237,227,211,.2);
  max-width: 440px; width: 100%; padding: 36px;
}
.modal__panel h3 { font-family: var(--display); font-size: 26px; margin: 0 0 10px; }
.modal__panel > p {
  font-size: 15px; line-height: 1.6; color: var(--bone-muted); margin: 0 0 22px;
}
.modal__actions { display: flex; flex-direction: column; gap: 10px; }
.modal__actions a {
  display: block; text-align: center; padding: 14px;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.modal__call { background: var(--red); }
.modal__call:hover { background: var(--maroon); color: var(--bone); }
.modal__email { border: 1px solid rgba(237,227,211,.35); }
.modal__email:hover { border-color: var(--red); }
.modal__close {
  background: none; border: none; color: var(--bone-muted);
  font-family: var(--body); font-size: 13px; cursor: pointer;
  margin-top: 6px; padding: 8px;
}
.modal__close:hover { color: var(--red); }
body.modal-open { overflow: hidden; }

/* ==========================================================================
   Glitch wordmark
   ========================================================================== */
.wordmark {
  position: relative; display: inline-block; white-space: nowrap;
  font-family: var(--display); font-weight: 800;
  letter-spacing: -.02em; line-height: .9;
  cursor: pointer; will-change: transform;
  color: var(--bone);
}
.wordmark__scale { position: relative; display: inline-block; will-change: transform; }
.wordmark__layer {
  position: absolute; inset: 0; opacity: 0;
  pointer-events: none; will-change: transform, opacity;
}
.wordmark__ghost-c { color: #12C2E9; mix-blend-mode: screen; }
.wordmark__ghost-r { color: #FF1E3C; mix-blend-mode: screen; }
.wordmark__base {
  position: relative; display: inline-block;
  color: var(--bone); text-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.wordmark__clip {
  color: transparent;
  -webkit-background-clip: text; background-clip: text;
}
.wordmark__flash { color: #fbf7ec; }
.wordmark__scan {
  color: transparent;
  -webkit-background-clip: text; background-clip: text;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.6) 0 2px, transparent 2px 5px);
  background-size: 100% 300%;
}
.wordmark__slices { position: absolute; inset: 0; pointer-events: none; }

@keyframes brkwScan {
  0%   { background-position: 0 -100%; opacity: 0; }
  10%  { opacity: .5; }
  100% { background-position: 0 200%; opacity: 0; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .checkerboard { animation: none; }
  .hero__frames img { animation: none; transition: none; }
  .hero__frames img.is-active { opacity: 1; }
  .craft-card img { transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Artist pages (video / photo / audio / fashion)
   Each craft maps to one artist, so the craft page and the profile page are
   the same page. Layout follows the client's sketch top to bottom.
   ========================================================================== */
.artist-header { padding: clamp(48px,7vw,80px) var(--section-x) clamp(24px,3vw,40px); }
.artist-header .eyebrow { margin: 0 0 12px; }
.artist-header h1 { font-family: var(--display); font-weight: 800;
  font-size: clamp(38px,7vw,84px); line-height: .95; margin: 0; }

/* Portrait column + bio, the two-up under the header */
.artist-intro {
  padding: 0 var(--section-x) clamp(32px,5vw,56px);
  display: grid;
  /* minmax(0,1fr) so the bio track can shrink past its content's min-content */
  grid-template-columns: minmax(220px,300px) minmax(0,1fr);
  gap: clamp(24px,4vw,56px);
  align-items: start;
}
.artist-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.artist-card__name { font-family: var(--display); font-size: 24px; display: block; }
.artist-card__role {
  font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
}
.artist-bio p {
  font-size: 16px; line-height: 1.7; color: var(--bone);
  max-width: 640px; margin: 0 0 16px;
}
.artist-bio p:last-child { margin-bottom: 0; }
.artist-bio blockquote {
  margin: 22px 0 0; padding: 0 0 0 18px;
  border-left: 2px solid var(--red);
  font-size: 17px; line-height: 1.6; color: var(--bone); max-width: 640px;
}

/* Social row. Links the client has not supplied yet render inert. */
.social-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.social-row a, .social-row span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--hairline); color: var(--bone);
  transition: border-color .2s, color .2s;
}
.social-row a:hover { border-color: var(--red); color: var(--red); }
.social-row span { opacity: .38; cursor: default; }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }
.social-note { font-size: 12px; color: var(--bone-muted); }

@media (max-width: 900px) {
  .artist-intro { grid-template-columns: minmax(0,1fr); }
}

/* ==========================================================================
   Portfolio grids
   ========================================================================== */
.work { padding: var(--inner-y) var(--section-x); border-top: 1px solid var(--hairline-soft); }
.work__head {
  display: flex; align-items: baseline; gap: 16px;
  flex-wrap: wrap; margin-bottom: 22px;
}
.work__head h2 { font-family: var(--display); font-weight: 700;
  font-size: clamp(26px,3.6vw,40px); margin: 0; }

.grid { display: grid; gap: 16px; }
.grid--video { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.grid--photo { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 14px; }
.grid--audio { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 12px; }
.grid--fashion { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 14px; }

/* ==========================================================================
   Slot - the empty state of a CMS-populated grid.
   Same panel treatment as the showreel slot, so an unfilled grid reads as
   deliberate rather than broken. Real entries replace these one for one.
   ========================================================================== */
.slot {
  position: relative;
  background: var(--ink-raised);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  padding: 20px; text-align: center;
}
.slot--16x9 { aspect-ratio: 16/9; }
.slot--4x5  { aspect-ratio: 4/5; }
.slot--wide { aspect-ratio: 21/9; }
.slot--audio { aspect-ratio: auto; min-height: 132px; align-items: flex-start; }
.slot__label { font-size: 13px; color: var(--bone-muted); margin: 0; }
.slot__mark {
  width: 44px; height: 44px; border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  color: var(--bone-muted);
}
.slot__mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ==========================================================================
   Video cards - click-to-play so six films do not load six iframes at once
   ========================================================================== */
.video-card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--ink-raised); border: 1px solid var(--hairline);
  padding: 0; cursor: pointer;
}
.video-card img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .75; transition: transform .6s, opacity .4s;
}
.video-card:hover img, .video-card:focus-visible img { transform: scale(1.05); opacity: 1; }
.video-card__play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px;
  border: 2px solid var(--red); border-radius: 50%;
  background: rgba(12,9,9,.55);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.video-card__play::after {
  content: ""; width: 0; height: 0;
  border-left: 20px solid var(--bone);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.video-card__title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(12,9,9,.92));
  font-size: 14px; text-align: left; color: var(--bone);
  pointer-events: none;
}
.video-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Audio cards
   ========================================================================== */
.audio-track {
  background: var(--ink-raised); border: 1px solid var(--hairline);
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.audio-track__title { font-size: 15px; color: var(--bone); }
.audio-track__note { font-size: 13px; color: var(--bone-muted); }
.audio-track audio { width: 100%; height: 36px; }

/* ==========================================================================
   Photo / lookbook items
   ========================================================================== */
.shot { position: relative; overflow: hidden; border: 1px solid var(--hairline); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot--4x5 { aspect-ratio: 4/5; }
.shot__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(12,9,9,.92));
  font-size: 13px; color: var(--bone-muted); pointer-events: none;
}

/* Wide feature block, the large image at the foot of the sketch */
.feature { padding: 0 var(--section-x) var(--inner-y); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-page-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: clamp(24px,4vw,48px); align-items: start;
}



/* The contact email is a single 31-character token. Below ~360px it cannot fit
   beside the 38px icon tile, so let it break rather than push the page wide. */
.contact-rows > a,
.contact-rows > span.row { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 400px) {
  .contact-rows { font-size: 15px; }
}

/* Hero with no frames uploaded yet: without photography behind it the full
   92vh is mostly empty, so tighten the composition. Adding frames in the CMS
   removes this class and restores the full-height cinematic hero. */
.hero--bare { min-height: min(68vh, 600px); }
.hero--bare .hero__content { padding-top: clamp(64px, 12vh, 130px); }

/* The feature image is a portrait frame, so at full content width it renders
   1280x1600 and swallows the page. Cap it and centre it instead. */
/* The feature runs the full content width - the client wants it big. A portrait
   holds 4:5, a landscape holds 16:9 so it stays wide instead of towering.
   gallery.js tags the landscape case from the image's own dimensions, so a
   replacement uploaded through the CMS sizes itself with no code change. */
.feature .grid { display: block; }
.feature .shot { aspect-ratio: 4/5; width: 100%; max-width: 100%; margin: 0; }
.feature .shot img { width: 100%; height: 100%; object-fit: cover; }
.feature .shot.is-landscape { aspect-ratio: 16/9; }
.feature .slot { max-width: 520px; margin: 0 auto; width: 100%; }
