/* =============================================================================
   Lali Banerji — site styles
   Plain CSS, organised by section. Values mirror the original design 1:1.
   You normally only edit CONTENT in the HTML files, not this file.
   ========================================================================== */

/* -----------------------------------------------------------------------------
   0. Fonts + global cursor (self-hosted Inter, matching the original exactly)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;                 /* variable font covers all weights */
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* Custom orange pointer cursor on everything (as in the original). */
* {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28' viewBox='0 0 24 28'%3E%3Cdefs%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0.5' dy='1' stdDeviation='0.8' flood-color='%23000' flood-opacity='0.25'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M2 1L2 22L8 16L13 24L16.5 22L11.5 14L19 13Z' fill='%23EA580C' stroke='white' stroke-width='1.5' stroke-linejoin='round' filter='url(%23s)'/%3E%3C/svg%3E")
      2 1,
    auto;
}

/* -----------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --ink: #1a1a1a;              /* primary text / wordmark */
  --orange: #ea580c;          /* primary accent (orange-600) */
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-300: #fdba74;
  --orange-200: #fed7aa;
  --orange-100: #ffedd5;
  --orange-50:  #fff7ed;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --orange-900: #7c2d12;
  --tan: #c7956d;

  /* Greys (Tailwind parity) */
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --neutral-50:  #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-300: #d4d4d4;
  --neutral-500: #737373;
  --neutral-900: #171717;
  --white: #ffffff;

  /* Type — Inter if available, otherwise a near-identical system stack.
     (The original never bundled Inter, so this matches what it actually shows.
      Drop Inter .woff2 files in /fonts and add an @font-face to pin it exactly.) */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  /* Layout */
  --gutter: 70px;             /* desktop left gutter */
  --gutter-sm: 24px;          /* mobile left gutter */
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;             /* not hidden — keeps position: sticky working */
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------------------------
   3. Page shell — grid background + sticky logo
   -------------------------------------------------------------------------- */
.page {
  position: relative;
  min-height: 100vh;
  background: var(--white);
  overflow-x: clip;
}

/* Faint grid-paper background */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 1px, transparent 1px);
  background-size: 140px 140px;
}

.page > * { position: relative; z-index: 1; }

/* Sticky "LB" wordmark, top-left on every page */
.brand {
  position: fixed;
  top: 24px;
  left: var(--gutter);
  z-index: 40;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}
/* "LB" morphs into "Lali Banerji" on hover. Sequential + eased like the original's
   mode="wait": "LB" collapses first, then the full name eases open. max-width is
   tuned close to the name's real width (~169px) so the reveal fills the whole
   duration (no early-finish stall) while the pill still shrink-wraps snugly. */
.brand__short,
.brand__full {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.5s var(--easing), opacity 0.35s ease;
}
.brand__short > span,
.brand__full > span { display: inline-block; }
/* resting: "LB" open, full name collapsed */
.brand__short { max-width: 44px; opacity: 1; transition-delay: 0.28s; }
.brand__full  { max-width: 0;    opacity: 0; transition-delay: 0s; }
/* hovered / focused: "LB" collapses first, then the name opens */
.brand:hover .brand__short,
.brand:focus-within .brand__short { max-width: 0;     opacity: 0; transition-delay: 0s; }
.brand:hover .brand__full,
.brand:focus-within .brand__full  { max-width: 185px; opacity: 1; transition-delay: 0.28s; }

/* -----------------------------------------------------------------------------
   4. Utilities / shared bits
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-weight: 500;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 10px 20px;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.pill:hover {
  border-color: var(--gray-900);
  background: var(--gray-900);
  color: #fff;
}
.pill svg { transition: transform 0.3s ease; }
.pill:hover svg { transform: translate(2px, -2px); }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; }

/* Fade/slide-in on scroll. Content is visible by default (works with JS off /
   for crawlers); JS only hides elements that start off-screen, then reveals
   them — so there's no flash-of-hidden above the fold. */
