/* ============ Kamakan — Base ============ */
:root {
  --bg: #0a0a0a;
  --bg-panel: #141414;
  --bg-panel-2: #1c1c1c;
  --accent: #3d92ab;
  --accent-light: #86cbda;
  --text: #f2f2f0;
  --text-muted: #9a9a9a;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --maxw: 1180px;
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;
  --sp-6: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}

p { margin: 0 0 var(--sp-2); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.section { padding: var(--sp-6) var(--sp-3); position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

main { padding-top: 88px; }
main.home-main { padding-top: 0; }

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: var(--sp-3);
}

.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: var(--sp-4);
}

/* Subtle grain / vignette overlay for a theatrical feel */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #051417;
  box-shadow: 0 10px 30px rgba(61, 146, 171, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(61, 146, 171, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-2px); }

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 22px 0;
}
.header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 14px 0;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-img-footer { height: 34px; margin: 0 auto var(--sp-2); }

.nav { display: flex; align-items: center; gap: var(--sp-3); }
.nav-link {
  font-size: 0.92rem;
  color: var(--text);
  opacity: 0.85;
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { opacity: 1; color: var(--accent-light); }
.nav-link.active { opacity: 1; color: var(--accent-light); }
.nav-link.active:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent-light);
}
.nav-cta {
  border: 1px solid var(--accent);
  padding: 8px 18px;
  border-radius: 999px;
  opacity: 1;
}
.nav-cta:hover { background: var(--accent); color: #051417; }
.nav-cta.active { background: var(--accent-light); border-color: var(--accent-light); color: #051417; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(61, 146, 171, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.75) 55%, rgba(5, 5, 5, 0.96) 100%),
    url('../assets/images/home/home-hero.jpg') center center / cover no-repeat;
}
.hero-content { position: relative; z-index: 1; padding: 0 var(--sp-3); }
.eyebrow {
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-style: italic;
}
.hero-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--accent-light);
  border-radius: 2px;
  animation: scrollCue 1.6s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.about-text { font-size: 1.08rem; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.stat {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-2);
  text-align: center;
}
.stat-num {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.9rem;
  color: var(--accent-light);
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============ Bio ============ */
.bio { background: var(--bg-panel); }
.bio-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--sp-5);
}
.bio-portrait { box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.portrait-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: none;
  transition: transform 0.4s ease;
}
.portrait-grid img:hover { transform: scale(1.04); }
.bio-role {
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-3);
}
.bio-content p { color: var(--text); }
.about-text em,
.bio-content em { color: var(--accent-light); font-style: italic; }

.bio-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}
.bio-col h3 {
  font-size: 1rem;
  color: var(--accent-light);
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timeline li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.timeline li:last-child { border-bottom: 1px solid var(--border); }
.timeline li span {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* ============ Music ============ */
.music-embeds {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.music-embed {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  line-height: 0;
}
.music-embed iframe { display: block; border: none; }
.section-more {
  margin-top: var(--sp-3);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.section-more a {
  color: var(--accent-light);
  border-bottom: 1px solid var(--accent);
}

/* ============ Videos ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-3);
}
.video-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--sp-2) var(--sp-3);
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.video-caption span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ Gallery (masonry) ============ */
.masonry {
  column-count: 3;
  column-gap: var(--sp-3);
}
.masonry-item {
  display: block;
  width: 100%;
  margin: 0 0 var(--sp-3);
  break-inside: avoid;
  border: none;
  padding: 0;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.masonry-item img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.035); }
.masonry-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(5, 5, 5, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; color: var(--accent-light); }

/* ============ Tour ============ */
.tour-empty {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
}
.tour-empty p { color: var(--text-muted); margin-bottom: var(--sp-3); font-size: 1.05rem; }

.tour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-5);
}
.contact-info p { color: var(--text-muted); }
.contact-email {
  display: inline-block;
  font-size: 1.3rem;
  color: var(--accent-light);
  font-weight: 600;
  margin: var(--sp-2) 0 var(--sp-4);
  border-bottom: 1px solid var(--accent);
}
.socials { display: flex; gap: var(--sp-3); }
.socials a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.socials a:hover { border-color: var(--accent); color: var(--accent-light); }

.contact-form { display: flex; flex-direction: column; gap: var(--sp-2); }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button { align-self: flex-start; margin-top: 6px; border: none; cursor: pointer; }

/* ============ Footer ============ */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: var(--sp-5) var(--sp-3) var(--sp-3);
  text-align: center;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer p { color: var(--text-muted); font-size: 0.9rem; }
.copyright { margin-top: var(--sp-3); font-size: 0.78rem; opacity: 0.6; }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .about-grid, .bio-grid, .contact-grid { grid-template-columns: 1fr; }
  .bio-portrait { max-width: 360px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .masonry { column-count: 2; }
}

@media (max-width: 720px) {
  .masonry { column-count: 1; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(8, 11, 19, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-3);
    transition: right 0.35s ease;
    border-left: 1px solid var(--border);
  }
  .nav.open { right: 0; }
  .menu-toggle { display: flex; }
  .bio-columns { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
