  :root {
    --gold: #d4af6e;
    --gold-light: #ebcf98;
    --gold-deep: #a87f3e;
    --burgundy: #2a1318;
    --burgundy-light: #3d1d24;
    --black: #0a0709;
    --black-soft: #14101a;
    --cream: #f5ebda;
    --cream-soft: #d8cebd;
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; padding: 0;
    background: var(--black);
    color: var(--cream);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* slow ambient golden cursor glow */
    background-image: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(212,175,110,0.06), transparent 50%);
    background-attachment: fixed;
  }
  ::selection { background: var(--gold); color: var(--black); }

  /* ─── scroll progress bar ─── */
  .progress {
    position: fixed; top: 0; left: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
    width: 0%; z-index: 100;
    transition: width 60ms linear;
    box-shadow: 0 0 12px rgba(212,175,110,0.6);
  }

  /* ─── floating gold orbs (subtle parallax background particles) ─── */
  .orbs {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(235,207,152,0.18), transparent 60%);
    filter: blur(40px);
    animation: float 20s ease-in-out infinite alternate;
  }
  .orb:nth-child(1) { top: 10%; left: -5%; width: 320px; height: 320px; animation-duration: 25s; }
  .orb:nth-child(2) { top: 50%; right: -10%; width: 480px; height: 480px; animation-duration: 32s; animation-delay: -5s; }
  .orb:nth-child(3) { bottom: 5%; left: 30%; width: 260px; height: 260px; animation-duration: 28s; animation-delay: -12s; opacity: 0.6; }
  @keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
    100% { transform: translate(-30px, 20px) scale(0.95); }
  }
  a { color: var(--gold-light); text-decoration: none; transition: color 0.2s; }
  a:hover { color: var(--gold); }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
  .narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

  /* ─── nav ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(10, 7, 9, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.3s;
    padding-block: 6px;
  }
  nav.scrolled {
    background: rgba(10, 7, 9, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: rgba(212,175,110,0.2);
  }
  nav .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
  nav .brand {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: 5px;
    color: var(--cream);
    font-weight: 500;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--cream) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  nav .links { display: flex; gap: 28px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-soft); }
  nav .links a {
    color: inherit; opacity: 0.75;
    position: relative;
    padding: 4px 0;
    transition: opacity 0.2s, color 0.2s;
  }
  nav .links a::after {
    content: ''; position: absolute; bottom: -2px; left: 50%; height: 1px; width: 0;
    background: var(--gold); transition: width 0.3s, left 0.3s;
  }
  nav .links a:hover { opacity: 1; color: var(--gold-light); }
  nav .links a:hover::after { width: 100%; left: 0; }
  @media (max-width: 720px) { nav .links { display: none; } }

  /* ─── hero ─── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
    text-align: center;
    background-image:
      linear-gradient(180deg, rgba(10,7,9,0.55) 0%, rgba(10,7,9,0.30) 35%, rgba(10,7,9,0.92) 100%),
      url('/source.jpg');
    background-size: cover;
    background-position: center 25%;
    --mx: 50%; --my: 50%;
    overflow: hidden;
  }
  /* mouse-follow gold glow — works only on devices with hover */
  @media (hover: hover) {
    .hero::after {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(420px circle at var(--mx) var(--my),
        rgba(212,175,110,0.18), transparent 60%);
      mix-blend-mode: screen;
      transition: background 0.2s;
    }
  }
  /* scroll-driven parallax background fade — modern browsers only */
  @supports (animation-timeline: scroll()) {
    .hero { animation: hero-park linear; animation-timeline: scroll(root); animation-range: 0 80vh; }
    @keyframes hero-park { to { background-position: center 50%; filter: brightness(0.55); } }
    .hero-content { animation: hero-fade linear; animation-timeline: scroll(root); animation-range: 0 60vh; }
    @keyframes hero-fade { to { opacity: 0; transform: translateY(-50px); } }
  }
  .hero-content { position: relative; z-index: 2; }

  /* kinetic letter-rise on h1 */
  h1 .ch {
    display: inline-block;
    animation: letter-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: calc(var(--i) * 50ms + 200ms);
  }
  @keyframes letter-rise {
    0% { transform: translateY(110%) rotate(3deg); opacity: 0; }
    100% { transform: none; opacity: 1; }
  }

  /* scroll-down indicator */
  .scroll-down {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 3;
    color: var(--gold-light);
    font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
    opacity: 0.8;
    animation: bob 2.4s ease-in-out infinite;
  }
  .scroll-down::after {
    content: ''; display: block; width: 1px; height: 36px;
    background: linear-gradient(180deg, var(--gold), transparent);
    margin: 12px auto 0;
  }
  @keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }
  .kicker {
    color: var(--gold-light);
    font-size: 12px; letter-spacing: 6px; text-transform: uppercase;
    margin-bottom: 28px;
  }
  .kicker::before, .kicker::after {
    content: ''; display: inline-block; width: 30px; height: 1px;
    background: var(--gold); vertical-align: middle; margin: 0 14px;
  }
  h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(64px, 11vw, 144px);
    line-height: 0.95;
    letter-spacing: -1px;
    margin: 0 0 24px;
    color: var(--cream);
    text-shadow: 0 4px 40px rgba(0,0,0,0.7);
  }
  .hero .tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(18px, 2.4vw, 26px);
    color: var(--gold-light);
    max-width: 640px; margin: 0 auto 36px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  }
  .hero .meta {
    font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--cream); margin-bottom: 16px;
  }
  .hero .meta strong { color: var(--gold-light); font-weight: 500; }
  .hero .price {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--gold-light);
    margin: 14px 0 36px;
    font-weight: 500;
  }
  /* ─── CTA: OUTLINE-LUXURY ──────────────────────────────────────────────── */
  .cta {
    display: inline-block;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 20px 48px;
    background: transparent;
    color: var(--gold-light);
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    box-shadow: 0 0 0 0 rgba(212, 175, 110, 0);
    transition: color 0.45s cubic-bezier(0.7, 0, 0.2, 1),
                border-color 0.45s ease,
                box-shadow 0.5s ease,
                letter-spacing 0.4s ease;
  }
  .cta > span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 16px;
  }
  .cta > span::before,
  .cta > span::after {
    content: '✦';
    font-size: 11px;
    color: var(--gold);
    opacity: 0.7;
    transition: color 0.45s ease, opacity 0.45s ease, transform 0.5s cubic-bezier(0.7,0,0.2,1);
  }
  .cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
    z-index: 1;
  }
  .cta:hover {
    color: var(--black);
    border-color: var(--gold-light);
    letter-spacing: 5px;
    box-shadow: 0 10px 32px rgba(212, 175, 110, 0.35);
  }
  .cta:hover::before { transform: scaleX(1); }
  .cta:hover > span::before,
  .cta:hover > span::after {
    color: var(--black);
    opacity: 1;
    transform: rotate(180deg);
  }
  .cta-secondary {
    display: inline-block; margin-left: 14px;
    padding: 22px 40px;
    border: 1px solid rgba(245,235,218,0.4);
    color: var(--cream); letter-spacing: 2px; text-transform: uppercase;
    font-size: 12px;
    border-radius: 999px;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
  }
  .cta-secondary:hover { background: rgba(212,175,110,0.08); border-color: var(--gold-light); color: var(--gold-light); }
  @media (max-width: 720px) {
    .cta-secondary { margin-left: 0; margin-top: 14px; }
  }

  /* ─── sections ─── */
  section { padding: 100px 0; position: relative; }
  section.alt { background: var(--black-soft); }
  .section-title {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 68px);
    color: var(--cream);
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.1;
    font-weight: 500;
  }
  .section-title em { color: var(--gold-light); font-style: italic; }
  .section-kicker {
    text-align: center;
    color: var(--gold);
    font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
    margin-bottom: 20px;
  }
  .section-lead {
    text-align: center; max-width: 720px; margin: 0 auto 56px;
    color: var(--cream-soft); font-size: 17px; line-height: 1.8;
  }

  /* ─── program grid ─── */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1000px; margin: 0 auto;
  }
  .card {
    background: linear-gradient(160deg, rgba(212,175,110,0.06) 0%, rgba(42,19,24,0.4) 100%);
    border: 1px solid rgba(212,175,110,0.18);
    border-radius: 8px;
    padding: 28px 22px;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
  }
  .card:hover {
    border-color: rgba(212,175,110,0.5);
    transform: translateY(-4px);
    background: linear-gradient(160deg, rgba(212,175,110,0.12) 0%, rgba(42,19,24,0.6) 100%);
  }
  .card .ico { font-size: 32px; margin-bottom: 12px; }
  .card .lbl { font-family: var(--serif); font-size: 19px; color: var(--cream); font-weight: 500; line-height: 1.35; }

  /* ─── price hero (editorial) ─── */
  .price-hero {
    text-align: center;
    max-width: 1000px; margin: 0 auto;
    position: relative;
  }
  .price-hero .label {
    font-size: 11px; letter-spacing: 6px; color: var(--gold);
    text-transform: uppercase; margin-bottom: 8px;
  }
  .price-hero .amount {
    font-family: var(--serif);
    font-size: clamp(120px, 22vw, 320px);
    line-height: 0.85;
    font-weight: 500;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--cream) 25%, var(--gold) 75%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 12px 0 8px;
  }
  .price-hero .currency {
    font-size: 0.28em;
    vertical-align: super;
    -webkit-text-fill-color: var(--gold-light);
    margin-left: 0.05em;
    font-weight: 400;
  }
  .price-hero .note {
    color: var(--cream-soft); font-size: 15px; line-height: 1.7;
    max-width: 520px; margin: 24px auto 0;
  }

  /* ─── editorial asymmetric ─── */
  .editorial {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: end;
    max-width: 1100px; margin: 0 auto;
  }
  .editorial .quote {
    font-family: var(--serif);
    font-size: clamp(48px, 7vw, 110px);
    line-height: 0.95;
    color: var(--cream);
    text-wrap: balance;
    font-weight: 500;
    margin: 0;
  }
  .editorial .quote em {
    color: var(--gold-light);
    display: block;
    margin-left: 0.15em;
    transform: translateY(0.1em);
    font-style: italic;
  }
  .editorial .body p {
    color: var(--cream-soft);
    font-size: 16px; line-height: 1.85;
    margin: 0 0 18px;
  }
  .editorial .body p:last-child { margin-bottom: 0; }
  @media (max-width: 720px) {
    .editorial { grid-template-columns: 1fr; gap: 36px; }
    .editorial .quote em { margin-left: 0; }
  }

  /* ─── SVG ornament divider ─── */
  .orn {
    width: min(220px, 36vw);
    height: 28px;
    color: var(--gold);
    margin: 0 auto 32px;
    display: block;
    opacity: 0.85;
  }
  .orn path { stroke-dasharray: 240; stroke-dashoffset: 240; transition: stroke-dashoffset 1.6s ease-out; }
  .reveal.in .orn path { stroke-dashoffset: 0; }

  /* ─── higgsfield-generated decorative ornaments ─── */
  /* mix-blend: screen makes the burgundy background drop out, leaving the gold visible */
  .ornament {
    display: block;
    margin: 0 auto 36px;
    max-width: 540px; width: 70%;
    mix-blend-mode: screen;
    opacity: 0.95;
    filter: brightness(1.05);
    pointer-events: none;
  }
  .ornament-small { max-width: 320px; width: 50%; margin-bottom: 24px; }

  /* arabesque pattern as section background */
  .pattern-bg { position: relative; }
  .pattern-bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('/assets/pattern_arabesque.png');
    background-size: 600px 600px;
    background-position: center;
    background-repeat: repeat;
    mix-blend-mode: screen;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
  }
  .pattern-bg > * { position: relative; z-index: 1; }

  /* lantern decoration — absolute positioned in price section */
  .lantern {
    position: absolute;
    width: 220px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.85;
    filter: drop-shadow(0 0 30px rgba(235,207,152,0.3));
    animation: sway 6s ease-in-out infinite;
  }
  .lantern.left { top: 20px; left: 24px; }
  .lantern.right { top: 60px; right: 24px; }
  @keyframes sway {
    0%, 100% { transform: rotate(-1deg) translateY(0); }
    50% { transform: rotate(1deg) translateY(6px); }
  }
  @media (max-width: 720px) { .lantern { display: none; } }

  /* henna corner — top-left and bottom-right of editorial section */
  .henna {
    position: absolute;
    width: 280px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.55;
  }
  .henna.tl { top: 0; left: 0; }
  .henna.br { bottom: 0; right: 0; transform: scaleX(-1) scaleY(-1); }
  @media (max-width: 720px) { .henna { width: 160px; opacity: 0.4; } }

  /* ─── definition table ─── */
  table.def {
    width: 100%; max-width: 760px; margin: 0 auto;
    border-collapse: collapse; font-size: 15px;
  }
  table.def td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(212,175,110,0.12);
    vertical-align: top;
  }
  table.def td:first-child {
    width: 35%;
    color: var(--gold-light);
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    padding-right: 24px;
  }
  table.def td:last-child { color: var(--cream); }

  /* ─── two-col ─── */
  .two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    max-width: 1000px; margin: 0 auto;
  }
  @media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
  .col h3 {
    font-family: var(--serif); font-size: 28px; color: var(--cream);
    margin: 0 0 16px; font-weight: 500;
  }
  .col p, .col li { color: var(--cream-soft); }
  .col ul { padding-left: 0; list-style: none; }
  .col li {
    padding: 10px 0 10px 24px;
    position: relative;
    border-bottom: 1px dotted rgba(212,175,110,0.15);
  }
  .col li:last-child { border: 0; }
  .col li::before {
    content: '✦';
    position: absolute; left: 0; color: var(--gold);
    font-size: 14px; top: 12px;
  }

  /* ─── gallery ─── */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .gallery .tile {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    background: var(--burgundy);
    transition: transform 0.4s, box-shadow 0.4s;
  }
  .gallery .tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s, filter 0.6s;
    filter: brightness(0.92) saturate(1.05);
  }
  .gallery .tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212,175,110,0.25);
  }
  .gallery .tile:hover img {
    transform: scale(1.06);
    filter: brightness(1.05) saturate(1.1);
  }

  /* ─── divider ─── */
  .divider {
    text-align: center; margin: 0; padding: 30px 0;
    color: var(--gold); letter-spacing: 8px;
  }

  /* ─── footer ─── */
  footer {
    background: var(--black);
    border-top: 1px solid rgba(212,175,110,0.15);
    padding: 56px 24px 32px;
    text-align: center;
    color: rgba(245,235,218,0.5);
    font-size: 13px; line-height: 1.8;
  }
  footer .brand {
    font-family: var(--serif); font-size: 28px; color: var(--cream);
    letter-spacing: 4px; font-weight: 500; margin-bottom: 8px;
  }
  footer .legal { margin-top: 24px; max-width: 700px; margin-left: auto; margin-right: auto; font-size: 12px; }
  footer .footer-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid rgba(212,175,110,0.12);
    max-width: 800px; margin-left: auto; margin-right: auto;
  }
  footer .footer-links a {
    color: rgba(245,235,218,0.6); font-size: 12px; letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  footer .footer-links a:hover { color: var(--gold-light); }

  /* ─── /info page slim hero ─── */
  .info-hero {
    padding: 140px 24px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(212,175,110,0.15);
  }
  .info-hero .kicker { margin-bottom: 18px; }
  .info-hero h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 500;
    color: var(--cream);
    margin: 0 0 12px;
    letter-spacing: -1px;
  }
  .info-hero p {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-light);
    font-size: 18px;
    max-width: 580px; margin: 0 auto;
  }
  .info-back { display: block; text-align: center; padding: 60px 0 0; }
  .info-back a {
    color: var(--gold-light); font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  }
  .info-back a::before { content: '← '; }

  /* ─── reveal-on-scroll ─── */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
  .reveal.in { opacity: 1; transform: none; }

  /* ─── responsive tweaks ─── */
  @media (max-width: 720px) {
    section { padding: 64px 0; }
    .cta-secondary { margin-left: 0; margin-top: 12px; display: inline-block; }
    .price-box { padding: 36px 20px; }
    .price-box .amount { font-size: 56px; }
  }

