@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --bg-color: #080808;
  --bg-secondary: #0F0F0F;
  --bg-card: #141414;
  --text-color: #F0EBE1;
  --text-muted: #9A8F85;
  --accent-1: #D4AF37;        /* Metallic Gold */
  --accent-2: #F9F295;        /* Light Gold / Shimmer */
  --accent-3: #B8960C;        /* Deep Gold */
  --border-color: rgba(212, 175, 55, 0.2);
  --border-glow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.1);
  --card-shadow: 0 4px 40px rgba(0,0,0,0.8);
  --noise-opacity: 0.04;
}

[data-theme="marble"] {
  --bg-color: #0B0814;
  --bg-secondary: #120D1E;
  --bg-card: rgba(18, 10, 30, 0.85);
  --text-color: #F0EBE1;
  --text-muted: #9A8F85;
  --accent-1: #D4AF37;
  --accent-2: #F9F295;
  --accent-3: #B8960C;
  --border-color: rgba(212, 175, 55, 0.25);
  --border-glow: 0 0 25px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.15);
  --card-shadow: 0 4px 40px rgba(0,0,0,0.9);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Jost', sans-serif;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
  line-height: 1.6;
}

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

/* Typography Classes */
.cinzel { font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 0.1em; }
.cinzel-decorative { font-family: 'Cinzel Decorative', serif; text-transform: uppercase; }
.cormorant { font-family: 'Cormorant Garamond', serif; }
.jost { font-family: 'Jost', sans-serif; }

.gold-gradient-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #080808;
  font-weight: 600;
}
.btn--primary:hover {
  box-shadow: var(--border-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--accent-1);
  color: var(--accent-1);
}
.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--border-glow);
}

/* Animated Marble Background */
.marble-bg {
  position: relative;
  background-color: #000000;
}
.marble-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-color: #0a0014;
  background-image: 
    /* Luxurious Gold Accents */
    radial-gradient(ellipse at 15% 15%, rgba(212, 175, 55, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 85%, rgba(212, 175, 55, 0.25) 0%, transparent 50%),
    /* Striking Royal Purples */
    radial-gradient(circle at 80% 20%, #6a0d9e 0%, transparent 65%),
    radial-gradient(circle at 20% 80%, #4b0970 0%, transparent 65%),
    radial-gradient(ellipse at 50% 0%, #3e0b5c 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, #240536 0%, transparent 55%);
  background-size: 150% 150%;
  animation: marbleShift 35s ease-in-out infinite;
}
.marble-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  /* Seamless, organic blend from absolute black to transparent edges */
  background: radial-gradient(
    ellipse 120% 120% at 50% 50%, 
    #000000 0%, 
    #000000 20%, 
    rgba(0,0,0,0.85) 45%, 
    rgba(0,0,0,0.4) 70%, 
    transparent 100%
  );
  pointer-events: none;
}

@keyframes marbleShift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

.marble-veins {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.2));
}
.vein-primary { animation: veinPulse 4s ease-in-out infinite; }
.vein-secondary { animation: veinPulse 6s ease-in-out infinite 1s; }
.vein-micro { animation: veinPulse 5s ease-in-out infinite 2s; }

@keyframes veinPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1.0; }
}

.vein-primary path:first-child {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: veinDraw 8s ease-in-out infinite;
}

@keyframes veinDraw {
  0%   { stroke-dashoffset: 1200; opacity: 0.3; }
  50%  { stroke-dashoffset: 0;    opacity: 1.0; }
  100% { stroke-dashoffset: -1200; opacity: 0.3; }
}

/* Nav */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  transition: background 0.4s, border-bottom 0.4s, backdrop-filter 0.4s;
}
#main-nav.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo--wordmark {
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  line-height: 1;
  position: relative;
  padding: 0.28rem 0 0.28rem 0.72rem;
}
.nav-logo--wordmark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  bottom: 0.34rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(249,242,149,0.72), rgba(212,175,55,0.28), transparent);
  box-shadow: 0 0 14px rgba(212,175,55,0.26);
}
.nav-name {
  display: block;
  font-size: clamp(1.35rem, 4.3vw, 1.9rem);
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(212,175,55,0.15);
}
.nav-motto {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(240, 235, 225, 0.62);
  font-size: clamp(0.46rem, 1.55vw, 0.62rem);
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.nav-motto::after {
  content: "";
  width: 2.3rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,0.55), transparent);
}
.logo-img { height: 30px; }
.logo-text { font-size: 1.2rem; color: var(--accent-1); }

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-link {
  font-size: 0.85rem;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--accent-1); }
.nav-link--cta {
  border: 1px solid var(--accent-1);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  color: var(--accent-1);
}
.nav-link--cta:hover {
  background: rgba(212,175,55,0.1);
  box-shadow: var(--border-glow);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector { position: relative; }
.lang-btn { font-size: 0.85rem; color: var(--accent-1); }
.lang-dropdown {
  position: absolute;
  top: 100%; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 60px;
}
.lang-dropdown[hidden] { display: none; }
.lang-dropdown button { text-align: left; padding: 0.2rem 0.5rem; font-size: 0.85rem; }
.lang-dropdown button:hover { color: var(--accent-1); }

.theme-btn { font-size: 1.2rem; color: var(--accent-1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--accent-1); transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem; color: var(--accent-1);
}
.mobile-menu__nav {
  display: flex; flex-direction: column; gap: 2rem; text-align: center;
}
.mobile-link { font-size: 1.5rem; }
.mobile-link--cta { color: var(--accent-1); border-bottom: 1px solid var(--accent-1); padding-bottom: 5px;}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* Footer */
/* --- Optimized Footer --- */
.site-footer {
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(212,175,55,0.1);
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.05), transparent 30rem), var(--bg-color);
}

.footer-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 860px) {
  .footer-wrapper {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.footer-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-art img {
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-kicker {
  color: var(--accent-1);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  margin-bottom: 0.5rem;
}

.footer-brand .footer-logo {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-link {
  color: rgba(240,235,225,0.7);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-1);
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(240,235,225,0.7);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--accent-1);
}

.footer-payments {
  text-align: center;
}

.payment-label {
  display: block;
  font-size: 0.85rem;
  color: var(--accent-1);
  margin-bottom: 0.6rem;
  letter-spacing: 0.1em;
}

.payment-badge {
  display: inline-block;
  font-size: 0.95rem;
  color: rgba(240,235,225,0.7);
  margin-right: 0.4rem;
}

.payment-badge:not(:last-child)::after {
  content: "•";
  margin-left: 0.4rem;
  color: rgba(212,175,55,0.3);
}

.footer-cta {
  justify-self: center;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212,175,55,0.1);
  font-size: 0.85rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-areas: 
      "brand links social payments"
      "brand links social cta"
      "copy copy copy copy";
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    grid-template-rows: min-content min-content auto;
    text-align: left;
    gap: 1.5rem 2rem;
  }
  .footer-brand { grid-area: brand; }
  .footer-links { grid-area: links; align-items: flex-start; }
  .footer-social { 
    grid-area: social; 
    flex-direction: column; 
    align-items: flex-start; 
    justify-content: flex-start;
    gap: 1.2rem;
    margin-top: 0; 
  }
  .footer-payments { grid-area: payments; text-align: left; }
  .footer-cta { grid-area: cta; justify-self: start; margin-top: 0.5rem; }
  .footer-copy { grid-area: copy; margin-top: 3rem; text-align: left; border-top: 1px solid rgba(212,175,55,0.1); padding-top: 2rem; }
}

