@font-face {
  font-family: 'Melodrama';
  src: url('assets/fonts/melodrama-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Melodrama';
  src: url('assets/fonts/melodrama-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Antic';
  src: url('assets/fonts/antic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Synonym';
  src: url('assets/fonts/synonym-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Synonym';
  src: url('assets/fonts/synonym-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('assets/fonts/martianmono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --paper: #f6f4ee;
  --accent: #e5158c;
  --nav-blue: #2a3ff2;
  --brown: #3d2a22;
  --yellow: #d6e62d;
  --cream: #f6f4ee;
  --line-soft: rgba(10, 10, 10, 0.12);
  --line-soft-dark: rgba(246, 244, 238, 0.15);
  --text-dim: #6b6a63;
  --text-dim-light: #b6a49c;

  --display: 'Melodrama', Georgia, serif;
  --body: 'Synonym', -apple-system, sans-serif;
  --mono: 'Martian Mono', 'SFMono-Regular', Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Landing ---------- */

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--brown);
  color: var(--cream);
}

.landing-nav {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}

.nav-link {
  position: absolute;
  text-decoration: none;
  color: var(--cream);
  border-bottom: 1px solid transparent;
}

.nav-link--past {
  top: 8%;
  left: 6%;
}

.nav-link--future {
  top: 24%;
  left: 82%;
}

.nav-link--about {
  top: 78%;
  left: 34%;
}

.nav-link--past:hover {
  color: var(--nav-blue);
  border-color: var(--nav-blue);
}

.nav-link--future:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.nav-link--about:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.landing-main {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.wordmark-block {
  position: relative;
  z-index: 0;
  text-align: center;
  pointer-events: auto;
}

.glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(0.85);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 90px 45px var(--accent);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

.wordmark-block:hover .glow {
  opacity: 0.75;
  transform: translate(-50%, -50%) scale(1);
}

.wordmark {
  position: relative;
  font-family: 'Antic', sans-serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 7rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0;
  cursor: default;
  color: var(--cream);
  filter: blur(7px);
  transition: filter 0.5s ease, color 0.5s ease;
}

.wordmark-block:hover .wordmark {
  filter: blur(0);
}

.wordmark .first {
  font-weight: 400;
}

.wordmark .last {
  font-weight: 400;
}

.tagline {
  margin: 0.9rem 0 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim-light);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wordmark-block:hover .tagline {
  opacity: 1;
}

.tagline .dot {
  color: var(--text-dim-light);
}

.landing-footer {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vw, 3rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-sep {
  color: var(--text-dim-light);
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

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

/* ---------- Interior pages (past / future / about) ---------- */

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line-soft-dark);
}

.page-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--cream);
}

.page-links {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
}

.page-links a {
  text-decoration: none;
  color: var(--cream);
  border-bottom: 1px solid transparent;
}

.page-links a[href="past.html"]:hover {
  color: var(--nav-blue);
  border-color: var(--nav-blue);
}

.page-links a[href="future.html"]:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.page-links a[href="about.html"]:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Wide page (past / future) ---------- */

.page--wide {
  max-width: 1600px;
}

.page--past {
  --page-accent: var(--nav-blue);
}

.page--future {
  --page-accent: var(--yellow);
}

.page--about {
  --page-accent: var(--accent);
}

/* ---------- Page heading ---------- */

.page-heading {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.page-heading-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
  margin-bottom: 0.6rem;
}

.page-heading h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 0;
}

/* ---------- Big full-width statement ---------- */

.big-statement {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.big-statement p {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.35;
  text-align: justify;
  text-justify: inter-word;
  margin: 0;
}

.big-statement .emphasis {
  font-family: var(--display);
  font-weight: 700;
}

/* ---------- Work grid (table-style, gougoucore-inspired) ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--page-accent);
  gap: 2px;
  border-top: 2px solid var(--page-accent);
  border-bottom: 2px solid var(--page-accent);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

.work-tile {
  --tile-pad: clamp(0.9rem, 2vw, 1.25rem);
  display: block;
  text-decoration: none;
  color: var(--cream);
  background: var(--brown);
  padding: var(--tile-pad);
}

.work-frame {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.work-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #2a2a2a, #6b6a63);
  transition: transform 0.4s ease;
}

.work-tile:hover .work-photo {
  transform: scale(1.05);
}

.work-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-tile:hover .work-video {
  transform: scale(1.05);
}

.work-video--above-your-nerve {
  object-position: center 20%;
}

.work-grid .work-tile:nth-child(2) .work-photo {
  background: linear-gradient(155deg, var(--accent), #0a0a0a);
}

.work-grid .work-tile:nth-child(3) .work-photo {
  background: linear-gradient(155deg, #3a3a3a, #8a8a8a);
}

.work-grid .work-tile:nth-child(4) .work-photo {
  background: linear-gradient(155deg, #1e1e1e, var(--accent));
}

.work-grid .work-tile:nth-child(5) .work-photo {
  background: linear-gradient(155deg, #4a4536, #d3e64a);
}

.work-grid .work-tile:nth-child(6) .work-photo {
  background: linear-gradient(155deg, #2a2a2a, var(--accent));
}

.ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(246, 244, 238, 0.75);
}

.work-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--page-accent);
  margin-top: 0.9rem;
  margin-left: calc(-1 * var(--tile-pad));
  margin-right: calc(-1 * var(--tile-pad));
  padding-top: 0.75rem;
  padding-left: var(--tile-pad);
  padding-right: var(--tile-pad);
}

.work-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim-light);
  flex-shrink: 0;
}

.work-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  text-align: right;
  transition: color 0.3s ease;
}

.work-tile:hover .work-title {
  color: var(--page-accent);
}

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

@media (max-width: 560px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
  .big-statement p {
    text-align: left;
  }
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: stretch;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(6rem, 12vw, 10rem);
}

.manifesto {
  padding-top: 0.25rem;
}

.about-page-heading {
  grid-column: 1 / -1;
  padding-top: 0;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.statement-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
  margin-bottom: 1.25rem;
}

.manifesto p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--cream);
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.manifesto-note {
  font-family: var(--mono);
  font-size: 0.78rem !important;
  color: var(--text-dim-light) !important;
  line-height: 1.6 !important;
}

.values {
  margin-top: 3rem;
}

.values-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--cream);
  margin: 0 0 1.5rem;
}

.values-list {
  list-style: none;
  counter-reset: value-counter;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft-dark);
}

.values-list li {
  counter-increment: value-counter;
  display: flex;
  align-items: baseline;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.25;
  color: var(--cream);
  padding: clamp(0.75rem, 2vw, 1.1rem) 0;
  border-bottom: 1px solid var(--line-soft-dark);
  transition: color 0.2s ease;
}

.values-list li::before {
  content: counter(value-counter, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--page-accent);
}

.values-list li:hover {
  color: var(--page-accent);
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  position: sticky;
  top: clamp(1.5rem, 5vw, 8rem);
  aspect-ratio: 3 / 4;
  border: 3px solid var(--page-accent);
  background: linear-gradient(155deg, #2a2a2a, #6b6a63);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 780px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo-frame {
    position: static;
  }
}

/* ---------- Project detail page ---------- */

.page-heading-link {
  text-decoration: none;
  color: inherit;
}

.page-heading-link:hover {
  color: var(--page-accent);
}

.project-text {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2rem, 5vw, 3rem);
}

.project-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
  margin-bottom: 0.6rem;
}

.project-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--page-accent);
  margin-bottom: 0.9rem;
}