/* ─── BENTO program grid ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-decoration: none;
  cursor: default;
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
  background-color: var(--burgundy);
  border: 1px solid rgba(212,175,110,0.18);
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  background: inherit;
  background-size: cover; background-position: center;
  z-index: -2;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s;
  filter: brightness(0.85) saturate(1.05);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(212,175,110,0.18);
  border-color: rgba(212,175,110,0.5);
}
.bento-card:hover::before {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}
.bento-card .num {
  font-family: var(--serif);
  font-size: 56px;
  font-style: italic;
  color: var(--gold-light);
  opacity: 0.45;
  position: absolute;
  top: 12px;
  right: 22px;
  line-height: 1;
  font-weight: 500;
}
.bento-card .kicker {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
  opacity: 0.85;
}
.bento-card .title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--cream);
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
}

/* Bento spans — asymmetric editorial layout */
.bento-1  { grid-column: span 3; grid-row: span 2; }   /* hero — Live performance */
.bento-2  { grid-column: span 3; }                      /* DJ */
.bento-3  { grid-column: span 2; grid-row: span 2; }   /* Coffee — tall */
.bento-4  { grid-column: span 1; }                      /* Henna */
.bento-5  { grid-column: span 2; }                      /* Dance with Жади */
.bento-6  { grid-column: span 2; }                      /* Photo */
.bento-7  { grid-column: span 2; grid-row: span 2; }   /* Cake — tall */
.bento-8  { grid-column: span 4; }                      /* Banquet — wide */
.bento-9  { grid-column: span 2; }                      /* Gifts */
.bento-10 { grid-column: span 2; }                      /* Mystery */
.bento-11 { grid-column: span 2; }                      /* Interactive */
.bento-12 { grid-column: span 6; grid-row: span 1; }   /* Decor — full-width finale */

