/* ═══════════════════════════════════════════════
   Monologue — NEWSPAPER PORTFOLIO
   Shared Stylesheet
═══════════════════════════════════════════════ */

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

:root {
  --ink: #0d0d0d;
  --paper: #f5f0e8;
  --paper-dark: #ede8da;
  --paper-mid: #e2dccf;
  --rule: #0d0d0d;
  --muted: #5a5040;
  --col-gap: 32px;
  --page-pad: 48px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  line-height: 1.65;
}

/* ── NOISE TEXTURE ─────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ── MASTHEAD ──────────────────────────────── */
.masthead {
  border-bottom: 1px solid var(--ink);
  animation: fadeDown 0.5s ease both;
}

.masthead-top {
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px var(--page-pad);
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead-main {
  text-align: center;
  padding: 20px var(--page-pad) 0;
}

.vol-line {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo-title a {
  color: inherit;
  text-decoration: none;
}
.ornament {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0 4px;
  letter-spacing: 6px;
}

.logo-sub {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-bottom: 14px;
}

/* ── NAV ───────────────────────────────────── */
.main-nav {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--ink);
  border-bottom: 3px double var(--ink);
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 22px;
  border-right: 0.5px solid var(--ink);
  border-left: 0.5px solid var(--ink);
  transition: background 0.15s, color 0.15s;
}

.main-nav a:first-child { border-left: 0.5px solid var(--ink); }
.main-nav a:hover { background: var(--ink); color: var(--paper); }
.main-nav a.active { background: var(--ink); color: var(--paper); }

/* ── PAGE STRUCTURE ────────────────────────── */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  animation: fadeUp 0.5s ease 0.1s both;
}

.page-title-block {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--ink);
}

.kicker {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.page-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 16px;
}

.page-deck {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

/* ── SECTION HEADERS ───────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 0 0;
}

.section-label {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-rule-line {
  flex: 1;
  border: none;
  border-top: 0.5px solid var(--ink);
}

/* ── COL RULE (vertical) ───────────────────── */
.col-rule {
  width: 1px;
  background: var(--ink);
  align-self: stretch;
  min-height: 100%;
  flex-shrink: 0;
}

.rule-thin {
  border: none;
  border-top: 0.5px solid var(--ink);
  margin: 20px 0;
}

/* ── INDEX PAGE GRID ───────────────────────── */
.page-grid {
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  gap: 0 var(--col-gap);
  padding: 32px 0;
  border-bottom: 1px solid var(--ink);
}

.intro-right { padding-left: var(--col-gap); }

.intro-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 16px;
}

.intro-deck {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.55;
  max-width: 500px;
}

.intro-img {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 10px;
}

/* ── INTRO COLLAGE ROW (moodboard + supporting copy, side by side) ── */
.intro-collage-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 30px;
}

.intro-copy {
  padding-top: 28px;
}

.intro-copy p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 320px;
}

