/* =========================================
   SONI BROTHERS — Portfolio
   ========================================= */

:root {
  --bg: #0f0606;
  --bg-2: #170909;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-2: #e8dccb;
  --muted: #c4b3a1;
  --text-bright: #e5e7eb;
  --soft-gold: #e8c478;
  --field-bg: #262020;

  --maroon: #9b1c31;
  --lotus: #e0457b;
  --kumkum: #e23d28;
  --gold: #ffb627;
  --saffron: #ff7a00;

  --grad-text: linear-gradient(90deg, var(--gold) 0%, var(--saffron) 25%, var(--kumkum) 50%, var(--lotus) 75%, var(--gold) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold), var(--saffron));
  --glow-gold: 0 0 30px -4px rgba(255, 182, 39, 0.6);
  --glow-lotus: 0 0 40px -6px rgba(224, 69, 123, 0.65);

  --nav-h: 76px;
  --radius: 22px;
  --font-display: "Anton", "Impact", sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-hindi: "Tiro Devanagari Hindi", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--gold);
  color: #1a0505;
}

/* ===== SHARED ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-gold);
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-alt {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(155, 28, 49, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(255, 182, 39, 0.08), transparent 70%),
    var(--bg-2);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-lead {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--grad-gold);
  color: #1a0505;
  box-shadow: 0 4px 15px rgba(255, 182, 39, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(255, 182, 39, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 28px -4px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* outline variant with gold text (YouTube subscribe) */
.btn-ghost-gold {
  border-color: rgba(255, 182, 39, 0.5);
  color: var(--gold);
}

.btn-ghost-gold:hover {
  border-color: var(--gold);
  background: rgba(255, 182, 39, 0.08);
  box-shadow: 0 0 28px -6px rgba(255, 182, 39, 0.5);
}

.btn-block {
  width: 100%;
}

/* Reveal on scroll (only when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  /* solid instead of blurred: backdrop-filter would trap the fixed mobile menu inside the bar */
  background: rgba(15, 6, 6, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1a0505;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 1px;
  box-shadow: var(--glow-gold);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--grad-text);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .nav-cta {
  padding: 9px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  background: var(--gold);
  color: #1a0505;
  box-shadow: var(--glow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 90px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(155, 28, 49, 0.45), transparent 60%),
    var(--bg);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 12s ease-in-out infinite;
}

.glow-lotus {
  width: 560px;
  height: 560px;
  top: -140px;
  left: -160px;
  background: var(--maroon);
  opacity: 0.7;
}

.glow-gold {
  width: 440px;
  height: 440px;
  bottom: -140px;
  right: -120px;
  background: var(--gold);
  opacity: 0.28;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.1); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

.hero-content {
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(232, 196, 120, 0.35);
  border-radius: 999px;
  background: rgba(232, 196, 120, 0.06);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--soft-gold);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--soft-gold);
}

