/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #faf8f3;
  --off-white:  #f4f0e6;
  --ivory:      #ede7d6;
  --gold:       #c9a84c;
  --gold-lt:    #dfc06a;
  --gold-dk:    #9a7a28;
  --gold-pale:  #f0e4c0;
  --black:      #0f0d09;
  --ink:        #1a1510;
  --charcoal:   #2e2820;
  --smoke:      #6b6050;
  --mid:        #8c7d68;

  --nav-h:      72px;
  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

html { scroll-behavior: smooth; font-size: 17px; overflow-x: hidden; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--gold-dk); color: var(--white); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); }

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

a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHY UTILITIES
============================================================ */
.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-dk);
  text-align: center;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  margin: 0.6rem 0;
}

.section-head { margin-bottom: 4rem; }

/* ============================================================
   DECO RULE
============================================================ */
.deco-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 1rem 0;
}

.dr-line {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.dr-line:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.dr-gem {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out) var(--delay, 0s),
              transform 0.85s var(--ease-out) var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: box-shadow 0.3s ease;
}

#nav.scrolled {
  box-shadow: 0 2px 24px rgba(26, 21, 16, 0.08);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.nav-logo-main {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gold-dk);
  letter-spacing: 0.12em;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-dk); }

.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO CORNER FRAMES
============================================================ */
.hero-corner {
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.hero-corner.tl { top: 24px; left: 24px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.hero-corner.tr { top: 24px; right: 24px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.hero-corner.bl { bottom: 24px; left: 24px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.hero-corner.br { bottom: 24px; right: 24px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 1rem 2.4rem;
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, background 0.4s ease;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-dk);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}

.btn-primary:hover { color: var(--white); }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary span, .btn-primary { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  padding: 1rem 2.4rem;
  border: 1px solid rgba(26, 21, 16, 0.35);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}

.btn-ghost:hover { color: var(--white); border-color: var(--ink); }
.btn-ghost:hover::before { transform: scaleX(1); }
.btn-ghost > * { position: relative; z-index: 1; }

/* ============================================================
   HOME — HERO
============================================================ */
.page-home .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-top: var(--nav-h);
}

/* Curtain panels */
.curtain-left,
.curtain-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: var(--ink);
  z-index: 10;
  transition: transform 1.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.curtain-left  { left: 0; }
.curtain-right { right: 0; transform-origin: right; }

/* Vertical grain on curtains */
.curtain-left::after,
.curtain-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 12px,
    rgba(201,168,76,0.03) 12px,
    rgba(201,168,76,0.03) 13px
  );
}

body.curtain-open .curtain-left  { transform: translateX(-100%); }
body.curtain-open .curtain-right { transform: translateX(100%); }

.hero-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s ease 1.2s, transform 1s var(--ease-out) 1.2s;
}

body.curtain-open .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-ornament-top,
.hero-ornament-bot {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.hero-ornament-top { margin-bottom: 1.6rem; }
.hero-ornament-bot { margin-top: 1.6rem; }

.hero-discipline {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.65em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 1.2rem;
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.hero-name-first {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 7.5rem);
  color: var(--ink);
  letter-spacing: 0.1em;
  line-height: 1;
}

.hero-name-last {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 3.8rem);
  color: var(--ink);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--mid);
  letter-spacing: 0.2em;
  margin-top: 0.8rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.8rem;
}

/* ============================================================
   HOME — INTRO STRIP
============================================================ */
.intro-strip {
  background: var(--ink);
  padding: 3.5rem 0;
  position: relative;
}

.intro-strip::before,
.intro-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.4), transparent);
}

.intro-strip::before { top: 0; }
.intro-strip::after  { bottom: 0; }

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.intro-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0 3.5rem;
}

.intro-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 0.1em;
}

.intro-label {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.4);
}

.intro-strip-div {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.25);
  flex-shrink: 0;
}

/* ============================================================
   HOME — INTRO STATEMENT
============================================================ */
.intro-statement {
  padding: 5rem 0 4rem;
  background: var(--ink);
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.intro-statement-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.intro-statement-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.75;
  color: rgba(250,248,243,0.82);
  text-align: center;
  max-width: 640px;
  letter-spacing: 0.02em;
}

