/* =========================================
   Reset
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================================
   Tokens
========================================= */
:root {
  --bg:    #0c0b09;
  --fg:    #ddd8ce;
  --red:   #b81c1c;
  --blue:  #1c3db8;
  --muted: #55504a;
  --rule:  rgba(255, 255, 255, 0.07);
  --font-mono:  'IBM Plex Mono', monospace;
  --font-serif: 'Playfair Display', serif;
}

/* =========================================
   Base
========================================= */
::selection {
  background: var(--red);
  color: var(--fg);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   Skip link (accessibility)
========================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--red);
  color: var(--fg);
  padding: 0.5rem 1rem;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* =========================================
   Focus styles
========================================= */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================
   Grain overlay
========================================= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 200;
}

/* =========================================
   Background blobs
========================================= */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
.blob--a {
  width: 500px;
  height: 500px;
  background: rgba(184, 28, 28, 0.07);
  top: -150px;
  left: -120px;
}
.blob--b {
  width: 400px;
  height: 400px;
  background: rgba(28, 61, 184, 0.06);
  bottom: -80px;
  right: -100px;
}

@media (prefers-reduced-motion: no-preference) {
  .blob--a { animation: drift 22s ease-in-out infinite; }
  .blob--b { animation: drift 28s ease-in-out infinite reverse; }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(30px, 40px); }
}

/* =========================================
   Layout container
========================================= */
.container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

@media (min-width: 480px) {
  .container { padding-inline: 32px; }
}

/* =========================================
   Divider
========================================= */
hr {
  border: none;
  border-top: 1px solid var(--rule);
}

/* =========================================
   Site header
========================================= */
.site-header {
  padding: 64px 0 48px;
}

.site-header__wordmark {
  font-family: var(--font-serif);
  font-size: clamp(90px, 18vw, 150px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -3px;
  color: var(--fg);
  transition-delay: 0s;
}

.site-header__tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  transition-delay: 0.12s;
}

.site-header__tagline > span:not([aria-hidden]) {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.site-header__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .site-header__pulse { animation: pulse 2s ease-in-out infinite; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.5); }
}

.site-header__rule {
  display: block;
  height: 1px;
  flex: 1;
  background: var(--rule);
}

/* Nav */
.site-nav {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  transition-delay: 0.24s;
}

.site-nav a {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover {
  color: var(--fg);
  border-color: var(--red);
}

.site-nav__cta {
  color: var(--red) !important;
}

.site-nav__cta:hover {
  color: var(--fg) !important;
  border-color: var(--red) !important;
}

/* =========================================
   Section head
========================================= */
.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-head__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-head__rule {
  display: block;
  height: 1px;
  flex: 1;
  background: var(--rule);
}

.section-head__num {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.08);
}

/* =========================================
   Sets section
========================================= */
#sets {
  padding: 64px 0;
}

.media__label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.media__label::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .media__label::before { animation: pulse 1.6s ease-in-out infinite; }
}

.media__wrap {
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

/* 16:9 responsive video */
.media__wrap--video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.media__wrap--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.media__wrap iframe { display: block; }

.media--sc { margin-top: 48px; }

/* =========================================
   Bio section
========================================= */
#bio {
  padding: 64px 0 0;
}

.bio-tagline {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.5vw, 40px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 32px;
  max-width: 520px;
}

.bio-tagline strong {
  font-style: normal;
  font-weight: 700;
  color: var(--red);
}

.bio-body {
  font-size: 13px;
  line-height: 2.1;
  color: var(--muted);
  max-width: 460px;
  padding-left: 20px;
  border-left: 1px solid var(--red);
}

/* =========================================
   Social list
========================================= */
.social-list {
  list-style: none;
  margin-top: 48px;
}

/* Stagger delays for social items */
.social-list li:nth-child(2) { transition-delay: 0.07s; }
.social-list li:nth-child(3) { transition-delay: 0.14s; }
.social-list li:nth-child(4) { transition-delay: 0.21s; }

.social-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--fg);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.3s ease;
}

/* Hover fill */
.social-item::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--red);
  opacity: 0.07;
  transition: width 0.35s ease;
}

.social-list li:nth-child(even) .social-item::before { background: var(--blue); }

.social-item:hover::before { width: 100%; }
.social-item:hover { padding-left: 14px; }

.social-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.social-item__platform {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.social-item__handle {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3vw, 22px);
  font-style: italic;
  color: var(--fg);
}

.social-item__arrow {
  font-size: 18px;
  color: var(--muted);
  position: relative;
  transition: transform 0.25s, color 0.25s;
  flex-shrink: 0;
}

.social-item:hover .social-item__arrow {
  transform: translate(4px, -4px);
  color: var(--red);
}

.social-list li:nth-child(even) .social-item:hover .social-item__arrow { color: var(--blue); }

/* Booking item highlight */
.social-item--booking .social-item__handle { color: var(--red); }

/* =========================================
   Footer
========================================= */
.site-footer {
  padding: 56px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__pi {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  letter-spacing: -2px;
  user-select: none;
}

.site-footer__copy {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-bottom: 4px;
}

/* =========================================
   Reveal animation
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

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

/* =========================================
   Mobile tweaks
========================================= */
@media (max-width: 480px) {
  .site-header       { padding: 48px 0 36px; }
  #sets, #bio        { padding-top: 48px; }
  .bio-body br       { display: none; }
  .site-nav          { gap: 18px; }
}
