/* ==========================================================================
   CellSonic Bahamas — refined luxury theme
   Palette from cellsonicltd.com (espresso, bronze, sand, ivory)
   ========================================================================== */
:root {
  --espresso: #2f231a;
  --espresso-2: #3b2a21;
  --cocoa: #603c2f;
  --umber: #5a4a3f;
  --bronze: #a84309;
  --bronze-dk: #8a3606;
  --sand: #d39b75;
  --blush: #efd2c3;
  --ivory: #f6f3ee;
  --linen: #ede6dc;
  --stone: #8a7b6b;
  --white: #ffffff;
  --sea: #3f7f7c;
  --wa: #25d366;
  --line: rgba(47, 35, 26, .14);
  --line-lt: rgba(255, 255, 255, .16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-weight: 300; font-size: 16.5px;
  color: var(--espresso); background: var(--ivory); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.7rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.7rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--bronze); }
p { margin: 0 0 1.1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--white { background: var(--white); }
.section--linen { background: var(--linen); }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--dark p { color: rgba(246, 243, 238, .72); }
.section--dark h1 em, .section--dark h2 em { color: var(--sand); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--umber); max-width: 620px; }
.center .lead { margin-inline: auto; }
.section--dark .lead { color: rgba(246, 243, 238, .72); }

.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--bronze); margin-bottom: 22px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--sand); }
.rule { width: 56px; height: 1px; background: var(--sand); border: 0; margin: 0 0 28px; }
.center .rule { margin-inline: auto; }

/* Buttons — squared, tracked uppercase */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border: 1px solid transparent; border-radius: 2px;
  font: 500 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--espresso); color: var(--ivory); }
.btn--primary:hover { background: var(--bronze); }
.btn--bronze { background: var(--bronze); color: var(--white); }
.btn--bronze:hover { background: var(--bronze-dk); }
.btn--light { background: var(--ivory); color: var(--espresso); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: rgba(246, 243, 238, .45); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--espresso); }
.btn--outline { border-color: var(--espresso); color: var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: var(--ivory); }
.btn--wa svg { color: var(--wa); }
.btn--sm { padding: 12px 18px; font-size: .68rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.link {
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; display: inline-flex; gap: 10px; align-items: center;
  transition: color .3s var(--ease);
}
.link:hover { color: var(--bronze); }
.link svg { width: 14px; height: 14px; }

/* Skip link (keyboard / screen-reader users) */
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--espresso); color: var(--ivory); padding: 12px 18px; font-size: .8rem; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

/* Header — transparent over imagery, ivory once scrolled, hides on scroll down */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 14, 10, .4), transparent); pointer-events: none; transition: opacity .45s; }
.header.is-hidden { transform: translateY(-100%); }
.header .container { position: relative; display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .4s var(--ease); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ivory); transition: color .4s; flex: none; min-height: 44px; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand-text { line-height: 1; display: inline-flex; flex-direction: column; }
.brand-text strong { display: block; font-family: var(--sans); font-weight: 600; font-size: 1.5rem; line-height: 1; letter-spacing: .045em; margin-right: -.045em; }
.brand-text span { display: block; margin-top: 5px; font-size: .6rem; letter-spacing: .5em; text-transform: uppercase; color: var(--sand); font-weight: 500; }
/* "BAHAMAS" spread evenly across the full width of "CellSonic" */
.brand-text .brand-sub { display: flex; justify-content: space-between; width: 84%; align-self: flex-start; margin-top: 2px; font-size: .74rem; font-weight: 500; letter-spacing: 0; line-height: 1; }
.brand-sub i { font-style: normal; }
/* Logo hover: glowing ring + gentle turn, wordmark warms to sand, so it reads as the link home */
.brand img { transition: transform .5s var(--ease), filter .5s var(--ease); }
.brand-text strong, .brand-text span { transition: color .35s var(--ease), letter-spacing .5s var(--ease); }
.brand:hover img, .brand:focus-visible img { transform: rotate(-12deg) scale(1.1); filter: drop-shadow(0 0 10px rgba(239, 210, 195, .75)); }
.brand:hover .brand-text strong, .brand:focus-visible .brand-text strong { color: var(--sand); }
.header.scrolled .brand:hover .brand-text strong, .header.scrolled .brand:focus-visible .brand-text strong { color: var(--sand); }
.menu-open .header .brand:hover .brand-text strong { color: var(--bronze); }

.brand:active img { transform: rotate(-10deg) scale(1.02); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ivory); font-size: .78rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; position: relative; transition: color .3s, opacity .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links:hover a:not(:hover) { opacity: .65; }
.nav-cta { padding: 14px 22px; font-size: .72rem; letter-spacing: .16em; background: var(--ivory); color: var(--espresso); }
.nav-cta:hover { background: var(--white); }

