/* ==========================================================================
   AKAKAMBOLISM — Redefinition of Creativity
   Artist website for Christopher Ebiokubo Ayaoge
   Design language: fractured crystal, geometric folds, African motifs
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --ink:        #0a0a0f;
  --ink-2:      #100f17;
  --ink-3:      #17151f;
  --surface:    #14121b;
  --surface-2:  #1c1926;

  --gold:       #c9a24b;
  --gold-2:     #e7cc84;
  --gold-soft:  rgba(201, 162, 75, 0.14);
  --ochre:      #b5651d;
  --terracotta: #a34a2f;
  --crystal:    #6fd3c7;
  --indigo:     #372c68;

  --text:       #ece7de;
  --muted:      #9d968b;
  --muted-2:    #726c63;

  --line:       rgba(201, 162, 75, 0.16);
  --line-soft:  rgba(236, 231, 222, 0.08);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: 0.01em; }
p { margin: 0 0 1.15rem; }
::selection { background: var(--gold); color: var(--ink); }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #d8d2c8; font-weight: 300; line-height: 1.75; }
.muted { color: var(--muted); }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.gold { color: var(--gold-2); }
.serif { font-family: var(--font-display); }
.center { text-align: center; }

/* ---- Crystal divider ---- */
.fold {
  height: 70px;
  width: 100%;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 100%);
  position: relative;
}
.fold::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 48.4%, var(--line) 48.4%, var(--line) 48.7%, transparent 48.7%),
    linear-gradient(245deg, transparent 51.3%, var(--line) 51.3%, var(--line) 51.6%, transparent 51.6%);
  opacity: 0.9;
}

/* ==========================================================================
   Background texture — crystalline shards + grain
   ========================================================================== */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(55, 44, 104, 0.38), transparent 62%),
    radial-gradient(900px 620px at 8% 12%, rgba(181, 101, 29, 0.16), transparent 60%),
    radial-gradient(760px 760px at 50% 118%, rgba(201, 162, 75, 0.12), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 45%, var(--ink) 100%);
}
.bg-field::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(120deg, transparent 49.55%, rgba(236,231,222,0.05) 49.7%, transparent 49.85%),
    linear-gradient(60deg,  transparent 49.55%, rgba(201,162,75,0.05) 49.7%, transparent 49.85%),
    linear-gradient(200deg, transparent 49.6%,  rgba(111,211,199,0.045) 49.72%, transparent 49.84%);
  background-size: 220px 190px, 280px 240px, 340px 300px;
  opacity: 0.75;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
}
.bg-field::after {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__links a {
  position: relative;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav__toggle span { transform: translate(-50%, -50%); }
.nav__toggle span::before { content: ""; transform: translate(-50%, -7px); }
.nav__toggle span::after  { content: ""; transform: translate(-50%, 7px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --bg: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  border: 1px solid transparent;
  border-radius: var(--radius);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  position: relative;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(201,162,75,0.75); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  clip-path: none;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); box-shadow: none; transform: translateY(-3px); }
.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ==========================================================================
   Hero — text column + slideshow stage
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(84px + 2rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero__shards {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__shards span {
  position: absolute;
  background: linear-gradient(140deg, rgba(201,162,75,0.14), rgba(55,44,104,0.05));
  border: 1px solid rgba(201,162,75,0.16);
  transform: rotate(24deg);
  animation: drift 18s ease-in-out infinite;
}
.hero__shards span:nth-child(1) { width: 220px; height: 220px; top: 12%; right: 8%; clip-path: polygon(50% 0,100% 42%,74% 100%,12% 88%,0 34%); }
.hero__shards span:nth-child(2) { width: 130px; height: 130px; bottom: 16%; right: 22%; clip-path: polygon(0 0,100% 22%,68% 100%,16% 74%); animation-delay: -5s; }
.hero__shards span:nth-child(3) { width: 300px; height: 300px; bottom: -60px; left: -40px; clip-path: polygon(28% 0,100% 30%,80% 100%,0 78%); opacity: 0.7; animation-delay: -9s; }
.hero__shards span:nth-child(4) { width: 90px; height: 90px; top: 26%; left: 12%; clip-path: polygon(50% 0,100% 60%,50% 100%,0 60%); animation-delay: -3s; }
@keyframes drift {
  0%, 100% { transform: rotate(24deg) translateY(0); }
  50%      { transform: rotate(30deg) translateY(-26px); }
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: 100%;
}
.hero__inner { max-width: 640px; }
.hero__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: inline-block;
}
.hero__title {
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin-bottom: 0.4rem;
}
.hero__title .word {
  display: block;
  background: linear-gradient(100deg, #fff 0%, var(--gold-2) 42%, var(--gold) 60%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  color: #cfc8bc;
  margin: 0.5rem 0 1.9rem;
}
.hero__lead { max-width: 560px; color: #cfc8bc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }

/* slideshow stage — kept separate from the text */
.hero__stage {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 5 / 6;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.95);
}
.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(8,7,12,0.65) 100%);
}
.hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ink-2); }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.6s var(--ease), transform 9s linear;
  will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; transform: scale(1.12); }
