/* ==============================
   KMILE STUDIO - CLEAN RESPONSIVE CSS
   File: css/style.css
   ============================== */

:root {
  --bg: #0b0709;
  --bg-soft: #151012;
  --bg-card: #1d1518;
  --text: #fff6f8;
  --text-muted: #cdb9c0;
  --gold: #d6a76c;
  --gold-light: #f2cc94;
  --rose: #c98a9a;
  --rose-light: #f1b7c6;
  --rose-soft: rgba(241, 183, 198, 0.13);
  --border: rgba(255, 220, 230, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  --radius: 22px;
  --transition: 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(199, 161, 90, 0.13), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 30%);
  z-index: -2;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* HEADER */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
}
.logo::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.02em; transition: color var(--transition), background var(--transition); }
.nav a:hover { color: var(--gold-light); }
.nav__cta { padding: 10px 16px; border: 1px solid rgba(199, 161, 90, 0.45); border-radius: 999px; color: var(--gold-light) !important; }
.nav__cta:hover { background: rgba(199, 161, 90, 0.12); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer; }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 0 78px;
  background:
    linear-gradient(rgba(7, 7, 7, 0.72), rgba(7, 7, 7, 0.92)),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; background: linear-gradient(transparent, var(--bg)); }
.hero__content { position: relative; z-index: 1; max-width: 820px; text-align: center; }
.eyebrow, .section__eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 18px; color: var(--gold-light); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before, .section__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1, .section__title { font-family: "Playfair Display", serif; font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 { max-width: 900px; margin-inline: auto; font-size: clamp(3rem, 6.5vw, 5.8rem); margin-bottom: 24px; }
.hero p { max-width: 620px; margin: 0 auto; color: var(--text-muted); font-size: clamp(1rem, 2vw, 1.22rem); }
.hero__actions { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin: 34px auto 0; max-width: 760px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero__trust span { padding: 10px 16px; border: 1px solid rgba(199,161,90,0.22); border-radius: 999px; background: rgba(255,255,255,0.035); color: var(--text-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; backdrop-filter: blur(12px); }
.hero__trust span::before { content: "✦"; margin-right: 8px; color: var(--gold); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #111; box-shadow: 0 18px 40px rgba(199,161,90,0.25); }
.btn--primary:hover { background: var(--gold-light); }
.btn--secondary { border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.04); }
.btn--secondary:hover { border-color: rgba(199,161,90,0.5); color: var(--gold-light); }
.btn--whatsapp { width: 100%; background: rgba(37,211,102,0.12); color: #dfffea; border-color: rgba(37,211,102,0.35); }
.btn--whatsapp:hover { background: rgba(37,211,102,0.2); }

/* SECTIONS */
.section { padding: 110px 0; }
.section--dark { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)); border-block: 1px solid var(--border); }
.section__title { font-size: clamp(2.1rem, 5vw, 4.5rem); margin-bottom: 18px; }
.section__intro { max-width: 660px; color: var(--text-muted); margin-bottom: 38px; font-size: 1.05rem; }
.grid { display: grid; gap: 22px; }
.services-grid, .portfolio-grid, .aftercare-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* CARDS */
.card { position: relative; padding: 30px; background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(199,161,90,0.13), transparent 35%); pointer-events: none; opacity: 0; transition: opacity var(--transition); }
.card:hover::before { opacity: 1; }
.card h3 { position: relative; font-size: 1.25rem; margin-bottom: 10px; }
.card p { position: relative; color: var(--text-muted); }
.card--image { padding: 0 0 26px; }
.card--image h3, .card--image p { padding-inline: 24px; }
.card__img { min-height: 320px; margin-bottom: 24px; background-color: #242424; background-position: center; background-size: cover; border-bottom: 1px solid var(--border); filter: saturate(0.9) contrast(1.05); }

/* WHY CHOOSE US */
.why-us { position: relative; overflow: hidden; }
.section-header { max-width: 760px; margin-bottom: 42px; }
.why-us::before { content: ""; position: absolute; top: 12%; right: -140px; width: 320px; height: 320px; border-radius: 50%; background: rgba(199,161,90,0.08); filter: blur(20px); pointer-events: none; }
.why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-card { position: relative; min-height: 260px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--transition), border-color var(--transition), background var(--transition); }
.why-card::after { content: ""; position: absolute; inset: auto 20px 20px auto; width: 70px; height: 70px; border: 1px solid rgba(199,161,90,0.18); border-radius: 50%; }
.why-card:hover { transform: translateY(-6px); border-color: rgba(199,161,90,0.35); background: linear-gradient(145deg, rgba(199,161,90,0.105), rgba(255,255,255,0.025)); }
.why-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; border: 1px solid rgba(199,161,90,0.35); color: var(--gold-light); background: rgba(199,161,90,0.08); font-size: 1.25rem; }
.why-card h3 { margin-bottom: 12px; font-size: 1.18rem; }
.why-card p { color: var(--text-muted); font-size: 0.96rem; }

/* GALLERY + LIGHTBOX */
.gallery { position: relative; overflow: hidden; }
.gallery .container { max-width: 1040px; }
.gallery__header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.gallery__header .section__intro { margin-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; }
.gallery-item { appearance: none; border: 1px solid var(--border); padding: 0; margin: 0; position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #181818; box-shadow: 0 14px 35px rgba(0,0,0,0.35); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1), filter 0.35s cubic-bezier(0.4, 0.0, 0.2, 1); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.75) contrast(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(0,0,0,0.88); backdrop-filter: blur(10px); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 22px; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,0.65); }
.lightbox__close, .lightbox__nav { position: absolute; display: inline-grid; place-items: center; border: 1px solid rgba(199,161,90,0.35); background: rgba(7,7,7,0.78); color: var(--text); cursor: pointer; transition: background var(--transition), transform var(--transition); }
.lightbox__close { top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; width: 54px; height: 54px; border-radius: 50%; font-size: 2.4rem; transform: translateY(-50%); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(199,161,90,0.22); }

/* PROMO */
.promo { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 20%, rgba(199,161,90,0.18), transparent 32%), radial-gradient(circle at 15% 85%, rgba(255,255,255,0.05), transparent 28%), linear-gradient(rgba(7,7,7,0.92), rgba(7,7,7,0.96)), url("../img/promo-bg.jpg") center/cover no-repeat; }
.promo::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(199,161,90,0.18); border-radius: 28px; pointer-events: none; }
.promo__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 42px; align-items: center; }
.promo__content p { max-width: 650px; color: var(--text-muted); font-size: 1.06rem; }
.promo__tags { margin: 28px 0 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.promo__tags span { padding: 9px 14px; border: 1px solid rgba(199,161,90,0.25); border-radius: 999px; color: var(--text-muted); background: rgba(255,255,255,0.035); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.promo__btn { margin-top: 4px; }
.promo__deal { position: relative; padding: 34px; border-radius: 30px; border: 1px solid rgba(199,161,90,0.3); background: linear-gradient(145deg, rgba(199,161,90,0.16), rgba(255,255,255,0.035)); box-shadow: 0 30px 80px rgba(0,0,0,0.55); overflow: hidden; }
.promo__deal::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: rgba(199,161,90,0.16); filter: blur(6px); }
.promo__badge { position: relative; z-index: 1; width: fit-content; margin-bottom: 22px; padding: 9px 15px; border-radius: 999px; background: var(--gold); color: #111; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.promo__price-card { position: relative; z-index: 1; padding: 28px; border-radius: 24px; background: rgba(0,0,0,0.36); border: 1px solid rgba(255,255,255,0.1); }
.promo__price-card span { display: inline-block; margin-bottom: 12px; color: var(--gold-light); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.promo__price-card p { color: var(--text); font-size: 1.2rem; }
.promo__main-offer { margin-top: 10px; display: flex; align-items: baseline; gap: 14px; font-family: "Playfair Display", serif; line-height: 0.9; color: var(--text); }
.promo__main-offer strong { font-size: clamp(4.5rem, 8vw, 7rem); color: var(--gold-light); font-weight: 800; }
.promo__main-offer small { font-family: "Inter", sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text); }
.promo__main-price { margin-top: 18px; color: var(--gold-light); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: 0.02em; }
.promo__mini-prices { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.promo__mini-prices div { padding: 20px; border-radius: 20px; background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.08); }
.promo__mini-prices strong { display: block; color: var(--gold-light); font-size: 2rem; line-height: 1; }
.promo__mini-prices span { color: var(--text-muted); font-weight: 700; }
.promo__deal small { position: relative; z-index: 1; display: block; margin-top: 20px; color: var(--text-muted); }

/* BOOKING POLICY */
.booking-policy { position: relative; overflow: hidden; }
.booking-policy::before { content: ""; position: absolute; top: 10%; right: -180px; width: 380px; height: 380px; border-radius: 50%; background: rgba(199,161,90,0.08); filter: blur(28px); pointer-events: none; }
.booking-policy__header { max-width: 780px; margin-bottom: 42px; }
.booking-policy__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.policy-card { position: relative; min-height: 270px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)); box-shadow: var(--shadow); overflow: hidden; }
.policy-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; border: 1px solid rgba(199,161,90,0.18); }
.policy-card__number { display: inline-block; margin-bottom: 26px; color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 2.4rem; line-height: 1; }
.policy-card h3 { margin-bottom: 12px; font-size: 1.08rem; }
.policy-card p { color: var(--text-muted); font-size: 0.95rem; }
.booking-policy__note { position: relative; z-index: 1; margin-top: 24px; padding: 24px; border: 1px solid rgba(199,161,90,0.24); border-radius: var(--radius); background: rgba(199,161,90,0.07); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.booking-policy__note p { color: var(--text); font-weight: 700; }

/* ARTIST */
.artist-feature { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 34px; align-items: center; }
.artist-feature__img { min-height: 520px; border-radius: var(--radius); background-color: #222; background-position: center; background-size: cover; border: 1px solid var(--border); box-shadow: var(--shadow); }
.artist-feature__content { padding: 34px; background: rgba(255,255,255,0.035); border: 1px solid var(--border); border-radius: var(--radius); }
.artist-feature__content h3 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
.artist-feature__content p { color: var(--text-muted); margin-bottom: 24px; }
.artist-bio__tag { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(199,161,90,0.32); background: rgba(199,161,90,0.08); color: var(--gold-light); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.artist-bio__intro { color: var(--text); font-size: 1.08rem; font-weight: 600; }
.artist-bio__details { display: grid; gap: 12px; margin: 28px 0; }
.artist-bio__details div { padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(199,161,90,0.18); background: rgba(255,255,255,0.035); }
.artist-bio__details strong { display: block; margin-bottom: 4px; color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.artist-bio__details span { color: var(--text-muted); }
.artist-bio__btn { margin-top: 26px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { color: var(--text); }
.check-list li::before { content: "✦"; margin-right: 10px; color: var(--gold); }

/* CONTACT */
.contact__inner { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(420px,1.1fr); gap: 48px; align-items: start; }
.contact__content { max-width: 620px; }
.contact p { color: var(--text-muted); max-width: 540px; }
.contact-form { display: grid; gap: 14px; width: 100%; max-width: 680px; justify-self: end; padding: 30px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-field { display: grid; gap: 8px; min-width: 0; }
.contact-form label { color: var(--text); font-weight: 700; font-size: 0.92rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: 16px; background: rgba(0,0,0,0.35); color: var(--text); padding: 15px 16px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(245,241,234,0.45); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: rgba(199,161,90,0.75); box-shadow: 0 0 0 4px rgba(199,161,90,0.12); }
.contact-form select { appearance: none; cursor: pointer; }
.contact-form option { background: #111; color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .btn--primary { width: 100%; margin-top: 8px; }
.form-help { color: var(--text-muted); font-size: 0.88rem; }

/* FLOATING BOOK BUTTON */
.floating-book { position: fixed; right: 24px; bottom: 24px; z-index: 1200; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(199,161,90,0.45); background: linear-gradient(135deg, rgba(199,161,90,0.95), rgba(224,194,122,0.95)); color: #111; font-weight: 900; letter-spacing: 0.03em; box-shadow: 0 18px 45px rgba(0,0,0,0.45); transition: transform var(--transition), box-shadow var(--transition), filter var(--transition); }
.floating-book:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,0.6); filter: brightness(1.05); }
.floating-book__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.12); }
.floating-book__text { white-space: nowrap; }

/* FOOTER */
.footer { padding: 30px 0; background: #050505; border-top: 1px solid var(--border); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--text-muted); font-size: 0.92rem; }
.footer__links { display: flex; gap: 18px; }
.footer__links a { transition: color var(--transition); }
.footer__links a:hover { color: var(--gold-light); }

/* RESPONSIVE - TABLET */
@media (max-width: 1040px) {
  .nav { gap: 16px; }
  .nav a { font-size: 0.86rem; }
  .why-grid, .booking-policy__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact__inner { grid-template-columns: 1fr; }
  .contact-form { max-width: 100%; justify-self: stretch; }
}

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; top: 82px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: rgba(7,7,7,0.97); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 12px; font-size: 0.95rem; }
  .nav a:hover { background: rgba(255,255,255,0.05); }
  .services-grid, .portfolio-grid, .aftercare-grid, .promo__inner, .artist-feature { grid-template-columns: 1fr; }
  .gallery__header { align-items: start; flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .artist-feature__img { min-height: 420px; }
  .booking-policy__note { align-items: flex-start; flex-direction: column; }
  .booking-policy__note .btn { width: 100%; }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 640px) {
  :root { --radius: 18px; }
  .container { width: min(100% - 24px, var(--container)); }
  .header__inner { min-height: 72px; }
  .logo { font-size: 1.55rem; }
  .menu-toggle { width: 42px; height: 42px; }
  .nav { top: 72px; left: 12px; right: 12px; max-height: calc(100svh - 92px); overflow-y: auto; }
  .hero { min-height: auto; padding: 112px 0 64px; place-items: start center; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.6rem); line-height: 1.02; margin-bottom: 20px; }
  .hero p { font-size: 1rem; }
  .eyebrow, .section__eyebrow { display: flex; width: 100%; justify-content: flex-start; font-size: 0.68rem; letter-spacing: 0.14em; text-align: left; }
  .hero__content { text-align: left; }
  .hero__actions { width: 100%; justify-content: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { justify-content: flex-start; gap: 10px; }
  .hero__trust span { padding: 9px 12px; font-size: 0.68rem; letter-spacing: 0.08em; }
  .section { padding: 72px 0; }
  .section__title { font-size: clamp(2.15rem, 11vw, 3.25rem); line-height: 1.02; }
  .section__intro { font-size: 0.98rem; margin-bottom: 28px; }
  .card { padding: 22px; }
  .card--image { padding: 0 0 22px; }
  .card--image h3, .card--image p { padding-inline: 20px; }
  .card__img { min-height: 240px; }
  .why-grid, .booking-policy__grid { grid-template-columns: 1fr; }
  .why-card, .policy-card { min-height: auto; padding: 22px; }
  .gallery .container { max-width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .gallery-item { border-radius: 16px; }
  .lightbox { padding: 18px; }
  .lightbox__img { max-width: 94vw; max-height: 82vh; border-radius: 16px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 2rem; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .promo::before { inset: 14px; border-radius: 22px; }
  .promo__inner { gap: 28px; }
  .promo__tags { gap: 10px; }
  .promo__tags span { font-size: 0.68rem; padding: 8px 10px; }
  .promo__deal { padding: 22px; border-radius: 22px; }
  .promo__price-card { padding: 22px; }
  .promo__main-offer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .promo__main-offer strong { font-size: clamp(3.5rem, 18vw, 5rem); }
  .promo__main-offer small { font-size: 1.45rem; }
  .promo__mini-prices { grid-template-columns: 1fr; }
  .booking-policy__note { padding: 22px; }
  .booking-policy__note p { font-size: 1rem; }
  .artist-feature__img { min-height: 360px; }
  .artist-feature__content { padding: 22px; }
  .artist-bio__details div { padding: 14px; }
  .contact__inner { gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-form input, .contact-form textarea, .contact-form select { padding: 14px; }
  .floating-book { right: 12px; left: 12px; bottom: 12px; justify-content: center; min-height: 52px; padding: 0 16px; }
  .floating-book__text { font-size: 0.9rem; }
  .footer { padding: 28px 0 86px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 20px, var(--container)); }
  .hero h1 { font-size: 2.45rem; }
  .gallery-grid { gap: 10px; }
  .promo__mini-prices div { padding: 16px; }
  .floating-book__icon { width: 28px; height: 28px; }
}


/* ==============================
   BLACK + BLUSH PINK + SOFT GOLD THEME
   ============================== */

body {
  background:
    radial-gradient(circle at top left, rgba(241, 183, 198, 0.08), transparent 32%),
    radial-gradient(circle at bottom right, rgba(214, 167, 108, 0.06), transparent 34%),
    var(--bg);
}

body::before {
  background:
    radial-gradient(circle at 10% 8%, rgba(241, 183, 198, 0.16), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(214, 167, 108, 0.09), transparent 30%),
    radial-gradient(circle at 65% 95%, rgba(201, 138, 154, 0.10), transparent 32%);
}

.header {
  background: rgba(11, 7, 9, 0.86);
  border-bottom-color: rgba(241, 183, 198, 0.12);
}

.logo::after,
.eyebrow::before,
.section__eyebrow::before {
  background: linear-gradient(90deg, var(--rose-light), var(--gold-light));
}

.eyebrow,
.section__eyebrow,
.nav a:hover,
.footer__links a:hover,
.policy-card__number,
.artist-bio__details strong,
.promo__price-card span,
.promo__main-offer strong,
.promo__main-price,
.promo__mini-prices strong,
.check-list li::before {
  color: var(--rose-light);
}

.hero {
  background:
    linear-gradient(rgba(11, 7, 9, 0.70), rgba(11, 7, 9, 0.94)),
    radial-gradient(circle at 50% 25%, rgba(241, 183, 198, 0.12), transparent 34%),
    url("../img/hero.jpg") center/cover no-repeat;
}

.hero::after {
  background: linear-gradient(transparent, var(--bg));
}

.hero__trust span,
.promo__tags span,
.artist-bio__tag,
.nav__cta {
  border-color: rgba(241, 183, 198, 0.26);
  background: rgba(241, 183, 198, 0.055);
}

.hero__trust span::before {
  color: var(--rose-light);
}

.btn--primary,
.promo__badge,
.floating-book {
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  color: #150b0f;
  box-shadow: 0 18px 44px rgba(241, 183, 198, 0.22);
}

.btn--primary:hover,
.floating-book:hover {
  filter: brightness(1.05);
}

.btn--secondary:hover {
  border-color: rgba(241, 183, 198, 0.55);
  color: var(--rose-light);
}

.section--dark {
  background:
    linear-gradient(180deg, rgba(241, 183, 198, 0.035), rgba(255, 255, 255, 0.01));
  border-block-color: rgba(241, 183, 198, 0.10);
}

.card,
.why-card,
.policy-card,
.artist-feature__content,
.contact-form {
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.06), rgba(255, 255, 255, 0.018));
  border-color: rgba(241, 183, 198, 0.12);
}

.card::before,
.why-us::before,
.booking-policy::before {
  background: rgba(241, 183, 198, 0.10);
}

.why-card:hover {
  border-color: rgba(241, 183, 198, 0.35);
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.11), rgba(255, 255, 255, 0.025));
}

.why-card__icon,
.artist-bio__tag {
  border-color: rgba(241, 183, 198, 0.35);
  background: rgba(241, 183, 198, 0.08);
  color: var(--rose-light);
}

.gallery-item,
.card__img,
.artist-feature__img {
  background-color: #1d1518;
  border-color: rgba(241, 183, 198, 0.12);
}

.lightbox__close,
.lightbox__nav {
  border-color: rgba(241, 183, 198, 0.38);
  background: rgba(11, 7, 9, 0.82);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(241, 183, 198, 0.18);
}

.promo {
  background:
    radial-gradient(circle at 80% 20%, rgba(241, 183, 198, 0.18), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(214, 167, 108, 0.10), transparent 28%),
    linear-gradient(rgba(11, 7, 9, 0.92), rgba(11, 7, 9, 0.96)),
    url("../img/promo-bg.jpg") center/cover no-repeat;
}

.promo::before {
  border-color: rgba(241, 183, 198, 0.18);
}

.promo__deal {
  border-color: rgba(241, 183, 198, 0.28);
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.13), rgba(214, 167, 108, 0.055));
}