/* --- Index Page Styles --- */
/* Old hero rules removed — now defined in the GRID REDESIGN block at the end of this file */

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-gradient-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212,175,55,0.05) 0%, transparent 70%);
  z-index: 2;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--accent-1);
  animation: scrollDrop 2s infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* Sections General */
section:not(.hero) {
  padding: 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.section-eyebrow { font-size: 0.9rem; margin-bottom: 0.5rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); margin-bottom: 3rem; }

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
  text-align: left;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
}
.illustration-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.illustration-glow-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: var(--border-glow);
}
.selina-art {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}
.about-text .about-body { font-size: 1.1rem; margin-bottom: 1.5rem; }
.about-quote {
  font-size: 1.5rem; font-style: italic;
  padding-left: 1.5rem; border-left: 2px solid var(--accent-1);
  margin-bottom: 2rem; line-height: 1.4;
}
.about-attributes { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.attribute-pill {
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  color: var(--text-muted);
}

/* Stats */
.stats-section { padding: 4rem 1.5rem; background: var(--bg-card); }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; text-align: center;
}
.stat-item .stat-number { font-size: 3.5rem; line-height: 1; }
.stat-item .stat-suffix { font-size: 2.5rem; }
.stat-item .stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Teasers */
.teasers-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto;
}
@media (max-width: 768px) { .teasers-grid { grid-template-columns: 1fr; } }
.teaser-card {
  display: block; padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.teaser-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}
.teaser-card__icon { margin-bottom: 1.5rem; }
.teaser-card__title { font-size: 1.8rem; margin-bottom: 1rem; color: var(--accent-1); }
.teaser-card__desc { color: var(--text-muted); margin-bottom: 2rem; }
.teaser-card__cta { font-size: 0.85rem; color: var(--accent-1); }

/* Instagram Feed */
.ig-feed-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .ig-feed-grid { grid-template-columns: repeat(2, 1fr); }
}
.ig-post {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-card); display: block;
}
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ig-post:hover img { transform: scale(1.05); }
.ig-post__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.7); opacity: 0;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  transition: opacity 0.3s; text-align: center;
}
.ig-post:hover .ig-post__overlay { opacity: 1; }
.ig-post__caption { color: #fff; font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ig-post.skeleton { background: var(--bg-card); animation: pulseBg 1.5s infinite; }
@keyframes pulseBg { 0% { background: var(--bg-secondary); } 50% { background: var(--bg-card); } 100% { background: var(--bg-secondary); } }

/* Daily Quote */
.daily-quote-frame {
  max-width: 600px; margin: 0 auto; position: relative; padding: 3rem 2rem;
  border: 1px solid var(--border-color); background: var(--bg-card);
}
.quote-ornament { position: absolute; font-size: 4rem; line-height: 1; opacity: 0.5; top: 1rem; left: 1.5rem; }
.quote-ornament--close { top: auto; left: auto; bottom: 0rem; right: 1.5rem; transform: rotate(180deg); }
.daily-quote__text { font-size: 1.5rem; font-style: italic; margin-bottom: 1.5rem; }
.daily-quote__author { font-size: 0.9rem; }

/* --- Rules Page Styles --- */
.hero--small { min-height: 40vh; align-items: flex-end; padding-bottom: 4rem; }

.rules-carousel { position: relative; max-width: 1000px; margin: 0 auto 6rem; overflow: hidden; }
.slide-counter { text-align: center; margin-bottom: 2rem; color: var(--text-muted); font-size: 0.9rem; }
.slides-wrapper { display: flex; align-items: flex-start; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.rule-slide { min-width: 100%; padding: 0 1.5rem; box-sizing: border-box; }
.rule-slide__content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4rem 3rem;
  position: relative;
  text-align: center;
}
.ornament-border { position: absolute; left: 1rem; right: 1rem; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-1), transparent); }
.ornament-border--top { top: 1rem; }
.ornament-border--bottom { bottom: 1rem; }

.slide-eyebrow { font-size: 0.85rem; margin-bottom: 1rem; }
.slide-title { font-size: 2.5rem; margin-bottom: 0.5rem; }
.slide-tagline { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 3rem; }

.illustration-circle {
  width: 120px; height: 120px; margin: 0 auto 3rem; position: relative;
}
.illustration-circle__glow {
  position: absolute; inset: 0; border: 1px solid var(--border-color); border-radius: 50%; box-shadow: var(--border-glow);
}
.slide-illustration { width: 100%; height: 100%; object-fit: contain; padding: 15px; position: relative; z-index: 2; }
.illustration-circle--sm { width: 80px; height: 80px; }

.pillars-grid {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; margin-bottom: 3rem;
}
.pillar-item { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100px; }
.pillar-label { font-size: 0.75rem; color: var(--text-muted); }

.slide-footer-text { font-size: 0.9rem; margin-top: 3rem; }

.slide-content-split { display: grid; grid-template-columns: 1fr; gap: 3rem; text-align: left; }
@media (min-width: 768px) {
  .slide-content-split { grid-template-columns: 2fr 1fr; }
}

