/* --- Google Web Fonts Import --- */


:root {
  --font-sans: 'Carlito', Arial, Helvetica, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  /* Official Clinic Color Palette (From Brand Deck) */
  --color-nomad-green: #47624a;
  --color-raw-linen: #cbb99f;
  --color-spiced-clay: #945735;
  --color-ivory: #ede6e1;
  --color-deep-black: #000000;

  /* Core Color Palette (Page 12 Design System Rules) */
  --color-bg-base: #ECE5DD;
  /* Warm Ivory base */
  --color-dark: #111111;
  /* Pure Architectural Black */
  --color-white: #FFFFFF;
  /* Crisp White */
  --color-hk-green: #354D3F;
  /* Nomad Green (Hong Kong Primary) */
  --color-hk-green-deep: #2A3E32;
  /* Deep Nomad Green */
  --color-sage: #566E61;
  /* Sage Green (Services Section Canvas) */
  --color-card-body: #455C4F;
  /* Deep Integrated Sage for Service Card Bodies */
  --color-niseko-blue: #74858B;
  /* Blue-Grey for Niseko System */
  --color-terracotta: #B25E3B;
  /* Accent Terracotta */
  --color-border-light: rgba(17, 17, 17, 0.12);

  /* Typography System (Page 12: Cormorant for headlines, Carlito for functional) */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Carlito', Arial, Helvetica, sans-serif;

  /* Layout Spacing Tokens */
  --site-max-width: 1360px;
  --header-height: 105px;

  /* Motion & Transitions */
  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   TAILWIND PREFLIGHT RESTORE
   Tailwind resets all headings to font-weight: inherit (normal).
   The original F_Design HTML relies on browser-default bold headings.
   This block restores those defaults inside the public website scope.
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

ol,
ul {
  list-style: revert;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img,
video {
  max-width: 100%;
  height: auto;
}

body {

  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-base);
  color: var(--color-dark);
}

body {

  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--color-bg-base);
  color: var(--color-dark);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Anti-copy: Disable text selection globally */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Unlock scroll for internal pages */
body.service-detail-page {
  overflow: visible !important;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Reusable Container Utilities --- */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 4vw, 2.5rem);
  padding-right: clamp(1.5rem, 4vw, 2.5rem);
}

/* ============================================================
   1. HEADER & NAVIGATION (Page 5 & 10)
   - Transparent Minimal Bar over Hero
   - Transitions to Solid Ivory Bar on scroll (No text clashing!)
   - Desktop Dropdown Bar on Menu click
   - Mobile Drawer on touch devices
   ============================================================ */
.nomad-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

/* Default Minimal Bar (Over Hero) */
.header-bar-minimal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
  color: var(--color-white);
  transition: background-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Scrolled State: Transforms to Solid Ivory Header Bar */
.nomad-header.is-scrolled .header-bar-minimal {
  position: fixed;
  background: #ECE5DD !important;
  color: var(--color-dark) !important;
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nomad-header.menu-open .header-bar-minimal {
  opacity: 0;
  pointer-events: none;
}

/* Menu Trigger Button */
.menu-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.5rem 0;
}

.menu-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.menu-icon-circle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background-color: currentColor;
}

.header-center-branding {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: inherit;
}

.header-logo-text {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  letter-spacing: 0.32em;
  font-weight: 400;
  text-transform: uppercase;
  margin-left: 0.32em;
  line-height: 1;
  color: inherit;
  display: inline-block;
}

.header-tagline {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.3rem;
  color: inherit;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Header Location Switcher */
.header-location-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.nomad-header.is-scrolled .header-location-switch {
  opacity: 1;
  pointer-events: auto;
}

.location-switch-item {
  opacity: 0.5;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.location-switch-item:hover {
  opacity: 0.8;
}

.location-switch-item.active {
  opacity: 1;
  border-bottom: 2px solid var(--color-hk-green);
}

.nomad-header.is-scrolled .location-switch-item.active {
  color: var(--color-hk-green);
}

.location-separator {
  opacity: 0.35;
}

.header-cta-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: inherit;
  border: 1.5px solid currentColor;
  padding: 0.6rem 1.4rem;
  transition: all var(--transition-fast);
}

.header-cta-link:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

/* Desktop Light Dropdown Bar (Page 5) */
.desktop-dropdown-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-bg-base);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-100%);
  transition: transform var(--transition-slow);
  pointer-events: auto;
  z-index: 1002;
}

.nomad-header.menu-open .desktop-dropdown-bar {
  transform: translateY(0);
}

.dropdown-bar-content {
  max-width: var(--site-max-width);
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

.dropdown-left-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dropdown-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-dark);
  transition: transform var(--transition-fast);
}

.dropdown-close-btn:hover {
  transform: rotate(90deg);
}

.dropdown-monogram-img {
  width: 36px;
  height: auto;
  object-fit: contain;
}

.dropdown-nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.dropdown-nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

.dropdown-nav-link:hover {
  color: var(--color-terracotta);
}

.dropdown-book-btn {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-dark);
  border: 1.5px solid var(--color-dark);
  padding: 0.65rem 1.6rem;
  transition: all var(--transition-fast);
}

.dropdown-book-btn:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* Mobile Nav Drawer (Page 5 & 11) */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background-color: var(--color-bg-base);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 3rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s var(--transition-smooth);
}

.nomad-header.mobile-menu-open .mobile-nav-drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-logo-img {
  width: 44px;
  height: auto;
  object-fit: contain;
}

.mobile-close-btn {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-dark);
}

.mobile-location-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 3.5rem 0 2.5rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.mobile-location-switch span,
.mobile-location-switch a {
  opacity: 0.5;
  text-decoration: none;
  color: inherit;
}

.mobile-location-switch a.active {
  opacity: 1;
  color: var(--color-hk-green);
  border-bottom: 2px solid var(--color-hk-green);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  margin: 1.5rem 0;
}

.mobile-nav-link {
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-dark);
}

.mobile-drawer-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--color-border-light);
  padding-top: 2rem;
}

