/* ═══════════════════════════════════════════════════════
   HEAVENLY BITES — style.css
   CSS-first upgrade · Light pink palette · Serif + Outfit
   No Three.js, No GSAP — pure CSS artistry
═══════════════════════════════════════════════════════ */

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

/* ── Design Tokens ──────────────────────────────────── */
:root {
  --gold:        #C96B85;
  --gold-lt:     #D9849C;
  --gold-dim:    #A8546C;
  --gold-glow:   rgba(201, 107, 133, 0.09);
  --gold-border: rgba(201, 107, 133, 0.18);
  --cream:       #3A1F2B;
  --cream-dim:   rgba(58, 31, 43, 0.60);
  --blush:       #F2C4CE;
  --bg:          #FDF8F9;
  --bg-surface:  #F9EFF2;
  --bg-card:     rgba(255, 252, 253, 0.80);
  --text:        #3A1F2B;
  --text-muted:  rgba(58, 31, 43, 0.55);
  --border:      rgba(201, 107, 133, 0.14);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sub:    'Cormorant Garamond', Georgia, serif;
  --font-body:   'Outfit', system-ui, sans-serif;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Base ───────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: clip;
  opacity: 0;
  transition: opacity 0.65s ease;
}

body.page-loaded { opacity: 1; }

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── Grain Overlay ──────────────────────────────────── */
#grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ── Loading Screen ─────────────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 900000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  transition: opacity 0.8s ease;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

#loading-logo {
  height: 76px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.7s 0.1s var(--ease-spring) forwards;
  filter: drop-shadow(0 0 28px rgba(201, 107, 133, 0.45));
}

.loading-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 0.7s 0.3s var(--ease-spring) forwards;
}

#loading-bar-track {
  width: 150px;
  height: 1px;
  background: rgba(201, 107, 133, 0.15);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.5s 0.5s ease forwards;
}

#loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-lt));
  transition: width 0.12s linear;
}

/* ── Navigation — Floating Pill ─────────────────────── */
#navbar {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  width: calc(100% - 3rem);
  max-width: 920px;
  border-radius: 100px;
  padding: 0.75rem 1.4rem;
  background: rgba(253, 248, 249, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 24px rgba(58, 31, 43, 0.07),
    0 1px 0 rgba(201, 107, 133, 0.06);
  transition:
    background    0.4s ease,
    box-shadow    0.4s ease,
    top           0.4s ease,
    border-color  0.4s ease;
}

#navbar.scrolled {
  background: rgba(253, 248, 249, 0.94);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 40px rgba(58, 31, 43, 0.10),
    0 1px 0 rgba(201, 107, 133, 0.08);
  top: 0.9rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-brand img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(201, 107, 133, 0.22);
}

.nav-brand span {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-spring);
}

.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-order {
  color: var(--gold) !important;
  border: 1px solid var(--gold-border);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  transition: background 0.3s ease, color 0.3s ease,
              border-color 0.3s ease !important;
}

.nav-order:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-color: var(--gold) !important;
}

.nav-order::after { display: none !important; }

.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-instagram:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 107, 133, 0.30);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-spring), opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:first-child {
  transform: rotate(45deg) translate(2.5px, 4.5px);
}
.nav-hamburger.open span:last-child {
  transform: rotate(-45deg) translate(2.5px, -4.5px);
}

/* ── Mobile Menu ────────────────────────────────────── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 750;
  background: rgba(253, 248, 249, 0.97);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cream);
  opacity: 0;
  transition: background 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.open .mobile-menu-close {
  opacity: 1;
  transition-delay: 0.3s;
}

.mobile-menu-close:hover {
  background: var(--gold-glow);
}

.mobile-menu-inner {
  text-align: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 400;
  color: var(--cream);
  padding: 0.3rem 1rem;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.3s ease;
}

.mobile-nav-link:hover { color: var(--gold); }

.mobile-nav-order { color: var(--gold) !important; font-style: italic; }

/* ── Hero ───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Ambient blobs */
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-ambient::before,
.hero-ambient::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.hero-ambient::before {
  width: 860px;
  height: 860px;
  top: -20%;
  right: -14%;
  background: radial-gradient(circle, rgba(201, 107, 133, 0.34) 0%, transparent 65%);
  filter: blur(88px);
  animation: blobDrift1 22s ease-in-out infinite;
}

