/* ============================================================
   JACK LARKIN COMPOSER — Shared Styles
   v2.0: Liquid glass, Libre Baskerville, unified player
============================================================ */

/* ── Variables ── */
:root {
  --gold:          #d4a84b;
  --gold-dim:      rgba(212,168,75,0.18);
  --gold-mid:      rgba(212,168,75,0.45);
  --gold-bright:   #e4c76b;
  --bg:            #0a0a0a;
  --bg-card:       #111111;
  --bg-elevated:   #0e0e0e;
  --text:          #e0e0e0;
  --text-muted:    #888888;
  --text-dim:      #555555;
  --border:        #222222;
  --border-light:  #2e2e2e;

  /* Typography */
  --font-display:  'Libre Baskerville', Georgia, serif;
  --font-heading:  'Libre Baskerville', Georgia, serif;
  --font-body:     'Montserrat', system-ui, sans-serif;
  --font-quote:    'Lora', 'Libre Baskerville', serif;

  /* Liquid glass tokens */
  --glass-bg:      rgba(8,8,14,0.25);
  --glass-bg-mid:  rgba(8,8,14,0.45);
  --glass-bg-deep: rgba(8,8,14,0.65);
  --glass-border:  rgba(255,255,255,0.08);
  --glass-border-gold: rgba(212,168,75,0.14);
  --glass-blur:    blur(24px);
  --glass-blur-sm: blur(14px);

  /* Utility colours */
  --white:              #ffffff;
  --black:              #000000;
  --text-bright:        #eeeeee;
  --gold-sel:           rgba(212,168,75,0.28);

  /* Shimmer skeleton */
  --shimmer-base:       #1a1a1a;
  --shimmer-hi:         #252525;
  --shimmer-base-alt:   #1e1e1e;
  --shimmer-hi-alt:     #2a2a2a;

  /* Feedback colours */
  --color-error:        #ef5350;
  --color-warning:      #fbc02d;
  --color-success:      #81c784;
  --color-success-bg:   rgba(76,175,80,0.1);
  --color-success-bdr:  #4caf50;
  --color-disabled:     #666666;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Background Texture ── */
.site-bg {
  position: fixed;
  left: 0; right: 0;
  top: 0; height: 115%;
  z-index: -1;
  will-change: transform;
  background: var(--bg) url('../images/bg-texture.png') center center / cover no-repeat;
}

/* ── Links ── */
a { color: var(--gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; display: block; }

/* ============================================================
   AUDIOVISUAL EXPERIENCE BANNER — fixed side panel
============================================================ */
.av-banner {
  position: fixed;
  right: -280px; /* off-screen until .is-visible */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1010;
  display: block;
  width: 240px;
  padding: 26px 22px 22px;
  border-radius: 10px 0 0 10px;
  background: var(--glass-bg-deep);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-gold);
  border-right: none;
  color: var(--gold);
  text-decoration: none;
  overflow: hidden;
  transition: right 0.6s cubic-bezier(.4,0,.2,1),
              width 0.5s cubic-bezier(.4,0,.2,1),
              padding 0.5s cubic-bezier(.4,0,.2,1),
              background 0.5s ease,
              border-color 0.5s ease,
              box-shadow 0.5s ease;
}
.av-banner.is-visible {
  right: 0;
}
/* Subtle diagonal shimmer sweep */
.av-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(212,168,75,0.10) 50%, transparent 70%);
  transform: translateX(-150%);
  pointer-events: none;
  z-index: 0;
}
/* Thin gold left-edge accent */
.av-banner::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
  opacity: 0.3;
  z-index: 3;
  transition: opacity 0.5s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .av-banner:not(.is-subtle)::before {
    animation: avSweep 5s ease-in-out infinite;
  }
  .av-banner:not(.is-subtle) {
    animation: avGlow 4s ease-in-out infinite;
  }
}
@keyframes avSweep {
  0%   { transform: translateX(-150%); }
  60%  { transform: translateX(150%); }
  100% { transform: translateX(150%); }
}
@keyframes avGlow {
  0%, 100% {
    box-shadow: -4px 0 16px rgba(212,168,75,0.06),
                inset 0 0 0 rgba(212,168,75,0);
  }
  50% {
    box-shadow: -4px 0 24px rgba(212,168,75,0.12),
                inset 0 0 10px rgba(212,168,75,0.02);
  }
}

/* ── Expanded inner content ── */
.av-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.av-banner__label {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid var(--gold-mid);
  transition: background 0.3s ease, color 0.3s ease;
}
.av-banner__label--new {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.av-banner__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--gold);
  font-style: italic;
}
.av-banner__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.av-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-mid);
  padding: 6px 14px;
  align-self: flex-start;
  transition: background 0.2s ease, color 0.2s ease;
}
.av-banner__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ── Collapsed / subtle state ── */
.av-banner.is-subtle {
  width: 32px;
  padding: 56px 0;
  background: var(--glass-bg-mid);
  border-color: rgba(212,168,75,0.12);
  box-shadow: -2px 0 10px rgba(212,168,75,0.05) !important;
  animation: none !important;
}
.av-banner.is-subtle::before { animation: none !important; opacity: 0; }
.av-banner.is-subtle::after { opacity: 0.2; }
.av-banner.is-subtle .av-banner__inner {
  opacity: 0;
  pointer-events: none;
}

/* Vertical tab label shown when collapsed */
.av-banner__tab {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.56rem;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0.35s;
  z-index: 2;
}
.av-banner.is-subtle .av-banner__tab {
  opacity: 1;
}

.av-banner.is-subtle:hover,
.av-banner.is-subtle:focus-visible {
  background: var(--glass-bg-deep);
  border-color: var(--glass-border-gold);
  box-shadow: -3px 0 18px rgba(212,168,75,0.14) !important;
}
.av-banner.is-subtle:hover .av-banner__tab,
.av-banner.is-subtle:focus-visible .av-banner__tab {
  color: var(--gold);
}