.mobile-drawer-social {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.6);
}

.mobile-book-btn {
  width: 100%;
  max-width: 280px;
  padding: 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1.5px solid var(--color-dark);
  text-align: center;
  color: var(--color-dark);
}

/* ============================================================
   2. HERO SECTION (Page 3, 4, 10, 11)
   "Pick a side, and it takes over."
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  background-color: var(--color-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-split-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  /* Prevent horizontal scroll, use flex */
}

/* Global Split Panes */
.hero-pane-niseko,
.hero-pane-hongkong {
  flex: 1;
  /* 50/50 by default */
  position: relative;
  overflow: hidden;
  cursor: pointer;
  filter: brightness(0.9);
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.hero-pane-niseko {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Desktop JS Class Expansion (95vw / 5vw) */
@media (min-width: 993px) {
  .hero-split-container.hk-takeover .hero-pane-hongkong {
    flex: 0 0 95vw;
    filter: brightness(1);
  }

  .hero-split-container.hk-takeover .hero-pane-niseko {
    flex: 0 0 5vw;
  }

  .hero-split-container.hk-takeover .hero-pane-niseko .hero-pane-content {
    opacity: 0;
    pointer-events: none;
  }

  .hero-split-container.niseko-hovered .hero-pane-niseko {
    flex: 0 0 95vw;
    filter: brightness(1);
  }

  .hero-split-container.niseko-hovered .hero-pane-hongkong {
    flex: 0 0 5vw;
  }

  .hero-split-container.niseko-hovered .hero-pane-hongkong .hero-pane-content {
    opacity: 0;
    pointer-events: none;
  }
}

/* Mobile Swipe Expansion via JS classes (90vw / 10vw) */
@media (max-width: 992px) {
  .hero-split-container.hk-takeover .hero-pane-hongkong {
    flex: 0 0 90vw;
    filter: brightness(1);
  }

  .hero-split-container.hk-takeover .hero-pane-niseko {
    flex: 0 0 10vw;
  }

  .hero-split-container.hk-takeover .hero-pane-niseko .hero-pane-content {
    opacity: 0;
    pointer-events: none;
  }

  .hero-split-container.niseko-hovered .hero-pane-niseko {
    flex: 0 0 90vw;
    filter: brightness(1);
  }

  .hero-split-container.niseko-hovered .hero-pane-hongkong {
    flex: 0 0 10vw;
  }

  .hero-split-container.niseko-hovered .hero-pane-hongkong .hero-pane-content {
    opacity: 0;
    pointer-events: none;
  }
}

.hero-pane {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

/* Fix text alignment offset caused by the carousel sliver */
.hero-pane-hongkong .hero-pane-content {
  transform: translateX(-2.5vw);
}

.hero-pane-niseko .hero-pane-content {
  transform: translateX(2.5vw);
}

/* Carousel Navigation Arrows */
.hero-carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 clamp(1rem, 2vw, 3rem);
  pointer-events: none;
  z-index: 20;
}

.carousel-nav-btn {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.25);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transform: scale(1.02);
  transition: transform 1.2s var(--transition-smooth);
}

/* V3: Giant Splash Screen Logo */
.hero-giant-logo {
  position: absolute;
  top: 30vh;
  /* Moved down from 25vh based on client requesting "another 1cm" */
  left: 50%;
  transform: translateX(-50%);
  width: clamp(220px, 35vw, 450px);
  z-index: 10;
  pointer-events: none;
  /* Let hover events pass through to panes */
  filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
  transition: opacity 0.5s ease;
}

.hero-pane:hover .hero-bg-media {
  transform: scale(1.05);
}

.hero-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 2;
}

.hero-pane-content {
  position: relative;
  z-index: 3;
  padding: 0 2rem;
  max-width: 680px;
  color: var(--color-white);
  margin-top: 40vh;
  /* Moved down from 35vh to stay under the lowered giant logo */
  transition: opacity 0.3s ease;
}

/* Restrained location title matching Sarah's note: "Smaller font Niseko and HK" */
.hero-location-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  /* Shrunk down for V3 Splash Screen */
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.05;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-category-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-description-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-width: 440px;
  margin: 0 auto 2rem auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-white);
  border: 1.5px solid var(--color-white);
  padding: 0.75rem 1.8rem;
  background: transparent;
  transition: all var(--transition-fast);
}

.hero-cta-btn:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* Trust Row Pinned to Bottom of Hero (Page 4 & 10) */
.hero-trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.85) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
}

.trust-row-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
}

.trust-icon-wrap {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon-wrap img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.trust-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
  white-space: nowrap;
}

/* ============================================================
   3. INTRO SECTION (Page 6, 10, 11)
   Deep Nomad Green Single Instance with Generous Editorial Breathing Room
   ============================================================ */
.intro-section {
  position: relative;
  width: 100%;
  background-color: var(--color-hk-green);
  color: var(--color-white);
  padding: clamp(6.5rem, 8.5vw, 9.5rem) 1.5rem;
  text-align: center;
}

.intro-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2.15rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   4. OUR SERVICES SECTION (Page 7, 10, 11) — REBUILT
   - Sage Green Background (#566E61)
   - Asymmetric 4-Card System: 3 top row, 04 Running centered below
   - Flat Architectural Treatment (zero drop shadow, sharp square corners)
   - High-contrast B&W photography commanding ~60% of card height
   - Prominent Black 01-04 Number Badges centered on the image seam
   - Clean title with no explanatory paragraphs (per client requirement)
   - Entire card is an active navigational link to the service detail page
   ============================================================ */
.services-section {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-base);
  color: var(--color-dark);
  padding: clamp(5.5rem, 8vw, 8rem) 1.5rem;
}

.services-header-block {
  text-align: center;
  margin-bottom: clamp(3.5rem, 5.5vw, 5rem);
}

.services-category-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.65);
  margin-bottom: 0.75rem;
}

.services-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  /* Shrunk based on client feedback */
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-dark);
}