.intro-statement-deco { flex-shrink: 0; }

.intro-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.intro-pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.2rem;
}

.intro-pillar-gem {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.7;
}

.intro-pillar-label {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  white-space: nowrap;
}

.intro-pillar-sep {
  width: 1px;
  height: 28px;
  background: rgba(201,168,76,0.2);
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .intro-statement-inner { flex-direction: column; gap: 1.5rem; }
  .intro-statement-deco  { display: none; }
  .intro-pillars { gap: 1rem; }
  .intro-pillar  { padding: 0 1rem; }
  .intro-pillar-sep { display: none; }
}

/* ============================================================
   HOME — FEATURED WORKS
============================================================ */
.featured-section {
  padding: 7rem 0;
  background: var(--white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.featured-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  transition-delay: var(--delay, 0s);
}

.featured-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.featured-card-img svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease-out);
}

.featured-card-photo,
.featured-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
}

.featured-card:hover .featured-card-img svg,
.featured-card:hover .featured-card-photo,
.featured-card:hover .featured-card-video {
  transform: scale(1.04);
}

/* Gold corner frames on featured cards */
.featured-card::before,
.featured-card::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  z-index: 3;
  pointer-events: none;
  transition: width 0.4s ease, height 0.4s ease;
}

.featured-card::before {
  top: 10px; left: 10px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.featured-card::after {
  bottom: calc(1px + 54px); right: 10px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.featured-card:hover::before,
.featured-card:hover::after {
  width: 34px; height: 34px;
}

.featured-card-body {
  padding: 1.2rem 1.4rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  background: var(--white);
}

.featured-act {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.3rem;
}

.featured-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.featured-meta {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--mid);
}

.section-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ============================================================
   HOME — PHILOSOPHY
============================================================ */
.philosophy-section {
  padding: 7rem 0;
  background: var(--off-white);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.philosophy-deco svg { display: block; }

.philosophy-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  line-height: 1.65;
  color: var(--ink);
  font-weight: 300;
}

.philosophy-quote-long {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.8;
  max-width: 680px;
}

.philosophy-attr {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

/* ============================================================
   PAGE HEADER (about + works)
============================================================ */
.page-header {
  position: relative;
  padding-top: var(--nav-h);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.page-header-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
}

.page-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0.6rem 0 0.8rem;
}

.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--mid);
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-bio-section {
  padding: 6rem 0 5rem;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 6rem;
  align-items: start;
}

/* Portrait */
.portrait-frame {
  position: relative;
  padding: 10px;
  background: var(--off-white);
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0.4);
  pointer-events: none;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201,168,76,0.15);
  pointer-events: none;
}

.portrait-img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 380 / 500;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 25%;
  display: block;
}

.portrait-frame-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.portrait-caption {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dk);
  text-align: center;
  margin-top: 1.2rem;
}

/* Disciplines */
.about-disciplines {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(201,168,76,0.2);
  background: var(--off-white);
}

.discipline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.discipline-list li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.discipline-gem {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* About text */
.programme-note-header {
  padding: 1.8rem;
  border: 1px solid rgba(201,168,76,0.25);
  background: var(--off-white);
  position: relative;
  margin-bottom: 2.5rem;
}

.programme-note-header::before,
.programme-note-header::after {
  content: '';
  position: absolute;
  width: 30px; height: 30px;
}

.programme-note-header::before {
  top: 8px; left: 8px;
  border-top: 1px solid rgba(201,168,76,0.5);
  border-left: 1px solid rgba(201,168,76,0.5);
}

.programme-note-header::after {
  bottom: 8px; right: 8px;
  border-bottom: 1px solid rgba(201,168,76,0.5);
  border-right: 1px solid rgba(201,168,76,0.5);
}

.programme-note-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-top: 0.6rem;
}

.about-body p,
.about-body-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 1.2rem;
}

.philosophy-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.7;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding: 0.8rem 0 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.credit-item label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.3rem;
}