.hero__dots {
  position: absolute;
  bottom: 1.2rem; right: 1.4rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}
.hero__dots button {
  width: 30px; height: 3px;
  padding: 0; border: 0; cursor: pointer;
  background: rgba(236, 231, 222, 0.35);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero__dots button:hover { background: rgba(236, 231, 222, 0.7); }
.hero__dots button.is-active { background: var(--gold); }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: var(--gutter);
  z-index: 2;
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2);
}
.hero__scroll i {
  display: block; width: 54px; height: 1px; background: var(--muted-2);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-100%); animation: scan 2.6s var(--ease) infinite;
}
@keyframes scan { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(20,18,27,0.7), rgba(10,10,15,0.7));
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3rem;
}
.marquee span::after { content: "◆"; color: var(--gold); font-size: 0.6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   Statement / two-column feature
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.prose { max-width: 62ch; }
.prose p { color: #d3cdc3; }

.portal-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--ink-2));
  padding: 14px;
}
.portal-frame::before {
  content: "";
  position: absolute; inset: -1px;
  border: 1px solid var(--line);
  transform: translate(14px, 14px);
  z-index: -1;
  pointer-events: none;
}
.portal-frame img, .portal-frame .art { width: 100%; height: 100%; object-fit: contain; }
.portal-frame figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 0.7rem 1rem;
  background: linear-gradient(0deg, rgba(10,10,15,0.92), rgba(10,10,15,0.55));
  border-top: 1px solid var(--line);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2);
  display: flex; justify-content: space-between; gap: 1rem;
}
.portal-frame figcaption em { color: var(--muted); font-style: normal; letter-spacing: 0.08em; text-transform: none; }

/* ==========================================================================
   Card grids — featured works
   ========================================================================== */
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.work {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.work:hover { border-color: var(--gold); transform: translateY(-6px); }
.work__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.work__media img, .work__media .art {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.92) contrast(1.02);
}
.work:hover .work__media img, .work:hover .work__media .art { transform: scale(1.07); filter: saturate(1.1) contrast(1.05); }
.work__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8,7,12,0.88) 100%);
}
.work__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.4rem; z-index: 2; }
.work__meta h3 { font-size: 1.35rem; margin-bottom: 0.15rem; }
.work__meta p { margin: 0; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.work__year {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.2em; color: var(--text);
  background: rgba(10,10,15,0.6); border: 1px solid var(--line-soft);
  padding: 0.2rem 0.6rem; backdrop-filter: blur(6px);
}

/* ==========================================================================
   Mediums strip
   ========================================================================== */
.mediums { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #cfc8bc;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(201,162,75,0.06), rgba(55,44,104,0.06));
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-3px); }

.medium-card {
  border: 1px solid var(--line-soft);
  padding: 1.7rem 1.5rem;
  background: linear-gradient(160deg, rgba(28,25,38,0.7), rgba(16,15,23,0.5));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.medium-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.medium-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.medium-card p { margin: 0; font-size: 0.86rem; color: var(--muted); }
.medium-card .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: 0.4rem; }

/* ==========================================================================
   Quote / philosophy band
   ========================================================================== */