/* Symmetrical Flex Grid for 5 items (3 top, 2 bottom centered) */
.services-grid-asymmetric {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.75rem, 2.5vw, 2.75rem);
  max-width: 1140px;
  margin: 0 auto;
}

/* Service Card (Architectural Panel, not floating e-commerce card) */
.service-card {
  width: calc(33.333% - (clamp(1.75rem, 2.5vw, 2.75rem) * 2 / 3) - 1px);

  display: flex;
  flex-direction: column;
  background-color: var(--color-card-body);
  border-radius: 0;
  box-shadow: none;
  border: none;
  text-decoration: none;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
}

/* B&W Image Box */
.service-image-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-dark);
}



.service-card:hover .service-img {
  /* transform: scale(1.1); */
}

.service-img-bw {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: filter var(--transition-normal), transform var(--transition-normal);
}

.service-card:hover .service-img-bw {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.1);
}

/* 01 / 02 / 03 / 04 Number Badges: Crisp Black Square on Seam */
.service-number-badge {
  background-color: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  align-self: center;
  margin-top: -16px;
  z-index: 2;
}

/* Card Body (Clean title, no long paragraphs) */
.service-card-body {
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
  /* Extra bold */
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ============================================================
   5. WHY NOMAD SECTION (Page 8, 9, 10, 11)
   Deep Nomad Green Hong Kong Statement with Editorial Breathing Room
   ============================================================ */
.why-nomad-section {
  position: relative;
  width: 100%;
  background-color: var(--color-hk-green);
  color: var(--color-white);
  padding: clamp(6.5rem, 8.5vw, 9.5rem) 1.5rem;
  text-align: center;
}

.why-nomad-header-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.why-nomad-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.55;
  color: var(--color-white);
  max-width: 820px;
  margin: 0 auto;
}

.why-nomad-pillars {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.why-nomad-cta-wrap {
  margin-top: clamp(2.5rem, 4vw, 3.0rem);
}

.why-nomad-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 0;
  transition: all var(--transition-fast);
}

.why-nomad-btn:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* ============================================================
   6. THE EXPERIENCE SECTION (Page 8, 10, 11)
   "From a side-by-side comparison to a real moment."
   Ivory container matted in Nomad Green with dual visual panels
   ============================================================ */
.experience-section {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-base);
  padding: clamp(4rem, 6vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  padding-top: 0;
  padding-bottom: 40px;
}

.experience-outer-container {
  background-color: var(--color-bg-base);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
}

.experience-header-block {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.experience-category-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 0.6rem;
}

.experience-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  /* Shrunk based on client feedback */
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.experience-media-showcase {
  position: relative;
  padding-bottom: 3rem;
  /* Room for CTA button */
}

/* 4-in-a-row Accordion for Desktop Experience */
.experience-stack-container {
  display: flex;
  flex-direction: row;
  height: clamp(400px, 60vh, 600px);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 0;
}

.experience-stack-item {
  position: relative;
  flex: 1;
  display: flex;
  background-color: var(--color-dark);
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  margin-bottom: 0;
  top: auto;
  height: 100%;
}

.experience-stack-item:hover {
  flex: 2.8;
}

.experience-stack-item:nth-child(1),
.experience-stack-item:nth-child(2),
.experience-stack-item:nth-child(3),
.experience-stack-item:nth-child(4) {
  top: auto;
  z-index: auto;
  margin-bottom: 0;
}

.exp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.6s ease, transform 1s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.experience-stack-item:hover .exp-img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.05);
}

.experience-gallery-cta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background-color: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 0;
  z-index: 5;
  transition: all var(--transition-fast);
}

.experience-gallery-cta:hover {
  background-color: var(--color-hk-green);
  color: var(--color-white);
}

/* ============================================================
   7. BOOKING SECTION (Page 10, 11)
   Solid Black Section with Dual Location Structure
   ============================================================ */
.booking-section {
  position: relative;
  width: 100%;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: clamp(5rem, 7vw, 7.5rem) 1.5rem;
}

.booking-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.booking-card {
  text-align: center;
}

.booking-location-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.booking-sub-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 700;
  margin-bottom: 2rem;
}

.booking-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.booking-btn-primary {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  background-color: var(--color-white);
  color: var(--color-dark);
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--color-white);
  border-radius: 0;
  transition: all var(--transition-fast);
}

.booking-btn-primary:hover {
  background-color: transparent;
  color: var(--color-white);
}

.booking-btn-secondary {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  background-color: transparent;
  color: var(--color-white);
  padding: 0.85rem 1.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  transition: all var(--transition-fast);
}

.booking-btn-secondary:hover {
  border-color: var(--color-white);
}

/* ============================================================
   8. FOOTER (Page 10, 11)
   Ivory 4-Column Layout with Location HQs & Design Credit
   ============================================================ */
.nomad-footer {
  position: relative;
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-dark);
  padding-top: clamp(4rem, 6vw, 6rem);
}

.footer-logo-section {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-main-logo-text {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.15em;
  color: var(--color-terracotta);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-terracotta);
}

.footer-contact-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 5rem auto;
}

.footer-contact-col {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-dark);
  opacity: 0.85;
}

.footer-contact-left {
  text-align: left;
}

.footer-contact-right {
  text-align: right;
}

.footer-divider {
  width: 1px;
  height: 140px;
  background-color: var(--color-terracotta);
  opacity: 0.6;
}

.footer-contact-col a {
  text-decoration: none;
  color: var(--color-dark);
  transition: opacity var(--transition-fast);
}

.footer-contact-col a:hover {
  opacity: 1;
}

.footer-bottom-row {
  width: 100%;
  background-color: var(--color-bg-base);
  padding: 1.5rem 2rem;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-dark);
  opacity: 0.8;
  text-align: center;
}

.footer-bottom-row a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-fast);
}

.footer-bottom-row a:hover {
  opacity: 1;
}

/* ============================================================
   9. SERVICE DETAIL PAGES STYLING
   ============================================================ */
.service-detail-page {
  background-color: var(--color-bg-base);
}

.service-detail-main {
  padding-top: calc(var(--header-height) + 2rem);
}

