/* ============================================================
   BARISTA SRI LANKA — SITE CSS v4
   White + #DF633F + #5F0F0E | Plus Jakarta Sans
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-off, #faf8f6);
}

::-webkit-scrollbar-thumb {
  background: var(--brand, #DF633F);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-dark, #5F0F0E);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand, #DF633F) var(--bg-off, #faf8f6);
}

/* === DESIGN TOKENS === */
:root {
  --bg: #ffffff;
  --bg-off: #faf8f6;
  --bg-warm: #f5ede6;
  --brand: #DF633F;
  --brand-dark: #5F0F0E;
  --brand-light: #f0835f;
  --brand-pale: #fbe8df;
  --brand-glow: rgba(223, 99, 63, 0.18);
  --ink: #1a0a08;
  --ink-2: #3d1f1a;
  --muted: #8a6b62;
  --muted-light: #c4a49a;
  --line: rgba(95, 15, 14, 0.1);
  --line-light: rgba(95, 15, 14, 0.06);
  --shadow: 0 24px 64px rgba(95, 15, 14, 0.12);
  --shadow-sm: 0 6px 20px rgba(95, 15, 14, 0.08);
  --shadow-brand: 0 16px 48px rgba(223, 99, 63, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --content-width: 1600px;
  --shell-pad: clamp(24px, 5vw, 96px);
  --transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button,
input,
textarea,
select {
  font: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* === PAGE LOADER === */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 36px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderFade 0.6s ease both;
}

.loader-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.loader-slogan {
  text-align: center;
  animation: loaderFade 0.6s ease 0.2s both;
}

.loader-slogan .word {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  animation: wordBrew 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loader-slogan .word:nth-child(1) {
  animation-delay: 0.3s;
}

.loader-slogan .word:nth-child(2) {
  animation-delay: 0.45s;
  color: var(--brand);
}

.loader-slogan .word:nth-child(3) {
  animation-delay: 0.6s;
}

/* Coffee steam dots */
.loader-steam {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: -12px;
}

.loader-steam span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  animation: steamRise 1.4s ease infinite;
}

.loader-steam span:nth-child(2) {
  animation-delay: 0.2s;
  background: rgba(255, 255, 255, 0.4);
}

.loader-steam span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes steamRise {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-10px);
    opacity: 0.2;
  }
}

.loader-bar-track {
  width: 200px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  width: 0%;
  animation: loaderProgress 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes loaderProgress {
  to {
    width: 100%;
  }
}

@keyframes loaderFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes wordBrew {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

/* === CUSTOM CURSOR === */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  pointer-events: none;
  z-index: 99990;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s, opacity .25s, box-shadow .25s;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.5);
  mix-blend-mode: normal;
}

.custom-cursor.hovering {
  width: 44px;
  height: 44px;
  background: var(--brand);
  opacity: .3;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

p {
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .7rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
  animation: pulse 2.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--brand-glow)
  }

  70% {
    box-shadow: 0 0 0 7px transparent
  }

  100% {
    box-shadow: 0 0 0 0 transparent
  }
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 560px;
}

.tagline {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
  font-size: .7rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 8px;
}

/* === LAYOUT === */
.site-shell {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
}

.section-head>div {
  flex: 1;
  max-width: 640px;
}

.section-head>p {
  flex: 1;
  max-width: 480px;
  text-align: right;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card-grid.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* === PROGRESS BAR === */
.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 9999;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  pointer-events: none;
}

/* === HEADER (z-index 500) === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0 var(--shell-pad);
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.site-header.header-solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 24px rgba(95, 15, 14, 0.06);
}

/* Header goes behind menu when open */
body.menu-is-active .site-header {
  z-index: 300;
}

/* Colors over-hero (transparent header over dark hero) */
.site-header:not(.scrolled):not(.header-solid) .brand-lockup strong {
  color: #fff;
}

.site-header:not(.scrolled):not(.header-solid) .brand-lockup small {
  color: rgba(255, 255, 255, 0.7);
}

.site-header:not(.scrolled):not(.header-solid) .brand-lockup img {
  filter: brightness(0) invert(1);
}

.site-header:not(.scrolled):not(.header-solid) .nav-cta {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-header:not(.scrolled):not(.header-solid) .nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-header:not(.scrolled):not(.header-solid) .hamburger-line {
  background: #fff;
}

.site-header:not(.scrolled):not(.header-solid) .menu-button {
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Brand lockup — logo only (no "Barista" text) */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-lockup img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform var(--transition);
}

.brand-lockup:hover img {
  transform: scale(1.08) rotate(4deg);
}

.brand-lockup small {
  display: block;
  color: var(--brand);
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color var(--transition);
}

/* Find a Cafe CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg-off);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

/* Hamburger — clean two-line minimal */
.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  z-index: 700;
  flex-shrink: 0;
}

