@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400&display=swap');

/* ============================================================
   VARIABLES & RESET
   ============================================================ */

:root {
  --black:      #0D0D0D;
  --off-white:  #F2EDE8;
  --red:        #C0192C;
  --crimson:    #8B0000;
  --salmon:     #D4826A;
  --ink:        #1A1A1A;
  --chalk:      #E8E4DF;
  --grey-mid:   #6B6459;
  --nav-h:      64px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: var(--black);
  color: var(--off-white);
}

body.page-light { background: var(--off-white); color: var(--ink); }

/* No-JS fallback: all GSAP-targeted elements must be visible without JavaScript */
.site-nav,
.hero-img img,
.hero-name,
.page-header h1,
.statement-image,
.about-portrait,
.masonry-item,
.bag-item,
.teaser-item { opacity: 1; }

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

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

@media (pointer: fine) {
  * { cursor: none !important; }
}

.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: width 0.4s ease, height 0.4s ease;
}

/* Over images: blooms into a large lens that inverts what's beneath */
.site-cursor.is-over-image {
  width: 72px;
  height: 72px;
}

/* Over links: modest expansion */
.site-cursor.is-over-link:not(.is-over-image) {
  width: 22px;
  height: 22px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease;
}

/* Pages without a hero: nav is immediately solid */
.no-hero .site-nav,
.site-nav.scrolled { background: var(--black); }

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--off-white);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 300;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--off-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-img img,
.hero-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(13,13,13,0.75) 0%,
    rgba(13,13,13,0.15) 55%,
    transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 56px;
  left: 48px;
  right: 48px;
  text-align: right;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.92;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--chalk);
  margin-top: 60px;
  max-width: 520px;
  margin-left: auto;
  line-height: 1.7;
  opacity: 0.85;
}

/* ============================================================
   PAGE HEADER (non-hero pages)
   ============================================================ */

.page-header {
  padding: 140px 48px 64px;
  border-bottom: 1px solid rgba(242,237,232,0.1);
}

.page-light .page-header {
  border-bottom-color: rgba(26,26,26,0.12);
}

.page-header .section-label {
  margin-bottom: 16px;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.section-label {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
}

hr.rule {
  border: none;
  border-top: 1px solid currentColor;
  opacity: 0.12;
  margin: 72px 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */

section { padding: 96px 48px; }

.section-dark  { background: var(--black);    color: var(--off-white); }
.section-light { background: var(--off-white); color: var(--ink); }
.section-chalk { background: var(--chalk);     color: var(--ink); }

/* Two-column grid */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col-text {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: center;
}

/* ============================================================
   HOME — STATEMENT SECTION
   ============================================================ */

.statement-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--chalk);
}

.text-link {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  padding-bottom: 3px;
  display: inline-block;
  margin-top: 16px;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--off-white);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.text-link:hover::after { transform: scaleX(0); }

.statement-image {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.statement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.statement-image:hover img { transform: scale(1.02); }

/* ============================================================
   HOME — TEASER GRID
   ============================================================ */

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}

.teaser-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  display: block;
}

.teaser-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teaser-item:hover img { transform: scale(1.02); }

.teaser-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.55) 0%, transparent 50%);
}

.teaser-label {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-detail {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 40px;
}

.about-bio p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 28px;
}

/* ============================================================
   EXHIBITIONS PAGE
   ============================================================ */

.exhibitions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ex-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  font-style: italic;
}

.ex-list { list-style: none; }

.ex-list li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(242,237,232,0.08);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ex-list li:first-child { border-top: 1px solid rgba(242,237,232,0.08); }

.ex-year {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  min-width: 36px;
  padding-top: 2px;
}

.ex-info em { font-style: italic; }

/* ============================================================
   PERFORMANCE PAGE
   ============================================================ */

.perf-intro {
  max-width: 640px;
  margin-bottom: 80px;
}

.perf-intro p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--chalk);
  margin-bottom: 24px;
}

.masonry {
  columns: 2;
  column-gap: 4px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
  overflow: hidden;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img { transform: scale(1.02); }

.perf-history {
  margin-top: 96px;
}

.perf-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}