.hero-ambient::after {
  width: 700px;
  height: 700px;
  bottom: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(242, 196, 206, 0.28) 0%, transparent 65%);
  filter: blur(96px);
  animation: blobDrift2 18s ease-in-out infinite reverse;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 78% 18%, rgba(242, 196, 206, 0.36) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 12% 82%, rgba(168, 196, 158, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 50% 100%, rgba(201, 107, 133, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 7rem 2.5rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* Hero left — text */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 0.7s 0.3s var(--ease-spring) forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.04em;
}

.hero-line {
  display: block;
  /* Vertical breathing room so the mask (overflow + clip-path) clips to a box
     that fully contains the serif's ascenders/descenders. The negative margin
     cancels the layout shift, so spacing is unchanged. Without this, the tight
     line-height clips glyphs like the 'y' descenders and the trailing period. */
  padding-block: 0.18em;
  margin-block: -0.18em;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  animation: heroLineReveal 0.85s var(--ease-spring) forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.50s; }
.hero-line:nth-child(2) { animation-delay: 0.65s; }
.hero-line:nth-child(3) { animation-delay: 0.80s; }

.hero-italic {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 48ch;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards;
}

.hero-body strong { color: var(--cream); font-weight: 400; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.3s ease forwards;
}

/* Hero right — logo */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: logoReveal 1.2s 0.6s var(--ease-spring) forwards;
}

.hero-logo-wrap {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radial glow behind the logo */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 107, 133, 0.18) 0%, transparent 68%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  animation: blobDrift1 14s ease-in-out infinite;
}

/* Dot ring scattered around the logo */
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -64px;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(201, 107, 133, 0.35) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle, transparent 40%, black 50%, black 80%, transparent 94%);
  -webkit-mask-image: radial-gradient(circle, transparent 40%, black 50%, black 80%, transparent 94%);
  animation: blobDrift2 20s ease-in-out infinite;
}

.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  animation: ringPulse 4s ease-in-out infinite;
  z-index: 1;
}

.logo-ring.ring-outermost {
  inset: -44px;
  border-color: rgba(242, 196, 206, 0.22);
  animation-delay: 2s;
}

.logo-ring.ring-outer {
  inset: -22px;
  border-color: rgba(242, 196, 206, 0.58);
  animation-delay: 0s;
}

.logo-ring.ring-inner {
  inset: -9px;
  border-color: rgba(201, 107, 133, 0.38);
  animation-delay: 1s;
}

.hero-logo-img {
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 80px rgba(201, 107, 133, 0.38)) drop-shadow(0 12px 40px rgba(58, 31, 43, 0.12));
  animation: logoFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: fadeUp 0.8s 1.8s ease forwards;
}

.scroll-cue-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBob 2.2s ease-in-out infinite;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  position: relative;
}

.btn-primary:hover {
  background: var(--gold-lt);
  box-shadow: 0 8px 32px rgba(201, 107, 133, 0.28);
}

.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.2rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-ghost:hover {
  color: var(--cream);
  border-color: rgba(201, 107, 133, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.2rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

/* ── Shared Typography ───────────────────────────────── */
.eyebrow {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--cream);
}

.section-h2 em {
  font-style: italic;
  color: var(--gold-lt);
}

/* ── Marquee Strip ───────────────────────────────────── */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-track .dot {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0;
}

/* ── About ───────────────────────────────────────────── */
#about {
  padding: 9rem 2.5rem;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-col {
  position: relative;
}

/* Double-bezel frame */
.about-img-frame {
  border-radius: 60% 40% 55% 45% / 50% 50% 45% 55%;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 8px rgba(253, 248, 249, 0.95),
    0 0 0 9px var(--border);
  transition: border-radius 0.6s ease;
}

.about-img-frame:hover {
  border-radius: 48% 52% 50% 50% / 48% 48% 52% 52%;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease-spring);
}

.about-img-frame:hover .about-img { transform: scale(1.05); }

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: rgba(253, 248, 249, 0.95);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 140px;
}

.badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.badge-num small {
  font-size: 1rem;
  vertical-align: super;
}