.intro-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.intro-cta em {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.intro-cta .cta-arrow {
  font-style: normal;
}

.intro-collage .cp {
  position: absolute;
  box-shadow: 0 10px 22px rgba(13, 13, 13, 0.2);
  opacity: 0;
  animation-duration: 0.7s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

.intro-collage {
  position: relative;
  width: 58%;
  max-width: 460px;
  aspect-ratio: 9/5;
  flex-shrink: 0;
}

.intro-collage .polaroid {
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 5px;
  box-sizing: border-box;
}

.intro-collage .cp-photo-a {
  left: 11%;
  top: 0;
  width: 53%;
  height: 73%;
  z-index: 2;
  animation-name: tiltInA;
  animation-delay: 0.05s;
}

.intro-collage .cp-photo-b {
  left: 0;
  bottom: 7%;
  width: 33%;
  height: 50%;
  z-index: 3;
  animation-name: tiltInB;
  animation-delay: 0.2s;
}

.intro-collage .cp-note {
  right: 6px;
  top: 30%;
  width: 31%;
  height: 10%;
  z-index: 1;
  background: var(--paper-dark);
  border: 1px solid var(--ink);
  clip-path: polygon(0% 2%, 8% 0%, 22% 3%, 40% 0%, 60% 2%, 80% 0%, 100% 3%, 100% 100%, 0% 100%);
  padding: 12px 11px;
  display: flex;
  align-items: flex-end;
  animation-name: tiltInNote;
  animation-delay: 0.35s;
}

.intro-collage .note-text {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.intro-collage .cp-quote {
  left: 52%;
  bottom: 4%;
  width: 46%;
  height: 57%;
  z-index: 2;
  background: var(--ink);
  padding: 15px;
  display: flex;
  align-items: flex-end;
  animation-name: tiltInQuote;
  animation-delay: 0.5s;
}

.intro-collage .cp-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.35;
  color: var(--paper);
}

.intro-collage .tape {
  position: absolute;
  width: 54px;
  height: 18px;
  background: rgba(232, 222, 200, 0.72);
  border: 1px solid rgba(13, 13, 13, 0.08);
  box-shadow: 0 3px 6px rgba(13, 13, 13, 0.15);
  z-index: 4;
  opacity: 0;
  animation-duration: 0.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

.intro-collage .tape-1 {
  left: 6%;
  top: -3%;
  animation-name: tiltInTape1;
  animation-delay: 0.65s;
}

.intro-collage .tape-2 {
  left: 44%;
  top: 30%;
  animation-name: tiltInTape2;
  animation-delay: 0.75s;
}

.intro-collage .tape-3 {
  left: 27%;
  bottom: 38%;
  animation-name: tiltInTape3;
  animation-delay: 0.85s;
}

@keyframes tiltInA     { from { opacity: 0; transform: translateY(10px) rotate(-3deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes tiltInB     { from { opacity: 0; transform: translateY(10px) rotate(-2deg); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes tiltInNote  { from { opacity: 0; transform: translateY(10px) rotate(4deg);  } to { opacity: 1; transform: rotate(4deg);  } }
@keyframes tiltInQuote { from { opacity: 0; transform: translateY(10px) rotate(3deg);  } to { opacity: 1; transform: rotate(3deg);  } }
@keyframes tiltInTape1 { from { opacity: 0; transform: rotate(-10deg); } to { opacity: 1; transform: rotate(-10deg); } }
@keyframes tiltInTape2 { from { opacity: 0; transform: rotate(8deg);   } to { opacity: 1; transform: rotate(8deg);   } }
@keyframes tiltInTape3 { from { opacity: 0; transform: rotate(-8deg);  } to { opacity: 1; transform: rotate(-8deg); } }

@media (max-width: 700px) {
  .intro-collage-row {
    flex-direction: column;
  }
  .intro-collage {
    width: 100%;
    max-width: none;
    aspect-ratio: unset;
    height: 420px;
  }
  .intro-collage .cp-photo-a { width: 58%; height: 70%; }
  .intro-collage .cp-photo-b { width: 42%; height: 40%; }
  .intro-collage .cp-note { width: 34%; height: 34%; }
  .intro-collage .cp-quote { width: 50%; height: 44%; }
}

.bio-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bio-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.nav-cards-label {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.nav-cards { display: flex; flex-direction: column; gap: 0; }

.nav-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 0.5px solid var(--ink);
  border-top: none;
  transition: background 0.15s;
}
.nav-card:first-child { border-top: 0.5px solid var(--ink); }
.nav-card:hover { background: var(--ink); color: var(--paper); }
.nav-card:hover .nav-card-num,
.nav-card:hover .nav-card-sub { color: rgba(245,240,232,0.55); }

.nav-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.nav-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  min-width: 28px;
  transition: color 0.15s;
}

.nav-card-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
}

.nav-card-sub {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
  transition: color 0.15s;
}

.nav-card-arrow {
  margin-left: auto;
  font-size: 16px;
}

/* ── PULL QUOTE STRIP ──────────────────────── */
.pull-quote-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 28px 80px;
  text-align: center;
}

.pull-quote-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.4;
  color: var(--ink);
}

/* ── THREE COL TEASER ──────────────────────── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 32px;
}

.teaser-card {
  text-decoration: none;
  color: var(--ink);
  padding: 24px var(--col-gap) 0 0;
  border-right: 0.5px solid var(--ink);
  transition: opacity 0.2s;
}
.teaser-card:last-child { border-right: none; padding-right: 0; }
.teaser-card:not(:first-child) { padding-left: var(--col-gap); padding-right: var(--col-gap); }
.teaser-card:last-child { padding-left: var(--col-gap); }
.teaser-card:hover { opacity: 0.7; }

.teaser-img { width: 100%; aspect-ratio: 3/2; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }

.col-tag {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.teaser-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.teaser-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── IMAGE PLACEHOLDERS ────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
}
.img-placeholder.dark { background: #1a1a1a; }
.img-placeholder.mid { background: var(--paper-mid); border: 1px solid var(--ink); }
.img-placeholder.light { background: var(--paper-dark); border: 1px solid var(--ink); }
.img-placeholder.tall { aspect-ratio: 3/4; width: 100%; }
.img-placeholder.medium { aspect-ratio: 4/3; width: 100%; }

.dark .ph-label, .mid .ph-label { font-family: 'Source Serif 4', serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.dark .ph-label { color: rgba(245,240,232,0.35); }
.mid .ph-label { color: var(--muted); }
.dark .ph-sub { font-family: 'IM Fell English', serif; font-style: italic; font-size: 13px; color: rgba(245,240,232,0.2); }
.mid .ph-sub { font-family: 'IM Fell English', serif; font-style: italic; font-size: 13px; color: var(--muted); opacity: 0.6; }
.ph-label { font-family: 'Source Serif 4', serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.ph-sub { font-family: 'IM Fell English', serif; font-style: italic; font-size: 13px; color: var(--muted); opacity: 0.6; }

/* Shorthand bg classes */
.dark { background: #1c1c1c; }
.mid { background: var(--paper-mid); border: 1px solid var(--ink); }
.light { background: var(--paper-dark); border: 1px solid var(--ink); }

/* ── WORK FEATURE ──────────────────────────── */
.work-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--col-gap);
  padding: 32px 0;
  border-bottom: 1px solid var(--ink);
}

.work-feature.reverse { direction: rtl; }
.work-feature.reverse > * { direction: ltr; }

.work-feature-img { width: 100%; }
.work-feature-img .img-placeholder { aspect-ratio: unset; height: 100%; min-height: 320px; }

.work-feature-img { width: 100%; overflow: hidden; }
.work-feature-img .img-placeholder { aspect-ratio: unset; height: 100%; min-height: 320px; }

.work-feature-img img {
  display: block;
  height: 112%;
  margin-top: -6%;
  object-fit: cover;
}

.work-feature-text { padding: 8px 0; }

.work-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
}

.work-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.work-meta { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

.meta-item {
  font-family: 'Source Serif 4', serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 0.5px solid var(--paper-mid);
  padding-bottom: 6px;
}
.meta-item strong { color: var(--ink); font-family: 'Libre Baskerville', serif; margin-right: 12px; }

/* ── SUB-NAV TABS ──────────────────────────── */
.sub-nav-wrap {
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
}

.sub-nav { display: flex; gap: 0; }

.sub-btn {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: none;
  border: 0.5px solid var(--ink);
  color: var(--muted);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.15s;
}
.sub-btn:last-child { border-right: 0.5px solid var(--ink); }
.sub-btn:hover { background: var(--ink); color: var(--paper); }
.sub-btn.active { background: var(--ink); color: var(--paper); }

/* ── GRID 2 ────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--col-gap);
  padding: 28px 0 32px;
}

.grid-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 6px;
}

.grid-text { font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ── MASONRY ───────────────────────────────── */
.masonry-grid {
  columns: 3;
  column-gap: var(--col-gap);
  padding: 28px 0 32px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--col-gap);
}

.masonry-item > div {
  width: 100%;
  aspect-ratio: 4/3;
}

.masonry-item.tall > div { aspect-ratio: 2/3; }

/* ── FILM PAGE ─────────────────────────────── */
.film-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--ink);
}

