
/* ==========================================================================
   Premium Design Tokens
   ========================================================================== */
:root {
  /* Colors */
  --color-bg: #1A2D37;          /* Muted Navy-Teal Canvas */
  --color-bg-gradient: linear-gradient(to bottom, #203743 0%, #13222a 100%);
  --color-text: #F4F1EA;        /* Organic Cream */
  --color-text-dim: #C1BEB5;    /* Soft Muted Cream */
  --color-accent: #F4BC47;      /* Sunset Gold */
  --color-accent-rgb: 244, 188, 71;
  --color-glass-bg: rgba(244, 241, 234, 0.03);
  --color-glass-border: rgba(244, 241, 234, 0.08);
  --color-glass-hover: rgba(244, 241, 234, 0.06);
  --color-glass-shadow: rgba(0, 0, 0, 0.25);

  /* Typography */
  --font-header: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-stamp: 'Indie Flower', cursive;

  /* Layout */
  --max-width: 980px;
  --header-height: 80px;
}

/* ==========================================================================
   Resets and Global Layout
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  /* scroll-behavior: smooth; */
  background-color: var(--color-bg);
  overflow-x: hidden;
}

body {
  background: var(--color-bg-gradient);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* Base Selections */
::selection {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

/* ==========================================================================
   Typography Rules
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 500; /* Medium weight required */
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--color-text-dim);
  font-size: 1.1rem;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  /* Added safe-area-insets to ensure background stretches to screen edges while keeping content inside iOS safe areas */
  padding: 0 calc(2.5rem + env(safe-area-inset-right)) 0 calc(5.5rem + env(safe-area-inset-left));
}

@media (min-width: 1200px) {
  .container {
    margin-left: calc(50% - var(--max-width)/2 + 70px);
    margin-right: calc(50% - var(--max-width)/2 - 70px);
  }
}

.section {
  padding: 10rem 0;
  position: relative;
  scroll-margin-top: var(--header-height);
}

/* ==========================================================================
   Component: Navigation Bar
   ========================================================================== */
.navbar {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 45, 55, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-stamp {
  font-size: 1.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.brand-stamp .be-icon {
  font-family: var(--font-stamp);
  color: var(--color-accent);
  margin-right: 0; /* Reset margin as requested */
  font-size: 2.1rem;
  vertical-align: middle;

}

.brand-stamp .ing-text {
  font-family: var(--font-header);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin-left: 3rem; /* Extra space to ensure logo is never crowded */
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.8;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   Component: Hero Section
   ========================================================================== */
.hero {
  min-height: 70vh; /* Reduced height to pull content closer to the menu */
  display: flex;
  align-items: flex-start; /* Align content to the top */
  padding-top: calc(var(--header-height) + 5rem); /* Elegant gutter below navigation */
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Content left, portrait right */
  gap: 4rem;
  align-items: flex-start; /* Align portrait top with intro text top */
  position: relative;
  z-index: 10;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-interactive-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  height: 240px; /* Reduced from 270px for a more compact design */
  width: 100%;
}

/* Standalone asymmetric BE icon */
.hero-be-stamp {
  font-family: var(--font-stamp);
  font-size: 7.5rem;
  color: var(--color-accent);

  user-select: none;
  margin-right: 1.5rem;
  display: inline-block;
  transform: rotate(-5deg);
  animation: floatStamp 6s ease-in-out infinite alternate;
}

/* Carousel Container */
.carousel-container {
  height: 240px; /* 3 slides of 80px each */
  overflow: hidden;
  position: relative;
  display: block;
  flex-grow: 1; /* Take up all remaining horizontal space next to BE stamp */
  margin-top: -24px; /* Shift up to align visually centered with the BE stamp */
}

.carousel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.carousel-slide {
  height: 80px; /* Reduced to 80px to align text line height */
  display: flex;
  align-items: center;
  font-size: 1.8rem; /* Slightly smaller base font-size */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.05;
  transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  transform: scale(0.6);
  transform-origin: left center;
  font-family: var(--font-header);
  white-space: nowrap; /* Prevent words from wrapping to multiple lines */
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(2.2); /* Scaled to 3.96rem (~64px) which fits comfortably inside 80px slide */
  color: var(--color-text);
  text-shadow: 0 0 35px rgba(244, 241, 234, 0.12);
}

.carousel-slide.prev,
.carousel-slide.next {
  opacity: 0.25;
  transform: scale(0.85);
}

/* Mobile line-break utility for rotating claims */
.mobile-br {
  display: none;
}

/* Sub-Messages */
.hero-headline {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-subtext {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-dim);
  margin-bottom: 3rem;
  max-width: 550px;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 1.05rem;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  letter-spacing: 0.03em;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-accent);
  box-shadow: 0 4px 20px rgba(244, 188, 71, 0.15);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(244, 188, 71, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid rgba(244, 241, 234, 0.2);
}

.btn-secondary:hover {
  background-color: var(--color-glass-hover);
  border-color: rgba(244, 241, 234, 0.4);
  transform: translateY(-2px);
}

/* Hero Right Side - Brand Manual Layout Preview */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-brand-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  padding: 3.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 50px var(--color-glass-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  animation: cardPulse 8s ease-in-out infinite alternate;
}

.hero-brand-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(244, 188, 71, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-brand-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.hero-brand-card img:hover {
  transform: scale(1.03) rotate(1deg);
}

.hero-brand-card-caption {
  font-family: var(--font-header);
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Component: The Cultural Pulse Canvas
   ========================================================================== */
.pulse-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.pulse-canvas-container.loaded {
  opacity: 1;
}

#pulse-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pulse-line-path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s ease;
}

.pulse-line-glow {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 4;
  opacity: 0.25;
  filter: blur(4px);
}

/* ==========================================================================
   Component: Strategic Narrative (Happiness Management)
   ========================================================================== */
.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

/* Drop the right column to the title's line (not the eyebrow), giving "Philosophy" room to breathe.
   Offset = section-tag height (1.8rem font x 1.6 line-height) + its 1rem margin-bottom. */
.narrative-right {
  margin-top: calc(1.8rem * 1.6 + 1rem);
}

/* The intro paragraph is mirrored: this copy lives in the left column and is shown only on
   mobile, so the stacked order becomes title -> intro -> kit -> rest. Hidden on desktop. */
.hk-intro-mobile {
  display: none;
}

.section-tag {
  font-family: var(--font-stamp);
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* Short lead paragraph that can introduce a section under its title. */
.section-lead {
  max-width: 680px;
  margin: -0.5rem 0 3.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-dim);
}

.narrative-intro {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
}

.narrative-prose p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.narrative-prose strong {
  color: var(--color-text);
  font-weight: 500;
}

.academic-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(244, 188, 71, 0.08);
  border: 1px dashed var(--color-accent);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--color-text);
}

.academic-badge .badge-icon {
  font-size: 1.4rem;
  margin-right: 0.75rem;
}

/* ==========================================================================
   Component: Happiness Kit — the framework's working components (Philosophy)
   ========================================================================== */
.hk-figure {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--color-glass-border);
  border-radius: 14px;
  background: rgba(244, 241, 234, 0.022);
  padding: 1.15rem 1.2rem 1rem;
}

.hk-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--color-glass-border);
}
.hk-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: var(--color-accent);
}
.hk-head-l { display: flex; flex-direction: column; gap: 3px; }
.hk-title { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.12em; color: var(--color-text); }
.hk-sub { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; color: var(--color-text-dim); }
.hk-no { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: var(--color-accent); white-space: nowrap; }