.menu-button:hover {
  background: var(--brand-pale);
  border-color: var(--brand);
}

.hamburger-box {
  width: 20px;
  height: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, background 0.3s, width 0.35s;
  display: block;
  transform-origin: center;
}

.hamburger-line:last-child {
  width: 62%;
  align-self: flex-end;
}

body.menu-is-active .menu-button {
  border-color: rgba(255, 255, 255, 0.28);
}

body.menu-is-active .hamburger-line {
  background: #fff !important;
}

body.menu-is-active .hamburger-line:first-child {
  transform: translateY(5px) rotate(45deg);
  width: 100%;
}

body.menu-is-active .hamburger-line:last-child {
  transform: translateY(-5px) rotate(-45deg);
  width: 100%;
}

body.menu-is-active .nav-cta {
  display: none;
}

/* === FULLSCREEN MENU (z-index 600, above header 500) === */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
  display: flex;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 6, 5, 0.909);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px var(--shell-pad) 60px;
  opacity: 0;
  transform: translateY(14px);
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-close {
  position: absolute;
  top: 26px;
  right: var(--shell-pad);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.menu-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.menu-close-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.menu-close-icon::before,
.menu-close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.menu-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.menu-is-active {
  overflow: hidden;
}

body.menu-is-active .fullscreen-menu {
  pointer-events: auto;
}

body.menu-is-active .menu-backdrop {
  opacity: 1;
}

body.menu-is-active .menu-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Nav menu button z-index must remain above everything */
body.menu-is-active .menu-button {
  position: fixed;
  top: 16px;
  right: var(--shell-pad);
  z-index: 700;
}

.massive-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item-wrapper {
  overflow: hidden;
  padding: 8px 0;
}

.massive-nav a {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1.14;
  transform: translateY(110%);
  width: fit-content;
  padding: 14px 32px 16px 42px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, text-shadow 0.3s ease;
}

.massive-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(223, 99, 63, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
  z-index: -1;
}

.massive-nav a::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0;
  transform: translateY(-50%) scale(0.55);
  box-shadow: 0 0 0 0 rgba(223, 99, 63, 0.18);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.massive-nav a:hover,
.massive-nav a[aria-current="page"] {
  color: #fff;
}

.massive-nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.massive-nav a:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 0 8px rgba(223, 99, 63, 0.14);
}

.massive-nav a[aria-current="page"] {
  text-shadow: 0 10px 28px rgba(223, 99, 63, 0.22);
}

.massive-nav a[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(90deg, rgba(223, 99, 63, 0.24), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.14);
}

.massive-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 0 10px rgba(223, 99, 63, 0.16);
}

body.menu-is-active .massive-nav a {
  transform: translateY(0);
  transition-delay: calc(0.05s + var(--stagger-idx) * 0.045s);
}

.menu-footer {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.menu-is-active .menu-footer {
  opacity: 1;
  transition-delay: 0.5s;
}

.menu-contact p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

.menu-contact p.eyebrow {
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 6px;
  font-size: 0.62rem;
}

.menu-contact p.eyebrow::before {
  display: none;
}

.menu-social {
  display: flex;
  gap: 18px;
}

.menu-social a {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Outfit', sans-serif;
  transition: color var(--transition);
}

.menu-social a:hover {
  color: var(--brand);
}

/* === BUTTONS === */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98) translateY(0);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 8px 24px var(--brand-glow);
}

.button-primary:hover {
  background: #c8572e;
  border-color: #c8572e;
  box-shadow: var(--shadow-brand);
}

.button-dark {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.button-dark:hover {
  background: #4a0a0b;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-pale);
}

.button-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.button-ghost-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* === HERO === */
.hero-immersive {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1) brightness(0.8);
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(95, 15, 14, 0.65) 0%, rgba(20, 6, 4, 0.75) 100%);
  z-index: 2;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
  padding: 0 var(--shell-pad);
  width: 100%;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 22px;
  border-radius: 999px;
  display: inline-flex;
  margin-bottom: 32px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  background: rgba(255, 255, 255, 0.05);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.hero-eyebrow::before {
  display: none;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 9rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 24px 72px rgba(0, 0, 0, 0.25);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}

.scroll-indicator span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollDown 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%)
  }

  100% {
    transform: translateY(200%)
  }
}

/* === STATS BAR === */
.stats-bar-section {
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}

.stats-bar-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 5% 50%, rgba(223, 99, 63, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.stats-bar {
  display: flex;
  align-items: stretch;
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
}

.stat-item {
  flex: 1;
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.5;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* === TICKER === */
.ticker-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-off);
}

.ticker-track {
  display: flex;
  padding: 16px 0;
  animation: ticker 32s linear infinite;
  white-space: nowrap;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Outfit', sans-serif;
}