.perf-list li {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(242,237,232,0.08);
  font-size: 0.9rem;
}

.perf-list li:first-child,
.perf-list li:nth-child(2) { border-top: 1px solid rgba(242,237,232,0.08); }

/* ============================================================
   COLLABORATIONS PAGE
   ============================================================ */

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.collab-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 40px;
  color: var(--ink);
}

.collab-list { list-style: none; }

.collab-list li {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26,26,26,0.1);
  font-size: 0.9rem;
  line-height: 1.5;
}

.collab-list li:first-child { border-top: 1px solid rgba(26,26,26,0.1); }

.collab-year {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  min-width: 36px;
  padding-top: 2px;
}

.collab-full { list-style: none; }
.collab-full li {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26,26,26,0.1);
  font-size: 0.9rem;
}
.collab-full li:first-child { border-top: 1px solid rgba(26,26,26,0.1); }

/* ============================================================
   CV PAGE
   ============================================================ */

.cv-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.cv-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--ink);
}

.cv-meta {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  line-height: 2;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
  margin-bottom: 60px;
}

.cv-section { margin-bottom: 52px; }

.cv-section-title {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  border-bottom: 1px solid rgba(26,26,26,0.15);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.cv-list { list-style: none; }

.cv-list li {
  display: flex;
  gap: 20px;
  padding: 9px 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink);
}

.cv-year {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--grey-mid);
  min-width: 36px;
  padding-top: 2px;
}

.cv-list em { font-style: italic; }

.cv-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(26,26,26,0.35);
  padding: 14px 30px;
  margin-top: 48px;
  transition: background 0.3s ease, color 0.3s ease;
}

.cv-download:hover { background: var(--ink); color: var(--off-white); }

/* ============================================================
   SHOP PAGE
   ============================================================ */

.shop-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.bags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.bag-item {
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}

.bag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bag-item:hover img { transform: scale(1.02); }

.bag-caption {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bag-item:hover .bag-caption { opacity: 1; }

.paintings-note {
  background: var(--chalk);
  padding: 96px 48px;
  text-align: center;
  color: var(--ink);
}

.paintings-note p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 24px;
}

.enquire-btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(26,26,26,0.4);
  padding: 14px 30px;
  transition: background 0.3s ease, color 0.3s ease;
}