/* ── Hover interactions ── */
.av-banner:hover,
.av-banner:focus-visible {
  outline: none;
}
.av-banner:not(.is-subtle):hover .av-banner__cta,
.av-banner:not(.is-subtle):focus-visible .av-banner__cta {
  background: var(--gold-bright);
  box-shadow: 0 2px 16px rgba(212,168,75,0.4);
}
.av-banner:not(.is-subtle):hover .av-banner__arrow,
.av-banner:not(.is-subtle):focus-visible .av-banner__arrow {
  transform: translateX(5px);
}

/* ── Mobile: bottom bar → small pill ── */
@media (max-width: 700px) {
  .av-banner {
    top: auto;
    bottom: -120px; /* off-screen until .is-visible */
    right: 0;
    left: 0;
    width: 100%;
    transform: none;
    padding: 14px 20px 16px;
    border-radius: 12px 12px 0 0;
    border: 1px solid var(--glass-border-gold);
    border-bottom: none;
    display: flex;
    align-items: center;
    transition: bottom 0.55s cubic-bezier(.4,0,.2,1),
                height 0.45s cubic-bezier(.4,0,.2,1),
                background 0.5s ease,
                border-color 0.5s ease,
                box-shadow 0.5s ease;
  }
  .av-banner::after { display: none; }
  .av-banner.is-visible { bottom: 0; }

  .av-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
  }
  .av-banner__label { flex-shrink: 0; }
  .av-banner__title {
    font-size: 1rem;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .av-banner__sub { display: none; }
  .av-banner__cta {
    flex-shrink: 0;
    margin-top: 0;
    padding: 6px 14px;
    font-size: 0.62rem;
  }

  /* Collapsed: shrinks to a slim strip at the very bottom */
  .av-banner.is-subtle {
    width: 100%;
    padding: 8px 20px;
    border-radius: 0;
  }
  .av-banner.is-subtle .av-banner__tab {
    transform: translate(-50%, -50%) rotate(0deg);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    font-style: italic;
  }

  @media (prefers-reduced-motion: no-preference) {
    .av-banner:not(.is-subtle) {
      animation: avGlowMobile 4s ease-in-out infinite;
    }
  }
  @keyframes avGlowMobile {
    0%, 100% { box-shadow: 0 -4px 24px rgba(212,168,75,0.10); }
    50%       { box-shadow: 0 -4px 36px rgba(212,168,75,0.22); }
  }
}

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border-bottom: 1px solid var(--glass-border-gold);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  position: relative;
  z-index: 1001;
}
.announce-bar__text { letter-spacing: 0.02em; }
.announce-bar__link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-mid);
  padding: 4px 14px;
  transition: all 0.2s ease;
}
.announce-bar__link:hover { background: var(--gold); color: var(--bg); }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 56px;
  background: var(--glass-bg-mid);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo { height: 28px; width: auto; }
.nav__brand-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav__links > li { position: relative; }
.nav__links a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  height: 56px;
  line-height: 56px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.active { color: var(--white); }
.nav__links a.active::after { transform: scaleX(1); }

/* ── Links Dropdown ── */
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 160px;
  background: var(--glass-bg-deep);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  list-style: none;
  padding: 4px 0;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu { display: block; }
.nav__dropdown-menu li a {
  display: block;
  height: auto;
  line-height: 1.4;
  padding: 10px 18px;
  font-size: 0.76rem;
}
.nav__dropdown-menu li a::after { display: none; }
.nav__dropdown-menu li a:hover { background: rgba(255,255,255,0.06); }
.nav__dropdown-chevron {
  display: inline-flex;
  transition: transform 0.2s;
  line-height: 0;
}
.nav__dropdown:hover .nav__dropdown-chevron { transform: rotate(180deg); }

/* ── Nav inline social icons (home page trial) ── */
.nav__social-icons {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
}
.nav__social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 56px;
  color: var(--text-muted);
  transition: color 0.2s ease;
  padding: 0;
}
.nav__social-icons a::after { display: none; }
.nav__social-icons a:hover { color: var(--gold); }

/* ── Nav CTA (hidden until announce bar scrolls away) ── */
.nav__cta {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-mid);
  padding: 6px 16px;
  transition: all 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.nav--scrolled .nav__cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav__cta:hover { background: var(--gold); color: var(--bg); }

/* ── Mobile toggle ── */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ── Mobile nav panel ── */
.nav__mobile-panel {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(6,6,6,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav__mobile-panel.open { display: flex; }
.nav__mobile-panel a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav__mobile-panel a:hover, .nav__mobile-panel a.active { color: var(--gold); }
.nav__mobile-panel .mobile-links-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}
.nav__mobile-panel .mobile-links-group {
  display: flex;
  gap: 24px;
}
.nav__mobile-panel .mobile-links-group a {
  font-size: 1rem;
  padding: 4px 0;
}
.nav__mobile-panel .mobile-links-group--icons { gap: 20px; }
.nav__mobile-panel .mobile-links-group--icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav__mobile-panel .mobile-links-group--icons a:hover { color: var(--gold); }
.nav__mobile-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* ============================================================
   PAGE TITLE — Bordered treatment (Libre Baskerville)
============================================================ */
.page-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
}
.page-title {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 20px 20px;
  border: none;
}
.page-title::before,
.page-title::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-mid));
  flex-shrink: 0;
}
.page-title::after {
  background: linear-gradient(to left, transparent, var(--gold-mid));
}
.page-title h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.page-hero--home .page-title { padding: 28px 20px; }
.page-hero--home .page-title h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }

/* ============================================================
   CONTENT SECTIONS
============================================================ */
.section { max-width: 1100px; margin: 0 auto; padding: 30px 24px; }
.section--narrow  { max-width: 720px; }
.section-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.content-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
}
.content-text--left { text-align: left; }
.content-text strong { font-weight: 500; color: var(--white); }
.content-text em { font-family: var(--font-quote); }
.divider { height: 1px; background: var(--border); margin: 24px 0; }