.service-hero-section {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  padding: clamp(4rem, 6vw, 6rem) 1.5rem;
  text-align: center;
}

.service-hero-badge {
  width: 52px;
  height: 52px;
  background-color: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem auto;
}

.service-hero-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.service-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.service-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.95;
}

.service-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-solid-dark {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 0.9rem 2rem;
  border-radius: 0;
  transition: all var(--transition-fast);
}

.btn-solid-dark:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn-outline-dark {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  padding: 0.85rem 1.8rem;
  border-radius: 0;
  transition: all var(--transition-fast);
}

.btn-outline-dark:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.service-media-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.service-detail-image-box {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  background-color: var(--color-dark);
  overflow: hidden;
}

.service-detail-bw-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(115%);
}

/* ============================================================
   10. MOBILE & RESPONSIVE RULES (Page 11)
   Deliberate mobile architecture, not merely shrunken desktop
   ============================================================ */
@media (max-width: 992px) {

  /* --- OUR SERVICES (Mobile 1-column) --- */
  .services-grid-asymmetric {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .service-card {
    width: 100%;
  }

  .service-card-bottom-row {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  /* Minimal Bar adjustments */
  .header-location-switch {
    display: none;
  }

  .header-cta-link {
    display: none;
  }

  .trust-row-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .trust-item {
    font-size: 0.6rem;
  }

  /* Mobile Hero: Split Carousel Adjustments are now handled globally */

  /* Increase text offset fix for mobile sliver (10vw / 2) */
  .hero-pane-hongkong .hero-pane-content {
    transform: translateX(-5vw);
  }

  .hero-pane-niseko .hero-pane-content {
    transform: translateX(5vw);
  }

  .carousel-nav-btn {
    width: 28px;
    height: 28px;
  }


  /* Services Sticky Stacking Sequence (Page 11) */
  .services-grid-asymmetric {
    display: block;
    /* Override grid so sticky works across container */
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 5vh;
  }

  .service-card {
    position: sticky;
    top: var(--dynamic-top, 22vh);
    margin-bottom: 50vh;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3);
    transform: none !important;
    opacity: 1;
    transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, transform 0.4s ease, filter var(--transition-fast);
    z-index: var(--card-idx, 1);
  }

  .service-card-bottom-row {
    margin-top: 0;
  }

  .service-card.is-released {
    opacity: 0 !important;
    transform: translateY(-50px) scale(0.95) !important;
    pointer-events: none;
  }

  .service-card:last-child {
    margin-bottom: 50vh !important;
  }

  .why-nomad-section {
    margin-top: -50vh;
    /* Pull the green section up to eat the blank space and slide OVER the 5th card */
    z-index: 10;
    position: relative;
  }

  /* Experience Vertical Sequence (Page 11) */
  .experience-outer-container {
    padding: 2.5rem 1.25rem 3.5rem 1.25rem;
  }

  /* Experience Sticky Stacking Sequence (Mobile) */
  .experience-stack-container {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 5vh;
    height: auto;
  }

  .experience-stack-item {
    position: sticky;
    height: 55vh;
    margin-bottom: 40vh;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3);
    transition: none;
    flex: none;
  }

  .experience-stack-item:hover {
    flex: none;
  }

  .experience-stack-item:nth-child(1) {
    top: 12vh;
    z-index: 1;
  }

  .experience-stack-item:nth-child(2) {
    top: 14vh;
    z-index: 2;
  }

  .experience-stack-item:nth-child(3) {
    top: 16vh;
    z-index: 3;
  }

  .experience-stack-item:nth-child(4) {
    top: 18vh;
    z-index: 4;
    margin-bottom: 10vh;
  }

  .exp-img {
    transition: filter var(--transition-normal);
    position: static;
  }

  .experience-gallery-cta {
    position: static;
    transform: none;
    display: block;
    width: fit-content;
    margin: 2.5rem auto 0 auto;
  }

  /* Booking Stack - Condense for Mobile */
  .booking-section {
    padding: 2rem 1.25rem;
  }

  .booking-dual-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .booking-location-title {
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    /* Shrink title slightly */
  }

  .booking-actions-group {
    gap: 0.5rem;
  }

  .booking-btn-primary,
  .booking-btn-secondary {
    padding: 0.75rem 1.2rem;
    /* Shrink button padding */
    width: 100%;
    /* Force full width so they stack cleanly without weird wrapping gaps */
  }

  /* Footer Stack - Condense for Mobile */
  .nomad-footer {
    padding-top: 1.5rem;
  }

  .footer-logo-section {
    margin-bottom: 2rem;
  }

  .footer-contact-grid {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .hk-domain-footer .footer-contact-left {
    order: 2;
  }

  .hk-domain-footer .footer-divider {
    order: 1;
  }

  .hk-domain-footer .footer-contact-right {
    order: 0;
  }

  .footer-contact-col {
    font-size: 0.95rem;
    /* Shrink text slightly */
    line-height: 1.4;
  }

  .footer-contact-left,
  .footer-contact-right {
    text-align: center;
  }

  .footer-divider {
    width: 60px;
    height: 1px;
  }

  .footer-bottom-row {
    text-align: center;
    padding: 1rem;
  }
}

.header-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.header-logo-dark {
  display: none;
}

.nomad-header.is-scrolled .header-logo-white {
  display: none;
}

.nomad-header.is-scrolled .header-logo-dark {
  display: block;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.mobile-footer-logo {
  display: none;
  text-align: center;
}

.mobile-footer-logo img {
  margin: 0 auto 0.75rem auto;
  height: 50px;
  object-fit: contain;
  display: block;
}

.desktop-footer-logo {
  display: block;
  margin: 0 auto;
  height: 60px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .header-logo-img {
    height: 50px;
  }

  .menu-trigger-btn>span {
    display: none;
  }

  .desktop-footer-logo {
    display: none;
  }

  .mobile-footer-logo {
    display: block;
  }

  .hero-trust-bar {
    display: none;
  }
}

.hero-trust-bar {
  display: none;
}

/* ============================================================
   9. ABOUT PAGE SPECIFIC STYLES
   ============================================================ */
.about-hero {
  position: relative;
  background-image: url('/assets/images/about_team_hero_perfect.png');
  background-size: cover;
  background-position: right center;
  color: var(--color-white);
  padding: clamp(4rem, 6vw, 6rem) 5%;
  text-align: left;
  display: flex;
  align-items: center;
  min-height: 40vh;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(17, 17, 17, 0.75) 0%, rgba(17, 17, 17, 0.0) 80%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.about-hero-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.about-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.about-hero-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 500px;
}

.team-section {
  background-color: var(--color-bg-base);
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-headshot {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 1.5rem;
  background-color: #e0deda;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.team-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 1.5rem;
}

.team-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.philosophy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--color-white);
  color: var(--color-dark);
}

.philosophy-img-wrap {
  overflow: hidden;
}

.philosophy-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.philosophy-text-box {
  padding: clamp(4rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .philosophy-split {
    grid-template-columns: 1fr;
  }
}

.excellence-section {
  background-color: var(--color-bg-base);
  padding: clamp(5rem, 8vw, 7rem) 5%;
  color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.excellence-section::before {
  content: 'CLINICAL';
  position: absolute;
  top: -0.15em;
  right: -0.05em;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 14vw, 12rem);
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.excellence-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.excellence-header-left {
  flex: 1;
}

.excellence-header-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
}

.excellence-header-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: var(--color-dark);
  font-weight: 400;
}

.excellence-header-right {
  max-width: 380px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.55);
}

