/* ============================================================
   DELFI WHPEI — dark classical / modern
   Palette: near-black, bone ivory, indigo blue accent
   ============================================================ */

:root {
  --bg: #04060b;           /* midnight, near-black */
  --bg-2: #070d1a;         /* deep navy */
  --ink: #dbe3f0;          /* candle-lit bone */
  --ink-dim: #79879f;      /* steel mist */
  --gold: #7d9ace;         /* dusty cathedral blue */
  --gold-soft: rgba(125, 154, 206, 0.35);
  --blood: #14264a;        /* deep abyss blue */
  --flame: #ffd98a;        /* warm candlelight */
  --hand: "La Belle Aurore", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --title: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--bg); }

a { color: inherit; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
  font-size: clamp(64px, 12vw, 110px);
  color: var(--gold);
  animation: markPulse 1.6s ease-in-out infinite;
}
.preloader__line {
  width: 120px; height: 1px; background: rgba(220, 232, 244, 0.15);
  position: relative; overflow: hidden;
}
.preloader__line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: lineSweep 1.4s var(--ease) infinite;
}
@keyframes markPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes lineSweep { to { transform: translateX(100%); } }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 90;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.45' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- Cursor veil ---------- */
.veil {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 30%),
    rgba(125, 154, 206, 0.07),
    transparent 70%
  );
}
@media (hover: none) { .veil { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.4s;
}
.header.is-scrolled {
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(220, 232, 244, 0.06);
}
.header__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px; line-height: 1;
  color: var(--gold);
  text-decoration: none;
  transition: transform 0.4s var(--ease), text-shadow 0.4s;
}
.header__mark:hover { transform: rotate(-6deg) scale(1.08); text-shadow: 0 0 24px var(--gold-soft); }
.header__nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.header__nav a {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-dim);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.header__nav a:hover { color: var(--ink); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; gap: 14px; }

.lang {
  background: none;
  border: 1px solid rgba(220, 232, 244, 0.2);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color 0.3s;
}
.lang:hover { border-color: var(--gold); }
.lang__sep { opacity: 0.4; }
.lang [data-lang-opt] { transition: color 0.3s; }
.lang [data-lang-opt].is-active { color: var(--gold); }