.promo__deal::after {
  background: rgba(241, 183, 198, 0.14);
}

.promo__price-card,
.promo__mini-prices div {
  background: rgba(11, 7, 9, 0.46);
  border-color: rgba(241, 183, 198, 0.12);
}

.booking-policy__note {
  border-color: rgba(241, 183, 198, 0.24);
  background: rgba(241, 183, 198, 0.075);
}

.artist-bio__details div {
  border-color: rgba(241, 183, 198, 0.16);
  background: rgba(241, 183, 198, 0.045);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(11, 7, 9, 0.52);
  border-color: rgba(241, 183, 198, 0.13);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(241, 183, 198, 0.72);
  box-shadow: 0 0 0 4px rgba(241, 183, 198, 0.12);
}

.footer {
  background: #080506;
  border-top-color: rgba(241, 183, 198, 0.12);
}

@media (max-width: 920px) {
  .nav {
    background: rgba(11, 7, 9, 0.98);
    border-color: rgba(241, 183, 198, 0.14);
  }
}
/* ==============================
   FAQ SECTION
   ============================== */

.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  left: -160px;
  top: 18%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(241, 183, 198, 0.08);
  filter: blur(28px);
  pointer-events: none;
}

.faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 58px 22px 24px;
  color: var(--text);
  font-weight: 900;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--gold-light);
  border: 1px solid rgba(241, 183, 198, 0.28);
  background: rgba(241, 183, 198, 0.08);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  max-width: 780px;
}

.faq-item[open] {
  border-color: rgba(241, 183, 198, 0.28);
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.075), rgba(255, 255, 255, 0.02));
}
@media (max-width: 640px) {
  .faq-item summary {
    padding: 20px 54px 20px 18px;
    font-size: 0.98rem;
  }

  .faq-item p {
    padding: 0 18px 20px;
    font-size: 0.95rem;
  }
}
/* ==============================
   FIX ARTIST SECTION LAYOUT
   ============================== */

#artistas {
  position: relative;
  overflow: hidden;
}

#artistas .container {
  max-width: 1160px;
  margin-inline: auto;
}

#artistas .section__title {
  max-width: 100%;
  margin-bottom: 42px;
  overflow-wrap: normal;
}

.artist-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.artist-feature__img {
  width: 100%;
  min-height: 560px;
  border-radius: 28px;
  background-position: center;
  background-size: cover;
  align-self: stretch;
}

.artist-feature__content {
  width: 100%;
  max-width: 640px;
  justify-self: end;
  padding: 42px;
}

.artist-feature__content h3 {
  line-height: 1;
}

.artist-bio__details {
  margin-top: 30px;
}

/* Tablet */
@media (max-width: 1040px) {
  .artist-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .artist-feature__content {
    max-width: 100%;
    justify-self: stretch;
  }

  .artist-feature__img {
    min-height: 520px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  #artistas .section__title {
    margin-bottom: 28px;
  }

  .artist-feature {
    gap: 22px;
  }

  .artist-feature__img {
    min-height: 380px;
    border-radius: 22px;
    background-position: center top;
  }

  .artist-feature__content {
    padding: 24px;
  }

  .artist-feature__content h3 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .artist-bio__details div {
    padding: 15px;
  }
}
/* ==============================
   FINAL FIX ARTIST IMAGE FRAME
   ============================== */

#artistas {
  overflow: hidden;
}

#artistas .section__title {
  margin-bottom: 42px;
}

.artist-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.artist-feature__img {
  width: 100%;
  min-height: 620px;
  max-height: 720px;
  border-radius: 28px;
  background-image: inherit;
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.artist-feature__content {
  width: 100%;
  max-width: 660px;
  justify-self: start;
  padding: 42px;
}

/* Desktop más compacto */
@media (min-width: 1041px) {
  .artist-feature__img {
    aspect-ratio: 4 / 5;
    min-height: auto;
  }
}

/* Tablet */
@media (max-width: 1040px) {
  .artist-feature {
    grid-template-columns: 1fr;
  }

  .artist-feature__img {
    min-height: 560px;
    background-position: center 25%;
  }

  .artist-feature__content {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 640px) {
  #artistas .section__title {
    margin-bottom: 28px;
  }

  .artist-feature__img {
    min-height: 430px;
    border-radius: 22px;
    background-position: center 22%;
  }

  .artist-feature__content {
    padding: 24px;
  }
}
/* ==============================
   IMPROVED BOOKING POLICY
   ============================== */

.booking-policy__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-card {
  min-height: 285px;
}

.booking-policy__note div {
  display: grid;
  gap: 6px;
}

.booking-policy__note strong {
  color: var(--text);
  font-size: 1.05rem;
}

.booking-policy__note p {
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 1040px) {
  .booking-policy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .booking-policy__grid {
    grid-template-columns: 1fr;
  }

  .policy-card {
    min-height: auto;
  }

  .booking-policy__note {
    align-items: stretch;
  }
}
/* ==============================
   CLIENT REVIEWS
   ============================== */

.reviews-section {
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 18%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(241, 183, 198, 0.09);
  filter: blur(30px);
  pointer-events: none;
}

.reviews-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.review-card::after {
  content: "”";
  position: absolute;
  right: 24px;
  bottom: -26px;
  color: rgba(241, 183, 198, 0.16);
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.review-card__stars {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.review-card p {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.review-card__author {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 183, 198, 0.18);
}

.review-card__author span {
  color: var(--text);
  font-weight: 900;
}

.review-card__author small {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.reviews-cta {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(241, 183, 198, 0.24);
  background: rgba(241, 183, 198, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reviews-cta p {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 920px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews-cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .review-card {
    padding: 24px;
  }

  .reviews-cta {
    padding: 22px;
  }
}
/* ==============================
   CLIENT REVIEWS + REVIEW FORM
   ============================== */

.reviews-section {
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 18%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(241, 183, 198, 0.1);
  filter: blur(30px);
  pointer-events: none;
}

.reviews-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.review-card::after {
  content: "”";
  position: absolute;
  right: 24px;
  bottom: -32px;
  color: rgba(241, 183, 198, 0.16);
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.review-card__stars {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.review-card p {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.review-card__author {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 183, 198, 0.18);
}

.review-card__author span {
  color: var(--text);
  font-weight: 900;
}

.review-card__author small {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.review-submit-box {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(241, 183, 198, 0.24);
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
}

.review-submit-box h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 12px;
}

.review-submit-box p {
  color: var(--text-muted);
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form input,
.review-form textarea,
.review-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
  color: rgba(255, 246, 248, 0.45);
}

.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus {
  border-color: rgba(241, 183, 198, 0.75);
  box-shadow: 0 0 0 4px rgba(241, 183, 198, 0.12);
}

@media (max-width: 920px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-submit-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .review-card,
  .review-submit-box {
    padding: 22px;
  }
}
/* ==============================
   BEFORE APPOINTMENT
   ============================== */

.before-appointment {
  position: relative;
  overflow: hidden;
}

.before-appointment::before {
  content: "";
  position: absolute;
  left: -150px;
  top: 14%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(241, 183, 198, 0.09);
  filter: blur(32px);
  pointer-events: none;
}

.before-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.before-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(241, 183, 198, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.before-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(241, 183, 198, 0.16);
}

.before-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 50%;
  border: 1px solid rgba(241, 183, 198, 0.32);
  background: rgba(241, 183, 198, 0.08);
  color: var(--rose-light);
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.before-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.15rem;
}

.before-card p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.before-note {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(241, 183, 198, 0.24);
  background: rgba(241, 183, 198, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.before-note p {
  color: var(--text);
  font-weight: 700;
  max-width: 720px;
}

@media (max-width: 1040px) {
  .before-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .before-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .before-note .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .before-grid {
    grid-template-columns: 1fr;
  }

  .before-card {
    min-height: auto;
    padding: 22px;
  }

  .before-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    font-size: 1.2rem;
  }

  .before-note {
    padding: 22px;
  }
}

/* ==============================
   PREMIUM 3D SOFT HOME + FORM REFERENCE FIX
   ============================== */

.hidden {
  display: none !important;
}

.artist-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  padding: 148px 0 108px;
  border-bottom: 1px solid rgba(241, 183, 198, 0.14);
  background:
    radial-gradient(circle at 16% 18%, rgba(241, 183, 198, 0.22), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(214, 167, 108, 0.16), transparent 26%),
    radial-gradient(circle at 72% 84%, rgba(201, 138, 154, 0.12), transparent 28%),
    linear-gradient(135deg, #0b0709 0%, #171012 48%, #0a0708 100%);
}

.artist-home-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -3;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at center, black, transparent 68%);
  transform: perspective(900px) rotateX(62deg) translateY(-10%);
}

.artist-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,7,9,0.88), rgba(11,7,9,0.34) 46%, rgba(11,7,9,0.78)),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.24) 58%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

.artist-home__ambient {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 42%, rgba(241, 183, 198, 0.16), transparent 18%),
    radial-gradient(circle at 58% 30%, rgba(214, 167, 108, 0.12), transparent 20%),
    radial-gradient(circle at 78% 62%, rgba(241, 183, 198, 0.10), transparent 22%);
  filter: blur(8px);
  animation: ambientFloat 10s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.artist-home__line {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(241, 183, 198, 0.12);
  border-radius: 42% 58% 54% 46%;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(241, 183, 198, 0.10));
}

.artist-home__line--one {
  top: 18%;
  right: 7%;
  animation: slowSpin 18s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.artist-home__line--two {
  left: -140px;
  bottom: 8%;
  opacity: 0.66;
  animation: slowSpin 24s cubic-bezier(0.4, 0.0, 0.2, 1) infinite reverse;
}

.artist-home-hero .section__title {
  max-width: 780px;
  margin-bottom: 18px;
  text-shadow: 0 20px 70px rgba(0,0,0,0.72);
}

.artist-home__intro {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.artist-home__quick-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 42px;
}

.artist-feature--home {
  position: relative;
  z-index: 2;
  perspective: 1400px;
  align-items: stretch;
}

.artist-feature--home .artist-feature__img,
.artist-feature--home .artist-feature__content {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.45s cubic-bezier(0.4, 0.0, 0.2, 1), border-color 0.45s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.artist-feature--home .artist-feature__img {
  min-height: 690px;
  border-radius: 32px;
  border-color: rgba(241, 183, 198, 0.22);
  box-shadow:
    0 34px 95px rgba(0,0,0,0.72),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 80px rgba(241, 183, 198, 0.12);
  background-position: center;
  filter: saturate(0.96) contrast(1.05) brightness(0.92);
}

.artist-feature--home .artist-feature__content {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.028));
  backdrop-filter: blur(22px);
  border-color: rgba(241, 183, 198, 0.20);
  box-shadow:
    0 34px 95px rgba(0,0,0,0.58),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.artist-feature--home .artist-feature__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(241,183,198,0.16), transparent 30%),
    linear-gradient(135deg, transparent, rgba(214,167,108,0.055));
  pointer-events: none;
}

.artist-feature--home:hover .artist-feature__img {
  transform: translateY(-8px) rotateY(2.2deg) rotateX(1.2deg);
  border-color: rgba(241, 183, 198, 0.36);
}

.artist-feature--home:hover .artist-feature__content {
  transform: translateY(-8px) rotateY(-1.6deg) rotateX(1deg);
  border-color: rgba(214, 167, 108, 0.30);
}

.reference-instructions {
  margin-top: 2px;
}

.reference-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(241, 183, 198, 0.22);
  background:
    radial-gradient(circle at top right, rgba(241,183,198,0.13), transparent 34%),
    rgba(11, 7, 9, 0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.reference-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--rose-light);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reference-card__number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #140b0f;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  font-weight: 900;
  letter-spacing: 0.06em;
}

.reference-card p {
  max-width: none;
  margin: 0 0 10px;
  color: var(--text-muted);
}