/* ============================================================
   INTRO ROW
============================================================ */
.intro-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px 30px;
}
.intro-row__media { flex: 0 0 52%; max-width: 52%; }
.intro-row__text { flex: 1; min-width: 0; }
.intro-row__heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.intro-row__body {
  font-family: var(--font-quote);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.listen-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-mid);
  padding: 8px 24px;
  transition: all 0.2s ease;
}
.listen-btn:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold-bright); }

/* ============================================================
   RECENT WORK GRID (Homepage)
============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.work-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid transparent;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  border-color: var(--glass-border-gold);
}
.work-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.work-card:hover .work-card__img { transform: scale(1.04); }
.work-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
}
.work-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.work-card:hover .work-card__play { opacity: 1; }
.work-card__play svg { width: 44px; height: 44px; }
.work-card__title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* See full portfolio */
.see-all { text-align: center; padding: 20px 0 10px; }
.see-all--top { padding-top: 32px; }
.see-all a {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 8px 24px;
  transition: all 0.2s ease;
}
.see-all a:hover { border-color: var(--gold-mid); color: var(--gold); }

/* ============================================================
   CTA BANNER (Libre Baskerville)
============================================================ */
.cta-banner {
  text-align: center;
  padding: 36px 24px;
  margin: 20px 0 0;
  border-top: 1px solid var(--border);
}
.cta-banner__text {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* ============================================================
   HERO VIDEO CARD (index.html)
============================================================ */
@keyframes heroCardIn {
  from { opacity:0; transform:translateY(10px) scale(0.97); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.hero-card {
  width: 100%;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212,168,75,0.2);
  background: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-card { animation: heroCardIn 0.4s ease both; }
}
.hero-card:hover,
.hero-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,168,75,0.35);
  border-color: rgba(212,168,75,0.45);
}
.hero-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg);
  overflow: hidden;
}
.hero-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.hero-thumb img.loaded { opacity: 1; }
.hero-card:hover .hero-thumb img { transform: scale(1.04); }
.hero-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,0.5) 72%, rgba(0,0,0,0.88) 100%);
  pointer-events: none;
}
.hero-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.hero-play-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1.5px solid var(--gold-mid);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-card:hover .hero-play-circle,
.hero-card:focus-visible .hero-play-circle {
  background: var(--gold-dim);
  border-color: var(--gold);
  transform: scale(1.1);
}
.hero-play-circle svg { margin-left: 3px; }
.hero-thumb-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 10px 14px 13px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.hero-label-badge {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-mid);
  border-radius: 3px;
  padding: 3px 7px;
  white-space: nowrap; flex-shrink: 0;
}
.hero-label-title {
  font-size: 0.75rem; font-weight: 500; line-height: 1.35;
  color: rgba(255,255,255,0.9);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-align: right;
}

/* ============================================================
   UNIFIED VIDEO PLAYER OVERLAY (JLPlayer)
   Used on index, portfolio, sound-design
============================================================ */
.jlp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.jlp-overlay.open {
  display: flex;
  opacity: 0;
}
.jlp-overlay.visible { opacity: 1; }

.jlp-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,168,75,0.12);
}

/* ── Player bar ── */
.jlp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--glass-bg-deep);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
  flex-wrap: wrap;
  min-height: 44px;
}
.jlp-bar-title {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}
.jlp-bar-actions { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.jlp-btn {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 10px;
  cursor: pointer;
  height: 28px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.jlp-btn:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); color: var(--white); }
.jlp-btn.active { border-color: var(--gold-mid); color: var(--gold); background: var(--gold-dim); }
.jlp-btn:disabled { opacity: 0.28; cursor: default; pointer-events: none; }

/* ── Stage ── */
.jlp-stage {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  background: var(--black);
}
.jlp-video-col { flex: 1 1 auto; min-width: 0; }
.jlp-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--black);
  overflow: hidden;
}
.jlp-ratio iframe,
.jlp-ratio video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: contain;
  background: var(--black);
}

/* ── Info wing (desktop) ── */
.jlp-wing {
  flex-shrink: 0;
  width: 0;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  background: var(--glass-bg-deep);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-left: 1px solid var(--glass-border);
}
.jlp-wing.open { width: 290px; }
.jlp-wing-inner {
  width: 290px;
  padding: 20px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
@keyframes jlpWingReveal {
  from { opacity:0; transform:translateX(12px); }
  to   { opacity:1; transform:translateX(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .jlp-wing.open .jlp-wing-inner { animation: jlpWingReveal 0.3s 0.18s ease both; }
}
.jlp-wing-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}
.jlp-wing-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(212,168,75,0.25), transparent);
  flex-shrink: 0;
}
.jlp-wing-body {
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
  font-weight: 300;
}
.jlp-wing-body p + p { margin-top: 10px; }
.jlp-wing-body p:first-child { color: rgba(255,255,255,0.82); font-weight: 400; }

/* ── YT link ── */
.jlp-yt-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 14px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border-top: 1px solid var(--glass-border);
  text-decoration: none;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.jlp-yt-link:hover { color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.04); }
.jlp-yt-link.hidden { display: none; }

/* ── Skel loader ── */
@keyframes jlpShimmer { from{background-position:-400px 0} to{background-position:400px 0} }
.jlp-skel {
  border-radius: 4px;
  height: 10px;
  background: linear-gradient(90deg, var(--shimmer-base) 25%, var(--shimmer-hi) 50%, var(--shimmer-base) 75%);
  background-size: 800px 100%;
  margin-bottom: 7px;
}
@media (prefers-reduced-motion: no-preference) {
  .jlp-skel { animation: jlpShimmer 1.4s infinite linear; }
}
.jlp-skel:nth-child(2) { width: 85%; }
.jlp-skel:nth-child(3) { width: 70%; }
.jlp-skel:nth-child(4) { width: 80%; }