.reveal.will-reveal { opacity: 0; transform: translateY(24px); }
.reveal.will-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.will-reveal { opacity: 1; transform: none; }
}

/* On-load entrance animations (mirror the original's framer-motion initial→animate
   with the same durations, delays and offsets). */
@keyframes cn-up40 { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes cn-up20 { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes cn-drop { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes cn-pop  { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes cn-fade { from { opacity: 0; } to { opacity: 1; } }

.brand        { animation: cn-drop 0.6s var(--easing) both; }
.hero__title  { animation: cn-up40 0.8s var(--easing) 0.1s both; }
.hero__tags   { animation: cn-up20 0.6s var(--easing) 0.4s both; }
.services     { animation: cn-up20 0.8s var(--easing) 0.6s both; }
.hero__art-mobile { animation: cn-up20 0.9s var(--easing) 0.7s both; }
/* opacity-only (no transform) so this stays a plain wrapper and doesn't become
   the containing block for the absolutely-positioned flight-path artwork. */
.hero__art    { animation: cn-fade 0.9s var(--easing) 0.7s both; }

@media (prefers-reduced-motion: reduce) {
  .brand, .hero__title, .hero__tags, .services, .hero__art, .hero__art-mobile { animation: none; }
}

/* Topic-page on-load entrances (mirror TopicPage.tsx framer initial→animate). */
@keyframes cn-up30   { from { opacity: 0; transform: translateY(30px); }  to { opacity: 1; transform: none; } }
@keyframes cn-inleft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes cn-down10 { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.topic-back           { animation: cn-inleft 0.4s var(--easing) both; }
.explore-more         { animation: cn-down10 0.5s var(--easing) 0.2s both; }
.topic-hero__title,
.topic-hero__subtitle { animation: cn-up30 0.7s var(--easing) both; }
.topic-quote          { animation: cn-fade 0.8s var(--easing) 0.3s both; }

@media (prefers-reduced-motion: reduce) {
  .topic-back, .explore-more, .topic-hero__title, .topic-hero__subtitle, .topic-quote { animation: none; }
}

/* =============================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 48px 16px 32px var(--gutter);
  overflow: visible;
  min-height: 750px;
}
.hero__spacer { height: 40px; margin-bottom: 64px; }

.hero__title {
  font-weight: 900;
  font-size: clamp(60px, 10vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 10;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}
.tag {
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1px solid var(--gray-300);
  font-size: 14px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

/* Domain / services switcher */
.services {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 10;
}
.services__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-weight: 500;
  margin-left: -1px;
}
.services__cards {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  min-width: 200px;
  text-align: left;
  transition: transform 0.5s var(--easing), border-color 0.5s ease,
    box-shadow 0.5s ease;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(251, 146, 60, 0.5);
  box-shadow: 0 8px 30px -8px rgba(234, 88, 12, 0.2);
}
.service-card:active { transform: scale(0.98); }
.service-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card:hover .service-card__accent { opacity: 1; }
.service-card--de .service-card__accent {
  background: linear-gradient(90deg, #000, #dc2626, #eab308);
}
.service-card--in .service-card__accent {
  background: linear-gradient(90deg, #f97316, #fff, #16a34a);
}
.service-card__row { position: relative; display: flex; align-items: center; gap: 12px; }
.service-card__flag { border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.service-card__kicker {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 500;
  transition: color 0.3s ease;
}
.service-card__name {
  font-size: 14px;
  color: var(--gray-800);
  font-weight: 600;
  transition: color 0.3s ease;
}
.service-card:hover .service-card__kicker { color: var(--orange-500); }
.service-card:hover .service-card__name { color: var(--orange-700); }

/* Maintenance notice */
.maintenance {
  display: none;
  align-items: flex-start;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid var(--orange-200);
  background: rgba(255, 247, 237, 0.8);
  backdrop-filter: blur(4px);
  padding: 16px 20px;
  max-width: 420px;
}
.maintenance.is-open { display: flex; animation: notice-in 0.35s var(--easing); }
@keyframes notice-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.maintenance__icon { margin-top: 2px; flex-shrink: 0; color: var(--orange-700); width: 16px; height: 16px; }
.maintenance__title { font-size: 13px; color: var(--orange-900); font-weight: 600; }
.maintenance__text { font-size: 12px; line-height: 1.6; color: rgba(154, 52, 18, 0.8); }
.maintenance__close {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-700);
  font-weight: 600;
  transition: color 0.2s ease;
}
.maintenance__close:hover { color: var(--orange-900); }
.maintenance [lang] { display: none; }

/* Hero flight-path artwork */
.hero__art { display: none; }             /* desktop only, shown ≥1024px */
.hero__art-mobile {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.bridge { width: 220px; height: 220px; }

/* Desktop hero artwork gently floats (drift + slight rotate), as in the original. */
.hero__bridge-float { animation: cn-float 7s ease-in-out infinite; }
@keyframes cn-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50%      { translate: 8px -10px; rotate: 3deg; }
}
@media (prefers-reduced-motion: reduce) { .hero__bridge-float { animation: none; } }

/* =============================================================================
   6. CONSTELLATION (topics)
   ========================================================================== */
.constellation {
  position: relative;
  padding: 8px 16px 64px;
  display: flex;
  justify-content: center;
}
.constellation__stage {
  display: none;                 /* desktop constellation, shown ≥768px */
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  height: min(72vh, 680px);
}
.constellation__svg {
  position: absolute; inset: 0; z-index: 0; overflow: visible;
  opacity: 0;                                   /* hidden until scrolled into view */
  transition: opacity 0.7s var(--easing);
}
.constellation__svg.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .constellation__svg { opacity: 1; } }

.node {
  position: absolute;
  z-index: 10;
  user-select: none;
  cursor: pointer;
}
.node__inner {
  display: inline-block;          /* inline-block so scale() actually applies */
  opacity: 0.6;
  transform-origin: left center;
  transition: all 0.45s var(--easing);
}
.node[data-anchor="center"] .node__inner { transform-origin: center; }
.node__label {
  display: block;
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: pre-line;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
}
.node__rule {
  display: block;                 /* block so width/height take effect */
  margin-top: 8px;
  height: 2px;
  border-radius: 9999px;
  width: 0;
  background: var(--ink);
  opacity: 0.5;
  transition: width 0.5s var(--easing);
}
.node__cue {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.4s var(--easing);
  pointer-events: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.node.is-active .node__inner,
.node.is-linked .node__inner { opacity: 1; }
.node.is-active .node__inner { transform: scale(1.05); }
.node.is-active .node__rule { width: 60%; }
.node.is-active .node__cue { opacity: 0.5; transform: none; }
.node.is-faded .node__inner { opacity: 0.1; }

/* Lotus emblem near the centre. NB: it is positioned by its top-left corner at
   32%/20% (not centred on that point) — this matches the original exactly, where
   framer-motion's transform dropped the design's translate(-50%,-50%). */
.lotus-anchor {
  position: absolute;
  z-index: 10;
  user-select: none;
  cursor: pointer;
}
.lotus-anchor__inner { opacity: 0.9; transition: opacity 0.45s var(--easing); }
.constellation__stage.is-dimmed .lotus-anchor__inner { opacity: 0.4; }
.constellation__stage .lotus-anchor.is-active .lotus-anchor__inner { opacity: 1; }

/* Mobile topic list (<768px) */
.topic-list { width: 100%; }
.topic-list__eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 600;
  margin: 0 0 16px 4px;
}
.topic-list__items {
  border-radius: 16px;
  border: 1px solid var(--neutral-100);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}
.topic-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--neutral-100);
  transition: background 0.2s ease;
}
.topic-list__item:last-child { border-bottom: 0; }
.topic-list__item:active { background: var(--neutral-50); }
.topic-list__flag { flex-shrink: 0; }
.topic-list__pennant { transition: opacity 0.3s ease; opacity: 0.75; }
.topic-list__item:hover .topic-list__pennant { opacity: 1; }
.topic-list__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.topic-list__arrow { margin-left: auto; flex-shrink: 0; color: var(--neutral-300); transition: color 0.2s ease; }
.topic-list__item:hover .topic-list__arrow { color: var(--orange-500); }

/* =============================================================================
   7. CONTACT
   ========================================================================== */
.contact {
  margin: -144px 16px 32px var(--gutter);
  border-radius: 28px;
  overflow: hidden;
  background: var(--orange);
}
.contact__grid { display: flex; align-items: center; }
.contact__portrait-wrap {
  flex-shrink: 0;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__portrait-ring { position: relative; }
.contact__portrait-ring::before,
.contact__portrait-ring::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
}
.contact__portrait-ring::before { inset: -12px; border: 2px solid rgba(255,255,255,0.2); }
.contact__portrait-ring::after { inset: -24px; border: 1px dashed rgba(255,255,255,0.1); }
.contact__portrait {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.3), 0 25px 50px -12px rgba(0,0,0,0.25);
}
.contact__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 0%; }

.contact__about { flex: 1; padding: 40px 40px 40px 0; }
.contact__about-eyebrow {
  color: var(--orange-200);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.contact__about-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.85;
  max-width: 460px;
  text-wrap: balance;
}

.contact__connect {
  flex-shrink: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__connect h2 {
  color: #fff;
  font-size: 40px;
  letter-spacing: -0.02em;
  text-align: center;
  font-weight: 800;
}
.contact__connect h2 span { color: var(--orange-200); }
.contact__socials { display: flex; gap: 12px; margin-top: 20px; }
.social {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}
.social:hover { background: #fff; color: var(--orange); transform: scale(1.1); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.contact__hello {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 600;
  transition: all 0.3s ease;
}
.contact__hello:hover { background: #fff; color: var(--orange); transform: scale(1.05); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* =============================================================================
   8. TOPIC PAGE
   ========================================================================== */
.topic { position: relative; min-height: 100vh; }

.topic-back {
  position: fixed;
  top: 24px;
  right: var(--gutter);
  z-index: 30;
}
.topic-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
}
.topic-back a:hover { background: var(--gray-900); color: #fff; border-color: var(--gray-900); }

/* Explore-more nav (desktop, top-right) */
.explore-more {
  position: absolute;
  right: var(--gutter);
  top: 86px;
  z-index: 20;
}
.explore-more__title {
  margin-bottom: 16px;
  text-align: right;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  font-weight: 600;
}
.explore-more__row { display: flex; align-items: flex-start; }
.explore-more__link {
  display: block;
  width: 150px;
  padding: 0 14px;
  border-left: 1px solid var(--gray-100);
}
.explore-more__link:first-child { padding-left: 0; border-left: 0; }
.explore-more__link:last-child { padding-right: 0; }
.explore-more__link .dot {
  margin-top: 7px;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 9999px;
  transition: transform 0.3s ease;
}
.explore-more__link:hover .dot { transform: scale(1.5); }
.explore-more__link .body { display: flex; align-items: flex-start; gap: 10px; }
.explore-more__link .ttl {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  opacity: 0.6;
}
.explore-more__link p { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--gray-400); transition: color 0.2s ease; }
.explore-more__link:hover p { color: var(--gray-600); }
.explore-more__link .read {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gray-300);
  font-weight: 500;
  transition: color 0.2s ease;
}
.explore-more__link:hover .read { color: var(--orange-500); }

/* Topic hero */
.topic-hero {
  padding: 112px 32px 80px var(--gutter);
}
.topic-hero__title {
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: pre-line;
  max-width: 900px;
  font-weight: 900;
}
.topic-hero__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-top: 24px;
  max-width: 600px;
  opacity: 0.5;
  font-weight: 400;
}