.header.scrolled {
  /* deep espresso warming into a bronze sheen, then back to espresso */
  background: linear-gradient(100deg, rgba(31, 22, 16, .8) 0%, rgba(52, 36, 27, .78) 30%, rgba(96, 60, 47, .72) 62%, rgba(66, 44, 33, .78) 82%, rgba(36, 26, 19, .8) 100%);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-color: transparent;
  box-shadow: 0 14px 36px rgba(20, 14, 10, .32), inset 0 1px 0 rgba(255, 255, 255, .05);
}
/* fine gold hairline along the bottom edge */
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: linear-gradient(90deg, transparent 0%, rgba(211, 155, 117, .55) 22%, rgba(239, 210, 195, .95) 50%, rgba(211, 155, 117, .55) 78%, transparent 100%); }
.header.scrolled::after { opacity: 1; }
.menu-open .header::after { opacity: 0; }
.header.scrolled::before { opacity: 0; }
.header.scrolled .container { height: 72px; }
.header.scrolled .brand, .header.scrolled .nav-links a { color: #fff; }
.header.scrolled .brand-text span { color: var(--sand); }
.header.scrolled .nav-cta { background: var(--ivory); color: var(--espresso); }
.header.scrolled .nav-cta:hover { background: var(--sand); color: var(--espresso); }

/* Hamburger → X */
.menu-toggle { display: none; position: relative; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: var(--ivory); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 28px; }
.header.scrolled .menu-toggle { color: #fff; }
.menu-open .header .menu-toggle { color: var(--espresso); }
.menu-open .menu-toggle span:first-child { top: 23.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 23.5px; transform: rotate(-45deg); }
.menu-open .header { background: transparent; border-color: transparent; transform: none; }
.menu-open .header::before { opacity: 0; }
.menu-open .header .brand { color: var(--espresso); }
.menu-open .header .brand-text span { color: var(--bronze); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px 24px 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(2) { transition-delay: .04s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: .08s; }
.menu-open .mobile-menu li:nth-child(4) { transition-delay: .12s; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: .16s; }
.menu-open .mobile-menu li:nth-child(6) { transition-delay: .2s; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--espresso); text-decoration: none; }
.mobile-menu li a small { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; color: var(--bronze); }
.mobile-menu li a[aria-current="page"] { color: var(--bronze); font-style: italic; }
.mobile-menu-foot { margin-top: 36px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { margin: 18px 0 0; text-align: center; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
body.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header .container { height: 72px; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }

/* Loading screen — matches cellsonicltd.com */
.loader {
  position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3b2a21 0%, #2f231a 50%, #603c2f 100%);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.no-loader .loader { display: none; }
.loader-mark { position: relative; width: 112px; height: 112px; margin-bottom: 24px; }
.loader .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(211, 155, 117, .3); animation: ring-pulse 2.4s ease-out infinite; }
.loader .ring:nth-child(2) { animation-delay: .8s; }
.loader .ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes ring-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.loader-logo {
  position: absolute; inset: 8px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: logo-breathe 2.4s ease-in-out infinite;
}
.loader-logo img { width: 72px; height: 72px; object-fit: contain; }
@keyframes logo-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.loader-bar { width: 128px; height: 2px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #a84309, #d39b75); transition: width .35s ease; }
.loader::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(20, 14, 10, .55) 100%); }
.loader-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.loader-place { margin: 26px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ivory); letter-spacing: .02em; opacity: 0; animation: loader-fade 1.2s .5s var(--ease) forwards; }
.loader-coords { margin: 8px 0 0; font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(211, 155, 117, .75); opacity: 0; animation: loader-fade 1.2s .8s var(--ease) forwards; }
@keyframes loader-fade { to { opacity: 1; } }

/* Bahamas map — transparent outline that draws itself */
.loader-map {
  position: absolute; z-index: 1; left: 37%; top: 50%; width: min(92vw, 860px); height: auto; max-height: 92vh;
  transform: translate(-50%, -50%) scale(1.04); animation: map-settle 3s var(--ease) forwards;
}
@keyframes map-settle { to { transform: translate(-50%, -50%) scale(1); } }
.loader-grid line { stroke: rgba(211, 155, 117, .07); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.loader-islands {
  fill: rgba(211, 155, 117, 0); stroke: rgba(211, 155, 117, .55); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: map-draw 2.4s .1s cubic-bezier(.45, 0, .2, 1) forwards, map-fill 1.4s 2s ease forwards;
}
@keyframes map-draw { to { stroke-dashoffset: 0; } }
@keyframes map-fill { to { fill: rgba(211, 155, 117, .06); stroke: rgba(211, 155, 117, .4); } }
.loader-pins .pin { opacity: 0; animation: loader-fade .9s 1.6s var(--ease) forwards; }
.loader-pins .pin + .pin { animation-delay: 1.85s; }
.loader-pins circle { fill: #d39b75; }
.loader-pins .pulse { fill: none; stroke: rgba(211, 155, 117, .6); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.2s ease-out infinite; }
@keyframes pin-pulse { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.loader-pins text { fill: rgba(246, 243, 238, .7); font-family: var(--sans); font-size: 15px; letter-spacing: .3em; text-transform: uppercase; }
@media (max-width: 600px) {
  .loader-map { width: 130vw; left: 47%; top: 31%; }
  .loader-pins text { font-size: 22px; }
}

/* Subtle WhatsApp button — bottom right */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(20, 14, 10, .18);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .3s;
}
.wa-float.is-visible { opacity: .92; transform: none; pointer-events: auto; }
.wa-float:hover { opacity: 1; box-shadow: 0 10px 26px rgba(20, 14, 10, .26); }
.wa-float svg { width: 24px; height: 24px; }
.wa-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; background: var(--espresso); color: var(--ivory); padding: 8px 12px;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 48px; height: 48px; } .wa-tip { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .loader .ring, .loader-logo, .loader-map, .loader-pins .pulse { animation: none; }
  .loader-islands { animation: none; stroke-dashoffset: 0; }
  .loader-pins .pin, .loader-place, .loader-coords { animation: none; opacity: 1; }
}

/* Home hero — full-screen location slideshow */
.hero { position: relative; overflow: hidden; color: var(--ivory); background: #1b140f; }
.slideshow { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.slideshow::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  /* warm tint over every slide + extra depth behind the text (bottom-left) */
  background:
    linear-gradient(90deg, rgba(20, 14, 10, .55) 0%, rgba(20, 14, 10, .15) 55%, rgba(20, 14, 10, 0) 80%),
    linear-gradient(180deg, rgba(20, 14, 10, .35) 0%, rgba(20, 14, 10, 0) 25%, rgba(20, 14, 10, .25) 50%, rgba(20, 14, 10, .82) 100%),
    rgba(30, 20, 14, .3);
}
.hero-content .lead, .slide-caption { text-shadow: 0 1px 14px rgba(20, 14, 10, .55); }
.hero .slideshow ~ .hero-content h1 em, .page-hero h1 em { color: var(--ivory); }
.hero-content h1, .page-hero h1 { text-shadow: 0 2px 30px rgba(20, 14, 10, .25); }
.hero-content { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); }
.hero-content .container { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero h1 { color: var(--ivory); font-size: clamp(3rem, 7vw, 6.4rem); line-height: 1; margin-bottom: 22px; }
.hero h1 em { color: var(--sand); }
.hero .lead { color: rgba(246, 243, 238, .85); font-size: 1.08rem; max-width: 520px; margin-bottom: 34px; }
.hero-content .anim { opacity: 0; transform: translateY(26px); animation: rise 1.3s var(--ease) forwards; }
.hero-content .anim:nth-child(2) { animation-delay: .15s; }
.hero-content .anim:nth-child(3) { animation-delay: .3s; }
.hero-content .anim:nth-child(4) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.slide-meta { text-align: right; min-width: 240px; }
.slide-caption { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.2; transition: opacity .6s; }
.slide-caption small { display: block; font-family: var(--sans); font-style: normal; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(246, 243, 238, .7); margin-top: 8px; }
.slide-dots { display: flex; gap: 8px; justify-content: flex-end; margin-top: 22px; }
.slide-dots button { position: relative; width: 44px; height: 2px; border: 0; padding: 0; background: rgba(246, 243, 238, .3); cursor: pointer; overflow: hidden; }
.slide-dots button::before { content: ""; position: absolute; top: -10px; bottom: -10px; left: 0; right: 0; }
.slide-dots button i { position: absolute; inset: 0; background: var(--ivory); transform: scaleX(0); transform-origin: left; }
.slide-dots button.is-active i { animation: progress var(--slide-time, 6s) linear forwards; }
.slide-dots button.is-done i { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 0; width: 1px; height: 64px; background: linear-gradient(transparent, var(--ivory)); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 760px) {
  .hero-content .container { grid-template-columns: 1fr; gap: 28px; }
  .slide-meta { text-align: left; }
  .slide-dots { justify-content: flex-start; }
  .scroll-cue { display: none; }
}

/* Sub-page hero — photo with soft overlay */
.page-hero { min-height: 74vh; display: flex; align-items: flex-end; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 10, .5), rgba(20, 14, 10, 0) 70%), linear-gradient(180deg, rgba(20, 14, 10, .4), rgba(20, 14, 10, .2) 40%, rgba(20, 14, 10, .8)); }
.page-hero .container { position: relative; z-index: 1; padding: 160px 0 clamp(60px, 9vh, 100px); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page-hero .lead { color: rgba(246, 243, 238, .86); margin-bottom: 0; }
@media (max-width: 760px) { .page-hero { min-height: 68vh; } .page-hero .container { padding-top: 130px; } }

/* Credentials strip */
.trust { background: var(--espresso-2); color: var(--ivory); border-top: 1px solid var(--line-lt); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 36px 24px; border-left: 1px solid var(--line-lt); text-align: center; }
.trust-item:first-child { border-left: 0; }
.trust-item b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.3rem; color: var(--sand); line-height: 1; margin-bottom: 10px; }
.trust-item span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 243, 238, .65); }
@media (max-width: 760px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid var(--line-lt); }
}

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.head-row .lead { margin: 0; }