.ticker-item::after {
  content: '✦';
  color: var(--brand);
  font-size: 0.55rem;
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* === FEATURE CARDS === */
.feature-card {
  background: #fff;
  border: 1px solid var(--line-light);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-pale);
  box-shadow: var(--shadow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* === BG SECTIONS WITH EFFECTS === */
.bg-warm {
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.bg-warm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 15% 35%, rgba(223, 99, 63, 0.14) 0%, transparent 65%), radial-gradient(ellipse 55% 70% at 82% 72%, rgba(95, 15, 14, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.bg-warm::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(circle, rgba(223, 99, 63, 0.2) 1px, transparent 1px);
  background-size: 38px 38px;
}

.bg-dark {
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
  color: #fff;
  z-index: 1;
}

.bg-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 75% at 5% 18%, rgba(223, 99, 63, 0.24) 0%, transparent 62%), radial-gradient(ellipse 38% 58% at 88% 82%, rgba(223, 99, 63, 0.15) 0%, transparent 58%);
  pointer-events: none;
}

.bg-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 42px 42px;
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: #fff;
}

.bg-dark .eyebrow {
  color: var(--brand);
}

.bg-dark .lead {
  color: rgba(255, 255, 255, 0.62);
}

.bg-dark p {
  color: rgba(255, 255, 255, 0.62);
}

/* === LOCATIONS CTA (no photo BG — CSS only) === */
.locations-cta {
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 100px 0;
}

.locations-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 85% at 0% 50%, rgba(223, 99, 63, 0.26) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 100% 50%, rgba(223, 99, 63, 0.15) 0%, transparent 55%);
  pointer-events: none;
}

.locations-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 38px 38px;
}

.locations-cta h2,
.locations-cta h3 {
  color: #fff;
}

.locations-cta .eyebrow {
  color: var(--brand);
}

.locations-cta .lead {
  color: rgba(255, 255, 255, 0.65);
  max-width: 460px;
  margin-bottom: 36px;
}

.locations-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* === SPOTLIGHT CARDS === */
.spotlight-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.spotlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-pale);
  box-shadow: var(--shadow);
}

.spotlight-img {
  overflow: hidden;
  height: 260px;
}

.spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover .spotlight-img img {
  transform: scale(1.06);
}

.spotlight-body {
  padding: 32px;
}

.spotlight-body h3 {
  margin-bottom: 12px;
}

.spotlight-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.spotlight-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spotlight-body a::after {
  content: '→';
  transition: transform var(--transition);
}

.spotlight-card:hover .spotlight-body a::after {
  transform: translateX(4px);
}

/* === FRANCHISE CTA INNER grid (uses .bg-dark wrapper) === */
.franchise-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.franchise-cta-inner h2 {
  margin-top: 8px;
  margin-bottom: 20px;
}

.franchise-cta-inner .lead {
  margin-bottom: 36px;
}

.franchise-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.franchise-img img {
  width: 100%;
  object-fit: cover;
}

/* === NEWS CARDS === */
.news-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.news-card .media-wrapper {
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-copy {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-copy .tagline {
  margin-bottom: 10px;
}

.news-copy h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-copy p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.news-copy a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
}

.news-copy a::after {
  content: '→';
  transition: transform var(--transition);
}

.news-card:hover .news-copy a::after {
  transform: translateX(4px);
}

/* === GALLERY === */
.masonry-grid {
  columns: 3 320px;
  column-gap: 24px;
}

.gallery-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-copy {
  padding: 20px 24px;
}

.gallery-copy h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.gallery-copy p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0;
}

/* === LOCATIONS PAGE === */
.outlet-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.filter-panel h3 {
  margin-bottom: 18px;
  font-size: 1rem;
}

.filter-panel input {
  width: 100%;
  padding: 11px 15px;
  background: var(--bg-off);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 0.88rem;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}

.filter-panel input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.filter-panel input::placeholder {
  color: var(--muted-light);
}

.chip-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  font-family: 'Montserrat', sans-serif;
}

.chip:hover {
  background: var(--brand-pale);
  color: var(--brand);
  border-color: var(--brand-pale);
}

.chip.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Outlet list */
.outlet-results {
  display: grid;
  gap: 12px;
}

.outlet-card-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.outlet-card-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-pale);
}

.outlet-card-item[data-hidden="true"] {
  display: none;
}

.outlet-card-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.outlet-card-item .outlet-address {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 8px;
}

.outlet-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
  align-items: center;
}

.outlet-hours {
  color: var(--muted-light);
  font-size: 0.74rem;
  font-family: 'Outfit', sans-serif;
}

.outlet-phone {
  color: var(--muted);
  font-size: 0.78rem;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Outfit', sans-serif;
  padding: 6px 14px;
  border: 1.5px solid var(--brand-pale);
  border-radius: 999px;
  transition: all var(--transition);
  width: fit-content;
}