.header__burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.header__burger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.header__burger.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.header__burger.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(10, 9, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8vh;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; align-items: center; gap: 4vh; }
.menu__nav a {
  font-family: var(--title);
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 300;
  text-decoration: none;
  color: var(--ink);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.3s;
  transition-delay: calc(var(--i) * 80ms);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__nav a:active, .menu__nav a:hover { color: var(--gold); }
.menu__ig {
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  padding: 90px 20px 130px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__halo {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(20, 38, 74, 0.22), transparent 65%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(125, 154, 206, 0.08), transparent 60%);
  pointer-events: none;
}
.hero__content { position: relative; text-align: center; z-index: 2; }
.hero__over span, .hero__tag span { display: inline-block; }
.hero__over {
  font-size: clamp(10px, 2.4vw, 13px);
  letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(16px, 3vh, 28px);
}
.hero__title {
  font-family: var(--title);
  font-weight: 500;
  font-size: clamp(58px, 16vw, 190px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  display: flex; flex-direction: column; align-items: center;
  user-select: none;
}
.hero__word { display: inline-flex; }
.hero__word .ch {
  display: inline-block;
  transition: transform 0.5s var(--ease), color 0.4s, text-shadow 0.4s;
  cursor: default;
}
.hero__word .ch:hover {
  transform: translateY(-0.08em) rotate(-3deg) scale(1.06);
  color: var(--gold);
  text-shadow: 0 0 34px var(--gold-soft);
}
/* Ice-chrome fill on the solid word, like frozen metal type */
.hero__word:not(.hero__word--outline) .ch {
  background: linear-gradient(180deg, #f2f8ff 0%, #c4daf0 38%, #7d9cc2 62%, #a9c9ea 82%, #dcecfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__word:not(.hero__word--outline) .ch:hover {
  background: none;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}
.hero__word--outline .ch {
  color: transparent;
  -webkit-text-stroke: 1px rgba(220, 232, 244, 0.75);
}
.hero__word--outline .ch:hover {
  color: var(--gold);
  -webkit-text-stroke: 1px var(--gold);
}
.hero__tag {
  margin-top: clamp(18px, 3.4vh, 30px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 4vw, 22px);
  color: var(--ink-dim);
}
.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  gap: 14px;
}
.hero__wave {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 3px; height: 34px; width: min(560px, 82vw);
  opacity: 0.85;
}
.hero__wave i {
  flex: 1; min-width: 1.5px; max-width: 3px;
  background: linear-gradient(to top, var(--gold), rgba(125, 154, 206, 0.15));
  height: calc(6px + var(--h, 0) * 26px);
  transition: height 0.18s ease;
  border-radius: 2px;
}
.hero__scroll {
  width: 26px; height: 42px;
  border: 1px solid rgba(220, 232, 244, 0.3);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll-dot {
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Reveal-line (hero small texts) */
.reveal-line { overflow: hidden; }
.reveal-line span {
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
body.is-loaded .reveal-line span { transform: none; }

/* Hero title chars entrance */
.hero__word .ch {
  opacity: 0;
  transform: translateY(0.45em) rotate(4deg);
}
body.is-loaded .hero__word .ch {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s var(--ease) calc(var(--d) * 45ms),
    transform 1.1s var(--ease) calc(var(--d) * 45ms),
    color 0.4s, text-shadow 0.4s;
}

/* ---------- Sections (shared) ---------- */
.section { position: relative; padding: clamp(90px, 14vh, 160px) clamp(20px, 5vw, 48px); }
.section__inner { max-width: 880px; margin: 0 auto; }
.section__inner--wide { max-width: 1180px; }
.section__kicker {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 16px;
}
.section__kicker::after {
  content: ""; height: 1px; width: 64px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.section__title {
  font-family: var(--title);
  font-weight: 400;
  font-size: clamp(38px, 7.4vw, 72px);
  line-height: 1.04;
  margin-bottom: 22px;
}
.section__title em, .about__lede em {
  font-style: italic;
  color: var(--gold);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { background: linear-gradient(var(--bg), var(--bg-2)); }
.about__lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 5.4vw, 46px);
  line-height: 1.25;
  margin-bottom: clamp(36px, 6vh, 60px);
}
.about__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  color: var(--ink-dim);
  font-size: 15px;
  margin-bottom: clamp(44px, 7vh, 70px);
}
.about__stats {
  display: flex; gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid rgba(220, 232, 244, 0.08);
  padding-top: 34px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__n {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 44px);
  color: var(--ink);
  line-height: 1.1;
}
.stat__l {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Piano ---------- */
.piano { background: var(--bg-2); }
.piano__hint { color: var(--ink-dim); font-size: 14px; margin-bottom: 34px; }
.piano__keys-hint { color: var(--gold); letter-spacing: 0.12em; }
@media (hover: none) { .piano__keys-hint { display: none; } }

.piano__wrap {
  position: relative;
  border-radius: 10px 10px 6px 6px;
  padding: 16px 12px 12px;
  background: linear-gradient(#131a26, #070b13);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(220, 232, 244, 0.06);
  border: 1px solid rgba(220, 232, 244, 0.07);
}
.piano__lid {
  height: 8px; margin: -16px -12px 14px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(to bottom, #1b2534, #0d1420);
  border-bottom: 1px solid rgba(125, 154, 206, 0.25);
}
.piano__board {
  position: relative;
  display: flex;
  height: clamp(150px, 30vw, 230px);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.pkey {
  position: relative;
  flex: 1;
  background: linear-gradient(#eef4fb, #d6dfea 92%, #b2bfd0);
  border: 1px solid #0e141d;
  border-radius: 0 0 6px 6px;
  cursor: pointer;
  transition: background 0.08s;
}
.pkey.is-down {
  background: linear-gradient(#c2d6ec, #9fbfe0);
  box-shadow: inset 0 -4px 12px rgba(20, 38, 74, 0.3);
}
.pkey--black {
  position: absolute;
  top: 0;
  width: 58%;
  height: 62%;
  background: linear-gradient(#202a3a, #030508);
  border: 1px solid #000;
  border-radius: 0 0 5px 5px;
  z-index: 2;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55);
}
.pkey--black.is-down {
  background: linear-gradient(#2c3d55, #101724);
  box-shadow: inset 0 -3px 10px rgba(125, 154, 206, 0.4);
}
.pkey__label {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.1em;
  color: rgba(14, 20, 29, 0.45);
  pointer-events: none;
}
.pkey--black .pkey__label { color: rgba(220, 232, 244, 0.35); }
@media (hover: none) { .pkey__label { display: none; } }

.piano__note {
  margin-top: 26px;
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--ink-dim);
  text-align: center;
}
#candleCount { color: var(--gold); font-style: normal; }
.piano__candles {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 18px; min-height: 26px;
}
.candle {
  width: 8px; height: 20px; position: relative;
  background: linear-gradient(#dce8f4, #a3b5c9);
  border-radius: 2px;
  animation: candleIn 0.6s var(--ease);
}
.candle::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 7px; border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 50% 30%, var(--flame), #d9a24f 60%, transparent 75%);
  box-shadow: 0 0 14px rgba(255, 217, 138, 0.35);
  animation: flame 0.9s ease-in-out infinite alternate;
}
@keyframes candleIn { from { transform: scale(0) translateY(10px); } }
@keyframes flame {
  from { transform: translateX(-50%) scale(1); opacity: 0.85; }
  to { transform: translateX(-58%) scale(1.25); opacity: 1; }
}

/* ---------- Quote ---------- */
.quote {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(20, 38, 74, 0.18), transparent 70%),
    var(--bg);
  text-align: center;
}
.quote__text {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(30px, 6.6vw, 62px);
  line-height: 1.2;
  display: flex; flex-direction: column;
}
.quote__text span {
  display: block; overflow: hidden;
}
.quote__cite {
  margin-top: 26px;
  font-size: 12px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Videos ---------- */
.videos { background: var(--bg-2); }
.videos__sub { color: var(--ink-dim); font-size: 14px; margin-bottom: 44px; }
.videos__sub a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.videos__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0b0a;
  border: 1px solid rgba(220, 232, 244, 0.07);
  min-height: 420px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.videos__item:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  background: #0d0b0a !important;
}
.videos__more { text-align: center; margin-top: 48px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(220, 232, 244, 0.25);
  padding: 16px 30px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s, border-color 0.4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--gold); }
.btn:hover::before { transform: none; }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__title { margin-bottom: 18px; }
.contact__mail {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 5.6vw, 54px);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 6px;
  transition: color 0.4s, border-color 0.4s;
  word-break: break-all;
}
.contact__mail:hover { color: var(--gold); border-color: var(--gold); }
.contact__sub { color: var(--ink-dim); font-size: 14px; margin-bottom: 40px; }
.contact__social { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.contact__social a {
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-dim); text-decoration: none;
  transition: color 0.3s;
}
.contact__social a:hover { color: var(--gold); }
.contact__dot { color: var(--gold); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(220, 232, 244, 0.07);
  padding: 40px 20px calc(40px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.footer__mark {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .videos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .about__cols { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .videos__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .videos__item { min-height: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .grain { animation: none; }
}

/* ============================================================
   SAINT NINÀ WORLD — logo, handwriting, deco, cursor, photos
   ============================================================ */

/* ---------- Cross cursor (desktop, fine pointers only) ---------- */
@media (pointer: fine) {
  html, body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M5 8.5h14' stroke='%23dbe3f0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, auto;
  }
  a, button, .pkey, .hero__word .ch {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M13 2v22M5.5 9h15' stroke='%237d9ace' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 13 13, pointer;
  }
}

/* ---------- SN logo (injected SVG) ---------- */
.sn-logo svg { display: block; height: 100%; width: auto; overflow: visible; }
.header__mark { height: 46px; width: auto; }
.preloader__mark { height: clamp(90px, 15vw, 130px); }
.footer__mark {
  display: inline-block;
  height: 52px;
  margin-bottom: 14px;
  color: var(--gold);
}

/* ---------- Hero: custom dagger-cross acting as the T ---------- */
.hero__word .ch--cross {
  align-self: flex-start;
  width: 0.56em;
  margin-top: 0.055em;
  margin-left: 0.04em;
}
.hero__word .ch--cross svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(125, 154, 206, 0.25));
}
.hero__word .ch--cross svg path { transition: fill 0.4s; }
.hero__word .ch--cross:hover svg path { fill: var(--gold); }

/* ---------- Hero tag: handwritten, like the moodboard ---------- */
.hero__tag {
  font-family: var(--hand);
  font-style: normal;
  font-size: clamp(24px, 5.6vw, 38px);
  color: var(--gold);
  letter-spacing: 0.06em;
  text-shadow: 0 0 26px var(--gold-soft);
}

/* ---------- Hero: Global Music Awards laurel ---------- */
.hero__award {
  margin-top: clamp(24px, 4.5vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease) 1s, transform 1.1s var(--ease) 1s;
}
body.is-loaded .hero__award { opacity: 1; transform: none; }
.hero__award img {
  width: clamp(140px, 20vw, 200px);
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55));
}
.hero__award-text {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
}

/* ---------- Handwritten notes (her scribbles) ---------- */
.note {
  font-family: var(--hand);
  font-size: clamp(20px, 4.6vw, 27px);
  line-height: 1.5;
  color: rgba(219, 227, 240, 0.72);
  transform: rotate(var(--rot, -2deg));
  max-width: 420px;
  margin: clamp(30px, 5vh, 48px) 0;
  position: relative;
  padding-left: 18px;
}
.note::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-soft), transparent);
}
.note__cross { color: var(--gold); font-size: 0.85em; }
.note--right { margin-left: auto; text-align: right; padding-left: 0; padding-right: 18px; }
.note--right::before { left: auto; right: 0; }
.note--center { margin-left: auto; margin-right: auto; text-align: center; padding: 0; }
.note--center::before { display: none; }
.reveal.note { transform: rotate(var(--rot, -2deg)) translateY(36px); }
.reveal.note.is-in { transform: rotate(var(--rot, -2deg)); }

/* ---------- Floating deco (crosses, roses, candles) ---------- */
.deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  color: var(--gold);
  transform: translateY(var(--py, 0)) rotate(var(--rot, 0deg));
  will-change: transform;
}
.deco svg { display: block; width: var(--size, 38px); height: auto; }
.deco--cross svg {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(125, 154, 206, 0.18));
}
.deco--rose { opacity: 0.55; }
.deco--rose svg {
  width: var(--size, 50px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}
.deco--candle { opacity: 0.95; }
.deco--candle svg { width: var(--size, 34px); }
.deco--candle svg .cflame,
.deco--candle svg .cflame-core {
  transform-box: fill-box;
  transform-origin: 50% 95%;
  animation: candleFlick 1.3s ease-in-out infinite alternate;
}
.deco--candle svg .cflame-core { animation-duration: 0.9s; }
.deco--candle svg .cglow {
  transform-box: fill-box;
  transform-origin: center;
  animation: glowPulse 1.3s ease-in-out infinite alternate;
}
@keyframes candleFlick {
  from { transform: scaleY(1) rotate(0deg); }
  to { transform: scaleY(1.12) rotate(-2.5deg); }
}
@keyframes glowPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

/* Photorealistic PNG overrides (img/deco-*.png):
   the black backdrop is converted to real alpha in JS (blackToAlpha) */
.deco--img { opacity: 0.92; }
.deco--img img {
  display: block;
  width: calc(var(--size, 38px) * 2.2);
  height: auto;
}
.deco--cross.deco--img img {
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(125, 154, 206, 0.18));
}
.deco--rose.deco--img img {
  width: calc(var(--size, 50px) * 2.3);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
}
.deco--candle.deco--img img {
  width: calc(var(--size, 34px) * 2.6);
  filter: drop-shadow(0 0 24px rgba(255, 200, 120, 0.3));
}
@media (max-width: 720px) {
  .deco--img { opacity: 0.55; }
}

@media (max-width: 720px) {
  .deco { opacity: 0.18; }
  .deco--desktop { display: none; }
}

/* ---------- Polaroids (photos from her world) ---------- */
.polaroid {
  display: block;
  background: #0b111f;
  border: 1px solid rgba(219, 227, 240, 0.12);
  padding: 10px 10px 12px;
  margin: 0;
  transform: rotate(var(--rot, -2deg));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  position: relative;
}
.polaroid::before, .polaroid::after {
  content: "";
  position: absolute;
  width: 74px; height: 22px;
  background: rgba(219, 227, 240, 0.08);
  border: 1px solid rgba(219, 227, 240, 0.06);
  transform: rotate(-4deg);
  top: -12px; left: 18px;
}
.polaroid::after { left: auto; right: 18px; transform: rotate(5deg); }
.polaroid img {
  display: block; width: 100%;
  filter: saturate(0.85) contrast(1.06) brightness(0.94);
}
.polaroid figcaption {
  font-family: var(--hand);
  font-size: 19px;
  color: var(--ink-dim);
  text-align: center;
  padding-top: 9px;
}
.reveal.polaroid { transform: rotate(var(--rot, -2deg)) translateY(36px); }
.reveal.polaroid.is-in { transform: rotate(var(--rot, -2deg)); }

.polaroid--about {
  float: right;
  width: min(300px, 40%);
  margin: 6px 0 22px 30px;
}
.polaroid--contact {
  width: min(340px, 78%);
  margin: 0 auto clamp(36px, 6vh, 56px);
}
.polaroid--videos {
  float: right;
  width: min(340px, 44%);
  margin: 6px 0 26px 30px;
}
.videos__grid { clear: both; }
.section__kicker--center { justify-content: center; }
.section__kicker--center::after { display: none; }

@media (max-width: 720px) {
  .polaroid--about,
  .polaroid--videos {
    float: none;
    width: min(320px, 86%);
    margin: 0 auto 34px;
  }
}

/* Clear the about float before the stats row */
.about__stats { clear: both; }

/* ---------- Candle wall: one candle per visitor ---------- */
.candlewall {
  padding: clamp(70px, 11vh, 110px) 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 100%, rgba(255, 190, 100, 0.05), transparent 70%),
    var(--bg);
  border-top: 1px solid rgba(219, 227, 240, 0.06);
}
.candlewall__flames {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 13px;
  flex-wrap: wrap;
  max-width: 620px;
  margin: 0 auto 30px;
  min-height: 34px;
}
.candlewall__count {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1.1;
  color: var(--flame);
  text-shadow: 0 0 30px rgba(255, 217, 138, 0.25);
  margin-bottom: 8px;
}
.candlewall__label {
  font-family: var(--hand);
  font-size: clamp(19px, 4.2vw, 24px);
  color: var(--ink-dim);
}