.credit-item span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
}

/* Collaborators strip */
.context-strip {
  padding: 5rem 0;
  background: var(--off-white);
  border-top: 1px solid rgba(201,168,76,0.15);
}

.collab-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.collab-item {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.collab-sep {
  color: var(--gold);
  font-size: 0.7rem;
}

/* ============================================================
   WORKS PAGE
============================================================ */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  position: sticky;
  top: var(--nav-h);
  z-index: 800;
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 0;
}

.filter-label {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--mid);
  white-space: nowrap;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: none;
  border: 1px solid transparent;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: rgba(201,168,76,0.4);
  color: var(--gold-dk);
}

.filter-btn.active {
  border-color: var(--gold-dk);
  color: var(--gold-dk);
  background: rgba(201,168,76,0.06);
}

.works-section {
  padding: 5rem 0 7rem;
  background: var(--white);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Work card */
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition-delay: var(--delay, 0s);
  transition: opacity 0.4s ease;
}

.work-card.hidden {
  display: none;
}

.work-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--off-white);
}

.work-card-img svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease-out);
}

.work-card-img:hover svg {
  transform: scale(1.04);
}

/* Hover overlay */
.work-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(15,13,9,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s ease, background 0.4s ease;
}

.work-card-img:hover .work-card-hover {
  opacity: 1;
  background: rgba(15,13,9,0.35);
}

.work-hover-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

/* Gold corner frames */
.work-card-img::before,
.work-card-img::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  z-index: 3;
  pointer-events: none;
  transition: width 0.35s ease, height 0.35s ease;
}

.work-card-img::before {
  top: 10px; left: 10px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.work-card-img::after {
  bottom: 10px; right: 10px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.work-card-img:hover::before,
.work-card-img:hover::after {
  width: 30px; height: 30px;
}

.work-card-body {
  padding: 1.2rem 0 0.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  margin-top: 0;
}

.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.work-act {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.work-year {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--mid);
}

.work-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.work-venue {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 0.8rem;
}

.work-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.work-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.28rem 0.65rem;
}

/* Works CTA */
/* ============================================================
   SELECTED WRITINGS
============================================================ */
.writings-section {
  padding: 5rem 0 2rem;
}

.writings-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.writing-entry {
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.18);
}

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

.writing-entry-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.writing-entry-kind {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.writing-entry-year {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-light);
}

.writing-entry-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.writing-entry-dek {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-light);
}

.writing-entry-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.writing-entry-link {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.2rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.writing-entry-link:hover {
  color: var(--gold);
  border-color: var(--ink);
}

.writings-empty {
  text-align: center;
  max-width: 520px;
  margin: 2rem auto 4rem;
}

.writings-empty-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-light);
  margin-top: 1.5rem;
}

.works-contact-cta {
  padding: 6rem 0;
  background: var(--off-white);
  border-top: 1px solid rgba(201,168,76,0.15);
}

.works-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.works-cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--ink);
  text-transform: uppercase;
}

.works-cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-section {
  padding: 6rem 0 8rem;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(201,168,76,0.3);
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.contact-link-card:hover {
  border-color: var(--gold);
  background: var(--off-white);
  transform: translateY(-2px);
}

.contact-link-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  color: var(--gold-dk);
}

.contact-link-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  text-align: left;
}

.contact-link-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.contact-link-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--ink);
}

/* ============================================================
   WORK DETAIL MODAL
============================================================ */
#work-modal,
#workbook-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

#work-modal.open,
#workbook-modal.open {
  pointer-events: all;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 9, 0.65);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 1020px);
  max-height: 88vh;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;       /* one row that fills max-height */
  border: 1px solid rgba(201,168,76,0.25);
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 20px 60px rgba(15,13,9,0.25);
}

#work-modal.open .modal-panel,
#workbook-modal.open .modal-panel {
  transform: translateY(0) scale(1);
}

/* Workbook modal — stacked layout: image on top, writing underneath */
#workbook-modal .modal-panel {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  max-height: 90vh;
  overflow-y: auto;
}

#workbook-modal .workbook-modal-gallery {
  height: 60vh;
  max-height: 60vh;
}