.rules-list { display: flex; flex-direction: column; gap: 2.5rem; }
.rules-block { display: flex; gap: 1.5rem; align-items: flex-start; }
.icon-circle { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; }
.icon-circle--x { border-color: #883333; }
.icon-circle--x svg line { stroke: #883333; }
.rules-block__heading { font-size: 1.1rem; color: var(--accent-1); margin-bottom: 0.5rem; }
.rules-block__text { color: var(--text-color); margin-bottom: 0.5rem; }
.rules-list-items { padding-left: 1.5rem; list-style: disc; color: var(--text-muted); margin-bottom: 0.5rem; }
.rules-list-items li { margin-bottom: 0.25rem; }
.rules-block__warning { color: #883333; font-size: 0.85rem; margin-top: 0.5rem; }
.rules-block__not { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }
.rules-block__note { font-size: 1.1rem; margin-top: 0.5rem; }

.slide-illustration-aside { display: flex; justify-content: center; align-items: center; }

.acknowledgment-box {
  margin-top: 4rem; padding: 2rem; border: 1px solid var(--border-color); background: rgba(212,175,55,0.05); text-align: center;
}
.acknowledgment-box__label { font-size: 0.85rem; margin-bottom: 1rem; color: var(--text-muted); }
.acknowledgment-box__text { font-size: 1.4rem; line-height: 1.4; }
.acknowledgment-box__cta { margin-top: 1.35rem; }

.carousel-nav {
  display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 3rem;
}
.carousel-btn { font-size: 0.85rem; color: var(--accent-1); transition: color 0.3s; }
.carousel-btn:hover { color: var(--accent-2); }
.carousel-dots { display: flex; gap: 0.8rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-color); transition: background 0.3s; }
.dot--active { background: var(--accent-1); box-shadow: 0 0 10px var(--accent-1); }

@media (max-width: 768px) {
  .rule-slide__content { padding: 3rem 1.5rem; }
  .rules-block { flex-direction: column; gap: 1rem; text-align: center; align-items: center; }
  .rules-list-items { list-style: none; padding: 0; }
  .slide-illustration-aside { display: none; }
}

/* Service Scaffolding */
.services-page, .tributes-page, .gallery-page, .contact-page {
  padding-top: 8rem;
  text-align: center;
}

/* Menu Grid */
.menu-section {
  padding: 4rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .menu-grid { grid-template-columns: 1fr; }
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.menu-card__header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding-bottom: 1rem;
}
.menu-card__title {
  font-size: 1.5rem;
  color: var(--accent-1);
  margin-bottom: 0.5rem;
}

.menu-card__options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.menu-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
  padding-bottom: 0.5rem;
}
.menu-option:last-child {
  border-bottom: none;
}
.menu-option__name {
  font-size: 1rem;
  color: var(--text-color);
}
.menu-option__price {
  font-size: 1.1rem;
  color: var(--accent-1);
}

.menu-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.menu-card__desc--large {
  font-size: 1.1rem;
}

.menu-card__header--plain {
  border: 0;
}

.menu-card--wide {
  grid-column: 1 / -1;
}

.menu-card--center {
  align-items: center;
  text-align: center;
}

.menu-card__includes {
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.menu-card__includes-label {
  font-size: 0.85rem;
  color: var(--accent-1);
  margin-bottom: 0.6rem;
  letter-spacing: 0.1em;
}
.menu-card__includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-card__includes li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.menu-card__includes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-1);
}

/* Page Art (Shared Hero Additions) */
.page-art {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -1rem auto 4rem;
  max-width: 800px;
  padding: 0 1.5rem;
  position: relative;
}
.page-art__frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: center;
}
.page-art__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15), transparent 60%);
  z-index: 0;
  border-radius: 50%;
  transform: scale(1.2);
  pointer-events: none;
}
.page-art__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  position: relative;
  z-index: 1;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-inner-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-inner-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-inner-split__art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-inner-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-inner-split__text {
    text-align: left;
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .hero-inner-split__text {
    text-align: center;
    align-items: center;
  }
}

/* Services Overview (Page 1) */
.services-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 3rem auto;
}
@media (max-width: 520px) {
  .services-overview { grid-template-columns: 1fr; }
}

.services-overview__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
  background: linear-gradient(145deg, rgba(20,20,20,0.8), rgba(10,10,10,0.95));
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--accent-1);
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.services-overview__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.services-overview__item:hover::before {
  opacity: 1;
}

.services-overview__item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
  color: #fff;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}
.services-overview__footer {
  text-align: center;
  max-width: 700px;
  margin: 4rem auto 0;
  padding: 3rem 2rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), transparent);
  border-radius: 4px;
  position: relative;
}

.services-overview__footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
}

.services-overview__footer p {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: rgba(240, 235, 225, 0.8);
  letter-spacing: 0.05em;
}

.services-overview__footer p:first-child {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--accent-1);
}

.services-overview__footer p:last-child {
  margin-bottom: 0;
}

.menu-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: left;
  background: rgba(20, 20, 20, 0.5);
  padding: 3rem;
  border-left: 2px solid var(--accent-1);
}
.menu-intro p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.menu-intro p:last-child {
  margin-bottom: 0;
}

.menu-kicker {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-spotlight,
.tribute-ritual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  width: min(100%, 920px);
  margin: 0 auto clamp(3rem, 8vw, 5rem);
  padding: clamp(1rem, 4vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 14%, rgba(212,175,55,0.12), transparent 20rem),
    linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)),
    rgba(12, 12, 12, 0.74);
  box-shadow: 0 24px 80px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: left;
}

.service-spotlight::before,
.tribute-ritual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(249,242,149,0.12), transparent),
    radial-gradient(circle at 20% 78%, rgba(100,65,165,0.16), transparent 18rem);
  opacity: 0.75;
}

.service-spotlight > *,
.tribute-ritual > * {
  position: relative;
  z-index: 1;
}

.service-spotlight__copy,
.tribute-ritual__copy {
  display: grid;
  gap: 0.8rem;
}

.service-spotlight__title,
.tribute-ritual__title {
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  line-height: 0.92;
  text-wrap: balance;
}

.service-spotlight__copy p:last-child,
.tribute-ritual__copy p:last-child {
  color: rgba(240,235,225,0.74);
  font-size: clamp(0.98rem, 2.5vw, 1.08rem);
}

.service-spotlight__art,
.tribute-ritual__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.service-spotlight__art::before,
.tribute-ritual__art::before {
  content: "";
  position: absolute;
  width: min(84%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.18);
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 62%);
  filter: blur(0.2px);
}

.service-spotlight__art img,
.tribute-ritual__art img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(249,242,149,0.12))
    drop-shadow(0 28px 42px rgba(0,0,0,0.58));
}

.service-spotlight__art img {
  width: auto;
  height: min(54vh, 430px);
  max-width: 100%;
}

.tribute-ritual__art img {
  width: min(100%, 360px);
  height: auto;
  max-height: 430px;
}

.tribute-ritual__art--square::before {
  display: none !important;
}

.tribute-ritual__art--square img {
  border-radius: 4px;
  mix-blend-mode: lighten;
}

.tribute-ritual {
  margin-bottom: clamp(2.6rem, 7vw, 4rem);
}

.tributes-section {
  padding-top: 0;
}

.tributes-intro {
  text-align: center;
}

.tributes-intro p {
  font-size: 1.08rem;
}

.menu-disclaimer {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 2rem;
  border: 1px solid var(--border-color);
  background: rgba(212, 175, 55, 0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.menu-disclaimer p {
  margin-bottom: 1rem;
}
.menu-disclaimer p:last-child {
  margin-bottom: 0;
}

/* Tributes */
.tribute-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 4rem auto;
}
@media (max-width: 768px) {
  .tribute-grid { grid-template-columns: 1fr; }
}

.tribute-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.tribute-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: var(--accent-1);
}
.tribute-card__emoji {
  font-size: 3rem;
  line-height: 1;
}
.tribute-card__title {
  font-size: 1.5rem;
  color: var(--text-color);
}
.tribute-card__price {
  font-size: 2rem;
  color: var(--accent-1);
}
.tribute-card__cta {
  margin-top: auto;
}

/* --- Premium polish layer --- */
:root {
  --surface-1: rgba(14, 14, 14, 0.72);
  --surface-2: rgba(255, 255, 255, 0.035);
  --surface-3: rgba(212, 175, 55, 0.075);
  --hairline: rgba(255, 255, 255, 0.08);
  --gold-soft: rgba(212, 175, 55, 0.14);
  --gold-bright: rgba(249, 242, 149, 0.72);
  --danger-soft: rgba(136, 51, 51, 0.42);
  --nav-height: 72px;
}

