/* =============================================================
   TROY STARR — Artist Website
   ============================================================= */

:root {
  --bg:           #0e0b08;
  --bg-surface:   #151108;
  --bg-surface2:  #1e1710;
  --accent:       #c4882a;
  --text:         #f0e8d8;
  --text-muted:   #7a6e5e;
  --border:       rgba(240, 232, 216, 0.1);
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 100px 0; }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  transition: background 0.4s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(14, 11, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--text);
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.75;
  transition: color 0.2s, opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--accent); }

/* =============================================================
   HERO — full-bleed video background (Bishop Gunn style)
   ============================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

/* Video reel container */
.hero-reel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  filter: brightness(0.52);
}

.hero-video.active {
  opacity: 1;
}

/* Static fallback image (shown if video fails) */
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.42);
}

/* Gradient overlay — darkens edges so text reads over any video */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(14,11,8,0.82) 0%,
    rgba(14,11,8,0.35) 20%,
    rgba(14,11,8,0.10) 45%,
    rgba(14,11,8,0.55) 72%,
    rgba(14,11,8,0.97) 100%
  );
}

/* Grain on top of video */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
  opacity: 0.055;
  mix-blend-mode: overlay;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 40px 40px;
}

.hero-logo-wrap {
  align-self: flex-start;
}

.hero-logo {
  width: clamp(260px, 38vw, 500px);
  height: auto;
  display: block;
  /* invert flips dark ink → white, cream paper → black.
     screen blend makes black areas drop out against dark video,
     leaving only the white ink visible. */
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.2));
}

.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-single {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}

/* Ghost / text-link style button */
.btn-ghost {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost-lg {
  font-size: 13px;
  letter-spacing: 0.2em;
}

/* =============================================================
   DEBUT SINGLE
   ============================================================= */
.debut { background: var(--bg-surface); }

.debut-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}
.debut-rule + .debut-rule,
.debut-rule:last-child {
  margin-bottom: 0;
  margin-top: 40px;
}

.debut-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.debut-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text);
}

.debut-date {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  white-space: nowrap;
  padding-left: 24px;
}

.debut-desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
}
.debut-desc em { color: var(--text); font-style: italic; }

.streaming-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 0;
}
.stream-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.stream-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.stream-link:hover { color: var(--text); }

/* =============================================================
   DEBUT SINGLE — concept image as section background
   ============================================================= */
.debut {
  position: relative;
  overflow: hidden;
}

.debut-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.debut-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.28);
}

.debut-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 11, 8, 0.55);
}

.debut .container {
  position: relative;
  z-index: 1;
}

/* =============================================================
   ABOUT
   ============================================================= */
.about {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.about-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-placeholder {
  position: absolute;
  inset: 0;
  background: var(--bg-surface2);
}

.about-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 32px;
}
.about-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.85em;
  letter-spacing: 0.01em;
}

.about-bio {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
}
.about-bio em { color: var(--text); font-style: italic; }

.about-note {
  font-size: 11px;
  color: var(--accent);
  opacity: 0.5;
  margin-top: 24px;
  font-style: italic;
}

/* =============================================================
   PHOTOS
   ============================================================= */
.photos { background: var(--bg); }

.photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.photo-tile {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s;
}
.photo-tile:hover img { transform: scale(1.04); filter: brightness(0.75); }
.photo-placeholder {
  position: absolute;
  inset: 0;
  background: var(--bg-surface2);
}

/* =============================================================
   CONNECT
   ============================================================= */
.connect {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 120px 0;
}
.connect-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.connect-rose-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  width: 100%;
}

.connect-rose {
  display: block;
  width: clamp(380px, 55vw, 680px);
  height: auto;
  opacity: 0.92;
}

.connect-rose-btn {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
}

.connect-pre {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.connect-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 48px;
}

/* =============================================================
   SOCIALS
   ============================================================= */
.socials {
  border-top: 1px solid var(--border);
  padding: 56px 0;
  background: var(--bg);
}
.social-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { color: var(--text); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.footer-name {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}
.footer-divider { color: var(--border); }
.footer-email {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-email:hover { color: var(--text); }
.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.4;
  margin-left: auto;
}

/* =============================================================
   SCROLL ANIMATIONS
   ============================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { aspect-ratio: 16/9; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); }
  .debut-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .debut-date { padding-left: 0; }
}

@media (max-width: 639px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 0 24px 32px; }
  .hero-logo { width: clamp(200px, 72vw, 340px); }
  .hero-logo-wrap { align-self: center; width: 100%; display: flex; justify-content: center; }
  .hero-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); }
  .social-row { flex-wrap: wrap; gap: 24px; }
  .about-grid { padding: 0 24px; }
  .connect-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; flex-wrap: wrap; }
}