.maps-link:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Sri Lanka SVG Map */
.map-panel {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 96px;
}

.map-panel h3 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.sl-map-wrap {
  position: relative;
  max-width: 260px;
  margin: 0 auto;
}

.sl-map-svg {
  width: 100%;
}

.sl-map-svg .island {
  fill: var(--brand-pale);
  stroke: var(--brand);
  stroke-width: 1.2;
}

.map-pin {
  cursor: pointer;
}

.map-pin circle.pin-bg {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 2;
  transition: r 0.3s, fill 0.3s;
}

.map-pin:hover circle.pin-bg {
  r: 9;
  fill: var(--brand-dark);
}

.map-pin text {
  fill: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 6px;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.map-pin.active-region circle.pin-bg {
  fill: var(--brand-dark);
  r: 9;
}

/* === STAT CARDS === */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-off);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* === BULLET LIST === */
.bullet-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.bullet-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* === FAQ === */
.faq-stack {
  display: grid;
  gap: 12px;
}

.faq-card {
  background: var(--bg-off);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-card:hover {
  border-color: var(--brand-pale);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.faq-trigger span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.3;
}

.faq-trigger strong {
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
  font-family: 'Outfit', sans-serif;
}

.faq-card.is-open .faq-trigger strong {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  color: var(--muted);
  padding-top: 16px;
  font-size: 0.96rem;
  line-height: 1.72;
}

.faq-card.is-open .faq-panel {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px)
  }

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

/* === CONTACT FORM === */
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-off);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-light);
}

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

/* === PAGE HERO (INNER PAGES) === */
.page-hero {
  padding: 148px 0 80px;
}

.hero-copy h1 {
  margin-top: 8px;
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

.hero-copy .lead {
  margin-bottom: 36px;
}

.media-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  object-fit: cover;
}

/* === STORY PANELS === */
.story-panel {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.story-panel:hover {
  box-shadow: var(--shadow-sm);
}

.story-panel.dark-panel {
  background: var(--brand-dark);
  color: #fff;
}

.story-panel.dark-panel h2 {
  color: #fff;
}

.story-panel.dark-panel p {
  color: rgba(255, 255, 255, 0.62);
}

.story-panel.dark-panel .eyebrow {
  color: var(--brand);
}

.story-panel h2 {
  margin: 8px 0 18px;
}

.story-panel p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* === PROFILE CARDS === */
.profile-card {
  background: var(--bg-off);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.profile-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
}

.profile-card h3 {
  font-size: 1.05rem;
  margin: 18px 20px 4px;
}

.profile-card p {
  color: var(--brand);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin: 0 20px 18px;
}

/* === PERK CARDS === */
.perk-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  color: var(--ink);
  transition: transform var(--transition), box-shadow var(--transition);
}

.perk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.perk-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}

.perk-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.perk-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* === PREMIUM REWARDS LAYOUT === */
.premium-rewards-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .premium-rewards-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.premium-rewards-left p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
}

.premium-rewards-right-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.premium-perk-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease;
  z-index: 2;
}