.project-date {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
  margin-bottom: 0.9rem;
}

.project-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 1.5rem;
}

.project-text p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--cream);
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.project-note {
  font-family: var(--mono);
  font-size: 0.78rem !important;
  color: var(--text-dim-light) !important;
  line-height: 1.6 !important;
}

.project-note em {
  color: var(--cream);
  font-style: normal;
}

.project-instagram-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--page-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  margin-top: 0.5rem;
}

.project-instagram-link:hover {
  border-color: var(--page-accent);
}

.project-video-gallery {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 1500px;
  margin: 0 auto;
}

.project-section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  color: var(--cream);
  margin: 0 0 1.25rem;
}

.project-gallery-intro {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--cream);
  max-width: 46ch;
  margin: 0 0 2rem;
}

.project-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.project-video-item {
  max-width: 100%;
}

.project-videos--wide {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 720px) {
  .project-videos--wide {
    grid-template-columns: 1fr;
  }
}

.project-video-frame {
  aspect-ratio: 2 / 3;
  border: 3px solid var(--page-accent);
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.project-video-frame.widescreen {
  aspect-ratio: 16 / 9;
}

.project-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-credits {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.project-credits-list {
  margin: 0;
}

.project-credits-row {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft-dark);
}

.project-credits-row dt {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--page-accent);
}

