/* =========================================================
   VESALIO CLINIC — Landing Page Styles
   Brand palette extracted from the official brochure
   ========================================================= */

:root {
  /* ── Brand tokens — CLAUDE.md ── */
  --color-primary: #4f8491;   /* Dusty Teal   */
  --color-dark:    #1c1c1c;   /* Jet Black    */
  --color-light:   #fafafa;   /* Cold Off-White */

  /* ── Derived tokens (component aliases) ── */
  --vesalio-blue:      #4f8491;               /* was #9AB3C4 */
  --vesalio-blue-dark: #3d6670;               /* darker teal */
  --vesalio-blue-deep: #2e4e59;               /* deepest teal */
  --vesalio-mist:      rgba(79, 132, 145, 0.15); /* light teal tint */
  --vesalio-cloud:     #f2f6f7;               /* very light teal-tinted bg */
  --vesalio-white:     #fafafa;               /* Cold Off-White */

  --ink:      #1c1c1c;   /* Jet Black */
  --ink-soft: #4a5860;   /* muted dark */
  --line:     rgba(79, 132, 145, 0.18); /* subtle teal border */

  --accent: #4f8491;   /* Dusty Teal */

  /* Typography — Avenir (web fallback: Nunito Sans) */
  --font-serif: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
  --font-sans:  'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;

  /* Shape */
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(79, 132, 145, 0.08);
  --shadow-md: 0 10px 30px rgba(79, 132, 145, 0.12);
  --shadow-lg: 0 24px 60px rgba(79, 132, 145, 0.18);
  --shadow-xl: 0 16px 64px rgba(79, 132, 145, 0.22);

  /* Motion */
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;

  --transition: 300ms cubic-bezier(.2,.8,.2,1);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--vesalio-blue);
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  background: var(--vesalio-blue);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main { 
  flex: 1; 
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Shared section styles ---------- */
section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 10px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vesalio-blue-dark);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-eyebrow.light { color: rgba(255,255,255,0.85); }
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--vesalio-blue-deep);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section-title .accent {
  font-weight: 600;
  color: var(--vesalio-blue-dark);
}
.section-title.light { color: #fff; }
.section-title.light .accent { color: #fff; font-style: italic; }
.section-lead { color: var(--ink-soft); font-size: 1.02rem; }
.section-lead.light { color: rgba(255,255,255,0.88); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--vesalio-blue) 0%, var(--vesalio-blue-dark) 60%, var(--vesalio-blue-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(77, 107, 128, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 55%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 38px rgba(77, 107, 128, 0.38), 0 4px 12px rgba(77, 107, 128, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 4px 16px rgba(77, 107, 128, 0.28);
  transition-duration: 80ms;
}

@keyframes heroBtnGlow {
  0%, 100% { box-shadow: 0 4px 18px rgba(77, 107, 128, 0.22), inset 0 1px 0 rgba(255,255,255,0.18); }
  50%       { box-shadow: 0 4px 28px rgba(77, 107, 128, 0.48), 0 0 0 5px rgba(154, 179, 196, 0.18), inset 0 1px 0 rgba(255,255,255,0.18); }
}
.hero-cta .btn:nth-child(1) {
  animation: fadeUp 0.6s cubic-bezier(.2,.8,.2,1) 0.75s both;
}
.btn-outline {
  background: transparent;
  color: var(--vesalio-blue-deep);
  border: 1.5px solid var(--vesalio-blue);
}
.btn-outline:hover {
  background: var(--vesalio-blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  transition: color var(--transition);
}
.site-header.scrolled .brand { color: var(--vesalio-blue-deep); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: #fff;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.site-header.scrolled .nav-link { color: var(--ink); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: currentColor;
  transition: width var(--transition), left var(--transition);
}
.nav-link.active::after,
.nav-link:hover::after { width: 22px; left: calc(50% - 11px); }

.nav-link.cta-link {
  background: linear-gradient(135deg, var(--vesalio-blue), var(--vesalio-blue-dark));
  color: #fff !important;
  margin-left: 8px;
}
.nav-link.cta-link::after { display: none; }
.nav-link.cta-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nav-link.cta-link.active {
  background: linear-gradient(135deg, #b8cfe0, var(--vesalio-blue-deep));
  box-shadow: 0 0 0 3px rgba(255,255,255,0.7), 0 4px 20px rgba(42,104,170,0.5);
  transform: translateY(-1px);
  animation: ctaPulse 1.8s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,0.7), 0 4px 20px rgba(42,104,170,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(255,255,255,0.4), 0 6px 28px rgba(42,104,170,0.7); }
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.site-header.scrolled .menu-toggle span { background: var(--vesalio-blue-deep); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- Scroll progress bar ---------- */
.scroll-progress-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--vesalio-blue), var(--vesalio-blue-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  opacity: 0;
  pointer-events: none;
}
.site-header.scrolled .scroll-progress-bar { opacity: 1; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--vesalio-blue);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: slowZoom 18s ease-in-out infinite alternate;
  filter: saturate(0.85);
}
@keyframes slowZoom { to { transform: scale(1.15); } }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(154,179,196,0.55) 0%, rgba(111,138,158,0.65) 60%, rgba(77,107,128,0.80) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 140px 24px 80px;
  max-width: 900px;
  will-change: transform, opacity;
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-logo-wrap {
  display: block;
  width: fit-content;
  margin: 0 auto 28px;
  animation: heroLogoReveal 0.7s cubic-bezier(.2,.8,.2,1) 0.15s both;
}
.hero-section-img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero-title-word { display: inline-block; }
.hero-title-word--left  { animation: heroSlideFromLeft  0.7s cubic-bezier(.2,.8,.2,1) 0.35s both; }
.hero-title-word--right { animation: heroSlideFromRight 0.7s cubic-bezier(.2,.8,.2,1) 0.50s both; }
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-top: 10px;
  opacity: 0.95;
  animation: heroSubtitleReveal 0.65s cubic-bezier(.2,.8,.2,1) 0.55s both;
}
.hero-subtitle::before, .hero-subtitle::after {
  content: "";
  display: inline-block;
  width: 30px; height: 1px;
  background: rgba(255,255,255,0.7);
  vertical-align: middle;
  margin: 0 14px;
}
.hero-subtitle::before {
  transform-origin: right center;
  animation: heroLineExpand 0.5s cubic-bezier(.2,.8,.2,1) 0.80s both;
}
.hero-subtitle::after {
  transform-origin: left center;
  animation: heroLineExpand 0.5s cubic-bezier(.2,.8,.2,1) 0.80s both;
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px;
}
.hero-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero-cta .btn-outline:hover { background: #fff; color: var(--vesalio-blue-deep); }
.hero-cta .btn:nth-child(2) {
  animation:
    fadeUp 0.6s cubic-bezier(.2,.8,.2,1) 0.90s both,
    heroBtnGlow 3.2s ease-in-out 1.4s infinite;
}

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: heroScrollReveal 0.5s cubic-bezier(.2,.8,.2,1) 1.1s both;
}
.scroll-indicator {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(0.5); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes heroLogoReveal {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes heroSlideFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroSubtitleReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineExpand {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes heroScrollReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------- ABOUT ---------- */
.about { background: var(--vesalio-white); }
.about-grid {
  display: grid; gap: 60px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.about-text p { margin-bottom: 16px; color: var(--ink-soft); font-size: 1.02rem; }
.about-text p strong { color: var(--vesalio-blue-deep); font-weight: 600; }

.about-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 32px;
}
.pillar {
  background: var(--vesalio-cloud);
  padding: 22px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: #fff;
  border-color: var(--vesalio-mist);
}
.pillar-icon {
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--vesalio-blue), var(--vesalio-blue-dark));
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
}
.pillar h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--vesalio-blue-deep);
  margin-bottom: 4px;
}
.pillar p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.4; }

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-3deg);
  transition: transform var(--transition);
  animation: float 5s linear infinite;
}