.card { background: var(--white); padding: 40px 34px; border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.card:hover { border-color: var(--sand); }
.section--white .card { background: var(--ivory); }
.card p { color: var(--umber); font-size: .98rem; }
.card .ic { width: 46px; height: 46px; color: var(--bronze); margin-bottom: 28px; }
.card .ic svg { width: 100%; height: 100%; }
.card ul { padding-left: 18px; margin: 0 0 14px; color: var(--umber); font-size: .95rem; }

/* Condition tiles — numbered, editorial */
.conds { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cond-tile {
  display: flex; flex-direction: column; padding: 44px 32px 40px; text-decoration: none; color: inherit;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .45s var(--ease);
}
.cond-tile:first-child { border-left: 1px solid var(--line); }
.cond-tile:hover { background: var(--white); }
.cond-tile .no { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--bronze); margin-bottom: 64px; }
.cond-tile h3 { font-size: 1.9rem; }
.cond-tile p { color: var(--umber); font-size: .95rem; }
.cond-tile .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .conds { grid-template-columns: repeat(2, 1fr); } .cond-tile:nth-child(3) { border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .conds { grid-template-columns: 1fr; } .cond-tile { border-left: 1px solid var(--line); } .cond-tile .no { margin-bottom: 28px; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--wide { grid-template-columns: 1.15fr .85fr; }
.split img.photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.photo-frame { position: relative; }
.photo-frame::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--sand); z-index: -1; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } .photo-frame::after { display: none; } }