.film-embed-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0d0d0d;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.film-poster { width: 100%; height: 100%; cursor: pointer; }

.film-poster-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  transition: background 0.2s;
}
.film-poster:hover .film-poster-inner { background: #222; }

.play-btn {
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,240,232,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.film-poster:hover .play-btn { border-color: rgba(245,240,232,0.8); background: rgba(245,240,232,0.08); }

.film-poster-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(245,240,232,0.55);
}

.film-poster-year {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
}

.film-details {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0 var(--col-gap);
  padding: 32px 0;
  border-bottom: 1px solid var(--ink);
}

.credits-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.credits-table { width: 100%; border-collapse: collapse; }
.credits-table tr { border-bottom: 0.5px solid var(--paper-mid); }

.cred-role {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 0;
  width: 40%;
}

.cred-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 13px;
  color: var(--ink);
  padding: 7px 0;
}

.festival-list { list-style: none; }
.festival-list li {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 0.5px solid var(--paper-mid);
}
.festival-list li::before { content: '— '; color: var(--ink); font-style: normal; }

.stills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 20px 0 32px;
}

.still {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
}
.still .ph-label { color: rgba(245,240,232,0.25); }
.still.wide { grid-column: span 2; }

/* ── CLIENT PAGE ───────────────────────────── */
.client-table-grid {
  padding: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid var(--ink);
  margin-top: 20px;
}

.client-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0 var(--col-gap);
  align-items: center;
  border-bottom: 0.5px solid var(--ink);
  padding: 20px;
  transition: background 0.15s;
}
.client-row:last-child { border-bottom: none; }
.client-row:hover { background: var(--paper-dark); }

.client-row-img { width: 120px; aspect-ratio: 4/3; flex-shrink: 0; }

.client-row-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

.meta-pill {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0.5px solid var(--ink);
  padding: 3px 10px;
  color: var(--muted);
  white-space: nowrap;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 0.5px solid var(--ink);
  margin: 20px 0 40px;
}

.logo-cell {
  border-right: 0.5px solid var(--ink);
  padding: 28px 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.logo-cell:last-child { border-right: none; }
.logo-cell:hover { background: var(--paper-dark); }

.logo-placeholder {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ── CONTACT PAGE ──────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 0 var(--col-gap);
  padding: 40px 0 60px;
}

.contact-info-col { padding-left: var(--col-gap); }

.form-field { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-input:focus { border-bottom-width: 2px; }
.form-input::placeholder { color: var(--muted); font-style: italic; }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a5040'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}

.form-textarea { resize: vertical; min-height: 120px; border: 1px solid var(--ink); padding: 10px; margin-top: 2px; }

.form-submit {
  font-family: 'Source Serif 4', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 14px 36px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.form-submit:hover { opacity: 0.8; }

.info-block { margin-bottom: 20px; }

.info-label {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.info-value {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--ink);
  display: block;
  text-decoration: none;
}
.info-value:hover { text-decoration: underline; }

.info-sub { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 2px; display: block; }

.available { color: #2a6b3f; }

.social-links { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }

.social-link {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 0.5px solid var(--paper-mid);
  transition: color 0.15s;
}
.social-link:hover { color: var(--ink); }

.services-mini { list-style: none; margin-top: 8px; }
.services-mini li {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 0.5px solid var(--paper-mid);
  font-family: 'Libre Baskerville', serif;
}
.services-mini li::before { content: '— '; color: var(--ink); }

/* ── BRAND LOGOS STRIP ─────────────────────── */
.brand-logos-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 0.5px solid var(--ink);
  border-top: none;
  margin-bottom: 40px;
}

.brand-logo-cell {
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  box-shadow: -0.5px 0 0 0 var(--ink), 0 -0.5px 0 0 var(--ink);
}

.brand-logo-cell:last-child { border-right: none; }
.brand-logo-cell:hover { background: var(--paper-dark); }

.brand-logo-placeholder {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0.6;
}

.brand-logo-cell img {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.7);
  transition: filter 0.2s;
}
.brand-logo-cell:nth-child(4) img,
.brand-logo-cell:nth-child(5) img {
  max-width: 110px;
  max-height: 50px;
}

.brand-logo-cell:hover img { filter: grayscale(0) contrast(1); }

/* ── ABOUT PAGE ────────────────────────────── */
.about-top {
  display: grid;
  grid-template-columns: 320px auto 1fr;
  gap: 0 var(--col-gap);
  padding: 32px 0;
  border-bottom: 1px solid var(--ink);
}

.about-photo { margin-bottom: 20px; }

.quick-facts { border: 0.5px solid var(--ink); }

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--paper-mid);
}
.fact-row:last-child { border-bottom: none; }