.reference-card a {
  color: var(--gold-light);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reference-card small {
  display: block;
  color: rgba(255, 246, 248, 0.68);
}

@keyframes ambientFloat {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

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

@media (max-width: 920px) {
  .artist-home-hero {
    min-height: auto;
    padding: 122px 0 82px;
  }

  .artist-feature--home .artist-feature__img {
    min-height: 520px;
  }

  .artist-feature--home:hover .artist-feature__img,
  .artist-feature--home:hover .artist-feature__content {
    transform: none;
  }
}

@media (max-width: 640px) {
  .artist-home-hero {
    padding: 104px 0 68px;
  }

  .artist-home__quick-actions .btn {
    width: 100%;
  }

  .artist-feature--home .artist-feature__img {
    min-height: 390px;
    border-radius: 24px;
  }

  .artist-feature--home .artist-feature__content {
    border-radius: 24px;
  }

  .reference-card {
    padding: 18px;
  }
}



/* ==========================================================
   KMILE STUDIO - CINEMATIC 3D HERO V2
   Strong visual redesign inspired by premium WebGL/AI websites.
   ========================================================== */

.cinematic-hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(241, 183, 198, 0.22), transparent 28%),
    radial-gradient(circle at 92% 68%, rgba(214, 167, 108, 0.18), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(116, 47, 84, 0.24), transparent 34%),
    linear-gradient(135deg, #080306 0%, #160b10 38%, #080306 100%);
  border-bottom: 1px solid rgba(241, 183, 198, 0.15);
  isolation: isolate;
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(241,183,198,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241,183,198,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(900px) rotateX(62deg) translateY(-32%);
  transform-origin: top;
  opacity: 0.62;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent 72%);
  pointer-events: none;
  z-index: -5;
}

.cinematic-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 260px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
  pointer-events: none;
}

.cinematic-hero__canvas,
.cinematic-hero__grid,
.cinematic-hero__mist,
.cinematic-hero__glow {
  position: absolute;
  pointer-events: none;
}

.cinematic-hero__canvas {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
  opacity: 0.95;
}

.cinematic-hero__grid {
  inset: 10% -8% auto auto;
  width: min(960px, 62vw);
  height: min(760px, 78vh);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 44%),
    conic-gradient(from 45deg, transparent, rgba(241,183,198,0.18), transparent, rgba(214,167,108,0.14), transparent);
  filter: blur(0.2px);
  animation: cinematicSpin 18s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  opacity: 0.62;
  z-index: -3;
}

.cinematic-hero__mist {
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 70% 44%, rgba(241,183,198,0.18), transparent 28%),
    radial-gradient(ellipse at 38% 18%, rgba(255,255,255,0.08), transparent 22%),
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.04) 38%, transparent 56%);
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: mistDrift 8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.cinematic-hero__glow {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.65;
  z-index: -3;
}

.cinematic-hero__glow--rose {
  top: 16%;
  right: 23%;
  background: rgba(241,183,198,0.22);
  animation: glowPulse 5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.cinematic-hero__glow--gold {
  bottom: 16%;
  right: 4%;
  background: rgba(214,167,108,0.18);
  animation: glowPulse 6.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite reverse;
}

.cinematic-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(38px, 5vw, 78px);
  align-items: center;
  z-index: 2;
}

.cinematic-hero__copy {
  position: relative;
  transform: translateZ(60px);
}

.cinematic-hero__copy .eyebrow {
  justify-content: flex-start;
  width: auto;
  padding: 10px 14px;
  border: 1px solid rgba(241,183,198,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  box-shadow: 0 0 34px rgba(241,183,198,0.12);
  backdrop-filter: blur(14px);
}

.cinematic-hero h1 {
  margin: 18px 0 24px;
  max-width: 820px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.4rem, 6.7vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  color: #fff7fa;
  text-shadow:
    0 0 26px rgba(241,183,198,0.20),
    0 26px 80px rgba(0,0,0,0.58);
}

.cinematic-hero__lead {
  max-width: 610px;
  color: rgba(255,246,248,0.78);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  line-height: 1.75;
}

.cinematic-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.cinematic-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 630px;
  margin-top: 34px;
}

.cinematic-hero__stats div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(241,183,198,0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.026));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 22px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
}

.cinematic-hero__stats strong,
.cinematic-hero__stats span {
  display: block;
}

.cinematic-hero__stats strong {
  color: var(--rose-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.cinematic-hero__stats span {
  margin-top: 8px;
  color: rgba(255,246,248,0.68);
  font-size: 0.92rem;
}

.cinematic-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  min-height: 680px;
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.16s ease-out;
}

.cinematic-stage__main-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(470px, 72vw);
  height: min(590px, 80vh);
  transform: translate(-50%, -50%) translate3d(var(--shift-x), var(--shift-y), 120px) rotateY(-10deg) rotateX(4deg);
  border: 1px solid rgba(255,222,231,0.23);
  border-radius: 38px;
  overflow: hidden;
  background: rgba(255,255,255,0.055);
  box-shadow:
    0 42px 120px rgba(0,0,0,0.72),
    0 0 80px rgba(241,183,198,0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  z-index: 6;
}

.cinematic-stage__main-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(130deg, rgba(255,255,255,0.16), transparent 34%, rgba(241,183,198,0.12), transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.cinematic-stage__main-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(8,3,6,0.82) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 6px);
  opacity: 0.72;
  pointer-events: none;
  z-index: 2;
}

.cinematic-stage__artist-image {
  width: 100%;
  height: 100%;
  background-position: center top;
  background-size: cover;
  filter: contrast(1.08) saturate(0.95) brightness(0.92);
  transform: scale(1.035);
}

.cinematic-stage__artist-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  padding: 18px 20px;
  border: 1px solid rgba(241,183,198,0.22);
  border-radius: 24px;
  background: rgba(8,3,6,0.58);
  backdrop-filter: blur(18px);
}

.cinematic-stage__artist-caption span,
.cinematic-stage__terminal p,
.cinematic-float-card span {
  color: var(--rose-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cinematic-stage__artist-caption strong {
  display: block;
  margin-top: 4px;
  font-family: "Playfair Display", serif;
  color: #fff7fa;
  font-size: 2.2rem;
  line-height: 1;
}

.cinematic-stage__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.cinematic-stage__halo--one {
  width: 610px;
  height: 610px;
  border: 1px solid rgba(241,183,198,0.24);
  box-shadow:
    0 0 45px rgba(241,183,198,0.16),
    inset 0 0 55px rgba(214,167,108,0.08);
  animation: cinematicSpin 16s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.cinematic-stage__halo--two {
  width: 460px;
  height: 460px;
  border: 1px dashed rgba(214,167,108,0.28);
  box-shadow: inset 0 0 40px rgba(241,183,198,0.10);
  animation: cinematicSpin 11s cubic-bezier(0.4, 0.0, 0.2, 1) infinite reverse;
}

.cinematic-stage__scanner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 740px;
  height: 380px;
  transform: translate(-50%, -50%) rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(241,183,198,0.18), rgba(214,167,108,0.09), transparent);
  filter: blur(18px);
  opacity: 0.78;
  animation: scannerMove 4.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
  z-index: 1;
}

.cinematic-float-card {
  position: absolute;
  width: 190px;
  padding: 12px;
  border: 1px solid rgba(255,222,231,0.2);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.032));
  box-shadow: 0 28px 80px rgba(0,0,0,0.52), 0 0 32px rgba(241,183,198,0.12);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  z-index: 8;
  animation: floatUpDown 4.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.cinematic-float-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 17px;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  margin-bottom: 10px;
}

.cinematic-float-card--one {
  left: 0;
  top: 14%;
  transform: translateZ(180px) rotateY(16deg) rotateZ(-5deg);
}

.cinematic-float-card--two {
  right: 0;
  top: 25%;
  animation-delay: -1.4s;
  transform: translateZ(200px) rotateY(-16deg) rotateZ(5deg);
}

.cinematic-float-card--three {
  right: 8%;
  bottom: 10%;
  animation-delay: -2.6s;
  transform: translateZ(190px) rotateY(-10deg) rotateZ(-3deg);
}

.cinematic-stage__terminal {
  position: absolute;
  left: 8%;
  bottom: 16%;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 280px;
  padding: 13px 16px;
  border: 1px solid rgba(241,183,198,0.24);
  border-radius: 999px;
  background: rgba(8,3,6,0.72);
  box-shadow: 0 20px 70px rgba(0,0,0,0.54);
  backdrop-filter: blur(16px);
  transform: translateZ(220px);
}

.cinematic-stage__terminal span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose-light);
  box-shadow: 0 0 12px rgba(241,183,198,0.65);
}

.cinematic-stage__terminal span:nth-child(2) {
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(214,167,108,0.65);
}

.cinematic-stage__terminal span:nth-child(3) {
  background: rgba(255,255,255,0.72);
}

.cinematic-stage__terminal p {
  margin-left: 6px;
  white-space: nowrap;
  font-size: 0.65rem;
}

.cinematic-about-wrap {
  position: relative;
  z-index: 3;
  margin-top: clamp(18px, 3vw, 54px);
}

.cinematic-about {
  max-width: 1120px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(241,183,198,0.18);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.026));
  box-shadow: 0 36px 110px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(22px);
}

.cinematic-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 30px;
  align-items: start;
}

.cinematic-about h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 16px;
}

.cinematic-about p {
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 16px;
}

.cinematic-about__checks {
  margin-top: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-card {
  border: 1px solid rgba(241,183,198,0.22);
  background:
    radial-gradient(circle at top right, rgba(241,183,198,0.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 48px rgba(0,0,0,0.28);
}

.reference-card a {
  color: var(--gold-light);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reference-card__number {
  color: #fff7fa;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  text-shadow: 0 0 18px rgba(241,183,198,0.22);
}

@keyframes cinematicSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes mistDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 1.5%, 0) scale(1.04); }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.42; }
  50% { transform: scale(1.12); opacity: 0.78; }
}

@keyframes scannerMove {
  from { transform: translate(-54%, -50%) rotate(-18deg); opacity: 0.42; }
  to { transform: translate(-46%, -50%) rotate(-18deg); opacity: 0.82; }
}

@keyframes floatUpDown {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

@media (max-width: 1120px) {
  .cinematic-hero__inner {
    grid-template-columns: 1fr;
  }

  .cinematic-stage {
    min-height: 610px;
    order: -1;
  }

  .cinematic-hero__copy {
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
  }

  .cinematic-hero__copy .eyebrow,
  .cinematic-hero__actions {
    justify-content: center;
  }

  .cinematic-hero__lead {
    margin-inline: auto;
  }

  .cinematic-hero__stats {
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .cinematic-hero {
    padding: 112px 0 70px;
  }

  .cinematic-hero__inner {
    gap: 20px;
  }

  .cinematic-stage {
    min-height: 470px;
    transform: none !important;
  }

  .cinematic-stage__main-card {
    width: min(360px, 82vw);
    height: 460px;
    border-radius: 30px;
    transform: translate(-50%, -50%);
  }

  .cinematic-stage__halo--one {
    width: 460px;
    height: 460px;
  }

  .cinematic-stage__halo--two {
    width: 340px;
    height: 340px;
  }

  .cinematic-float-card {
    width: 138px;
    padding: 9px;
  }

  .cinematic-float-card--one {
    left: 2%;
    top: 7%;
  }

  .cinematic-float-card--two {
    right: 2%;
    top: 16%;
  }

  .cinematic-float-card--three {
    display: none;
  }

  .cinematic-stage__terminal {
    left: 50%;
    bottom: 3%;
    transform: translateX(-50%);
  }

  .cinematic-hero h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
    text-align: left;
  }

  .cinematic-hero__copy {
    text-align: left;
  }

  .cinematic-hero__copy .eyebrow,
  .cinematic-hero__actions {
    justify-content: flex-start;
  }

  .cinematic-hero__actions .btn {
    width: 100%;
  }

  .cinematic-hero__stats {
    grid-template-columns: 1fr;
  }

  .cinematic-about__grid,
  .cinematic-about__checks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cinematic-stage {
    min-height: 430px;
  }

  .cinematic-stage__main-card {
    width: min(320px, 86vw);
    height: 410px;
  }

  .cinematic-float-card {
    width: 118px;
  }

  .cinematic-stage__artist-caption strong {
    font-size: 1.55rem;
  }

  .cinematic-stage__terminal p {
    font-size: 0.56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-hero__grid,
  .cinematic-hero__mist,
  .cinematic-hero__glow,
  .cinematic-stage__halo,
  .cinematic-stage__scanner,
  .cinematic-float-card {
    animation: none !important;
  }

  .cinematic-stage {
    transform: none !important;
  }
}

/* ==============================
   TEMPORARILY HIDE PROMO SECTION
   ============================== */
#promo,
.promo {
  display: none !important;
}


/* ==========================================================
   KMILE STUDIO - IMMERSIVE PHASE 1 + 2
   Atmosphere + visible motion layer.
   ========================================================== */

:root {
  --bg: #060204;
  --bg-soft: #11070b;
  --bg-card: #1a0d12;
  --ink-black: #050204;
  --wine: #1b0911;
  --mauve-glow: rgba(175, 76, 112, 0.34);
  --rose-neon: #ffc2d4;
  --champagne: #ffd99d;
  --glass: rgba(255, 255, 255, 0.062);
  --glass-strong: rgba(255, 255, 255, 0.105);
  --border: rgba(255, 202, 219, 0.16);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.58);
}

html {
  background: var(--ink-black);
}

body {
  background:
    radial-gradient(circle at var(--pointer-x, 20%) var(--pointer-y, 12%), rgba(241, 183, 198, 0.12), transparent 24vw),
    radial-gradient(circle at 82% 10%, rgba(255, 217, 157, 0.10), transparent 34vw),
    radial-gradient(circle at 8% 74%, rgba(175, 76, 112, 0.14), transparent 28vw),
    linear-gradient(135deg, #050204 0%, #12070c 42%, #060204 100%);
}

body::before {
  z-index: -4;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 194, 212, 0.15), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(255, 217, 157, 0.10), transparent 34%),
    radial-gradient(circle at 62% 92%, rgba(175, 76, 112, 0.12), transparent 38%);
  animation: ambientBreath 9s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.36) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 45%, rgba(255,255,255,0.26) 0 1px, transparent 1px),
    radial-gradient(circle at 42% 72%, rgba(255,255,255,0.20) 0 1px, transparent 1px);
  background-size: 120px 120px, 170px 170px, 210px 210px;
  mix-blend-mode: screen;
}

.site-ambient,
.site-cursor-glow {
  position: fixed;
  pointer-events: none;
}

.site-ambient {
  width: 42vw;
  height: 42vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  z-index: -2;
  filter: blur(42px);
  opacity: 0.24;
  mix-blend-mode: screen;
}

.site-ambient--rose {
  left: -14vw;
  top: 20vh;
  background: rgba(241, 183, 198, 0.40);
  animation: ambientFloatOne 11s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.site-ambient--gold {
  right: -16vw;
  bottom: -10vh;
  background: rgba(255, 217, 157, 0.32);
  animation: ambientFloatTwo 13s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.site-cursor-glow {
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  z-index: 10;
  opacity: 0.22;
  background:
    radial-gradient(circle, rgba(255,194,212,0.30), rgba(255,217,157,0.09) 42%, transparent 68%);
  filter: blur(18px);
  mix-blend-mode: screen;
  transition: opacity 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Header polish */
.header {
  background:
    linear-gradient(180deg, rgba(10, 4, 7, 0.92), rgba(10, 4, 7, 0.72));
  box-shadow: 0 18px 70px rgba(0,0,0,0.38);
  backdrop-filter: blur(24px) saturate(1.2);
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,194,212,0.38), rgba(255,217,157,0.22), transparent);
}

/* Cinematic hero upgrade */
.cinematic-hero {
  min-height: 108svh;
  padding-top: 132px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 194, 212, 0.28), transparent 26%),
    radial-gradient(circle at 92% 62%, rgba(255, 217, 157, 0.20), transparent 28%),
    radial-gradient(circle at 8% 78%, rgba(175, 76, 112, 0.32), transparent 34%),
    linear-gradient(135deg, #050204 0%, #19090f 38%, #060204 100%);
}

