:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --bg-subtle: #0f1116;
  --surface: #13161c;
  --surface-hover: #181c24;
  --text: #f2efe9;
  --text-bright: #ffffff;
  --muted: #9aa1ac;
  --faint: #5e6673;
  --line: rgba(242, 239, 233, 0.08);
  --line-strong: rgba(242, 239, 233, 0.17);
  --accent: #d9a45b;
  --accent-hover: #ecc07f;
  --accent-subtle: rgba(217, 164, 91, 0.11);
  --rec: #c85a48;
  --max: 1120px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 80% 45% at 50% -10%, rgba(217, 164, 91, 0.055), transparent 70%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.film-grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: #0a0b0d;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-decoration: none;
}

.skip:focus {
  left: 16px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-mark {
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  right: 0;
}

.lang-switch {
  display: flex;
  gap: 0.2rem;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.lang-btn {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--faint);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: var(--accent);
  background: var(--accent-subtle);
}

.menu-btn {
  display: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 5.5rem 0 5.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-spec {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--faint);
  padding-bottom: 1.5rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.hero-spec span:last-child {
  margin-left: auto;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.4rem, 8.5vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--text-bright);
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.hero .kicker {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.hero-copy {
  max-width: 670px;
  margin: 0 0 1.8rem;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #c8c5be;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
  margin-bottom: 2.4rem;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  content: "/";
  position: absolute;
  left: -1.15rem;
  color: var(--line-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 5px;
  padding: 0.65rem 1.15rem;
  transition: all 0.2s ease;
}

.hero-actions a:hover,
.hero-actions a:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.hero-actions .hero-showreel-link {
  color: #0a0b0d;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.hero-actions .hero-showreel-link:hover,
.hero-actions .hero-showreel-link:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0a0b0d;
}

/* ==========================================================================
   Showreel Feature — Screening Room Viewfinder
   ========================================================================== */

.showreel-feature {
  margin-top: 5rem;
  scroll-margin-top: 90px;
}

.showreel-feature-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
}

.showreel-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.showreel-label span {
  color: var(--faint);
}

.showreel-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--text-bright);
}

.showreel-subtitle {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
  max-width: 340px;
}

.showreel-frame {
  position: relative;
  background: #060708;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.film-sprockets {
  height: 18px;
  background-color: #0b0c10;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 10px,
    rgba(255, 255, 255, 0.08) 10px 22px,
    transparent 22px 32px
  );
  background-size: 32px 10px;
  background-position: 8px center;
  background-repeat: repeat-x;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.film-sprockets--bottom {
  border-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.showreel-inner {
  position: relative;
  padding: 12px;
}

.vf-corner {
  position: absolute;
  width: 11px;
  height: 11px;
  pointer-events: none;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.55;
}

.vf-tl { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
.vf-tr { top: 4px; right: 4px; border-width: 1px 1px 0 0; }
.vf-bl { bottom: 4px; left: 4px; border-width: 0 0 1px 1px; }
.vf-br { bottom: 4px; right: 4px; border-width: 0 1px 1px 0; }

.showreel-frame-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 6px 10px;
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.rec-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rec);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.showreel-frame-divider {
  color: rgba(255, 255, 255, 0.18);
  margin: 0 0.35rem;
}

.showreel-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 3px;
  overflow: hidden;
}

.showreel-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.showreel-feature-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--faint);
}

.showreel-feature-foot a {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.showreel-feature-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Sections General
   ========================================================================== */

main section {
  padding: 5.8rem 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 2.8rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.section-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-bright);
}

.section-copy {
  margin: 0.8rem 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
}

/* ==========================================================================
   Short Films — Film Reels
   ========================================================================== */

.films {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.film {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.film:hover {
  border-color: rgba(217, 164, 91, 0.38);
  transform: translateY(-2px);
}

.film-slate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.9rem;
  background: #0d0f14;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.film-slate span:first-child {
  color: var(--accent);
}

.film-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.film-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.film-body {
  padding: 1.2rem 1.3rem 1.35rem;
}

.film h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}

.film p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   Music & Sound Design Section
   ========================================================================== */

.music-section {
  background: radial-gradient(circle at 80% 35%, rgba(217, 164, 91, 0.055) 0%, transparent 55%),
    linear-gradient(180deg, rgba(217, 164, 91, 0.025) 0%, transparent 100%);
}

.music-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vu-console {
  background: #0c0e13;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.75rem 1rem 0.65rem;
  margin-bottom: 1.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.vu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.meter-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.eq-bars span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
  animation: eq-pulse 6s ease-in-out infinite alternate;
}