.hero-hindi {
  font-family: var(--font-hindi);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: #ffd98a;
  text-shadow: 0 0 18px rgba(255, 182, 39, 0.55), 0 1px 2px rgba(0, 0, 0, 0.6);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  /* scales with the viewport; at 14vw "BROTHERS" always fits on one line, even at 320px */
  font-size: clamp(2.5rem, 14vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  hyphens: none;
  -webkit-hyphens: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title.gradient-text {
  filter: drop-shadow(0 0 30px rgba(224, 69, 123, 0.35));
}

.hero-title .line {
  white-space: nowrap;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--text-bright);
  min-height: 1.6em;
}

.typed {
  font-weight: 600;
  color: var(--gold);
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--lotus);
  font-weight: 300;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-desc {
  max-width: 580px;
  margin-top: 14px;
  font-size: 1.125rem;
  color: var(--text-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

/* Audio visualizer (sound toggle) */
.viz {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
}

.viz rect {
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleY(0.45);
  opacity: 0.75;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.playing .viz rect {
  opacity: 1;
  animation: viz 0.9s ease-in-out infinite;
}

.playing .viz rect:nth-child(2) { animation-duration: 0.7s;  animation-delay: -0.2s; }
.playing .viz rect:nth-child(3) { animation-duration: 1.1s;  animation-delay: -0.5s; }
.playing .viz rect:nth-child(4) { animation-duration: 0.8s;  animation-delay: -0.35s; }
.playing .viz rect:nth-child(5) { animation-duration: 1s;    animation-delay: -0.1s; }

@keyframes viz {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}

/* glass stats bar with dividers */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 720px);
  margin-top: 56px;
  border-radius: 20px;
  background: rgba(15, 6, 6, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(232, 196, 120, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 22px 20px;
}

.hero-stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--soft-gold);
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.4;
}

/* the tilted marquee pokes past the screen edges; clip it without making a scroll container */
main {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(155, 28, 49, 0.25), rgba(255, 182, 39, 0.12));
  transform: rotate(-1.5deg) scale(1.03);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.marquee span:hover {
  color: var(--gold);
  -webkit-text-stroke-color: var(--gold);
}

.marquee span[lang="hi"] {
  font-family: var(--font-hindi);
  color: rgba(255, 255, 255, 0.85);
  -webkit-text-stroke: 0;
}

.marquee b {
  color: var(--gold);
  font-size: 1.2rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== BENTO (Media & Releases) ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 2rem;
}

.bento-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* cursor-following light */
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(224, 69, 123, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover,
.js .bento-card.reveal.in:hover {
  transform: scale(1.02);
  border-color: rgba(224, 69, 123, 0.5);
  box-shadow: 0 0 0 1px rgba(224, 69, 123, 0.25), 0 20px 60px -15px rgba(224, 69, 123, 0.55);
  z-index: 2;
}

.bento-card:hover::after {
  opacity: 1;
}

/* once a video is playing, keep the card still */
.bento-card.is-playing,
.js .bento-card.reveal.in.is-playing:hover {
  transform: none;
}

.bento-card.is-playing::after {
  display: none;
}

.card-featured { grid-column: span 2; grid-row: span 2; }
.card-banner   { grid-column: span 3; flex-direction: row; align-items: center; }

/* Video card: thumbnail first, swapped for an iframe on click.
   Every card uses the same play button and tag style. */
.media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.card-featured .media {
  flex: 1;
  aspect-ratio: auto;
  min-height: 300px;
}

.media img,
.media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media img {
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.media:not(.loaded)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 6, 6, 0.05) 40%, rgba(15, 6, 6, 0.75));
  pointer-events: none;
}

.bento-card:hover .media img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(15, 6, 6, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.yt-play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: currentColor;
}

.bento-card:hover .yt-play,
.yt-play:focus-visible {
  background: var(--grad-gold);
  border-color: var(--gold);
  color: #1a0505;
  box-shadow: var(--glow-gold);
  transform: translate(-50%, -50%) scale(1.08);
}

.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 22px;
}

.track-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.card-featured .track-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.track-meta {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* same pill style as the About role tags */
.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-bright);
}

.play-btn {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.play-btn svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  fill: currentColor;
}

.bento-card:hover .play-btn {
  background: var(--grad-gold);
  border-color: transparent;
  color: #1a0505;
  box-shadow: var(--glow-gold);
  transform: scale(1.08);
}

.is-playing .play-btn {
  display: none;
}

/* YouTube channel banner */
.card-banner {
  gap: 28px;
  padding: 28px 36px;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(255, 0, 0, 0.18), transparent 55%),
    var(--glass);
}

.yt-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #ff0000;
  color: #fff;
  box-shadow: 0 0 40px -6px rgba(255, 0, 0, 0.7);
}

.yt-badge svg {
  width: 36px;
  height: 36px;
}

.banner-text {
  flex: 1;
}

.banner-text .track-title {
  font-size: 1.5rem;
}

.card-banner .btn {
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about-card {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 32px;
}

.about-photo {
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* softly rounded photo, thin accent border, badge overlaid on the bottom edge */
.photo-frame {
  position: relative;
  width: 340px;
  aspect-ratio: 628 / 653;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 120, 0.45);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-badge {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 1;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(15, 6, 6, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-hindi);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--soft-gold);
}

.about-body {
  flex: 1;
  min-width: 0;
}

.about-name {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff7ed;
}

.about-text {
  margin-top: 20px;
  max-width: 580px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-bright);
}

.about-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-roles li {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-bright);
}

.about-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.socials svg {
  width: 20px;
  height: 20px;
}

.socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

/* Ambient reel audio toggle */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.sound-toggle.playing {
  border-color: var(--gold);
  color: #fff;
}

.sound-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a0505;
  box-shadow: var(--glow-gold);
}

.sound-toggle:hover .viz {
  color: #1a0505;
}

.sound-toggle.waiting {
  animation: nudge 2s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 182, 39, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 182, 39, 0); }
}

/* ===== SERVICES ===== */
.services {
  display: flex;
  gap: 24px;
}

.service-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 40px 32px 110px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    #1c0c0a;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -40%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 182, 39, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 182, 39, 0.2), 0 24px 60px -20px rgba(255, 122, 0, 0.5);
  transform: translateY(-6px);
}

.js .service-card.reveal.in:hover,
.js .service-card.reveal.in:focus-within {
  transform: translateY(-6px);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
}

.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  transition: -webkit-text-stroke-color 0.4s ease;
}

.service-card:hover .service-num {
  -webkit-text-stroke-color: rgba(255, 182, 39, 0.5);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: rgba(255, 182, 39, 0.1);
  color: var(--gold);
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-icon {
  background: var(--grad-gold);
  color: #1a0505;
  box-shadow: var(--glow-gold);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-card p {
  margin-top: 12px;
  color: var(--text-bright);
  font-size: 1rem;
  line-height: 1.6;
}

.service-points {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
}

.service-points li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: var(--grad-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 4.5 10.6 12 12-7.5 1.4-11.1 5.4-12 12-.9-6.6-4.5-10.6-12-12C7.5 10.6 11.1 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 4.5 10.6 12 12-7.5 1.4-11.1 5.4-12 12-.9-6.6-4.5-10.6-12-12C7.5 10.6 11.1 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 182, 39, 0.8));
  transition: transform 0.4s ease;
}

.service-card:hover .service-points li::before {
  transform: rotate(90deg) scale(1.1);
}

/* hidden "Book Now" that slides up */
.service-cta {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  opacity: 0;
  transform: translateY(calc(100% + 40px));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease, box-shadow 0.25s ease;
}

.service-card:hover .service-cta,
.service-card:focus-within .service-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-card .service-cta:hover {
  transform: translateY(-3px);
}

/* ===== CONTACT ===== */
.contact {
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -200px;
  top: 10%;
  border-radius: 50%;
  background: var(--maroon);
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-info .section-lead {
  margin-bottom: 28px;
}

.contact-line:hover {
  border-color: rgba(224, 69, 123, 0.5);
  box-shadow: var(--glow-lotus);
  transform: translateX(4px);
}

.contact-line small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-line span:last-child {
  font-weight: 500;
  word-break: break-word;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 182, 39, 0.12);
  color: var(--gold);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-icon--mail {
  background: var(--grad-gold);
  color: #1a0505;
  box-shadow: 0 6px 18px -6px rgba(255, 182, 39, 0.6);
}

.contact-icon--ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(214, 36, 159, 0.6);
}

.contact-icon--yt {
  background: #ff0000;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(255, 0, 0, 0.6);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  border-radius: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-bright);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background-color: var(--field-bg);
  color: var(--text);
  outline: none;
  color-scheme: dark;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* inputs, dropdown and date picker share one exact height */
.field input,
.field select {
  height: 52px;
}

.field textarea {
  padding: 14px 16px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a29e;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background-color: #2f2523;
  box-shadow: 0 0 0 3px rgba(255, 182, 39, 0.2);
}

/* custom light chevron and calendar icons */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

.field input[type="date"] {
  position: relative;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

/* native picker stays clickable across the whole field, but invisible */
.field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0;
  cursor: pointer;
}

.field select option {
  background: #1c0c0a;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== FOOTER ===== */
.footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  font-size: 0.88rem;
  color: var(--muted);
}

.back-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.back-top:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

/* ===== DEMO NOTICE ===== */
.demo-tag {
  flex-shrink: 0;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 182, 39, 0.5);
  background: rgba(255, 182, 39, 0.1);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.demo-notice {
  margin-top: 28px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: var(--muted);
}

.demo-notice summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.demo-notice summary::-webkit-details-marker {
  display: none;
}

.demo-notice summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.demo-notice[open] summary::after {
  transform: rotate(-135deg);
}

.demo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 4px 20px 22px;
}