/* Mobile: stack everything */
@media (max-width: 720px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .bento-card,
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5, .bento-6,
  .bento-7, .bento-8, .bento-9, .bento-10, .bento-11, .bento-12 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-1, .bento-7, .bento-12 { grid-row: span 2; }
}

/* ─── #1 GRAIN + CINEMATIC VIGNETTE ───────────────────────────────────────── */
body::before{
  content:''; position:fixed; inset:0; pointer-events:none; z-index:1;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.83  0 0 0 0 0.69  0 0 0 0 0.43  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.55;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20%     { transform: translate(-2%, 1%); }
  40%     { transform: translate(1%, -2%); }
  60%     { transform: translate(-1%, 2%); }
  80%     { transform: translate(2%, 1%); }
}
@media (prefers-reduced-motion: reduce){
  body::before { animation: none; }
}

/* ─── #2 BENTO 3D TILT + GOLD SPOTLIGHT ──────────────────────────────────── */
.bento-card { transform-style: preserve-3d; will-change: transform; }
.bento-card::after {
  content:''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(235,207,152,0.22), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity 0.3s;
  z-index: 1;
}
.bento-card:hover::after { opacity: 1; }
.bento-card .num,
.bento-card .kicker,
.bento-card .title { position: relative; z-index: 2; }