/* ── Mobile player (<=640px) ── */
@media (max-width: 640px) {
  .jlp-overlay { padding: 8px; align-items: center; }
  .jlp-container {
    border-radius: 12px;
    max-width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .jlp-stage { flex-direction: column; overflow-y: auto; flex: 0 0 auto; }
  .jlp-wing {
    width: 100% !important;
    border-left: none;
    border-top: 1px solid var(--glass-border-gold);
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .jlp-wing.open { max-height: 40vh; }
  .jlp-wing-inner { width: 100%; max-height: 40vh; padding: 16px 16px 28px; }
  @keyframes jlpDrawerReveal {
    from { opacity:0; transform:translateY(8px); }
    to   { opacity:1; transform:translateY(0); }
  }
  .jlp-bar-title { display: none; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .jlp-wing.open .jlp-wing-inner { animation: jlpDrawerReveal 0.3s 0.1s ease both; }
}
@media (min-width: 641px) and (max-width: 860px) {
  .jlp-wing.open { width: 240px; }
  .jlp-wing-inner { width: 240px; }
}

/* ============================================================
   PORTFOLIO GALLERY
============================================================ */
.gal-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.gal-card {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.gal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  border-color: var(--glass-border-gold);
}
.gal-card:active { transform: scale(0.96); opacity: 0.8; }
.gal-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-card);
  overflow: hidden;
}
.gal-thumb img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0; transition: opacity 0.3s;
}
.gal-thumb img.loaded { opacity: 1; }
.gal-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.28);
  transition: background 0.2s;
}
.gal-card:hover .gal-play-overlay { background: rgba(0,0,0,0.15); }
.gal-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gal-badge--rescore {
  background: var(--gold-dim);
  border: 1px solid var(--gold-mid);
  color: var(--gold);
}
.gal-badge--portfolio {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
}
.gal-card-meta { padding: 8px 10px 12px; }
.gal-card-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-bright);
}
@keyframes galShimmer { from{background-position:-400px 0} to{background-position:400px 0} }
.gal-skel {
  border-radius: 4px; height: 12px;
  background: linear-gradient(90deg, var(--shimmer-base-alt) 25%, var(--shimmer-hi-alt) 50%, var(--shimmer-base-alt) 75%);
  background-size: 800px 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .gal-skel { animation: galShimmer 1.4s infinite linear; }
}
.gal-skel-short { width: 55%; margin-top: 5px; height: 9px; }

/* ============================================================
   ANCIENT WANDERER — FEATURED PORTFOLIO ENTRY
============================================================ */
.aw-feature {
  max-width: 1100px;
  margin: 0 auto 16px;
  padding: 0 24px;
}
.aw-feature__card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 0;
  background: var(--glass-bg-mid);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border-gold);
  border-radius: 6px;
  overflow: hidden;
}
.aw-feature__img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.aw-feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.82) saturate(0.85);
  transition: filter 0.4s ease;
}
.aw-feature__card:hover .aw-feature__img {
  filter: brightness(0.9) saturate(0.95);
}
.aw-feature__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--glass-bg-mid) 100%);
  pointer-events: none;
}
.aw-feature__body {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.aw-feature__eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}
.aw-feature__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--text-bright);
}
.aw-feature__desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 38ch;
}
.aw-feature__chapters {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--glass-border-gold);
  padding-left: 14px;
  margin-top: 2px;
}
.aw-feature__chapter {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.aw-feature__chapter em {
  font-family: var(--font-quote);
  color: var(--gold);
  font-style: italic;
}
.aw-feature__meta {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}
.aw-feature__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.aw-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-mid);
  padding: 8px 20px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.aw-feature__cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.aw-feature__cta--secondary {
  color: var(--text-muted);
  border-color: var(--border-light);
}
.aw-feature__cta--secondary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-mid);
}
.aw-feature__cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.aw-feature__cta:hover .aw-feature__cta-arrow { transform: translateX(4px); }

@media (max-width: 700px) {
  .aw-feature { padding: 0 16px; }
  .aw-feature__card { grid-template-columns: 1fr; }
  .aw-feature__img-wrap { min-height: 200px; max-height: 220px; }
  .aw-feature__img-overlay { background: linear-gradient(0deg, var(--glass-bg-mid) 0%, transparent 60%); }
  .aw-feature__body { padding: 22px 20px 20px; }
  .aw-feature__title { font-size: 1.35rem; }
  .aw-feature__desc { max-width: none; }
}

/* Sound Design Portfolio link */
.sd-portfolio-link { text-align: center; padding: 20px 0 24px; }
.sd-portfolio-link a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 8px 24px;
  transition: all 0.2s ease;
}
.sd-portfolio-link a:hover { border-color: var(--gold-mid); color: var(--gold); }

/* Tracks section */
.tracks-section { max-width: 1100px; margin: 0 auto; padding: 0 24px 30px; }
@media (max-width: 600px) {
  .tracks-section { padding: 0 16px 20px; }
}

/* ============================================================
   AUDIO PLAYER (Tracks section)
============================================================ */
.audio-player-shell {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ── Audio player sticky header ── */
.ap-sticky-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 56px; /* nav height */
  z-index: 10;
  transition: box-shadow 0.2s;
}
.ap-sticky-header.stuck {
  z-index: 400;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  border-radius: 0;
  padding: 8px 0;
  margin: 0;
}