/* ---------- Scroll candle: ignites as you scroll, joins the wall ---------- */
.scandle {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  --p: 0;
}
.scandle__glow {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 206, 120, 0.45), transparent 70%);
  opacity: calc(var(--p) * 0.9);
}
.scandle__flame {
  width: 9px;
  height: 15px;
  margin-bottom: -2px;
  border-radius: 50% 50% 42% 42%;
  background: radial-gradient(circle at 50% 32%, #fff3d6, #ffd98a 45%, #e0a955 72%, transparent 90%);
  transform-origin: 50% 100%;
  transform: scaleY(calc(0.1 + 0.9 * var(--p)));
  opacity: var(--p);
}
.scandle__wick {
  width: 2px;
  height: 5px;
  background: #2a2418;
}
.scandle__body {
  width: 12px;
  height: 44px;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(90deg, #6b6450, #f2ead6 30%, #ddd3ba 55%, #857b64);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}
.scandle.is-lit .scandle__flame {
  animation: scandleFlick 0.8s ease-in-out infinite alternate;
}
@keyframes scandleFlick {
  from { transform: scaleY(1); opacity: 0.9; }
  to { transform: scaleY(1.15) rotate(-2deg); opacity: 1; }
}
.scandle.is-lit .scandle__glow {
  opacity: 1;
  animation: glowPulse 0.8s ease-in-out infinite alternate;
}
@media (max-width: 720px) {
  .scandle { transform: translateX(-50%) scale(0.85); transform-origin: bottom center; }
}

/* Your candle, once it joins the wall */
.candle--yours {
  height: 27px;
  width: 9px;
  background: linear-gradient(#f8f1de, #d3c49e);
}
.candle--yours::before {
  width: 7px;
  height: 10px;
  box-shadow: 0 0 20px rgba(255, 217, 138, 0.65);
}

/* Counter pulse when your candle joins the wall */
.candlewall__count.is-pulse { animation: countPulse 0.9s var(--ease); }
@keyframes countPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); text-shadow: 0 0 48px rgba(255, 217, 138, 0.6); }
  100% { transform: scale(1); }
}

/* Keep embeds and CTAs above the floating deco layer */
.videos__grid, .videos__more, .piano__wrap, .about__cols, .about__stats {
  position: relative;
  z-index: 2;
}

/* ---------- Intro: blinking eyes before the title ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: transparent;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.intro.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease);
}
.intro__eyes {
  width: min(680px, 88vw);
  height: auto;
  display: block;
  /* fade the light band out at the sides so it floats free */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}