.excellence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.excellence-card {
  text-align: left;
  padding: 2.5rem 3rem 2.5rem 0;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.excellence-card:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 3rem;
}

.excellence-card:nth-child(2) {
  padding-left: 3rem;
}

.excellence-icon {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: rgba(0, 0, 0, 0.08);
  line-height: 1;
  margin-bottom: 2rem;
  display: block;
}

.excellence-accent {
  width: 32px;
  height: 2px;
  background-color: var(--color-terracotta);
  margin-bottom: 1.25rem;
}

.excellence-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.about-excellence-card-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.6);
}

@media (max-width: 768px) {

  /* ── HERO ── */
  .about-hero {
    min-height: auto;
    padding: 3.5rem 6% 2.5rem;
    background-position: center 30%;
    align-items: center;
  }

  .about-hero::before {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.75) 0%, rgba(17, 17, 17, 0.35) 100%);
  }

  .about-hero-content {
    max-width: 100%;
  }

  .about-hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .about-hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* ── TEAM SECTION ── */
  .team-section {
    padding: 2rem 6% 3rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-headshot {
    max-width: 260px;
  }

  /* ── PHILOSOPHY SPLIT ── */
  .philosophy-split {
    grid-template-columns: 1fr;
  }

  .philosophy-img-wrap {
    order: -1;
  }

  .philosophy-img {
    height: 260px !important;
    width: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  .philosophy-text-box {
    padding: 3rem 6%;
  }

  /* ── CLINICAL EXCELLENCE ── */
  .excellence-section {
    padding: 3.5rem 6%;
    overflow: visible;
    /* prevent card clipping */
  }

  .excellence-section::before {
    display: none;
  }

  .excellence-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
  }

  .excellence-header-right {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .excellence-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0;
    max-width: 100%;
  }

  .excellence-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 2rem 0 !important;
    width: 100%;
  }

  .excellence-card:first-child {
    padding-top: 0 !important;
  }

  .excellence-card:last-child {
    border-bottom: none !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
  }

  .excellence-card:nth-child(2) {
    padding-left: 0 !important;
  }

  .excellence-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .services-section+.why-nomad-section {
    margin-top: -50vh !important;
    z-index: 10 !important;
    position: relative !important;
  }
}

.service-detail-main {
  padding-top: var(--header-height) !important;
}

/* Modifier Classes for Inline Replacements */
.about-why-nomad-section {
  background-color: var(--color-hk-green) !important;
  color: var(--color-white) !important;
  padding-bottom: clamp(4rem, 6vw, 6rem) !important;
}

.about-why-nomad-label {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 2rem !important;
}

.about-why-nomad-statement {
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
}

.about-why-nomad-cta-wrap {
  margin-top: 3rem !important;
}

.about-why-nomad-btn {
  background-color: var(--color-dark) !important;
  color: var(--color-white) !important;
  border-color: var(--color-dark) !important;
}

.about-experience-section {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  background-color: var(--color-white) !important;
}

.about-philosophy-label {
  color: var(--color-terracotta) !important;
}

.about-philosophy-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
}

.about-philosophy-text {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  opacity: 0.9 !important;
  margin-bottom: 1.5rem !important;
}

.about-philosophy-text-last {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  opacity: 0.9 !important;
}

.about-excellence-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem) !important;
  color: var(--color-dark) !important;
}

.about-excellence-desc {
  font-size: 1.05rem !important;
  opacity: 0.8 !important;
  max-width: 700px !important;
  margin: 1rem auto 0 !important;
}

.about-excellence-card-desc {
  opacity: 0.8 !important;
  line-height: 1.6 !important;
}

/* ============================================================
   PREMIUM CONTACT PAGE DESIGN
   ============================================================ */
.contact-grid-section {
  padding: 6rem 1rem 3rem 1rem;
  background-color: var(--color-white);
}

.contact-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (max-width: 767px) {
  body.is-hk-domain .contact-dual-grid .contact-location-col:nth-child(1) {
    order: 2;
  }
  body.is-hk-domain .contact-dual-grid .contact-location-col:nth-child(2) {
    order: 1;
  }
}

.contact-location-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-only-contact-socials {
  display: none;
}

@media (max-width: 767px) {
  .mobile-only-contact-socials {
    display: flex;
    margin-top: 1rem;
  }
  .desktop-only-contact-socials {
    display: none !important;
  }
}

.contact-location-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--color-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 1rem;
}

.contact-location-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-terracotta);
}