/* ── Cog button ── */
.ap-cog-btn {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  position: relative;
}
.ap-cog-btn:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.ap-cog-btn.on { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ── Controls row: sits above filter section so cog dropdown is never obscured ── */
.controls-row { position: relative; z-index: 2; }
.filter-section { position: relative; z-index: 1; }

/* ── Cog dropdown ── */
.ap-cog-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(8,8,14,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 5px;
  min-width: 110px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  z-index: 9999;
}
.ap-cog-dropdown.open { display: flex; }

/* ── Back to top — inline in controls row, slides in when player is stuck ── */
.ap-back-top {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  background: rgba(8,8,14,0.9);
  border: 1px solid var(--gold-mid);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, max-width 0.3s ease, padding 0.3s ease;
}
.ap-back-top.visible {
  opacity: 1;
  visibility: visible;
  max-width: 140px;
  padding: 5px 12px;
}
.ap-back-top:hover { background: var(--gold-dim); }
/* ============================================================
   TESTIMONIALS (About page)
============================================================ */
.testimonials-section { max-width: 720px; margin: 0 auto; padding: 10px 24px 30px; }
.test-cards-container {
  position: relative; width: 100%;
  overflow: visible;
}
.test-card {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; flex-direction: row; align-items: flex-start; gap: 28px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border-gold);
  border-radius: 6px;
  padding: 32px 36px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
  width: 100%;
}
.test-card.active {
  opacity: 1; pointer-events: auto; visibility: visible;
  transition: opacity 1.2s ease, visibility 0s linear 0s;
}
.test-logo {
  flex-shrink: 0; width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,168,75,0.2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.test-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.test-logo__initials { color: rgba(255,255,255,0.6); font-size: 20px; font-style: italic; }
.test-content { flex: 1; min-width: 0; }
.test-quote-mark { display: block; font-size: 48px; line-height: 0.6; color: rgba(212,168,75,0.25); margin-bottom: 10px; }
.test-body {
  color: rgba(255,255,255,0.88);
  font-family: var(--font-quote);
  font-size: 16px; line-height: 1.75;
  margin-bottom: 16px; word-wrap: break-word;
}
.test-italic { font-style: italic; }
.test-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(212,168,75,0.6);
  border: 1px solid rgba(212,168,75,0.2);
  border-radius: 2px; padding: 3px 8px; margin-bottom: 12px;
}
.test-author {
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); word-wrap: break-word;
}
.test-author strong { color: rgba(255,255,255,0.65); }
.test-nav-bars { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 16px; }
.test-bar-wrap {
  position: relative; height: 28px;
  display: flex; align-items: center;
  cursor: pointer; padding: 8px 0;
  -webkit-tap-highlight-color: transparent;
}
.test-bar-track {
  width: 80px; height: 2px;
  background: rgba(212,168,75,0.15); border-radius: 99px; overflow: hidden;
  transition: background 0.3s ease;
}
.test-bar-wrap:hover .test-bar-track { background: rgba(212,168,75,0.3); }
.test-bar-wrap.active .test-bar-track { background: rgba(212,168,75,0.25); }
.test-bar-fill { height: 100%; width: 0%; background: var(--gold); border-radius: 99px; }
.test-bar-wrap::after {
  content: attr(data-label);
  position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.85); color: rgba(255,255,255,0.8);
  font-family: var(--font-heading); font-size: 0.62rem; letter-spacing: 0.06em;
  white-space: nowrap; padding: 4px 8px; border-radius: 3px;
  pointer-events: none; opacity: 0; transition: opacity 0.15s; z-index: 10;
}
.test-bar-wrap:hover::after { opacity: 1; }
.test-mobile { display: none; }
@media (max-width: 600px) {
  .test-nav-bars { display: none; }
  .test-cards-container { display: none; }
  .test-mobile { display: block; }
  .testimonials-section { padding: 10px 16px 24px; }
  .m-test-card { display:none; background:var(--glass-bg); backdrop-filter:var(--glass-blur-sm); -webkit-backdrop-filter:var(--glass-blur-sm); border:1px solid var(--glass-border-gold); border-radius:6px; padding:16px; }
  .m-test-card.m-active { display:block; }
  .m-test-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
  .m-test-logo { flex-shrink:0; width:40px; height:40px; border-radius:50%; overflow:hidden; border:1px solid rgba(212,168,75,0.2); background:rgba(255,255,255,0.08); }
  .m-test-logo img { width:100%; height:100%; object-fit:cover; display:block; }
  .m-test-name { font-family:var(--font-heading); font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,0.75); }
  .m-test-role { font-family:var(--font-heading); font-size:10px; color:rgba(255,255,255,0.38); letter-spacing:0.5px; margin-top:2px; }
  .m-test-text { font-family:var(--font-quote); font-size:13px; line-height:1.65; color:rgba(255,255,255,0.82); }
  .m-test-text.m-italic { font-style:italic; }
  .m-test-tag { display:inline-block; font-family:var(--font-heading); font-size:9px; letter-spacing:1.8px; text-transform:uppercase; color:rgba(212,168,75,0.5); border:1px solid rgba(212,168,75,0.15); border-radius:2px; padding:2px 6px; margin-bottom:8px; }
  .m-test-nav { display:flex; align-items:center; justify-content:center; gap:20px; margin-top:12px; }
  .m-test-arrow { background:none; border:1px solid rgba(212,168,75,0.2); border-radius:50%; width:30px; height:30px; display:flex; align-items:center; justify-content:center; cursor:pointer; color:rgba(255,255,255,0.5); transition:border-color 0.15s,color 0.15s; }
  .m-test-arrow:hover { border-color:var(--gold-mid); color:var(--gold); }
  .m-test-counter { font-family:var(--font-heading); font-size:10px; letter-spacing:2px; color:rgba(255,255,255,0.3); }
}

/* ============================================================
   SERVICES
============================================================ */
.services-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.service-block { padding: 0 24px; }
.service-block__title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-block__desc { font-size: 0.95rem; font-weight: 300; line-height: 1.75; color: var(--text-muted); }

.service-quote { margin: 0 auto; max-width: 680px; padding: 28px 32px; border-left: 3px solid var(--gold); background: var(--glass-bg-mid); backdrop-filter: blur(var(--glass-blur)); border-radius: 0 8px 8px 0; }
.service-quote p { font-family: var(--font-quote); font-size: 1.05rem; line-height: 1.7; color: var(--text); margin: 0 0 14px; }
.service-quote footer { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; }
.service-quote cite { font-style: normal; color: var(--gold); }