@keyframes float {
    0%   { transform: translateY(0px)   rotate(0.3deg);  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04), 0 32px 64px rgba(0,0,0,.4); }
    50%  { transform: translateY(-18px) rotate(-0.3deg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04), 0 52px 80px rgba(0,0,0,.25); }
    100% { transform: translateY(0px)   rotate(0.3deg);  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04), 0 32px 64px rgba(0,0,0,.4); }
}

.about-image:hover { transform: perspective(1000px) rotateY(0); }
.about-image img { width: 100%; height: 560px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
}
.about-badge .badge-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--vesalio-blue-dark);
  line-height: 1;
}
.about-badge span:nth-child(2) {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--vesalio-blue-dark);
  margin-right: 8px;
}
.about-badge p { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.25; }

/* ---------- SERVICES ---------- */
.services {
  background: linear-gradient(180deg, var(--vesalio-cloud) 0%, var(--vesalio-white) 100%);
}
/* ---------- CIRCULAR GALLERY ---------- */
.gallery-section {
  height: 500vh;
  position: relative;
  background: var(--vesalio-blue-deep);
  padding: 0; /* override global section padding */
}

.gallery-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.gallery-header {
  text-align: center;
  position: absolute;
  top: clamp(60px, 8vh, 90px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: calc(100vw - 48px);
  max-width: 720px;
}
.gallery-header .section-eyebrow { color: rgba(255,255,255,0.7); }
.gallery-header .section-title   { color: #fff; }
.gallery-header .section-title .accent { color: var(--vesalio-mist); }

.gallery-instagram-link {
  position: absolute;
  bottom: clamp(80px, 12vh, 116px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background var(--duration-base), transform var(--duration-base), box-shadow var(--duration-base);
}
.gallery-instagram-link:hover {
  background: rgba(255,255,255,0.25);
  transform: translateX(-50%) scale(1.1);
  box-shadow: var(--shadow-md);
}

.gallery-hint {
  position: absolute;
  bottom: clamp(20px, 3vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  white-space: nowrap;
}

.gallery-hint--mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 1.2rem;
  animation: bounce-down 1.6s var(--ease-out) infinite;
}

.gallery-hint__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50%       { transform: translateY(6px); opacity: 0.9; }
}

@media (max-width: 768px) {
  .gallery-hint--desktop { display: none; }
  .gallery-hint--mobile  { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-hint--mobile { animation: none; }
}

.gallery-3d {
  width: 100%;
  height: 100%;
  perspective: 2000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  /* JS sets rotateY() here */
}

.gallery-card {
  position: absolute;
  width: clamp(190px, 24vh, 310px);
  height: clamp(270px, 34vh, 440px);
  left: 50%;
  top: 50%;
  margin-left: calc(-1 * clamp(95px, 12vh, 155px));
  margin-top: calc(-1 * clamp(135px, 17vh, 220px));
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  /* JS sets rotateY + translateZ and opacity */
  transition: opacity 0.3s linear;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .gallery-card {
    width: clamp(120px, 40vw, 180px);
    height: clamp(170px, 57vw, 260px);
    margin-left: calc(-1 * clamp(60px, 20vw, 90px));
    margin-top: calc(-1 * clamp(85px, 28.5vw, 130px));
  }
}

/* ---------- TEAM ---------- */
.team {
  background: #fff;
  position: relative;
  padding-top: clamp(40px, 5vw, 70px);
}
.team::before {
  content: '';
  display: block;
  width: 60%;
  max-width: 480px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--vesalio-blue) 50%, transparent 100%);
  margin: 0 auto;
  opacity: 0.5;
}

/* Profile card carousel */
.tpc-wrap {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 8px;
}

.tpc-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.tpc-photo-block {
  width: 400px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--vesalio-cloud);
}