.topic-quote {
  padding: 0 32px 64px var(--gutter);
}
.topic-quote__inner { max-width: 800px; }
.topic-quote__rule { width: 64px; height: 2px; margin-bottom: 32px; opacity: 0.3; }
.topic-quote blockquote {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-style: italic;
  opacity: 0.8;
  font-weight: 300;
}

/* Topic body sections */
.topic-section { padding: 0 32px 96px var(--gutter); }
.topic-section__inner { max-width: 680px; }
.topic-section__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.topic-section__num { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-300); font-weight: 600; }
.topic-section__meta .line { height: 1px; flex: 1; background: var(--gray-100); }
.topic-section__heading {
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 24ch;
  text-wrap: balance;
  font-weight: 800;
  color: var(--ink);
}

.topic-description { padding: 0 32px 80px var(--gutter); }
.topic-description p {
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--gray-600);
  max-width: 60ch;
  text-wrap: pretty;
  white-space: pre-line;
}

/* Highlights (stat grid) */
.topic-highlights { padding: 0 32px 80px var(--gutter); }
.topic-highlights__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
}
.topic-highlights__value { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; font-weight: 900; }
.topic-highlights__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; color: var(--gray-400); font-weight: 500; }

/* Rich body (paragraphs, lists, subheads) */
.body-copy {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.002em;
  color: var(--gray-500);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.body-copy p { text-wrap: pretty; }
.body-copy h3 {
  padding-top: 4px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--gray-800);
  font-weight: 700;
}
.body-copy h3 + p,
.body-copy h3 + ul,
.body-copy h3 + ol { margin-top: -16px; }
.body-copy ul, .body-copy ol { display: flex; flex-direction: column; gap: 10px; padding-left: 2px; }
.body-copy li { display: flex; gap: 14px; line-height: 1.7; }
.body-copy ul li::before {
  content: "";
  margin-top: 11px;
  height: 5px;
  width: 5px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--orange);
}
.body-copy ol { counter-reset: item; }
.body-copy ol li { gap: 12px; }
.body-copy ol li::before {
  counter-increment: item;
  content: counter(item) ".";
  flex-shrink: 0;
  color: var(--orange);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Reach-out card row (connect page) */
.reachout { padding: 0 32px 96px var(--gutter); }
.reachout__inner { max-width: 680px; }
.reachout__title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 32px; font-weight: 600; }
.reachout__row { display: flex; gap: 16px; flex-wrap: wrap; }
.reachout__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.reachout__card:hover { border-color: var(--orange-300); background: rgba(255, 247, 237, 0.5); }
.reachout__card .lbl { font-size: 15px; color: var(--gray-600); font-weight: 500; }
.reachout__card:hover .lbl { color: var(--gray-900); }
.reachout__card .ic { color: var(--gray-400); transition: color 0.2s ease; }
.reachout__card:hover .ic { color: var(--orange-700); }
.reachout__card .arrow { color: var(--gray-300); transition: color 0.2s ease; }
.reachout__card:hover .arrow { color: var(--orange-500); }