.faq-list { max-width: 720px; margin: 24px auto 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 4px 0; }
.faq-item summary { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--white); padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 1.2rem; font-weight: 300; flex-shrink: 0; margin-left: 16px; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 0.9rem; font-weight: 300; line-height: 1.75; color: var(--text-muted); padding: 0 0 16px; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item summary::after { transition: transform 0.2s ease; }
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-text { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.about-text p { font-size: 0.95rem; font-weight: 300; line-height: 1.8; color: var(--text); text-align: center; margin-bottom: 16px; }
.about-text p:first-child { font-size: 1rem; }
.about-cta { text-align: center; margin-top: 20px; }
.about-cta a {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--border-light); padding: 10px 32px;
  transition: all 0.2s ease;
}
.about-cta a:hover { border-color: var(--gold-mid); color: var(--gold); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--glass-bg-mid);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: 48px 0 24px;
  margin-top: 64px;
  position: relative;
  z-index: 10;
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.footer__col--brand { flex: 1 1 240px; }
.footer__logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer__logo-img { border-radius: 50%; }
.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-bright);
}
.footer__tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__socials {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  justify-content: center;
}
.footer__socials a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer__socials a:hover { color: var(--gold); }
.footer__bar {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}
.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer__email { display: none; } /* hide old email row if still present */
.footer__sitemap summary { display: none; }
.footer__sitemap ul {
  list-style: none;
  display: flex !important;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__sitemap ul li a {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer__sitemap ul li a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta   { display: none !important; }
  .nav__toggle { display: block; }
  .page-title { padding: 16px 36px; }
  .page-hero  { padding: 40px 16px 24px; }
  .intro-row  { flex-direction: column; gap: 20px; padding: 10px 16px 24px; }
  .intro-row__media { flex: none; max-width: 100%; }
  .work-grid  { grid-template-columns: 1fr; gap: 10px; padding: 0 16px; }
  .section    { padding: 20px 16px; }
  .services-list { gap: 20px; }
  .service-block { padding: 0 16px; }
  .about-text { padding: 0 16px; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 541px) and (max-width: 750px) {
  .gal-rail { grid-template-columns: repeat(2,1fr); gap: 12px; }
}
@media (max-width: 540px) {
  .gal-rail { grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0 16px; }
}
@media (max-width: 360px) {
  .gal-rail { grid-template-columns: 1fr; }
}

/* ── Show More / Less ── */
.show-more-row { max-width: 1100px; margin: 0 auto; padding: 12px 24px 0; text-align: center; }
@media (max-width: 600px) {
  .show-more-row { padding: 12px 16px 0; }
}
.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.show-more-btn:hover { border-color: var(--gold-mid); color: var(--gold); }
.show-more-btn svg { transition: transform 0.25s ease; flex-shrink: 0; }
.show-more-btn.expanded svg { transform: rotate(180deg); }
.gal-capped   { display: none !important; }
.track-capped { display: none !important; }
.card-capped  { display: none !important; }

/* ── Mobile nav inline links ── */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ── Global focus-visible ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── Global QoL ── */
::selection { background: var(--gold-sel); color: var(--white); }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  body { animation: pageFadeIn 0.25s ease; }
}
[id] { scroll-margin-top: 72px; }
html { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-container { max-width:580px; margin:0 auto; padding:0 24px 60px; }
.contact-header { text-align:center; margin-bottom:32px; }
.contact-header p { font-size:0.9rem; color:var(--text-dim); font-weight:300; line-height:1.7; }
.contact-header p a { color:var(--text-muted); text-decoration:none; border-bottom:1px solid var(--border); transition:color .2s, border-color .2s; }
.contact-header p a:hover { color:var(--gold); border-bottom-color:var(--gold-mid); }
.contact-header__email { margin-top:6px; }
.form-group--spaced { margin-bottom:40px; }

.contact-form { padding:0; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:28px; }
.form-group { margin-bottom:28px; position:relative; }
.form-group label {
  display:block; margin-bottom:10px;
  color:var(--text); font-size:.68rem; font-weight:600;
  font-family:var(--font-body); text-transform:uppercase; letter-spacing:.12em;
}
.required { color:var(--gold); opacity:.8; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:9px 0;
  background:transparent;
  border:none; border-bottom:1px solid rgba(255,255,255,0.22); border-radius:0;
  font-size:.93rem; font-family:var(--font-body);
  transition:border-color .25s; color:var(--text);
}
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--text-muted); font-size:.88rem; }
.form-group textarea { min-height:120px; resize:vertical; scrollbar-width:none; }
.form-group textarea::-webkit-scrollbar { display:none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color:var(--gold-mid); outline:none; background:transparent; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-bottom-color:var(--color-error); }
.error-message { color:var(--color-error); font-size:.75rem; margin-top:5px; display:none; letter-spacing:.02em; }
.form-group.error .error-message { display:block; }
.char-counter { position:absolute; bottom:-20px; right:0; font-size:.68rem; color:var(--text-muted); transition:color .2s; letter-spacing:.04em; }
.char-counter.warning { color:var(--color-warning); }
.char-counter.limit { color:var(--color-error); }
.other-project-field { margin-top:14px; display:none; }
.other-project-field.show { display:block; }
.other-project-field input {
  width:100%; padding:9px 0;
  background:transparent;
  border:none; border-bottom:1px solid rgba(255,255,255,0.22); border-radius:0;
  font-size:.93rem; font-family:var(--font-body);
  transition:border-color .25s; color:var(--text);
}
.other-project-field input::placeholder { color:var(--text-muted); font-size:.88rem; }
.other-project-field input:focus { border-bottom-color:var(--gold-mid); outline:none; }
.input-currency-wrap { display:flex; align-items:baseline; border-bottom:1px solid rgba(255,255,255,0.22); transition:border-color .25s; }
.input-currency-wrap:focus-within { border-bottom-color:var(--gold-mid); }
.input-currency-symbol { color:var(--text-muted); font-size:.93rem; font-family:var(--font-body); padding-right:4px; user-select:none; }
.input-currency-wrap input { border:none; padding:9px 0; flex:1; }
.input-currency-wrap input:focus { border-bottom-color:transparent; }

