@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&family=Gowun+Batang:wght@400;700&display=swap");

/* =========================================================
   RuKoVisa — Grounded Refresh (v4)
   Warm stone · navy primary · masculine · professional
   ========================================================= */

:root {
  /* Grounded warm-stone palette with navy primary */
  --bg: #f5f1ea;              /* warm stone */
  --bg-soft: #ece7dc;
  --bg-mint: #e6efe9;         /* muted sage wash */
  --bg-sky: #e6ecf2;          /* muted slate wash */
  --surface: #ffffff;
  --surface-soft: #faf7f0;
  --ink: #1c2333;             /* deep navy charcoal */
  --ink-soft: #5a6273;
  --line: #e0d9c9;
  --line-dark: rgba(28, 35, 51, 0.12);
  --accent: #2f5275;          /* business navy */
  --accent-strong: #1f3a57;
  --accent-soft: #d6dee6;
  --accent-mint: #5fa48d;     /* muted sage */
  --accent-yellow: #d4b85b;   /* muted gold */
  --accent-lilac: #9b8fb5;    /* muted lavender */
  --accent-sky: #7ba1c2;      /* muted slate-blue */
  --accent-clay: #b8755b;     /* terracotta — secondary warm */
  --primary: #2f5275;
  --danger: #c0594a;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --radius-pill: 999px;
  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --shadow-sm: 0 6px 18px rgba(28, 35, 51, 0.10);
  --shadow-md: 0 18px 44px rgba(28, 35, 51, 0.10);
  --shadow-lg: 0 28px 70px rgba(28, 35, 51, 0.14);
  --shadow-pop: 0 10px 0 rgba(28, 35, 51, 0.08);
  --font-display: "Fraunces", "Gowun Batang", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", serif;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Inter", system-ui, sans-serif;
  --font-settings-display: "opsz" 36;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 700px at 85% -10%, #e6dccc 0%, transparent 55%),
    radial-gradient(900px 600px at -10% 20%, #e2f4ec 0%, transparent 55%),
    radial-gradient(800px 500px at 50% 110%, #fff1c9 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}
em, .italic {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 14px; top: 12px;
  z-index: 250;
  translate: 0 -150%;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #0f1730;
  color: #fff;
  font-weight: 500;
}
.skip-link:focus { translate: 0; }

/* -------------- Header -------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(250, 247, 240, 0.72);
  border-bottom: 1px solid rgba(34, 34, 59, 0.06);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: var(--ink);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
body.is-scrolled .site-header {
  background: rgba(250, 247, 240, 0.94);
  box-shadow: 0 6px 20px rgba(34, 34, 59, 0.06);
}
body.theme-light .site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(34, 34, 59, 0.06);
  color: var(--ink);
}

.header-inner {
  width: min(calc(100% - 32px), 1320px);
  margin-inline: auto;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(28, 35, 51, 0.35);
}
body.theme-light .brand-mark {
  color: #fff;
}
.brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}
.brand small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 500;
  opacity: .65;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  min-width: max-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .4px;
  color: inherit;
  opacity: .78;
  transition: background .2s, opacity .2s;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] {
  opacity: 1;
  background: var(--accent-soft);
  color: var(--accent-strong);
  outline: none;
}
body.theme-light .nav a:hover,
body.theme-light .nav a:focus-visible,
body.theme-light .nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.member-link {
  width: 38px; height: 38px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-strong);
  background: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .8px;
  transition: transform .2s;
}
.member-link:hover { transform: translateY(-2px) rotate(-3deg); }
body.theme-light .member-link {
  color: var(--accent-strong);
}
.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(34, 34, 59, 0.12);
  border-radius: 999px;
  background: #fff;
}
body.theme-light .language-switch {
  border-color: rgba(34, 34, 59, 0.12);
  background: #fff;
}
.language-switch button {
  min-width: 32px;
  min-height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  opacity: .8;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .6px;
  transition: all .2s;
}
.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}

/* -------------- Hero (video/image cinematic) -------------- */
.cinema-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.cinema-hero video,
.cinema-hero .hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-still {
  background: center / cover no-repeat;
  animation: slowZoom 18s ease-out infinite alternate;
}
.cinema-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(245, 241, 234,.45) 0%, rgba(245, 241, 234,.2) 35%, rgba(245, 241, 234,.55) 72%, rgba(245, 241, 234,1) 100%),
    linear-gradient(100deg, rgba(245, 241, 234,.55) 0%, rgba(245, 241, 234,0) 55%);
}
/* floating pastel bubbles for playful feel */
.cinema-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at 12% 25%, rgba(220, 208, 188, 0.55), transparent 65%),
    radial-gradient(180px 180px at 88% 18%, rgba(142, 199, 255, 0.45), transparent 65%),
    radial-gradient(260px 260px at 78% 85%, rgba(110, 214, 191, 0.35), transparent 65%),
    radial-gradient(160px 160px at 22% 82%, rgba(255, 216, 77, 0.4), transparent 65%);
  animation: floatBubbles 16s ease-in-out infinite alternate;
}
@keyframes floatBubbles {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-18px, 12px, 0) scale(1.05); }
}
.hero-content {
  width: 100%;
  padding: 120px 0 56px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 16px 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2px;
  box-shadow: 0 4px 14px rgba(28, 35, 51, 0.18);
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(28, 35, 51, 0.22);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(28, 35, 51, 0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(28, 35, 51, 0.06); }
}
.cinema-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 400;
  font-size: clamp(42px, 8.5vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  word-break: keep-all;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(255, 255, 255, 0.6);
}
.cinema-hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-strong);
  display: inline-block;
  position: relative;
}
.cinema-hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.04em;
  height: 0.18em;
  background: var(--accent-yellow);
  border-radius: 999px;
  z-index: -1;
  opacity: 0.85;
}
.hero-tagline {
  max-width: 36ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-footer {
  margin-top: 40px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .3px;
  box-shadow: var(--shadow-sm);
}
.hero-footer span strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
  display: none;
}
.scroll-hint::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0));
  animation: scrollLine 2.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* -------------- Buttons -------------- */
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  transition: background .22s var(--ease-bounce), color .22s var(--ease), transform .22s var(--ease-bounce), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.button:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 0 rgba(31, 58, 87, 0.22), 0 14px 28px rgba(28, 35, 51, 0.3);
}
.button-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-3px) rotate(-0.5deg);
  box-shadow: 0 14px 0 rgba(31, 58, 87, 0.22), 0 18px 34px rgba(31, 58, 87, 0.38);
}
.button-primary:active { transform: translateY(1px); box-shadow: 0 4px 0 rgba(31, 58, 87, 0.22); }
.button-ghost {
  background: rgba(255,255,255,.92);
  border-color: transparent;
  color: var(--ink);
}
.button-ghost:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 34, 59, 0.12);
}
.button-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-strong);
}
.button-outline:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.button-link {
  min-height: 0;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-strong);
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.button-link:hover { color: var(--accent); }

