/* ============================================
   WINK CAFE — Redesigned Premium Stylesheet
   ============================================ */

:root {
  --cream:      #FFFFFF;
  --parchment:  #F8F8F8;
  --latte:      #FF5500;
  --latte-lt:   #FF8833;
  --espresso:   #18181B;
  --mocha:      #D84315;
  --bark:       #52525B;
  --mist:       #F0F0F0;
  --white:      #FFFFFF;
  --off:        #FAFAFA;
  --gold:       #FF5500;
  --nav-height: 90px;  /* navbar height — used for page offset */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  font-family: 'Outfit', sans-serif;
  color: var(--espresso);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────
   PAGE TRANSITION — full curtain wipe
───────────────────────────────── */
#page-transition {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--espresso);
  transform: scaleY(0); /* Default to hidden to prevent blocking if JS fails */
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.87, 0, 0.13, 1);
  pointer-events: none;
}
#page-transition.active {
  transform: scaleY(1);
}
#page-transition.done {
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ─────────────────────────────────
   NAVBAR
───────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
  background: rgba(255, 255, 255, 0.01);
}
#navbar .nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
  transition: height 0.4s ease;
}
#navbar.scrolled .nav-inner { height: 68px; }
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.08);
}

/* ── Non-hero pages: solid white navbar with strong bottom separator ── */
#navbar:not(.on-hero):not(.scrolled) {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
#navbar:not(.on-hero):not(.scrolled) .nav-logo { filter: brightness(0); }

/* ── Page body offset — push all page content below navbar ── */
body:not(.has-hero) { padding-top: var(--nav-height); }

/* logo states */
.nav-logo { height: 64px; width: auto; object-fit: contain; transition: all 0.45s ease; }
#navbar.scrolled .nav-logo { height: 52px; }
#navbar.on-hero  .nav-logo { filter: brightness(0) invert(1); }
#navbar.scrolled .nav-logo { filter: brightness(0); }

/* nav links */
.nav-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--espresso);
  position: relative; padding-bottom: 2px;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: ''; position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--latte);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-link:hover, .nav-link.active { color: var(--latte); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

#navbar.on-hero .nav-link { 
  color: #FFFFFF; font-weight: 500; 
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
#navbar.on-hero .nav-link:hover { color: var(--latte-lt); }
#navbar.on-hero .hamburger-bar { background: #FFFFFF; }
#navbar.on-hero .btn-book {
  border-color: rgba(255,255,255,0.7);
  color: #FFFFFF;
}
#navbar.on-hero .btn-book:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.btn-book {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  padding: 0.65rem 1.75rem;
  border: 1px solid var(--latte);
  border-radius: 100px;
  color: var(--latte);
  transition: all 0.35s ease;
}
.btn-book:hover { background: var(--latte); color: var(--cream); }

/* hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger-bar {
  width: 26px; height: 1.5px;
  background: var(--espresso);
  transition: all 0.35s ease;
  transform-origin: center;
}
.hamburger-bar:nth-child(2) { width: 18px; }

/* ─────────────────────────────────
   MOBILE MENU
───────────────────────────────── */
#mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--espresso);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s ease;
  gap: 0;
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu .mob-logo { height: 72px; width: auto; filter: brightness(0) invert(1); margin-bottom: 3rem; }
#mobile-menu .mob-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition: color 0.3s ease;
  opacity: 0; transform: translateY(20px);
  transition: color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
}
#mobile-menu.open .mob-link { opacity: 1; transform: translateY(0); }
#mobile-menu.open .mob-link:nth-child(1) { transition-delay: 0.08s; }
#mobile-menu.open .mob-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mob-link:nth-child(3) { transition-delay: 0.22s; }
#mobile-menu.open .mob-link:nth-child(4) { transition-delay: 0.29s; }
#mobile-menu.open .mob-link:nth-child(5) { transition-delay: 0.36s; }
#mobile-menu .mob-link:hover { color: var(--latte-lt); }
#mobile-menu-close {
  position: absolute; top: 1.8rem; right: 2rem;
  color: rgba(255,255,255,0.6); font-size: 2.2rem;
  line-height: 1; cursor: pointer; background: none; border: none;
  transition: color 0.3s ease;
}
#mobile-menu-close:hover { color: #fff; }

/* ─────────────────────────────────
   HERO SLIDER
───────────────────────────────── */
.hero-slider {
  position: relative; width: 100%;
  height: 92vh; min-height: 520px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.45, 0, 0.55, 1);
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 6s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
/* No text overlay — just a subtle vignette for polish */
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 5, 0, 0.45) 0%, transparent 35%),
    linear-gradient(to top,    rgba(10, 5, 0, 0.35) 0%, transparent 40%);
}