.premium-perk-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(223, 99, 63, 0.8) 0%, rgba(223, 99, 63, 0) 50%, rgba(223, 99, 63, 0) 100%);
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.premium-perk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(223, 99, 63, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.premium-perk-card:hover::before {
  opacity: 1;
}

.premium-perk-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.premium-perk-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* === ARTICLE === */
.article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

/* === FOOTER === */
.site-footer {
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 10% 30%, rgba(223, 99, 63, 0.18) 0%, transparent 65%), radial-gradient(ellipse 50% 70% at 85% 80%, rgba(223, 99, 63, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 80px var(--shell-pad) 60px;
  position: relative;
}

.footer-brand .brand-lockup {
  margin-bottom: 22px;
}

.footer-brand .brand-lockup small {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-brand .brand-lockup img {
  filter: brightness(0) invert(1) !important;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 26px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  line-height: 1.5;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px var(--shell-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.76rem;
  margin: 0;
}

/* === 404 === */
.not-found-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px var(--shell-pad);
}

.not-found-section h1 {
  font-size: clamp(6rem, 18vw, 16rem);
  color: var(--brand-pale);
  margin-bottom: 24px;
  line-height: 1;
}

/* === REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* === RESPONSIVE === */
@media (max-width:1280px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .outlet-layout {
    grid-template-columns: 1fr;
  }

  .map-panel {
    position: static;
  }
}

@media (max-width:1024px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .franchise-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .locations-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width:900px) {

  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section-head>p {
    text-align: left;
  }

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

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 0 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .masonry-grid {
    columns: 2;
  }
}

@media (max-width:640px) {
  :root {
    --shell-pad: 20px;
  }

  .feature-grid,
  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar {
    flex-direction: column;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .masonry-grid {
    columns: 1;
  }

  .section {
    padding: 64px 0;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .page-hero {
    padding: 120px 0 56px;
  }

  .menu-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .massive-nav a {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }
}

/* ============================================================
   OVERRIDES v4 — Orange glow shadows, hero fix, modal, map
   ============================================================ */

/* Hero h1 — prevent line overlap at large sizes */
.hero-content h1 {
  line-height: 1.0 !important;
  font-size: clamp(3rem, 7.5vw, 7rem) !important;
  letter-spacing: -0.04em;
}

/* All card hovers — smooth orange glow, no sudden snap */
.feature-card,
.spotlight-card,
.news-card,
.gallery-card,
.perk-card,
.stat-card,
.story-panel,
.outlet-card-item,
.profile-card {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(223, 99, 63, 0.22) !important;
  border-color: rgba(223, 99, 63, 0.3) !important;
}

.spotlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(223, 99, 63, 0.20) !important;
  border-color: rgba(223, 99, 63, 0.25) !important;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(223, 99, 63, 0.18) !important;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(223, 99, 63, 0.16) !important;
}

.perk-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(223, 99, 63, 0.20) !important;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(223, 99, 63, 0.16) !important;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(223, 99, 63, 0.22) !important;
  cursor: pointer;
}

.outlet-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(223, 99, 63, 0.14) !important;
  border-color: rgba(223, 99, 63, 0.3) !important;
}

/* Menu items — more top clearance */
.menu-inner {
  padding-top: 140px !important;
}

@media (max-width: 991px) {
  .menu-close {
    top: 20px;
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.76rem;
  }
}

@media (max-width: 767px) {
  .menu-close {
    right: 20px;
  }
}

/* Logo animation override */
.brand-lockup img {
  animation: logoAssemble 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes logoAssemble {
  0% {
    opacity: 0;
    transform: scale(0.55) rotate(-18deg);
    filter: blur(12px);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(4deg);
    filter: blur(2px);
  }

  75% {
    transform: scale(0.97) rotate(-1deg);
  }

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

.loader-logo img {
  width: 90px !important;
  height: 90px !important;
  animation: loaderLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes loaderLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-30deg);
    filter: blur(20px);
  }

  40% {
    opacity: 0.6;
    transform: scale(1.2) rotate(8deg);
    filter: blur(4px);
  }

  70% {
    transform: scale(0.93) rotate(-2deg);
    filter: blur(0);
  }

  85% {
    transform: scale(1.04);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* "Barista" in orange, "Sri Lanka" in flag colors in the heading */
.welcome-barista {
  color: var(--brand);
}

.welcome-sl {
  background: linear-gradient(135deg, #8D153A 0%, #FF6B00 50%, #006B3F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero video — NO parallax transform, just static fill */
.hero-video-bg video {
  transform: none !important;
  will-change: auto !important;
}

/* MODAL */
.person-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 3, 3, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.person-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.person-modal {
  background: #fff;
  border-radius: 32px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 40px 120px rgba(95, 15, 14, 0.25);
}

.person-modal-overlay.is-open .person-modal {
  transform: translateY(0) scale(1);
}

.modal-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 28px 0 0 28px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 40px 40px 36px;
}

.modal-body h2 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.modal-body .modal-role {
  color: var(--brand);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.modal-contact-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.modal-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.modal-contact-row a:hover {
  color: var(--brand);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ink);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--brand);
  color: #fff;
}

@media (max-width: 720px) {
  .person-modal {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .modal-img {
    height: 280px;
    min-height: 280px;
    border-radius: 28px 28px 0 0;
  }

  .modal-body {
    padding: 34px 28px 32px;
  }
}

/* Sri Lanka SVG map — proper styles */
.sl-map-svg-proper .island {
  fill: #fbe8df;
  stroke: #DF633F;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.sl-map-svg-proper .district-pin {
  cursor: pointer;
}

.sl-map-svg-proper .district-pin circle {
  fill: #DF633F;
  stroke: #fff;
  stroke-width: 2;
  transition: r 0.3s, fill 0.3s;
}

.sl-map-svg-proper .district-pin:hover circle {
  r: 9;
  fill: #5F0F0E;
}

.sl-map-svg-proper .district-pin.active-region circle {
  fill: #5F0F0E;
  r: 9;
}

.sl-map-svg-proper .district-pin text {
  fill: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 7px;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

/* Inner page header — always white */
body.is-inner-page .site-header {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom-color: var(--line) !important;
}

body.is-inner-page .site-header .hamburger-line {
  background: var(--ink) !important;
}

body.is-inner-page .site-header .menu-button {
  border-color: var(--line) !important;
}

body.is-inner-page .site-header .nav-cta {
  border-color: var(--line) !important;
  color: var(--ink) !important;
  background: var(--bg-off) !important;
}

body.is-inner-page .site-header .brand-lockup img {
  filter: none !important;
}

body.is-inner-page .site-header .brand-lockup small {
  color: var(--brand) !important;
}

/* === QUICK FIXES v5 === */
/* Menu: content anchors from top not center */
.menu-inner {
  justify-content: flex-start !important;
  padding-top: 140px !important;
}

/* Hero content: appear snappily after loader */
/* [data-animate] transition handled in JS via .is-visible class */

/* D3 map tooltip */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--brand-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
  transform: translate(-50%, -130%);
  box-shadow: 0 4px 16px rgba(95, 15, 14, 0.3);
}

.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--brand-dark);
  border-bottom: 0;
}

.map-tooltip.visible {
  opacity: 1;
}

/* Crown loyalty section */
.crown-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #3a0807 100%);
  position: relative;
  overflow: hidden;
}

.crown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 30%, rgba(223, 99, 63, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.crown-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.crown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.crown-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.crown-showcase {
  display: grid;
  gap: 16px;
}

.crown-hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.crown-hero-card img {
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.2));
}

.crown-perk {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  transition: background var(--transition), border-color var(--transition);
}

.crown-perk:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(223, 99, 63, 0.4);
}

