/* ============================================================
   MATTIAS SCHEEK — 100
   Brand: #0f0e0d (black) / #91c73d (green)
   Type: condensed grotesque headlines, quiet serif-free body
   ============================================================ */

:root {
  --black: #0f0e0d;
  --black-soft: #161514;
  --black-card: #1b1a18;
  --green: #91c73d;
  --green-dim: #6f9a2e;
  --white: #f4f3ef;
  --grey: #8b8a85;
  --grey-dark: #3a3936;
  --line: rgba(244, 243, 239, 0.12);

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;

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

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.loading { overflow: hidden; }

::selection { background: var(--green); color: var(--black); }

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

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

/* On devices with a fine pointer we hide the native cursor
   and replace it with the sound-wave cursor */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor, body.custom-cursor a, body.custom-cursor button { cursor: none; }
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */

h1, h2, h3, .head {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.display {
  font-size: clamp(3.4rem, 11vw, 10.5rem);
  font-weight: 700;
}

.h-xl { font-size: clamp(2.6rem, 6.5vw, 5.5rem); }
.h-lg { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.h-md { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--white);
  line-height: 1.6;
  max-width: 38em;
}

.muted { color: var(--grey); }

.accent { color: var(--green); }

/* ------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------ */

.wrap {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }

.section-line { border-top: 1px solid var(--line); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

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

/* ------------------------------------------------------------
   Preloader — the volume knob, 0 → 100
   ------------------------------------------------------------ */

#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.knob-stage { position: relative; width: 240px; height: 240px; }

.knob-ticks { position: absolute; inset: 0; }

.knob-ticks .tick {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 14px;
  background: var(--grey-dark);
  transform-origin: 50% 0;
  transition: background 0.2s linear;
}

.knob-ticks .tick.lit { background: var(--white); }
.knob-ticks .tick.lit-green { background: var(--green); box-shadow: 0 0 8px rgba(145, 199, 61, 0.7); }

.knob-body {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c2b29, #131211 70%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.65);
  transform: rotate(-135deg);
}

.knob-dot {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--grey);
  transition: background 0.3s, box-shadow 0.3s;
}

.knob-body.maxed .knob-dot {
  background: var(--green);
  box-shadow: 0 0 14px rgba(145, 199, 61, 0.9);
}

.knob-counter {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.4rem;
  letter-spacing: 0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.knob-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ------------------------------------------------------------
   Custom cursor + sound waves
   ------------------------------------------------------------ */

.cursor-dot,
.cursor-ring,
.cursor-wave {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  /* above every overlay (gate & preloader sit at 1000) so the
     custom cursor never disappears behind them */
  z-index: 1300;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244, 243, 239, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--green);
}

.cursor-wave {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(145, 199, 61, 0.45);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.6;
  animation: wave-out 1.4s var(--ease) forwards;
}

@keyframes wave-out {
  to {
    transform: translate(-50%, -50%) scale(3.4);
    opacity: 0;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring, .cursor-wave { display: none; }
}

/* Hover distortion target */
.distort { transition: letter-spacing 0.4s var(--ease); }
.distort.distorting { filter: url(#wave-distort); }

@media (prefers-reduced-motion: reduce) {
  .distort.distorting { filter: none; }
  .cursor-wave { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   Header / nav
   ------------------------------------------------------------ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s;
}

header.scrolled {
  background: rgba(15, 14, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo .logo-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #34332f, #141312 72%);
  position: relative;
  flex: none;
}

.logo .logo-knob::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  right: 3px;
  bottom: 4px;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s;
  padding: 0.4rem 0;
}

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

.nav-links a.active { border-bottom: 1px solid var(--green); }

.nav-cta {
  border: 1px solid var(--green) !important;
  color: var(--green) !important;
  padding: 0.55rem 1.1rem !important;
  transition: background 0.3s, color 0.3s !important;
}

.nav-cta:hover { background: var(--green); color: var(--black) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 26px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.3s, top 0.35s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 20px; }

body.nav-open .nav-toggle span:nth-child(1) { top: 12px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(15, 14, 13, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
  }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-links a { font-size: 1rem; }

  /* when the menu is open, lift the header above the floating controls
     and hide those controls so they don't sit on top of the menu */
  body.nav-open header { z-index: 300; }
  body.nav-open .vol-widget,
  body.nav-open .loudness-toggle { opacity: 0; pointer-events: none; }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.btn:hover { color: var(--black); border-color: var(--green); }
.btn:hover::before { transform: scaleX(1); }

.btn.btn-green { border-color: var(--green); color: var(--green); }
.btn.btn-green:hover { color: var(--black); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  position: relative;
}

.hero-bg-knob {
  position: absolute;
  right: -12vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 48vw, 760px);
  height: clamp(380px, 48vw, 760px);
  opacity: 0.5;
  pointer-events: none;
}

.hero h1 { position: relative; z-index: 2; }

.hero h1 .row { display: block; overflow: hidden; }

.hero h1 .row span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}

.hero h1 .row:nth-child(2) span { animation-delay: 0.12s; }
.hero h1 .row:nth-child(3) span { animation-delay: 0.24s; }

/* hold the hero animation until the preloader has finished */
body.loading .hero h1 .row span { animation-play-state: paused; }

@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--green), transparent);
  animation: drip 2.2s ease-in-out infinite;
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: scroll-x 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--grey);
}

.marquee-track span b { color: var(--green); font-weight: 600; }

@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   Stats
   ------------------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: var(--black);
  padding: 2.4rem 1.8rem;
}