.check-list { list-style: none; padding: 0; margin: 0 0 40px; }
.check-list li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list svg { width: 18px; height: 18px; color: var(--bronze); flex: none; margin-top: 5px; }
.section--dark .check-list li { border-color: var(--line-lt); }
.section--dark .check-list svg { color: var(--sand); }

/* Cell charge visual */
.charge { border: 1px solid var(--line-lt); padding: 40px; }
.charge .label { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-bottom: 30px; }
.bar-row { margin-bottom: 26px; }
.bar-row .top { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ivory); margin-bottom: 10px; }
.bar-row .top span:last-child { font-family: var(--serif); font-size: 1.3rem; color: var(--sand); }
.bar { height: 2px; background: var(--line-lt); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sand), var(--bronze)); }
.charge small { font-size: .8rem; color: rgba(246, 243, 238, .5); }

.forces { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid var(--line-lt); }
.force { padding: 36px 28px 0 0; }
.force + .force { padding-left: 28px; border-left: 1px solid var(--line-lt); }
.force .num { font-family: var(--serif); font-style: italic; color: var(--sand); font-size: 1.1rem; }
.force h3 { margin: 14px 0 10px; color: var(--ivory); font-size: 1.6rem; }
.force p { font-size: .94rem; margin: 0; }
@media (max-width: 900px) {
  .forces { grid-template-columns: repeat(2, 1fr); }
  .force, .force + .force { padding: 30px 20px 30px 0; border-left: 0; border-bottom: 1px solid var(--line-lt); }
}
@media (max-width: 520px) { .forces { grid-template-columns: 1fr; } }

/* Journey steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; margin-top: 70px; }
.step { padding: 0 30px 0 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--sand); margin-bottom: 22px;
}
.step h3 { font-size: 1.6rem; }
.step p { color: var(--umber); font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 0 0 30px; border-left: 0; border-bottom: 1px solid var(--line); } }

/* Full-bleed image band */
.band { position: relative; min-height: 78vh; display: flex; align-items: end; color: var(--ivory); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 23, 17, .05) 30%, rgba(31, 23, 17, .82)); }
.band .container { position: relative; z-index: 1; padding: 0 0 80px; }
.band h2 { color: var(--ivory); max-width: 760px; }
.band h2 em { color: var(--sand); }
.band p { color: rgba(246, 243, 238, .82); max-width: 560px; }

/* Stories */
.story { display: flex; flex-direction: column; }
.story .meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.story .meta span + span::before { content: "·"; margin-right: 14px; color: var(--sand); }
.story .meta .where { color: var(--bronze); }
.story h3 { font-size: 1.75rem; }
.story .outcome {
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--espresso);
}
.tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }

blockquote.quote { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.2; font-style: italic; }
.quote-by { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.quote-by img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; filter: grayscale(.2); }
.quote-by b { font-weight: 500; }
.quote-by small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 243, 238, .55); }

.story-feature { display: grid; grid-template-columns: 1.2fr .8fr; border: 1px solid var(--line); background: var(--white); }
.story-feature .body { padding: clamp(32px, 5vw, 64px); }
.story-feature .side { background: var(--espresso); color: var(--ivory); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.story-feature .side b { display: block; font-family: var(--serif); font-weight: 400; font-size: 3.4rem; color: var(--sand); line-height: 1; margin-bottom: 8px; }
.story-feature .side span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 243, 238, .65); }
@media (max-width: 820px) { .story-feature { grid-template-columns: 1fr; } }

/* Locations */
.loc { padding: 0; display: flex; flex-direction: column; background: transparent; border: 0; }
.loc:hover { border: 0; }
.loc-img { aspect-ratio: 4/5; overflow: hidden; position: relative; background: var(--cocoa); }
.loc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.loc:hover .loc-img img { transform: scale(1.05); }
.loc-img .badge {
  position: absolute; top: 20px; left: 20px; background: rgba(246, 243, 238, .92); color: var(--espresso);
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; padding: 8px 14px; font-weight: 500;
}
.loc-img--art { display: grid; place-items: center; color: var(--sand);
  background: radial-gradient(circle at 50% 40%, rgba(211, 155, 117, .28), transparent 60%), linear-gradient(160deg, var(--cocoa), var(--espresso)); }