#workbook-modal .modal-content {
  overflow-y: visible;
  min-height: auto;
}

.modal-content {
  padding: 3rem 2.5rem;
  overflow-y: auto;
  min-height: 0;                 /* let grid child shrink so scroll triggers */
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.3);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.modal-act {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.modal-rule {
  height: 1px;
  background: linear-gradient(to right, var(--gold-pale), transparent);
}

.modal-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.modal-info-item label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.3rem;
}

.modal-info-item span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--charcoal);
}

.modal-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
}

.modal-desc p + p {
  margin-top: 1rem;
}

/* ============================================================
   WORK CARD — real photo / video
============================================================ */
.work-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-card-img:hover .work-card-photo {
  transform: scale(1.04);
}

.work-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-card-img:hover .work-card-video {
  transform: scale(1.04);
}

/* ============================================================
   MODAL — image gallery
============================================================ */
.modal-gallery {
  position: relative;
  overflow: hidden;
  min-height: 0;                 /* let grid child shrink */
  background: var(--ink);
  display: flex;
  flex-direction: column;
}

.modal-gallery-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.modal-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.35s ease;
}

.modal-gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: var(--off-white);
}

.modal-gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--black);
}

/* Thumbnail strip */
.modal-gallery-strip {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: var(--ink);
  flex-shrink: 0;
}

.modal-thumb {
  flex: 1;
  height: 68px;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.modal-thumb.active,
.modal-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}

.modal-thumb-video {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-play {
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

/* Prev / next arrows */
.modal-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(250,248,243,0.92);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.modal-gallery-arrow:hover {
  background: var(--white);
  border-color: var(--gold);
}

.modal-gallery-prev { left: 10px; }
.modal-gallery-next { right: 10px; }

/* ============================================================
   DIGITAL WORKBOOK
============================================================ */
.workbook-section {
  padding: 5rem 0 7rem;
  background: var(--white);
}

.workbook-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}

.workbook-intro-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--charcoal);
}

.workbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

/* Workbook tile */
.workbook-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink);
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition-delay: var(--delay, 0s);
}

/* Gold corner frames, matching work cards */
.workbook-tile::before,
.workbook-tile::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  z-index: 3;
  pointer-events: none;
  transition: width 0.35s ease, height 0.35s ease;
}

.workbook-tile::before {
  top: 10px; left: 10px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.workbook-tile::after {
  bottom: 10px; right: 10px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.workbook-tile:hover::before,
.workbook-tile:hover::after {
  width: 30px; height: 30px;
}

.workbook-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: top center;
}

.workbook-tile:hover .workbook-tile-img {
  transform: scale(1.04);
}

.workbook-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.4rem;
  color: var(--white);
  background: linear-gradient(to top, rgba(15,13,9,0.95) 0%, rgba(15,13,9,0.85) 30%, rgba(15,13,9,0) 65%);
}

.workbook-tile-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

.workbook-tile-label {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.workbook-tile-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-lt);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.workbook-tile:hover .workbook-tile-hint {
  opacity: 1;
  transform: translateY(0);
}

.workbook-tile-hint svg {
  flex-shrink: 0;
}

/* Workbook item modal */
.workbook-modal-gallery {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.workbook-modal-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: top center;
  cursor: zoom-in;
  transition: opacity 0.25s ease;
}

.workbook-modal-img:hover {
  opacity: 0.92;
}

.workbook-modal-img-hint {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(15,13,9,0.6);
  border: 1px solid rgba(201,168,76,0.4);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.workbook-modal-img-hint:hover {
  background: rgba(15,13,9,0.85);
  border-color: var(--gold);
}

/* ============================================================
   WORKBOOK IMAGE — FULL SCREEN VIEWER
============================================================ */
#workbook-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#workbook-fullscreen.open {
  pointer-events: all;
  opacity: 1;
}

#workbook-fullscreen .modal-backdrop {
  background: rgba(10, 8, 6, 0.94);
  backdrop-filter: blur(2px);
}