.cinematic-hero__aurora,
.cinematic-hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cinematic-hero__aurora {
  z-index: -2;
  opacity: 0.58;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255,194,212,0.10) 28%, transparent 44% 100%),
    linear-gradient(70deg, transparent 0 44%, rgba(255,217,157,0.08) 54%, transparent 70% 100%);
  filter: blur(2px);
  animation: auroraSweep 7.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.cinematic-hero__spotlight {
  z-index: -1;
  background:
    radial-gradient(ellipse at 67% 42%, rgba(255,255,255,0.08), transparent 30%),
    radial-gradient(ellipse at 68% 40%, rgba(255,194,212,0.13), transparent 20%);
  mix-blend-mode: screen;
  animation: spotlightPulse 5.6s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.cinematic-hero__copy .eyebrow {
  border-color: rgba(255, 194, 212, 0.36);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.028));
  box-shadow: 0 0 44px rgba(255, 194, 212, 0.16);
}

.cinematic-hero h1 {
  background: linear-gradient(105deg, #fff7fa 0%, #ffc9d9 46%, #ffe0a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 24px 70px rgba(0,0,0,0.72));
}

.cinematic-hero__lead {
  color: rgba(255, 246, 248, 0.84);
  text-shadow: 0 10px 28px rgba(0,0,0,0.44);
}

.cinematic-hero__stats div {
  position: relative;
  overflow: hidden;
}

.cinematic-hero__stats div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 20%), rgba(255,194,212,0.20), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.cinematic-hero__stats div:hover::after {
  opacity: 1;
}

.cinematic-stage {
  filter: drop-shadow(0 50px 80px rgba(0,0,0,0.44));
}

.cinematic-stage__main-card {
  border-color: rgba(255, 218, 229, 0.30);
  box-shadow:
    0 50px 140px rgba(0,0,0,0.76),
    0 0 110px rgba(255,194,212,0.30),
    inset 0 1px 0 rgba(255,255,255,0.20);
  animation: heroCardBreathe 5.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.cinematic-stage__main-card::before {
  background:
    linear-gradient(130deg, rgba(255,255,255,0.26), transparent 30%, rgba(255,194,212,0.16), transparent 72%);
  animation: glassGlint 5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.cinematic-stage__artist-image {
  filter: contrast(1.12) saturate(0.98) brightness(0.88);
}

.cinematic-stage__halo--one {
  width: 660px;
  height: 660px;
  border-color: rgba(255,194,212,0.34);
}

.cinematic-stage__halo--two {
  width: 500px;
  height: 500px;
  border-color: rgba(255,217,157,0.36);
}

.cinematic-float-card {
  width: 205px;
  border-color: rgba(255, 218, 229, 0.28);
  background:
    radial-gradient(circle at 24% 0%, rgba(255,255,255,0.24), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.036));
  box-shadow:
    0 36px 96px rgba(0,0,0,0.62),
    0 0 44px rgba(255,194,212,0.18);
}

.cinematic-float-card:hover {
  border-color: rgba(255, 217, 157, 0.48);
  box-shadow:
    0 42px 110px rgba(0,0,0,0.70),
    0 0 70px rgba(255,194,212,0.28);
}

.cinematic-stage__terminal {
  box-shadow:
    0 24px 80px rgba(0,0,0,0.60),
    0 0 44px rgba(255,194,212,0.16);
}

/* Section atmosphere */
.section {
  position: relative;
  isolation: isolate;
}

.section::before {
  content: "";
  position: absolute;
  inset: 18px 20px;
  border-radius: 34px;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  border: 1px solid rgba(255, 194, 212, 0.08);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,194,212,0.08), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(255,217,157,0.055), transparent 36%);
  transition: opacity 0.55s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.section:hover::before {
  opacity: 1;
}

.section--dark {
  background:
    radial-gradient(circle at 86% 16%, rgba(255,194,212,0.065), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
}

/* Premium cards + hover light */
.card,
.why-card,
.policy-card,
.before-card,
.review-card,
.faq-item,
.contact-form,
.review-form,
.review-submit-box,
.booking-policy__note,
.cinematic-about {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 194, 212, 0.17);
  background:
    radial-gradient(circle at var(--card-x, 78%) var(--card-y, 14%), rgba(255,194,212,0.12), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.085), rgba(255,255,255,0.022));
  box-shadow:
    0 26px 90px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.09);
  transition:
    transform 0.36s cubic-bezier(0.4, 0.0, 0.2, 1),
    border-color 0.36s cubic-bezier(0.4, 0.0, 0.2, 1),
    box-shadow 0.36s cubic-bezier(0.4, 0.0, 0.2, 1),
    filter 0.36s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.card::after,
.why-card::before,
.policy-card::before,
.before-card::before,
.review-card::before,
.faq-item::before,
.contact-form::before,
.review-submit-box::before,
.booking-policy__note::before,
.cinematic-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 16%), rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(125deg, rgba(255,255,255,0.14), transparent 26%, transparent 72%, rgba(255,194,212,0.09));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: 0;
}

.card:hover,
.why-card:hover,
.policy-card:hover,
.before-card:hover,
.review-card:hover,
.faq-item:hover,
.gallery-item:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 217, 157, 0.38);
  box-shadow:
    0 34px 110px rgba(0,0,0,0.58),
    0 0 44px rgba(255,194,212,0.10),
    inset 0 1px 0 rgba(255,255,255,0.13);
}

.card:hover::after,
.why-card:hover::before,
.policy-card:hover::before,
.before-card:hover::before,
.review-card:hover::before,
.faq-item:hover::before,
.contact-form:hover::before,
.review-submit-box:hover::before,
.booking-policy__note:hover::before,
.cinematic-about:hover::before {
  opacity: 1;
}

.card > *,
.why-card > *,
.policy-card > *,
.before-card > *,
.review-card > *,
.faq-item > *,
.contact-form > *,
.review-form > *,
.review-submit-box > *,
.booking-policy__note > *,
.cinematic-about > * {
  position: relative;
  z-index: 1;
}

/* Button glow and shine */
.btn {
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, #ffc2d4 0%, #ffd99d 100%);
  box-shadow:
    0 18px 46px rgba(255, 194, 212, 0.24),
    0 0 32px rgba(255, 217, 157, 0.12);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -80%;
  width: 54%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
  transform: skewX(-22deg);
  animation: buttonShine 4.2s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  pointer-events: none;
}

.btn--secondary {
  border-color: rgba(255, 194, 212, 0.22);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  backdrop-filter: blur(14px);
}

/* Portfolio level-up */
#portfolio {
  background:
    radial-gradient(circle at 8% 8%, rgba(255,194,212,0.08), transparent 32%),
    radial-gradient(circle at 88% 42%, rgba(255,217,157,0.07), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.006));
}

#portfolio .portfolio-grid {
  gap: clamp(18px, 2.2vw, 30px);
  perspective: 1100px;
}

#portfolio .card--image {
  min-height: 520px;
  padding-bottom: 32px;
  border-radius: 30px;
  transform-style: preserve-3d;
}

#portfolio .card--image::before {
  opacity: 1;
  background:
    linear-gradient(180deg, transparent 0 56%, rgba(5,2,4,0.72) 100%),
    radial-gradient(circle at 50% 0%, rgba(255,194,212,0.13), transparent 42%);
}

#portfolio .card--image::after {
  content: "01";
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #12070c;
  font-weight: 900;
  background: linear-gradient(135deg, #ffc2d4, #ffd99d);
  box-shadow: 0 12px 32px rgba(0,0,0,0.34);
  opacity: 1;
  z-index: 3;
}

#portfolio .card--image:nth-child(2)::after { content: "02"; }
#portfolio .card--image:nth-child(3)::after { content: "03"; }

#portfolio .card__img {
  min-height: 385px;
  margin-bottom: 28px;
  border-radius: 30px 30px 0 0;
  filter: saturate(0.92) contrast(1.10) brightness(0.92);
  transform: scale(1.001);
  transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1), filter 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#portfolio .card--image:hover .card__img {
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.14) brightness(1.02);
}

#portfolio .card--image h3 {
  font-size: 1.55rem;
  color: #fff7fa;
}

#portfolio .card--image p {
  color: rgba(255,246,248,0.70);
}

/* Gallery becomes more editorial on desktop */
.gallery-grid {
  perspective: 1200px;
}

@media (min-width: 861px) {
  .gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 92px;
    gap: 18px;
  }

  .gallery-item {
    aspect-ratio: auto;
    height: 100%;
    grid-column: span 4;
    grid-row: span 4;
    border-radius: 26px;
  }

  .gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 5; }
  .gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 4; }
  .gallery-item:nth-child(3) { grid-column: span 4; grid-row: span 5; }
  .gallery-item:nth-child(4) { grid-column: span 3; grid-row: span 4; }
  .gallery-item:nth-child(5) { grid-column: span 5; grid-row: span 4; }
  .gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 4; }
}

.gallery-item {
  box-shadow:
    0 26px 88px rgba(0,0,0,0.48),
    0 0 0 1px rgba(255,194,212,0.10);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 16%), rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(180deg, transparent 44%, rgba(5,2,4,0.54));
  opacity: 0;
  transition: opacity 0.36s cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
}

.gallery-item::after {
  content: "View";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: #13070c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffc2d4, #ffd99d);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.34s cubic-bezier(0.4, 0.0, 0.2, 1), transform 0.34s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.gallery-item:hover::before,
.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover::after {
  transform: translateY(0);
}

/* Contact / booking premium reference flow */
.reference-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,217,157,0.15), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(255,194,212,0.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.025));
}

.reference-card__number {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 194, 212, 0.24);
  background: rgba(5,2,4,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 16px 36px rgba(0,0,0,0.26);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.review-form input,
.review-form textarea,
.review-form select {
  background:
    linear-gradient(145deg, rgba(5,2,4,0.66), rgba(33,15,22,0.60));
  border-color: rgba(255,194,212,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus {
  border-color: rgba(255, 217, 157, 0.72);
  box-shadow:
    0 0 0 4px rgba(255,194,212,0.12),
    0 0 30px rgba(255,194,212,0.12);
}

/* Scroll reveal system */
.reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(0.982);
  filter: blur(9px);
  transition:
    opacity 0.82s cubic-bezier(0.2, 0.72, 0.18, 1),
    transform 0.82s cubic-bezier(0.2, 0.72, 0.18, 1),
    filter 0.82s cubic-bezier(0.2, 0.72, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.cinematic-hero.reveal-item {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Floating accents */
.floating-book {
  background: linear-gradient(135deg, #ffc2d4 0%, #ffd99d 100%);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.50),
    0 0 34px rgba(255,194,212,0.24);
}

.floating-book::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(255,194,212,0.28);
  opacity: 0.65;
  animation: floatingBookPulse 2.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Keyframes */
@keyframes ambientBreath {
  from { opacity: 0.72; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes ambientFloatOne {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(5vw, -3vh, 0) scale(1.10); }
}

@keyframes ambientFloatTwo {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4vw, -5vh, 0) scale(1.08); }
}

@keyframes auroraSweep {
  from { transform: translate3d(-4%, 0, 0) scale(1); opacity: 0.34; }
  to { transform: translate3d(4%, 1%, 0) scale(1.04); opacity: 0.70; }
}

@keyframes spotlightPulse {
  0%, 100% { opacity: 0.36; transform: scale(0.98); }
  50% { opacity: 0.72; transform: scale(1.04); }
}

@keyframes heroCardBreathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes glassGlint {
  0%, 100% { opacity: 0.46; transform: translateX(-18%); }
  50% { opacity: 0.88; transform: translateX(18%); }
}

@keyframes buttonShine {
  0%, 48% { left: -80%; }
  60%, 100% { left: 125%; }
}

@keyframes floatingBookPulse {
  0%, 100% { transform: scale(0.98); opacity: 0.34; }
  50% { transform: scale(1.08); opacity: 0.78; }
}

/* Strong responsive cleanup for the new visual layer */
@media (max-width: 1120px) {
  .site-cursor-glow {
    display: none;
  }

  .cinematic-hero {
    min-height: auto;
  }

  .cinematic-float-card {
    width: 170px;
  }
}

@media (max-width: 860px) {
  .section::before {
    inset: 10px 8px;
    border-radius: 24px;
  }

  .cinematic-hero h1 {
    background: linear-gradient(105deg, #fff7fa, #ffc9d9 58%, #ffe0a8);
    -webkit-background-clip: text;
    background-clip: text;
  }

  #portfolio .card--image {
    min-height: auto;
  }

  #portfolio .card__img {
    min-height: 280px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto;
  }

  .gallery-item {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 640px) {
  .site-ambient {
    width: 88vw;
    height: 88vw;
    opacity: 0.16;
  }

  .cinematic-hero {
    padding-top: 96px;
  }

  .cinematic-stage__halo--one {
    width: 380px;
    height: 380px;
  }

  .cinematic-stage__halo--two {
    width: 300px;
    height: 300px;
  }

  .cinematic-float-card {
    width: 112px;
    border-radius: 20px;
  }

  .cinematic-float-card span {
    font-size: 0.55rem;
    letter-spacing: 0.10em;
  }

  .btn--primary::before {
    display: none;
  }

  .reveal-item {
    transition-delay: 0ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .site-ambient,
  .floating-book::after,
  .btn--primary::before,
  .cinematic-hero__aurora,
  .cinematic-hero__spotlight,
  .cinematic-stage__main-card,
  .cinematic-stage__main-card::before {
    animation: none !important;
  }

  .reveal-item,
  .reveal-item.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* ==========================================================
   PHASE 1 + 2 SAFETY FIX
   Keeps the immersive look, but prevents the blank-page issue.
   ========================================================== */

/* Never allow the cinematic hero or sections to remain invisible */
.cinematic-hero,
.cinematic-hero__inner,
.cinematic-hero__copy,
.cinematic-stage,
.cinematic-stage__main-card,
.cinematic-float-card,
.cinematic-about-wrap,
.cinematic-about,
.section,
.section .container {
  opacity: 1 !important;
  visibility: visible !important;
}

/* The old reveal system is now visual-only; it cannot hide content */
.reveal-item,
.reveal-item.is-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Keep all decorative cinematic layers behind the actual content */
.cinematic-hero {
  isolation: isolate;
  min-height: auto;
  padding-top: 132px;
  padding-bottom: 92px;
}

.cinematic-hero::before,
.cinematic-hero__canvas,
.cinematic-hero__grid,
.cinematic-hero__mist,
.cinematic-hero__glow,
.cinematic-hero__aurora,
.cinematic-hero__spotlight {
  z-index: 0 !important;
}

.cinematic-hero::after {
  z-index: 1 !important;
}

.cinematic-hero__inner,
.cinematic-about-wrap {
  position: relative;
  z-index: 6 !important;
}

.cinematic-hero__copy,
.cinematic-stage {
  position: relative;
  z-index: 7 !important;
}

/* Stronger visible entrance without hiding content */
.cinematic-hero__copy {
  animation: phaseHeroCopyIn 0.9s cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.cinematic-stage {
  animation: phaseStageIn 1s cubic-bezier(0.2, 0.72, 0.18, 1) 0.08s both;
}

.section > .container {
  animation: phaseSectionIn 0.82s cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

/* Stronger immersive atmosphere */
.cinematic-hero {
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 194, 212, 0.34), transparent 26%),
    radial-gradient(circle at 94% 62%, rgba(255, 217, 157, 0.24), transparent 28%),
    radial-gradient(circle at 9% 76%, rgba(175, 76, 112, 0.36), transparent 34%),
    linear-gradient(135deg, #050204 0%, #1b0911 42%, #060204 100%) !important;
}

.cinematic-hero__copy .eyebrow,
.section__eyebrow {
  text-shadow: 0 0 24px rgba(255, 194, 212, 0.28);
}

.cinematic-hero h1 {
  color: #fff7fa;
  background: linear-gradient(105deg, #fff7fa 0%, #ffc2d4 46%, #ffd99d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.70);
}

.cinematic-stage__main-card {
  z-index: 9 !important;
}

.cinematic-float-card {
  z-index: 12 !important;
}

/* Make portfolio/gallery feel more dimensional while staying stable */
.card--image,
.gallery-item,
.why-card,
.policy-card,
.before-card,
.review-card {
  will-change: transform;
}

.card--image:hover,
.gallery-item:hover,
.why-card:hover,
.policy-card:hover,
.before-card:hover,
.review-card:hover {
  transform: translateY(-10px) scale(1.012);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,194,212,0.18), transparent 36%),
    linear-gradient(180deg, transparent 48%, rgba(5,2,4,0.48));
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

@keyframes phaseHeroCopyIn {
  from { opacity: 0.001; transform: translate3d(-22px, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes phaseStageIn {
  from { opacity: 0.001; transform: perspective(1100px) translate3d(28px, 22px, 0) scale(0.985); }
  to { opacity: 1; transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
}

@keyframes phaseSectionIn {
  from { opacity: 0.001; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .cinematic-hero {
    padding-top: 108px;
  }

  .cinematic-stage {
    order: -1;
  }
}

@media (max-width: 640px) {
  .cinematic-hero {
    padding-top: 94px;
    padding-bottom: 66px;
  }

  .cinematic-hero__copy,
  .cinematic-stage,
  .section > .container {
    animation: none !important;
  }
}


/* =========================================================
   PHASE 1 VISUAL UPGRADE — SAFE OVERRIDES
   Gallery more immersive + Booking more premium
   ========================================================= */

main > section,
main > .lightbox {
  opacity: 1 !important;
  visibility: visible !important;
}

body {
  background:
    radial-gradient(circle at 15% 8%, rgba(241, 183, 198, 0.12), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(214, 167, 108, 0.08), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(241, 183, 198, 0.06), transparent 30%),
    var(--bg);
}

.section {
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.03), transparent 44%);
  opacity: 0.6;
}

/* ---------- GALLERY ---------- */
.gallery {
  overflow: hidden;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: auto 0 8% 0;
  height: 280px;
  background:
    radial-gradient(circle at 18% 50%, rgba(241,183,198,0.12), transparent 30%),
    radial-gradient(circle at 82% 40%, rgba(214,167,108,0.10), transparent 28%);
  filter: blur(30px);
  pointer-events: none;
}

.gallery .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
}

.gallery__header {
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.gallery__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.gallery__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(241,183,198,0.16);
  background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(241,183,198,0.045));
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 44px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 220px;
  aspect-ratio: auto;
  border-radius: 30px;
  border: 1px solid rgba(241,183,198,0.16);
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(241,183,198,0.04));
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  transform: translateZ(0);
  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.45s cubic-bezier(0.4, 0.0, 0.2, 1),
    border-color 0.45s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 7; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 5; }
.gallery-item:nth-child(3) { grid-column: span 4; grid-row: span 6; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 5; }
.gallery-item:nth-child(5) { grid-column: span 5; grid-row: span 6; }
.gallery-item:nth-child(6) { grid-column: span 3; grid-row: span 5; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1), filter 0.45s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.gallery-item__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,5,7,0.88) 0%, rgba(8,5,7,0.18) 44%, rgba(8,5,7,0.02) 78%),
    linear-gradient(130deg, rgba(241,183,198,0.12), transparent 42%);
  opacity: 1;
  pointer-events: none;
}

.gallery-item__meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: grid;
  gap: 6px;
  text-align: left;
  z-index: 2;
}

.gallery-item__meta strong {
  color: #fff3f7;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.gallery-item__meta small {
  color: rgba(255, 239, 245, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.95s cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(241,183,198,0.34);
  box-shadow: 0 32px 90px rgba(0,0,0,0.42);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.76) contrast(1.08) saturate(1.04);
}

.gallery-item:hover::after {
  transform: translateX(130%);
}

/* ---------- BOOKING POLICY ---------- */
.booking-policy {
  overflow: hidden;
}

.booking-policy::after {
  content: "";
  position: absolute;
  inset: 12% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,183,198,0.14), rgba(241,183,198,0));
  filter: blur(28px);
  pointer-events: none;
}

.booking-policy .container {
  position: relative;
  z-index: 1;
}

.booking-policy__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 34px;
}

.booking-policy__header {
  margin-bottom: 0;
  padding: 34px;
  border: 1px solid rgba(241,183,198,0.13);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(241,183,198,0.05));
  box-shadow: 0 24px 64px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
}