.enquire-btn:hover { background: var(--ink); color: var(--off-white); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

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

.contact-links {
  margin: 48px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-link {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  color: var(--ink);
  display: inline-block;
  transition: color 0.3s ease;
}

.contact-link:hover { color: var(--salmon); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.form-field {
  border-bottom: 1px solid rgba(26,26,26,0.2);
  padding: 16px 0;
  transition: border-color 0.3s ease;
}

.form-field:focus-within { border-bottom-color: var(--ink); }

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.9rem;
  color: var(--ink);
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.form-field textarea { min-height: 120px; padding-top: 4px; }

.submit-btn {
  align-self: flex-start;
  margin-top: 32px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 1px solid rgba(26,26,26,0.4);
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.submit-btn:hover { background: var(--ink); color: var(--off-white); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-dark {
  border-top: 1px solid rgba(242,237,232,0.08);
  background: var(--black);
  color: var(--off-white);
}

.footer-light {
  border-top: 1px solid rgba(26,26,26,0.1);
  background: var(--off-white);
  color: var(--grey-mid);
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-copy {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  opacity: 0.45;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {
  section { padding: 72px 24px; }
  .site-nav { padding: 0 24px; }
  .hero-content { left: 24px; right: 24px; bottom: 40px; }
  .page-header { padding: 120px 24px 48px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 250;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; letter-spacing: 0.16em; }
  .nav-toggle { display: flex; }

  .two-col,
  .two-col-text,
  .about-layout,
  .exhibitions-grid,
  .collab-grid { grid-template-columns: 1fr; gap: 48px; }

  .about-portrait { position: static; aspect-ratio: 4/3; }
  .perf-list { grid-template-columns: 1fr; }
  .perf-list li:nth-child(2) { border-top: none; }

  .teaser-grid { grid-template-columns: 1fr; gap: 3px; }
  .teaser-item { aspect-ratio: 3/2; }

  .bags-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 1; }

  .site-footer { flex-direction: column; gap: 10px; text-align: center; padding: 28px 24px; }
  .cv-wrap { padding: 0; }
}

@media (max-width: 500px) {
  .bags-grid { grid-template-columns: 1fr; }
  .hero-name { font-size: clamp(3rem, 18vw, 5rem); }
}

/* ============================================================
   EXHIBITION INDEX (exhibitions.html)
   ============================================================ */

.ex-index-list { list-style: none; }

.ex-index-item {
  border-bottom: 1px solid rgba(242,237,232,0.08);
}
.ex-index-item:first-child { border-top: 1px solid rgba(242,237,232,0.08); }

.ex-index-link {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 24px 0;
}

a.ex-index-link { cursor: pointer; }

.ex-index-year {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--grey-mid);
  min-width: 36px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.ex-index-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--off-white);
  line-height: 1;
  transition: font-size 0.25s ease;
}

.ex-index-venue {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  flex-shrink: 0;
  transition: color 0.25s ease;
}

a.ex-index-link:hover .ex-index-title { font-size: 3rem; }
a.ex-index-link:hover .ex-index-year,
a.ex-index-link:hover .ex-index-venue { color: var(--chalk); }

.ex-index-link.no-images { cursor: default; pointer-events: none; }
.ex-index-link.no-images .ex-index-title { color: var(--grey-mid); }
.ex-index-link.no-images .ex-index-venue { opacity: 0.6; }

/* ============================================================
   EXHIBITION DETAIL PAGE (sidebar + gallery)
   ============================================================ */

.ex-detail-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
}

.ex-sidebar {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  padding: 48px 32px 48px 48px;
  border-right: 1px solid rgba(242,237,232,0.08);
  scrollbar-width: none;
}
.ex-sidebar::-webkit-scrollbar { display: none; }

.ex-sidebar-back {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
  display: block;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}
.ex-sidebar-back:hover { color: var(--off-white); }

.ex-sidebar-label {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  opacity: 0.5;
  display: block;
  margin-bottom: 24px;
}

.ex-side-list { list-style: none; }

.ex-side-link {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--grey-mid);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(242,237,232,0.06);
  transition: font-size 0.25s ease, color 0.25s ease;
}
.ex-side-link small {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
  opacity: 0.6;
}

a.ex-side-link:hover { font-size: 1.2rem; color: var(--off-white); }
a.ex-side-link.active { font-size: 1rem; color: var(--off-white); }

.ex-side-link.no-images {
  cursor: default;
  opacity: 0.3;
}

.ex-content {
  padding: 64px 64px 96px;
}

.ex-content-header { margin-bottom: 56px; }

.ex-content-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1;
  color: var(--off-white);
  margin-bottom: 16px;
}

.ex-content-meta {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.ex-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.ex-gallery-item { overflow: hidden; opacity: 1; }

.ex-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.ex-gallery-item:hover img { transform: scale(1.02); }

/* Mobile */
@media (max-width: 900px) {
  .ex-detail-layout { grid-template-columns: 1fr; }

  .ex-sidebar {
    position: static;
    height: auto;
    overflow-y: visible;
    overflow-x: auto;
    padding: 24px 24px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(242,237,232,0.08);
  }

  .ex-sidebar-back { margin-bottom: 16px; }

  .ex-side-list { display: flex; flex-wrap: nowrap; gap: 0 24px; }

  .ex-side-link {
    white-space: nowrap;
    border-bottom: none;
    border-right: 1px solid rgba(242,237,232,0.08);
    padding: 6px 24px 6px 0;
    font-size: 0.85rem;
  }
  a.ex-side-link:hover,
  a.ex-side-link.active { font-size: 0.95rem; }

  .ex-side-link small { display: none; }

  .ex-content { padding: 40px 24px 72px; }
  .ex-gallery { grid-template-columns: repeat(2, 1fr); }

  .ex-index-link { gap: 16px; }
  .ex-index-title { font-size: 1.3rem; }
  a.ex-index-link:hover .ex-index-title { font-size: 2rem; }
}

@media (max-width: 500px) {
  .ex-gallery { grid-template-columns: 1fr; }
}