.fact-label {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.fact-value {
  font-family: 'Libre Baskerville', serif;
  font-size: 12px;
  color: var(--ink);
  text-align: right;
}

.about-bio-col { padding-left: var(--col-gap); }

.about-bio-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 20px;
}

.about-bio-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0.5px solid var(--ink);
  padding: 5px 14px;
  color: var(--muted);
  transition: all 0.15s;
  cursor: default;
}
.skill-pill:hover { background: var(--ink); color: var(--paper); }

/* ── EDUCATION TIMELINE ────────────────────── */
.timeline-block {
  padding: 20px 0 32px;
  border-bottom: 1px solid var(--ink);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 var(--col-gap);
  padding: 20px 0;
  border-bottom: 0.5px solid var(--paper-mid);
}
.timeline-entry:last-child { border-bottom: none; }

.year-text {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  padding-top: 3px;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-inst {
  font-family: 'Source Serif 4', serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── AWARDS ────────────────────────────────── */
.awards-block {
  padding: 20px 0 48px;
}

.award-entry {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 20px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--paper-mid);
  transition: background 0.15s;
}
.award-entry:last-child { border-bottom: none; }
.award-entry:hover { background: var(--paper-dark); margin: 0 -20px; padding: 20px; }
.award-entry.featured .award-badge { color: var(--ink); }

.award-badge {
  font-size: 22px;
  color: var(--muted);
  padding-top: 2px;
  text-align: center;
}

.award-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.award-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
}

.award-year {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.award-org {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.award-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── BOOK DESIGN — CHARACTERS ──────────────── */
.characters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--col-gap);
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--ink);
}


.character-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 12px 0 14px;
}

.character-sketch-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sketch-label {
  font-family: 'Source Serif 4', serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.sketch-arrow {
  font-size: 20px;
  color: var(--muted);
  padding-top: 120px;
  flex-shrink: 0;
}

.character-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  font-family: 'IM Fell English', serif;
}

/* ── COLOUR PALETTE + TYPOGRAPHY ───────────── */
.palette-type-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 var(--col-gap);
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--ink);
}

.swatches {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid var(--ink);
}

.swatch-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 0.5px solid var(--paper-mid);
  padding-right: 14px;
  transition: background 0.15s;
}
.swatch-item:last-child { border-bottom: none; }
.swatch-item:hover { background: var(--paper-dark); }

@font-face {
  font-family: 'Energy Station';
  src: url('../assets/EnergyStation.ttf') format('truetype');
}
@font-face {
  font-family: 'WonderCity';
  src: url('../assets/Wondercity.otf') format('opentype');
}
@font-face {
  font-family: 'Basgira';
  src: url('../assets/BasgiraRegular-1jL1Z.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/Poppins-Regular.ttf') format('truetype');
}
.swatch {
  height: 48px;
  width: 48px;
  flex-shrink: 0;
}

.swatch-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 13px;
  color: var(--ink);
}

.swatch-hex {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.type-entry {
  border-bottom: 0.5px solid var(--paper-mid);
  padding: 8px 0;
}

.type-entry:last-child { border-bottom: none; }

.type-role {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.type-specimen {
  color: var(--ink);
  margin-bottom: 6px;
}

.type-detail {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
}

/* ── CHARACTER PROFILE (shared pattern — used by Film & Book Design) ── */
.film-char-single {
  margin-top: 24px;
}

.char-sketches-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
  margin-bottom: 28px;
}

.char-single-header {
  border-top: 1px solid var(--ink);
  border-bottom: 0.5px solid var(--paper-mid);
  padding: 18px 0;
  display: flex;
  align-items: baseline;
  gap: 28px;
}

.char-single-header .char-name {
  font-size: 28px;
  margin-bottom: 0;
  white-space: nowrap;
}

.char-single-header .char-desc {
  font-size: 15px;
  margin: 0;
}

.char-single-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid var(--ink);
  margin-top: 0;
}

.char-body-col {
  padding: 24px 24px 28px;
  border-right: 0.5px solid var(--ink);
}
.char-body-col:last-child {
  border-right: none;
}

.char-body-label {
  font-family: 'Source Serif 4', serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.char-body-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.char-sketch-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.char-img {
  width: 100%;
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.char-arrow {
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
}

.char-sketch-label {
  font-family: 'Source Serif 4', serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  display: block;
  margin-bottom: 3px;
}

.char-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.char-desc {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .char-sketches-row { grid-template-columns: 1fr; }
  .char-single-header { flex-direction: column; gap: 8px; }
  .char-single-body { grid-template-columns: 1fr; }
  .char-body-col { border-right: none; border-bottom: 0.5px solid var(--paper-mid); }
  .char-body-col:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .char-sketch-pair { grid-template-columns: 1fr; gap: 10px; justify-items: center; }
  .char-img { max-width: 220px; }
}

/* ── FULL LAYOUT SPREADS ───────────────────── */
.layout-spread {
  padding: 20px 0 12px;
}

.layout-spread-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink);
}