.loc-img--art .mark { text-align: center; }
.loc-img--art svg { width: 90px; height: 90px; margin: 0 auto 18px; }
.loc-img--art .mark span { font-family: var(--serif); font-size: 2rem; color: var(--ivory); letter-spacing: .02em; }
.loc-body { padding: 30px 0 0; display: flex; flex-direction: column; flex: 1; }
.loc-body .island { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.loc-body h3 { font-size: 1.8rem; }
.loc-body p { color: var(--umber); font-size: .96rem; }
.loc-meta { list-style: none; padding: 0; margin: 0 0 26px; font-size: .93rem; color: var(--umber); }
.loc-meta li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.loc-meta svg { width: 16px; height: 16px; color: var(--bronze); flex: none; margin-top: 5px; }
.loc-body .btn-row { margin-top: auto; }

/* Location detail rows (locations page) */
.loc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; padding: 70px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.loc-row:nth-child(even) .loc-img { order: 2; }
.loc-row .loc-img { aspect-ratio: 5/4; }
@media (max-width: 860px) { .loc-row { grid-template-columns: 1fr; } .loc-row:nth-child(even) .loc-img { order: 0; } }

/* FAQ */
.faq { max-width: 860px; margin: 60px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 50px 28px 0; position: relative; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 1px solid var(--bronze); border-bottom: 1px solid var(--bronze); transform: translateY(-75%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 50px 28px 0; margin: 0; color: var(--umber); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--espresso); color: var(--ivory); text-align: center; padding: clamp(80px, 11vw, 140px) 24px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 0%, rgba(211, 155, 117, .25), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--ivory); max-width: 780px; margin-inline: auto; }
.cta-band h2 em { color: var(--sand); }
.cta-band p { color: rgba(246, 243, 238, .72); max-width: 560px; margin: 0 auto 40px; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 920px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-options { border-top: 1px solid var(--line); margin-top: 30px; }
.contact-opt { display: flex; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--espresso); transition: padding .35s var(--ease); }
.contact-opt:hover { padding-left: 10px; }
.contact-opt .ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--line); color: var(--bronze); }
.contact-opt .ic svg { width: 22px; height: 22px; }
.contact-opt.wa .ic { background: var(--wa); border-color: var(--wa); color: #fff; }
.contact-opt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.contact-opt small { color: var(--stone); font-size: .88rem; }

.form { background: var(--white); padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line); }
.form h2 { font-size: 2.4rem; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--umber); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(47, 35, 26, .3); border-radius: 0;
  font: 300 1.02rem var(--sans); color: var(--espresso); background: transparent; transition: border-color .3s var(--ease);
}
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); }
.field textarea { min-height: 100px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; margin: 0; letter-spacing: 0; text-transform: none; color: var(--espresso); transition: border-color .3s, background .3s; }
.chips input { accent-color: var(--bronze); width: auto; margin: 0; }
.chips label:has(input:checked) { border-color: var(--bronze); background: rgba(168, 67, 9, .05); }
.form .note { font-size: .82rem; color: var(--stone); margin: 18px 0 0; }
.form .btn-row .btn { flex: 1 1 220px; }

/* Condition detail page */
.cond-detail { display: grid; grid-template-columns: 320px 1fr; gap: 60px; padding: 80px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.cond-detail .head .no { font-family: var(--serif); font-style: italic; color: var(--bronze); font-size: 1.2rem; display: block; margin-bottom: 18px; }
.cond-detail .head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.cond-detail .body p { color: var(--umber); }
.cond-detail .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 34px 0; }
.cond-detail .box { border-top: 1px solid var(--sand); padding-top: 22px; }
.cond-detail .box h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--bronze); margin-bottom: 14px; }
.cond-detail .box ul { margin: 0; padding: 0; list-style: none; color: var(--espresso); }
.cond-detail .box li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
@media (max-width: 860px) { .cond-detail { grid-template-columns: 1fr; gap: 10px; padding: 60px 0; } .cond-detail .cols { grid-template-columns: 1fr; } }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump a { padding: 11px 18px; border: 1px solid var(--line-lt); color: var(--ivory); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s; }
.jump a:hover { background: var(--ivory); color: var(--espresso); }

.other-conds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; justify-content: center; }
.other-conds span { padding: 10px 18px; border: 1px solid var(--line); font-size: .9rem; background: var(--white); }

.disclaimer { font-size: .85rem; color: var(--umber); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 50px; }
.disclaimer strong { font-weight: 500; }

/* Footer */
.footer { background: #1f1711; color: rgba(246, 243, 238, .6); padding: 100px 0 34px; font-size: .92rem; }
.footer-top { text-align: center; padding-bottom: 70px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 60px; }
.footer-top .brand { justify-content: center; color: var(--ivory); margin-bottom: 26px; }
.footer-top .brand-text span { color: var(--sand); }
.footer-top p { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: rgba(246, 243, 238, .82); max-width: 640px; margin: 0 auto; line-height: 1.35; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--sans); color: var(--sand); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(246, 243, 238, .75); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--sand); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 70px; padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .78rem; color: rgba(246, 243, 238, .42); }
.footer-bottom p { margin: 0; max-width: 780px; }


/* ==========================================================================
   Image-led home components
   ========================================================================== */

/* Word ticker */
.ticker { background: var(--ivory); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--espresso); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.ticker-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro statement */
.intro { text-align: center; }
.intro p.statement { font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.22; max-width: 980px; margin: 0 auto 40px; color: var(--espresso); }
.intro p.statement em { color: var(--bronze); }
.intro .device { width: min(400px, 82vw); height: auto; margin: -30px auto 0; filter: drop-shadow(0 24px 28px rgba(47, 35, 26, .16)); }
.device-photo { width: 100%; max-width: 480px; height: auto; margin: -40px auto -30px; filter: drop-shadow(0 26px 30px rgba(47, 35, 26, .16)); }