/* -------------- Scrollytelling reels (full-bleed media sections) -------------- */
.reel {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.reel .reel-media,
.reel .reel-media picture,
.reel .reel-media img,
.reel .reel-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.reel .reel-media img { animation: slowZoom 22s ease-out infinite alternate; }
.reel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(245, 241, 234,0) 40%, rgba(245, 241, 234,.35) 72%, rgba(245, 241, 234,1) 100%),
    linear-gradient(90deg, rgba(245, 241, 234,.35) 0%, rgba(245, 241, 234,0) 50%);
}
.reel .reel-body {
  width: 100%;
  padding: 18svh 0 60px;
}
.reel-card {
  display: inline-block;
  max-width: 560px;
  padding: 28px 30px 30px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-md);
}
.reel-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--accent-strong);
  text-transform: uppercase;
}
.reel-index::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.reel h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 400;
  font-size: clamp(32px, 5.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  word-break: keep-all;
  color: var(--ink);
}
.reel h2 em {
  font-style: italic;
  color: var(--accent-strong);
  font-weight: 500;
}
.reel p {
  max-width: 38ch;
  margin: 14px 0 22px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}
.reel-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* -------------- Table-of-contents sticky quick nav -------------- */
.toc-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  z-index: 80;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(34, 34, 59, 0.12);
}
.toc-rail a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  color: var(--ink-soft);
  transition: all .2s;
}
.toc-rail a:hover,
.toc-rail a.is-active {
  color: #fff;
  background: var(--accent);
}