html {
  background: var(--bg-color);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.09), transparent 32rem),
    radial-gradient(circle at 0% 38%, rgba(255, 255, 255, 0.035), transparent 20rem),
    linear-gradient(180deg, #080808 0%, #0c0a08 45%, #080808 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image:
    linear-gradient(115deg, rgba(255,255,255,0.15) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 40% 30%, rgba(255,255,255,0.28), transparent 1px);
  background-size: 42px 42px, 13px 13px;
}

body.menu-open {
  overflow: hidden;
}

.gold-gradient-text {
  background-image: linear-gradient(115deg, #9d7709 0%, #d4af37 30%, #fff2a8 50%, #d4af37 72%, #8f6d09 100%);
  background-size: 220% 100%;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 7s ease-in-out infinite;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn,
.nav-link--cta,
.payment-badge,
.attribute-pill,
.carousel-btn {
  min-height: 44px;
}

.btn {
  isolation: isolate;
  border-radius: 999px;
  padding: 0.86rem 1.35rem;
  font-size: 0.72rem;
  line-height: 1.1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.34) 45%, transparent 58%);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 0.35s ease, transform 0.65s ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 1;
  transform: translateX(80%);
}

.btn--primary {
  background: linear-gradient(135deg, #9b7508 0%, #d4af37 34%, #fff1a4 50%, #b88c0c 100%);
  color: #120f07;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(212, 175, 55, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#main-nav {
  padding: 0.85rem 1rem;
}

#main-nav::before {
  content: "";
  position: absolute;
  inset: 0.55rem 0.75rem;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(rgba(8,8,8,0.68), rgba(8,8,8,0.42)) padding-box,
              linear-gradient(100deg, transparent, rgba(212,175,55,0.26), transparent) border-box;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#main-nav.scrolled::before,
body.menu-open #main-nav::before {
  opacity: 1;
}

#main-nav:not(.scrolled)::before {
  opacity: 0.55;
}

#main-nav.scrolled {
  background: rgba(8, 8, 8, 0.35);
}

.nav-inner {
  min-height: 48px;
}

.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(212,175,55,0.22));
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(240, 235, 225, 0.76);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 72%;
}

.nav-link.is-active {
  color: var(--accent-2);
}

.nav-link--cta {
  padding: 0.35rem 1rem;
}

.nav-controls button {
  min-width: 44px;
  min-height: 44px;
}

.lang-btn,
.theme-btn,
.hamburger {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.lang-btn {
  padding: 0 0.7rem;
}

.theme-btn {
  display: grid;
  place-items: center;
}

.hamburger {
  align-items: center;
  justify-content: center;
  width: 44px;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  background:
    radial-gradient(circle at 70% 10%, rgba(212,175,55,0.12), transparent 18rem),
    radial-gradient(circle at 20% 80%, rgba(100,65,165,0.24), transparent 22rem),
    rgba(8, 8, 8, 0.97);
  opacity: 0;
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.mobile-menu.open {
  opacity: 1;
}

.mobile-menu__nav {
  width: min(82vw, 360px);
  gap: 1rem;
}

.mobile-link {
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  font-size: clamp(1.05rem, 6vw, 1.5rem);
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.36s ease, opacity 0.36s ease, border-color 0.28s ease;
}

.mobile-menu.open .mobile-link {
  transform: translateX(0);
  opacity: 1;
}

.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.open .mobile-link:nth-child(6) { transition-delay: 0.20s; }

.mobile-link:hover,
.mobile-link.is-active {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--accent-2);
}

/* Old hero layout overrides removed — now handled by GRID REDESIGN block at the end */

.section-eyebrow,
.slide-eyebrow {
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}

.hero--small::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-scroll-indicator {
  bottom: 1.25rem;
}

.hero--small {
  min-height: clamp(280px, 40svh, 420px);
  padding-bottom: clamp(2rem, 6vw, 3rem);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  grid-template-columns: none; /* safety: neutralise any inherited grid */
}

.page-title {
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  line-height: 1.04;
  margin: 0.2rem 0 0.8rem;
  padding-bottom: 0.08em;
  overflow: visible;
  text-wrap: balance;
}

.page-sub {
  width: min(100%, 640px);
  margin-inline: auto;
  color: var(--text-muted);
}

section:not(.hero) {
  width: min(100%, 1200px);
  padding: clamp(4rem, 10vw, 7rem) 1.15rem;
}

.section-title {
  font-size: clamp(2.35rem, 10vw, 4.6rem);
  line-height: 0.96;
  text-wrap: balance;
}

.section-title--center {
  text-align: center;
}

.section-sub {
  text-wrap: balance;
}

.about-grid,
.teasers-grid,
.stats-grid,
.menu-grid,
.tribute-grid,
.gallery-grid,
.contact-layout {
  gap: clamp(1rem, 4vw, 2rem);
}

.about-illustration {
  position: relative;
  min-height: clamp(260px, 58vw, 440px);
  display: grid;
  place-items: center;
}

.selina-cameo {
  position: relative;
  width: min(76vw, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
  margin-bottom: clamp(0.75rem, 4vw, 1.5rem);
}

.selina-cameo::before,
.selina-cameo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.selina-cameo::before {
  inset: 2%;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 50%, rgba(212,175,55,0.16), transparent 58%),
    radial-gradient(circle at 35% 20%, rgba(249,242,149,0.08), transparent 34%);
  filter: blur(18px);
}

.selina-cameo::after {
  inset: 7%;
  z-index: -3;
  background:
    radial-gradient(circle at 35% 42%, rgba(249,242,149,0.16), transparent 14%),
    radial-gradient(circle at 54% 52%, rgba(212,175,55,0.09), transparent 42%);
  opacity: 0.78;
  filter: blur(12px);
  animation: cameoAura 8s ease-in-out infinite;
}

.selina-cameo__img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(249,242,149,0.16))
    drop-shadow(0 28px 42px rgba(0,0,0,0.62));
}

.selina-cameo--portrait {
  width: min(72vw, 340px);
  aspect-ratio: 0.64 / 1;
}

.selina-cameo--portrait::before,
.selina-cameo--portrait::after {
  border-radius: 999px;
}

.selina-cameo--portrait::before {
  inset: 5% -2%;
}

.selina-cameo--portrait::after {
  inset: 11% 4%;
}

.selina-cameo--portrait .selina-cameo__img {
  width: 100%;
  height: 100%;
}

.slide-illustration--emblem {
  padding: 0;
  filter: drop-shadow(0 0 14px rgba(212,175,55,0.2));
}

@keyframes cameoAura {
  0%, 100% { opacity: 0.58; transform: scale(0.98); }
  50% { opacity: 0.82; transform: scale(1.03); }
}

.about-body {
  color: rgba(240, 235, 225, 0.82);
}

.about-quote {
  border-left: 0;
  padding: 1rem 0 1rem 1.25rem;
  position: relative;
}