.booking-summary {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(241,183,198,0.16);
  border-radius: 32px;
  background: linear-gradient(155deg, rgba(241,183,198,0.10), rgba(255,255,255,0.03));
  box-shadow: 0 26px 72px rgba(0,0,0,0.26);
  backdrop-filter: blur(16px);
}

.booking-summary__eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(241,183,198,0.24);
  background: rgba(241,183,198,0.08);
  color: var(--rose-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-summary h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.08;
}

.booking-summary p {
  color: var(--text-muted);
}

.booking-summary__steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.booking-summary__steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(241,183,198,0.12);
  background: rgba(10,7,9,0.35);
}

.booking-summary__steps strong {
  color: var(--rose-light);
  font-size: 1rem;
}

.booking-summary__steps span {
  color: var(--text);
  font-weight: 600;
}

.booking-policy__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.policy-card {
  min-height: 100%;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(241,183,198,0.13);
  background: linear-gradient(150deg, rgba(255,255,255,0.038), rgba(241,183,198,0.045));
  box-shadow: 0 20px 60px rgba(0,0,0,0.24);
  transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.policy-card::after {
  width: 140px;
  height: 140px;
  right: -34px;
  bottom: -34px;
  border-color: rgba(241,183,198,0.16);
}

.policy-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 46px;
  margin-bottom: 20px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(241,183,198,0.14), rgba(214,167,108,0.08));
  border: 1px solid rgba(241,183,198,0.16);
}

.policy-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.policy-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.policy-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241,183,198,0.26);
  box-shadow: 0 28px 80px rgba(0,0,0,0.36);
}

.booking-policy__note {
  margin-top: 26px;
  padding: 26px 28px;
  border-radius: 28px;
  border: 1px solid rgba(241,183,198,0.16);
  background: linear-gradient(145deg, rgba(241,183,198,0.10), rgba(214,167,108,0.05));
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}

.booking-policy__note strong {
  font-size: 1.02rem;
}

.booking-policy__note p {
  color: rgba(255,241,245,0.86);
  font-weight: 500;
}

/* ---------- CONTACT / BOOKING FORM ---------- */
.contact {
  overflow: hidden;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact__content {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(241,183,198,0.12);
  background: linear-gradient(150deg, rgba(255,255,255,0.03), rgba(241,183,198,0.04));
  box-shadow: 0 20px 56px rgba(0,0,0,0.22);
}

.contact-form {
  border-radius: 32px;
  padding: 34px;
  border: 1px solid rgba(241,183,198,0.14);
  background: linear-gradient(150deg, rgba(255,255,255,0.035), rgba(241,183,198,0.05));
  box-shadow: 0 28px 78px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.form-field label {
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: 18px;
  background: rgba(7,5,6,0.5);
}

.reference-card {
  border-radius: 24px;
  border: 1px solid rgba(241,183,198,0.16);
  background: linear-gradient(155deg, rgba(241,183,198,0.08), rgba(255,255,255,0.03));
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}

.reference-card__number {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .booking-policy__top {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .gallery__chips {
    gap: 10px;
  }

  .gallery__chips span {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
    min-height: 260px;
    border-radius: 22px;
  }

  .gallery-item__meta {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .booking-policy__header,
  .booking-summary,
  .contact__content,
  .contact-form {
    padding: 22px;
    border-radius: 24px;
  }

  .booking-policy__grid {
    grid-template-columns: 1fr;
  }

  .policy-card {
    padding: 22px;
    border-radius: 22px;
  }

  .booking-policy__note {
    padding: 22px;
    border-radius: 22px;
  }
}


/* =========================================================
   PHASE 2 — CINEMATIC MOTION + DEPTH SAFE UPGRADE
   ========================================================= */

.phase2-visual {
  --phase2-rose: rgba(241, 183, 198, 0.22);
  --phase2-gold: rgba(242, 204, 148, 0.18);
  --phase2-ink: rgba(255, 246, 248, 0.08);
  background:
    radial-gradient(circle at var(--pointer-x, 24%) var(--pointer-y, 14%), rgba(241,183,198,0.10), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(242,204,148,0.06), transparent 22%),
    radial-gradient(circle at 45% 92%, rgba(95,45,64,0.18), transparent 34%),
    #0b0709;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  z-index: 5000;
  pointer-events: none;
  background: linear-gradient(90deg, var(--rose-light), var(--gold-light));
  box-shadow: 0 0 22px rgba(241,183,198,0.55);
}

.header {
  box-shadow: 0 18px 50px rgba(0,0,0,0.20);
}

.nav a:not(.btn) {
  position: relative;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-light), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4, 0.0, 0.2, 1);
  opacity: 0.78;
}

.nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg) translateX(-140%);
  opacity: 0.65;
  animation: phase2ButtonShine 5.2s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  pointer-events: none;
}

.cinematic-hero {
  border-bottom: 1px solid rgba(241,183,198,0.12);
}

.cinematic-hero__aurora {
  animation: phase2AuroraDrift 13s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.cinematic-stage__main-card {
  box-shadow:
    0 34px 120px rgba(0,0,0,0.64),
    0 0 0 1px rgba(241,183,198,0.16),
    0 0 70px rgba(241,183,198,0.13);
}

.cinematic-float-card {
  animation-duration: 7.5s;
  box-shadow:
    0 26px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 42px rgba(241,183,198,0.10);
}

main > .section {
  isolation: isolate;
}

main > .section::before {
  content: "";
  position: absolute;
  inset: 18px 20px;
  border-radius: 34px;
  border: 1px solid rgba(241,183,198,0.055);
  pointer-events: none;
  opacity: 0.75;
}

main > .section:nth-of-type(even)::before {
  border-color: rgba(242,204,148,0.055);
}

.phase2-js .phase2-reveal {
  opacity: 0.001;
  transform: translate3d(0, 26px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.72s cubic-bezier(0.4, 0.0, 0.2, 1) var(--phase-delay, 0ms),
    transform 0.72s cubic-bezier(.2,.8,.2,1) var(--phase-delay, 0ms),
    filter 0.72s cubic-bezier(0.4, 0.0, 0.2, 1) var(--phase-delay, 0ms);
}

.phase2-js .phase2-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.card,
.why-card,
.policy-card,
.before-card,
.review-card,
.faq-item,
.contact-form,
.booking-summary,
.reference-card {
  transform-style: preserve-3d;
  will-change: transform, box-shadow, border-color;
}

.card:hover,
.why-card:hover,
.policy-card:hover,
.before-card:hover,
.review-card:hover,
.faq-item:hover,
.contact-form:hover,
.booking-summary:hover,
.reference-card:hover {
  transform: perspective(1100px) translateY(-7px) rotateX(var(--phase-rx, 0deg)) rotateY(var(--phase-ry, 0deg));
  border-color: rgba(241,183,198,0.32);
  box-shadow:
    0 28px 90px rgba(0,0,0,0.38),
    0 0 48px rgba(241,183,198,0.08);
}

.card,
.why-card,
.policy-card,
.before-card,
.review-card,
.faq-item,
.contact-form,
.booking-summary,
.reference-card,
.gallery-item {
  background-image:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.13), transparent 32%),
    linear-gradient(145deg, rgba(241,183,198,0.06), rgba(255,255,255,0.018));
}

.portfolio-grid .card--image {
  border-radius: 30px;
}