/* -------------- Chapter index (menu of topics) -------------- */
.chapter-index {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% 0%, rgba(220, 208, 188, 0.7), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(110, 214, 191, 0.32), transparent 60%),
    radial-gradient(700px 400px at 50% 50%, rgba(201, 182, 255, 0.18), transparent 60%),
    var(--bg);
  color: var(--ink);
  padding: clamp(70px, 10vw, 130px) 0;
  overflow: hidden;
}
.chapter-index::before {
  content: "";
  position: absolute;
  top: 10%; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-yellow), transparent 70%);
  opacity: 0.6;
  filter: blur(8px);
  pointer-events: none;
}
.chapter-index::after {
  content: "";
  position: absolute;
  bottom: 8%; left: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--accent-sky), transparent 70%);
  opacity: 0.45;
  filter: blur(10px);
  pointer-events: none;
}
.chapter-index header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.chapter-index h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.chapter-index h2 em { font-style: italic; color: var(--accent-strong); font-weight: 400; }
.chapter-index .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chapter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.chapter-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  color: var(--ink);
  background: var(--surface);
  isolation: isolate;
  box-shadow: 0 10px 30px rgba(43, 43, 69, 0.06);
  transition: transform .35s var(--ease-bounce), border-color .3s, box-shadow .3s;
}
.chapter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center / cover no-repeat;
  transition: transform .6s var(--ease);
}
.chapter-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(245, 241, 234,0) 35%, rgba(245, 241, 234,.6) 65%, rgba(245, 241, 234,.98) 100%);
}
.chapter-card:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  border-color: var(--accent);
  box-shadow: 0 24px 50px rgba(28, 35, 51, 0.22);
}
.chapter-card:hover::before { transform: scale(1.06); }
.chapter-card .chapter-num {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(28, 35, 51, 0.3);
}
.chapter-card h3 {
  margin: 12px 0 6px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.chapter-card p {
  margin: 0 0 16px;
  max-width: 30ch;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.chapter-card .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #fff;
  text-transform: none;
  transition: background .2s, transform .2s;
}
.chapter-card:hover .go { background: var(--accent-strong); transform: translateY(-1px); }
.chapter-card .go::after {
  content: "→";
  transition: transform .3s;
}
.chapter-card:hover .go::after { transform: translateX(6px); }

.chapter-card--visa::before     { background-image: url("./assets/casual-visa.jpg"); }
.chapter-card--ops::before      { background-image: url("./assets/casual-operations.jpg"); }
.chapter-card--property::before { background-image: url("./assets/casual-property.jpg"); }
.chapter-card--medical::before  { background-image: url("./assets/casual-advisor.jpg"); }
.chapter-card--culture::before  { background-image: url("./assets/casual-culture.jpg"); }
.chapter-card--shopping::before { background-image: url("./assets/casual-culture.jpg"); }
.chapter-card--about::before    { background-image: url("./assets/casual-hero-seoul.jpg"); }
.chapter-card--ceo::before      { background-image: url("./assets/casual-advisor.jpg"); }

/* -------------- Reel media variants -------------- */
.reel--visa    .reel-media { background: url("./assets/casual-visa.jpg") center / cover no-repeat; }
.reel--ops     .reel-media { background: url("./assets/casual-operations.jpg") center / cover no-repeat; }
.reel--property .reel-media { background: url("./assets/casual-property.jpg") center / cover no-repeat; }
.reel--medical .reel-media { background: url("./assets/casual-advisor.jpg") center / cover no-repeat; }
.reel--culture .reel-media { background: url("./assets/casual-culture.jpg") center / cover no-repeat; }
.reel--shopping .reel-media { background: url("./assets/casual-culture.jpg") center / cover no-repeat; }

@media (max-width: 680px) {
  .reel--visa    .reel-media { background-image: url("./assets/casual-visa-mobile.jpg"); }
  .reel--ops     .reel-media { background-image: url("./assets/casual-operations-mobile.jpg"); }
  .reel--property .reel-media { background-image: url("./assets/casual-property-mobile.jpg"); }
  .reel--medical .reel-media { background-image: url("./assets/casual-advisor-mobile.jpg"); }
  .reel--culture .reel-media { background-image: url("./assets/casual-culture-mobile.jpg"); }
  .reel--shopping .reel-media { background-image: url("./assets/casual-culture-mobile.jpg"); }
}

/* -------------- Sub-page hero (topic pages) -------------- */
body.theme-light { background: var(--surface-soft); color: var(--ink); }
.sub-hero {
  position: relative;
  isolation: isolate;
  padding: 160px 0 90px;
  color: var(--ink);
  overflow: hidden;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center / cover no-repeat;
  animation: slowZoom 20s ease-out infinite alternate;
  opacity: 0.85;
}
.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(245, 241, 234,.35) 0%, rgba(245, 241, 234,.55) 55%, rgba(245, 241, 234,1) 100%),
    linear-gradient(90deg, rgba(245, 241, 234,.55) 0%, rgba(245, 241, 234,0) 55%);
}
.sub-hero--visa::before     { background-image: url("./assets/casual-visa.jpg"); }
.sub-hero--ops::before      { background-image: url("./assets/casual-operations.jpg"); }
.sub-hero--property::before { background-image: url("./assets/casual-property.jpg"); }
.sub-hero--about::before    { background-image: url("./assets/casual-hero-seoul.jpg"); }
.sub-hero--ceo::before      { background-image: url("./assets/casual-advisor.jpg"); }
.sub-hero--member::before   { background-image: url("./assets/casual-operations.jpg"); }
.sub-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sub-hero .eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.sub-hero h1 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 400;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  word-break: keep-all;
  color: var(--ink);
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.6);
}
.sub-hero h1 em { font-style: italic; font-weight: 500; color: var(--accent-strong); }
.sub-hero .lede {
  max-width: 48ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 500;
}
.sub-hero .sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* -------------- Content sections (light pages) -------------- */
.section {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--surface-soft);
  color: var(--ink);
}
.section--white { background: var(--surface); }
.section--dark {
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(220, 208, 188, 0.35), transparent 60%),
    radial-gradient(700px 500px at 90% 100%, rgba(126, 208, 192, 0.25), transparent 60%),
    var(--bg);
  color: var(--ink);
}
.section-head { max-width: 820px; margin: 0 0 40px; }
.section-head .eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section--dark .section-head .eyebrow { background: var(--accent-soft); color: var(--accent-strong); }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  word-break: keep-all;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; font-weight: 400; color: var(--accent-strong); }
.section--dark .section-head h2 em { color: var(--accent-strong); }
.section--dark .section-head h2 { color: var(--ink); }
.section-head p {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.section--dark .section-head p { color: var(--ink-soft); }

/* -------------- Generic grids -------------- */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card {
  padding: 28px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.section--dark .card {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.card:hover {
  transform: translateY(-4px) rotate(-0.3deg);
  box-shadow: var(--shadow-lg);
}
.card .tag {
  display: inline-block;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section--dark .card .tag { background: var(--accent-soft); color: var(--accent-strong); }
.card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.section--dark .card p { color: var(--ink-soft); }
.card dl { margin: 14px 0; display: grid; gap: 6px; }
.card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.section--dark .card dl div { border-color: var(--line); }
.card dt { color: var(--ink-soft); font-weight: 500; }
.card dd { margin: 0; font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.card .button { width: 100%; margin-top: 8px; }

/* -------------- Facts strip (tiny metrics band) -------------- */
.facts-strip {
  background: var(--accent);
  color: #fff;
  padding: 36px 0;
}
.facts-strip .container {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.facts-strip .fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,.3);
}
.facts-strip .fact strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: #fff;
}
.facts-strip .fact span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

/* -------------- Contact & forms -------------- */
.contact-shell {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(220, 208, 188, 0.6), transparent 60%),
    radial-gradient(700px 500px at 95% 100%, rgba(255, 216, 77, 0.22), transparent 60%),
    var(--bg);
  color: var(--ink);
  padding: clamp(60px, 8vw, 110px) 0;
}
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
}
.contact-grid h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.contact-grid h2 em { font-style: italic; font-weight: 400; color: var(--accent-strong); }
.contact-grid .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-grid p { color: var(--ink-soft); max-width: 48ch; font-size: 15px; line-height: 1.65; }
.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.contact-bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.contact-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.form-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form-card label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.form-card input,
.form-card select,
.form-card textarea,
.ai-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font-size: 14px;
  letter-spacing: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-card .button { width: 100%; border: 0; }
.form-note { margin: 0; font-size: 12px; color: var(--ink-soft); }

/* -------------- Forms on light pages -------------- */
.form-card--light {
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.form-card--light label { color: var(--ink); }
.form-card--light input,
.form-card--light select,
.form-card--light textarea {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--ink);
}
.form-card--light input:focus,
.form-card--light select:focus,
.form-card--light textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-card--light .form-note { color: var(--ink-soft); }

/* -------------- FAQ -------------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.section--dark .faq-list details {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--accent-strong);
  font-size: 20px;
  line-height: 1;
  transition: transform .25s;
}
.section--dark .faq-list summary::after { color: var(--accent); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.section--dark .faq-list details p { color: var(--ink-soft); }

/* -------------- Testimonial reel (muted, editorial) -------------- */
.quotes-wrap { background: var(--surface); padding: clamp(60px, 8vw, 100px) 0; }
.quotes-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
}
.quotes-viewport::-webkit-scrollbar { display: none; }
.quotes-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 78vw);
  gap: 14px;
  padding: 4px 16px 4px 0;
}
.quote-card {
  scroll-snap-align: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}