.about-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(transparent, var(--accent-1), transparent);
}

.stats-section,
.menu-intro,
.daily-quote-frame,
.rule-slide__content,
.menu-card,
.tribute-card,
.teaser-card,
.rules-gate__inner,
.form-wrapper,
.gallery-card,
.editorial-panel,
.gallery-note,
.contact-side-card {
  border: 1px solid rgba(212,175,55,0.18);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    rgba(12, 12, 12, 0.74);
  box-shadow: 0 24px 80px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stats-section {
  border-inline: 0;
  max-width: none !important;
  width: 100%;
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.16), transparent);
  height: 1px;
}

.stat-item {
  min-height: 120px;
}

.stat-number,
.stat-suffix {
  font-variant-numeric: tabular-nums;
}

.teaser-card,
.menu-card,
.tribute-card,
.gallery-card,
.contact-side-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.teaser-card::before,
.menu-card::before,
.tribute-card::before,
.gallery-card::before,
.contact-side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0%, rgba(249,242,149,0.1) 48%, transparent 64%),
    radial-gradient(circle at 50% 0%, rgba(212,175,55,0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.teaser-card:hover::before,
.menu-card:hover::before,
.tribute-card:hover::before,
.gallery-card:hover::before,
.contact-side-card:hover::before {
  opacity: 1;
}

.menu-grid,
.tribute-grid,
.gallery-grid {
  align-items: stretch;
}

.menu-card {
  min-height: 240px;
}

.menu-card__title {
  font-family: 'Cormorant Garamond', serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  line-height: 1;
}

.menu-option {
  gap: 1rem;
}

.menu-option__name {
  min-width: 0;
}

.menu-option__price {
  flex: 0 0 auto;
  font-family: 'Cinzel', serif;
}

.tribute-card__emoji {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 68%);
}

.tribute-card__desc {
  color: var(--text-muted);
  max-width: 23rem;
}

.tribute-card--featured {
  border-color: rgba(212, 175, 55, 0.58);
  box-shadow: 0 22px 90px rgba(212,175,55,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

.tribute-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 999px;
  background: rgba(212,175,55,0.08);
  color: var(--accent-2);
  font-size: 0.62rem;
}

.rules-carousel {
  overflow: visible;
  margin-bottom: 4rem;
}

.slides-viewport {
  overflow: hidden;
  border-radius: 8px;
  transition: height 0.35s ease;
}

.rule-slide {
  padding: 0;
}

.rule-slide__content {
  min-height: auto;
  border-radius: 8px;
}

.pillars-grid {
  gap: 0.75rem;
}

.pillar-item {
  width: min(30vw, 108px);
  min-height: 110px;
  padding: 0.8rem 0.5rem;
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 999px 999px 8px 8px;
  background: rgba(255,255,255,0.018);
}

.pillar-icon svg,
.icon-circle svg {
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.22));
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(212,175,55,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
}

.carousel-nav {
  margin-top: 0.75rem;
}

/* Rules carousel refinement: compact, high-end, phone-friendly */
.rule-slide__content {
  padding: clamp(1.35rem, 4vw, 2.8rem);
  overflow: hidden;
}

.rule-slide__content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,55,0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 36%);
  opacity: 0.9;
}

.rule-slide__content > * {
  position: relative;
  z-index: 1;
}

.slide-eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  text-align: center;
  letter-spacing: 0.24em;
}

.slide-title {
  display: block;
  max-width: 13ch;
  margin: 0 auto 0.45rem;
  font-size: clamp(2.35rem, 7.2vw, 4.6rem);
  line-height: 1.04;
  padding-bottom: 0.08em;
  overflow: visible;
  text-align: center;
  text-wrap: balance;
}

.slide-tagline {
  margin-bottom: clamp(1.1rem, 3vw, 1.8rem);
  letter-spacing: 0.16em;
}

.rule-slide[data-slide="1"] .illustration-circle {
  width: clamp(92px, 19vw, 132px);
  height: clamp(92px, 19vw, 132px);
  margin-bottom: clamp(1.1rem, 3vw, 1.8rem);
}

.slide-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 auto 1rem;
  color: rgba(240,235,225,0.92);
  font-size: clamp(0.82rem, 2.6vw, 1rem);
  letter-spacing: 0.18em;
}

.slide-sub::before,
.slide-sub::after {
  content: "";
  width: min(12vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.42));
}

.slide-sub::after {
  background: linear-gradient(90deg, rgba(212,175,55,0.42), transparent);
}

.rule-slide[data-slide="1"] .pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.8vw, 0.9rem);
  width: min(100%, 850px);
  margin: 0.8rem auto 1.2rem;
}

.rule-slide[data-slide="1"] .pillar-item {
  width: auto;
  min-height: 92px;
  gap: 0.55rem;
  padding: 0.85rem 0.55rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(249,242,149,0.045), rgba(255,255,255,0.012)),
    rgba(255,255,255,0.018);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.rule-slide[data-slide="1"] .pillar-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,242,149,0.5), transparent);
}

.rule-slide[data-slide="1"] .pillar-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(212,175,55,0.38);
  border-radius: 50%;
  background: rgba(212,175,55,0.04);
}

.rule-slide[data-slide="1"] .pillar-icon svg {
  width: 21px;
  height: 21px;
}

.rule-slide[data-slide="1"] .pillar-icon svg > circle {
  display: none;
}

.rule-slide[data-slide="1"] .pillar-label {
  color: rgba(240,235,225,0.72);
  font-size: clamp(0.58rem, 1.6vw, 0.7rem);
  letter-spacing: 0.14em;
}

.rule-slide[data-slide="1"] .slide-footer-text {
  margin-top: 1.15rem;
  font-size: clamp(0.68rem, 2vw, 0.82rem);
  letter-spacing: 0.18em;
}

.dot {
  width: 32px;
  height: 6px;
  border-radius: 999px;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,242,149,0.56), transparent);
}

.gallery-feature {
  width: min(100%, 1080px);
  margin: -1rem auto 0;
  padding: 0 1.15rem clamp(3.5rem, 8vw, 6rem);
}

.editorial-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: clamp(1.3rem, 5vw, 3rem);
  text-align: left;
  border-radius: 8px;
}

.editorial-kicker {
  color: var(--accent-2);
  font-size: 0.7rem;
  margin-bottom: 0.65rem;
}

.editorial-title {
  font-size: clamp(2.4rem, 11vw, 5.2rem);
  line-height: 0.92;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.editorial-copy {
  color: rgba(240,235,225,0.74);
  font-size: 1rem;
}

.editorial-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.14);
  background:
    radial-gradient(circle at 50% 50%, rgba(212,175,55,0.18), transparent 42%),
    radial-gradient(circle at 30% 20%, rgba(100,65,165,0.22), transparent 40%),
    rgba(255,255,255,0.018);
}

.editorial-visual img {
  width: min(76%, 360px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(212,175,55,0.18));
}

.editorial-visual--showcase {
  min-height: clamp(340px, 58vw, 620px);
}