.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1;
}

.stat .num em { color: var(--green); font-style: normal; }

.stat .desc {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--grey);
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------
   Principles
   ------------------------------------------------------------ */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.5rem;
}

.principle {
  border: 1px solid var(--line);
  background: var(--black-soft);
  padding: 2.6rem 2.2rem;
  position: relative;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.principle:hover { border-color: var(--green); transform: translateY(-6px); }

.principle .index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 0.3em;
}

.principle h3 { font-size: 1.5rem; margin: 1.2rem 0 1rem; }

.principle p { color: var(--grey); font-size: 0.92rem; }

@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Book cover (CSS render)
   ------------------------------------------------------------ */

.book-cover {
  aspect-ratio: 6 / 9;
  width: min(380px, 80vw);
  margin: 0 auto;
  background: linear-gradient(160deg, #1d1c1a 0%, #0f0e0d 60%);
  border: 1px solid rgba(244, 243, 239, 0.08);
  box-shadow:
    -24px 30px 60px rgba(0, 0, 0, 0.6),
    inset 4px 0 8px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 2.4rem;
  position: relative;
  transition: transform 0.6s var(--ease);
}

.book-cover:hover { transform: rotateY(-4deg) rotateX(2deg); }

.book-cover .cover-knob { width: 52%; }

.book-cover .cover-title-sub {
  font-family: var(--font-head);
  text-transform: uppercase;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  line-height: 1.7;
  color: var(--white);
}

.book-cover .cover-title-sub .green-line { color: var(--green); }

.book-cover .cover-author {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 1rem;
}

/* real book-cover photo fills the frame edge-to-edge
   (overrides the CSS/SVG cover recreation) */
.book-cover.book-cover--photo {
  padding: 0;
  background: none;
  gap: 0;
  overflow: hidden;
}

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

/* ------------------------------------------------------------
   Retailers
   ------------------------------------------------------------ */

.retailers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.6rem;
}

.retailer {
  background: var(--black);
  padding: 1.7rem 1.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s;
}

.retailer:hover { background: var(--black-card); }

.retailer .r-name {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.retailer .r-type {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
  margin-top: 0.3rem;
}

.retailer .arrow { color: var(--green); transition: transform 0.3s var(--ease); }
.retailer:hover .arrow { transform: translateX(6px); }

@media (max-width: 640px) {
  .retailers { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Timeline
   ------------------------------------------------------------ */

.timeline { position: relative; margin-top: 4rem; }

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--grey-dark);
}

.timeline .progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--green);
  box-shadow: 0 0 12px rgba(145, 199, 61, 0.5);
}

.t-item {
  position: relative;
  padding: 0 0 4.5rem 3rem;
  max-width: 720px;
}

.t-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.5rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--grey-dark);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.t-item.visible::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 12px rgba(145, 199, 61, 0.6);
}

.t-year {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
}

.t-item h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0.8rem 0 0.9rem; }

.t-item p { color: var(--grey); max-width: 56ch; }

.t-item .t-volume {
  margin-top: 1.2rem;
  height: 3px;
  width: 160px;
  background: var(--grey-dark);
  position: relative;
  overflow: hidden;
}

.t-item .t-volume i {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(var(--vol, 0));
  transition: transform 1.2s var(--ease) 0.2s;
  transform: scaleX(0);
}

.t-item.visible .t-volume i { transform: scaleX(var(--vol, 0)); }

.t-item .t-vol-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--grey);
  margin-top: 0.5rem;
  display: block;
}

/* ------------------------------------------------------------
   Voices
   ------------------------------------------------------------ */

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.5rem;
}