.quote-card .tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--accent-strong);
  text-transform: uppercase;
}
.quote-card blockquote {
  margin: 14px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.quote-card cite {
  font-size: 12px;
  font-style: normal;
  color: var(--ink-soft);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* -------------- Footer -------------- */
.site-footer {
  background: #2b2b42;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 32px;
  border-top: 0;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}
.footer-brand p { margin: 6px 0 0; font-size: 13px; max-width: 38ch; }
.site-footer address { font-style: normal; display: grid; gap: 6px; font-size: 13px; }
.site-footer address a { color: var(--accent); font-weight: 500; }
.footer-offices p { margin: 0 0 8px; font-size: 13px; }
.footer-offices p strong { color: #fff; font-weight: 500; font-family: var(--font-display); display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; color: var(--accent); }
.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* -------------- AI widget -------------- */
.ai-float {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 120;
  width: 64px; height: 64px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 36px rgba(28, 35, 51, 0.4);
  transition: transform .2s;
}
.ai-float:hover { transform: translateY(-3px) scale(1.05); }
.ai-float span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
}
.ai-float small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.ai-panel {
  position: fixed;
  right: 14px;
  bottom: 96px;
  z-index: 121;
  width: min(calc(100vw - 28px), 380px);
  max-height: min(640px, calc(100svh - 120px));
  display: none;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 26px 54px rgba(34, 34, 59, 0.22);
}
.ai-panel.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border-bottom: 0;
}
.ai-head strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
}
.ai-head small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--accent-strong);
  font-weight: 400;
}
.ai-close {
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  color: var(--ink);
  font-size: 16px;
}
.ai-log {
  display: grid;
  gap: 10px;
  align-content: start;
  overflow: auto;
  padding: 18px;
  background: var(--surface-soft);
}
.ai-message {
  width: fit-content;
  max-width: 88%;
  padding: 12px 16px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.ai-message.user {
  justify-self: end;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}
.ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.ai-form .ai-input {
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
}
.ai-form .ai-input:focus { border-color: var(--accent); background: #fff; }
.ai-send {
  min-width: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  transition: background .2s, transform .2s;
}
.ai-send:hover { background: var(--accent-strong); transform: translateY(-1px); }

/* -------------- Member (mypage/auth) -------------- */
.member-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.member-card {
  padding: 28px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.member-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
}
.member-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.member-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.task-list { display: grid; gap: 10px; margin-top: 16px; }
.task-card {
  padding: 18px 20px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}
.task-card h4 {
  margin: 4px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
}
.task-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.task-card span {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  color: var(--accent-strong);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* -------------- Utilities -------------- */
.center-row { display: flex; justify-content: center; }
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* -------------- Responsive -------------- */
@media (min-width: 680px) {
  .nav { grid-column: auto; overflow: visible; }
  .chapter-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .facts-strip .container {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .facts-strip .fact {
    flex-direction: column;
    align-items: flex-start;
    border: 0;
    padding: 0;
  }
  .facts-strip .fact strong { font-size: 56px; margin-bottom: 4px; }
  .facts-strip .fact span { text-align: left; }
  .contact-grid, .member-layout, .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
    gap: 40px;
  }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .scroll-hint { display: block; }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }
  .nav { justify-content: center; }
}

@media (min-width: 960px) {
  .chapter-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .grid-cards--4 { grid-template-columns: repeat(4, 1fr); }
  .toc-rail { display: inline-flex; }
  .member-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr); }
}

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