.crown-perk-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.crown-perk h4 {
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.crown-perk p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

/* Training CTA section */
.training-section {
  position: relative;
  overflow: hidden;
}

.training-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {

  .crown-inner,
  .training-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .crown-perks {
    grid-template-columns: 1fr 1fr;
  }
}

/* Crown modal */
.crown-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(10, 3, 3, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.crown-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.crown-modal {
  background: #fff;
  border-radius: 28px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 40px 120px rgba(95, 15, 14, 0.3);
}

.crown-modal-overlay.is-open .crown-modal {
  transform: translateY(0) scale(1);
}

.crown-modal h2 {
  margin-bottom: 6px;
}

.crown-modal .lead {
  margin-bottom: 28px;
  font-size: 0.95rem;
}

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

.crown-form input,
.crown-form select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-off);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: 'Montserrat', sans-serif;
}

.crown-form input:focus,
.crown-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
  outline: none;
}

.crown-form input::placeholder {
  color: var(--muted-light);
}

.crown-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.crown-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-off);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ink);
  transition: all var(--transition);
}

.crown-modal-close:hover {
  background: var(--brand);
  color: #fff;
}

/* ── Loader logo: clean spring-bounce animation ── */
.loader-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.loader-logo img {
  width: 130px !important;
  height: 130px !important;
  animation: logoBoom 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
  filter: drop-shadow(0 8px 24px rgba(223, 99, 63, 0.35));
  position: relative;
  z-index: 2;
}

.loader-logo::before {
  display: none !important;
}

.loader-logo::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid rgba(223, 99, 63, 0.7);
  animation: ringPulse 1.8s ease-out 0.9s infinite;
  pointer-events: none;
}

@keyframes logoBoom {
  0% {
    opacity: 0;
    transform: scale(0.1) rotate(-15deg);
  }

  60% {
    opacity: 1;
    transform: scale(1.12) rotate(3deg);
  }

  80% {
    transform: scale(0.96) rotate(-1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ── outlet-card-item hidden state ── */
.outlet-card-item[data-hidden="true"] {
  display: none;
}

/* ── locations-cta dark section ── */
.locations-cta {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #2a0504 100%);
  position: relative;
  overflow: hidden;
}

.locations-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 30% 50%, rgba(223, 99, 63, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.locations-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.06;
  pointer-events: none;
}

.locations-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.locations-cta-inner h2 {
  color: #fff;
  max-width: 14ch;
  text-wrap: balance;
}

.locations-cta-inner p {
  color: rgba(255, 255, 255, 0.62);
}

.locations-cta-inner .eyebrow {
  color: var(--brand);
}

.locations-cta-copy {
  display: grid;
  gap: 24px;
  align-items: start;
}

.locations-cta-copy .lead {
  max-width: 58ch;
}

.locations-map-column {
  position: relative;
  min-height: 260vh;
}

.locations-map-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  --map-progress: 0;
  --map-drop-progress: 0;
  --map-flat-progress: 0;
  --map-tilt: 54deg;
  --map-shift-y: 12px;
  overflow: hidden;
}

.locations-map-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.6;
}

.locations-map-orbit-a {
  inset: 5% 14% auto auto;
  width: 180px;
  height: 180px;
}

.locations-map-orbit-b {
  inset: auto auto 10% -2%;
  width: 120px;
  height: 120px;
}

.locations-map-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  transform-style: preserve-3d;
  z-index: 2;
  overflow: hidden;
}