.voice-card {
  border: 1px solid var(--line);
  background: var(--black-soft);
  padding: 2.4rem 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.voice-card .v-eq {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 26px;
}

.voice-card .v-eq i {
  width: 3px;
  background: var(--grey-dark);
  height: 30%;
}

.voice-card.placeholder .v-eq i { animation: eq 1.6s ease-in-out infinite; }
.voice-card .v-eq i:nth-child(2) { animation-delay: 0.15s; }
.voice-card .v-eq i:nth-child(3) { animation-delay: 0.3s; }
.voice-card .v-eq i:nth-child(4) { animation-delay: 0.45s; }
.voice-card .v-eq i:nth-child(5) { animation-delay: 0.6s; }

@keyframes eq {
  0%, 100% { height: 25%; background: var(--grey-dark); }
  50% { height: 100%; background: var(--green); }
}

/* standalone animated equalizer (reusable outside voice cards) */
.v-eq.live { display: flex; gap: 4px; align-items: flex-end; height: 28px; }
.v-eq.live i { width: 3px; height: 30%; background: var(--grey-dark); animation: eq 1.6s ease-in-out infinite; }
.v-eq.live i:nth-child(2) { animation-delay: 0.15s; }
.v-eq.live i:nth-child(3) { animation-delay: 0.3s; }
.v-eq.live i:nth-child(4) { animation-delay: 0.45s; }
.v-eq.live i:nth-child(5) { animation-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) { .v-eq.live i { animation: none; } }

.voice-card h3 { font-size: 1.3rem; margin-top: 1.6rem; }

.voice-card .v-role {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.5rem;
}

.voice-card blockquote {
  color: var(--grey);
  font-size: 0.92rem;
  margin-top: 1.4rem;
  border-left: 2px solid var(--green);
  padding-left: 1rem;
}

@media (max-width: 980px) { .voices-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .voices-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Quote band
   ------------------------------------------------------------ */

.quote-band {
  text-align: center;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.quote-band blockquote {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 auto;
}

.quote-band cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
}

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

.portrait-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 35%, #232220, var(--black-soft) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portrait-frame .ph-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  position: absolute;
  bottom: 1.4rem;
}

.facts {
  margin-top: 2.8rem;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.fact .k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green);
  padding-top: 0.25rem;
}

@media (max-width: 640px) {
  .fact { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ------------------------------------------------------------
   Page hero (interior pages)
   ------------------------------------------------------------ */

.page-hero {
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-hero h1 { margin-top: 1.4rem; }

.page-hero .lead { margin-top: 1.8rem; }

/* ------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.5rem;
  margin-top: 4rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.foot-grid ul { list-style: none; }

.foot-grid li { margin-bottom: 0.7rem; }

.foot-grid .foot-contact { margin-top: 1.4rem; }

.foot-grid a {
  color: var(--white);
  font-size: 0.92rem;
  transition: color 0.3s;
}

.foot-grid a:hover { color: var(--green); }

.foot-tagline {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1;
  max-width: 18ch;
}

.foot-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ============================================================
   EXPERIENCE LAYER — sound & interaction
   ============================================================ */

/* ------------------------------------------------------------
   The Volume Widget — fixed bottom-left.
   Reading the page turns the volume up (scroll progress 0–100);
   clicking it switches the site's sound on/off.
   ------------------------------------------------------------ */

.vol-widget {
  position: fixed;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(15, 14, 13, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 243, 239, 0.14);
  padding: 0.6rem 1rem 0.6rem 0.7rem;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color 0.3s;
}

.vol-widget:hover { border-color: #91c73d; }

.vol-widget .vw-knob {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #34332f, #141312 72%);
  position: relative;
  flex: none;
  transform: rotate(-135deg);
}

.vol-widget .vw-knob::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #91c73d;
}

.vol-widget .vw-text { line-height: 1.25; }

.vol-widget .vw-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #f4f3ef;
  font-variant-numeric: tabular-nums;
}

.vol-widget .vw-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b8a85;
  white-space: nowrap;
}

.vol-widget.sound-on .vw-label { color: #91c73d; }

/* tiny EQ — animates only while sound is on */
.vol-widget .vw-eq {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 16px;
}

.vol-widget .vw-eq i {
  width: 2px;
  height: 25%;
  background: #3a3936;
}

.vol-widget.sound-on .vw-eq i {
  background: #91c73d;
  animation: vw-eq 1.1s ease-in-out infinite;
}

.vol-widget.sound-on .vw-eq i:nth-child(2) { animation-delay: 0.12s; }
.vol-widget.sound-on .vw-eq i:nth-child(3) { animation-delay: 0.24s; }
.vol-widget.sound-on .vw-eq i:nth-child(4) { animation-delay: 0.36s; }

@keyframes vw-eq {
  0%, 100% { height: 25%; }
  50% { height: 100%; }
}

@media (max-width: 640px) {
  .vol-widget { bottom: 1rem; left: 1rem; padding: 0.5rem 0.8rem 0.5rem 0.6rem; }
}

/* ------------------------------------------------------------
   Waveform canvas — a signal line that lives in hero sections
   and reacts to cursor movement like a speaker reacts to input
   ------------------------------------------------------------ */

[data-wave] { position: relative; }

.wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* keep hero content above the waveform */
[data-wave] > .wrap, [data-wave] > .left, [data-wave] > .photo { position: relative; z-index: 2; }

/* marquee pauses under the cursor — like putting a finger on the record */
.marquee:hover .marquee-track { animation-play-state: paused; }