.contact-map-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-white);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  /* Make the map look premium and architectural */
  filter: grayscale(100%) contrast(1.1) brightness(0.95);
  transition: filter var(--transition-normal);
}

.contact-map-wrap:hover {
  filter: grayscale(0%) contrast(1) brightness(1);
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  /* Prevents scroll trapping on desktop initially */
}

.contact-map-wrap:active iframe,
.contact-map-wrap:focus-within iframe {
  pointer-events: auto;
}

.contact-details-block {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-dark);
  opacity: 0.9;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-details-block {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    text-align: left;
    gap: 2rem;
  }
}

.contact-details-block a {
  color: var(--color-dark);
  text-decoration: none;
  transition: border-color var(--transition-fast);
  font-weight: 700;
}

.contact-details-block a:hover {
  border-bottom-color: var(--color-terracotta);
}

/* Premium Form Styling */
.contact-form-section {
  padding: 3rem 1rem 8rem 1rem;
  background-color: var(--color-white);
}

.premium-form-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  background: var(--color-bg-base);
  padding: clamp(3rem, 5vw, 5rem);
  border: 1px solid var(--color-border-light);
  box-shadow: none;
}

.form-intro-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.form-intro-block p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-terracotta);
  max-width: 400px;
}

.premium-form {
  display: grid;
  gap: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.premium-input {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid var(--color-border-light);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: transparent;
  color: var(--color-dark);
  outline: none;
  transition: border-color var(--transition-normal);
  border-radius: 0;
}

.premium-input:focus {
  border-bottom-color: var(--color-dark);
}

.premium-input::placeholder {
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

select.premium-input {
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 1rem;
}

select.premium-input:focus,
select.premium-input:valid {
  color: var(--color-dark);
}

textarea.premium-input {
  resize: vertical;
  min-height: 100px;
}

.premium-submit-wrap {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .contact-dual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .contact-location-col:first-child {
    padding-right: 5vw;
    border-right: 1px solid var(--color-border-light);
  }

  .contact-location-col:last-child {
    padding-left: 5vw;
  }

  .premium-form-container {
    grid-template-columns: 1fr 1.5fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}


/* ============================================================
   CONTACT V2 PREMIUM ADDITIONS (FAQ & SOCIAL GRID)
   ============================================================ */

/* FAQ Accordion */
.faq-section {
  padding: 5rem 1rem;
  background-color: var(--color-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark);
  font-weight: 400;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-terracotta);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  transition: all var(--transition-normal);
  padding: 0;
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-terracotta);
  padding-bottom: 1.5rem;
  margin: 0;
}

/* Active State via JS */
.faq-item.is-active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-terracotta);
}

.faq-item.is-active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

/* ======================/* ============================================================
   CONTACT V2 RADICAL REDESIGN (INLINE NEWSLETTER & FILMSTRIP)
   ============================================================ */

/* 1. Glassmorphism Parallax Newsletter */
.banner-newsletter-section {
  position: relative;
  padding: 6rem 1rem;
  background-image: url('/assets/images/newsletter_hk_bg.jpg');
  /* New Hong Kong Image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-newsletter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 20, 25, 0.75);
  /* Darker, slightly blue/urban tint for Hong Kong */
  z-index: 1;
}

.banner-newsletter-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.banner-newsletter-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin: 0;
  font-weight: 300;
}

.banner-newsletter-form {
  display: flex;
  width: 100%;
  max-width: 500px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  transition: border-color var(--transition-fast);
}

.banner-newsletter-form:focus-within {
  border-color: var(--color-white);
}

.banner-newsletter-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-white);
}

.banner-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.banner-newsletter-submit {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  cursor: pointer;
  padding: 0 0 0 1rem;
  transition: opacity var(--transition-fast);
}

.banner-newsletter-submit:hover {
  opacity: 0.7;
}

/* 2. Infinite Filmstrip Community Section */
.filmstrip-community-section {
  padding: 6rem 0;
  background-color: var(--color-white);
  /* White background to transition into black footer */
  overflow: hidden;
  position: relative;
}

.filmstrip-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

.filmstrip-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
  display: block;
}

.filmstrip-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-dark);
  font-weight: 400;
}

.filmstrip-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.filmstrip-track {
  display: flex;
  width: max-content;
  animation: filmstripScroll 40s linear infinite;
}

.filmstrip-track:hover {
  animation-play-state: paused;
}

.filmstrip-image-wrap {
  width: 400px;
  height: 300px;
  margin-right: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.filmstrip-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.filmstrip-image-wrap:hover img {
  transform: scale(1.05);
}

@keyframes filmstripScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1rem));
  }

  /* Scrolls exactly half the duplicated content */
}

@media (max-width: 768px) {
  .inline-newsletter-input {
    width: 200px;
  }

  .filmstrip-image-wrap {
    width: 280px;
    height: 200px;
  }
}

/* ============================================================
   SERVICES_2.HTML CUSTOM EDITORIAL SECTIONS
   ============================================================ */

/* 1. Methodology Section */
.methodology-section {
  background-color: var(--color-bg-base);
  padding: clamp(6rem, 10vw, 8rem) 5%;
}

.methodology-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.methodology-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
}

.methodology-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--color-dark);
  line-height: 1.1;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.method-panel {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-light);
}

.method-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-terracotta);
  opacity: 0.5;
  position: absolute;
  top: -1.5rem;
  left: 0;
}

.method-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.method-desc {
  font-size: 0.95rem;
  color: rgba(17, 17, 17, 0.7);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* 2. Athlete Story / Testimonial */
.athlete-story-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark);
  overflow: hidden;
}

.athlete-story-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/images/service_snow_color.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: grayscale(100%);
  z-index: 1;
}

.athlete-story-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  text-align: center;
  color: var(--color-white);
}

.athlete-quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 0;
  color: var(--color-terracotta);
  margin-bottom: 3rem;
  display: block;
}

.athlete-quote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.athlete-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.athlete-sport {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}


/* ============================================================
   JOURNAL / FIELD NOTES PAGE
   ============================================================ */