.genre-section { margin-bottom:28px; }
.genre-label {
  display:block; margin-bottom:12px;
  color:var(--text); font-size:.68rem; font-weight:600;
  font-family:var(--font-body); text-transform:uppercase; letter-spacing:.12em;
}
.genre-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:12px; }
.genre-btn {
  background:transparent;
  border:1px solid rgba(255,255,255,0.22);
  padding:8px 10px; border-radius:100px; cursor:pointer;
  transition:border-color .2s, background .2s, color .2s;
  text-align:center; font-size:.75rem; font-family:var(--font-body); font-weight:500;
  letter-spacing:.06em; color:var(--text-muted); user-select:none;
}
.genre-btn:hover { border-color:var(--gold-mid); color:var(--text); }
.genre-btn:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.genre-btn.selected { border-color:var(--gold-mid); background:var(--gold-dim); color:var(--gold); }
.genre-section.error .genre-btn { border-color:rgba(239,83,80,.4); }

.submit-btn {
  background:transparent; color:var(--gold);
  padding:13px 52px; border:1px solid rgba(212,168,75,0.6); border-radius:100px;
  font-family:var(--font-body); font-size:.72rem; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; cursor:pointer; display:block; margin:0 auto;
  transition:background .3s, color .3s, border-color .3s, transform .2s;
  position:relative; overflow:hidden;
}
.submit-btn:hover:not(:disabled) { background:var(--gold); color:var(--black); border-color:var(--gold); transform:translateY(-1px); }
.submit-btn:disabled { border-color:var(--border); color:var(--text-dim); cursor:not-allowed; }
.btn-spinner { display:none; width:14px; height:14px; border:1.5px solid var(--text-dim); border-top-color:var(--gold); border-radius:50%; position:absolute; right:20px; top:50%; transform:translateY(-50%); }
.submit-btn.loading .btn-spinner { display:block; }
@keyframes spin { to{transform:translateY(-50%) rotate(360deg)} }
@media (prefers-reduced-motion: no-preference) {
  .btn-spinner { animation:spin .7s linear infinite; }
}

.success-message { border-bottom:1px solid rgba(129,199,132,.25); padding:16px 0; margin-top:24px; display:none; color:var(--color-success); font-size:.85rem; letter-spacing:.02em; }
@keyframes slideIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.success-message.show { display:block; }
@media (prefers-reduced-motion: no-preference) {
  .success-message.show { animation:slideIn .3s ease; }
}

.form-note { text-align:center; font-size:.8rem; color:var(--text); margin-top:18px; opacity:.6; }

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; gap:0; margin-bottom:0; }
  .genre-grid { grid-template-columns: repeat(2,1fr); }
}

.notification {
  position:fixed; top:30px; right:30px;
  background:rgba(14,14,20,0.92);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.1);
  padding:14px 20px; border-radius:8px;
  box-shadow:0 4px 24px rgba(0,0,0,.5);
  font-size:.88rem; color:var(--text);
  opacity:0; visibility:hidden;
  transition:opacity .25s, transform .25s, visibility .25s;
  transform:translateY(-6px); z-index:10000; max-width:320px; border-left:3px solid var(--color-success-bdr);
}
.notification.error   { border-left-color:var(--color-error); }
.notification.success { border-left-color:var(--color-success-bdr); }
.notification.show    { opacity:1; visibility:visible; transform:translateY(0); }

/* ── Scroll to top ── */
.scroll-top {
  position: fixed;
  bottom: 5px;
  left: 50%;
  width: auto;
  height: auto;
  border-radius: 0;
  background: #0a0a0a99;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 0.6px solid var(--gold, #d4a84b);
  color: var(--gold, #d4a84b);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75px 50px;
  gap: 5px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  z-index: 999;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(212,168,75,0.15);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.scroll-top:hover { 
  background: rgba(212,168,75,0.08); 
  box-shadow: 0 0 20px rgba(212,168,75,0.25), inset 0 0 0 1px rgba(212,168,75,0.3);
}
@media (max-width: 768px) { .scroll-top { bottom: 18px; } }

/* ── Hero autoplay iframe ── */
.hero-autoplay-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 140%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
/* Mobile: hide watch button (iframe never injected on mobile via JS) */
/* Mobile: no iframe injected, so fix thumb height and show watch button */
@media (max-width: 768px) {
  .hero-thumb {
    padding-bottom: 0;
    height: auto;
    background: transparent;
  }
  .hero-mobile-thumb {
    display: block !important;
    opacity: 1 !important;
    position: static !important;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  /* Hide all other children of hero-thumb on mobile */
  .hero-thumb .hero-play-btn,
  .hero-thumb .hero-thumb-label,
  .hero-thumb .hero-autoplay-iframe {
    display: none !important;
  }
  .hero-watch-btn {
    display: flex;
  }
}
/* Desktop: hide mobile-only overlay elements; iframe injected via JS */
@media (min-width: 769px) {
  .hero-play-btn { display: none; }
  .hero-thumb-label { display: none; }
}
/* Mobile thumbnail — in normal flow on mobile so it gives height to the container */
.hero-mobile-thumb {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 1 !important;
  transform: none !important;
  aspect-ratio: 16/9;
}
/* On desktop the thumbnail is hidden; the iframe (absolute) fills the container instead */
@media (min-width: 769px) {
  .hero-mobile-thumb { display: none; }
}
/* Watch button (desktop, below hero card) */
.hero-watch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px auto 0;
  background: none;
  border: 1px solid var(--gold-mid);
  border-radius: 4px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hero-watch-btn:hover { background: var(--gold-dim); border-color: var(--gold); }

/* ── Shimmer hover ── */
@media (prefers-reduced-motion: no-preference) {
  .shimmer-hover,
  .nav__cta,
  .announce-bar__link,
  .listen-btn,
  .see-all a,
  .show-more-btn,
  .mobile-nav-links a,
  .mobile-links-group a,
  .hero-watch-btn {
    position: relative;
    overflow: hidden;
  }
  .shimmer-hover::before,
  .nav__cta::before,
  .announce-bar__link::before,
  .listen-btn::before,
  .see-all a::before,
  .show-more-btn::before,
  .mobile-nav-links a::before,
  .mobile-links-group a::before,
  .hero-watch-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.13) 50%, transparent 65%);
    transform: translateX(-150%);
    transition: transform 0.5s ease;
    pointer-events: none;
    z-index: 1;
  }
  .shimmer-hover:hover::before,
  .nav__cta:hover::before,
  .announce-bar__link:hover::before,
  .listen-btn:hover::before,
  .see-all a:hover::before,
  .show-more-btn:hover::before,
  .mobile-nav-links a:hover::before,
  .mobile-links-group a:hover::before,
  .hero-watch-btn:hover::before {
    transform: translateX(150%);
  }
}