/* ─── #3 SECTION KNOT DIVIDERS ───────────────────────────────────────────── */
.knot {
  position: relative;
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.knot::before, .knot::after {
  content: ''; flex: 1; height: 1px; max-width: 240px;
  background: linear-gradient(90deg, transparent, rgba(212,175,110,0.5), transparent);
}
.knot svg {
  width: 36px; height: 36px; margin: 0 18px;
  color: var(--gold);
  filter: drop-shadow(0 0 12px rgba(212,175,110,0.45));
  animation: knot-spin 22s linear infinite;
}
@keyframes knot-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .knot svg { animation: none; } }

/* ─── #4 VIEW TRANSITIONS ────────────────────────────────────────────────── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.35s ease forwards; }
::view-transition-new(root) { animation: vt-in 0.45s 0.1s ease backwards; }
@keyframes vt-out { to { opacity: 0; filter: blur(8px); } }
@keyframes vt-in  { from { opacity: 0; filter: blur(8px); } }
nav .brand { view-transition-name: brand; }

/* ─── #5 STAGGER REVEAL FOR BENTO + GALLERY CHILDREN ─────────────────────── */
.bento-grid .bento-card,
.gallery .tile {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s, transform 0.8s;
}
.bento-grid .bento-card.child-in,
.gallery .tile.child-in {
  opacity: 1;
  transform: none;
}

