/* ==========================================================================
   Àdéwálé Àjàdí — adewaleajadi.com
   Palette: adire indigo (ground) + ochre from the Àjàdí monogram (accent)
   Type: Fraunces (display) / Karla (body) / IBM Plex Mono (labels)
   ========================================================================== */

:root {
  --ink: #0B131C;
  --indigo: #12263C;
  --indigo-2: #1B344F;
  --paper: #EFF1F4;
  --paper-2: #E3E7ED;
  --surface: #FFFFFF;

  --ochre: #C8801F;
  --ochre-lt: #E5AA46;
  --ochre-dp: #8F5C12;

  --text: #16202B;
  --muted: #5B6675;
  --muted-dk: #9BA9BA;
  --line: #D7DDE4;
  --line-dk: rgba(229, 170, 70, 0.22);

  --display: "Fraunces", Georgia, serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 18px 40px -24px rgba(11, 19, 28, 0.45);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ochre); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.15rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--indigo); color: #E8EDF3; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Mono eyebrow label ------------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre-dp);
  margin: 0 0 1rem;
  display: block;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--ochre-lt); }

/* Signature: the horizon rule (a sunrise line, echoing the portrait) ------- */
.horizon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 2rem;
}
.horizon::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--ochre-lt), var(--ochre));
  flex: none;
}
.horizon::after {
  content: "";
  height: 1px;
  width: 92px;
  background: linear-gradient(90deg, var(--ochre), rgba(200, 128, 31, 0));
}
.horizon--center { justify-content: center; }

.lede { font-size: 1.075rem; color: var(--muted); }
.section--dark .lede { color: #C3CEDA; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn--solid { background: var(--ochre); color: #fff; }
.btn--solid:hover { background: var(--ochre-dp); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(229, 170, 70, 0.55); color: var(--ochre-lt); background: transparent; }
.btn--ghost:hover { background: var(--ochre); color: #fff; border-color: var(--ochre); transform: translateY(-2px); }
.btn--line { border-color: var(--line); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--ochre); color: var(--ochre-dp); }

:focus-visible {
  outline: 2px solid var(--ochre-lt);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ochre); color: #fff; padding: 12px 18px;
  font-family: var(--mono); font-size: 0.8rem;
}
.skip:focus { left: 12px; top: 12px; }

/* Header ------------------------------------------------------------------ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  background: rgba(11, 19, 28, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 170, 70, 0.16);
  color: #EAF0F6;
  transition: background 0.3s, height 0.3s;
}
.hdr.is-stuck { background: rgba(11, 19, 28, 0.96); }
.hdr__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
  height: 40px; width: 40px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(229, 170, 70, 0.35);
}
.brand span {
  font-family: var(--display);
  font-size: 1.12rem; font-weight: 600; letter-spacing: 0.01em;
  color: #fff;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: #CBD6E2;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover, .nav a.is-active { color: var(--ochre-lt); border-color: var(--ochre); }
.nav .btn { padding: 10px 18px; }
.nav .btn:hover { transform: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(229, 170, 70, 0.35);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block;
  width: 18px; height: 1.5px; background: var(--ochre-lt);
  transition: transform 0.25s, opacity 0.2s;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4.5px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(0); }

.drawer {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 89;
  background: rgba(11, 19, 28, 0.98);
  border-bottom: 1px solid rgba(229, 170, 70, 0.2);
  display: none;
  padding: 8px 0 22px;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #D5DFEA; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.drawer a:hover { color: var(--ochre-lt); }

@media (max-width: 940px) {
  .nav { display: none; }
  .burger { display: flex; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 88px;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(200, 128, 31, 0.22), transparent 62%),
    radial-gradient(700px 500px at 8% 92%, rgba(27, 52, 79, 0.9), transparent 60%),
    var(--ink);
  color: #E9EEF4;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(180deg, rgba(239, 241, 244, 0), var(--paper));
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ochre-lt);
}
.hero__sub {
  font-size: 1.15rem;
  color: #BFCBD8;
  max-width: 40ch;
  margin-bottom: 2rem;
}
.hero__sub b { color: #fff; font-weight: 600; font-family: var(--display); font-size: 1.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* The portrait: framed, lit, and unmistakably the point of the page */
.portrait { position: relative; }
.portrait__frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75);
}
/* No crop: the photo keeps its own ratio, so the face stays in frame. */
.portrait__frame img {
  width: 100%;
  height: auto;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--ochre);
  border-radius: 3px;
  z-index: -1;
}
.portrait__tag {
  position: absolute;
  left: -14px; bottom: 26px;
  background: var(--ink);
  border-left: 2px solid var(--ochre);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D9E2EB;
}

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  /* The portrait leads on small screens, centred, and text is centred with it. */
  .hero__copy { order: 2; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .portrait { order: 1; max-width: 440px; margin: 0 auto 6px; }
  .portrait::before { inset: 12px -12px -12px 12px; }
  .portrait__tag { left: 0; bottom: 18px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* About ------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px -26px rgba(11, 19, 28, 0.5);
}
.card + .card { margin-top: 20px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--muted); }
.card--accent { border-top: 3px solid var(--ochre); }