/* =========================================================
   v4 — RuKoVisa Rolling Hero + Benefits + Videos + Stories
   Mobile-first casual redesign
   ========================================================= */

/* ---- Brand mark (SVG logo replaces letter P) ---- */
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  border-radius: 50%;
  overflow: visible;
  box-shadow: none;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.brand-text small { font-size: 10.5px; color: var(--ink-soft); margin-top: 2px; }
body.theme-light .brand-text strong { color: var(--ink); }

/* ---- Mobile hamburger toggle ---- */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  width: 40px; height: 40px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-bounce), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h, 68px);
  left: 0; right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 22px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .35s var(--ease);
  box-shadow: 0 20px 40px rgba(43, 43, 69, 0.12);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: background .18s;
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible { background: var(--accent-soft); color: var(--accent-strong); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 899px) {
  .nav { display: none; }
  .header-actions .language-switch { display: none; }
}

/* ---- Rolling hero (multi-slide cross-fade) ---- */
.hero-rolling {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  color: var(--ink);
}
.hero-rolling-stage {
  position: absolute; inset: 0; z-index: -3;
}
.hero-rolling-stage .slide {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s var(--ease), transform 8s var(--ease);
}
.hero-rolling-stage .slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-rolling-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(245, 241, 234,.35) 0%, rgba(245, 241, 234,.55) 55%, rgba(245, 241, 234,.96) 100%),
    linear-gradient(90deg, rgba(245, 241, 234,.55) 0%, rgba(245, 241, 234,0) 55%);
}
.hero-rolling::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at 10% 20%, rgba(220, 208, 188, 0.55), transparent 65%),
    radial-gradient(200px 200px at 88% 22%, rgba(142, 199, 255, 0.4), transparent 65%),
    radial-gradient(260px 260px at 78% 85%, rgba(110, 214, 191, 0.35), transparent 65%),
    radial-gradient(160px 160px at 22% 82%, rgba(255, 216, 77, 0.4), transparent 65%);
  animation: floatBubbles 16s ease-in-out infinite alternate;
}

.hero-rolling-content {
  position: relative;
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}
.hero-rolling-content .hero-eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(28, 35, 51, 0.18);
}
.hero-rolling-content .hero-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(28, 35, 51, 0.2);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.hero-rolling h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 500;
  font-size: clamp(36px, 7.5vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.word-stack {
  position: relative;
  display: block;
  min-height: 1.1em;
  overflow: hidden;
}
.word-stack .word {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  position: absolute;
  top: 0; left: 0;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  color: var(--accent-strong);
  font-style: italic;
  white-space: nowrap;
}
.word-stack .word.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}
.hero-title-sub {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "opsz" 96;
}