/* slider dots */
.hero-dots {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; z-index: 4;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer; border: none;
  transition: all 0.4s ease;
}
.hero-dot.active {
  width: 28px; border-radius: 4px;
  background: var(--latte-lt);
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 2.5rem; right: 3rem; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue span {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(0.6); }
}

/* ─────────────────────────────────
   PAGE BANNERS — no text overlay
───────────────────────────────── */
.page-banner {
  position: relative; width: 100%;
  height: 300px; overflow: hidden;
  background-size: cover; background-position: center center;
  background-repeat: no-repeat;
}
.page-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 5, 0, 0.35) 0%, transparent 50%, rgba(10, 5, 0, 0.25) 100%);
}
/* Ken Burns effect — desktop only, uses scale transform (mobile cannot handle bg-size % reliably) */
@media (min-width: 769px) {
  .page-banner { animation: bannerZoom 8s ease-out forwards; }
  @keyframes bannerZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1); }
  }
}

/* ─────────────────────────────────
   BUTTONS
───────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  background: linear-gradient(135deg, var(--latte) 0%, var(--mocha) 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  border-radius: 100px;
  border: none;
  box-shadow: 0 10px 30px rgba(255, 85, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 85, 0, 0.5);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  background: rgba(255,255,255,0.03); color: var(--espresso);
  font-family: 'Outfit', sans-serif; font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--latte); color: var(--latte);
}
.btn-dark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  background: var(--white); color: var(--espresso);
  font-family: 'Outfit', sans-serif; font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  border-radius: 100px; border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}
.btn-dark:hover { background: var(--mist); transform: translateY(-3px); }

/* ─────────────────────────────────
   TYPOGRAPHY HELPERS
───────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--latte); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 32px; height: 1px; background: var(--latte);
  display: inline-block; flex-shrink: 0;
}
.display-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; line-height: 1.15;
  color: var(--espresso);
  letter-spacing: -0.01em;
}
.display-title em { 
  font-style: normal; 
  background: linear-gradient(135deg, var(--latte) 0%, var(--latte-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.display-title-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-title-light { color: var(--espresso); }
.display-title-light em { 
  background: linear-gradient(135deg, var(--latte) 0%, var(--latte-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
.body-lead {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem; font-weight: 300;
  line-height: 1.85; color: var(--bark);
  letter-spacing: 0.01em;
}

/* ─────────────────────────────────
   SECTION DIVIDERS
───────────────────────────────── */
.wink-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; margin: 2.5rem 0;
}
.wink-divider::before, .wink-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--mist);
  max-width: 80px;
}
.wink-divider span {
  font-family: 'Pinyon Script', cursive;
  font-size: 2rem; color: var(--latte); line-height: 1;
}

/* ─────────────────────────────────
   MENU CARDS — redesigned
───────────────────────────────── */
.menu-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s ease, border-color 0.45s ease;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.menu-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(255,85,0,0.15);
  border-color: rgba(255,85,0,0.3);
}
.menu-card-img {
  position: relative; overflow: hidden; height: 210px;
}
.menu-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.menu-card:hover .menu-card-img img { transform: scale(1.1); }
.menu-card-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s ease;
}
.menu-card:hover .menu-card-shine { opacity: 1; }


/* ─────────────────────────────────
   ABOUT SECTION
───────────────────────────────── */
.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300; line-height: 1.5;
  font-style: italic;
  color: var(--espresso);
}
.about-quote mark {
  background: none;
  color: var(--latte);
}

/* ─────────────────────────────────
   CATEGORY CIRCLES
───────────────────────────────── */
.cat-circle {
  position: relative; border-radius: 50%;
  overflow: hidden; aspect-ratio: 1;
  border: 2px solid transparent;
  transition: border-color 0.35s ease, transform 0.4s ease;
  cursor: pointer;
}
.cat-circle:hover { border-color: var(--latte); transform: translateY(-6px); }
.cat-circle img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-circle:hover img { transform: scale(1.1); }
.cat-circle-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(42,28,14,0.15);
  transition: background 0.35s ease;
}
.cat-circle:hover .cat-circle-overlay { background: rgba(42,28,14,0.35); }

/* ─────────────────────────────────
   PROMO CARDS
───────────────────────────────── */
.promo-card {
  position: relative; overflow: hidden;
  border-radius: 1.25rem; min-height: 340px;
  background-size: cover; background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.promo-card:hover { transform: translateY(-6px); }
.promo-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  z-index: 1; transition: all 0.4s ease;
}
.promo-card:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 60%);
}
.promo-card-inner { position: relative; z-index: 2; }
.promo-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--latte-lt); margin-bottom: 0.6rem;
}
.promo-tag::before {
  content: ''; width: 18px; height: 1px;
  background: var(--latte); display: inline-block;
}