.eq-bars span:nth-child(1) { height: 6px; animation-delay: 0.4s; }
.eq-bars span:nth-child(2) { height: 14px; animation-delay: 1.5s; }
.eq-bars span:nth-child(3) { height: 9px; animation-delay: 2.6s; }
.eq-bars span:nth-child(4) { height: 16px; animation-delay: 0.9s; }
.eq-bars span:nth-child(5) { height: 11px; animation-delay: 2.1s; }
.eq-bars span:nth-child(6) { height: 7px; animation-delay: 3.2s; }
.eq-bars span:nth-child(7) { height: 13px; animation-delay: 1.2s; }
.eq-bars span:nth-child(8) { height: 8px; animation-delay: 2.4s; }

@keyframes eq-pulse {
  0% { transform: scaleY(0.75); opacity: 0.75; }
  100% { transform: scaleY(1); opacity: 0.95; }
}

.vu-scale {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.vu-peak {
  color: var(--rec);
  font-weight: 600;
}

.music-lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.35;
  color: var(--text-bright);
  margin: 0 0 1.2rem;
}

.music-desc {
  font-size: 0.96rem;
  line-height: 1.8;
  color: #aeb5bf;
  margin: 0 0 1.6rem;
}

.music-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.8rem;
}

.music-tags span {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: #c2c8d1;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.32rem 0.65rem;
  border-radius: 4px;
}

.music-deck {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.vinyl-sleeve {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  background: #101218;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.vinyl-disc {
  position: relative;
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 30deg,
      rgba(255, 255, 255, 0.08) 0deg,
      transparent 40deg,
      transparent 160deg,
      rgba(255, 255, 255, 0.05) 200deg,
      transparent 245deg,
      transparent 360deg
    ),
    repeating-radial-gradient(
      circle at center,
      #14161b 0px,
      #14161b 2px,
      #090a0d 2.5px,
      #090a0d 4.5px
    );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vinyl-spin 120s linear infinite;
}

@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-label {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e2b36c, #b57b33);
  border: 2px solid #161412;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #161412;
  font-family: var(--mono);
  line-height: 1.05;
  position: relative;
}

.vinyl-label::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0b0d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.vinyl-label span {
  font-size: 0.34rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-7px);
}

.vinyl-label small {
  font-size: 0.32rem;
  font-weight: 700;
  transform: translateY(7px);
}

.vinyl-meta {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.vinyl-kicker {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.vinyl-meta strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1.15;
}

.vinyl-spec {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.spotify-wrap {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.spotify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 6px 10px;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.spotify-header span:last-child {
  color: var(--accent);
}

/* ==========================================================================
   Recognition / Credits (Festival Laurel Paper Section)
   ========================================================================== */

.laurel-section {
  background: #ede6d6;
  color: #161412;
  border-top: 1px solid rgba(22, 20, 18, 0.12);
  border-bottom: 1px solid rgba(22, 20, 18, 0.12);
}

.laurel-section .eyebrow {
  color: #9e2f20;
}

.laurel-section .section-title {
  color: #161412;
}

.laurel-section .section-copy {
  color: #4f4940;
}

.credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.credit {
  background: #f5f0e4;
  border: 1px solid rgba(22, 20, 18, 0.14);
  border-left: 3px solid #9e2f20;
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.credit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 20, 18, 0.08);
}

.credit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.laurel-icon {
  width: 22px;
  height: 22px;
  display: block;
  color: #9e2f20;
  opacity: 0.85;
  flex-shrink: 0;
}

.credit .year {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #9e2f20;
  letter-spacing: 0.06em;
}

.credit h3 {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  color: #161412;
}

.credit h3 a {
  color: #161412;
  text-decoration: none;
  transition: color 0.2s ease;
}

.credit h3 a:hover {
  color: #9e2f20;
}

.credit p {
  margin: 0;
  font-size: 0.86rem;
  color: #4f4940;
  line-height: 1.6;
}

/* ==========================================================================
   Project Cards
   ========================================================================== */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem 2.2rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.project-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.project-featured {
  grid-column: span 2;
  background: #12151c;
}

.project-topline {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.project-content {
  margin-bottom: 2rem;
}

.project-overline {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.project-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-bright);
}

.project-featured h3 {
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.project-card p:not(.project-overline) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #b7bec7;
  max-width: 620px;
}

.project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span,
.practice-competencies span {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: #b0b8c2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.project-card-links {
  display: flex;
  gap: 1.2rem;
}

.project-card-links a {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.project-card-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   About Section & About Page
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.38;
  margin: 0;
  color: var(--text-bright);
}

.about-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
}

.about-body p {
  margin: 0 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  color: var(--accent);
}

.about-top {
  min-height: calc(100vh - 140px);
  padding: 6rem 0 7rem;
}

.story {
  max-width: 780px;
  margin: 0 auto;
}

.story h1 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--text-bright);
}