/* ── MOCKUPS ───────────────────────────────── */
.mockups-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  padding: 20px 0 48px;
}

.mockup-item.large {
  grid-column: span 2;
}

/* ── FOOTER ────────────────────────────────── */
.site-footer {
  border-top: 3px double var(--ink);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-copy {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }

.caption {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  font-family: 'Source Serif 4', serif;
}

/* ── ANIMATIONS ────────────────────────────── */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(8px);  } to { opacity: 1; transform: none; } }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 960px) {
  :root { --page-pad: 20px; }
  .page-grid, .film-details, .contact-layout { grid-template-columns: 1fr; }
  .col-rule { display: none; }
  .intro-right, .contact-info-col, .about-bio-col { padding-left: 0; border-top: 1px solid var(--ink); padding-top: 24px; margin-top: 24px; }
  .three-col { grid-template-columns: 1fr; }
  .teaser-card { border-right: none; border-bottom: 1px solid var(--ink); padding: 0 0 24px 0; }
  .teaser-card:not(:first-child) { padding: 24px 0; }
  .work-feature, .work-feature.reverse { grid-template-columns: 1fr; direction: ltr; }
  .grid-2 { grid-template-columns: 1fr; }
  .masonry-grid { columns: 2; }
  .stills-grid { grid-template-columns: repeat(2, 1fr); }
  .still.wide { grid-column: span 2; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .client-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .client-row-img { width: 100%; aspect-ratio: 16/9; }
  .client-row-meta { display: flex; flex-direction: row; gap: 8px; }
  .pull-quote-strip { padding: 24px 20px; }
  .masthead-top {
    font-size: 9px;
    padding: 8px 20px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: unset;
  }
  .main-nav a {
    padding: 10px 8px;
    font-size: 9px;
    text-align: center;
    border: 0.5px solid var(--ink);
    margin: -0.5px 0 0 -0.5px;
  }
  .brand-logos-strip, .brand-logos-strip[style] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .about-top { grid-template-columns: 1fr; }
  .characters-grid { grid-template-columns: 1fr; }
  .palette-type-grid { grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important; }
  .palette-type-grid .col-rule{
    display: none !important;
  }
  .layout-spread-2 { grid-template-columns: 1fr; }
  .mockups-grid { grid-template-columns: 1fr; }
  .mockup-item.large { grid-column: span 1; }
  .sketch-arrow { padding-top: 80px; }

  /* character sketch rows (used with inline max-width on graphic-design.html) */
  .character-row, .character-row[style] {
    flex-wrap: wrap !important;
  }
  .character-sketch-wrap, .character-sketch-wrap[style] {
  max-width: 42% !important;
  flex: 1 1 42% !important;
}
}

/* ── EXTRA-SMALL SCREENS ────────────────────── */
@media (max-width: 600px) {
  :root { --page-pad: 16px; --col-gap: 20px; }

  body { font-size: 14px; }

  .masthead-top { font-size: 8.5px; letter-spacing: 0.08em; }
  .logo-sub { font-size: 12px; padding: 0 12px 12px; }
  .vol-line { font-size: 9px; }

  .main-nav { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: 9px 8px; font-size: 8.5px; }

  .client-row, .client-row[style] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
  }
  .client-row-img { width: 100% !important; aspect-ratio: 16/9 !important; }
  .client-row-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .page-title-block { padding: 28px 0 22px; }
  .page-deck { font-size: 14px; }

  .section-header { flex-wrap: wrap; gap: 8px; padding-top: 22px; }
  .section-header .section-label:last-child { width: 100%; order: 3; }

  main { padding: 0 var(--page-pad); }

  .three-col-images { grid-template-columns: 1fr; }
  .two-col-images { grid-template-columns: 1fr; }
  .storyboard-grid, .storyboard-row-2, .storyboard-row-3, .storyboard-row-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .masonry-grid { columns: 1; }
  .grid-2 { gap: 16px; }

  .work-feature { padding: 24px 0; }
  .work-title { margin-bottom: 10px; }
  .work-body { font-size: 13px; margin-bottom: 12px; }

  .swatch-item { grid-template-columns: 36px 1fr auto; gap: 10px; }
  .swatch { height: 36px; width: 36px; }

  .character-sketch-wrap, .character-sketch-wrap[style] {
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .sketch-arrow { padding-top: 0; }
  .character-row, .character-row[style] {
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
}

  .char-sketches-row {
    gap: 12px;
  }

  .award-icon-col { padding: 20px !important; }
  .award-text-col { padding: 18px 16px !important; }

  .brand-logos-strip, .brand-logos-strip[style] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .brand-logo-cell, .brand-logo-cell[style] {
    padding: 20px 12px !important;
  }

  .review-card { padding: 20px 18px 18px; }

  .contact-layout { padding: 28px 0 40px; }
  .form-field { margin-bottom: 16px; }
}

@media (max-width: 768px) {
  .work-feature {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
  }

  .work-feature-img {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
    flex: none !important;
  }

  .work-feature-text {
    width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    border-left: none !important;
  }

  .work-feature.reverse {
    flex-direction: column !important;
  }

  .characters-grid {
    grid-template-columns: 1fr !important;
  }

  .palette-type-grid {
    grid-template-columns: 1fr !important;
  }

  .masonry-grid {
    columns: 1 !important;
  }

  .sub-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

.work-feature a {
  text-decoration: none;
  color: inherit;
}

.work-feature a:visited {
  color: inherit;
}

.work-feature a h3:hover {
  opacity: 0.7;
  cursor: pointer;
}

@media (max-width: 768px) {
  .logo-title {
    font-size: clamp(32px, 11vw, 52px);
    letter-spacing: -0.03em;
  }
}

/* ── SUB-NAV BUTTON ANIMATIONS ─────────────── */
.sub-btn {
  position: relative;
  overflow: hidden;
}

.sub-btn::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--paper);
  width: 0;
  transition: width 0.25s cubic-bezier(0.16,1,0.3,1);
  position: absolute;
  bottom: 0;
  left: 0;
}