/* ─── #6 PREMIUM LOADING VEIL ────────────────────────────────────────────── */
#veil {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: grid; place-items: center;
  transition: opacity 0.8s 0.2s, visibility 0.8s 0.2s;
}
#veil .brand {
  font-family: var(--serif);
  font-size: 56px;
  letter-spacing: 10px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--gold-light), var(--cream), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: veil-pulse 1.4s ease-in-out infinite;
}
@keyframes veil-pulse {
  50% { opacity: 0.45; letter-spacing: 16px; }
}
body.ready #veil { opacity: 0; visibility: hidden; }

/* ─── HENNA + LANTERN as CSS background (so mobile doesn't download them) ─── */
.henna {
  position: absolute;
  width: 280px; height: 280px;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
  background-image: url('/assets/henna_corner.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.henna.tl { top: 0; left: 0; }
.henna.br { bottom: 0; right: 0; transform: scaleX(-1) scaleY(-1); }
@media (max-width: 720px) { .henna { display: none; } }

.lantern {
  position: absolute;
  width: 220px; height: 320px;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
  background-image: url('/assets/lantern_silhouette.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 30px rgba(235,207,152,0.3));
  animation: sway 6s ease-in-out infinite;
}
.lantern.left  { top: 20px; left: 24px; }
.lantern.right { top: 60px; right: 24px; }
@media (max-width: 720px) { .lantern { display: none; } }

/* ─── Pattern background — use webp ─── */
.pattern-bg::before {
  background-image: url('/assets/pattern_arabesque.webp') !important;
}

/* ─── A11y + smooth anchor scrolling ─── */
section[id], header[id] { scroll-margin-top: 80px; }

a:focus-visible, button:focus-visible,
.cta:focus-visible, .cta-secondary:focus-visible,
.bento-card:focus-visible, .gallery .tile:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 200;
  padding: 12px 18px;
  background: var(--cream); color: var(--black);
  border-radius: 6px;
  font: 600 13px/1 var(--sans); letter-spacing: 1px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .orb, .lantern, .scroll-down, h1 .ch, body::before {
    animation: none !important;
  }
}

/* ─── ABOUT SECTION (editorial spread) ────────────────────────────────────── */
.about-section { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-photo {
  position: relative;
  align-self: stretch;
}
.about-photo img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  min-height: 460px;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.05);
  border-radius: 2px;
  /* Soft inner gold edge */
  box-shadow:
    0 0 0 1px rgba(212,175,110,0.25),
    0 30px 60px -20px rgba(0,0,0,0.6);
}
.about-photo-caption {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-light);
  letter-spacing: 2px;
  background: rgba(10,7,9,0.55);
  padding: 6px 12px;
  backdrop-filter: blur(6px);
}