.hero-rolling .hero-tagline {
  max-width: 44ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
}
.hero-rolling .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.slide-pager {
  display: flex; gap: 8px;
  margin-top: 34px;
}
.slide-pager button {
  width: 28px; height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(43, 43, 69, 0.18);
  transition: background .3s, width .3s var(--ease-bounce);
}
.slide-pager button.is-active {
  width: 44px;
  background: var(--accent);
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---- Impact strip ---- */
.impact-strip {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.impact-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.impact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
}
.impact-ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border-radius: 50%;
  font-size: 16px;
}
.impact-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
@media (min-width: 760px) {
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Section head (shared) ---- */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-head .eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.section-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--accent-strong); }
.section-head .section-lede {
  margin: 12px auto 0;
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

/* ---- Benefits grid (9 cards) ---- */
.benefits {
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(220, 208, 188, 0.45), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(110, 214, 191, 0.22), transparent 60%),
    var(--bg);
}
.benefit-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 20px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1.5px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(43, 43, 69, 0.06);
  color: var(--ink);
  transition: transform .3s var(--ease-bounce), box-shadow .3s, border-color .3s;
}
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.benefit-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  border-color: var(--accent);
  box-shadow: 0 22px 46px rgba(28, 35, 51, 0.2);
}
.benefit-card:hover::before { opacity: 1; }
.benefit-card .b-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(28, 35, 51, 0.3);
}
.benefit-card h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.benefit-card p {
  margin: 4px 0 10px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
}
.benefit-card .more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--accent-strong);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.benefit-card:hover .more { background: var(--accent); color: #fff; }

@media (min-width: 640px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- About preview ---- */
.about-preview {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--surface);
}
.about-preview-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-preview-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-preview-media img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; }
.floating-badge {
  position: absolute;
  right: -10px; bottom: -12px;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 30px rgba(43, 43, 69, 0.14);
  display: flex; flex-direction: column;
  text-align: right;
}
.floating-badge span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}
.floating-badge em {
  font-size: 11px;
  font-style: normal;
  color: var(--accent-strong);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-preview-body .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.about-preview-body .eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.about-preview-body h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.about-preview-body h2 em { font-style: italic; color: var(--accent-strong); }
.about-preview-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 18px;
}
.about-preview-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
}
.about-preview-list li {
  padding-left: 28px;
  position: relative;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
}
.about-preview-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-mint);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
@media (min-width: 880px) {
  .about-preview-grid { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}

/* ---- Video intro ---- */
.video-intro {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--bg);
}
.video-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.video-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(43, 43, 69, 0.06);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(43, 43, 69, 0.12);
}
.video-thumb {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.video-thumb:hover img { transform: scale(1.06); }
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.4) 100%);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: var(--accent-strong);
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform .25s var(--ease-bounce);
}
.video-thumb:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-dur {
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
}
.video-meta { padding: 18px 20px 22px; }
.video-meta .tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.video-meta h3 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}
.video-meta p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.video-more {
  width: min(calc(100% - 32px), var(--max));
  margin: 32px auto 0;
  text-align: center;
}
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Video modal ---- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  background: rgba(22, 22, 38, 0.88);
  backdrop-filter: blur(6px);
  padding: 20px;
  place-items: center;
}
.video-modal.is-open { display: grid; }
.video-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}
.video-modal-inner {
  width: min(100%, 880px);
  background: #0b0b14;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.video-modal-player { display: block; }
.video-modal-player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  background: #000;
}
.video-modal-title {
  margin: 0;
  padding: 14px 20px 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  background: #0b0b14;
}
/* Legacy placeholder (if still present elsewhere) */
.video-modal-placeholder {
  padding: 44px 32px;
  background: var(--surface);
  color: var(--ink);
}
.video-modal-placeholder h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
}
.video-modal-placeholder p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---- Asset teaser ---- */
.asset-teaser {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--surface);
}
.asset-teaser-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.asset-teaser-body .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-strong);
  font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.asset-teaser-body .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.asset-teaser-body h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.asset-teaser-body h2 em { font-style: italic; color: var(--accent-strong); }
.asset-teaser-body > p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 18px;
}
.asset-teaser-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 8px;
}
.asset-teaser-list li {
  padding-left: 28px; position: relative;
  font-size: 14.5px; font-weight: 400; color: var(--ink);
}
.asset-teaser-list li::before {
  content: "★";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-yellow); color: var(--ink);
  font-size: 10px;
}
.asset-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 18px;
}
.disclaimer-inline {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 216, 77, 0.2);
  border: 1px solid rgba(255, 216, 77, 0.45);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.disclaimer-inline::before {
  content: "⚠ ";
  font-weight: 900;
  color: #b8870a;
}
.asset-teaser-card {
  background: linear-gradient(160deg, var(--bg-soft), var(--surface));
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 14px 34px rgba(43, 43, 69, 0.08);
}
.card-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.card-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.card-row:last-of-type { border-bottom: 0; }
.card-row span { color: var(--ink-soft); font-size: 13px; font-weight: 500; }
.card-row strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14.5px;
  color: var(--ink);
}
.card-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (min-width: 880px) {
  .asset-teaser-grid { grid-template-columns: 1.2fr 1fr; gap: 60px; }
}

/* ---- Ops section ---- */
.ops-section {
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(201, 182, 255, 0.25), transparent 60%),
    radial-gradient(700px 500px at 90% 100%, rgba(110, 214, 191, 0.22), transparent 60%),
    var(--bg);
}
.ops-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ops-card {
  padding: 24px 22px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(43, 43, 69, 0.06);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.ops-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(43, 43, 69, 0.12);
}
.ops-icon {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 22px;
  margin-bottom: 14px;
}
.ops-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}
.ops-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
}
.ops-cta {
  width: min(calc(100% - 32px), var(--max));
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
@media (min-width: 640px) { .ops-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .ops-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Stories ---- */
.stories {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--surface);
}
.story-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.story-card {
  position: relative;
  padding: 28px 26px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
}
.story-card::before {
  content: "“";
  position: absolute;
  top: 8px; left: 20px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--accent-soft);
  z-index: 0;
}
.story-flag { font-size: 26px; display: inline-block; margin-bottom: 4px; }
.story-card blockquote {
  position: relative;
  z-index: 1;
  margin: 8px 0 18px;
  padding: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 500;
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}
.story-card footer { display: flex; flex-direction: column; gap: 2px; }
.story-card footer strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.story-card footer span {
  font-size: 12.5px;
  color: var(--ink-soft);
}
.stories-more { text-align: center; margin-top: 32px; width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
@media (min-width: 760px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Contact shell (if not already in file) ---- */
.contact-shell {
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(220, 208, 188, 0.55), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(142, 199, 255, 0.25), transparent 60%),
    var(--bg);
}
.contact-grid {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-strong);
  font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.contact-grid .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.contact-grid h2 {
  margin: 14px 0 14px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.contact-grid h2 em { font-style: italic; color: var(--accent-strong); }
.contact-grid > div > p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 18px; }
.contact-bullets {
  list-style: none; padding: 0; margin: 0 0 8px;
  display: grid; gap: 8px;
}
.contact-bullets li {
  padding-left: 28px; position: relative;
  font-size: 14px; font-weight: 400; color: var(--ink);
}
.contact-bullets li::before {
  content: "→";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 900;
}
.form-card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 14px;
}
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.form-card input,
.form-card select,
.form-card textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-body);
  transition: border-color .2s, background .2s;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.form-card textarea { resize: vertical; min-height: 90px; }