.demo-list h4 {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
}

.demo-list ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-list a {
  color: var(--soft-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 196, 120, 0.35);
}

.demo-list a:hover {
  color: var(--gold);
}

.demo-list code {
  font-size: 0.8rem;
  color: var(--text-2);
}

.footer {
  padding-bottom: 72px;
}

@media (max-width: 640px) {
  .demo-notice summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-notice summary::after {
    display: none;
  }
}


/* ===== FESTIVE DETAILS ===== */
/* slowly turning mandala behind the hero title */
.mandala {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(900px, 140vw);
  height: min(900px, 140vw);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 182, 39, 0.09) 0 3deg, transparent 3deg 10deg);
  mask-image: radial-gradient(circle, transparent 0 20%, #000 21% 23%, transparent 24% 33%, #000 34% 46%, transparent 47% 58%, #000 59% 61%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 20%, #000 21% 23%, transparent 24% 33%, #000 34% 46%, transparent 47% 58%, #000 59% 61%, transparent 62%);
  animation: spin 120s linear infinite;
}

/* lotus-petal scallops, like the temple roof */
.toran {
  height: 30px;
  background:
    radial-gradient(circle at 50% 100%, var(--lotus) 0 12px, #b8235a 13px 14px, transparent 15px) 0 0 / 30px 16px repeat-x,
    linear-gradient(var(--saffron), var(--saffron)) 0 16px / 100% 4px no-repeat,
    radial-gradient(circle, var(--gold) 0 3px, transparent 4px) 0 20px / 30px 10px repeat-x;
  opacity: 0.9;
}

.toran-flip {
  transform: scaleY(-1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-featured { grid-column: span 2; grid-row: auto; }
  .card-featured .media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .card-banner   { grid-column: span 2; }

  .about-card {
    gap: 40px;
    padding: 2.5rem;
  }

  .photo-frame {
    width: 280px;
  }

  .services {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 12px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(15, 6, 6, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.4rem;
  }


  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-body .eyebrow,
  .about-roles,
  .about-footer {
    justify-content: center;
  }

  .about-text {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 66px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 88px 0;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .hero {
    padding: calc(var(--nav-h) + 24px) 16px 90px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats li {
    padding: 18px 12px;
  }

  .hero-stats li:last-child {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .glow-lotus { width: 320px; height: 320px; }
  .glow-gold   { width: 260px; height: 260px; }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }

  .card-featured,
  .card-banner   { grid-column: auto; }

  .card-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 18px;
  }

  .card-banner .btn {
    width: 100%;
  }

  .yt-play,
  .card-featured .yt-play {
    width: 64px;
    height: 64px;
  }

  .about-card {
    padding: 36px 20px;
    gap: 32px;
    border-radius: 24px;
  }

  .photo-frame {
    width: min(280px, calc(100vw - 72px));
  }

  .service-card {
    flex: 1 1 100%;
    min-height: 0;
  }

  .booking-form {
    padding: 28px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Touch screens have no hover — keep the Book Now buttons visible */
@media (hover: none) {
  .service-card {
    border-color: rgba(255, 182, 39, 0.25);
  }

  .service-cta {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

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

/* ===== FLOATING SOUND PROMPT ===== */
.sound-prompt {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--grad-gold);
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a0505;
  box-shadow: 0 12px 30px -8px rgba(255, 182, 39, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.sound-prompt.show {
  opacity: 1;
  transition-delay: 0.6s; /* appear after a beat, so it never flashes when the song starts on its own */
  visibility: visible;
  transform: none;
  animation: prompt-pulse 2s ease-in-out 1s infinite;
}

.sound-prompt:hover {
  transform: translateY(-3px);
}

@keyframes prompt-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(255, 182, 39, 0.7), 0 0 0 0 rgba(255, 182, 39, 0.55); }
  50%      { box-shadow: 0 12px 30px -8px rgba(255, 182, 39, 0.7), 0 0 0 12px rgba(255, 182, 39, 0); }
}

@media (max-width: 640px) {
  .sound-prompt {
    right: 10px;
    bottom: 10px;
    padding: 11px 18px;
    font-size: 0.88rem;
  }
}