.editorial-visual--showcase::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.18);
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.12), transparent 62%);
}

.editorial-visual--showcase img {
  position: relative;
  z-index: 1;
  width: min(98%, 520px);
  max-height: min(72vh, 650px);
  object-fit: contain;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin: 0 auto;
}

.gallery-card {
  min-height: 260px;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
}

.gallery-card--tall {
  min-height: 360px;
}

.gallery-card__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--x, 50%) var(--y, 35%), rgba(212,175,55,0.2), transparent 38%),
    linear-gradient(145deg, rgba(42,8,69,0.46), rgba(8,8,8,0.3)),
    var(--card-bg, rgba(255,255,255,0.02));
}

.gallery-card__media::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 4px;
  background-image:
    linear-gradient(90deg, transparent, rgba(249,242,149,0.16), transparent),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.09), transparent 22%);
  opacity: 0.76;
}

.gallery-card__body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.56));
  border-radius: 4px;
}

.gallery-card__label {
  color: var(--accent-2);
  font-size: 0.66rem;
  margin-bottom: 0.45rem;
}

.gallery-card__title {
  font-size: clamp(1.55rem, 7vw, 2.4rem);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.gallery-card__text {
  color: rgba(240,235,225,0.74);
}

.gallery-note {
  max-width: 880px;
  margin: 2rem auto 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 8px;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 1080px);
  margin: -1rem auto 0;
  padding: 0 1.15rem clamp(4rem, 9vw, 7rem);
  align-items: start;
}

.rules-gate {
  width: min(100%, 760px);
  margin: -1rem auto 0;
  padding: 0 1.15rem 4rem;
}

.rules-gate__inner,
.form-wrapper,
.contact-side-card {
  border-radius: 8px;
  padding: clamp(1.25rem, 5vw, 2.5rem);
}

.rules-gate__inner {
  text-align: center;
}

.rules-gate__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-form-section[hidden],
.rules-gate[hidden],
.form-success[hidden] {
  display: none !important;
}

.form-wrapper {
  text-align: left;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-header__sub {
  flex: 0 0 auto;
  font-size: 0.72rem;
}

.ornament-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.45), transparent);
}

.application-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  position: relative;
  display: grid;
  gap: 0.45rem;
}

.form-label {
  color: var(--accent-2);
  font-size: 0.68rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 6px;
  background: rgba(255,255,255,0.035);
  color: var(--text-color);
  padding: 0.9rem 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent-1) 50%),
    linear-gradient(135deg, var(--accent-1) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(249,242,149,0.68);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.08);
  background: rgba(255,255,255,0.052);
}

.form-select--native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
}

.custom-select__button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)),
    rgba(12,12,12,0.92);
  color: var(--text-color);
  padding: 0.9rem 0.95rem;
  text-align: left;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.custom-select__button::after {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-right: 1px solid var(--accent-1);
  border-bottom: 1px solid var(--accent-1);
  transform: rotate(45deg) translateY(-0.16rem);
  transition: transform 0.25s ease;
}

.custom-select.open .custom-select__button,
.custom-select__button:focus-visible {
  border-color: rgba(249,242,149,0.68);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.08);
}

.custom-select.open .custom-select__button::after {
  transform: rotate(225deg) translate(-0.05rem, -0.16rem);
}

.custom-select__list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  max-height: min(290px, 48vh);
  overflow-y: auto;
  border: 1px solid rgba(212,175,55,0.38);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    #12100f;
  box-shadow: 0 24px 60px rgba(0,0,0,0.58), 0 0 30px rgba(212,175,55,0.1);
  padding: 0.35rem;
}

.custom-select:not(.open) .custom-select__list {
  display: none;
}

.custom-select__option {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  border-radius: 5px;
  color: rgba(240,235,225,0.78);
  text-align: left;
  font-size: 0.78rem;
}

.custom-select__option:hover,
.custom-select__option:focus-visible,
.custom-select__option.is-selected {
  background: rgba(212,175,55,0.12);
  color: var(--accent-2);
}

.form-group--checkbox {
  display: block;
}

.checkbox-label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: rgba(240,235,225,0.74);
}

.checkbox-label input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent-1);
  margin-top: 0.1rem;
}

.btn--full {
  width: 100%;
}

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

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.success-ornament {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  font-size: 2rem;
}

.contact-side-card {
  display: grid;
  gap: 1rem;
}

.contact-side-card h2 {
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 0.95;
}

.contact-side-card p,
.contact-list li {
  color: rgba(240,235,225,0.74);
}

.contact-list {
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list span {
  color: var(--accent-2);
  flex: 0 0 auto;
}

[data-theme="marble"] body {
  background: #0B0814;
}

.marble-bg::before {
  opacity: 0.86;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(42, 8, 69, 0.88) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(26, 5, 53, 0.88) 0%, transparent 55%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(100, 65, 165, 0.34) 0%, transparent 42%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(212,175,55,0.14) 0%, transparent 52%),
    linear-gradient(135deg, #0B0814 0%, #1A0535 30%, #0B0814 60%, #2A0845 100%);
  background-size: 260% 260%;
  animation-duration: 30s;
}

.marble-bg::after {
  background:
    radial-gradient(ellipse 110% 90% at 50% 44%, rgba(0,0,0,0.12), rgba(0,0,0,0.74) 72%, rgba(0,0,0,0.96) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.78));
}

.marble-bg .marble-veins {
  display: block !important;
}

/* Performance layer: preserve the look, reduce live work during touch scroll. */
body.is-scrolling .gold-gradient-text,
body.is-scrolling .hero-gradient-pulse,
body.is-scrolling .scroll-line::after,
body.is-scrolling .selina-cameo::after,
body.is-scrolling .hero-presence img,
body.is-scrolling .vein-primary,
body.is-scrolling .vein-secondary,
body.is-scrolling .vein-micro,
body.is-scrolling.marble-bg::before {
  animation-play-state: paused !important;
}

#hero-canvas,
.hero-presence,
.hero-gradient-pulse,
#main-nav {
  transform: translateZ(0);
}

.hero,
.site-footer,
.stats-section,
.menu-intro,
.daily-quote-frame,
.rule-slide__content,
.menu-card,
.tribute-card,
.teaser-card,
.gallery-card,
.editorial-panel,
.gallery-note,
.service-spotlight,
.tribute-ritual,
.contact-side-card {
  contain: layout paint;
}