/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 0.55s ease, transform 0.55s ease; }
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Custom dropdowns ── */
.custom-select { position: relative; }
.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--glass-bg-mid);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  user-select: none;
}
.custom-select.open .custom-select__trigger {
  border-color: var(--glass-border-gold);
  color: var(--text);
}
.custom-select__chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}
.custom-select.open .custom-select__chevron { transform: rotate(180deg); }
.custom-select__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--glass-bg-deep);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  list-style: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  z-index: 100;
  pointer-events: none;
}
.custom-select.open .custom-select__menu {
  max-height: 300px;
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .custom-select__menu { transition: max-height 0.3s ease, opacity 0.2s ease; }
}
.custom-select__menu li {
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
}
.custom-select__menu li:hover { background: var(--glass-bg); color: var(--gold); }
.custom-select__menu li.selected { color: var(--gold); }

/* Contact form: underline-style selects */
.contact-form .custom-select__trigger {
  padding: 9px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: .93rem;
  color: var(--text-muted);
}
.contact-form .custom-select.open .custom-select__trigger {
  border-bottom-color: var(--gold-mid);
  color: var(--text);
}
.contact-form .custom-select__trigger .custom-select__value { font-size: .88rem; color: var(--text-dim); }
.contact-form .custom-select.has-value .custom-select__trigger .custom-select__value { color: var(--text); }
.contact-form .form-group.error .custom-select__trigger { border-bottom-color: var(--color-error); }
.contact-form .custom-select__menu {
  background: rgba(8,8,14,0.97);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  top: calc(100% + 8px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.contact-form .custom-select__menu li { font-size: .85rem; padding: 10px 14px; }

/* ── Particles ── */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Aurora ── */
#aurora {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.aurora-band {
  position: absolute;
  width: 200%;
  height: 45%;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .aurora-band { opacity: 1; }
  .aurora-band--1 {
    background: radial-gradient(ellipse at 30% 50%, rgba(212,168,75,0.07) 0%, transparent 70%);
    top: -10%;
    left: -30%;
    animation: auroraDrift 22s ease-in-out infinite alternate;
  }
  .aurora-band--2 {
    background: radial-gradient(ellipse at 70% 50%, rgba(180,140,60,0.05) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation: auroraDrift 30s ease-in-out infinite alternate-reverse;
  }
  .aurora-band--3 {
    background: radial-gradient(ellipse at 50% 50%, rgba(100,80,30,0.04) 0%, transparent 70%);
    top: 50%;
    left: -20%;
    animation: auroraDrift 18s ease-in-out infinite alternate;
  }
  @keyframes auroraDrift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(8%, 4%) scale(1.08); }
  }
}

/* ── Honeypot ── */
.hp-field { display: none; }

/* ── Hero top glow ── */
.page-hero--home { position: relative; overflow: hidden; }
.lamp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212,168,75,0.18) 0%, transparent 70%);
}
.lamp-left, .lamp-right, .lamp-bloom { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .lamp {
    animation: lampFadeIn 1.8s ease-out forwards;
  }
  @keyframes lampFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}
.page-hero--home .page-title { position: relative; z-index: 1; }

/* ── Micro-interactions ── */
@media (prefers-reduced-motion: no-preference) {
  a, button, .card, .gallery-item, .gal-card, .work-card {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }
  button:active, [role="button"]:active {
    transform: scale(0.97);
  }
  :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    transition: outline-offset 0.15s ease;
  }
  :focus-visible:focus {
    outline-offset: 4px;
  }
  /* Underline animation on bare links */
  main a:not(.btn):not([class]) {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s ease;
  }
  main a:not(.btn):not([class]):hover {
    text-decoration-color: var(--gold);
  }
}

/* ── 404 page ── */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 60px 24px;
  text-align: center;
}
.error-page__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.error-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.error-page__text {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 380px;
  margin-bottom: 36px;
}
.error-page__btn {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-mid);
  padding: 12px 28px;
}
@media (prefers-reduced-motion: no-preference) {
  .error-page__btn {
    transition: background-color 0.2s ease, color 0.2s ease;
  }
}
.error-page__btn:hover {
  background-color: var(--gold);
  color: var(--black);
}

/* Copy-email tooltip */
.copy-email-tip {
  position: fixed;
  background: var(--glass-bg-deep);
  color: rgba(212,168,75,0.55);
  border: 1px solid rgba(212,168,75,0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,75,0.05);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border-radius: 100px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(-2px) scale(0.92);
  z-index: 9999;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .copy-email-tip {
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .copy-email-tip.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .copy-email-tip { transform: translateX(-50%); }
  .copy-email-tip.is-visible { opacity: 1; }
}

/* Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-mid) var(--bg);
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--gold-mid);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