.sub-btn:hover::after { width: 100%; }
.sub-btn.active::after { width: 100%; }

/* GALLERY HOVER — brand-logo style, scale only, no colour reveal */
.gallery-hover {
  transition: transform 0.2s ease, background 0.15s ease;
}
.gallery-hover:hover {
  transform: scale(1.05);
  background: var(--paper);
}

/* ── STORYBOARD LIGHTBOX ───────────────────── */
.sb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 40px;
}
.sb-lightbox-nav {
  position: absolute;
  top: 45%; 
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.4);
  background: rgba(13,13,13,0.6);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  transition: background 0.15s, border-color 0.15s;
  z-index: 10;
}
.sb-lightbox-nav:hover {
  background: rgba(13,13,13,0.9);
  border-color: rgba(245,240,232,0.8);
}
.sb-lightbox-prev { left: -56px; }
.sb-lightbox-next { right: -56px; }

@media (max-width: 960px) {
  .sb-lightbox {
    padding: 16px;
  }
  .sb-lightbox-prev { left: 6px; }
  .sb-lightbox-next { right: 6px; }
  .sb-lightbox-nav {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

.sb-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.sb-lightbox-inner {
  position: relative; 
  max-width: 900px;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--paper);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.sb-lightbox.active .sb-lightbox-inner {
  transform: scale(1);
}

.sb-lightbox-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0d0d0d;
  overflow: hidden;
}
.sb-lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sb-lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--ink);
}

.sb-lightbox-num {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.sb-lightbox-close {
  font-family: 'Source Serif 4', serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: none;
  border: 0.5px solid var(--ink);
  color: var(--ink);
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.sb-lightbox-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.sb-img.gallery-hover { cursor: pointer; }

/* ═══ FORCE CHARACTER ROW SIDE-BY-SIDE ON ALL SCREENS ═══ */
@media (max-width: 600px) {
  .character-row,
  .character-row[style] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .character-sketch-wrap,
  .character-sketch-wrap[style] {
    max-width: 42% !important;
    width: 42% !important;
    flex: 0 1 42% !important;
  }
  .sketch-arrow {
    padding-top: 0 !important;
    transform: none !important;
    flex-shrink: 0 !important;
  }
}
@media (max-width: 960px) {
  .brand-logos-strip, .brand-logos-strip[style] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .brand-logos-strip, .brand-logos-strip[style] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


  /* ── BACK LINK ─────────────────────────────── */
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 0.5px solid var(--paper-mid);
    padding-bottom: 2px;
    transition: color 0.15s, border-color 0.15s;
    margin-bottom: 32px;
  }
  .back-link:hover { color: var(--ink); border-color: var(--ink); }

  /* ══════════════════════════════════════════
     § 01 — FULL-WIDTH HORIZONTAL IMAGE
     One wide banner image, edge to edge.
  ══════════════════════════════════════════ */
  .intro-image-full {
    width: 100%;
    border-bottom: 1px solid var(--ink);
  }

  .intro-image-full .img-placeholder {
    width: 100%;
    min-height: 480px;
  }

  /* ── DETAILS ROW (brief · meta), below the image ── */
  .intro-details-row {
    display: grid;
    grid-template-columns: 1fr 1px 300px;
    border-bottom: 1px solid var(--ink);
  }

  .intro-copy-col {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .intro-eyebrow {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
  }

  .intro-copy-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
  }

  .intro-copy-col p {
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    max-width: 60ch;
  }

  .intro-meta-col {
    padding: 40px 0 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .im-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 0.5px solid var(--paper-mid);
  }
  .im-item:first-child { padding-top: 0; }
  .im-item:last-child { border-bottom: none; }

  .im-label {
    font-family: 'Source Serif 4', serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .im-value {
    font-family: 'Libre Baskerville', serif;
    font-size: 13px;
    color: var(--ink);
  }

  /* ── SECTION DIVIDER ──────────────────────── */
  .section-divider {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--ink);
    border-top: 1px solid var(--ink);
  }

  .sd-num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 11px;
    color: var(--muted);
    padding: 10px 20px 10px 0;
    border-right: 0.5px solid var(--ink);
    display: flex;
    align-items: center;
    margin-right: 20px;
  }

  .sd-label {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    flex: 1;
  }

  .sd-right {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    padding: 10px 0 10px 20px;
    border-left: 0.5px solid var(--ink);
  }

  /* ══════════════════════════════════════════
     § 02 — LOGO BAR (mark · theory)
     Full-bleed dark strip, logo left,
     rationale copy right.
  ══════════════════════════════════════════ */
  .logo-bar {
    display: grid;
    grid-template-columns: 380px 1fr;
    background: var(--ink);
    color: var(--paper);
    border-bottom: 1px solid var(--ink);
  }

  .logo-bar-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 40px;
    border-right: 0.5px solid rgba(245,240,232,0.25);
  }

  .logo-bar-mark .mark-word {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-align: center;
  }

  .logo-bar-theory {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .logo-bar-theory .lb-eyebrow {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.5);
    margin-bottom: 16px;
  }

  .logo-bar-theory h3 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 400;
    line-height: 1.35;
    max-width: 34ch;
    margin-bottom: 18px;
  }

  .logo-bar-theory p {
    font-family: 'Libre Baskerville', serif;
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(245,240,232,0.65);
    max-width: 56ch;
  }

  .logo-bar-theory .lb-points {
    display: flex;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .lb-point {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.85);
    border-top: 1px solid rgba(245,240,232,0.4);
    padding-top: 8px;
    max-width: 160px;
  }

  /* ══════════════════════════════════════════
     § 03 — THREE TYPEFACES OF THE LOGO
  ══════════════════════════════════════════ */
  .typefaces-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--ink);
  }

  .face-card {
    padding: 10px 20px;
    border-right: 0.5px solid var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    transition: background 0.15s;
  }
  .face-card:last-child { border-right: none; }
  .face-card:hover { background: var(--paper-dark); }

  .face-num {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--muted);
  }

  .face-word {
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.05;
    color: var(--ink);
  }

  .face-word.serif-display { font-family: 'Playfair Display', serif; font-weight: 900; letter-spacing: -0.01em; }
  .face-word.serif-italic  { font-family: 'IM Fell English', serif; font-style: italic; font-weight: 400; }
  .face-word.serif-body    { font-family: 'Libre Baskerville', serif; font-weight: 700; }

  .face-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .face-name {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .face-use {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 12px;
    color: var(--muted);
  }

  /* ── NEXT PROJECT ──────────────────────────── */
  .next-project {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--ink);
    text-decoration: none;
    transition: background 0.15s;
  }
  .next-project:hover { background: var(--paper-dark); margin: 0 -48px; padding: 32px 48px; }

  .np-label {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 6px;
  }
  .work-feature-img a {
  display: block;
  width: 100%;
  height: 100%;
}

  .np-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
  }

  .np-arrow {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--ink);
  }

  /* ── Previous PROJECT ──────────────────────────── */
  .next-project.previous-project{
    display:grid;
    grid-template-columns: 60px 1fr;
    align-items:center;
}