/* Image condition cards */
.img-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.img-card { position: relative; display: block; aspect-ratio: 3/4.2; overflow: hidden; color: var(--ivory); text-decoration: none; background: var(--cocoa); }
.img-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) sepia(.14) contrast(1.02); transition: transform 1.4s var(--ease); }
.img-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 10, 0) 40%, rgba(20, 14, 10, .78)); transition: background .6s var(--ease); }
.img-card:hover img { transform: scale(1.07); }
.img-card:hover::after { background: linear-gradient(180deg, rgba(20, 14, 10, .15) 20%, rgba(20, 14, 10, .85)); }
.img-card .cap { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 26px; }
.img-card .no { font-family: var(--serif); font-style: italic; color: var(--sand); font-size: 1rem; }
.img-card h3 { color: var(--ivory); font-size: 2rem; margin: 6px 0 0; }
.img-card p { font-size: .9rem; color: rgba(246, 243, 238, .85); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease), margin .6s var(--ease); }
.img-card:hover p, .img-card:focus-visible p { max-height: 120px; opacity: 1; margin-top: 10px; }
@media (hover: none) { .img-card p { max-height: none; opacity: 1; margin-top: 8px; } }
@media (max-width: 1000px) {
  .img-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .img-cards::-webkit-scrollbar { display: none; }
  .img-card { scroll-snap-align: start; }
}
@media (max-width: 560px) { .img-cards { grid-auto-columns: 84%; } }

/* Location carousel */
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--espresso); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.carousel-nav button:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.carousel-nav svg { width: 18px; height: 18px; }
.carousel-nav .prev svg { transform: rotate(180deg); }
.carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-left: max(16px, calc((100vw - var(--max)) / 2)); padding-right: 16px; scroll-padding-left: max(16px, calc((100vw - var(--max)) / 2)); }
.carousel::-webkit-scrollbar { display: none; }
.slide-card { position: relative; flex: 0 0 min(62vw, 820px); aspect-ratio: 16/10.5; overflow: hidden; scroll-snap-align: start; color: var(--ivory); text-decoration: none; background: var(--cocoa); }
.slide-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.slide-card:hover img { transform: scale(1.05); }
.slide-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 10, 0) 45%, rgba(20, 14, 10, .78)); }
.slide-card .cap { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.slide-card .where { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); margin-bottom: 8px; display: block; }
.slide-card h3 { color: var(--ivory); font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin: 0; }
.slide-card .go { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(246, 243, 238, .55); display: grid; place-items: center; flex: none; transition: background .3s, color .3s; }
.slide-card:hover .go { background: var(--ivory); color: var(--espresso); }
.slide-card .go svg { width: 18px; height: 18px; }
.carousel-progress { height: 1px; background: var(--line); margin-top: 34px; position: relative; }
.carousel-progress i { position: absolute; left: 0; top: -0.5px; height: 2px; background: var(--espresso); width: 20%; transition: transform .6s var(--ease), width .6s var(--ease); }
@media (max-width: 760px) { .slide-card { flex-basis: 86vw; aspect-ratio: 4/5; } .slide-card .cap { left: 22px; right: 22px; bottom: 22px; } }

/* Parallax band */
.band.parallax img { height: 120%; top: -10%; will-change: transform; }

/* Minimal stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 46px 20px; text-align: center; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--espresso); line-height: 1; margin-bottom: 12px; }
.stats span { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Rotating stories */
.quotes { position: relative; max-width: 940px; margin: 0 auto; text-align: center; display: grid; }
.quotes .q { grid-area: 1 / 1; position: relative; inset: auto; }
.q { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); pointer-events: none; }
.q.is-active { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.q p { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.25; color: var(--espresso); margin-bottom: 28px; }
.q p em { color: var(--bronze); }
.q .who { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); }
.q .who b { color: var(--bronze); font-weight: 500; }
.q-dots { display: flex; justify-content: center; gap: 10px; margin: 40px 0 34px; }
.q-dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--espresso); background: transparent; padding: 0; cursor: pointer; transition: background .3s; }
.q-dots button.is-active { background: var(--espresso); }

/* Moving photo gallery */
.gallery { overflow: hidden; padding: 0 0 6px; }
.gallery-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.gallery:hover .gallery-track { animation-play-state: paused; }
.gallery figure { margin: 0; position: relative; height: clamp(240px, 32vw, 400px); overflow: hidden; flex: none; }
.gallery figure:nth-child(odd) { aspect-ratio: 4/5; }
.gallery figure:nth-child(even) { aspect-ratio: 5/4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* Image CTA */
.cta-image { position: relative; min-height: 80vh; display: grid; place-items: center; text-align: center; color: var(--ivory); overflow: hidden; }
.cta-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-image::after { content: ""; position: absolute; inset: 0; background: rgba(20, 14, 10, .45); }
.cta-image .inner { position: relative; z-index: 1; padding: 100px 20px; max-width: 820px; }
.cta-image h2 { color: var(--ivory); font-size: clamp(2.4rem, 5vw, 4.4rem); }
.cta-image h2 em { color: var(--sand); }
.cta-image p { color: rgba(246, 243, 238, .86); max-width: 540px; margin: 0 auto 40px; }
.cta-image .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .gallery-track, .slide.is-active img, .page-hero .bg img, .scroll-cue { animation: none; }
  .slide img { transform: none; }
}