/* 1. Journal Hero */
.journal-hero {
  background-color: var(--color-bg-base);
  padding: clamp(8rem, 15vw, 12rem) 5% clamp(4rem, 8vw, 6rem);
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.journal-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.journal-hero-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* 2. Featured Article */
.featured-article-section {
  background-color: var(--color-white);
  padding: clamp(4rem, 8vw, 6rem) 5%;
}

.featured-article-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  text-decoration: none;
  color: inherit;
  group: featured;
}

.featured-article-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-dark);
}

.featured-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-article-card:hover .featured-article-img {
  transform: scale(1.05);
}

.featured-article-content {
  padding-right: 2rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.article-category {
  color: var(--color-terracotta);
  font-weight: 500;
}

.article-date {
  color: rgba(17, 17, 17, 0.5);
}

.featured-article-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.featured-article-excerpt {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.75);
  margin-bottom: 2.5rem;
}

.article-read-more {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

.featured-article-card:hover .article-read-more {
  color: var(--color-terracotta);
}

@media (max-width: 900px) {
  .featured-article-card {
    grid-template-columns: 1fr;
  }

  .featured-article-content {
    padding-right: 0;
  }
}

/* 3. Article Grid */
.journal-grid-section {
  background-color: var(--color-bg-base);
  padding: clamp(4rem, 8vw, 6rem) 5%;
}

.journal-grid-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.journal-grid-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-dark);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.journal-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.journal-card-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.journal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-card:hover .journal-card-img {
  transform: scale(1.05);
}

.journal-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--color-dark);
}

.journal-card:hover .journal-card-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.journal-load-more {
  text-align: center;
  margin-top: 5rem;
}


/* ============================================================
   JOURNAL 2 (REFERENCE DESIGN SPECIFIC)
   ============================================================ */

/* 1. Angled Hero */
.journal2-hero {
  position: relative;
  background-color: var(--color-bg-base);
  min-height: 80vh;
}

.journal2-hero-split {
  display: flex;
  min-height: 80vh;
}

.journal2-hero-left {
  flex: 0 0 45%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 10vw, 8rem) 5% clamp(6rem, 10vw, 8rem) 8%;
  background-color: var(--color-bg-base);
}

.journal2-hero-right {
  flex: 1 1 55%;
  position: relative;
  z-index: 2;
  margin-left: -150px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 150px 100%);
}

.journal2-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: 70% center;
  filter: contrast(1.05) brightness(0.95);
}

.journal2-hero-script {
  position: absolute;
  bottom: 15%;
  right: 10%;
  font-family: 'Brush Script MT', cursive;
  /* Fallback for script font */
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.15;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transform: rotate(-12deg);
}

.journal2-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
}

.journal2-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.9;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.journal2-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.75);
  max-width: 350px;
  margin-bottom: 2rem;
}

.journal2-hero-divider {
  width: 40px;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.3);
  margin-bottom: 2rem;
}

.journal2-hero-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(17, 17, 17, 0.5);
  line-height: 1.8;
}

/* 2. Overlapping Featured Article */
.journal2-featured-section {
  position: relative;
  z-index: 10;
  background-color: var(--color-white);
  padding: 0 5% 5rem 5%;
}

.journal2-featured-card {
  display: flex;
  align-items: center;
}

.j2-feat-left {
  flex: 0 0 45%;
  position: relative;
  aspect-ratio: 16 / 10;
}

.j2-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.1);
}

.j2-feat-pagination {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -3rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-align: center;
  color: rgba(17, 17, 17, 0.5);
}

.j2-page-current {
  color: var(--color-dark);
  font-weight: 700;
}

.j2-feat-arrow-btn {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: background var(--transition-fast);
}

.j2-feat-arrow-btn:hover {
  background: var(--color-dark);
}

.j2-feat-right {
  /* flex: 1 1 40%; */
  flex: 1 1 55%;
  padding: 2rem 3rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border-right: 1px solid var(--color-border-light); */
  background-color: var(--color-white);
  transform: translateY(-80px);
}

.j2-feat-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.j2-feat-category {
  color: var(--color-terracotta);
}

.j2-feat-date {
  color: rgba(17, 17, 17, 0.5);
}

.j2-feat-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.j2-feat-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.7);
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.j2-btn-black {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1.2rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity var(--transition-fast);
}

.j2-btn-black:hover {
  opacity: 0.8;
}

.j2-feat-sidebar {
  flex: 0 0 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 2rem 3rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(17, 17, 17, 0.4);
  background-color: var(--color-white);
  transform: translateY(-80px);
}

.j2-feat-sidebar span {
  display: block;
  margin-bottom: 0.8rem;
}

.j2-feat-sidebar span:last-child {
  margin-bottom: 0;
}

/* 3. Latest Insights */
.journal2-insights-section {
  background: var(--color-bg-base);
  padding: clamp(5rem, 8vw, 8rem) 5%;
}

.j2-insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.j2-ins-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(17, 17, 17, 0.6);
  display: block;
  margin-bottom: 0.5rem;
}

.j2-ins-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4rem);
  color: var(--color-dark);
}

.j2-ins-desc-box {
  text-align: right;
}

.j2-ins-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.7);
  margin-bottom: 1rem;
}

.j2-ins-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.j2-circle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-dark);
  transition: background var(--transition-fast);
}

.j2-ins-link:hover .j2-circle-icon {
  background: var(--color-dark);
  color: var(--color-white);
}

.j2-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem 2rem;
}

.j2-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 1.5rem;
}

.j2-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.j2-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.j2-card:hover .j2-card-img-wrap img {
  transform: scale(1.05);
}

.j2-card-meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.j2-card-cat {
  color: var(--color-terracotta);
}

.j2-card-date {
  color: rgba(17, 17, 17, 0.5);
}

.j2-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.j2-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--color-dark);
}