.workbook-fullscreen-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 94vw;
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0,0,0,0.5);
  transform: scale(0.97);
  transition: transform 0.35s var(--ease-out);
}

#workbook-fullscreen.open .workbook-fullscreen-img {
  transform: scale(1);
}

.workbook-fullscreen-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 10;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  background: var(--ink);
  border-top: 1px solid rgba(201,168,76,0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  margin-bottom: 2rem;
}

.footer-name {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.85);
  margin-bottom: 0.3rem;
}

.footer-role {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(201,168,76,0.7);
  letter-spacing: 0.1em;
}

.footer-deco { justify-self: center; }

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.footer-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.45);
  transition: color 0.25s ease;
}

.footer-nav a:hover { color: var(--gold); }

.footer-base {
  text-align: center;
}

.footer-base p {
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.25);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: 300px 1fr;
    gap: 4rem;
  }
}

@media (max-width: 900px) {
  .featured-grid,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  /* Let the whole modal scroll as one column on mobile, so the
     description below the gallery is always reachable */
  #work-modal.open,
  #workbook-modal.open {
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-backdrop {
    position: fixed;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    max-height: none;
    overflow: visible;
    margin: 1.5rem auto;
  }

  .modal-gallery {
    min-height: 0;
  }

  .modal-gallery-main {
    height: 50vh;
    max-height: 480px;
    flex: none;
  }

  /* Show the whole image within the fixed-height gallery on mobile,
     rather than cropping it with object-fit: cover. */
  .modal-gallery-img,
  .modal-gallery-video {
    object-fit: contain;
    object-position: center;
  }

  .modal-content {
    overflow: visible;
  }

  .modal-close {
    position: fixed;
  }

  /* Workbook modal on mobile: let the outer modal be the single
     scroll container (image stays pinned to the top, description
     scrolls underneath it) instead of the panel/gallery scrolling
     internally and hiding the image off-screen. */
  #workbook-modal .modal-panel {
    max-height: none;
    overflow: visible;
  }

  #workbook-modal .workbook-modal-gallery {
    height: 50vh;
    max-height: 50vh;
    overflow: hidden;
  }

  #workbook-modal .modal-content {
    overflow: visible;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-deco { display: none; }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
  }

  .footer-nav a {
    font-size: 0.6rem;
  }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(250,248,243,0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.8rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    transform: translateY(calc(-100% - var(--nav-h)));
    transition: transform 0.4s var(--ease-out);
    backdrop-filter: blur(10px);
    align-items: center;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-hamburger { display: flex; }

  .featured-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    row-gap: 2rem;
  }

  .intro-strip-div:nth-child(4) { display: none; }

  .hero-corner { width: 32px; height: 32px; }
  .hero-corner.tl, .hero-corner.bl { left: 14px; }
  .hero-corner.tr, .hero-corner.br { right: 14px; }
  .hero-corner.tl, .hero-corner.tr { top: 14px; }
  .hero-corner.bl, .hero-corner.br { bottom: 14px; }

  .credits-grid { grid-template-columns: 1fr; }

  .modal-info { grid-template-columns: 1fr; }

  .filter-bar-inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* ============================================================
   TOUCH DEVICES — disable hover-only overlays
   On touchscreens, :hover can get "stuck" after a tap, leaving
   the "View Scene" overlay text/zoom sitting over the image.
   These effects are desktop-only niceties, so switch them off
   for devices that don't have a real hover/pointer.
============================================================ */
@media (hover: none) {
  .work-card-img:hover svg,
  .work-card-img:hover .work-card-photo,
  .work-card-img:hover .work-card-video,
  .featured-card:hover .featured-card-img svg,
  .featured-card:hover .featured-card-photo,
  .featured-card:hover .featured-card-video {
    transform: none;
  }

  .work-card-img:hover .work-card-hover {
    opacity: 0;
    background: rgba(15,13,9,0);
  }

  .work-card-img:hover::before,
  .work-card-img:hover::after {
    width: 18px;
    height: 18px;
  }

  .featured-card:hover::before,
  .featured-card:hover::after {
    width: 20px;
    height: 20px;
  }
}