/* Wand reaching in from the left edge of the page */
.wand-section { overflow: hidden; }
.wand-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.wand-col { align-self: stretch; display: flex; align-items: center; }
.wand-bleed {
  /* pull the image out to the viewport edge so the arm's cut edge sits flush with the page edge */
  margin-left: calc((min(var(--max), 100vw - 32px) - 100vw) / 2);
  width: auto; max-width: none; height: clamp(380px, 46vw, 620px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
}
.wand-copy .charge { margin-top: 36px; }
@media (max-width: 900px) {
  .wand-grid { grid-template-columns: 1fr; }
  .wand-col { order: 2; }
  .wand-bleed { height: 360px; margin-left: -16px; }
}

/* Interactive clinic map */
.clinic-map { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.map-stage {
  position: relative; overflow: hidden; border: 1px solid rgba(211, 155, 117, .28);
  background: linear-gradient(135deg, #3b2a21 0%, #2f231a 50%, #603c2f 100%);
}
.map-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 45%, transparent 40%, rgba(20, 14, 10, .45) 100%); }
.map-stage > svg { display: block; width: 100%; height: auto; }
.map-grid line { stroke: rgba(211, 155, 117, .08); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.map-sea { fill: rgba(211, 155, 117, .45); font-family: var(--serif); font-style: italic; font-size: 30px; letter-spacing: .04em; }
.map-compass circle { fill: none; stroke: rgba(211, 155, 117, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-compass path { fill: rgba(211, 155, 117, .2); }
.map-compass path.n { fill: rgba(211, 155, 117, .7); }
.map-compass text { fill: rgba(246, 243, 238, .6); font-size: 18px; letter-spacing: .2em; text-anchor: middle; font-family: var(--sans); }
.isl { fill: rgba(211, 155, 117, .07); stroke: rgba(211, 155, 117, .55); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.isl--clinic { fill: rgba(211, 155, 117, .14); stroke: rgba(211, 155, 117, .8); cursor: pointer; }
.isl--clinic.is-active { fill: rgba(211, 155, 117, .38); stroke: #efd2c3; }
.map-pin { cursor: pointer; outline: none; }
.map-pin .dot { fill: #d39b75; stroke: #2f231a; stroke-width: 2; vector-effect: non-scaling-stroke; transition: r .3s, fill .3s; }
.map-pin .pulse { fill: none; stroke: rgba(211, 155, 117, .7); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.4s ease-out infinite; }
.map-pin .glow { opacity: 0; transition: opacity .4s var(--ease); }
.map-pin text { fill: rgba(246, 243, 238, .78); font-family: var(--sans); font-size: 20px; letter-spacing: .28em; text-transform: uppercase; transition: fill .3s; }
.map-pin.is-active .glow { opacity: 1; }
.map-pin.is-active .dot { r: 9; fill: #efd2c3; }
.map-pin.is-active text { fill: #fff; }
.map-pin:focus-visible .dot { stroke: #fff; stroke-width: 3; }

.map-card {
  position: absolute; z-index: 2; right: 18px; bottom: 18px; width: min(300px, calc(100% - 36px));
  display: flex; gap: 14px; align-items: center; padding: 10px; text-decoration: none;
  background: rgba(246, 243, 238, .96); color: var(--espresso); box-shadow: 0 18px 40px rgba(20, 14, 10, .35);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.map-card.is-swapping { opacity: 0; transform: translateY(6px); }
.map-card img { width: 84px; height: 84px; object-fit: cover; flex: none; }
.map-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.map-card small { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.map-card b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.15; }
.map-card .link { font-size: .6rem; align-self: flex-start; margin-top: 4px; }

.map-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.map-list a {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 26px 18px 26px 22px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--espresso);
  transition: background .35s var(--ease), padding .35s var(--ease);
}
.map-list a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--bronze); transform: scaleY(0); transition: transform .35s var(--ease); }
.map-list a.is-active { background: var(--white); padding-left: 30px; }
.map-list a.is-active::before { transform: scaleY(1); }
.map-list .num { font-family: var(--serif); font-style: italic; color: var(--bronze); font-size: 1.1rem; }
.map-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.map-list small { display: block; margin-top: 4px; font-size: .82rem; color: var(--stone); }
.map-list svg { width: 18px; height: 18px; color: var(--bronze); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.map-list a.is-active svg { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .clinic-map { grid-template-columns: 1fr; }
  .map-card { position: relative; right: auto; bottom: auto; width: auto; margin: 0; box-shadow: none; border-top: 1px solid rgba(211, 155, 117, .28); background: var(--ivory); }
  .map-pin text { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .map-pin .pulse { animation: none; } }


/* Success stories — category tabs */
.story-tablist { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.story-tab {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  padding: 26px 20px 24px; background: transparent; border: 0; border-left: 1px solid var(--line); cursor: pointer;
  font: inherit; color: var(--espresso); transition: background .4s var(--ease), color .4s var(--ease);
}
.story-tab:first-child { border-left: 0; }
.story-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.story-tab .no { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--bronze); }
.story-tab .name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.story-tab .count { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.story-tab:hover { background: rgba(255, 255, 255, .6); }
.story-tab[aria-selected="true"] { background: var(--white); }
.story-tab[aria-selected="true"]::after { transform: scaleX(1); }
.story-tab[aria-selected="true"] .name { font-style: italic; color: var(--bronze); }
.story-panel { animation: panel-in .6s var(--ease); }
.story-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.story-panel .card { height: 100%; }
@media (max-width: 1100px) {
  .story-tablist { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .story-tablist::-webkit-scrollbar { display: none; }
  .story-tab { flex: 0 0 auto; min-width: 150px; scroll-snap-align: start; border-top: 0 !important; }
  .story-tab:nth-child(4) { border-left: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .story-panel { animation: none; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* VIPP definition (Treatment page) */
.vipp-def { border-left: 2px solid var(--sand); padding: 6px 0 6px 22px; margin: 26px 0 28px; }
.vipp-def p { margin: 0; color: var(--umber); }
.vipp-def b { font-family: var(--serif); font-size: 1.35em; font-weight: 500; color: var(--bronze); }

/* Softer beige sections after the dark "four forces" band (Treatment page) */
.section--beige { background: #ebe1d3; }
.section--beige-lt { background: #f1e9de; }
.section--beige .step { background: transparent; }

/* Clinic map section: whole section on CellSonic brown gradient */
.section--map { position: relative; overflow: hidden; color: var(--ivory); background: linear-gradient(135deg, #3b2a21 0%, #2f231a 50%, #603c2f 100%); }
.section--map::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 500px at 30% 40%, rgba(211, 155, 117, .14), transparent 70%); }
.section--map > .container { position: relative; }
.section--map h2 { color: var(--ivory); }
.section--map h2 em { color: var(--sand); }
.section--map .eyebrow { color: var(--sand); }
.section--map .lead { color: rgba(246, 243, 238, .75); }
.section--map .map-stage { background: transparent; border-color: rgba(211, 155, 117, .22); }
.section--map .map-stage::after { background: radial-gradient(circle at 50% 45%, transparent 55%, rgba(20, 14, 10, .35) 100%); }
.section--map .map-list { border-top-color: rgba(211, 155, 117, .22); }
.section--map .map-list a { color: var(--ivory); border-bottom-color: rgba(211, 155, 117, .22); }
.section--map .map-list a.is-active { background: rgba(255, 255, 255, .07); }
.section--map .map-list small { color: rgba(246, 243, 238, .6); }
.section--map .map-list .num, .section--map .map-list svg { color: var(--sand); }
.section--map .map-list a::before { background: var(--sand); }
@media (max-width: 960px) { .section--map .map-card { background: rgba(246, 243, 238, .96); } }

/* Pulsing waves locked to the top of the wand image (positions are % of the image, so they track at any size) */
.wand-wrap { position: relative; display: inline-block; line-height: 0; margin-left: calc((min(var(--max), 100vw - 32px) - 100vw) / 2); padding-top: clamp(70px, 9vw, 130px); }
.wand-wrap .wand-bleed { margin-left: 0; display: block; }
.wand-waves { position: absolute; left: 76%; top: calc(clamp(70px, 9vw, 130px) + 1%); width: 78%; transform: translate(-50%, -96%); overflow: visible; pointer-events: none; }
.wand-waves .wave { fill: none; stroke: #efd2c3; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; transform-box: view-box; transform-origin: 120px 148px; animation: wand-wave 2.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.wand-waves .wave:nth-of-type(2) { animation-delay: .7s; }
.wand-waves .wave:nth-of-type(3) { animation-delay: 1.4s; }
.wand-waves .wave:nth-of-type(4) { animation-delay: 2.1s; }
.wand-waves .wave-glow { fill: rgba(239, 210, 195, .35); filter: blur(6px); transform-box: view-box; transform-origin: 120px 146px; animation: wand-glow 1.4s ease-in-out infinite; }
@keyframes wand-wave { 0% { transform: scale(.32); opacity: 0; stroke: #fff; } 15% { opacity: .95; } 100% { transform: scale(1.12); opacity: 0; stroke: #d39b75; } }
@keyframes wand-glow { 0%, 100% { opacity: .35; transform: scaleX(.7); } 50% { opacity: .9; transform: scaleX(1); } }
@media (max-width: 900px) { .wand-wrap { margin-left: -16px; padding-top: 70px; } .wand-waves { top: calc(70px + 1%); } }
@media (prefers-reduced-motion: reduce) { .wand-waves .wave { animation: none; opacity: .5; } .wand-waves .wave:nth-of-type(2) { transform: scale(.7); } .wand-waves .wave:nth-of-type(3), .wand-waves .wave:nth-of-type(4) { display: none; } .wand-waves .wave-glow { animation: none; } }

/* Condition images (Conditions page) */
.cond-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 26px; border-radius: 2px; filter: saturate(.72) sepia(.22) brightness(1.03) contrast(1.03); box-shadow: 0 18px 40px rgba(47, 35, 26, .14); }
@media (max-width: 860px) { .cond-img { aspect-ratio: 16 / 10; margin: 18px 0 8px; } }