.form-card button { align-self: flex-start; margin-top: 4px; }
.form-note { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 440px; gap: 60px; }
}

/* ---- Footer legal ---- */
.site-footer .legal {
  width: min(calc(100% - 32px), var(--max));
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.site-footer .legal small { display: block; }

/* ---- Mobile hero tuning ---- */
@media (max-width: 560px) {
  .hero-rolling { padding: 100px 0 60px; min-height: 92svh; }
  .hero-rolling h1 { font-size: clamp(30px, 10vw, 46px); max-width: 100%; }
  .word-stack { min-height: 1.2em; }
  .hero-rolling .hero-tagline { font-size: 14.5px; }
  .hero-rolling-content .hero-eyebrow { font-size: 11px; padding: 6px 12px; }
  .slide-pager button { width: 22px; }
  .slide-pager button.is-active { width: 36px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(26px, 7.5vw, 34px); }
  .benefit-card, .ops-card, .video-card, .story-card { border-radius: var(--radius-lg); }
  .about-preview-grid, .asset-teaser-grid { gap: 28px; }
  .floating-badge { right: 10px; bottom: 10px; padding: 10px 14px; }
  .floating-badge span { font-size: 15px; }
}

/* Smooth scroll for anchor links */
html { scroll-padding-top: 84px; }

/* =========================================================
   ASSET TIERS — Standard / Premium / VIP / VVIP
   (high-contrast white cards on pastel section)
   ========================================================= */
.asset-tiers { padding-block: clamp(56px, 10vw, 120px); }
.asset-tiers .section-head p {
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 14px auto 0;
}
.tier-grid {
  display: grid;
  gap: 20px;
  width: min(calc(100% - 32px), var(--max));
  margin: 44px auto 0;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 680px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tier-grid { grid-template-columns: repeat(4, 1fr); } }

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1.5px solid #f1e4dc;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(43, 43, 69, 0.06);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 22px 44px rgba(28, 35, 51, 0.18);
}
.tier-card.is-feature {
  background: linear-gradient(165deg, #fff 0%, #fff8f3 60%, #ffe7dc 100%);
  border-color: var(--accent);
  box-shadow: 0 24px 48px rgba(28, 35, 51, 0.22);
  transform: translateY(-4px);
}

.tier-ribbon {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  width: fit-content;
}
.tier-card--standard .tier-ribbon { background: #2fb8a2; color: #fff; }
.tier-card--vip .tier-ribbon { background: #7a5af0; color: #fff; }
.tier-card--vvip .tier-ribbon { background: #e8a100; color: #fff; }

.tier-head h3 {
  font-family: var(--font-display, serif);
  font-size: 32px;
  font-weight: 500;
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tier-invest {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 6px;
  font-weight: 500;
}
.tier-return {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 4px;
  border-top: 1px dashed #ecd9cd;
}
.tier-return-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
}
.tier-return strong { font-size: 26px; font-weight: 600; color: var(--accent-strong); line-height: 1; }
.tier-card--standard .tier-return strong { color: #1f9d88; font-size: 18px; }
.tier-card--vip .tier-return strong { color: #6241d9; }
.tier-card--vvip .tier-return strong { color: #c98300; }

.tier-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.tier-highlights li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.tier-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: linear-gradient(135deg, #d6dee6 0%, #ffb39d 100%);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--accent);
}

.tier-more {
  margin-top: auto;
  border: 1.5px solid var(--accent);
  color: var(--accent-strong);
  background: #fff;
  font-weight: 500;
  min-height: 44px;
}
.tier-more:hover { background: var(--accent); color: #fff; }
.tier-card.is-open .tier-more { background: var(--accent); color: #fff; }

.tier-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s ease, opacity .32s ease, margin-top .3s ease;
  opacity: 0;
}
.tier-card.is-open .tier-detail {
  max-height: 640px;
  opacity: 1;
  margin-top: 6px;
}
.tier-detail ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.65;
  display: grid;
  gap: 8px;
}
.tier-detail ul li::marker { color: var(--accent); }

.tier-legend {
  width: min(calc(100% - 32px), var(--max));
  margin: 28px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
}
.tier-legend sup { color: var(--accent-strong); margin-right: 4px; font-weight: 500; }

/* =========================================================
   RISK DISCLOSURE CARD (light, high-contrast)
   ========================================================= */
.disclosure-card {
  width: min(calc(100% - 32px), 820px);
  margin: 36px auto 0;
  padding: 32px 30px;
  background: #fff;
  border: 1.5px solid #f1e4dc;
  border-left: 6px solid var(--accent);
  border-radius: 20px;
  color: var(--ink);
  box-shadow: 0 16px 32px rgba(43, 43, 69, 0.08);
}
.disclosure-card ol {
  padding-left: 24px;
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}
.disclosure-card ol li::marker { color: var(--accent); font-weight: 600; }

/* =========================================================
   ORGANIZATION CHART (About page)
   ========================================================= */
.org-chart {
  width: min(calc(100% - 32px), 960px);
  margin: 40px auto 0;
  display: grid;
  gap: 22px;
  justify-items: center;
}
.org-root {
  background: linear-gradient(140deg, var(--accent-soft), #fff);
  border-color: var(--accent);
  min-width: 240px;
}
.org-branch {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  width: 100%;
  position: relative;
}
@media (min-width: 720px) { .org-branch { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .org-branch { grid-template-columns: repeat(4, 1fr); } }

.org-node {
  appearance: none;
  border: 1.5px solid #ffe1d1;
  background: #fff;
  padding: 18px 16px;
  border-radius: 16px;
  display: grid;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  color: var(--ink, #22223b);
  font-family: inherit;
}
.org-node:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 30px rgba(28, 35, 51,0.18); }
.org-role { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-strong); }
.org-name { font-family: var(--font-display, serif); font-size: 18px; font-weight: 500; }
.org-contact { font-size: 12px; color: var(--ink-soft, #6b6b80); }

.org-note {
  width: min(calc(100% - 32px), 720px);
  margin: 20px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft, #6b6b80);
}

/* =========================================================
   Story card focus rotation
   ========================================================= */
.story-card.is-focus {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 22px 42px rgba(28, 35, 51,0.18);
}

/* =========================================================
   Team org chart (about.html)
   Founder + 4 color-coded category columns (admin/law/tax/customs)
   ========================================================= */
.team-org {
  margin-top: 36px;
  --c-admin: #b095ff;
  --c-admin-strong: #6f55c4;
  --c-law:   #6dc9ff;
  --c-law-strong:   #2f8fce;
  --c-tax:   #6ed6bf;
  --c-tax-strong:   #2fa285;
  --c-customs: #ffb0a4;
  --c-customs-strong: #d96a55;
}

.team-founder {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
}
.team-founder::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 2px; height: 28px;
  background: linear-gradient(180deg, var(--ink-soft), transparent);
  opacity: 0.45;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.team-card--founder {
  width: min(100%, 240px);
  padding: 22px 18px 20px;
  border-color: rgba(180, 122, 255, 0.35);
  box-shadow: 0 18px 36px rgba(176, 149, 255, 0.18);
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--ink-soft), var(--ink));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.65), 0 6px 14px rgba(43, 43, 69, 0.14);
}
.team-avatar--founder {
  width: 88px; height: 88px;
  font-size: 32px;
  background: linear-gradient(135deg, #f06292, #b95cd5);
}

.team-name {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.team-role {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
}

/* 4 color-coded columns */
.team-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  position: relative;
}
@media (min-width: 860px) {
  .team-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.team-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-top: 6px;
}
.team-cat-badge {
  align-self: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--cat-fill, var(--bg-soft));
  color: var(--cat-ink, var(--ink));
  box-shadow: 0 4px 12px var(--cat-shadow, rgba(43, 43, 69, 0.08));
  margin-bottom: 6px;
}

.team-col--admin   { --cat-fill: var(--c-admin);   --cat-ink: #fff; --cat-shadow: rgba(176, 149, 255, 0.34); }
.team-col--law     { --cat-fill: var(--c-law);     --cat-ink: #fff; --cat-shadow: rgba(109, 201, 255, 0.34); }
.team-col--tax     { --cat-fill: var(--c-tax);     --cat-ink: #fff; --cat-shadow: rgba(110, 214, 191, 0.34); }
.team-col--customs { --cat-fill: var(--c-customs); --cat-ink: #fff; --cat-shadow: rgba(255, 176, 164, 0.42); }

/* Top accent strip on each card based on column color */
.team-col--admin   .team-card { box-shadow: 0 -3px 0 0 var(--c-admin) inset, var(--shadow-sm); }
.team-col--law     .team-card { box-shadow: 0 -3px 0 0 var(--c-law) inset, var(--shadow-sm); }
.team-col--tax     .team-card { box-shadow: 0 -3px 0 0 var(--c-tax) inset, var(--shadow-sm); }
.team-col--customs .team-card { box-shadow: 0 -3px 0 0 var(--c-customs) inset, var(--shadow-sm); }

/* Avatar tint per column */
.team-col--admin   .team-avatar { background: linear-gradient(135deg, var(--c-admin),   var(--c-admin-strong)); }
.team-col--law     .team-avatar { background: linear-gradient(135deg, var(--c-law),     var(--c-law-strong)); }
.team-col--tax     .team-avatar { background: linear-gradient(135deg, var(--c-tax),     var(--c-tax-strong)); }
.team-col--customs .team-avatar { background: linear-gradient(135deg, var(--c-customs), var(--c-customs-strong)); }

/* Government credentials footer */
.team-credentials {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.team-cred {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.team-cred-mark {
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-size: 12px;
}