.locations-map-glow {
  position: absolute;
  inset: 20% 12% 24%;
  background:
    radial-gradient(circle at 50% 55%, rgba(246, 148, 97, 0.18), transparent 38%),
    radial-gradient(circle at 50% 55%, rgba(223, 99, 63, 0.14), transparent 56%);
  filter: blur(28px);
  pointer-events: none;
  transform: scale(1.2);
  opacity: 0.5;
}

.locations-map-floor {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 14%;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(13, 5, 5, 0.58), rgba(13, 5, 5, 0));
  filter: blur(14px);
  transform: translateZ(-60px) scale(calc(1.2 - (var(--map-flat-progress) * 0.28)));
  opacity: 0.6;
}

.locations-map-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 520px);
  height: min(84vh, 760px);
  transform-style: preserve-3d;
  transform:
    translate(-50%, calc(-50% + var(--map-shift-y))) rotateX(calc(var(--map-tilt) - (var(--map-flat-progress) * 54deg))) rotateZ(calc(-14deg + (var(--map-flat-progress) * 14deg))) scale(calc(0.9 + (var(--map-flat-progress) * 0.1)));
  transition: none;
  pointer-events: none;
  will-change: transform, filter;
}

.locations-map-shell {
  position: absolute;
  inset: 0;
  padding: 0;
}

.locations-map-svg {
  position: absolute;
  inset: 6% 4% 4%;
  width: 92%;
  height: 92%;
  transform: translateZ(70px);
  filter: url(#sl-map-shadow);
  transition: none;
  will-change: transform, opacity;
}

.locations-map-outline {
  fill: url(#sl-map-fill);
  stroke: rgba(255, 244, 237, 0.58);
  stroke-width: 9;
  opacity: calc(0.72 + (var(--map-progress) * 0.28));
}

.locations-map-pin {
  position: absolute;
  left: var(--pin-left);
  top: var(--pin-top);
  z-index: 4;
  transform-style: preserve-3d;
  transform:
    translate(-50%, calc(-220px + (var(--pin-progress, 0) * 220px))) scale(calc(0.84 + (var(--pin-progress, 0) * 0.16))) translateZ(calc(28px + (var(--pin-progress, 0) * 18px)));
  opacity: calc(0.12 + (var(--pin-progress, 0) * 0.88));
  transition: none;
  will-change: transform, opacity;
}

.locations-map-pin-head {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(180deg, #ffd5c2, #f69461 55%, #df633f 100%);
  transform: rotate(-45deg);
  box-shadow: 0 12px 24px rgba(10, 3, 3, 0.34);
}

.locations-map-pin-head::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

.locations-map-pin-pulse {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 221, 206, 0.45);
  transform: translate(-50%, 0) scale(calc(0.8 + (var(--pin-progress, 0) * 0.4)));
  opacity: calc(var(--pin-progress, 0) * 0.9);
  box-shadow: 0 0 28px rgba(246, 148, 97, 0.32);
}

.locations-map-pin-label {
  position: absolute;
  left: 22px;
  top: -8px;
  min-width: 116px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(8, 2, 2, 0.2);
  opacity: clamp(0, calc((var(--pin-progress, 0) - 0.6) * 2.5), 1);
  transform: translateY(calc(10px - (var(--pin-progress, 0) * 10px)));
}

.locations-map-pin-label strong,
.locations-map-pin-label small {
  display: block;
  white-space: nowrap;
}

.locations-map-pin-label strong {
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.2;
}

.locations-map-pin-label small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .locations-cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .locations-cta-inner h2 {
    max-width: 16ch;
  }

  .locations-map-column,
  .locations-map-scene {
    min-height: auto;
  }

  .locations-map-stage {
    position: relative;
    height: auto;
    min-height: 620px;
    overflow: visible;
  }

  .locations-map-column {
    min-height: auto;
  }

  .locations-map-scene {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    display: block;
    overflow: visible;
  }

  .locations-map-svg {
    inset: 7% 5% 5%;
    width: 90%;
    height: 90%;
  }

  .locations-map-card {
    top: 0;
    left: 50%;
    width: min(100%, 460px);
    min-height: 620px;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 640px) {
  .locations-map-stage {
    min-height: 540px;
  }

  .locations-map-card {
    border-radius: 24px;
    width: min(100%, 360px);
    min-height: 540px;
    transform: translate(-50%, 0);
  }

  .locations-map-shell {
    padding: 0;
  }

  .locations-map-svg {
    inset: 8% 4% 4%;
    width: 92%;
    height: 92%;
  }

  .locations-map-pin {
    transform:
      translate(-50%, calc(-140px + (var(--pin-progress, 0) * 140px))) scale(calc(0.84 + (var(--pin-progress, 0) * 0.16)));
  }

  .locations-map-pin-label {
    min-width: 86px;
    padding: 8px 10px;
    left: 16px;
  }

  .locations-map-pin-label strong {
    font-size: 0.7rem;
  }

  .locations-map-pin-label small {
    font-size: 0.58rem;
  }

}

/* === LOCATIONS PAGE REFRESH === */
.locations-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.locations-highlight-stat {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}

.locations-highlight-stat strong {
  color: #fff !important;
}

.locations-highlight-stat span {
  color: rgba(255, 255, 255, 0.72) !important;
}

.locations-directory {
  display: grid;
  gap: 28px;
}

.locations-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: end;
}

.locations-toolbar-copy .lead {
  max-width: 680px;
}

.locations-toolbar-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.locations-search-field {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  flex: 1;
}

.locations-search-field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.locations-search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
}