.story .intro {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--text);
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  margin: 0 0 3rem;
}

.story h2 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 3.5rem 0 1rem;
  color: var(--text-bright);
}

.story p {
  font-size: 1rem;
  line-height: 1.85;
  color: #aeb6c0;
  margin: 0 0 1.5rem;
}

.story-card {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 6px;
  padding: 1.8rem;
  margin: 2.8rem 0;
}

.story-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-bright);
  margin-bottom: 0.8rem;
}

.story .actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ==========================================================================
   Practice Timeline — NLE / DAW Playhead Style
   ========================================================================== */

.practice-section {
  background: var(--bg);
}

.practice-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.2rem 2.4rem;
}

.practice-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-count strong {
  color: var(--accent);
  font-size: 1.05rem;
}

.practice-rail-scroll {
  overflow-x: auto;
  margin: 2rem 0 1.2rem;
  padding-bottom: 0.8rem;
  scrollbar-width: thin;
}

.practice-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 620px;
  --progress: 0%;
  isolation: isolate;
}

.practice-rail::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--line-strong);
  z-index: -1;
}

.practice-rail::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 10%;
  width: var(--progress);
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
  z-index: -1;
}

.practice-tab {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 0 0.5rem 0.5rem;
  font-family: var(--sans);
  transition: color 0.2s ease;
}

.practice-tab:hover,
.practice-tab:focus-visible {
  color: var(--text);
}

.practice-year {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.practice-dot {
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--faint);
  border-radius: 50%;
  background: var(--surface);
  transition: all 0.25s ease;
}

.practice-tab.is-active {
  color: var(--text-bright);
}

.practice-tab.is-active .practice-year {
  color: var(--accent);
}

.practice-tab.is-active .practice-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-subtle);
}

.practice-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.practice-panels {
  min-height: 220px;
}

.practice-panel {
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 1.8rem 2rem;
  animation: panel-fade 0.25s ease;
}

.practice-panel[hidden] {
  display: none !important;
}

@keyframes panel-fade {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.practice-panel-index {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.practice-panel-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2.5rem;
  align-items: flex-end;
}

.practice-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.practice-panel h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-bright);
}

.practice-panel-content p:not(.practice-label) {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: #aeb6c0;
  max-width: 580px;
}

.practice-competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.practice-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.practice-bottom p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--faint);
}

.practice-arrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.practice-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.practice-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ==========================================================================
   Education & Certifications
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.timeline-item {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-bright);
}

.timeline-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.timeline-item .when {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--faint);
  margin-top: 0.4rem;
}

.certs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: flex-start;
}

.cert {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem 1rem;
}

.cert strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-bright);
  margin-bottom: 0.25rem;
}

.cert span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  background: var(--bg);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.6rem 1.1rem;
  background: var(--surface);
  transition: all 0.2s ease;
}

.contact-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--faint);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
  .project-featured {
    grid-column: span 1;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .films {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .music-grid,
  .about-grid,
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .practice-panel-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .practice-competencies {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: inline-block;
  }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    padding: 4rem 0 3.5rem;
  }
  .showreel-feature {
    margin-top: 3.5rem;
  }
  .showreel-feature-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .showreel-subtitle {
    text-align: left;
  }
  main section {
    padding: 4.2rem 0;
  }
  .films,
  .credits {
    grid-template-columns: 1fr;
  }
  .practice-shell {
    padding: 1.5rem;
  }
  .practice-rail {
    min-width: 540px;
  }
  .certs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }
  .hero-spec {
    font-size: 0.62rem;
    gap: 0.8rem;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
  .hero-meta {
    flex-direction: column;
    gap: 0.4rem;
  }
  .hero-meta span + span::before {
    display: none;
  }
  .showreel-title {
    font-size: 2.3rem;
  }
  .showreel-feature-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .practice-bottom p {
    display: none;
  }
  .film-sprockets {
    height: 14px;
    background-size: 26px 8px;
  }
  .vinyl-sleeve {
    padding: 0.9rem 1rem;
    gap: 1rem;
  }
  .vinyl-disc {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
  }
  .vinyl-label {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