.badge-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text-col p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.about-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0.25rem 0;
}

/* ── Gallery — CSS Accordion ─────────────────────────── */
#gallery {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.gallery-header {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem 3.5rem;
  text-align: center;
}

.gallery-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.7;
}

/* The accordion */
.gallery-accordion {
  display: flex;
  gap: 0.75rem;
  height: 540px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.acc-item {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--img) center / cover no-repeat;
  cursor: pointer;
  min-width: 54px;
  border: 1px solid var(--border);
  transition: flex 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* :has() accordion — collapse siblings on hover */
.gallery-accordion:has(.acc-item:hover) .acc-item {
  flex: 0.4;
}

.gallery-accordion .acc-item:hover {
  flex: 4.2;
}

/* Vertical name tag — visible on collapsed cards */
.acc-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.3s ease;
}

/* Show labels clearly when a sibling is expanded */
.gallery-accordion:has(.acc-item:hover) .acc-item:not(:hover) .acc-label {
  opacity: 1;
}

/* Hide label on the expanded card itself */
.acc-item:hover .acc-label {
  opacity: 0;
}

/* Content panel */
.acc-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(
    to top,
    rgba(42, 18, 28, 0.92) 0%,
    rgba(42, 18, 28, 0.55) 50%,
    transparent 100%
  );
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity  0.38s ease,
    transform 0.38s var(--ease-spring);
  transition-delay: 0s;
}

.acc-item:hover .acc-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.acc-cat {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 196, 206, 0.85);
  margin-bottom: 0.35rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-spring);
  transition-delay: 0s;
}

.acc-item:hover .acc-cat {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.acc-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: #FDF8F9;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-spring);
  transition-delay: 0s;
}

.acc-item:hover .acc-name {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}

.acc-divider {
  width: 0px;
  height: 1px;
  background: rgba(242, 196, 206, 0.45);
  margin: 0.75rem 0 0.65rem;
  transition: width 0.5s var(--ease-spring);
  transition-delay: 0s;
}

.acc-item:hover .acc-divider {
  width: 40px;
  transition-delay: 0.42s;
}

.acc-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  max-width: 30ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-spring);
  transition-delay: 0s;
}

.acc-item:hover .acc-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}

/* ── Specialties — Photo Bands ───────────────────────── */
#specialties {
  background: #2A1520;
  overflow: hidden;
}

.spec-header {
  padding: 7rem 2.5rem 4rem;
  text-align: center;
}

/* On dark background, override text colours */
#specialties .eyebrow  { color: var(--gold-lt); }
#specialties .section-h2 { color: #FDF8F9; }
#specialties .section-h2 em { color: var(--gold); }

/* Band stack */
.spec-bands { display: flex; flex-direction: column; }

.spec-band {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Zoom in and anchor to the top-left so the band's overflow:hidden crops the
     bottom-right corner — that's where the Gemini "✦" watermark is baked in. */
  transform: scale(1.14);
  transform-origin: top left;
  filter: brightness(0.42) saturate(0.65);
  transition: transform 0.7s var(--ease-spring), filter 0.5s ease;
}

.spec-band:hover .band-img {
  transform: scale(1.18);
  filter: brightness(0.50) saturate(0.75);
}

.band-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(201, 107, 133, 0.45) 0%,
    rgba(42, 21, 32, 0.30) 55%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  padding: 0 5rem;
  gap: 2.5rem;
}