.portfolio-grid .card--image::after {
  content: "VIEW WORK";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(241,183,198,0.26);
  background: rgba(11,7,9,0.42);
  backdrop-filter: blur(12px);
  color: var(--rose-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s cubic-bezier(0.4, 0.0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.portfolio-grid .card--image:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-grid .card__img {
  transition: transform 0.75s cubic-bezier(.2,.8,.2,1), filter 0.45s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.portfolio-grid .card--image:hover .card__img {
  transform: scale(1.06);
  filter: brightness(0.78) contrast(1.1) saturate(1.05);
}

.gallery-grid {
  perspective: 1400px;
}

.gallery-item {
  transform-style: preserve-3d;
  will-change: transform;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  transform: translateY(-6px) rotateZ(-0.35deg);
}

.gallery-item:nth-child(3) {
  transform: translateY(8px) rotateZ(0.35deg);
}

.gallery-item:hover {
  transform: perspective(1100px) translateY(-14px) rotateX(var(--phase-rx, 0deg)) rotateY(var(--phase-ry, 0deg)) scale(1.012) !important;
}

.gallery-item__meta {
  transform: translateY(10px);
  opacity: 0.92;
  transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.gallery-item:hover .gallery-item__meta {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item__meta strong {
  text-shadow: 0 8px 24px rgba(0,0,0,0.42);
}

.booking-summary,
.booking-policy__header,
.contact__content,
.contact-form {
  position: relative;
  overflow: hidden;
}

.booking-summary::after,
.booking-policy__header::after,
.contact__content::after,
.contact-form::after {
  content: "";
  position: absolute;
  inset: auto -18% -34% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(241,183,198,0.10);
  filter: blur(18px);
  pointer-events: none;
}

.form-experience-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.form-experience-bar span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(241,183,198,0.14);
  background: rgba(11,7,9,0.38);
  color: rgba(255,246,248,0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-experience-bar strong {
  color: var(--rose-light);
  font-family: "Playfair Display", serif;
  font-size: 1rem;
}

.booking-mini-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.booking-mini-panel span {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(241,183,198,0.15);
  background: rgba(241,183,198,0.055);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox.is-open {
  animation: phase2LightboxIn 0.25s cubic-bezier(0.4, 0.0, 0.2, 1) both;
}

.lightbox.is-open .lightbox__img {
  animation: phase2ImageIn 0.34s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes phase2ButtonShine {
  0%, 42% { transform: skewX(-18deg) translateX(-140%); }
  58%, 100% { transform: skewX(-18deg) translateX(520%); }
}

@keyframes phase2AuroraDrift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-2deg); opacity: 0.45; }
  to { transform: translate3d(2%, 2%, 0) rotate(2deg); opacity: 0.78; }
}

@keyframes phase2LightboxIn {
  from { opacity: 0; backdrop-filter: blur(0); }
  to { opacity: 1; backdrop-filter: blur(10px); }
}

@keyframes phase2ImageIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 920px) {
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(5) {
    transform: none;
  }

  .gallery-item:hover {
    transform: translateY(-8px) scale(1.01) !important;
  }
}

@media (max-width: 640px) {
  main > .section::before {
    inset: 10px;
    border-radius: 24px;
  }

  .form-experience-bar {
    grid-template-columns: 1fr;
  }

  .form-experience-bar span {
    min-height: 40px;
  }

  .phase2-js .phase2-reveal {
    transition-duration: 0.42s;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phase2-reveal,
  .phase2-js .phase2-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .btn--primary::before,
  .cinematic-hero__aurora,
  .cinematic-float-card {
    animation: none !important;
  }
}

/* =========================================================
   PREMIUM GALLERY LAUNCH + ISOLATED VORTEX MODAL
   Safe component: no scroll hijack, no global blur, no hidden sections.
   ========================================================= */

.gallery-source,
.gallery-source[hidden] {
  display: none !important;
}

.gallery-launch {
  position: relative;
  overflow: visible;
}

.gallery-launch::before {
  content: "";
  position: absolute;
  inset: 18px 20px;
  border-radius: 34px;
  border: 1px solid rgba(241,183,198,0.08);
  background:
    radial-gradient(circle at 78% 35%, rgba(241,183,198,0.12), transparent 28%),
    radial-gradient(circle at 55% 68%, rgba(214,167,108,0.07), transparent 25%);
  pointer-events: none;
}

.gallery-launch .container {
  position: relative;
  z-index: 2;
}

.gallery-launch__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 46px;
  align-items: center;
  min-height: 620px;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 38px;
  border: 1px solid rgba(241,183,198,0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.035), rgba(241,183,198,0.045)),
    radial-gradient(circle at 85% 25%, rgba(241,183,198,0.13), transparent 34%);
  box-shadow: 0 34px 110px rgba(0,0,0,0.34);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.gallery-launch__panel::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 120deg,
      transparent,
      rgba(241,183,198,0.08),
      transparent 24%,
      rgba(214,167,108,0.08),
      transparent 52%,
      rgba(255,255,255,0.04),
      transparent);
  filter: blur(18px);
  animation: premiumLaunchSpin 16s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  opacity: 0.55;
  z-index: -1;
}

.gallery-launch__content {
  max-width: 720px;
}

.gallery-launch__button {
  margin-top: 12px;
  min-width: min(100%, 330px);
  position: relative;
  overflow: hidden;
}

.gallery-launch__hint {
  margin-top: 16px;
  color: rgba(255,246,248,0.68);
  font-size: 0.95rem;
}

.gallery-launch__preview {
  position: relative;
  min-height: 480px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.gallery-launch__ring,
.gallery-launch__orb {
  position: absolute;
  pointer-events: none;
}

.gallery-launch__ring {
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(241,183,198,0.18);
  background:
    conic-gradient(from 0deg,
      transparent,
      rgba(241,183,198,0.15),
      rgba(214,167,108,0.12),
      transparent 42%,
      rgba(241,183,198,0.10),
      transparent);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%, #000 59%, transparent 61%);
          mask: radial-gradient(circle, transparent 54%, #000 56%, #000 59%, transparent 61%);
  animation: premiumLaunchSpin 8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.gallery-launch__orb {
  border-radius: 50%;
  filter: blur(18px);
}

.gallery-launch__orb--one {
  width: 230px;
  height: 230px;
  left: 14%;
  top: 12%;
  background: rgba(241,183,198,0.16);
}

.gallery-launch__orb--two {
  width: 180px;
  height: 180px;
  right: 10%;
  bottom: 8%;
  background: rgba(214,167,108,0.13);
}

.gallery-launch__thumb {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(241,183,198,0.20);
  background: #171014;
  box-shadow: 0 28px 80px rgba(0,0,0,0.42);
  transform-style: preserve-3d;
  animation: premiumThumbFloat 4.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.gallery-launch__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06);
}

.gallery-launch__thumb--one {
  width: 58%;
  height: 58%;
  left: 0;
  top: 12%;
  transform: rotate(-8deg) translateZ(30px);
}

.gallery-launch__thumb--two {
  width: 44%;
  height: 44%;
  right: 0;
  top: 0;
  transform: rotate(10deg) translateZ(70px);
  animation-delay: -1.1s;
}

.gallery-launch__thumb--three {
  width: 46%;
  height: 40%;
  right: 8%;
  bottom: 6%;
  transform: rotate(-5deg) translateZ(50px);
  animation-delay: -2.2s;
}

/* Fullscreen premium modal */
.premium-gallery-open {
  overflow: hidden;
}

.premium-gallery {
  position: fixed;
  inset: 0;
  z-index: 3600;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0.0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.premium-gallery.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.premium-gallery__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(241,183,198,0.13), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(214,167,108,0.09), transparent 28%),
    rgba(7, 3, 6, 0.93);
  backdrop-filter: blur(20px);
}

.premium-gallery__shell {
  position: relative;
  min-height: 100svh;
  width: 100%;
  padding: clamp(26px, 4vw, 54px);
  overflow-y: auto;
  isolation: isolate;
}

.premium-gallery__close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(241,183,198,0.28);
  background: rgba(14,9,12,0.74);
  color: #fff6f8;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0,0,0,0.36);
}

.premium-gallery__intro {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 24px auto 26px;
  text-align: center;
}

.premium-gallery__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(241,183,198,0.18);
  color: var(--rose-light);
  background: rgba(241,183,198,0.07);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.premium-gallery__intro h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.premium-gallery__intro p,
.premium-gallery__note {
  color: rgba(255,246,248,0.72);
}

.premium-gallery__vortex {
  position: fixed;
  left: 50%;
  top: 52%;
  width: min(760px, 86vw);
  height: min(760px, 86vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.premium-gallery__core,
.premium-gallery__ring,
.premium-gallery__beam {
  position: absolute;
  display: block;
  pointer-events: none;
}

.premium-gallery__core {
  left: 50%;
  top: 50%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle,
      rgba(255,255,255,0.72) 0%,
      rgba(241,183,198,0.28) 14%,
      rgba(126,214,255,0.10) 34%,
      transparent 68%);
  filter: blur(12px);
  animation: premiumCorePulse 2.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}

.premium-gallery__ring {
  inset: 9%;
  border-radius: 50%;
  border: 1px solid rgba(241,183,198,0.15);
  background:
    conic-gradient(from 0deg,
      transparent,
      rgba(241,183,198,0.22),
      rgba(214,167,108,0.16),
      transparent 36%,
      rgba(118,195,255,0.10),
      transparent 66%,
      rgba(241,183,198,0.18),
      transparent);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%, #000 59%, transparent 61%);
          mask: radial-gradient(circle, transparent 54%, #000 55%, #000 59%, transparent 61%);
  animation: premiumLaunchSpin 8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.premium-gallery__ring--two {
  inset: 22%;
  opacity: 0.75;
  animation-duration: 6s;
  animation-direction: reverse;
}

.premium-gallery__ring--three {
  inset: 34%;
  opacity: 0.55;
  animation-duration: 4.5s;
}

.premium-gallery__beam {
  left: 50%;
  top: 50%;
  width: 22%;
  height: 112%;
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(22deg);
  background:
    linear-gradient(to bottom,
      transparent,
      rgba(241,183,198,0.08),
      rgba(126,214,255,0.17),
      rgba(241,183,198,0.16),
      rgba(214,167,108,0.10),
      transparent);
  filter: blur(17px);
  animation: premiumBeamSpin 7s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.premium-gallery__beam--two {
  transform: translate(-50%, -50%) rotate(110deg);
  animation-duration: 9s;
  animation-direction: reverse;
  opacity: 0.68;
}

.premium-gallery__stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 62px;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 38px;
}

.premium-gallery__card {
  appearance: none;
  border: 1px solid rgba(241,183,198,0.20);
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 230px;
  border-radius: 30px;
  background: #140c10;
  box-shadow: 0 30px 90px rgba(0,0,0,0.38);
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 90px, 0) rotate(-10deg) scale(0.72);
  filter: blur(10px);
}

.premium-gallery.is-active .premium-gallery__card {
  animation: premiumCardSpread 1.05s cubic-bezier(.2,.86,.18,1) forwards;
  animation-delay: var(--premium-delay, 0ms);
}

.premium-gallery__card:nth-child(1) { grid-column: span 5; grid-row: span 6; --premium-x: -220px; --premium-y: -110px; --premium-r: -32deg; }
.premium-gallery__card:nth-child(2) { grid-column: span 3; grid-row: span 5; --premium-x: 190px; --premium-y: -140px; --premium-r: 28deg; }
.premium-gallery__card:nth-child(3) { grid-column: span 4; grid-row: span 6; --premium-x: 260px; --premium-y: 40px; --premium-r: -22deg; }
.premium-gallery__card:nth-child(4) { grid-column: span 4; grid-row: span 5; --premium-x: -260px; --premium-y: 100px; --premium-r: 34deg; }
.premium-gallery__card:nth-child(5) { grid-column: span 5; grid-row: span 6; --premium-x: 20px; --premium-y: 230px; --premium-r: -18deg; }
.premium-gallery__card:nth-child(6) { grid-column: span 3; grid-row: span 5; --premium-x: 210px; --premium-y: 190px; --premium-r: 26deg; }

.premium-gallery__card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(.2,.8,.2,1), filter 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.premium-gallery__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,5,7,0.88), rgba(8,5,7,0.18) 48%, transparent 78%),
    radial-gradient(circle at 50% 110%, rgba(241,183,198,0.16), transparent 48%);
  pointer-events: none;
}

.premium-gallery__card-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  text-align: left;
  z-index: 2;
}

.premium-gallery__card-meta strong {
  color: #fff6f8;
  font-size: 1.02rem;
  line-height: 1.1;
}

.premium-gallery__card-meta small {
  color: rgba(255,246,248,0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.premium-gallery__card:hover {
  border-color: rgba(241,183,198,0.42);
  box-shadow: 0 36px 110px rgba(0,0,0,0.54), 0 0 38px rgba(241,183,198,0.12);
}

.premium-gallery__card:hover img {
  transform: scale(1.07);
  filter: brightness(0.82) contrast(1.08);
}

.premium-gallery__note {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto 26px;
  font-size: 0.92rem;
}

/* Existing full-screen lightbox stays above the premium modal */
.lightbox {
  z-index: 4300;
}

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

@keyframes premiumBeamSpin {
  to { transform: translate(-50%, -50%) rotate(382deg); }
}

@keyframes premiumCorePulse {
  from { opacity: 0.35; transform: translate(-50%, -50%) scale(0.82); }
  to { opacity: 0.92; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes premiumThumbFloat {
  from { translate: 0 0; }
  to { translate: 0 -18px; }
}

@keyframes premiumCardSpread {
  0% {
    opacity: 0;
    transform:
      translate3d(var(--premium-x, 0), var(--premium-y, 0), 0)
      rotate(var(--premium-r, 0deg))
      scale(0.46);
    filter: blur(18px) brightness(0.58);
  }

  62% {
    opacity: 1;
    transform:
      translate3d(calc(var(--premium-x, 0) * 0.16), calc(var(--premium-y, 0) * 0.16), 0)
      rotate(calc(var(--premium-r, 0deg) * 0.18))
      scale(1.025);
    filter: blur(0) brightness(1);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@media (max-width: 1040px) {
  .gallery-launch__panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gallery-launch__preview {
    min-height: 430px;
  }

  .premium-gallery__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .premium-gallery__card,
  .premium-gallery__card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  .gallery-launch__panel {
    padding: 24px;
    border-radius: 26px;
  }

  .gallery-launch__preview {
    min-height: 320px;
  }

  .gallery-launch__thumb--one {
    width: 66%;
    height: 58%;
  }

  .gallery-launch__thumb--two,
  .gallery-launch__thumb--three {
    width: 48%;
    height: 40%;
  }

  .premium-gallery__shell {
    padding: 72px 16px 28px;
  }

  .premium-gallery__intro {
    text-align: left;
  }

  .premium-gallery__stage {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .premium-gallery__card,
  .premium-gallery__card:nth-child(n) {
    min-height: 280px;
    border-radius: 24px;
    animation-delay: 0ms !important;
  }

  .premium-gallery__vortex {
    width: 92vw;
    height: 92vw;
    opacity: 0.34;
  }

  .premium-gallery__close {
    top: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-launch__panel::after,
  .gallery-launch__ring,
  .gallery-launch__thumb,
  .premium-gallery__core,
  .premium-gallery__ring,
  .premium-gallery__beam,
  .premium-gallery.is-active .premium-gallery__card {
    animation: none !important;
  }

  .premium-gallery__card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* =========================================================
   PREMIUM IXD HARDENING v150
   Applied standards: A11Y focus, natural easing, GPU-safe motion,
   stable isolated premium gallery modal, no global blur/hiding.
   ========================================================= */

:root {
  /* Imported premium design tokens */
  --color-bg-primary: #0b0f19;
  --color-bg-secondary: #161b26;
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-accent: #6366f1;
  --color-border-premium: rgba(255, 255, 255, 0.08);
  --font-display: 'Inter', -apple-system, sans-serif;
  --tracking-tight: -0.02em;
  --tracking-wide: 0.05em;
  --shadow-premium-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.3);
  --shadow-premium-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --blur-premium: blur(12px);

  /* Motion system */
  --motion-fast: 180ms;
  --motion-modal: 360ms;
  --ease-premium-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-premium-in: cubic-bezier(0.4, 0.0, 1, 1);
  --ease-premium-standard: cubic-bezier(0.4, 0.0, 0.2, 1);

  /* Brand-mapped premium accents */
  --brand-surface-premium: rgba(22, 27, 38, 0.58);
  --brand-border-premium: rgba(255, 220, 230, 0.14);
  --brand-focus-premium: rgba(241, 183, 198, 0.58);
}

html {
  scroll-padding-top: 96px;
}

body.premium-ixd {
  background:
    radial-gradient(circle at 18% 4%, rgba(241, 183, 198, 0.12), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(214, 167, 108, 0.08), transparent 24%),
    var(--bg);
}

/* A11Y: visible focus for every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-focus-premium);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(241, 183, 198, 0.12);
}

/* GPU-safe microinteractions */
.btn,
.nav a,
.card,
.why-card,
.policy-card,
.review-card,
.before-card,
.faq-item,
.gallery-launch__button,
.gallery-launch__thumb,
.premium-gallery__card,
.premium-gallery__close,
.lightbox__close,
.lightbox__nav,
.floating-book {
  transition-property: transform, opacity, border-color, background-color, box-shadow, color;
  transition-duration: var(--motion-fast);
  transition-timing-function: var(--ease-premium-standard);
}

.btn:active,
.gallery-launch__button:active,
.premium-gallery__card:active,
.floating-book:active {
  transform: translate3d(0, 1px, 0) scale(0.985);
}

/* Disable old scroll-vortex classes permanently */
.gallery-scroll-vortex-ready,
.gallery-scroll-vortex-active,
.gallery-scroll-vortex-done,
.gallery-orbit {
  transform: none !important;
  filter: none !important;
  opacity: 1;
}

.gallery-orbit {
  display: none !important;
}

/* Gallery launch panel: stable, premium, no layout shift */
.gallery-launch__panel {
  background:
    linear-gradient(145deg, rgba(22, 27, 38, 0.54), rgba(241, 183, 198, 0.055)),
    radial-gradient(circle at 86% 24%, rgba(241,183,198,0.13), transparent 34%);
  border-color: var(--brand-border-premium);
  box-shadow: var(--shadow-premium-lg), 0 34px 110px rgba(0,0,0,0.24);
  backdrop-filter: var(--blur-premium);
}

.gallery-launch__panel::after,
.gallery-launch__ring,
.premium-gallery__ring,
.premium-gallery__beam,
.premium-gallery__core {
  animation-duration: var(--motion-modal) !important;
  animation-timing-function: var(--ease-premium-standard) !important;
  animation-iteration-count: 1 !important;
}

.gallery-launch__thumb {
  aspect-ratio: 4 / 5;
  transition-property: transform, opacity, box-shadow, border-color;
  will-change: auto;
}

.gallery-launch__thumb:hover {
  transform: translate3d(0, -6px, 0) rotate(var(--hover-rotate, 0deg));
}

.gallery-launch__thumb--one { --hover-rotate: -8deg; }
.gallery-launch__thumb--two { --hover-rotate: 10deg; }
.gallery-launch__thumb--three { --hover-rotate: -5deg; }

/* Premium modal: isolated component */
.premium-gallery {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--motion-modal) var(--ease-premium-out),
    visibility 0ms var(--ease-premium-standard) var(--motion-modal);
}

.premium-gallery.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--motion-modal) var(--ease-premium-out),
    visibility 0ms var(--ease-premium-standard) 0ms;
}

.premium-gallery__shell {
  outline: none;
  transform: translate3d(0, 14px, 0) scale(0.985);
  opacity: 0.001;
  transition:
    transform var(--motion-modal) var(--ease-premium-out),
    opacity var(--motion-modal) var(--ease-premium-out);
  background:
    radial-gradient(circle at 74% 18%, rgba(241,183,198,0.12), transparent 32%),
    linear-gradient(145deg, rgba(11,15,25,0.92), rgba(22,27,38,0.76));
  border-color: var(--color-border-premium);
  box-shadow: var(--shadow-premium-lg), 0 30px 110px rgba(0,0,0,0.58);
}

.premium-gallery.is-active .premium-gallery__shell {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.premium-gallery__vortex {
  opacity: 0.72;
  transform: translate3d(0, 0, 0) scale(0.98);
  transition:
    transform var(--motion-modal) var(--ease-premium-out),
    opacity var(--motion-modal) var(--ease-premium-out);
}

.premium-gallery.is-active .premium-gallery__vortex {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.premium-gallery__card {
  aspect-ratio: 4 / 5;
  opacity: 0.001;
  transform:
    translate3d(var(--premium-x, 0), var(--premium-y, 0), 0)
    rotate(var(--premium-r, 0deg))
    scale(0.82);
  transition:
    transform var(--motion-modal) var(--ease-premium-out) var(--premium-delay, 0ms),
    opacity var(--motion-modal) var(--ease-premium-out) var(--premium-delay, 0ms),
    box-shadow var(--motion-fast) var(--ease-premium-standard),
    border-color var(--motion-fast) var(--ease-premium-standard);
  will-change: transform, opacity;
}

.premium-gallery.is-active .premium-gallery__card {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.premium-gallery__card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--motion-fast) var(--ease-premium-standard);
}

.premium-gallery__card:hover {
  transform: translate3d(0, -6px, 0) scale(1.012) !important;
  border-color: rgba(241,183,198,0.32);
}

.premium-gallery__card:hover img {
  transform: scale(1.035);
}

.premium-gallery__close {
  min-width: 44px;
  min-height: 44px;
}

.lightbox.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Keep all content visible no matter what JS does */
main > section,
main > section > .container,
.section-header,
.services-grid,
.portfolio-grid,
.why-grid,
.booking-policy__top,
.booking-policy__grid,
.faq-list,
.reviews-grid,
.before-grid,
.contact__inner,
.contact-form,
.review-submit-box,
.card,
.why-card,
.policy-card,
.faq-item,
.review-card,
.before-card {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 920px) {
  .premium-gallery__shell {
    transform: translate3d(0, 10px, 0) scale(0.99);
  }

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

  .premium-gallery__card,
  .premium-gallery__card:nth-child(n) {
    grid-column: auto !important;
    grid-row: auto !important;
    transform: translate3d(0, 12px, 0) scale(0.96);
  }

  .premium-gallery.is-active .premium-gallery__card,
  .premium-gallery__card:hover {
    transform: translate3d(0, 0, 0) scale(1) !important;
  }
}

@media (max-width: 640px) {
  .gallery-launch__panel {
    min-height: auto;
    padding: clamp(22px, 7vw, 34px);
  }

  .gallery-launch__preview {
    min-height: 320px;
  }

  .premium-gallery__shell {
    border-radius: 0;
  }

  .premium-gallery__stage {
    grid-template-columns: 1fr;
  }
}

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

  .premium-gallery__card,
  .premium-gallery__shell,
  .premium-gallery__vortex {
    transform: none !important;
    opacity: 1 !important;
  }
}


/* =========================================================
   PREMIUM GALLERY PATCH v151 — scrollable, isolated, return-safe
   ========================================================= */

.premium-gallery-open {
  overflow: hidden;
}

.premium-gallery {
  position: fixed;
  inset: 0;
  z-index: 3600;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #070910;
  transition:
    opacity 360ms cubic-bezier(0.0, 0.0, 0.2, 1),
    visibility 0ms cubic-bezier(0.4, 0.0, 0.2, 1) 360ms;
}

.premium-gallery.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 360ms cubic-bezier(0.0, 0.0, 0.2, 1),
    visibility 0ms cubic-bezier(0.4, 0.0, 0.2, 1) 0ms;
}

.premium-gallery__backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(241,183,198,0.12), transparent 32%),
    radial-gradient(circle at 76% 18%, rgba(214,167,108,0.10), transparent 28%),
    linear-gradient(180deg, rgba(7,9,16,0.96), rgba(11,7,9,0.96));
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.premium-gallery__topbar {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.premium-gallery__return,
.premium-gallery__close {
  pointer-events: auto;
  border: 1px solid rgba(241,183,198,0.24);
  background: rgba(14,9,12,0.72);
  color: #fff6f8;
  box-shadow: 0 18px 48px rgba(0,0,0,0.36);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.4, 0.0, 0.2, 1),
    border-color 180ms cubic-bezier(0.4, 0.0, 0.2, 1),
    background 180ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.premium-gallery__return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
}

.premium-gallery__return span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(241,183,198,0.12);
}

.premium-gallery__return strong {
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.premium-gallery__close {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
}

.premium-gallery__return:hover,
.premium-gallery__close:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(241,183,198,0.46);
  background: rgba(28,18,24,0.82);
}

.premium-gallery__return:focus-visible,
.premium-gallery__close:focus-visible,
.premium-gallery__card:focus-visible {
  outline: 3px solid rgba(255,218,229,0.82);
  outline-offset: 4px;
}

.premium-gallery__shell {
  position: relative;
  z-index: 2;
  height: 100svh;
  max-height: 100svh;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(86px, 9vw, 112px) clamp(18px, 4vw, 54px) clamp(34px, 5vw, 58px);
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  transform: none;
  isolation: isolate;
}

.premium-gallery__shell::before {
  content: "";
  position: fixed;
  inset: auto 8% 4% 8%;
  height: 34%;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(241,183,198,0.08), transparent 68%);
  pointer-events: none;
  opacity: 0.85;
}

.premium-gallery__intro {
  margin: 0 auto clamp(28px, 4vw, 42px);
  padding-inline: clamp(4px, 2vw, 18px);
}

.premium-gallery__intro h2 {
  font-size: clamp(3.2rem, 8vw, 7.6rem);
}

.premium-gallery__vortex {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(760px, 86vw);
  height: min(760px, 86vw);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.82) rotate(-18deg);
  mix-blend-mode: screen;
  transition:
    transform 380ms cubic-bezier(0.0, 0.0, 0.2, 1),
    opacity 380ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.premium-gallery.is-active .premium-gallery__vortex {
  opacity: 0.82;
  transform: translate3d(-50%, -50%, 0) scale(1) rotate(0deg);
}

.premium-gallery__ring,
.premium-gallery__beam,
.premium-gallery__core {
  will-change: transform, opacity;
}

.premium-gallery__ring {
  animation: premiumVortexSpin 420ms cubic-bezier(0.0, 0.0, 0.2, 1) both;
}

.premium-gallery__ring--two {
  animation-direction: reverse;
}

.premium-gallery__ring--three {
  animation-duration: 380ms;
}

.premium-gallery__beam {
  animation: premiumVortexBeam 400ms cubic-bezier(0.0, 0.0, 0.2, 1) both;
}

.premium-gallery__stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(46px, 5vw, 64px);
  gap: clamp(14px, 2vw, 22px);
  width: min(1180px, 100%);
  min-height: auto;
  margin: 0 auto;
  padding-bottom: clamp(22px, 5vw, 54px);
}

.premium-gallery__card {
  min-height: clamp(220px, 31vw, 410px);
  aspect-ratio: auto;
  border-radius: clamp(20px, 2.3vw, 32px);
  opacity: 0;
  filter: none !important;
  transform:
    translate3d(var(--premium-x, 0), var(--premium-y, 0), 0)
    rotate(var(--premium-r, 0deg))
    scale(0.82);
  transition:
    transform 380ms cubic-bezier(0.0, 0.0, 0.2, 1) var(--premium-delay, 0ms),
    opacity 260ms cubic-bezier(0.0, 0.0, 0.2, 1) var(--premium-delay, 0ms),
    box-shadow 180ms cubic-bezier(0.4, 0.0, 0.2, 1),
    border-color 180ms cubic-bezier(0.4, 0.0, 0.2, 1);
  will-change: transform, opacity;
}

.premium-gallery.is-active .premium-gallery__card {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.premium-gallery__card:nth-child(1) { grid-column: span 5; grid-row: span 6; --premium-x: -160px; --premium-y: -90px; --premium-r: -24deg; }
.premium-gallery__card:nth-child(2) { grid-column: span 3; grid-row: span 5; --premium-x: 140px; --premium-y: -120px; --premium-r: 22deg; }
.premium-gallery__card:nth-child(3) { grid-column: span 4; grid-row: span 6; --premium-x: 190px; --premium-y: 20px; --premium-r: -18deg; }
.premium-gallery__card:nth-child(4) { grid-column: span 4; grid-row: span 5; --premium-x: -190px; --premium-y: 80px; --premium-r: 24deg; }
.premium-gallery__card:nth-child(5) { grid-column: span 5; grid-row: span 6; --premium-x: 20px; --premium-y: 160px; --premium-r: -16deg; }
.premium-gallery__card:nth-child(6) { grid-column: span 3; grid-row: span 5; --premium-x: 160px; --premium-y: 130px; --premium-r: 18deg; }
.premium-gallery__card:nth-child(7n) { grid-column: span 4; grid-row: span 5; --premium-x: -130px; --premium-y: 110px; --premium-r: -20deg; }
.premium-gallery__card:nth-child(8n) { grid-column: span 4; grid-row: span 6; --premium-x: 150px; --premium-y: -80px; --premium-r: 16deg; }
.premium-gallery__card:nth-child(9n) { grid-column: span 3; grid-row: span 5; --premium-x: -110px; --premium-y: -120px; --premium-r: 20deg; }

.premium-gallery__card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 180ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.premium-gallery__card:hover {
  transform: translate3d(0, -6px, 0) scale(1.012) !important;
}

.premium-gallery__card:hover img {
  transform: scale(1.035);
}

.premium-gallery__note {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
  padding-bottom: 28px;
}

@keyframes premiumVortexSpin {
  from { transform: rotate(-80deg) scale(0.78); opacity: 0; }
  to { transform: rotate(0deg) scale(1); opacity: 1; }
}

@keyframes premiumVortexBeam {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-28deg) scaleY(0.74); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(22deg) scaleY(1); }
}