.project-credits-row dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cream);
}

@media (max-width: 600px) {
  .project-credits-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.project-video-frame video.anchor-bottom {
  object-position: center bottom;
}

.project-trailer {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.project-trailer-frame {
  aspect-ratio: 16 / 9;
  border: 3px solid var(--page-accent);
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.project-trailer-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-shows {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.project-show-group + .project-show-group {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.project-show {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-soft-dark);
}

.project-show:last-child {
  border-bottom: none;
}

.project-show-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 0 0 0.35rem;
  color: var(--cream);
}

.project-show-credit {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--page-accent);
  margin-bottom: 0.6rem;
}

.project-show-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cream);
  max-width: 60ch;
  margin: 0;
}

.project-carousel {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.project-carousel-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--page-accent);
  overflow: hidden;
  background: #000;
}

.project-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-carousel-track::-webkit-scrollbar {
  display: none;
}

.project-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  line-height: 0;
}

.project-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-carousel-slide img.contain {
  object-fit: contain;
  background: #000;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--page-accent);
  background: rgba(10, 10, 10, 0.55);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.carousel-arrow:hover {
  background: var(--page-accent);
  color: #0a0a0a;
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

@media (max-width: 560px) {
  .carousel-arrow {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.95rem;
  }
}

.project-video-caption {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
  margin-top: 0.6rem;
}

@media (max-width: 780px) {
  .project-videos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .project-videos {
    grid-template-columns: 1fr;
  }
  .project-video-item {
    max-width: 420px;
    margin: 0 auto;
  }
}

.project-moodboard {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
}

.project-moodboard-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
  margin-bottom: 1rem;
}

.project-moodboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.project-moodboard-grid img {
  width: 100%;
  display: block;
  border: 3px solid var(--page-accent);
}

.project-moodboard-frame {
  border: 3px solid var(--page-accent);
  overflow: hidden;
}

.project-moodboard-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-moodboard-frame:hover img {
  transform: scale(1.05);
}

@media (max-width: 720px) {
  .project-moodboard-grid {
    grid-template-columns: 1fr;
  }
}

.project-photos {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.project-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.project-photo-frame {
  aspect-ratio: 3 / 4;
  border: 3px solid var(--page-accent);
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.project-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-photo-frame img.contain {
  object-fit: contain;
}

.project-photos--poster {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-photos--poster .project-photo-frame {
  aspect-ratio: 1131 / 1600;
  height: clamp(480px, 88vh, 920px);
  width: auto;
  max-width: 100%;
}

@media (max-width: 720px) {
  .project-photos-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Background audio player ---------- */

.audio-player {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  top: clamp(14rem, 20vw, 20rem);
  z-index: 40;
}

.audio-travel-sentinel {
  position: fixed;
  top: clamp(14rem, 20vw, 20rem);
  right: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

.audio-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: clamp(7.5rem, 20vw, 8.5rem);
  height: clamp(7.5rem, 20vw, 8.5rem);
  padding: 0.75rem;
  background: var(--page-accent, var(--yellow));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.audio-icon {
  flex-shrink: 0;
  color: #0a0a0a;
  font-size: 1.1rem;
}

.audio-label {
  color: #0a0a0a;
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 7.2rem;
}

.audio-label-line {
  white-space: nowrap;
}

.audio-toggle.is-playing .audio-icon {
  animation: audio-pulse 1.2s ease-in-out infinite;
}

@keyframes audio-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Page footer ---------- */

.page-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line-soft-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim-light);
}

@media (max-width: 720px) {
  .index-row {
    flex-wrap: wrap;
  }
  .index-num {
    width: auto;
    order: -1;
  }
  .index-arrow {
    display: none;
  }
}