.tpc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.tpc-card-block {
  flex: 1;
  margin-left: -72px;
  z-index: 1;
}

.tpc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
}

.tpc-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 500;
  color: var(--vesalio-blue-deep);
  margin-bottom: 6px;
  line-height: 1.15;
}

.tpc-role {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vesalio-blue-dark);
  font-weight: 600;
  margin-bottom: 18px;
}

.tpc-desc {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 26px;
}

.tpc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.tpc-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--vesalio-cloud);
  border: 1.5px solid var(--line);
  color: var(--vesalio-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.tpc-btn:hover {
  background: var(--vesalio-mist);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tpc-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tpc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vesalio-mist);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.tpc-dot.is-active {
  background: var(--vesalio-blue-deep);
  transform: scale(1.25);
}


@media (max-width: 820px) {
  .tpc-photo-block {
    width: 300px;
    height: 360px;
  }
  .tpc-card-block {
    margin-left: -52px;
  }
}

@media (max-width: 720px) {
  .tpc-wrap {
    margin-top: 24px;
    padding: 0;
  }
  .tpc-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .tpc-photo-block {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .tpc-card-block {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
  }
  .tpc-card {
    text-align: center;
    padding: 24px 20px 28px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: none;
    /* Fixed height so card never resizes between members */
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  .tpc-name {
    font-size: 1.35rem;
    margin-bottom: 4px;
    width: 100%;
  }
  .tpc-role {
    margin-bottom: 12px;
  }
  .tpc-desc {
    /* Clamp to 3 lines so height never changes */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    flex: 1;
  }
  .tpc-social {
    justify-content: center;
    margin-top: 16px;
    flex-shrink: 0;
  }
  .tpc-nav {
    margin-top: 20px;
    gap: 16px;
  }
  .tpc-btn {
    width: 48px;
    height: 48px;
  }
}

/* ---------- BOOKING ---------- */
.booking {
  background: linear-gradient(135deg, var(--vesalio-blue-deep) 0%, var(--vesalio-blue-dark) 60%, var(--vesalio-blue) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.booking::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.booking::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.booking-grid {
  display: grid; grid-template-columns: 1fr 0.95fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.booking-info .section-head { margin: 0 0 24px; text-align: left; }

.booking-channels {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 26px;
}
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform var(--transition), background var(--transition);
  color: #fff;
}
.channel:not(.static):hover { transform: translateY(-3px); background: rgba(255,255,255,0.2); }
.channel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(255,255,255,0.18);
}
.channel-icon.wa { background: #25D366; }
.channel-icon.ph { background: rgba(255,255,255,0.25); }
.channel-icon.cl { background: rgba(255,255,255,0.2); }
.channel-icon.pm { background: rgba(255,255,255,0.2); }
.channel-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: 2px;
}
.channel-value { display: block; font-weight: 500; font-size: 0.98rem; }

.booking-note {
  margin-top: 20px;
  opacity: 0.85;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
}

.booking-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.booking-form h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--vesalio-blue-deep);
  margin-bottom: 4px;
}
.form-lead { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vesalio-blue-dark);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--vesalio-blue);
  box-shadow: 0 0 0 4px rgba(154,179,196,0.22);
}
.field textarea { resize: vertical; min-height: 70px; }
.form-status {
  margin-top: 10px; font-size: 0.85rem;
  min-height: 1.2em;
}
.form-status.ok { color: #2f855a; }
.form-status.err { color: #c0392b; }

/* ---------- LOCATION ---------- */
.location { background: var(--vesalio-cloud); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.location-info {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.location-image { height: 280px; overflow: hidden; }
.location-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.location-info:hover .location-image img { transform: scale(1.06); }

.location-details { padding: 30px; flex: 1; }
.location-details h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--vesalio-blue-deep);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.location-details h3 i { color: var(--vesalio-blue-dark); }
.location-details p { color: var(--ink-soft); margin-bottom: 14px; }
.location-details .btn { margin-top: 6px; }
.location-ref {
  background: var(--vesalio-cloud);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border-left: 3px solid var(--vesalio-blue);
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.location-map iframe {
  width: 100%; height: 100%;
  min-height: 420px;
  border: 0; display: block;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--vesalio-blue-deep);
  color: rgba(255,255,255,0.9);
  padding: 70px 0 24px;
  position: relative;
  z-index: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
}
.footer-brand { color: #fff; }
.footer-brand h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.footer-brand p { font-size: 0.9rem; opacity: 0.85; }

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #fff;
}
.footer-col ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.88;
}
.footer-col ul li i { margin-right: 8px; opacity: 0.75; }
.footer-col ul li a { transition: color var(--transition), opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: #fff; }

.social { display: flex; gap: 10px; margin-bottom: 10px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transition: transform var(--transition), background var(--transition);
}
.social a:hover { background: #fff; color: var(--vesalio-blue-deep); transform: translateY(-3px); }
.footer-handle { font-size: 0.85rem; opacity: 0.78; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  font-size: 0.82rem;
  opacity: 0.7;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-credit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: opacity 150ms;
}
.footer-bottom-credit:hover { opacity: 1; }
.footer-bottom-credit span {
  color: var(--vesalio-mist);
  font-weight: 600;
}

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  animation: pulseWA 2.4s ease-in-out infinite;
  transition: transform var(--transition);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%);
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.float-wa:hover .float-wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

@keyframes pulseWA {
  0%,100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37,211,102, 0.45); }
  50%    { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37,211,102, 0); }
}