/* ─────────────────────────────────
   PARALLAX
───────────────────────────────── */
.parallax-wrap { overflow: hidden; }
.parallax-img  { will-change: transform; }

/* ─────────────────────────────────
   FORMS
───────────────────────────────── */
.form-field { margin-bottom: 1.5rem; }
.form-label {
  display: block; margin-bottom: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bark);
}
.form-input {
  width: 100%; padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 0.875rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; color: var(--espresso);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
  border-color: var(--latte);
  box-shadow: 0 0 0 3px rgba(184,148,90,0.12);
}
.form-input::placeholder { color: rgba(0,0,0,0.28); }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; }

.success-banner {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(184,148,90,0.1);
  border: 1px solid rgba(184,148,90,0.35);
  border-radius: 0.875rem;
  text-align: center; margin-bottom: 1.5rem;
}

/* ─────────────────────────────────
   CONTACT CARDS
───────────────────────────────── */
.info-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; background: var(--white);
  border-radius: 1.25rem;
  border: 1px solid rgba(184,148,90,0.12);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.info-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}
.info-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(184,148,90,0.1); color: var(--latte);
  display: flex; align-items: center; justify-content: center;
}

/* ─────────────────────────────────
   CATEGORY FILTER TABS
───────────────────────────────── */
.filter-tab {
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--mist); border-radius: 100px;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bark); background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-tab:hover { border-color: var(--latte); color: var(--latte); }
.filter-tab.active { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }

/* ─────────────────────────────────
   SOCIAL
───────────────────────────────── */
.soc-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(184,148,90,0.25);
  color: rgba(250,246,240,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.soc-icon.theme-light {
  border-color: rgba(24, 24, 27, 0.1);
  color: rgba(24, 24, 27, 0.4);
}
.soc-icon.theme-light:hover {
  border-color: var(--latte);
  color: var(--latte);
  background: rgba(255, 85, 0, 0.05);
}
.soc-icon:hover {
  border-color: var(--latte); color: var(--latte-lt);
  background: rgba(184,148,90,0.1);
}

/* ─────────────────────────────────
   MOBILE MENU OPEN BODY LOCK
───────────────────────────────── */
body.menu-open { overflow: hidden; }

/* ─────────────────────────────────
   SCROLL TO TOP
───────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--espresso); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(42,28,14,0.25);
  opacity: 0; pointer-events: none;
  transition: all 0.35s ease; border: none; cursor: pointer;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--mocha); transform: translateY(-3px); }

/* ─────────────────────────────────
   STATS COUNTER STRIP
───────────────────────────────── */
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300; color: var(--latte-lt); line-height: 1;
}

/* ─────────────────────────────────
   FLOATING BADGE
───────────────────────────────── */
.float-badge {
  background: var(--espresso); color: var(--cream);
  border-radius: 1.25rem; padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  text-align: center;
}

/* ─────────────────────────────────
   IMAGE HOVER OVERLAY
───────────────────────────────── */
.img-hover-wrap { overflow: hidden; border-radius: inherit; }
.img-hover-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-hover-wrap:hover img { transform: scale(1.06); }

/* ─────────────────────────────────
   HORIZONTAL MARQUEE TICKER
───────────────────────────────── */
.marquee-track {
  display: flex; overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: flex; gap: 3rem; flex-shrink: 0;
  animation: marquee 22s linear infinite;
}
.marquee-inner:nth-child(2) { margin-left: 3rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-style: normal; font-weight: 600;
  color: rgba(0,0,0,0.15); letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 2rem;
}
.marquee-item::after {
  content: '✦';
  color: var(--latte); font-style: normal; font-size: 1rem;
}

/* ─────────────────────────────────
   NOISE / GRAIN TEXTURE
───────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  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.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
  opacity: 0.2;
}

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 1024px) {
  #navbar .nav-inner { padding: 0 1.5rem; }
}
@media (max-width: 768px) {
  :root { --nav-height: 72px; }

  /* Hero slider — full viewport height on mobile */
  .hero-slider { height: 100svh; min-height: 500px; }

  /* Page banners: fixed px height, no animation, ensure full cover */
  .page-banner {
    height: 220px;
    animation: none !important;
    background-attachment: scroll; /* avoid fixed-attachment issues on iOS */
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Promo cards: slightly shorter on mobile so grid looks good */
  .promo-card { min-height: 280px; border-radius: 1rem; }

  .display-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .scroll-cue { display: none; }

  /* Ensure nav-inner height matches the variable */
  #navbar .nav-inner { height: var(--nav-height); }
}
@media (max-width: 480px) {
  .page-banner { height: 180px; }
  .promo-card  { min-height: 240px; }
}

/* ─────────────────────────────────
   AOS OVERRIDES — smoother easing
───────────────────────────────── */
[data-aos] { transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1) !important; }