.hk-list { list-style: none; margin: 0; padding: 0; }
.hk-cell {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.8rem 0.55rem;
  border-radius: 9px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.06);
  transition: background-color 0.2s ease;
}
.hk-list .hk-cell:last-child { border-bottom: 0; }
.hk-ico { width: 40px; height: 40px; flex: 0 0 40px; }
.hk-ln { stroke: var(--color-text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s ease; }
.hk-lnG { stroke: var(--color-accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hk-txt { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-width: 0; }
.hk-label { font-size: 1.15rem; font-weight: 500; line-height: 1.2; color: var(--color-text); transition: color 0.2s ease; }
.hk-desc { font-size: 0.9rem; color: var(--color-text-dim); }
.hk-ix { align-self: flex-start; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; color: var(--color-accent); flex: 0 0 auto; transition: color 0.2s ease; }

.hk-cell:hover { background: rgba(var(--color-accent-rgb), 0.07); }
.hk-cell:hover .hk-label { color: var(--color-accent); }
.hk-cell:hover .hk-ln { stroke: #ffffff; }
.hk-cell:hover .hk-ix { color: #ffe7a8; }

.hk-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.45rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(var(--color-accent-rgb), 0.5);
  font-size: 0.98rem;
  color: var(--color-text);
}
.hk-foot-ico { font-size: 1.25rem; line-height: 1; }

@keyframes hkRise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.hk-figure.hk-anim .hk-cell,
.hk-figure.hk-anim .hk-foot { opacity: 0; }
.hk-figure.hk-anim.hk-in .hk-cell { animation: hkRise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hk-figure.hk-anim.hk-in .hk-d1 { animation-delay: 0.04s; }
.hk-figure.hk-anim.hk-in .hk-d2 { animation-delay: 0.11s; }
.hk-figure.hk-anim.hk-in .hk-d3 { animation-delay: 0.18s; }
.hk-figure.hk-anim.hk-in .hk-d4 { animation-delay: 0.25s; }
.hk-figure.hk-anim.hk-in .hk-d5 { animation-delay: 0.32s; }
.hk-figure.hk-anim.hk-in .hk-d6 { animation-delay: 0.39s; }
.hk-figure.hk-anim.hk-in .hk-foot { animation: hkRise 0.5s ease 0.46s both; }

@media (max-width: 992px) {
  .hk-figure { max-width: 460px; margin-top: 2.25rem; }
}
@media (max-width: 480px) {
  .hk-figure { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-figure .hk-cell,
  .hk-figure .hk-foot { opacity: 1 !important; animation: none !important; }
}

/* ==========================================================================
   Component: Bio Section (Mindset) & Portrait Integration
   ========================================================================== */
.bio-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.bio-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.portrait-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
}

.portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
  display: block;
}

.portrait-container:hover .portrait-img {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 25px 60px rgba(244, 188, 71, 0.18);
  border-color: rgba(244, 188, 71, 0.3);
}

/* Floating Tags */
.floating-tag {
  position: absolute;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(26, 45, 55, 0.8);
  border: 1px solid rgba(244, 188, 71, 0.25);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: border-color 0.3s ease;
}

.portrait-container:hover .floating-tag {
  border-color: var(--color-accent);
}

/* Tag Positions */
.floating-tag.tag-1 {
  top: 8%;
  left: -35px;
  animation: floatTag1 6s ease-in-out infinite alternate;
}

.floating-tag.tag-2 {
  top: 38%;
  right: -45px;
  animation: floatTag2 7s ease-in-out infinite alternate 0.5s;
}

.floating-tag.tag-3 {
  bottom: 25%;
  left: -40px;
  animation: floatTag3 5.5s ease-in-out infinite alternate 0.2s;
}

.floating-tag.tag-4 {
  bottom: 6%;
  right: -30px;
  animation: floatTag4 6.5s ease-in-out infinite alternate 0.8s;
}

.floating-tag.tag-5 {
  top: -20px;
  left: 20%;
  animation: floatTag5 5.8s ease-in-out infinite alternate 0.3s;
}

/* Tag Animations */
@keyframes floatTag1 {
  0% { transform: translateY(0) rotate(1deg); }
  100% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes floatTag2 {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-11px) rotate(1deg); }
}

@keyframes floatTag3 {
  0% { transform: translateY(0) rotate(0.5deg); }
  100% { transform: translateY(-7px) rotate(-0.5deg); }
}

@keyframes floatTag4 {
  0% { transform: translateY(0) rotate(-1.5deg); }
  100% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes floatTag5 {
  0% { transform: translateY(0) rotate(1.2deg); }
  100% { transform: translateY(-7px) rotate(-1.2deg); }
}

.bio-content p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--color-text-dim);
  margin-bottom: 1.8rem;
}

.bio-content p strong {
  color: var(--color-text);
  font-weight: 500;
}

/* ==========================================================================
   Component: Areas of Expertise Accordion & Booking Callout
   ========================================================================== */
.expertise-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.expertise-card {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--color-glass-shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.expertise-card:hover {
  background: var(--color-glass-hover);
  border-color: rgba(244, 241, 234, 0.15);
  transform: translateY(-2px);
}

.expertise-card.active {
  border-color: var(--color-accent);
  box-shadow: 0 10px 40px rgba(244, 188, 71, 0.1);
  background: rgba(244, 241, 234, 0.04);
}

.expertise-card-header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.expertise-card-icon-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.expertise-icon {
  font-size: 2rem;
}

.expertise-card-title {

  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.expertise-card.active .expertise-card-title {
  color: var(--color-accent);
}

.expertise-toggle-arrow {
  font-size: 1rem;
  color: var(--color-text-dim);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.expertise-card.active .expertise-toggle-arrow {
  transform: rotate(180deg);
  color: var(--color-accent);
}

/* Smooth Accordion Body Transition using CSS Grid */
.expertise-card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.expertise-card.active .expertise-card-body {
  grid-template-rows: 1fr;
}

.expertise-card-content {
  overflow: hidden;
}

.expertise-card-content > p {
  padding: 0 2rem 2rem 2rem;
  font-size: 1.15rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.expertise-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem;
}

.expertise-details-grid h4 {
  font-family: var(--font-header);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.expertise-details-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.expertise-details-grid ul li {
  font-size: 1.05rem;
  color: var(--color-text-dim);
  position: relative;
  padding-left: 1.25rem;
}

.expertise-details-grid ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Discovery Call Booking Card */
.booking-card {
  background: radial-gradient(circle at 10% 20%, rgba(244, 188, 71, 0.05) 0%, rgba(26, 45, 55, 0.6) 80%), var(--color-glass-bg);
  border: 1px solid rgba(244, 188, 71, 0.2);
  border-radius: 12px;
  padding: 4rem;
  text-align: center;
  box-shadow: 0 20px 50px var(--color-glass-shadow);
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  transition: all 0.4s ease;
}

#discovery-call {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}


.booking-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 25px 60px rgba(244, 188, 71, 0.12);
}

.booking-badge {
  display: inline-block;
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(244, 188, 71, 0.15);
  color: var(--color-accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(244, 188, 71, 0.25);
}

.booking-title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: var(--color-text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.booking-text {
  font-size: 1.15rem;
  color: var(--color-text-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.booking-cta {
  display: flex;
  justify-content: center;
}

.btn-booking {
  padding: 1.2rem 2.8rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.calendar-btn-icon {
  font-size: 1.3rem;

}

/* ==========================================================================
   Component: Portrait Stories Video Player (Mindset Section)
   ========================================================================== */
.stories-player-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.stories-card {
  position: relative;
  width: 320px;
  height: 568px; /* Standard 9:16 aspect ratio portrait shape */
  border-radius: 20px;
  background-color: #1A2D37;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 45px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  border: 1.5px solid rgba(244, 241, 234, 0.1);
}

.stories-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 55px rgba(244, 188, 71, 0.12);
  border-color: rgba(244, 188, 71, 0.35);
}

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

/* Sleek Volume Level Badge */
.stories-volume-badge {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translate(-50%, -10px);
  background: rgba(26, 45, 55, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  z-index: 20;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.03em;
}

.stories-volume-badge.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Instagram-style Top Progress Bar */
.stories-progress-bar {
  position: absolute;
  top: 15px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  z-index: 10;
  overflow: hidden;
}

.stories-progress-fill {
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* UI Overlays & Controls */
.stories-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: linear-gradient(to bottom, rgba(26,45,55,0.4) 0%, rgba(26,45,55,0) 25%, rgba(26,45,55,0) 75%, rgba(26,45,55,0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  transition: opacity 0.4s ease;
}

/* Fade out interactive elements during playback */
.stories-overlay.playing {
  opacity: 0.85;
}

.stories-card:hover .stories-overlay {
  opacity: 1 !important;
}

/* Sound indicator button (top right, below progress bar) */
.stories-sound-btn {
  position: absolute;
  top: 30px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26, 45, 55, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  color: #FFFFFF;
  transition: background 0.25s, transform 0.25s;
}

.stories-sound-btn:hover {
  background: rgba(26, 45, 55, 0.85);
  transform: scale(1.05);
}

.stories-sound-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Center play/pause toggle button */
.stories-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(26, 45, 55, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 15;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Make play button visible on hover or when paused */
.stories-card:hover .stories-play-btn,
.stories-play-btn:not(.playing) {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.stories-play-btn.playing {
  opacity: 0;
}

.stories-play-btn .play-icon {
  margin-left: 4px; /* visually center play triangle */
}

/* Floating Tag Caption (bottom left) */
.stories-caption-tag {
  position: absolute;
  bottom: 20px;
  left: 12px;
  background: rgba(26, 45, 55, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 188, 71, 0.35);
  color: #F4F1EA;
  padding: 0.4rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 500;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 12;
  letter-spacing: 0.02em;
}

.stories-caption-tag .caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4CAF50; /* pulsing green active indicator */
  box-shadow: 0 0 8px #4CAF50;
  animation: captionPulse 2s infinite;
}

@keyframes captionPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Layout adjustment on desktop to support 2 columns side by side */
@media (min-width: 992px) {
  #bio .container {
    max-width: 1050px;
  }
  .bio-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 5rem;
    align-items: center;
    text-align: left;
    max-width: 100%;
  }
  .bio-right {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Component: Operational Track Record
   ========================================================================== */
.track-record-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
}

.track-card {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--color-glass-shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle accent overlay on hover */
.track-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--color-accent);
  transition: height 0.4s ease;
}

.track-card:hover {
  transform: translateY(-4px);
  background: var(--color-glass-hover);
  border-color: rgba(244, 241, 234, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.track-card:hover::after {
  height: 100%;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.track-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text);
}

.track-tag {
  font-family: var(--font-header);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  color: var(--color-text-dim);
}

.track-card:hover .track-title {
  color: var(--color-accent);
}

.static-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ef4444;
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  pointer-events: none;
  font-family: var(--font-header);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.active-vulnerability .static-indicator {
  opacity: 0.8;
  max-height: 40px;
  margin-bottom: 1rem;
}

.static-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  animation: pulseRed 1.5s infinite;
}

.track-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.track-details li {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.track-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Track record — scannable icon-card grid */
.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}

.track-item {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, border-color 0.3s ease;
}

.track-item:hover {
  transform: translateY(-4px);
  background: var(--color-glass-hover);
  border-color: rgba(var(--color-accent-rgb), 0.35);
}

.track-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--color-accent-rgb), 0.12);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.track-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.55rem;
}

.track-item-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dim);
  margin: 0;
}

.track-resume {
  margin-top: 2.5rem;
  text-align: center;
}

.track-resume p {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.track-resume-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(var(--color-accent-rgb), 0.4);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.track-resume-link:hover {
  background: rgba(var(--color-accent-rgb), 0.12);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.track-resume-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .track-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }
}

/* ==========================================================================
   Component: Credentials & Academic Foundation
   ========================================================================== */
.credentials-list {
  max-width: 850px;
  margin: 4rem auto 0 auto;
  display: flex;
  flex-direction: column;
}

.credential-row {
  border-bottom: 1.5px solid rgba(244, 241, 234, 0.1);
  padding: 2.2rem 0;
  transition: all 0.3s ease;
}

.credential-row:first-child {
  border-top: 1.5px solid rgba(244, 241, 234, 0.1);
}

.cred-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.cred-row-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cred-row-icon {
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 241, 234, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.credential-row:hover .cred-row-icon {
  border-color: var(--color-accent);
  background: rgba(244, 188, 71, 0.05);
}

.cred-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cred-row-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  font-weight: 500;
}

.cred-row-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.cred-expand-inner {
  padding: 1rem 0 0 calc(54px + 1.5rem); /* Offset to align text with title/subtitle metadata column */
}

.cred-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-dim);
  margin: 0;
}

/* Credentials Tell Me More button & transition styling */
.cred-more-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.3rem 0;
  width: fit-content;
  transition: color 0.25s ease;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.cred-more-btn:hover {
  color: #FFFFFF;
}

.cred-more-btn:hover .more-arrow {
  animation: arrowBob 0.6s ease-in-out infinite alternate;
}

.more-arrow {
  display: inline-block;
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.cred-expandable {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease;
}

.cred-expandable.active {
  opacity: 1;
}

@keyframes arrowBob {
  0% { transform: translateY(0); }
  100% { transform: translateY(3px); }
}

/* Adjust padding on mobile */
@media (max-width: 768px) {
  .cred-row-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cred-more-btn {
    align-self: flex-start;
    padding-top: 0;
  }
  .cred-expand-inner {
    padding-left: calc(54px + 1.5rem);
  }
}

/* Responsive: inset only the credential cards a little so their icons clear the pulse thread,
   while the "Foundations" header stays aligned with the rest of the page. */
@media (max-width: 992px) {
  #credentials .credentials-list {
    padding-left: 1rem;
  }
}

/* ==========================================================================
   Component: Modern Contact Footer
   ========================================================================== */
.footer {
  padding: 8rem 0 4rem;
  border-top: 1px solid var(--color-glass-border);
  position: relative;
  background: rgba(19, 34, 42, 0.5);
  scroll-margin-top: var(--header-height);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.footer-brand .footer-be-stamp {
  font-family: var(--font-stamp);
  color: var(--color-accent);
  font-size: 2.0rem;
  line-height: 1.1;
}

.footer-brand .footer-be-question {
  font-family: var(--font-header);

  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.footer-tagline {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  max-width: 320px;
}

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

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.footer-contact-link {
  font-family: var(--font-header);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-link:hover {
  color: var(--color-accent);
  transform: translateX(3px);
}
/* Plain footer text spans (not links) — keep dim, no hover effect */
#contact-location,
.footer-static {
  color: var(--color-text-dim);
  cursor: default;
  font-size: 1.05rem;
}
#contact-location:hover,
.footer-static:hover { color: var(--color-text-dim); transform: none; }

.footer-bottom {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(244, 241, 234, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes floatStamp {
  0% { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes cardPulse {
  0% { transform: translateY(0); box-shadow: 0 20px 50px var(--color-glass-shadow); }
  100% { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0,0,0,0.35); }
}

@keyframes pulseRed {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */


@media (max-width: 992px) {
  .navbar .nav-links {
    display: none; /* Hide navigation links on tablet/mobile viewport */
  }
  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-left {
    align-items: center;
  }
  .hero-interactive-header {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 180px;
    margin-bottom: 2rem;
  }
  .hero-be-stamp {
    font-size: 5.5rem;
    margin-right: 1.2rem;
    margin-bottom: 0;
    transform: rotate(-3deg);
  }
  .carousel-container {
    width: auto;
    min-width: 350px;
    flex-grow: 0;
    height: 180px; /* 3 slides of 60px */
    margin-top: -6px;
  }
  .carousel-slide {
    height: 60px;
    font-size: 1.3rem;
    justify-content: flex-start;
    transform-origin: left center;
    width: 100%;
  }
  .carousel-slide.active {
    transform: scale(1.6); /* Scale down active word slightly on tablet */
  }
  .carousel-slide.prev,
  .carousel-slide.next {
    transform: scale(0.85);
  }
  .hero-headline {
    font-size: 2.6rem;
    margin: 0 auto 1.5rem;
    max-width: 100%;
  }
  .hero-subtext {
    font-size: 1.3rem;
    margin: 0 auto 2.5rem;
    max-width: 100%;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-brand-card {
    max-width: 380px;
  }
  .narrative-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .narrative-right {
    margin-top: 0;
  }
  /* Mobile: reveal the left-column intro (above the kit) and hide the right-column intro,
     leaving only the rest of the prose below the kit. */
  .hk-intro-mobile {
    display: block;
    /* Drop the gold accent bar + indent on mobile so it doesn't clash with the pulse string. */
    border-left: 0;
    padding-left: 0;
  }
  .narrative-right > .narrative-intro {
    display: none;
  }
  .hk-figure {
    margin-top: 1.75rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-top: 4rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 calc(1.5rem + env(safe-area-inset-right)) 0 calc(5.5rem + env(safe-area-inset-left));
  }
  .section {
    padding: 6rem 0;
  }
  .hero-interactive-header {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 130px;
    margin-bottom: 1.5rem;
  }
  .carousel-container {
    width: auto;
    min-width: 250px;
    flex-grow: 0;
    height: 120px; /* 3 slides of 40px */
    margin-top: 2px; /* Shift down to align vertically centered next to BE stamp */
  }
  .carousel-slide {
    height: 40px;
    font-size: 1.05rem;
    justify-content: center; /* Center horizontally next to BE */
    text-align: center; /* Center multi-line text */
    transform-origin: center center; /* Zoom from center */
    width: 100%;
    white-space: normal;
    line-height: 0.95;
  }
  .carousel-slide .mobile-br {
    display: block;
  }
  .carousel-slide.active {
    transform: scale(1.4); /* Scale down active word on tablet */
  }
  .carousel-slide.prev,
  .carousel-slide.next {
    transform: scale(0.8);
  }
  .hero-be-stamp {
    font-size: 4.2rem;
    margin-right: 0.8rem;
    margin-bottom: 0;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .hero-subtext {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .track-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .footer {
    padding: 4rem 0 3rem;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Component G Responsive Overrides */
  .expertise-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .expertise-card-content > p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 1.1rem;
  }
  .booking-card {
    padding: 2.5rem 1.5rem;
  }
  .booking-title {
    font-size: 1.6rem;
  }
  .booking-text {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  .btn-booking {
    width: 100%;
    padding: 1rem 1.5rem;
  }
  
  /* Component H (Bio) Tablet Overrides */
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .portrait-wrapper {
    margin-bottom: 2rem;
  }
  .stories-card {
    width: 280px;
    height: 498px;
  }
  .portrait-container {
    max-width: 320px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .portrait-img {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .portrait-container .floating-tag {
    position: static;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    animation: none !important;
    margin: 0.25rem;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .bio-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 calc(1rem + env(safe-area-inset-right)) 0 calc(2.5rem + env(safe-area-inset-left));
  }
  .hero-interactive-header {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 175px;
    margin-bottom: 1.5rem;
  }
  .carousel-container {
    width: 165px;
    min-width: 0;
    flex-grow: 0;
    flex-shrink: 0;
    height: 175px; /* 3 slides of 58.33px */
    margin-top: 3px; /* Shift down to align vertically centered next to BE stamp */
  }
  .carousel-slide {
    height: 58.33px;
    font-size: 1.1rem;
    justify-content: flex-start; /* Left-align horizontally next to BE */
    text-align: left; /* Left-align multi-line text */
    transform-origin: left center; /* Zoom from left */
    width: 100%;
    white-space: normal;
    line-height: 0.95;
    padding-left: 0.2rem;
  }
  .carousel-slide .mobile-br {
    display: block;
  }
  .carousel-slide.active {
    transform: scale(1.35); /* Scale active claim with zoom safety */
  }
  .carousel-slide.prev,
  .carousel-slide.next {
    transform: scale(0.8);
  }
  .hero-be-stamp {
    display: block;
    font-size: 5rem;
    margin-right: 0.8rem;
    margin-bottom: 0;
  }
  .hero-headline {
    font-size: 1.8rem;
  }
  .hero-subtext {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .btn {
    padding: 0.9rem 1.6rem;
    font-size: 0.95rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .track-card {
    padding: 1.25rem;
  }
  
  /* Component G Mobile Overrides */
  .expertise-card-header {
    padding: 1.5rem;
  }
  .expertise-card-title {
    font-size: 1.25rem;
  }
  .expertise-icon {
    font-size: 1.6rem;
  }
  .booking-card {
    padding: 2rem 1.2rem;
  }
  .booking-title {
    font-size: 1.4rem;
  }
  
  /* Component H (Bio) Mobile Overrides */
  .stories-card {
    width: 250px;
    height: 444px;
  }
  .portrait-container {
    max-width: 100%;
    width: 100%;
  }
  .portrait-img {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .portrait-container .floating-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin: 0.1rem;
  }
  .bio-content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
}

/* Helper to disable transitions during snap-back */
.no-transition,
.no-transition * {
  transition: none !important;
}

/* Interactive SVG Pulse Node Styles (Branded Hanging Gift Tag) */
.pulse-interactive-group {
  cursor: pointer;
  pointer-events: auto; /* enable interaction on the SVG node */
}

/* Interactive SVG Info Circle Node Styles */
.info-node-group {
  cursor: pointer;
  pointer-events: auto;
}

.info-node-glow {
  fill: rgba(244, 188, 71, 0.15);
  stroke: none;
  transform-origin: 0px 0px;
  animation: infoGlowPulse 2.5s infinite ease-in-out;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), fill 0.4s ease;
}

.info-node-outer {
  fill: var(--color-bg);
  stroke: var(--color-accent);
  stroke-width: 1.5px;
  transform-origin: 0px 0px;
  transition: fill 0.4s ease, stroke-width 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.info-node-inner {
  fill: var(--color-accent);
  stroke: none;
  transform-origin: 0px 0px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), fill 0.4s ease;
}

.info-node-text {
  fill: var(--color-bg);
  font-family: var(--font-header);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  transition: fill 0.4s ease;
}

/* Hover Transitions for Info Circle */
.info-node-group:hover .info-node-glow {
  transform: scale(1.35);
  fill: rgba(244, 188, 71, 0.25);
}

.info-node-group:hover .info-node-outer {
  fill: rgba(32, 55, 67, 0.95);
  stroke-width: 2px;
  transform: scale(1.15);
}

.info-node-group:hover .info-node-inner {
  transform: scale(1.05);
  fill: var(--color-text);
}

/* Simple Circle Node Styles */
.simple-node-group {
  cursor: pointer;
  pointer-events: auto;
}

.simple-node-glow {
  fill: rgba(244, 188, 71, 0.12);
  stroke: none;
  transform-origin: 0px 0px;
  animation: infoGlowPulse 2.8s infinite ease-in-out;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), fill 0.4s ease;
}

.simple-node-outer {
  fill: var(--color-bg);
  stroke: var(--color-accent);
  stroke-width: 1.2px;
  transform-origin: 0px 0px;
  transition: fill 0.4s ease, stroke-width 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.simple-node-inner {
  fill: var(--color-accent);
  stroke: none;
  transform-origin: 0px 0px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), fill 0.4s ease;
}

/* Hover Transitions for Simple Circle Nodes */
.simple-node-group:hover .simple-node-glow {
  transform: scale(1.4);
  fill: rgba(244, 188, 71, 0.22);
}

.simple-node-group:hover .simple-node-outer {
  fill: rgba(32, 55, 67, 0.95);
  stroke-width: 1.8px;
  transform: scale(1.2);
}

.simple-node-group:hover .simple-node-inner {
  transform: scale(1.1);
  fill: var(--color-text);
}

@keyframes infoGlowPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.45;
  }
}


/* Delicate golden thread holding the tag */
.tag-thread {
  stroke: var(--color-accent);
  stroke-width: 1.5px;
  stroke-linecap: round;
}

/* The hanging tag body structure that swings around the eyelet hole */
.gift-tag-hang {
  transform-origin: 20px 0px; /* Pivots from the exact center of the eyelet */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Pendulum swinging motion on hover */
.pulse-interactive-group:hover .gift-tag-hang {
  animation: tagSwing 2.2s ease-in-out infinite alternate;
}

/* Glassmorphic Navy-Teal background card shape with a premium gold border */
.gift-tag-bg {
  fill: rgba(26, 45, 55, 0.95);
  stroke: var(--color-accent);
  stroke-width: 1.5px;
  transition: fill 0.3s ease, stroke-width 0.3s ease;
}

.pulse-interactive-group:hover .gift-tag-bg {
  fill: rgba(32, 55, 67, 0.98);
  stroke-width: 2px;
}

/* Golden eyelet hole structure */
.gift-tag-eyelet-ring {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5px;
}

.gift-tag-eyelet-hole {
  fill: var(--color-bg); /* matches behind background to simulate a punch hole */
}

/* Golden center of the string ribbon knot */
.gift-tag-knot-center {
  fill: var(--color-accent);
  stroke: none;
}

/* Default scale for mobile/responsive sizes */
.gift-tag-knot {
  transform: scale(1);
  transform-origin: 0px 0px;
  transition: transform 0.3s ease;
}

/* 50% larger scale for desktop resolutions (> 768px) */
@media (min-width: 768px) {
  .gift-tag-knot {
    transform: scale(2.25);
  }
}

/* Micro branding tag typography */
.gift-tag-text {
  fill: var(--color-text-dim);
  font-family: var(--font-header);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-anchor: start;
  transition: fill 0.3s ease;
}

.pulse-interactive-group:hover .gift-tag-text {
  fill: var(--color-text);
}

/* Gold border surrounding the circular portrait image */
.gift-tag-thumb-border {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5px;
  transition: stroke-width 0.3s ease;
}

.pulse-interactive-group:hover .gift-tag-thumb-border {
  stroke-width: 2px;
}

/* Gentle swinging pendulum animation back and forth */
@keyframes tagSwing {
  0% {
    transform: rotate(-6deg);
  }
  100% {
    transform: rotate(8deg);
  }
}

/* Motto Modal Glassmorphic Styling */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 45, 55, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Zoom/Expansion wrapper that is full screen so click coordinate transform-origin is perfectly relative */
.modal-zoom-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: scale(0);
  opacity: 0;
}

.modal-overlay.active .modal-zoom-wrapper {
  animation: portalOpen 0.52s cubic-bezier(0.34, 1.25, 0.64, 1) forwards;
  pointer-events: auto;
}

.modal-overlay.closing .modal-zoom-wrapper {
  animation: portalClose 0.42s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  pointer-events: none;
}

.modal-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  width: 90%;
  max-width: 680px;
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2.5rem;

  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Animate the body fading up after the modal container opens to avoid text stretching */
.modal-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.modal-overlay.active .modal-body {
  opacity: 1;
  transform: translateY(0);
}

.modal-image-container {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: var(--color-bg);
  aspect-ratio: 1;
}

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

.modal-text-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-tag {
  font-family: var(--font-header);
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.modal-motto {
  font-family: var(--font-header);
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.modal-desc {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-text-dim);
  margin: 0;
}

.modal-citation {
  font-size: 0.82rem;
  color: var(--color-accent);
  opacity: 0.75;
  font-style: italic;
  margin-top: 0.9rem;
  display: block;
  letter-spacing: 0.01em;
}


/* Premium Spring-Zoom & Blur Reveal Animations */
@keyframes portalOpen {
  0% {
    transform: scale(0.02);
    opacity: 0;
    filter: blur(8px);
  }
  30% {
    opacity: 0.95;
    filter: blur(3px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes portalClose {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    transform: scale(0.02);
    opacity: 0;
    filter: blur(8px);
  }
}

/* Responsive Modal Overrides */
@media (max-height: 600px) {
  .modal-zoom-wrapper {
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }
  .modal-content {
    margin: 1.5rem auto;
    padding: 1.5rem;
    border-radius: 20px;
    max-width: 580px;
  }
  .modal-body {
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
  }
  .modal-image-container {
    max-width: 120px;
  }
  .modal-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
  }
  .modal-motto {
    font-size: 1.25rem;
  }
  .modal-desc {
    font-size: 0.9rem;
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  .modal-content {
    padding: 2rem 1.5rem;
  }
  .modal-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .modal-image-container {
    max-width: 150px;
    margin: 0 auto;
  }
  .modal-motto {
    font-size: 1.35rem;
  }
  .modal-desc {
    font-size: 0.95rem;
  }
}


/* Interactive String-Cutting Scissors Button */
.scissors-btn {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 15; /* sits above the vertical SVG line canvas z-index 9 */
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.scissors-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Instantly animate to closed blades when clicked to simulate cutting */
.scissors-btn.clicked .scissors-icon {
  transform: scale(0.85) rotate(-32deg);
  transition: transform 0.1s ease-out;
}

.scissors-btn:hover {
  background: var(--color-glass-hover);
  color: var(--color-text);
  border-color: var(--color-text);
}

.scissors-btn:hover .scissors-icon {
  animation: snipCut 0.5s ease-in-out infinite alternate;
}

.scissors-icon {
  display: inline-block;
  transform-origin: center center;
}

@keyframes snipCut {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-25deg); }
}

/* ==========================================================================
   Responsive Hamburger & Mobile Overlay Navigation
   ========================================================================== */

/* Base Hamburger Styles (Hidden on Desktop) */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 105;
  padding: 0;
  margin-left: 1.5rem;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  left: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, background-color 0.3s ease;
  border-radius: 2px;
}

.bar-1 { top: 0; }
.bar-2 { top: 9px; }
.bar-3 { top: 18px; }

/* Active Hamburger State (Morphs to X) */
.nav-hamburger.active .bar-1 {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--color-accent);
}
.nav-hamburger.active .bar-2 {
  opacity: 0;
}
.nav-hamburger.active .bar-3 {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--color-accent);
}

/* Mobile Fullscreen Menu Drawer Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px; /* sliding panel / drawer style */
  height: 100vh;
  background: rgba(26, 45, 55, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--color-glass-border);
  z-index: 95;
  padding: calc(var(--header-height) + 2rem) calc(2.5rem + env(safe-area-inset-right)) 2.5rem calc(2.5rem + env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

@media (max-width: 480px) {
  .mobile-menu {
    max-width: 100%; /* full width on small mobile screens */
  }
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

body.mobile-menu-open {
  overflow: hidden; /* disable scroll on body when menu is active */
}

/* Mobile Nav Links */
.mobile-nav-links {
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.mobile-nav-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text);
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--color-accent);
  transform: translateX(5px);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--color-glass-border);
  margin-bottom: 2rem;
}

/* Mobile Social Links */
.mobile-social-links {
  margin-bottom: 1.5rem;
}

.mobile-social-links .social-title {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  flex-direction: row; /* Horizontal 1-row layout */
  gap: 1.2rem;
  align-items: center;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  width: 44px; /* Standard premium tap target size */
  height: 44px;
  border-radius: 50%;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
}

.social-icon-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-glass-hover);
  transform: translateY(-3px); /* Shift up on hover */
}

.social-icon-link .social-icon-svg {
  width: 22px; /* Bigger icons */
  height: 22px;
}

.social-icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: fill 0.3s ease;
}

/* Mobile Menu CTA */
.mobile-menu-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.btn-mobile-booking {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 1rem 1.5rem;
}

/* Media Query overrides to show hamburger button */
@media (max-width: 992px) {
  .nav-hamburger {
    display: block;
  }
}

/* ==========================================================================
   Email Action Popover Styling
   ========================================================================== */
.email-popover {
  position: absolute;
  transform: translate(-50%, -100%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  background: rgba(26, 45, 55, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 200px;
}

.email-popover.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -100%) scale(1);
}

/* Little downward arrow on popover */
.email-popover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--arrow-left, 50%);
  transform: translate(-50%, 100%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(26, 45, 55, 0.95) transparent transparent transparent;
  pointer-events: none;
}

.email-popover-email {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  font-family: var(--font-header);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  text-align: center;
  padding-bottom: 0.5rem;
}

.email-popover-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.btn-popover {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-header);
  font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-popover:hover {
  background: var(--color-glass-hover);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn-popover:active {
  transform: translateY(0);
}

.btn-popover-icon {
  font-size: 1rem;
}

/* ==========================================================================
   Component H: Checking the Pulse (Audit) Section
   ========================================================================== */
.audit-section {
  padding: 6rem 0;
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
}


.audit-intro-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.audit-left-col {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.audit-vertical-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(244, 241, 234, 0.12); /* Organic Cream at 12% opacity */
  letter-spacing: 0.15em;

  white-space: nowrap;
}

.audit-ecg-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  min-height: 150px;
}

.audit-ecg-svg {
  width: 100%;
  height: 100%;
  display: block;
}


.audit-intro-prose {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0;
}

.audit-friction-row {
  margin-bottom: 5rem;
}

.audit-subtitle-banner {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.audit-card {
  border: 1px solid rgba(244, 241, 234, 0.2); /* Organic Cream at 20% opacity */
  padding: 2.5rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-sizing: border-box;
}

.audit-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0;
}

.audit-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-dim);
  margin: 0;
}

.audit-concluding-row {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.audit-concluding-header {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1.5rem 0;
}

.audit-concluding-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 3rem 0;
  text-align: left;
}

.audit-cta-container {
  display: flex;
  justify-content: center;
}

.audit-cta-btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.1rem 2.8rem;
  border: none;
  border-radius: 0; /* Brutalist sharp corners */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 4px 4px 0px var(--color-text); /* Brutalist shadow offset */
}

.audit-cta-btn:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--color-accent);
}

.audit-cta-btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0px var(--color-accent);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .audit-intro-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .audit-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .audit-section {
    padding: 4.5rem 0;
  }
  .audit-vertical-title {
    font-size: 1.8rem;
  }
  .audit-header {
  font-size: 1.75rem;
  }
  .audit-concluding-header {
  
  }
}

/* ==========================================================================
   Digital Nomad Subpage Styles
   ========================================================================== */
.nomad-hero {
  padding: 11rem 0 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nomad-hero-claim {
  font-family: var(--font-stamp);
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: inline-block;
  transform: rotate(-3deg) translateY(-5px);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nomad-hero-title {
  font-family: var(--font-header);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.nomad-hero-prose {
  font-family: var(--font-header);
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Instagram Spotlight */
.instagram-spotlight {
  padding: 2rem 0 6rem 0;
}

.instagram-card {
  background: radial-gradient(circle at 10% 20%, rgba(244, 188, 71, 0.04) 0%, rgba(26, 45, 55, 0.45) 80%), var(--color-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 188, 71, 0.15);
  border-radius: 24px;
  padding: 3rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 30px 60px var(--color-glass-shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.instagram-card:hover {
  border-color: rgba(244, 188, 71, 0.3);
  box-shadow: 0 35px 70px rgba(244, 188, 71, 0.05), 0 30px 60px var(--color-glass-shadow);
}

.instagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.instagram-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.instagram-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  padding: 2px;
  background: var(--color-bg);
  object-fit: cover;
}

.instagram-meta {
  text-align: left;
}

.instagram-handle {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.instagram-badge-verify {
  color: #3897f0;
  font-size: 0.95rem;
}

.instagram-tagline {
  font-family: var(--font-header);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.1rem;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(220, 39, 67, 0.45);
}

/* Polaroid Grid */
.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.polaroid-card {
  background: #ffffff;
  padding: 0.75rem 0.75rem 1.75rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  cursor: pointer;
  position: relative;
}

.polaroid-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.polaroid-caption {
  font-family: var(--font-stamp);
  color: #1c2e36;
  font-size: 1.15rem;
  text-align: center;
  margin-top: 0.6rem;

}

.polaroid-card:nth-child(1) { transform: rotate(-3deg) translateY(0); }
.polaroid-card:nth-child(2) { transform: rotate(1.5deg) translateY(-8px); }
.polaroid-card:nth-child(3) { transform: rotate(-1.5deg) translateY(0); }

.polaroid-card:hover {
  transform: scale(1.08) rotate(0deg) translateY(-12px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  z-index: 10;
}

/* Pillars Section */
.nomad-pillars-section {
  padding: 4rem 0 10rem 0;
  position: relative;
}

.nomad-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.nomad-pillar-card {
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%), var(--color-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 188, 71, 0.12);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px var(--color-glass-shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  text-align: left;
}

.nomad-pillar-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(244, 188, 71, 0.08), 0 15px 35px var(--color-glass-shadow);
}

.nomad-pillar-tag {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.nomad-pillar-title {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.nomad-pillar-subheading {
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.nomad-pillar-body {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.nomad-pillar-stamp {
  font-family: var(--font-stamp);
  font-size: 1.45rem;
  color: var(--color-accent);
  line-height: 1.3;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(244, 188, 71, 0.15);
  transform: rotate(-1.5deg);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.nomad-pillar-card:hover .nomad-pillar-stamp {
  transform: rotate(-3.5deg) scale(1.02);
}

/* Nomad Action Tooltip / Tip Button */
.nomad-tip-trigger {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  background: rgba(244, 188, 71, 0.08);
  border: 1px solid rgba(244, 188, 71, 0.2);
  color: var(--color-accent);
  padding: 0.35rem 0.8rem;
  border-radius: 30px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nomad-tip-trigger:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

/* Background Winding Path line specific overrides */
.travel-path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.travel-path-glow {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5px;
  opacity: 0.12;
  filter: url(#glow);
}

.travel-path-line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1px;
  opacity: 0.4;
}

/* Responsive Nomad layout */
@media (max-width: 992px) {
  .nomad-pillars-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nomad-hero {
    padding: 8.5rem 0 4rem 0;
  }
  .instagram-card {
    padding: 2rem 1.5rem;
  }
  .polaroid-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 320px;
    margin: 2rem auto 0 auto;
  }
  .polaroid-card:nth-child(1),
  .polaroid-card:nth-child(2),
  .polaroid-card:nth-child(3) {
    transform: rotate(0deg) translateY(0) !important;
  }
  .polaroid-card:hover {
    transform: scale(1.05) translateY(-5px) !important;
  }
  .nomad-pillar-card {
    padding: 2rem;
  }
  .nomad-tip-trigger {
    position: static;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1.5rem;
  }
}

/* ============================================================
   Tangled Thread — unresolved communication (between
   Foundations and the Footer). A knotted ball of string that
   restlessly turns and never quite settles, with a loose end
   that reaches down toward the footer but never connects.
   ============================================================ */
.tangle-section {
  padding: clamp(40px, 9vw, 96px) 0 clamp(24px, 5vw, 48px);
  text-align: center;
}

.tangle-wrap {
  display: block;
  width: clamp(160px, 30vw, 210px);
  /* Explicit aspect box so the SVG can never collapse to zero height
     (height:auto on an SVG inside flex computes to 0 in some engines). */
  aspect-ratio: 240 / 280;
  margin: 0 auto;
  filter: drop-shadow(0 0 14px rgba(var(--color-accent-rgb), 0.18));
}

.tangle-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Ball-only tangle reused inside blog articles (no dangling string). */
.article-tangle {
  display: block;
  width: clamp(120px, 26vw, 168px);
  aspect-ratio: 1 / 1;
  margin: clamp(30px, 6vw, 54px) auto clamp(10px, 2vw, 22px);
  align-self: center; /* center even if the article canvas is a flex column */
  filter: drop-shadow(0 0 14px rgba(var(--color-accent-rgb), 0.18));
}

/* The knotted mass slowly turns back and forth — never resolving. */
.tangle-ball {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: tangle-turn 26s ease-in-out infinite;
}

.tangle-strand {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.62;
  stroke-dasharray: 6 9;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation:
    tangle-shimmer 6s linear infinite,
    tangle-wobble 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.9s), calc(var(--i) * -0.7s);
}

/* The loose end: a thread reaching down toward the footer,
   twitching but never bridging the gap. */
.tangle-dangle {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: tangle-reach 8s ease-in-out infinite;
}

.tangle-loose-end {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.8;
}

.tangle-tip {
  fill: var(--color-accent);
  opacity: 0.85;
}

@keyframes tangle-turn {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(7deg); }
}

@keyframes tangle-wobble {
  0%, 100% { transform: rotate(-2.2deg); }
  50%      { transform: rotate(2.6deg); }
}

@keyframes tangle-shimmer {
  to { stroke-dashoffset: -60; }
}

@keyframes tangle-reach {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35%      { transform: translateY(7px) rotate(3.5deg); }
  70%      { transform: translateY(-3px) rotate(-3.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .tangle-ball,
  .tangle-strand,
  .tangle-dangle {
    animation: none !important;
  }
}

/* ============================================================
   The Knot — a tangled ball of thread held under tension from
   both ends, in "Mapping the Friction" (replaces the old ECG
   line next to 01 / AUDIT). Tension arrows pull the loose ends
   outward, the threads stretch, and the knot strains/tightens
   but never releases — the friction being mapped, not yet fixed.
   ============================================================ */
.audit-knot {
  width: 100%;
  max-width: 600px;
  /* Explicit aspect box so the SVG can't collapse to zero height. */
  aspect-ratio: 600 / 160;
}

.audit-knot-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* The tangled knot */
.kh-knot {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 14px rgba(var(--color-accent-rgb), 0.22));
  animation: kh-strain 4.2s ease-in-out infinite;
}

.kh-strand {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

/* Threads running out to the pullers — stretch on the tug */
.kh-line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.8;
}

.kh-thread {
  transform-box: fill-box;
}

.kh-thread-left {
  transform-origin: 100% 50%; /* anchored at the knot end */
  animation: kh-pull 4.2s ease-in-out infinite;
}

.kh-thread-right {
  transform-origin: 0% 50%; /* anchored at the knot end */
  animation: kh-pull 4.2s ease-in-out infinite;
}

/* Tension arrows pulling each loose end outward */
.kh-arrow {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.kh-puller {
  animation: kh-tug 4.2s ease-in-out infinite;
}

@keyframes kh-tug {
  0%, 100% { transform: translateX(0); }
  45%      { transform: translateX(7px); } /* +x is "outward" in each puller's local frame */
}

@keyframes kh-pull {
  0%, 100% { transform: scaleX(1); }
  45%      { transform: scaleX(1.06); }
}

@keyframes kh-strain {
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1.06, 0.92); } /* tightens horizontally under tension */
}

@media (prefers-reduced-motion: reduce) {
  .kh-knot,
  .kh-thread-left,
  .kh-thread-right,
  .kh-puller {
    animation: none !important;
  }
}



/* =====================================================================
   NOMAD JOURNEY — timeline, interactive world map, photo grid,
   value-proposition split. (nomad subpage)
   ===================================================================== */

/* ---- shared section rhythm ---- */
.nomad-journey-section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}
.nomad-journey-section .section-intro {
  max-width: 60ch;
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0.6rem 0 0;
}

/* ---- Milestone timeline ---- */
.nomad-timeline {
  margin-top: clamp(32px, 5vw, 56px);
  position: relative;
  padding-left: 34px;
}
.nomad-timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(var(--color-accent-rgb), 0.6),
    rgba(var(--color-accent-rgb), 0.12));
}
.milestone {
  position: relative;
  padding: 0 0 clamp(28px, 4vw, 44px);
}
.milestone:last-child { padding-bottom: 0; }
.milestone::before {
  content: "";
  position: absolute;
  left: -34px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 12px rgba(var(--color-accent-rgb), 0.45);
}
.milestone-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-text-dim); margin-bottom: 6px;
}
.milestone-flag { font-size: 1rem; }
.milestone-duration {
  color: var(--color-accent);
  border: 1px solid rgba(var(--color-accent-rgb), 0.3);
  border-radius: 999px; padding: 2px 10px; font-size: 0.72rem;
}
.milestone-title { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 0 0 8px; color: var(--color-text); }
.milestone-blurb { color: var(--color-text-dim); line-height: 1.65; margin: 0 0 10px; max-width: 64ch; }
.milestone-support {
  font-style: italic; color: var(--color-text);
  border-left: 2px solid rgba(var(--color-accent-rgb), 0.4);
  padding-left: 12px; margin: 0 0 14px; max-width: 60ch; font-size: 0.95rem;
}
.milestone-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-accent); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.milestone-link:hover { border-color: var(--color-accent); }
.milestone-link .arrow { transition: transform 0.2s; }
.milestone-link:hover .arrow { transform: translateX(3px); }

/* ---- Interactive world map ---- */
.journey-map-wrap {
  margin-top: clamp(28px, 4vw, 48px);
  width: 100%;
  aspect-ratio: 1000 / 400;
  background: rgba(244, 241, 234, 0.02);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  overflow: hidden;
}
#journey-map-svg { width: 100%; height: 100%; display: block; }

/* world country shapes */
.jm-country {
  fill: rgba(244, 241, 234, 0.05);
  stroke: rgba(244, 241, 234, 0.10);
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
  transition: fill 0.2s;
}
.jm-country.visited {
  fill: rgba(var(--color-accent-rgb), 0.22);
  stroke: rgba(var(--color-accent-rgb), 0.6);
  stroke-width: 0.8;
}
.jm-country.has-photos { cursor: pointer; }
.jm-country.has-photos:hover { fill: rgba(var(--color-accent-rgb), 0.4); }
.jm-country.selected { fill: rgba(var(--color-accent-rgb), 0.55); stroke: var(--color-accent); }
.jm-node-glow { fill: var(--color-accent); opacity: 0.18; }
.jm-node-dot  { fill: var(--color-accent); opacity: 0.85; }

/* ---- Photos scattered through the page (not a gallery) ---- */
.photo-scatter {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: clamp(28px, 5vw, 60px) 0;
}
.photo-scatter:empty { display: none; margin: 0; }
.scatter-photo {
  position: relative; flex: 1 1 240px; min-width: 200px;
  border-radius: 14px; overflow: hidden; line-height: 0;
  border: 1px solid var(--color-glass-border);
}
.scatter-photo img {
  width: 100%; height: clamp(190px, 22vw, 300px);
  object-fit: cover; display: block; transition: transform 0.4s ease;
}
.scatter-photo:hover img { transform: scale(1.05); }
.journey-tag {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(19, 34, 42, 0.78); backdrop-filter: blur(6px);
  color: var(--color-text); text-decoration: none;
  font-size: 0.78rem; line-height: 1; padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.14); transition: background 0.18s, transform 0.18s;
}
.journey-tag svg { width: 13px; height: 13px; color: var(--color-accent); }
.journey-tag:hover { background: var(--color-accent); color: var(--color-bg); transform: translateY(-2px); }
.journey-tag:hover svg { color: var(--color-bg); }
@media (max-width: 560px) { .scatter-photo { flex-basis: 100%; } }

/* ---- Value proposition split ---- */
.nomad-value-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px);
  margin-top: clamp(28px, 4vw, 48px);
}
.value-col {
  background: var(--color-glass-bg); border: 1px solid var(--color-glass-border);
  border-radius: 16px; padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
}
.value-col-tag {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 8px;
}
.value-col-title { font-size: clamp(1.2rem, 2.6vw, 1.6rem); margin: 0 0 6px; color: var(--color-text); }
.value-col-lead { color: var(--color-text-dim); line-height: 1.6; margin: 0 0 16px; }
.value-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.value-list li { position: relative; padding-left: 24px; color: var(--color-text); line-height: 1.5; }
.value-list li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent); box-shadow: 0 0 8px rgba(var(--color-accent-rgb), 0.5);
}
.value-col .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 768px) { .nomad-value-split { grid-template-columns: 1fr; } }

/* Hero scroll CTA — "Tell me more" with bouncing arrow */
.hero-scroll-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-text-dim);
  transition: color 0.2s;
}
.hero-scroll-cta:hover { color: var(--color-accent); }
.hero-scroll-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-scroll-arrow {


  animation: heroArrowBounce 1.4s ease-in-out infinite;
  display: block;
}
@keyframes heroArrowBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.55; }
}