.band-num {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

.band-rule {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.band-text h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.band-text p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  max-width: 44ch;
}

.band-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Process ─────────────────────────────────────────── */
#process {
  padding: 9rem 2.5rem;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-header {
  margin-bottom: 2.5rem;
}

.process-header .section-h2 { margin-top: 0.5rem; }

/* SVG connector */
.process-connector {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0 0 3rem;
  overflow: visible;
}

.connector-path {
  fill: none;
  stroke: var(--gold-border);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.connector-dot {
  fill: var(--gold);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-connector.drawn .connector-path {
  stroke-dashoffset: 0;
}

.process-connector.drawn .connector-dot {
  opacity: 0.6;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(201, 107, 133, 0.18);
  line-height: 1;
  transition: color 0.4s ease;
}

.process-step:hover .step-num {
  color: rgba(201, 107, 133, 0.45);
}

.step-bar {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 0.25rem 0 0.5rem;
  transition: width 0.5s var(--ease-spring);
}

.process-step:hover .step-bar { width: 64px; }

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 36ch;
}

/* ── Contact ─────────────────────────────────────────── */
#contact {
  padding: 9rem 2.5rem;
  background: var(--bg-surface);
}

.contact-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 6rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 7rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-details li svg { color: var(--gold); flex-shrink: 0; }

.contact-ig {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-ig-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 0.25rem;
}

.contact-ig-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Centered contact layout (Instagram-only mode) */
.contact-inner--centered {
  grid-template-columns: 1fr;
  max-width: 680px;
  gap: 0;
}

.contact-info--centered {
  align-items: center;
  text-align: center;
  position: static;
}

.contact-info--centered .contact-details {
  align-items: center;
}

.contact-info--centered .contact-details li {
  justify-content: center;
}

.instagram-btn--lg {
  padding: 0.95rem 2.4rem;
  font-size: 1rem;
  gap: 0.65rem;
  margin-top: 0.5rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
}

.instagram-btn--lg svg {
  width: 20px;
  height: 20px;
}

/* Glassmorphism form wrapper */
.form-glass {
  background: rgba(255, 252, 253, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  padding: 2.5rem;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(201, 107, 133, 0.06),
    0 24px 64px rgba(58, 31, 43, 0.07);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 252, 253, 0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  resize: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input[type="date"] {
  color-scheme: light;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(58, 31, 43, 0.28);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 107, 133, 0.50);
  background: white;
  box-shadow: 0 0 0 3px rgba(201, 107, 133, 0.08);
}

.form-group input.error,
.form-group textarea.error {
  border-color: rgba(240, 100, 100, 0.5);
}

.form-error {
  font-size: 0.72rem;
  color: rgba(240, 140, 140, 0.9);
  letter-spacing: 0.04em;
  min-height: 1em;
}

.btn-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  gap: 0.5rem;
  cursor: pointer;
}

/* ── Footer ─────────────────────────────────────────── */
#footer {
  padding: 3.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.25rem;
}

.footer-brand img {
  height: 30px;
  filter: drop-shadow(0 0 8px rgba(201, 107, 133, 0.28));
}

.footer-brand span {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  margin: 0.25rem 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.instagram-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(201, 107, 133, 0.28);
}

.footer-rule {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(58, 31, 43, 0.25);
  letter-spacing: 0.08em;
}

/* ── Cake Modal ──────────────────────────────────────── */
#cake-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#cake-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 18, 28, 0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  box-shadow:
    0 48px 120px rgba(42, 18, 28, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.44s var(--ease-spring);
}

#cake-modal.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 10;
  background: rgba(253, 248, 249, 0.90);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cream);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.modal-close:hover {
  background: var(--gold-glow);
  transform: rotate(90deg);
}

.modal-img-wrap {
  overflow: hidden;
  max-height: 88vh;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}

.modal-card:hover .modal-img {
  transform: scale(1.03);
}

.modal-body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  overflow-y: auto;
}

.modal-cat {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s var(--ease-spring) 0.1s;
}

.modal-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.18s, transform 0.4s var(--ease-spring) 0.18s;
}

.modal-rule {
  width: 0px;
  height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease-spring) 0.28s;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.85;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s var(--ease-spring) 0.3s;
}

.modal-cta {
  align-self: flex-start;
  font-size: 0.72rem;
  padding: 0.75rem 1.6rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s var(--ease-spring) 0.4s;
}

/* Animate in when modal opens */
#cake-modal.open .modal-cat,
#cake-modal.open .modal-name,
#cake-modal.open .modal-desc,
#cake-modal.open .modal-cta {
  opacity: 1;
  transform: translateY(0);
}

#cake-modal.open .modal-rule {
  width: 40px;
}

/* Mobile — stack vertically */
@media (max-width: 640px) {
  #cake-modal { padding: 1rem; }

  .modal-card {
    grid-template-columns: 1fr;
    grid-template-rows: 45vw 1fr;
    max-height: 92vh;
    border-radius: 18px;
  }

  .modal-img-wrap { max-height: 45vw; }

  .modal-body {
    padding: 1.75rem 1.5rem;
    gap: 0.75rem;
  }

  .modal-name { font-size: 1.4rem; }
}