/* Video trigger (Omoluwabi 2.0) ------------------------------------------- */
.watch {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 22px;
  padding: 12px 18px 12px 12px;
  background: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.watch:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(11, 19, 28, 0.7); }
.watch__disc {
  position: relative;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ochre);
  display: grid; place-items: center;
  transition: background 0.25s;
}
.watch:hover .watch__disc { background: var(--ochre-lt); }
.watch__disc svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.watch__disc::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(229, 170, 70, 0.5);
  opacity: 0;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  0% { opacity: 0.7; transform: scale(0.85); }
  70%, 100% { opacity: 0; transform: scale(1.25); }
}
.watch__txt { display: grid; gap: 2px; }
.watch__txt strong {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ochre-lt); font-weight: 500;
}
.watch__txt span { font-size: 0.92rem; color: #C3CEDA; line-height: 1.35; }

/* Afrilition -------------------------------------------------------------- */
.book {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
.book__cover {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 40px 60px -32px rgba(0, 0, 0, 0.8);
}
/* Cover scales by width only, so its ratio is never altered. */
.book__cover img { width: 100%; height: auto; object-fit: contain; }
.book__mark {
  height: 56px; width: auto;
  border-radius: 3px;
  margin-bottom: 22px;
  box-shadow: 0 0 0 1px rgba(229, 170, 70, 0.28);
}
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ochre-lt);
  border: 1px solid rgba(229, 170, 70, 0.45);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

/* Publisher credit (Atmosphere Press) ------------------------------------- */
.publisher {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dk);
}
.publisher img {
  height: 62px; width: 62px;
  object-fit: contain;
  flex: none;
}
.publisher__txt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dk);
  line-height: 1.8;
}
.publisher__txt b { display: block; color: #fff; letter-spacing: 0.1em; font-weight: 500; }

/* Philosophy -------------------------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
/* Figures scale by width only: no crop, no stretch, ratio preserved. */
.figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.figure figcaption {
  font-family: var(--mono);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-top: 12px;
}
.facets { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.facets li { display: flex; gap: 14px; color: var(--muted); }
.facets li::before {
  content: "";
  flex: none;
  margin-top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ochre);
}
.facets b { color: var(--text); font-weight: 700; }

/* Works ------------------------------------------------------------------- */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stack li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.stack h4 { margin-bottom: 6px; }
.stack p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Gallery ----------------------------------------------------------------- */
.gallery__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.gallery__head h2 { margin-bottom: 0.35rem; }
.gal { position: relative; }
.gal__viewport { overflow: hidden; }
.gal__track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.gal__track.is-centered { justify-content: center; }
.gal__item {
  flex: 0 0 auto;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
  cursor: zoom-in;
  border: 0;
  padding: 0;
}
.gal__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.4s;
  filter: saturate(0.92);
}
.gal__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 28, 0) 45%, rgba(11, 19, 28, 0.5));
  opacity: 0;
  transition: opacity 0.35s;
}
.gal__item:hover img, .gal__item:focus-visible img { transform: scale(1.06); filter: saturate(1.05); }
.gal__item:hover::after, .gal__item:focus-visible::after { opacity: 1; }