.locations-search-field input::placeholder {
  color: var(--muted-light);
}

.locations-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.locations-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.locations-map-card,
.locations-summary-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.locations-map-card {
  padding: 22px;
}

.locations-summary-card {
  padding: 26px;
}

.locations-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.locations-panel-head h3,
.locations-summary-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-top: 8px;
}

.locations-map-note {
  color: var(--muted-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locations-summary-card p {
  color: var(--muted);
  margin-top: 12px;
}

.locations-filter-map {
  position: relative;
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 15% 25%, rgba(223, 99, 63, 0.1), transparent 30%),
    radial-gradient(circle at 80% 75%, rgba(95, 15, 14, 0.06), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbf6f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.locations-sl-map {
  width: min(100%, 420px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 14px 28px rgba(95, 15, 14, 0.1));
}

.locations-sl-map .island-shape {
  fill: url(#slIslandGrad);
  stroke: rgba(223, 99, 63, 0.92);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.map-pin {
  cursor: pointer;
}

.map-pin-hit {
  fill: transparent;
}

.map-pin-badge {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 2.5;
  transition: fill var(--transition), transform var(--transition), filter var(--transition);
}

.map-pin-number {
  fill: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 7px;
  font-weight: 800;
  pointer-events: none;
}

.map-pin-name {
  fill: var(--ink-2);
  font-family: 'Outfit', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2px;
  stroke-linejoin: round;
  pointer-events: none;
}

.map-pin:hover .map-pin-badge,
.map-pin:focus-visible .map-pin-badge,
.map-pin.active-region .map-pin-badge {
  fill: var(--brand-dark);
  filter: drop-shadow(0 0 10px rgba(223, 99, 63, 0.45));
}

.map-pin:focus-visible {
  outline: none;
}

.locations-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.locations-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.locations-legend-item:hover,
.locations-legend-item.is-active {
  border-color: rgba(223, 99, 63, 0.32);
  background: var(--brand-pale);
  color: var(--brand-dark);
}

.locations-legend-dot {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
}

.locations-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.outlet-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px !important;
  align-items: stretch;
}

.outlet-card-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px !important;
  padding: 0 !important;
  min-height: 100%;
  background: #fff;
}

.outlet-card-media {
  position: relative;
  width: 136px;
  min-width: 136px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(223, 99, 63, 0.16), rgba(95, 15, 14, 0.18));
}

.outlet-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.outlet-card-item:hover .outlet-card-media img {
  transform: scale(1.04);
}

.outlet-card-media.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.outlet-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  flex: 1;
}

.outlet-card-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.outlet-region-badge,
.outlet-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outlet-region-badge {
  background: var(--brand-pale);
  color: var(--brand);
}

.outlet-type-badge {
  background: rgba(95, 15, 14, 0.08);
  color: var(--brand-dark);
}

.outlet-card-item h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.outlet-card-item .outlet-address {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.outlet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: auto;
}

.outlet-phone,
.outlet-hours {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.outlet-card-actions {
  margin-top: 2px;
}

.locations-empty-state {
  background: #fff;
  border: 1px dashed rgba(95, 15, 14, 0.18);
  border-radius: 22px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.locations-empty-state h3 {
  margin-bottom: 10px;
}

.locations-empty-state p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

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

@media (max-width: 820px) {
  .outlet-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {

  .locations-toolbar,
  .locations-overview {
    grid-template-columns: 1fr;
  }

  .locations-toolbar-actions {
    justify-content: stretch;
  }
}

@media (max-width: 640px) {
  .locations-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .locations-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .locations-summary-grid,
  .locations-hero-stats,
  .outlet-results {
    grid-template-columns: 1fr;
  }

  .outlet-card-item {
    flex-direction: column;
  }

  .outlet-card-media {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
  }

  .locations-map-card,
  .locations-summary-card {
    padding: 18px;
  }

  .locations-filter-map {
    min-height: 360px;
  }

  .locations-map-legend {
    gap: 8px;
  }

  .locations-legend-item {
    font-size: 0.68rem;
    padding: 0 10px;
  }
}