@media (min-width: 640px) {
  .btn {
    padding-inline: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card--wide {
    grid-column: span 2;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .service-spotlight,
  .tribute-ritual {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  }

  .tribute-ritual {
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  }

  .editorial-panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-card--wide {
    grid-column: span 2;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}

@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  body {
    touch-action: pan-y;
  }

  section:not(.hero),
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }

  .marble-bg::before {
    animation-duration: 70s;
  }

  #main-nav {
    padding-inline: 0.75rem;
  }

  #main-nav::before {
    inset-inline: 0.55rem;
  }

  .nav-controls {
    gap: 0.45rem;
  }

  #main-nav.scrolled {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .logo-text {
    display: none;
  }

  .nav-logo--wordmark {
    max-width: 178px;
    padding-left: 0.62rem;
  }

  .nav-name {
    font-size: clamp(1.22rem, 5.6vw, 1.56rem);
  }

  .nav-motto {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.43rem;
  }

  .nav-motto::after {
    width: 1.1rem;
  }

  .hero-ctas .btn {
    width: min(100%, 310px);
  }

  /* .hero-presence mobile override removed — now handled by GRID REDESIGN responsive block */

  .about-quote {
    padding-left: 0;
  }

  .about-quote::before {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 120px;
    height: 1px;
    transform: translateX(-50%);
  }

  .about-attributes {
    justify-content: center;
  }

  .rule-slide__content {
    min-height: auto;
    padding: 1.25rem 0.85rem;
  }

  .rules-carousel {
    margin-top: -1rem;
    margin-bottom: 3rem;
  }

  .page-title {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .slide-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .slide-tagline {
    margin-bottom: 1rem;
    font-size: 0.68rem;
  }

  .rule-slide[data-slide="1"] .illustration-circle {
    width: 86px;
    height: 86px;
    margin-bottom: 1rem;
  }

  .slide-sub {
    display: flex;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
  }

  .slide-sub::before,
  .slide-sub::after {
    width: 34px;
  }

  .rule-slide[data-slide="1"] .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0.75rem auto 0.85rem;
  }

  .rule-slide[data-slide="1"] .pillar-item {
    min-height: 78px;
    padding: 0.65rem 0.45rem;
  }

  .rule-slide[data-slide="1"] .pillar-item:nth-child(5) {
    grid-column: 1 / -1;
    width: min(100%, 180px);
    justify-self: center;
  }

  .rule-slide[data-slide="1"] .pillar-icon {
    width: 30px;
    height: 30px;
  }

  .rule-slide[data-slide="1"] .slide-footer-text {
    margin-top: 0.75rem;
    line-height: 1.45;
  }

  .carousel-nav {
    gap: 0.75rem;
  }

  .carousel-btn {
    font-size: 0.68rem;
    padding-inline: 0.75rem;
  }

  .menu-intro {
    padding: 1.5rem;
  }

  .service-spotlight,
  .tribute-ritual {
    padding: 1rem;
    text-align: center;
  }

  .service-spotlight__copy,
  .tribute-ritual__copy {
    justify-items: center;
  }

  .service-spotlight__art,
  .tribute-ritual__art {
    min-height: 220px;
    order: -1;
  }

  .service-spotlight__art img,
  .tribute-ritual__art img {
    max-height: 360px;
  }

  .service-spotlight__art img {
    width: auto;
    height: min(46vh, 360px);
  }

  .tribute-ritual__art img {
    width: min(88vw, 320px);
    height: auto;
  }

  .editorial-visual--showcase {
    min-height: 360px;
  }

  .editorial-visual--showcase img {
    width: min(104%, 390px);
    max-height: 430px;
  }

  .selina-cameo--portrait {
    width: min(78vw, 300px);
  }

  .menu-card,
  .tribute-card,
  .teaser-card {
    padding: 1.4rem;
  }

  body.is-scrolling .stats-section,
  body.is-scrolling .menu-intro,
  body.is-scrolling .daily-quote-frame,
  body.is-scrolling .rule-slide__content,
  body.is-scrolling .menu-card,
  body.is-scrolling .tribute-card,
  body.is-scrolling .teaser-card,
  body.is-scrolling .gallery-card,
  body.is-scrolling .editorial-panel,
  body.is-scrolling .gallery-note,
  body.is-scrolling .service-spotlight,
  body.is-scrolling .tribute-ritual,
  body.is-scrolling .form-wrapper,
  body.is-scrolling .contact-side-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}

/*
 * ════════════════════════════════════════════════════
 *  HERO SECTION — GRID REDESIGN
 *  Drop this at the END of styles-upgrade.css
 * ════════════════════════════════════════════════════
 */

/* ══════════════════════════════════════
   HERO — two-column grid
   Left  (~35%): image panel
   Right (~65%): content panel with frame
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 42fr 58fr;
  overflow: hidden;
  background: #080808;
}

/* Inner-page heros must NOT inherit the homepage two-column grid */
.hero.hero--small {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(280px, 40svh, 420px);
  padding-top: clamp(7rem, 12vh, 10rem);
  padding-bottom: clamp(2rem, 6vw, 3rem);
  background: transparent;
}

/* shared particle canvas behind both columns */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── LEFT PANEL: image column ──────────────────── */
.hero-image-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* warm amber glow on the image side */
  background:
    radial-gradient(ellipse 90% 80% at 60% 70%,
      rgba(184,140,8,0.22) 0%,
      rgba(120,90,0,0.10) 40%,
      transparent 70%),
    #0a0800;
}

/* figure fills the panel — bottom anchored */
.hero-presence {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-presence img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% bottom;
  /* bottom fade mask removed */
  /* A: cinematic entrance → B: idle float, chained via delay */
  opacity: 0;
  animation:
    imgReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards,
    girlFloat  5.5s ease-in-out              1.6s infinite;
  will-change: transform, opacity;
}

/* A — entrance: slide up from slight offset, sharp to focus */
@keyframes imgReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(1.04);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* B — idle float: gentle vertical bob */
@keyframes girlFloat {
  0%,  100% { transform: translateY(0px); }
  45%        { transform: translateY(-11px); }
  55%        { transform: translateY(-11px); }
}

/* Ground glow that pulses in sync with the float */
.hero-image-panel::before {
  animation: glowPulse 5.5s ease-in-out 1.6s infinite;
}

@keyframes glowPulse {
  0%,  100% { opacity: 0.6; transform: scaleX(1); }
  50%        { opacity: 1.0; transform: scaleX(1.08); }
}

/* subtle edge vignette on the left panel to blend into right */
.hero-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* right edge blend into content panel */
    linear-gradient(to right, transparent 60%, rgba(8,8,8,0.95) 100%),
    /* top/bottom vignette */
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 20%, transparent 72%, rgba(0,0,0,0.60) 100%);
  pointer-events: none;
  z-index: 2;
}

/* golden floor glow beneath the figure */
.hero-image-panel::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 45%;
  background: radial-gradient(ellipse 70% 50% at 50% 100%,
    rgba(212,175,55,0.12) 0%,
    transparent 70%);
  z-index: 3;
  pointer-events: none;
}

/* ── RIGHT PANEL: content column ──────────────── */
.hero-content-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 3rem);
  background:
    radial-gradient(ellipse 80% 60% at 30% 45%,
      rgba(30,22,4,0.75) 0%,
      transparent 70%),
    #080808;
}

/* ── DECORATIVE FRAME / BOX ────────────────────
   A fine jewellery-grade border that frames the
   content block without feeling like a card.
   Four corner brackets, thin gold lines.
──────────────────────────────────────────────── */
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
}

/* full border — very faint */
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,175,55,0.10);
  pointer-events: none;
}