/* ---------- Honeypot / accessibility utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .booking-grid, .location-grid, .services-feature { grid-template-columns: 1fr; gap: 40px; }
  .about-image { transform: none; }
  .about-image img { height: 420px; }
  .about-pillars { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .services-feature img { min-height: 260px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 820px) {
  :root {
    --container: 100%;
  }
  .container {
    padding-inline: 20px;
  }
  section {
    padding: clamp(50px, 8vw, 80px) 0;
  }
  .section-head {
    margin-bottom: 20px;
  }
  .about-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .pillar {
    padding: 20px 12px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  /* Navigation */
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    z-index: 99;
    flex-direction: column; align-items: stretch;
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition);
    gap: 4px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { transform: translateY(0); }
  .nav-link {
    color: var(--ink);
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-link:hover { background: var(--vesalio-cloud); }
  .nav-link.active { background: var(--vesalio-cloud); color: var(--vesalio-blue-deep); }
  .nav-link.cta-link { margin-left: 0; text-align: center; margin-top: 6px; }
  .brand-tag { display: none; }

  /* Hero */
  .hero-content {
    padding: 120px 20px 60px;
  }
  .hero-section-img {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .hero-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
  }
  .hero-subtitle::before, .hero-subtitle::after { display: none; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta .btn {
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
  }
  .hero-scroll {
    bottom: 20px;
  }

  /* About */
  .about-grid {
    gap: 32px;
  }
  .about-image img {
    height: 280px;
  }
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 20px;
  }
  .pillar-icon {
    flex-shrink: 0;
  }

  /* Booking */
  .booking-grid {
    gap: 32px;
  }
  .booking-channels {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .booking-form {
    padding: 24px 20px;
  }
  /* Location */
  .location-grid {
    gap: 24px;
  }
  .location-map {
    min-height: 280px;
  }
  .location-info {
    padding: 24px 20px;
  }
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col {
    padding: 0 4px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 0;
  }
  /* Floating WhatsApp */
  .float-wa {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    right: 20px;
    bottom: 20px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }
  .section-eyebrow {
    font-size: 0.72rem;
  }

  /* Buttons - touch friendly */
  .btn {
    min-height: 48px;
    padding: 14px 24px;
  }

  /* Safe area for notched devices */
  .site-header {
    padding-top: max(18px, env(safe-area-inset-top));
  }
  .nav.is-open {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

/* ---------- Small mobile ---------- */
@media (max-width: 400px) {
  .container {
    padding-inline: 16px;
  }
  .hero-content {
    padding: 100px 16px 50px;
  }
  .hero-section-img {
    width: 100px;
    height: 100px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .about-image img {
    height: 220px;
  }
  .booking-form {
    padding: 20px 16px;
  }
}

/* ---------- Landscape mobile ---------- */
@media (max-width: 720px) and (orientation: landscape) {
  .hero-content {
    padding: 80px 20px 40px;
  }
  .hero-section-img {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }
  section {
    padding: clamp(36px, 6vw, 50px) 0;
  }
}

/* ---------- High DPI displays ---------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-bg {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ---------- Reduced motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg {
    animation: none;
    transform: scale(1);
  }
}


/* ── WhatsApp CTA button (used inside service cards) ─────────── */
.fc-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--duration-fast), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.fc-wa-btn i { font-size: 1rem; }
.fc-wa-btn:hover {
  background: #1aad56;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  color: #fff;
}
/* ── Expanding Cards ─────────────────────────────────────────── */
.exp-cards {
  display: grid;
  list-style: none;
  gap: 8px;
  width: 100%;
  margin-top: 40px;
  /* Desktop: horizontal */
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: 1fr;
  height: 500px;
  transition: grid-template-columns 500ms ease-out;
}

.exp-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  min-width: 0;
  min-height: 0;
  outline: none;
}
.exp-card:focus-visible { box-shadow: 0 0 0 3px var(--vesalio-blue); }

.exp-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: grayscale(1) brightness(0.8);
  transition: transform 400ms ease-out, filter 400ms ease-out;
}
.exp-card[data-active="true"] .exp-card-img {
  transform: scale(1);
  filter: grayscale(0) brightness(1);
}

.exp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.08) 100%);
}