/* Her eyes as a floating element (alpha-extracted like the other photos) */
.deco--eyes.deco--img { opacity: 0.55; }
.deco--eyes.deco--img img {
  width: calc(var(--size, 120px) * 2);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent);
}
@media (max-width: 720px) {
  .deco--eyes.deco--img { opacity: 0.35; }
  .deco--eyes.deco--img img { width: calc(var(--size, 120px) * 1.4); }
}

/* ---------- Every element is alive ---------- */

/* The cross sways gently, as if hanging from a nail */
.deco--cross.deco--img img,
.deco--cross svg {
  transform-origin: 50% 0%;
  animation: crossSwing 6.5s ease-in-out infinite;
}
@keyframes crossSwing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

/* The rose spins in 3D via video when playback is available;
   the static fallback stays gracefully still. */

/* The candle's light breathes — irregular flicker like a real flame */
.deco--candle.deco--img img {
  animation: candleGlowFlick 3.2s ease-in-out infinite;
}
@keyframes candleGlowFlick {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 22px rgba(255, 200, 120, 0.28)); }
  9%  { filter: brightness(1.09) drop-shadow(0 0 36px rgba(255, 200, 120, 0.52)); }
  21% { filter: brightness(0.96) drop-shadow(0 0 16px rgba(255, 200, 120, 0.2)); }
  34% { filter: brightness(1.13) drop-shadow(0 0 42px rgba(255, 200, 120, 0.58)); }
  52% { filter: brightness(1.02) drop-shadow(0 0 26px rgba(255, 200, 120, 0.34)); }
  68% { filter: brightness(1.1) drop-shadow(0 0 38px rgba(255, 200, 120, 0.5)); }
  84% { filter: brightness(0.97) drop-shadow(0 0 18px rgba(255, 200, 120, 0.24)); }
}

/* ---------- Journey stat: ARG -> USA with handwritten wondering ---------- */
.stat--journey { position: relative; }
.stat__sub {
  font-family: var(--serif);
  font-size: clamp(15px, 2.4vw, 18px);
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-top: 2px;
}
.stat__next {
  font-family: var(--hand);
  font-size: clamp(18px, 3.4vw, 22px);
  color: var(--gold);
  transform: rotate(-3deg);
  display: inline-block;
  margin-top: 6px;
}

/* ---------- Spinning rose: alpha-extracted live canvas ---------- */
.deco--rose.deco--video canvas {
  display: block;
  width: calc(var(--size, 50px) * 2.6);
  height: auto;
}
.deco--rose.deco--video { opacity: 0.85; }