.about-text {
  padding: 0 4px;
}

/* Chapter mark */
.chapter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: var(--gold-light);
}
.chapter-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}
.chapter-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.chapter-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream-soft);
}

/* Big editorial title */
.about-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--cream);
  margin: 0 0 36px;
  text-wrap: balance;
}
.about-title em {
  font-style: italic;
  color: var(--gold-light);
  display: inline-block;
}

/* Body */
.about-body p {
  color: var(--cream-soft);
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 22px;
  max-width: 60ch;
}
.about-body p:last-of-type { margin-bottom: 36px; }

/* Pull quote */
.pull-quote {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--gold-light);
  padding: 24px 0 24px 28px;
  border-left: 1px solid var(--gold);
  margin: 0;
  text-wrap: balance;
}
.pull-quote::before {
  content: '“';
  position: absolute;
  top: -20px; left: 14px;
  font-size: 80px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
}

@media (max-width: 720px) {
  .about-section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo img { max-height: 480px; min-height: 320px; }
  .about-body p { font-size: 16px; }
}

/* ─── MARQUEE running strip ──────────────────────────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
    rgba(212,175,110,0.04) 0%,
    rgba(212,175,110,0.10) 50%,
    rgba(212,175,110,0.04) 100%);
  border-top: 1px solid rgba(212,175,110,0.18);
  border-bottom: 1px solid rgba(212,175,110,0.18);
  padding: 22px 0;
  z-index: 2;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--black), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--black), transparent); }

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  width: max-content;
  padding-left: 56px;
}
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 1px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.marquee-sep {
  color: var(--gold);
  font-size: 18px;
  opacity: 0.8;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 0s; } }

/* ─── WORD-BY-WORD reveal (used on .word-reveal headings) ────────────────── */
.word-reveal {
  /* The container itself stays opaque; words fade individually */
}
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(2deg);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.word-reveal.in .word {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
  .word-reveal .word { opacity: 1; transform: none; transition: none; }
}