.topic-foot { padding-bottom: 96px; }

/* =============================================================================
   9. MOMENTS RAIL (two-column: copy + sticky photo strip / portrait)
   ========================================================================== */
.rail {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 0 32px 0 var(--gutter);
}
.rail__text { min-width: 0; max-width: 560px; flex: 1; }
/* the sections inside the rail drop their own gutters so columns align */
.rail__text .topic-section,
.rail__text .topic-description,
.rail__text .topic-highlights { padding-left: 0; padding-right: 0; }

.rail__media { margin-left: auto; margin-right: -32px; width: 1000px; flex-shrink: 0; align-self: stretch; }
.rail__sticky { position: sticky; top: 110px; }

/* Sticky single portrait variant */
.rail__portrait-col { flex: 1; align-self: stretch; }
.rail__portrait-sticky { position: sticky; top: 110px; display: flex; justify-content: center; }
.portrait-card { position: relative; width: 380px; max-width: 100%; }
.portrait-card__frame {
  pointer-events: none;
  position: absolute;
  inset: 16px -16px -16px 16px;
  border-radius: 24px;
  border: 1px solid rgba(253, 186, 116, 0.7);
}
.portrait-card__photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.25);
}
.portrait-card__photo img { width: 100%; height: auto; object-fit: cover; }
.portrait-card__corner {
  pointer-events: none;
  position: absolute;
  height: 32px;
  width: 32px;
}
.portrait-card__corner--tl { top: -8px; left: -8px; border-top: 2px solid var(--orange-500); border-left: 2px solid var(--orange-500); border-top-left-radius: 16px; }
.portrait-card__corner--br { bottom: -8px; right: -8px; border-bottom: 2px solid var(--orange-500); border-right: 2px solid var(--orange-500); border-bottom-right-radius: 16px; }
.portrait-card__name { margin-top: 24px; text-align: center; }
.portrait-card__name .n { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--neutral-900); }
.portrait-card__name .r { margin-top: 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-500); }