.next-project.previous-project .np-arrow{
    grid-column:1;
    justify-self:start;
    font-size:32px;
}

.next-project.previous-project > div{
    grid-column:2;
    justify-self:end;
    text-align:right;
}
  /* ══════════════════════════════════════════
     § 06 — MOODBOARD / COLLAGE
     Overlapping, layered tiles pinned at
     specific positions — a true corkboard
     collage rather than a tidy grid.
  ══════════════════════════════════════════ */
.brand-collage{
    position:relative;
    width:100%;
    height:700px;
    margin:90px 0;
}

.piece{
    position:absolute;
    display:flex;
    justify-content:center;
    align-items:center;
    background:var(--ink);
    color:#777;
    font-size:11px;
    letter-spacing:.18em;
    text-transform:uppercase;
}

/* ---------- TOP ROW ---------- */

.p1{
    width:230px;
    height:350px;
    left:25px;
    top:70px;
    z-index:1;
}

.p2{
    width:130px;
    height:220px;
    left:235px;
    top:275px;
    z-index:3;
}

.p3{
    width:220px;
    height:280px;
    left:350px;
    top:35px;
    z-index:2;
}

.p4{
    width:230px;
    height:330px;
    left:720px;
    top:45px;
    z-index:4;
}

.p5{
    width:170px;
    height:180px;
    left:960px;
    top:90px;
    z-index:5;
}


/* ---------- MIDDLE ---------- */

.p7{
    width:180px;
    height:220px;
    left:80px;
    top:460px;
    z-index:2;
}

.p8{
    width:360px;
    height:410px;
    left:500px;
    top:290px;
    z-index:1;
}

.p9{
    width:130px;
    height:200px;
    left:840px;
    top:330px;
    z-index:6;
}

.p10{
    width:190px;
    height:260px;
    left:1030px;
    top:250px;
    z-index:2;
}

.p11{
    width:180px;
    height:220px;
    right:80px;
    top:470px;
    z-index:3;
}

/* ---------- BOTTOM ---------- */

.p13{
    width:170px;
    height:280px;
    left:345px;
    top:450px;
    z-index:4;
}