.j2-card-arrow {
  color: rgba(17, 17, 17, 0.3);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.j2-card:hover .j2-card-arrow {
  color: var(--color-dark);
  transform: translateX(5px);
}

/* 4. Why Nomad (Dark Image) */
.j2-why-nomad-section {
  position: relative;
  padding: clamp(5rem, 8vw, 7rem) 5%;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

.j2-why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.3));
}

.j2-why-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.j2-why-left {
  flex: 1 1 50%;
}

.j2-why-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.j2-why-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.j2-why-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  max-width: 450px;
}

.j2-btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.j2-btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.j2-why-right {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

.j2-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.j2-feat-icon {
  width: 32px;
  height: 32px;
  color: var(--color-white);
}

.j2-feat-text h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.j2-feat-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 5. The Experience */
.j2-experience-section {
  background: var(--color-bg-base);
  padding: clamp(5rem, 8vw, 8rem) 5%;
}

.j2-exp-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.j2-exp-left {
  flex: 1 1 30%;
}

.j2-exp-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-terracotta);
  margin-bottom: 1.5rem;
}

.j2-exp-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--color-dark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.j2-exp-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.7);
  margin-bottom: 3rem;
}

.j2-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.2);
  color: var(--color-dark);
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.j2-btn-outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.j2-exp-right {
  flex: 1 1 60%;
  display: flex;
  gap: 2rem;
}

.j2-loc-card {
  flex: 1;
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.j2-loc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
}

.j2-loc-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.j2-loc-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.j2-loc-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.j2-loc-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background var(--transition-fast);
  cursor: pointer;
}

.j2-loc-card:hover .j2-loc-arrow {
  background: var(--color-white);
  color: var(--color-dark);
}

/* 6. Newsletter / Journal Updates */
.j2-newsletter-section {
  background-color: #111;
  /* Topography map effect - simplified radial gradient fallback */
  background-image: radial-gradient(circle at center, #1a1a1a 0%, #111 100%);
  color: var(--color-white);
  padding: clamp(4rem, 6vw, 6rem) 5%;
}

.j2-news-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.j2-news-left {
  flex: 1 1 45%;
}

.j2-news-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.j2-news-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.j2-news-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.j2-news-right {
  flex: 1 1 50%;
}

.j2-news-form {
  max-width: 500px;
  width: 100%;
}

.j2-input-wrap {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}

.j2-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.j2-input-wrap input:focus {
  outline: none;
}

.j2-input-wrap button {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.j2-input-wrap button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.j2-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 900px) {

  .journal2-hero,
  .journal2-hero-split {
    min-height: auto;
  }

  .journal2-hero-left {
    padding: 5%;
  }

  .journal2-featured-section {
    padding: 5%;
  }

  .journal2-hero-split,
  .journal2-featured-card,
  .j2-why-content,
  .j2-exp-container,
  .j2-exp-right,
  .j2-news-container {
    flex-direction: column;
  }

  /* Fix overflowing image on mobile by resetting flex-basis and forcing 100% width */
  .j2-feat-left,
  .j2-feat-right {
    flex: none;
    width: 100%;
  }

  .j2-feat-right {
    padding: 2rem 0 0 0;
    /* Adjust padding for mobile layout */
  }

  .j2-feat-arrow-btn {
    display: none;
  }

  .journal2-hero-right {
    display: none;
  }

  .journal2-hero-left::after {
    display: none;
  }

  .j2-feat-sidebar {
    display: none;
  }

  .j2-ins-desc-box {
    text-align: left;
  }

  .j2-insights-grid {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 5vh;
  }

  .j2-insights-grid .j2-card {
    position: sticky;
    top: var(--dynamic-top, 22vh);
    margin-bottom: 50vh;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.08);
    /* softer, larger shadow for overlap */
    transform: none !important;
    opacity: 1;
    transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, transform 0.4s ease;
    z-index: var(--card-idx, 1);
    background: var(--color-white);
    /* White background makes them distinct cards */
    border-bottom: none;
    padding-bottom: 2.5rem;
    /* Extra padding at bottom so text isn't covered too soon */
  }

  /* Add padding to the text content since the card is now white */
  .j2-insights-grid .j2-card-meta,
  .j2-insights-grid .j2-card-bottom {
    padding: 0 1.5rem;
  }

  /* Make sure images and content don't leak out of the solid background */
  .j2-card-img-wrap {
    margin-bottom: 1.5rem;
  }

  .j2-insights-grid .j2-card.is-released {
    opacity: 0 !important;
    transform: translateY(-50px) scale(0.95) !important;
    pointer-events: none;
  }

  .j2-insights-grid .j2-card:last-child {
    margin-bottom: 50vh !important;
  }

  /* Pull the next section up to cover the 50vh empty space of the last sticky card */
  .j2-why-nomad-section {
    margin-top: -50vh;
    z-index: 10;
    position: relative;
  }
}

/* Floating Book Button - Premium Animated */
.floating-book-btn-wrapper {
  display: none;
  /* Hidden on desktop by default */
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(40px) scale(0.9);
}

.floating-book-btn-wrapper.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-book-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-dark);
  background: var(--color-bg-base, #ECE5DD);
  border: 1.5px solid var(--color-dark);
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.floating-book-btn:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .floating-book-btn-wrapper {
    display: block;
    top: 50%;
    bottom: auto;
    right: 0;
  }
  
  .floating-book-btn-wrapper.visible {
    transform: translateY(-50%) scale(1);
  }

  .floating-book-btn {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 1.5rem 0.5rem;
    font-size: 0.7rem;
    border-left: none;
    border-right: 1.5px solid var(--color-dark);
  }
  
  .floating-book-btn:hover {
    transform: rotate(180deg) translateX(-2px);
  }
}

/* Floating WhatsApp Button - Premium Animated */
.floating-whatsapp-btn-wrapper {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 2001;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background-color: var(--color-dark);
  color: var(--color-white);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.floating-whatsapp-btn:hover {
  background-color: #000;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .floating-whatsapp-btn-wrapper {
    bottom: 1.5rem;
    left: 1.5rem;
  }
  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
  }
}

.contact-social-link:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero-pane-content {
    margin-top: 5vh !important;
  }
}