.band {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(55,44,104,0.22), rgba(181,101,29,0.12), rgba(55,44,104,0.22));
}
.band blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  line-height: 1.28;
  font-style: italic;
  color: #f0ebe2;
}
.band cite { display: block; margin-top: 1.6rem; font-family: var(--font-body); font-style: normal; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.page-head {
  padding-top: calc(84px + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.page-head h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.page-head p { max-width: 60ch; margin-top: 1.2rem; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line);
  background: transparent; color: var(--muted);
  transition: all 0.3s var(--ease);
  border-radius: var(--radius);
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: linear-gradient(120deg, var(--gold), var(--gold-2)); color: var(--ink); border-color: transparent; }

.masonry { columns: 3; column-gap: clamp(1rem, 2vw, 1.5rem); }
.masonry .work { margin-bottom: clamp(1rem, 2vw, 1.5rem); break-inside: avoid; }
.masonry .work__media { aspect-ratio: auto; }
.masonry .work[hidden] { display: none; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(5,5,9,0.9);
  backdrop-filter: blur(10px);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__frame { max-width: 1000px; width: 100%; position: relative; }
.lightbox__frame img { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; border: 1px solid var(--line); }
.lightbox__cap { text-align: center; margin-top: 1.1rem; }
.lightbox__cap h3 { font-size: 1.4rem; }
.lightbox__cap p { margin: 0.2rem 0 0; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.lightbox__count { display: inline-block; margin-top: 0.65rem; font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-2); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  width: 48px; height: 48px;
  border: 1px solid var(--line); background: rgba(10,10,15,0.6);
  color: var(--text); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.lightbox__close { top: 0; right: 0; transform: translateY(-120%); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: -8px; }
.lightbox__nav--next { right: -8px; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); color: var(--gold-2); }

/* ==========================================================================
   Timeline (genealogy of the practice)
   ========================================================================== */
.timeline { position: relative; padding-left: 1.8rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.timeline li { position: relative; padding-bottom: 2rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.8rem; top: 8px;
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,0.14);
}
.timeline time { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { font-size: 1.25rem; margin: 0.15rem 0 0.35rem; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(20,18,27,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.form__note { font-size: 0.78rem; color: var(--muted-2); margin: 0; }
.info-block { margin-bottom: 2rem; }
.info-block h3 { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); margin-bottom: 0.5rem; }
.info-block p, .info-block a { color: #d3cdc3; font-size: 1.02rem; margin: 0; }
.info-block a:hover { color: var(--gold-2); }
.socials { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.5rem; }
.socials a {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.55rem 1.05rem; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); transition: all 0.3s var(--ease);
}
.socials a:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-3px); }

.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--gold); background: var(--gold-soft); color: var(--gold-2); font-size: 0.85rem; }
.form-status.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  margin-top: clamp(3rem, 8vw, 6rem);
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer__brand .brand__name { font-size: 1.3rem; }
.footer__brand p { color: var(--muted); max-width: 34ch; margin-top: 1rem; font-size: 0.9rem; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--muted); padding: 0.28rem 0; font-size: 0.9rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted-2);
}
.footer__bottom .serif { color: var(--gold); letter-spacing: 0.14em; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ==========================================================================
   Gallery — dynamic works, load more, strips, feature band
   ========================================================================== */
.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.gallery-count {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-count strong { color: var(--gold); font-weight: 600; }

.masonry .work__media img { height: auto; }
.work__media { background: linear-gradient(160deg, var(--surface-2), var(--ink-2)); }

.work__zoom {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(10,10,15,0.35), rgba(10,10,15,0.72));
  transition: opacity 0.45s var(--ease);
}
.work__zoom span {
  width: 62px; height: 62px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-2);
  font-size: 1.4rem;
  transform: scale(0.85);
  transition: transform 0.45s var(--ease);
  background: rgba(10,10,15,0.45);
}
.work:hover .work__zoom { opacity: 1; }
.work:hover .work__zoom span { transform: scale(1); }

.work.is-in { animation: cardIn 0.7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.gallery-more { display: flex; justify-content: center; margin-top: clamp(2rem, 5vw, 3.5rem); }
.gallery-more .btn[hidden] { display: none; }
.gallery-empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* Full-bleed feature band */
.feature-band {
  position: relative;
  min-height: clamp(420px, 72vh, 720px);
  display: grid;
  place-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  border-block: 1px solid var(--line-soft);
  isolation: isolate;
}
.feature-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.72), rgba(10,10,15,0.5) 40%, rgba(10,10,15,0.9)),
    linear-gradient(120deg, rgba(55,44,104,0.4), rgba(181,101,29,0.28));
}
.feature-band__inner { max-width: 900px; padding: clamp(2rem, 6vw, 5rem) var(--gutter); }
.feature-band h2 {
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  font-style: italic;
  line-height: 1.24;
}
.feature-band .eyebrow { margin-bottom: 1.4rem; justify-content: center; }

/* Horizontal art strip */
.strip-wrap { position: relative; }
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 26vw, 340px);
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 0.5rem 1.4rem;
  padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.strip__item {
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 5;
  background: var(--surface);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color 0.4s var(--ease);
}
.strip__item img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease); }
.strip__item:hover { border-color: var(--gold); }
.strip__item:hover img { transform: scale(1.06); }
.strip__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,7,12,0.75));
  pointer-events: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .masonry { columns: 2; }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero { min-height: auto; padding-top: calc(84px + 2.5rem); }
  .hero__grid { grid-template-columns: 1fr; justify-items: center; gap: clamp(2rem, 5vw, 3rem); }
  .hero__stage { order: -1; justify-self: center; max-width: 560px; aspect-ratio: 16 / 10; }
  .hero__inner { max-width: 620px; text-align: center; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.6rem); }
  .hero__lead { max-width: none; }
  .hero__actions { justify-content: center; margin-top: 1.8rem; gap: 0.8rem; }
}
@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 2.2rem;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 90;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1rem; letter-spacing: 0.18em; }
  .nav__toggle { display: block; z-index: 100; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .masonry { columns: 1; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---- Focus visibility ---- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