/* ─── PHOTO CLIP-PATH reveal (left → right curtain) ──────────────────────── */
.photo-clip img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.7, 0, 0.2, 1);
}
.photo-clip.in img {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .photo-clip img { clip-path: none; transition: none; }
}

/* ─── STICKY about photo (photo stays as text scrolls past) ──────────────── */
.about-grid { align-items: start; }
.about-photo {
  position: sticky;
  top: 90px;
  align-self: start;
}
@media (max-width: 720px) {
  .about-photo { position: static; top: 0; }
}

/* ─── LINE-MASK heading reveal (overflow hidden + translateY) ────────────── */
.line-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.line-mask > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in .line-mask > span,
.line-mask.in > span {
  transform: translateY(0);
}

/* ─── OFERTA page ────────────────────────────────────────────────────────── */
.oferta-content { padding: 60px 0 100px; }
.oferta-h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-light);
  text-align: center;
  margin: 24px 0 48px;
  letter-spacing: 1px;
  font-weight: 500;
}
.oferta-h2 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--cream);
  margin: 48px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.oferta-h2 .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.oferta-p {
  color: var(--cream-soft);
  font-size: 16px; line-height: 1.85;
  margin: 0 0 14px;
  padding-left: 56px;
  position: relative;
}
.oferta-num {
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding-top: 4px;
}
.oferta-line {
  color: var(--cream-soft);
  font-size: 15px;
  line-height: 1.85;
  margin: 8px 0;
}
.oferta-line:has(strong) { font-weight: 500; }
@media (max-width: 720px){
  .oferta-content { padding: 36px 0 60px; }
  .oferta-p { padding-left: 0; }
  .oferta-num { position: static; display: block; margin-bottom: 4px; }
}