/* ── Scroll Reveal — blur + translate ───────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity    0.9s ease,
    transform  0.9s var(--ease-spring),
    filter     0.75s ease;
  transition-delay: var(--d, 0s);
}

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

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes heroLineReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0% 0);
    transform: translateY(0);
  }
}

@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1);    }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px);    }
  50%       { transform: translateY(-10px); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: scale(1);    }
  50%       { opacity: 0.9; transform: scale(1.02); }
}

@keyframes scrollBob {
  0%, 100% { transform: scaleY(1) translateY(0);       opacity: 0.5; }
  50%       { transform: scaleY(1.15) translateY(4px); opacity: 1;   }
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1);        }
  33%       { transform: translate(-28px, 18px) scale(1.05); }
  66%       { transform: translate(18px, -22px) scale(0.97); }
}

@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1);        }
  33%       { transform: translate(22px, -14px) scale(1.04); }
  66%       { transform: translate(-18px, 18px) scale(0.96); }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info  { position: static; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step p { max-width: 60ch; }

  .spec-band { height: 220px; }
}

@media (max-width: 768px) {
  /* Pill navbar — full width on mobile */
  #navbar {
    width: calc(100% - 2rem);
    border-radius: 100px;
    top: 1rem;
    padding: 0.7rem 1.1rem;
  }

  #navbar.scrolled { top: 0.6rem; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero — mobile: compact, balanced single-column stack (logo over text) */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 6.5rem 1.5rem 3.5rem;
    text-align: center;
  }

  .hero-right { order: -1; }
  .hero-left  { align-items: center; gap: 1.25rem; }

  .hero-title   { font-size: clamp(2.5rem, 9vw, 3.4rem); }
  .hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.2em; }
  .hero-body    { max-width: 40ch; margin: 0 auto; font-size: 0.95rem; }
  .hero-actions { justify-content: center; }

  /* Smaller logo so the rings + dot-halo never spill past the screen edges
     (their negative insets used to get clipped by #hero's overflow:hidden). */
  .hero-logo-wrap { width: min(240px, 62vw); }

  /* Hide the scroll-cue line on mobile — with full-width stacked CTAs it
     overlaps the bottom button. */
  .scroll-cue { display: none; }

  /* Gallery accordion → stacked on mobile */
  .gallery-accordion {
    flex-direction: column;
    height: auto;
    padding: 0 1.5rem;
    gap: 0.6rem;
  }

  .acc-item {
    height: 180px;
    flex: none !important;
    min-width: unset;
  }

  /* Mobile: drop the rotated vertical name tag — only the horizontal content
     panel shows (the two overlapped/mixed otherwise). */
  .acc-label { display: none; }

  .acc-content,
  .acc-content .acc-cat,
  .acc-content .acc-name,
  .acc-content .acc-desc {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .acc-divider {
    width: 32px;
    transition-delay: 0s;
  }

  /* Bands — tighter on tablet */
  .spec-band { height: 200px; }
  .band-content { padding: 0 2.5rem; gap: 1.5rem; }
  .band-num { display: none; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-badge { right: 0; }

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

  .form-glass { padding: 1.75rem; }

  #about, #process, #contact, #gallery {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  #specialties { padding: 6rem 0; }

  .spec-header { padding: 0 1.5rem 2.5rem; }
}

@media (max-width: 480px) {
  .spec-band { height: 180px; }
  .band-text h3 { font-size: 1.1rem; }
  .band-text p  { font-size: 0.8rem; }

  /* Hero — phones: dial type + logo down, stack CTAs full-width for tapping */
  .hero-layout    { padding: 5.5rem 1.25rem 3rem; gap: 1.75rem; }
  .hero-title     { font-size: clamp(2.1rem, 11.5vw, 2.8rem); }
  .hero-body      { font-size: 0.9rem; }
  .hero-logo-wrap { width: min(200px, 58vw); }

  .hero-actions { flex-direction: column; width: 100%; gap: 0.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

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