@media (max-width: 920px) {
  .premium-gallery__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .premium-gallery__card,
  .premium-gallery__card:nth-child(n) {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto;
    aspect-ratio: 4 / 5;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }

  .premium-gallery.is-active .premium-gallery__card,
  .premium-gallery__card:hover {
    transform: translate3d(0, 0, 0) scale(1) !important;
  }
}

@media (max-width: 640px) {
  .premium-gallery__topbar {
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
  }

  .premium-gallery__return {
    min-height: 44px;
    padding-inline: 13px;
  }

  .premium-gallery__return strong {
    font-size: 0.8rem;
  }

  .premium-gallery__close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .premium-gallery__shell {
    height: 100dvh;
    max-height: 100dvh;
    padding-top: 82px;
    padding-inline: 14px;
  }

  .premium-gallery__stage {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .premium-gallery__vortex {
    width: 96vw;
    height: 96vw;
    opacity: 0.46;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-gallery,
  .premium-gallery__shell,
  .premium-gallery__vortex,
  .premium-gallery__card {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .premium-gallery__card,
  .premium-gallery.is-active .premium-gallery__card {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =========================================================
   PREMIUM GALLERY PATCH v152 — true scroll-driven 3D vortex
   Isolated modal component. No global section blur/opacity.
   ========================================================= */

.premium-gallery {
  --premium-motion-progress: 0;
  --premium-ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --premium-ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  background: #070910;
}

.premium-gallery.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.premium-gallery__shell {
  height: 100svh !important;
  max-height: 100svh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: clamp(86px, 9vw, 112px) 0 0 !important;
  perspective: 1400px;
  transform-style: preserve-3d;
  scroll-behavior: smooth;
}

.premium-gallery__intro,
.premium-gallery__note {
  width: min(1180px, calc(100% - clamp(28px, 7vw, 96px)));
  margin-inline: auto;
}

.premium-gallery__intro {
  min-height: clamp(170px, 22svh, 260px);
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: clamp(14px, 2vw, 24px) !important;
}

.premium-gallery__intro h2 {
  max-width: 980px;
  margin-inline: auto;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.premium-gallery__intro p {
  max-width: 680px;
  margin-inline: auto;
}

.premium-gallery__motion {
  position: relative;
  min-height: calc(100svh + 324svh);
  width: 100%;
  isolation: isolate;
}

.premium-gallery__viewport {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.premium-gallery__viewport::before,
.premium-gallery__viewport::after {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 999px;
  pointer-events: none;
  opacity: calc(0.22 + var(--premium-motion-progress, 0) * 0.34);
  transform: translate3d(0, 0, 0) scale(calc(0.88 + var(--premium-motion-progress, 0) * 0.18));
}

.premium-gallery__viewport::before {
  background:
    radial-gradient(circle at 48% 46%, rgba(255,255,255,0.22), transparent 8%),
    radial-gradient(circle at 34% 54%, rgba(241,183,198,0.30), transparent 24%),
    radial-gradient(circle at 66% 42%, rgba(214,167,108,0.22), transparent 25%),
    radial-gradient(circle at 52% 62%, rgba(120,160,255,0.16), transparent 34%);
}

.premium-gallery__viewport::after {
  inset: 18% 18%;
  border: 1px solid rgba(241,183,198,0.12);
  box-shadow:
    inset 0 0 80px rgba(241,183,198,0.06),
    0 0 90px rgba(99,102,241,0.10);
}

.premium-gallery__vortex {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: min(760px, 78vw) !important;
  height: min(760px, 78vw) !important;
  z-index: 1 !important;
  opacity: 0.2;
  transform: translate3d(-50%, -50%, 0) scale(0.88) rotate(0deg);
  pointer-events: none !important;
  mix-blend-mode: screen;
  transition: opacity 180ms var(--premium-ease-standard);
}

.premium-gallery__ring,
.premium-gallery__beam,
.premium-gallery__core {
  animation: none !important;
  will-change: transform, opacity;
}

.premium-gallery__ring {
  border-color: rgba(241,183,198,0.20) !important;
  opacity: calc(0.42 + var(--premium-motion-progress, 0) * 0.36);
  transform: rotate(calc(var(--premium-motion-progress, 0) * 240deg)) scale(calc(0.82 + var(--premium-motion-progress, 0) * 0.16));
}

.premium-gallery__ring--two {
  transform: rotate(calc(var(--premium-motion-progress, 0) * -320deg)) scale(calc(0.72 + var(--premium-motion-progress, 0) * 0.22));
}

.premium-gallery__ring--three {
  transform: rotate(calc(var(--premium-motion-progress, 0) * 420deg)) scale(calc(0.58 + var(--premium-motion-progress, 0) * 0.28));
}

.premium-gallery__beam {
  opacity: calc(0.18 + var(--premium-motion-progress, 0) * 0.48);
  transform: translate(-50%, -50%) rotate(calc(18deg + var(--premium-motion-progress, 0) * 160deg)) scaleY(calc(0.7 + var(--premium-motion-progress, 0) * 0.35));
}

.premium-gallery__beam--two {
  transform: translate(-50%, -50%) rotate(calc(-34deg + var(--premium-motion-progress, 0) * -190deg)) scaleY(calc(0.72 + var(--premium-motion-progress, 0) * 0.36));
}

.premium-gallery__core {
  transform: translate(-50%, -50%) scale(calc(0.76 + var(--premium-motion-progress, 0) * 0.46));
  opacity: calc(0.28 + var(--premium-motion-progress, 0) * 0.38);
}

.premium-gallery__stage {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.premium-gallery__card,
.premium-gallery__card:nth-child(n) {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: 0 !important;
  max-width: min(78vw, 430px);
  max-height: min(70svh, 520px);
  padding: 0 !important;
  border-radius: clamp(20px, 2.2vw, 32px) !important;
  opacity: 0;
  overflow: hidden;
  border: 1px solid rgba(241,183,198,0.22) !important;
  background: rgba(22,27,38,0.78) !important;
  box-shadow:
    0 20px 40px -15px rgba(0,0,0,0.62),
    0 0 0 1px rgba(255,255,255,0.05),
    0 0 56px rgba(241,183,198,0.07) !important;
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition:
    box-shadow 180ms cubic-bezier(0.4, 0.0, 0.2, 1),
    border-color 180ms cubic-bezier(0.4, 0.0, 0.2, 1),
    opacity 180ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.premium-gallery__card img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  transform: translate3d(0, 0, 0) scale(1.015);
  transition: transform 180ms cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.premium-gallery__card:hover {
  border-color: rgba(255,218,229,0.48) !important;
  box-shadow:
    0 28px 54px -18px rgba(0,0,0,0.76),
    0 0 0 1px rgba(255,255,255,0.09),
    0 0 74px rgba(241,183,198,0.16) !important;
}

.premium-gallery__card:hover img {
  transform: translate3d(0, 0, 0) scale(1.045) !important;
}

.premium-gallery__card-meta {
  left: 16px !important;
  right: 16px !important;
  bottom: 15px !important;
  padding: 0 !important;
  transform: translate3d(0, 0, 0);
}

.premium-gallery__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 5vw, 48px);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(241,183,198,0.18);
  color: rgba(255,246,248,0.72);
  background: rgba(14,9,12,0.42);
  backdrop-filter: blur(12px);
  transform: translate3d(-50%, 0, 0);
  opacity: calc(0.88 - var(--premium-motion-progress, 0) * 0.75);
  pointer-events: none;
}

.premium-gallery__scroll-hint span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc2d4, #ffd99d);
  box-shadow: 0 0 20px rgba(241,183,198,0.46);
}

.premium-gallery__scroll-hint strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.premium-gallery__note {
  position: relative;
  z-index: 5;
  min-height: clamp(130px, 22svh, 190px);
  display: grid;
  place-items: start center;
  text-align: center;
  padding-top: 22px;
  padding-bottom: clamp(42px, 8vw, 74px) !important;
}

.lightbox.is-open {
  z-index: 4300 !important;
}

@media (max-width: 760px) {
  .premium-gallery__intro {
    min-height: 150px;
  }

  .premium-gallery__viewport {
    min-height: 560px;
  }

  .premium-gallery__motion {
    min-height: calc(100svh + 380svh);
  }

  .premium-gallery__vortex {
    width: 104vw !important;
    height: 104vw !important;
  }

  .premium-gallery__scroll-hint {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-gallery__motion {
    min-height: auto !important;
  }

  .premium-gallery__viewport {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 18px 14px 30px;
  }

  .premium-gallery__stage {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
    gap: 16px !important;
  }

  .premium-gallery__card,
  .premium-gallery__card:nth-child(n) {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .premium-gallery__vortex,
  .premium-gallery__scroll-hint {
    display: none !important;
  }
}

/* ==========================================================
   V153 — PREMIUM THREE.JS GALLERY ARCHITECTURE
   Isolated WebGL modal, GPU-first motion, accessible controls.
   ========================================================== */

:root {
  --color-bg-primary: #0b0f19;
  --color-bg-secondary: #161b26;
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-accent: #f1b7c6;
  --color-border-premium: rgba(255, 255, 255, 0.08);
  --shadow-premium-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.3);
  --shadow-premium-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --blur-premium: blur(12px);
  --ease-premium-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-premium-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-premium-io: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-micro: 180ms;
  --duration-modal: 340ms;
}

.scroll-progress {
  width: 100% !important;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--ease-premium-io);
}

:where(a, button, input, textarea, select, summary):focus-visible,
.premium-gallery button:focus-visible,
.three-gallery__fallback-card:focus-visible {
  outline: 2px solid rgba(255, 218, 231, 0.96);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(241, 183, 198, 0.16);
}

.gallery-launch {
  position: relative;
  overflow: hidden;
}

.gallery-launch__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: clamp(480px, 62vw, 660px);
  padding: clamp(28px, 5.4vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at var(--pointer-x, 72%) var(--pointer-y, 28%), rgba(241,183,198,0.18), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(242,204,148,0.13), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018));
  box-shadow: var(--shadow-premium-lg);
  transform: translateZ(0);
}

.gallery-launch__panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(241,183,198,0.10), transparent 40%, rgba(242,204,148,0.09));
  pointer-events: none;
}

.gallery-launch__content {
  max-width: 680px;
}

.gallery-launch__button {
  position: relative;
  margin-top: clamp(10px, 2vw, 18px);
  min-height: 58px;
  padding-inline: 28px;
  overflow: hidden;
  transition: transform var(--duration-micro) var(--ease-premium-io), opacity var(--duration-micro) var(--ease-premium-io);
}

.gallery-launch__button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.44) 48%, transparent 100%);
  opacity: 0;
  transform: translate3d(-115%, 0, 0);
  transition: transform 380ms var(--ease-premium-out), opacity 180ms var(--ease-premium-io);
  pointer-events: none;
}