/* Marquee */
.moments { position: relative; }
.moments__head { margin-bottom: 16px; margin-top: -4px; }
.moments__eyebrow { margin-bottom: 12px; color: var(--orange-500); font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.moments__title { line-height: 0.95; letter-spacing: -0.03em; font-size: 30px; font-weight: 900; color: var(--ink); }
.moments__blurb { margin-top: 8px; max-width: 300px; color: var(--neutral-500); font-size: 13px; line-height: 1.7; }
.moments__viewport { position: relative; overflow: hidden; }
.moments__track {
  display: flex;
  width: max-content;
  animation: moments-scroll 28s linear infinite;
  will-change: transform;
}
.moments__viewport:hover .moments__track { animation-play-state: paused; }
@keyframes moments-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.moment-card {
  position: relative;
  margin-right: 20px;
  width: 340px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--neutral-100);
}
.moment-card--contain { background: var(--neutral-900); }
.moment-card img { height: 260px; width: 100%; object-fit: cover; transition: transform 0.9s ease-out; }
.moment-card--contain img { object-fit: contain; }
.moment-card:hover img { transform: scale(1.05); }
.moment-card__scrim {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0) 45%);
}
.moment-card__cap { pointer-events: none; position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.moment-card__cap .t { display: block; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.moment-card__cap .p { display: block; margin-top: 4px; color: rgba(255,255,255,0.7); font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

/* =============================================================================
   10. LOTUS emblem
   ========================================================================== */
.lotus { display: block; }
.lotus svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transform-origin: 50% 80%;
  animation: lotus-breathe 5.5s ease-in-out infinite;
}
@keyframes lotus-breathe {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50%      { transform: translateY(-6px) scale(1.03) rotate(-1deg); }
}
.lotus .petal-l { animation: lotus-sway-l 6s ease-in-out infinite; }
.lotus .petal-r { animation: lotus-sway-r 6s ease-in-out infinite; }
@keyframes lotus-sway-l { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-2.5deg); } }
@keyframes lotus-sway-r { 0%,100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
.lotus .petal-l, .lotus .petal-r { transform-origin: 50% 80%; }

/* =============================================================================
   11. Responsive
   ========================================================================== */

/* ≥768px (md): show desktop constellation, hide mobile list */
@media (min-width: 768px) {
  .constellation__stage { display: block; }
  .topic-list { display: none; }
  .constellation { padding-top: 8px; }
}
@media (max-width: 767.98px) {
  .constellation { padding: 40px 20px 64px; }
  .rail { flex-direction: column-reverse; gap: 40px; }
  .rail__media { margin-right: 0; width: 100%; align-self: auto; }
  .rail__sticky, .rail__portrait-sticky { position: static; }
  .rail__portrait-col { align-self: auto; }
  .portrait-card { width: 100%; }
}

/* ≥1024px (lg): desktop hero artwork appears, mobile art hidden */
@media (min-width: 1024px) {
  .hero__art { display: block; }
  .hero__art-mobile { display: none; }
  .explore-more { display: block; }
}
@media (max-width: 1023.98px) {
  .explore-more { display: none; }
  .contact__grid { flex-direction: column; }
  .contact__portrait-wrap { padding-top: 48px; }
  .contact__about { padding: 16px 40px; text-align: center; }
  .contact__about-text { max-width: none; }
  .contact__connect { padding-bottom: 48px; }
}

/* xl tuning for rail media + explore links */
@media (max-width: 1279.98px) {
  .rail__media { width: 780px; }
  .explore-more__link { width: 128px; }
  .portrait-card { width: 340px; }
}
@media (max-width: 1023.98px) {
  .rail__media { width: 580px; }
  .portrait-card { width: 300px; }
}

/* ≤640px (sm): tighter gutters everywhere */
@media (max-width: 639.98px) {
  :root { --gutter: 24px; }
  .brand { left: 24px; }
  .hero { padding: 48px 12px 32px 24px; }
  .contact { margin: -8px 12px 32px 24px; }
  .contact__portrait { width: 140px; height: 140px; }
  .contact__portrait-wrap { padding: 24px; }
  .contact__about { padding: 16px 24px; }
  .contact__connect { padding: 24px; }
  .contact__connect h2 { font-size: 30px; }
  .topic-hero { padding: 80px 16px 48px 24px; }
  .topic-quote { padding: 0 16px 64px 24px; }
  .topic-section { padding: 0 16px 64px 24px; }
  .topic-description, .topic-highlights { padding-left: 24px; padding-right: 16px; }
  .rail { padding: 0 16px 0 24px; }
  .topic-back { right: 16px; }
  .moment-card { width: 280px; }
  .moment-card img { height: 200px; }
}

/* Larger stat grid on ≥640px */
@media (min-width: 640px) {
  .topic-highlights__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Hero flight-path plane — exact keyframe choreography from the original
   (22 points over 9s, then a 1.5s gap before repeating). */
.bridge-plane {
  transform-origin: 0 0;
  opacity: 0;
  animation: plane-fly 10.5s linear 2s infinite;
}
@keyframes plane-fly {
  0.000% { transform: translate(30px, 160px) rotate(-57deg); opacity: 0; }
  4.082% { transform: translate(48px, 132px) rotate(-48deg); opacity: 1; }
  8.163% { transform: translate(66px, 112px) rotate(-38deg); opacity: 1; }
  12.245% { transform: translate(84px, 98px) rotate(-24deg); opacity: 1; }
  16.327% { transform: translate(102px, 90px) rotate(-10deg); opacity: 1; }
  20.408% { transform: translate(120px, 88px) rotate(0deg); opacity: 1; }
  24.490% { transform: translate(138px, 90px) rotate(10deg); opacity: 1; }
  28.571% { transform: translate(156px, 98px) rotate(24deg); opacity: 1; }
  32.653% { transform: translate(174px, 112px) rotate(38deg); opacity: 1; }
  36.735% { transform: translate(192px, 132px) rotate(48deg); opacity: 1; }
  40.816% { transform: translate(210px, 160px) rotate(57deg); opacity: 0.3; }
  44.898% { transform: translate(210px, 160px) rotate(237deg); opacity: 0.3; }
  48.980% { transform: translate(192px, 132px) rotate(228deg); opacity: 1; }
  53.061% { transform: translate(174px, 112px) rotate(218deg); opacity: 1; }
  57.143% { transform: translate(156px, 98px) rotate(204deg); opacity: 1; }
  61.224% { transform: translate(138px, 90px) rotate(186deg); opacity: 1; }
  65.306% { transform: translate(120px, 88px) rotate(174deg); opacity: 1; }
  69.388% { transform: translate(102px, 90px) rotate(156deg); opacity: 1; }
  73.469% { transform: translate(84px, 98px) rotate(142deg); opacity: 1; }
  77.551% { transform: translate(66px, 112px) rotate(132deg); opacity: 1; }
  81.633% { transform: translate(48px, 132px) rotate(123deg); opacity: 1; }
  85.714% { transform: translate(30px, 160px) rotate(123deg); opacity: 0; }
  100% { transform: translate(30px, 160px) rotate(123deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .bridge-plane { animation: none; opacity: 0; } }