@media (max-width:1100px){

.brand-collage{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    height:auto;
}

.collage-item{
    position:static !important;
    width:100% !important;
    height:220px !important;
}

}

  /* ══════════════════════════════════════════
     § 07 — PACKAGING (overlapping images + copy)
     Two stacked/offset image tiles on the left,
     a headline + body copy on the right, with the
     copy block sitting toward the top rather than
     dead-centre.
  ══════════════════════════════════════════ */
  .packaging-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 64px;
    padding: 72px 0;
    border-bottom: 1px solid var(--ink);
  }
 
  .packaging-showcase.reverse {
    direction: rtl;
  }
  .packaging-showcase.reverse > * {
    direction: ltr;
  }
 
  .packaging-visual {
    position: relative;
    height: 560px;
  }
 
  .packaging-visual .pv-back,
  .packaging-visual .pv-front {
    position: absolute;;
    overflow: hidden;
  }
 
  .packaging-visual .pv-back {
    width: 62%;
    height: 78%;
    left: 0;
    top: 0;
    z-index: 1;
  }
 
  .packaging-visual .pv-front {
    width: 55%;
    height: 66%;
    right: 0;
    bottom: 0;
    z-index: 2;
  }
 
  .packaging-visual .img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
  }
 
  .packaging-copy {
    padding-right: 20px;
    margin-top: 28px;
  }
 
  .packaging-showcase.reverse .packaging-copy {
    padding-right: 0;
    padding-left: 20px;
  }
 
  .packaging-copy .pc-eyebrow {
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    display: block;
  }
 
  .packaging-copy h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
  }
 
  .packaging-copy p {
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 46ch;
    margin-bottom: 28px;
  }
 
  .packaging-copy .work-meta {
    margin-top: 4px;
  }
 
  @media (max-width: 900px) {
    .packaging-showcase,
    .packaging-showcase.reverse {
      grid-template-columns: 1fr;
      direction: ltr;
      gap: 36px;
      padding: 48px 0;
    }
    .packaging-visual { height: 380px; }
    .packaging-copy { margin-top: 0; }
    .packaging-copy,
    .packaging-showcase.reverse .packaging-copy {
      padding-right: 0;
      padding-left: 0;
    }
  }

  /* ══════════════════════════════════════════
     § 09 — WEBSITE (staggered zigzag: image,
     text, text, image, image, text — three tiles
     with a sage tile bridging the two dark ones,
     and short copy blocks alternating sides)
  ══════════════════════════════════════════ */

.website-stagger{
    position:relative;
    width:100%;
    max-width:1250px;
    height:700px;
    margin:56px auto 0;
}

.ws-tile{
    position:absolute;
    overflow:hidden;
}

.ws-tile .img-placeholder{
    width:100%;
    height:100%;
    min-height:0;
}

.ws-tile.ws-img1{
    left:0;
    top:0;
    width:610px;
    height:270px;
    z-index:2;
}

.ws-tile.ws-img2{
    left:570px;
    top:240px;
    width:610px;
    height:270px;
    z-index:1;
}

.ws-tile.ws-img3{
    left:0;
    top:480px;
    width:610px;
    height:270px;
    z-index:2;
}

.ws-text{
    position:absolute;
    width:420px;
    font-family:'Libre Baskerville',serif;
    font-size:14px;
    line-height:1.9;
    color:var(--muted);
}

.ws-text.ws-text1{
    left:660px;
    top:0;
}

.ws-text.ws-text2{
    left:0;
    top:295px;
}

.ws-text.ws-text3{
    left:660px;
    top:550px;
}

/* ---------- Button ---------- */

.website-link-wrap{
    margin-top:80px;
    text-align:center;
}

.website-visit-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 34px;

    font-family:'Source Serif 4',serif;
    font-size:11px;
    letter-spacing:.22em;
    text-transform:uppercase;

    color:var(--ink);
    text-decoration:none;

    border-top:1px solid var(--ink);
    border-bottom:1px solid var(--ink);

    transition:.25s ease;
}

.website-visit-link:hover{
    letter-spacing:.28em;
}

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

@media (max-width:1100px){

.website-stagger{
    position:static;
    height:auto;
    display:flex;
    flex-direction:column;
    gap:24px;
}

.ws-tile,
.ws-text{
    position:static;
    width:100% !important;
}

.ws-tile{
    height:260px !important;
}

}

  @media (max-width: 700px) {
    .website-stack {
      max-width: 100%;
      aspect-ratio: 4/5;
    }
    .website-stack .site-frame { width: 92%; }
    .website-stack .frame-1 { top: 0; }
    .website-stack .frame-2 { top: 18%; left: 6%; }
    .website-stack .frame-3 { top: 36%; left: 4%; }
  }

  @media (max-width: 860px) {
    .intro-image-full .img-placeholder { min-height: 260px; }
    .intro-details-row { grid-template-columns: 1fr; }
    .intro-details-row > div:nth-child(2) { display: none; }
    .intro-copy-col, .intro-meta-col { padding: 28px 0; border-top: 1px solid var(--ink); }
    .intro-copy-col { border-top: none; }
    .intro-meta-col { padding-left: 0; }
    .logo-bar { grid-template-columns: 1fr; }
    .logo-bar-mark { border-right: none; border-bottom: 0.5px solid rgba(245,240,232,0.25); padding: 40px 24px; }
    .logo-bar-theory { padding: 36px 24px; }
    .typefaces-row { grid-template-columns: 1fr; }
    .face-card { border-right: none; border-bottom: 0.5px solid var(--ink); }
    .face-card:last-child { border-bottom: none; }
    .next-project:hover { margin: 0; padding: 32px 0; }
    .collage-board { height: auto; }
    .collage-board .collage-tile {
      position: static;
      width: 100% !important;
      height: 220px !important;
      transform: none !important;
      margin-bottom: 14px;
    }
    .collage-note { display: none; }
  }