.gallery-launch__button:hover::after,
.gallery-launch__button:focus-visible::after {
  opacity: 0.46;
  transform: translate3d(115%, 0, 0);
}

.gallery-launch__button:active {
  transform: translate3d(0, 1px, 0) scale(0.985);
}

.gallery-launch__hint {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
}

.gallery-launch__preview {
  position: relative;
  min-height: clamp(320px, 46vw, 520px);
  perspective: 1200px;
}

.gallery-launch__orb,
.gallery-launch__ring {
  position: absolute;
  pointer-events: none;
}

.gallery-launch__orb {
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.66;
}

.gallery-launch__orb--one {
  left: 10%;
  top: 16%;
  width: 190px;
  height: 190px;
  background: rgba(241, 183, 198, 0.20);
}

.gallery-launch__orb--two {
  right: 4%;
  bottom: 7%;
  width: 240px;
  height: 240px;
  background: rgba(242, 204, 148, 0.14);
}

.gallery-launch__ring {
  inset: 9% 6% 12% 0;
  border-radius: 50%;
  border: 1px solid rgba(241, 183, 198, 0.20);
  transform: rotateX(68deg) rotateZ(-24deg);
  opacity: 0.74;
}

.gallery-launch__thumb {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0,0,0,0.44);
  transform-style: preserve-3d;
  transition: transform 340ms var(--ease-premium-out), opacity 180ms var(--ease-premium-io);
}

.gallery-launch__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.gallery-launch__thumb--one {
  left: 2%;
  top: 13%;
  width: 46%;
  transform: translate3d(0, 0, 90px) rotateZ(-7deg);
}

.gallery-launch__thumb--two {
  right: 5%;
  top: 4%;
  width: 38%;
  transform: translate3d(0, 0, 170px) rotateZ(8deg);
}

.gallery-launch__thumb--three {
  left: 34%;
  bottom: 2%;
  width: 42%;
  transform: translate3d(0, 0, 130px) rotateZ(3deg);
}

.gallery-source[hidden] {
  display: none !important;
}

.premium-gallery-open {
  overflow: hidden !important;
}

.premium-gallery {
  position: fixed !important;
  inset: 0 !important;
  z-index: 5000 !important;
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(241,183,198,0.09), transparent 30%),
    radial-gradient(circle at 68% 62%, rgba(242,204,148,0.08), transparent 28%),
    #05060d !important;
  color: var(--color-text-main);
  transition: opacity var(--duration-modal) var(--ease-premium-out), visibility var(--duration-modal) var(--ease-premium-out) !important;
  contain: layout paint style;
}

.premium-gallery.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.premium-gallery__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 22%, rgba(241,183,198,0.10), transparent 28%),
    radial-gradient(circle at 80% 72%, rgba(99,102,241,0.12), transparent 30%),
    rgba(5, 6, 13, 0.86);
  opacity: 0.86;
}

.premium-gallery__topbar {
  position: absolute !important;
  z-index: 7 !important;
  inset: 18px 18px auto 18px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.premium-gallery__return,
.premium-gallery__close {
  pointer-events: auto;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: rgba(12, 14, 24, 0.58) !important;
  color: var(--color-text-main) !important;
  backdrop-filter: var(--blur-premium);
  -webkit-backdrop-filter: var(--blur-premium);
  box-shadow: var(--shadow-premium-sm);
  transition: transform var(--duration-micro) var(--ease-premium-io), opacity var(--duration-micro) var(--ease-premium-io), background var(--duration-micro) var(--ease-premium-io) !important;
}

.premium-gallery__return {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.premium-gallery__return span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(241,183,198,0.13);
}

.premium-gallery__close {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
}

.premium-gallery__return:hover,
.premium-gallery__close:hover {
  transform: translate3d(0, -1px, 0);
  background: rgba(241, 183, 198, 0.12) !important;
}

.premium-gallery__status {
  justify-self: center;
  display: inline-grid;
  gap: 1px;
  min-width: 180px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,14,24,0.45);
  backdrop-filter: var(--blur-premium);
  -webkit-backdrop-filter: var(--blur-premium);
  text-align: center;
}

.premium-gallery__status span {
  color: var(--rose-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.premium-gallery__status strong {
  font-size: 0.82rem;
}

.premium-gallery__shell {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 10px, 0) scale(0.99) !important;
  transition: transform var(--duration-modal) var(--ease-premium-out), opacity var(--duration-modal) var(--ease-premium-out) !important;
  scrollbar-width: thin;
}

.premium-gallery.is-active .premium-gallery__shell {
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.three-gallery__intro {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: clamp(110px, 14vw, 150px) 22px 76px;
  text-align: center;
}

.premium-gallery__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(241,183,198,0.22);
  background: rgba(241,183,198,0.08);
  color: var(--rose-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.three-gallery__intro h2 {
  max-width: 960px;
  margin: 0 auto 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(4.2rem, 11vw, 9.8rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: #fff6f8;
  text-shadow: 0 24px 80px rgba(0,0,0,0.52);
}

.three-gallery__intro p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(243,244,246,0.72);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 650;
}

.three-gallery__journey {
  position: relative;
  height: calc(var(--three-steps, 8) * 92dvh);
  min-height: 520dvh;
}

.three-gallery__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 46%, rgba(241,183,198,0.14), transparent 24%),
    radial-gradient(circle at 60% 56%, rgba(99,102,241,0.15), transparent 32%),
    radial-gradient(circle at 34% 62%, rgba(242,204,148,0.09), transparent 28%);
}

.three-gallery__sticky::before,
.three-gallery__sticky::after {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
  transform: translateZ(0);
}

.three-gallery__sticky::before {
  border: 1px solid rgba(241,183,198,0.12);
  box-shadow: inset 0 0 120px rgba(241,183,198,0.035);
}

.three-gallery__sticky::after {
  inset: 21% 27%;
  border: 1px solid rgba(242,204,148,0.10);
  box-shadow: 0 0 120px rgba(99,102,241,0.07);
}

.three-gallery__canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  transform: translateZ(0);
  opacity: 0.001;
  transition: opacity 340ms var(--ease-premium-out);
}

.premium-gallery.is-active .three-gallery__canvas {
  opacity: 1;
}

.three-gallery__hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transform: translateZ(0);
}

.three-gallery__hotspot {
  appearance: none;
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: end center;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,0.001);
  border-radius: clamp(18px, 2.4vw, 30px);
  background: rgba(255,255,255,0.001);
  color: #fff6f8;
  cursor: pointer;
  opacity: var(--hotspot-opacity, 0);
  pointer-events: none;
  transform-origin: center;
  transition:
    opacity 180ms var(--ease-premium-io),
    border-color 180ms var(--ease-premium-io),
    background 180ms var(--ease-premium-io);
}

.three-gallery__hotspot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(12,14,24,0.52);
  color: rgba(255,246,248,0.92);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 180ms var(--ease-premium-io),
    transform 180ms var(--ease-premium-io);
  backdrop-filter: var(--blur-premium);
  -webkit-backdrop-filter: var(--blur-premium);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

.three-gallery__hotspot:hover,
.three-gallery__hotspot:focus-visible {
  border-color: rgba(241,183,198,0.34);
  background: rgba(241,183,198,0.035);
}

.three-gallery__hotspot:hover span,
.three-gallery__hotspot:focus-visible span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.three-gallery__hud {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  bottom: clamp(76px, 8vw, 108px);
  z-index: 3;
  display: grid;
  gap: 4px;
  max-width: 310px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,14,24,0.42);
  backdrop-filter: var(--blur-premium);
  -webkit-backdrop-filter: var(--blur-premium);
  box-shadow: var(--shadow-premium-lg);
  pointer-events: none;
  transform: translateZ(0);
}

.three-gallery__hud-kicker {
  color: var(--rose-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.three-gallery__hud strong {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1;
}

.three-gallery__hud small {
  color: rgba(243,244,246,0.68);
  font-weight: 650;
}

.three-gallery__progress {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(30px, 4vw, 46px);
  z-index: 3;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  pointer-events: none;
}

.three-gallery__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f1b7c6, #f2cc94, #aeb4ff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--ease-premium-io);
}

.three-gallery__scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(76px, 8vw, 108px);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(243,244,246,0.76);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: none;
}

.three-gallery__scroll-cue span {
  width: 26px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(12,14,24,0.36);
  backdrop-filter: var(--blur-premium);
  -webkit-backdrop-filter: var(--blur-premium);
}

.three-gallery__scroll-cue span::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--rose-light);
  transform: translate3d(0, 0, 0);
}

.three-gallery__fallback {
  position: absolute;
  inset: 92px 18px 28px;
  z-index: 4;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(18px, 4vw, 36px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(12,14,24,0.72);
  backdrop-filter: var(--blur-premium);
  -webkit-backdrop-filter: var(--blur-premium);
}

.three-gallery__fallback[hidden] {
  display: none !important;
}

.three-gallery__fallback p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(243,244,246,0.76);
  text-align: center;
  font-weight: 650;
}

.three-gallery__fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  max-width: 980px;
  margin-inline: auto;
}

.three-gallery__fallback-card {
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform var(--duration-micro) var(--ease-premium-io), opacity var(--duration-micro) var(--ease-premium-io);
}

.three-gallery__fallback-card:hover {
  transform: translate3d(0, -4px, 0);
}

.three-gallery__fallback-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.three-gallery__fallback-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff6f8;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0,0,0,0.65);
}

.lightbox {
  z-index: 7000 !important;
}

.lightbox.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lightbox__close,
.lightbox__nav {
  transition: transform var(--duration-micro) var(--ease-premium-io), opacity var(--duration-micro) var(--ease-premium-io), background var(--duration-micro) var(--ease-premium-io) !important;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  transform: translate3d(0, -1px, 0) scale(1.02);
}

@media (max-width: 920px) {
  .gallery-launch__panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gallery-launch__preview {
    min-height: 360px;
  }

  .premium-gallery__topbar {
    inset: 12px 12px auto 12px !important;
    grid-template-columns: 1fr auto;
  }

  .premium-gallery__status {
    display: none;
  }

  .premium-gallery__return strong {
    font-size: 0.88rem;
  }

  .three-gallery__intro h2 {
    font-size: clamp(3.5rem, 17vw, 6.4rem);
  }

  .three-gallery__hud {
    max-width: min(320px, calc(100vw - 36px));
  }
}

@media (max-width: 640px) {
  .premium-gallery__return {
    min-height: 42px;
    padding-inline: 12px;
  }

  .premium-gallery__close {
    width: 44px;
    height: 44px;
  }

  .three-gallery__intro {
    min-height: 94dvh;
    padding-top: 96px;
  }

  .three-gallery__journey {
    min-height: 460dvh;
  }

  .three-gallery__hud {
    left: 14px;
    right: 14px;
    bottom: 82px;
    max-width: none;
    padding: 14px 16px;
  }

  .three-gallery__scroll-cue {
    display: none;
  }

  .three-gallery__hotspot span {
    min-height: 30px;
    margin-bottom: 8px;
    padding-inline: 10px;
    font-size: 0.58rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .gallery-launch__button,
  .gallery-launch__button::after,
  .gallery-launch__thumb,
  .premium-gallery,
  .premium-gallery__shell,
  .premium-gallery__return,
  .premium-gallery__close,
  .three-gallery__canvas,
  .three-gallery__hotspot,
  .three-gallery__hotspot span,
  .three-gallery__progress span,
  .three-gallery__fallback-card,
  .lightbox__close,
  .lightbox__nav {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================================================
   v155 — Premium Three Gallery Lightbox Fix
   Cause: the premium gallery modal has a higher stacking context than
   the regular lightbox, so image clicks were opening behind the modal.
   This forces the fullscreen viewer above the 3D gallery and keeps the
   image hotspots fully actionable without touching the img/ folder.
   ========================================================= */

#lightbox,
.lightbox {
  z-index: 12000 !important;
}

#lightbox.is-open,
.lightbox.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(241,183,198,0.12), transparent 36%),
    radial-gradient(circle at 72% 58%, rgba(99,102,241,0.10), transparent 34%),
    rgba(3, 4, 10, 0.94) !important;
}

#lightbox .lightbox__img,
.lightbox.is-open .lightbox__img {
  max-width: min(94vw, 1240px) !important;
  max-height: 86dvh !important;
  object-fit: contain !important;
  border-radius: clamp(16px, 2vw, 28px) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.72),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 90px rgba(241,183,198,0.12) !important;
}

#lightbox .lightbox__close,
#lightbox .lightbox__nav,
.lightbox.is-open .lightbox__close,
.lightbox.is-open .lightbox__nav {
  z-index: 12020 !important;
  pointer-events: auto !important;
}

.three-gallery__hotspots {
  z-index: 9 !important;
}

.three-gallery__hotspot {
  min-width: 118px;
  min-height: 118px;
  touch-action: manipulation;
}

.three-gallery__hotspot[tabindex="0"] {
  pointer-events: auto !important;
}

.three-gallery__hotspot span {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  background: rgba(12, 14, 24, 0.70) !important;
  border-color: rgba(255,255,255,0.18) !important;
}

.three-gallery__hotspot:focus-visible {
  outline: 3px solid rgba(255,218,229,0.86) !important;
  outline-offset: 5px !important;
}

@media (max-width: 760px) {
  .three-gallery__hotspot {
    min-width: 94px;
    min-height: 94px;
  }

  #lightbox .lightbox__img,
  .lightbox.is-open .lightbox__img {
    max-width: 94vw !important;
    max-height: 82dvh !important;
  }
}