.gal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  display: none;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.25s, color 0.25s, opacity 0.25s, border-color 0.25s;
  z-index: 3;
}
.gal.has-nav .gal__nav { display: grid; }
.gal__nav:hover { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.gal__nav[disabled] { opacity: 0.3; cursor: default; }
.gal__nav[disabled]:hover { background: rgba(255, 255, 255, 0.94); color: var(--text); border-color: var(--line); }
.gal__nav svg { width: 16px; height: 16px; fill: currentColor; }
.gal__nav--prev { left: -14px; }
.gal__nav--next { right: -14px; }
@media (max-width: 640px) {
  .gal__nav--prev { left: -6px; }
  .gal__nav--next { right: -6px; }
  .gal__track { gap: 12px; }
}

/* Footer ------------------------------------------------------------------ */
.ftr {
  background: var(--ink);
  color: #93A3B4;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(229, 170, 70, 0.18);
}
.ftr__top {
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.ftr__brand { display: flex; align-items: center; gap: 14px; }
.ftr__brand img { height: 44px; width: 44px; border-radius: 6px; object-fit: cover; opacity: 0.9; }
.ftr__brand span { font-family: var(--display); font-size: 1.1rem; color: #E4EAF1; display: block; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 26px; }
.ftr__links a {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: #A7B5C4;
  transition: color 0.2s;
}
.ftr__links a:hover { color: var(--ochre-lt); }
.ftr__base {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  color: #64748B;
}

/* Floating audio button --------------------------------------------------- */
.audio {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(229, 170, 70, 0.4);
  border-radius: 999px;
  background: rgba(11, 19, 28, 0.92);
  backdrop-filter: blur(6px);
  color: #E8EDF3;
  cursor: pointer;
  opacity: 0.38;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}
.audio:hover, .audio:focus-visible { opacity: 1; box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.8); }
.audio__disc {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ochre);
  display: grid; place-items: center;
  flex: none;
}
.audio__disc svg { width: 12px; height: 12px; fill: #fff; }
.audio__disc .ico-pause { display: none; }
.audio.is-playing .ico-play { display: none; }
.audio.is-playing .ico-pause { display: block; }
.audio__txt {
  font-family: var(--mono);
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.audio__bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.audio.is-playing .audio__bars { display: flex; }
.audio__bars i {
  width: 2px; background: var(--ochre-lt); height: 4px;
  animation: bar 0.9s ease-in-out infinite;
}
.audio__bars i:nth-child(2) { animation-delay: 0.15s; }
.audio__bars i:nth-child(3) { animation-delay: 0.3s; }
.audio__bars i:nth-child(4) { animation-delay: 0.45s; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 14px; } }

@media (max-width: 520px) {
  .audio { right: 14px; bottom: 14px; padding: 7px; }
  .audio__txt { display: none; }
}

/* Modal (video + image lightbox) ------------------------------------------ */
.modal {
  position: fixed; inset: 0; z-index: 120;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(6, 11, 17, 0.92);
  backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__box {
  position: relative;
  width: min(1000px, 100%);
  animation: pop 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.modal__close {
  position: absolute;
  top: -52px; right: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(229, 170, 70, 0.5);
  background: transparent;
  color: var(--ochre-lt);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.modal__close:hover { background: var(--ochre); color: #fff; border-color: var(--ochre); }
.modal__close svg { width: 14px; height: 14px; fill: currentColor; }
.modal__cap {
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8C9AAA;
  margin-top: 14px;
  text-align: center;
}
@media (max-width: 700px) {
  .modal__close { top: -46px; right: 50%; transform: translateX(50%); }
}

/* Custom video player ----------------------------------------------------- */
.vp {
  position: relative;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.vp video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }

.vp__big {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(11, 19, 28, 0.35);
  border: 0; cursor: pointer;
  transition: opacity 0.3s;
}
.vp.is-playing .vp__big { opacity: 0; pointer-events: none; }
.vp__big div {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--ochre);
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(200, 128, 31, 0.22);
  transition: transform 0.3s, background 0.3s;
}
.vp__big:hover div { transform: scale(1.07); background: var(--ochre-lt); }
.vp__big svg { width: 22px; height: 22px; fill: #fff; margin-left: 4px; }

.vp__bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, rgba(11, 19, 28, 0), rgba(11, 19, 28, 0.92));
  opacity: 0;
  transition: opacity 0.3s;
}
.vp:hover .vp__bar, .vp.is-paused .vp__bar, .vp:focus-within .vp__bar { opacity: 1; }
.vp__btn {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer;
  color: #fff; border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.vp__btn:hover { color: var(--ochre-lt); background: rgba(255, 255, 255, 0.08); }
.vp__btn svg { width: 15px; height: 15px; fill: currentColor; }
.vp__btn .ico-pause, .vp__btn .ico-unmute { display: none; }
.vp.is-playing .vp__btn--play .ico-play { display: none; }
.vp.is-playing .vp__btn--play .ico-pause { display: block; }
.vp.is-muted .vp__btn--mute .ico-mute { display: none; }
.vp.is-muted .vp__btn--mute .ico-unmute { display: block; }

.vp__time {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #D3DCE5;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.vp__vol { width: 82px; flex: none; }
@media (max-width: 620px) {
  .vp__vol { display: none; }
  .vp__bar { gap: 6px; padding: 22px 8px 8px; }
}

/* Range inputs (seek + volume), painted in the site ochre */
.rng {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  outline-offset: 6px;
}
.rng--seek { flex: 1 1 auto; min-width: 40px; }
.rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--ochre);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.rng::-moz-range-thumb {
  width: 11px; height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ochre);
}
.rng::-moz-range-progress { background: var(--ochre); height: 4px; border-radius: 999px; }

/* Image lightbox ---------------------------------------------------------- */
.lb__img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(229, 170, 70, 0.45);
  background: rgba(11, 19, 28, 0.7);
  color: var(--ochre-lt);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.lb__nav:hover { background: var(--ochre); color: #fff; }
.lb__nav svg { width: 15px; height: 15px; fill: currentColor; }
.lb__nav--prev { left: -58px; }
.lb__nav--next { right: -58px; }
@media (max-width: 1120px) {
  .lb__nav--prev { left: 8px; }
  .lb__nav--next { right: 8px; }
}

body.is-locked { overflow: hidden; }

/* 404 --------------------------------------------------------------------- */
.err {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  background:
    radial-gradient(800px 480px at 70% 20%, rgba(200, 128, 31, 0.2), transparent 60%),
    var(--ink);
  color: #E8EDF3;
  text-align: center;
}
.err__num {
  font-family: var(--display);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--ochre);
  margin-bottom: 1.5rem;
}
.err h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.err p { color: #BAC6D3; max-width: 46ch; margin: 0 auto 2rem; }
.err__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Reveal on scroll -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

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