/* ─── VENUE MAP embed ────────────────────────────────────────────────────── */
.venue-map {
  width: 100%;
  max-width: 760px;
  margin: 32px auto 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212,175,110,0.25);
  aspect-ratio: 16 / 9;
  background: var(--burgundy);
}
.venue-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: brightness(0.85) saturate(1.1); }

/* ═══ AUDIT FIXES ═══════════════════════════════════════════════════════════ */

/* iOS Safari: 100vh includes URL bar — switch to 100dvh */
.hero { min-height: 100svh; }
@supports (height: 100dvh) { .hero { min-height: 100dvh; } }

/* iOS hover stuck — guard all hover transitions behind hover-capable devices */
@media (hover: none) {
  .cta:hover, .cta:hover::before,
  .cta-secondary:hover,
  .bento-card:hover, .bento-card:hover::before, .bento-card:hover::after,
  .gallery .tile:hover, .gallery .tile:hover img,
  .card:hover, .card:hover::before {
    transform: none;
    background: inherit;
    color: inherit;
    border-color: inherit;
    box-shadow: inherit;
    opacity: inherit;
  }
}
.cta:active::before { transform: translateY(0); }   /* tap feedback for mobile */

/* Reduce grain — was 0.55 + animation, too noisy */
body::before { opacity: 0.30; }
@media (max-width: 720px) {
  body::before { animation: none; opacity: 0.20; }
}

/* Sticky about-photo — force disable on mobile + reset stretch */
@media (max-width: 720px) {
  .about-photo { position: static !important; align-self: auto !important; }
  .about-photo img { height: auto !important; min-height: 0 !important; max-height: 60vh; }
}

/* Bento gradient overlay was too dark — let photos breathe */
.bento-card {
  background-blend-mode: normal;
}
.bento-card::before {
  filter: brightness(0.95) saturate(1.05) !important;
}

/* Tablet bento — was bug at 720-960px (text overlapped numbers) */
@media (max-width: 1024px) and (min-width: 721px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .bento-1, .bento-7, .bento-12 { grid-column: span 4; grid-row: span 1; }
  .bento-3 { grid-column: span 2; grid-row: span 2; }
  .bento-2, .bento-8 { grid-column: span 4; grid-row: span 1; }
  .bento-4, .bento-5, .bento-6, .bento-9, .bento-10, .bento-11 { grid-column: span 2; }
}

/* Pull-quote on mobile — large quote-mark overlapped chapter heading */
@media (max-width: 720px) {
  .pull-quote { margin-top: 12px; padding: 20px 0 16px 22px; font-size: 18px; }
  .pull-quote::before { font-size: 56px; top: -8px; left: 8px; }
}

/* iPhone notch / home-bar safe areas */
nav { padding-top: max(6px, env(safe-area-inset-top)); }
footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.info-back { padding-bottom: max(60px, calc(60px + env(safe-area-inset-bottom))); }

/* Marquee tighter on mobile */
@media (max-width: 720px) {
  .marquee-track { gap: 36px; animation-duration: 24s; }
  .marquee-item { font-size: 20px; }
}

/* Scroll-down arrow polish (was the russian word) */
.scroll-down {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0;
}
.scroll-down::after { display: none; }   /* drop the line, arrow speaks for itself */

/* Better focus contrast on cream CTA */
.cta:focus-visible { outline-color: #8e6722; outline-offset: 4px; }

/* View Transitions — wrap in @supports so older Firefox/Safari don't parse-leak */
@supports (view-transition-name: none) {
  ::view-transition-old(root) { animation: vt-out 0.35s ease forwards; }
  ::view-transition-new(root) { animation: vt-in 0.45s 0.1s ease backwards; }
}