.exp-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
}

/* Rotated label shown on collapsed desktop cards */
.exp-card-label {
  display: none;
}
@media (min-width: 768px) {
  .exp-card-label {
    display: block;
    transform-origin: left center;
    transform: rotate(90deg);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.75);
    transition: opacity 250ms ease-out;
  }
  .exp-card[data-active="true"] .exp-card-label {
    opacity: 0;
    pointer-events: none;
  }
}

.exp-card-icon {
  margin-top: auto;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: opacity 300ms ease-out 75ms;
}
.exp-card[data-active="true"] .exp-card-icon { opacity: 1; }

.exp-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 300ms ease-out 150ms;
}
.exp-card[data-active="true"] .exp-card-title { opacity: 1; }

.exp-card-desc {
  font-size: 0.83rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
  max-width: 300px;
  opacity: 0;
  transition: opacity 300ms ease-out 225ms;
}
.exp-card[data-active="true"] .exp-card-desc { opacity: 1; }

.exp-card-wa {
  align-self: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-out 300ms;
}
.exp-card[data-active="true"] .exp-card-wa {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile: vertical stack */
@media (max-width: 767px) {
  .exp-cards {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 1fr);
    height: 640px;
    transition: grid-template-rows 500ms ease-out;
  }
  .exp-card-label {
    /* Pull out of flex flow — pin to top-left of card */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    opacity: 1;
    z-index: 2;
    /* Guarantee legibility on any image */
    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.7);
    transition: opacity 250ms ease-out;
    /* Dark strip behind text */
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  }
  .exp-card[data-active="true"] .exp-card-label {
    opacity: 0;
    pointer-events: none;
  }
}