/* Four corner brackets via SVG corners */
.corner {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.corner--tl { top: -1px;  left: -1px;  }
.corner--tr { top: -1px;  right: -1px; transform: scaleX(-1); }
.corner--bl { bottom: -1px; left: -1px;  transform: scaleY(-1); }
.corner--br { bottom: -1px; right: -1px; transform: scale(-1); }

/* thin gold rule that runs along the top inside the frame */
.frame-top-rule {
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(212,175,55,0.55) 30%,
    rgba(249,242,149,0.70) 50%,
    rgba(212,175,55,0.55) 70%,
    transparent);
}
.frame-bottom-rule {
  position: absolute;
  bottom: 0; left: 25%; right: 25%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(212,175,55,0.32) 40%,
    rgba(212,175,55,0.32) 60%,
    transparent);
}

/* ── CONTENT INSIDE FRAME ──────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Eyebrow */
.hero-eyebrow {
  font-size: clamp(0.62rem, 1.2vw, 0.76rem);
  letter-spacing: 0.34em;
  font-weight: 500;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  white-space: nowrap;
}
.eyebrow-star, .trust-star {
  font-size: 0.9em;
  color: var(--accent-1);
  opacity: 0.8;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  flex: 0 0 auto;
  height: 1px;
  width: 3rem;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
  opacity: 0.55;
}
.eyebrow-line { display: none; } /* Replaced by ::before/after */

/* Crown divider */
.crown-divider {
  margin-bottom: 1.4rem;
}
.crown-divider svg {
  filter: drop-shadow(0 0 5px rgba(212,175,55,0.40));
}
.crown-sparkle {
  animation: sparkle 3s ease-in-out infinite;
  transform-origin: 56px 8px;
}
@keyframes sparkle {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1.0; transform: scale(1.35); }
}

/* Headline */
.hero-headline {
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 0.94;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}
.hl-soft {
  font-style: italic;
  font-weight: 300;
  display: block;
  letter-spacing: -0.02em;
}
.hl-command {
  font-style: normal;
  font-weight: 600;
  display: block;
}

/* Gold rule before subtitle */
.hero-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
  margin: 0 auto 1.2rem;
  opacity: 0.45;
}

/* Subtitle */
.hero-sub {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(240,235,225,0.50);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.4rem;
}

.btn--primary {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  background: linear-gradient(125deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  background-size: 200% 100%;
  color: #080800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.25s;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover {
  box-shadow: 0 0 28px rgba(212,175,55,0.38), 0 0 60px rgba(212,175,55,0.12);
  transform: translateY(-2px);
}

.btn--ghost {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 400;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  background: transparent;
  color: rgba(212,175,55,0.75);
  border: 1px solid rgba(212,175,55,0.28);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn--ghost:hover {
  border-color: var(--accent-1);
  color: var(--accent-2);
  background: rgba(212,175,55,0.06);
  box-shadow: 0 0 18px rgba(212,175,55,0.14);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s;
}
.btn--primary:hover .btn-arrow,
.btn--ghost:hover   .btn-arrow { transform: translateX(4px); }

/* Trust micro-row */
.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-dot {
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--accent-1);
  opacity: 0.30;
  flex-shrink: 0;
}
.trust-item {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--accent-1);
  text-transform: none;
  white-space: nowrap;
  font-weight: 400;
}
.hero-ornament {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  opacity: 0.85;
}

/* ── SCROLL INDICATOR (bottom-left of right panel) */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.5rem, 3vw, 3rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-track {
  width: 1px; height: 46px;
  background: rgba(212,175,55,0.12);
  position: relative; overflow: hidden;
}
.scroll-thumb {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 46%;
  background: linear-gradient(180deg, transparent, var(--accent-1), transparent);
  animation: scrollSlide 2.4s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes scrollSlide {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(220%); opacity: 0; }
}
.scroll-label {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.30em;
  color: rgba(212,175,55,0.30);
  text-transform: uppercase;
}

/* ── REVIEWS SECTION ───────────────────────────── */
.reviews-section {
  padding: 6rem 1.5rem;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.03), transparent 60%);
  position: relative;
}

.reviews-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews-carousel {
  width: 100%;
  margin: 2rem 0 4rem;
  position: relative;
  /* subtle mask to fade the edges of the carousel */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 2rem 0;
  animation: scrollCarousel 60s linear infinite;
}

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

@keyframes scrollCarousel {
  to {
    transform: translateX(calc(-50% - 1rem));
  }
}

.review-card {
  flex: 0 0 340px;
  background: linear-gradient(145deg, rgba(212,175,55,0.04), rgba(212,175,55,0.01));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.6s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.45);
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
}

.review-stars {
  color: var(--accent-1);
  font-size: 1.1rem;
  letter-spacing: 0.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
}

.review-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(240,235,225,0.9);
  font-style: italic;
  margin-bottom: 2rem;
}

.review-author {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-2);
}

.reviews-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* ── ENTRANCE ANIMATIONS ───────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
}
.d1 { animation-delay: 0.30s; }
.d2 { animation-delay: 0.45s; }
.d3 { animation-delay: 0.58s; }
.d4 { animation-delay: 0.68s; }
.d5 { animation-delay: 0.78s; }
.d6 { animation-delay: 0.88s; }
.d7 { animation-delay: 0.98s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 55vh auto; }
  .hero-image-panel { height: 55vh; }
  .hero-image-panel::after {
    background:
      linear-gradient(to bottom, transparent 55%, rgba(8,8,8,0.98) 100%),
      linear-gradient(to right, rgba(0,0,0,0.25) 0%, transparent 100%);
  }
  .hero-content-panel {
    padding: 2.5rem 1.5rem 4rem;
    justify-content: flex-start;
  }
  .hero-frame { max-width: 100%; }
  .hero-scroll { display: none; }
}

@media (max-width: 540px) {
  .hero-headline { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn--primary, .btn--ghost { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up, .hero-presence img {
    animation: none; opacity: 1; transform: none;
  }
  .hero-image-panel::before { animation: none; }
  .scroll-thumb  { animation: none; opacity: 0.45; top: 25%; }
  .crown-sparkle { animation: none; opacity: 0.65; }
}

/* ════════════════════════════════════════
   TRIBUTES HERO OPTIMIZATION
════════════════════════════════════════ */
.hero-inner-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .hero-inner-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

.hero-inner-split__art {
  display: flex;
  justify-content: center;
}

.hero-inner-split__art img {
  width: 100%;
  max-width: 650px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

.hero-inner-split__text {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.tributes-page .hero--small,
.services-page .hero--small,
.rules-page .hero--small,
.gallery-page .hero--small,
.contact-page .hero--small {
  min-height: auto;
  padding: 8rem 2rem 4rem;
}

/* ==========================================================================
   Age Gate Modal
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.age-gate-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.age-gate-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
}

.age-gate-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}

.age-gate-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.age-gate-content p {
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.age-gate-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-btns .btn {
  min-width: 140px;
}

body.no-scroll {
  overflow: hidden;
}
