/*
Theme Name: WeLive 2026
Theme URI: https://www.welive-inc.co.jp/
Author: WeLive Inc.
Description: 株式会社WeLive 公式サイト（blueprint editorial）テーマ。旧 welive-theme の刷新版。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: Proprietary
Text Domain: welive
*/

/* ==========================================================================
   株式会社WeLive — Awwwards-Grade Design System v4.0
   Style: Cinematic-Product × Editorial-Premium
   Colors: OKLCH — perceptually uniform, professional blue-cool palette
   Typography: Golden Ratio scale (φ = 1.618), Syne × Plus Jakarta Sans
   Motion: Jakub-primary (blur materialise, clip-path), Emil gate (a11y)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. @property declarations — enables smooth CSS custom property animation
   -------------------------------------------------------------------------- */
@property --accent-hue {
  syntax: '<number>';
  inherits: false;
  initial-value: 245;
}

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --font-serif: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'BIZ UDMincho', 'Noto Serif JP', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'BIZ UDMincho', 'Noto Serif JP', serif;
  --font-mono: ui-monospace, SFMono-Regular, SF Pro Mono, Menlo, Monaco, Consolas, monospace;
  /* ── Golden Ratio Spacing (φ = 1.618, base 8px) ── */
  --phi: 1.618;
  --space-2xs: 5px;
  --space-xs:  8px;
  --space-sm:  13px;
  --space-md:  21px;
  --space-lg:  34px;
  --space-xl:  55px;
  --space-2xl: 89px;
  --space-3xl: 144px;
  --space-4xl: 233px;

  /* ── Golden Ratio Typography Scale (base 1rem = 16px, ×φ each step) ── */
  --t-2xs:  0.472rem;  /* 7.6px  */
  --t-xs:   0.618rem;  /* 9.9px  */
  --t-sm:   0.764rem;  /* 12.2px */
  --t-base: 1rem;      /* 16px   */
  --t-md:   1.272rem;  /* 20.4px */
  --t-lg:   1.618rem;  /* 25.9px */
  --t-xl:   2.058rem;  /* 32.9px */
  --t-2xl:  2.618rem;  /* 41.9px */
  --t-3xl:  4.236rem;  /* 67.8px */
  --t-4xl:  5.854rem;  /* 93.7px */

  /* ── OKLCH Color Palette — cool blue-professional ── */
  /* Ink / Text */
  --ink:        oklch(0.13 0.04 255);    /* near-black navy */
  --ink-mid:    oklch(0.36 0.06 248);    /* mid navy */
  --ink-muted:  oklch(0.56 0.04 242);    /* muted slate */
  --ink-faint:  oklch(0.73 0.025 240);   /* very light label */

  /* Surfaces */
  --surface:       oklch(0.99 0.004 250);  /* cold white */
  --surface-tint:  oklch(0.96 0.010 248);  /* subtle blue-tinted panel */
  --surface-dark:  oklch(0.12 0.04 255);   /* dark navy for mission */
  --surface-mid:   oklch(0.18 0.045 250);  /* mid dark */

  /* Brand Accent */
  --accent:        oklch(0.61 0.13 226);   /* user ocean blue */
  --accent-light:  oklch(0.78 0.08 226);   /* light tint */
  --accent-deep:   oklch(0.42 0.10 226);   /* deep shade */
  --accent-pale:   oklch(0.96 0.015 226);  /* pale tint */

  /* Coral & Peach palette for Né, Boss? */
  --coral:         oklch(0.63 0.18 32.5);  /* Coral #E8735A */
  --coral-light:   oklch(0.78 0.12 32.5);  /* Coral Light #FFAA96 */
  --coral-deep:    oklch(0.53 0.18 32.5);  /* Coral Deep #D4624B */
  --coral-pale:    oklch(0.975 0.03 32.5); /* Peach Pale #FFF5F0 */

  /* Warm Complements */
  --gold:          oklch(0.72 0.14 82);    /* warm gold */
  --gold-light:    oklch(0.86 0.10 80);    /* pale gold */
  --gold-deep:     oklch(0.55 0.16 72);    /* deep amber */
  --teal:          oklch(0.66 0.13 195);   /* teal */
  --teal-light:    oklch(0.82 0.08 195);   /* pale teal */
  --teal-deep:     oklch(0.45 0.14 195);   /* deep teal */

  /* Legacy vars for modal compatibility */
  --blue:          oklch(0.61 0.13 226);
  --blue-pale:     oklch(0.96 0.015 226);
  --teal-dark:     oklch(0.45 0.14 195);
  --teal-pale:     oklch(0.92 0.04 195);
  --gold-pale:     oklch(0.95 0.03 82);
  --gold-dark:     oklch(0.55 0.16 72);
  --text-dark:     oklch(0.13 0.04 255);
  --text-mid:      oklch(0.36 0.06 248);
  --text-muted:    oklch(0.56 0.04 242);

  /* Section backgrounds */
  --hero-bg:       oklch(0.99 0.004 250);
  --mission-bg-start: oklch(0.12 0.04 255);
  --mission-bg-end:   oklch(0.19 0.055 248);
  --contact-bg:    oklch(0.97 0.010 248);
  --footer-bg:     oklch(0.11 0.035 255);

  /* Borders */
  --border-light: oklch(0.88 0.025 245 / 0.6);
  --border-mid:   oklch(0.75 0.04 245 / 0.5);
  --border-strong:oklch(0.56 0.18 248 / 0.35);

  /* Shadows — layered, depth-first */
  --shadow-xs: 0 1px 3px oklch(0.13 0.04 255 / 0.06);
  --shadow-sm: 0 4px 16px oklch(0.13 0.04 255 / 0.07),
               0 1px 4px oklch(0.13 0.04 255 / 0.04);
  --shadow-md: 0 12px 40px oklch(0.13 0.04 255 / 0.09),
               0 4px 12px oklch(0.13 0.04 255 / 0.05);
  --shadow-lg: 0 24px 64px oklch(0.13 0.04 255 / 0.11),
               0 8px 24px oklch(0.13 0.04 255 / 0.07);
  --shadow-glow: 0 0 48px oklch(0.56 0.18 248 / 0.18),
                 0 8px 32px oklch(0.56 0.18 248 / 0.12);

  /* Radii */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-2xl:  48px;
  --radius-full: 9999px;

  /* Easing curves */
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --ease-ciné:   cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-index semantic scale */
  --z-base:     1;
  --z-sticky:   100;
  --z-nav:      500;
  --z-modal:    800;
  --z-mascot:   900;
  --z-toast:    950;
  --z-cursor:   990;
  --z-progress: 999;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-serif);
  font-size: 16px;
  background-color: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Lenis Integration Styles */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  background-color: var(--surface);
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.font-display { font-family: var(--font-serif); }
.font-body    { font-family: var(--font-serif); }
.font-ja      { font-family: var(--font-serif); }
.text-center  { text-align: center; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --------------------------------------------------------------------------
   3. Scroll Progress Bar
   -------------------------------------------------------------------------- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(in oklch 90deg, var(--teal), var(--accent), var(--gold));
  z-index: var(--z-progress);
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

/* --------------------------------------------------------------------------
   4. Custom Cursor (removed)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   5. Buttons — Elevated System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 32px;
  font-family: var(--font-serif);
  font-size: var(--t-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: transform 0.3s var(--ease-expo),
              box-shadow 0.3s var(--ease-expo),
              background 0.25s ease;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: linear-gradient(in oklch 135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 6px 24px oklch(0.56 0.18 248 / 0.28),
              0 2px 8px oklch(0.56 0.18 248 / 0.15);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px oklch(0.56 0.18 248 / 0.38),
              0 4px 12px oklch(0.56 0.18 248 / 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid oklch(0.56 0.18 248 / 0.35);
}
.btn-secondary:hover {
  background: var(--accent-pale);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(in oklch 135deg, var(--gold), var(--gold-light));
  color: oklch(0.2 0.06 80);
  font-weight: 700;
  box-shadow: 0 6px 24px oklch(0.72 0.14 82 / 0.28);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px oklch(0.72 0.14 82 / 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-mid);
  border: 1.5px solid var(--border-mid);
  padding: 13px 28px;
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-mission {
  background: oklch(1 0 0 / 0.10);
  color: #fff;
  border: 1.5px solid oklch(1 0 0 / 0.28);
  backdrop-filter: blur(8px);
}
.btn-mission:hover {
  background: oklch(1 0 0 / 0.20);
  transform: translateY(-3px);
}

.magnetic-btn { will-change: transform; }

.svg-btn-icon  { width: 16px; height: 16px; flex-shrink: 0; }
.svg-link-icon { width: 14px; height: 14px; flex-shrink: 0; }
.svg-nav-icon  { width: 16px; height: 16px; flex-shrink: 0; }
.svg-value-icon   { width: 24px; height: 24px; }
.svg-concept-icon { width: 22px; height: 22px; }
.svg-contact-icon { width: 18px; height: 18px; }
.svg-badge-icon   { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   5.5. PRELOADER — Luxury Cinematic Entrance
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--surface); /* Luxury light theme base */
  overflow: hidden;
  pointer-events: auto;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: clip-path;
}

.preloader.exiting {
  clip-path: circle(0% at 50% 50%);
}

/* Dynamic ambient glow layers — soft watercolor bleeds for light theme */
.preloader-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.07;
  mix-blend-mode: multiply;
  will-change: transform;
}

.preloader-glow-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, oklch(0.66 0.13 195) 0%, transparent 70%); /* teal */
  top: -15%;
  left: -5%;
  animation: preloaderFloatTeal 25s infinite alternate ease-in-out;
}

.preloader-glow-2 {
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, oklch(0.61 0.13 226) 0%, transparent 70%); /* blueish */
  bottom: -25%;
  right: -10%;
  animation: preloaderFloatBlue 30s infinite alternate ease-in-out;
}

.preloader-glow-3 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, oklch(0.72 0.14 82) 0%, transparent 70%); /* warm gold complement */
  top: 30%;
  right: 15%;
  opacity: 0.05;
  animation: preloaderFloatPurple 20s infinite alternate ease-in-out;
}

@keyframes preloaderFloatTeal {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, 15vh) scale(1.15); }
}

@keyframes preloaderFloatBlue {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-15vw, -10vh) scale(1.1); }
}

@keyframes preloaderFloatPurple {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(-8vw, 8vh) scale(1.1); }
}

/* Noise/grain overlay — very subtle on light surfaces */
.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  filter: url(#preloader-noise);
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.15;
}

.preloader-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.85;
}

.preloader-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: 
    linear-gradient(oklch(0.13 0.04 255) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.13 0.04 255) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* HUD elements */
.preloader-hud-left {
  position: absolute;
  top: var(--space-xl);
  left: var(--space-xl);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: oklch(0.13 0.04 255 / 0.55);
}

.preloader-hud-title {
  font-weight: 700;
  color: oklch(0.66 0.13 195); /* Teal accent */
}

.preloader-hud-divider {
  height: 1px;
  width: 60px;
  background: oklch(0.13 0.04 255 / 0.08);
  margin: 4px 0;
}

.preloader-logs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.5;
}

.preloader-log-line {
  transition: color 0.3s ease;
}

.preloader-log-line.active {
  color: oklch(0.66 0.13 195);
  font-weight: 700;
}

.preloader-log-line.passed {
  color: var(--ink-mid);
  opacity: 0.65;
}

.preloader-log-line.pending {
  color: var(--ink-muted);
  opacity: 0.25;
}

.preloader-hud-right {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: oklch(0.13 0.04 255 / 0.55);
  text-align: right;
  line-height: 1.5;
  opacity: 0.75;
}

/* Sidebar Gauges */
.preloader-gauge-sidebar {
  position: absolute;
  top: 25%;
  bottom: 25%;
  width: 12px;
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: oklch(0.13 0.04 255 / 0.55);
}

@media (min-width: 768px) {
  .preloader-gauge-sidebar {
    display: flex;
  }
}

.preloader-gauge-left {
  left: var(--space-xl);
}

.preloader-gauge-right {
  right: var(--space-xl);
}

.preloader-gauge-label {
  white-space: nowrap;
}

.preloader-gauge-left .preloader-gauge-label {
  transform: rotate(-90deg) translate(-35%, 0);
}

.preloader-gauge-right .preloader-gauge-label {
  transform: rotate(90deg) translate(35%, 0);
}

.preloader-gauge-track {
  width: 1px;
  height: 100%;
  background: oklch(0.13 0.04 255 / 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 16px 0;
}

.preloader-gauge-fill {
  width: 100%;
  background: oklch(0.66 0.13 195);
  height: 0%;
  transition: height 0.1s ease;
}

.preloader-gauge-val {
  font-variant-numeric: tabular-nums;
  color: oklch(0.66 0.13 195);
  font-weight: 700;
}

/* Central Area */
.preloader-logo-area {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  padding: 0 var(--space-xl);
}

.preloader-svg {
  width: 100%;
  max-width: 580px;
  height: auto;
  overflow: visible;
}

.preloader-svg-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 110px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
}

.preloader-svg-text--outline {
  fill: none;
  stroke: oklch(0.13 0.04 255);
  stroke-width: 0.6px;
  stroke-opacity: 0.12;
}

.preloader-svg-text--fill {
  fill: url(#preloader-text-grad);
  filter: drop-shadow(0 0 12px oklch(0.66 0.13 195 / 0.15));
}

#preloader-wave-path {
  /* Wave shape is driven by JS path updates */
}

.preloader-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--ink-mid);
  margin-top: var(--space-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border-top: 1px solid oklch(0.13 0.04 255 / 0.08);
  border-bottom: 1px solid oklch(0.13 0.04 255 / 0.08);
  padding: var(--space-xs) var(--space-md);
  background: oklch(0.99 0.004 250 / 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.preloader-tagline.visible {
  opacity: 0.9;
  transform: translateY(0);
}

/* Bottom HUD */
.preloader-hud-bottom {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  right: var(--space-xl);
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preloader-bottom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: oklch(0.13 0.04 255 / 0.55);
}

.preloader-bottom-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preloader-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.66 0.13 195);
  animation: preloaderPulse 1.5s infinite ease-in-out;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.preloader-bottom-percentage {
  color: oklch(0.66 0.13 195);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.preloader-bottom-track {
  width: 100%;
  height: 1px;
  background: oklch(0.13 0.04 255 / 0.08);
  position: relative;
  overflow: hidden;
}

.preloader-bottom-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, oklch(0.66 0.13 195) 0%, oklch(0.61 0.13 226) 100%);
  transition: width 0.1s ease;
}

/* Page entrance state while loading */
body.loading {
  overflow: hidden;
}

@media (min-width: 1025px) {
  body.loading main {
    transform: translateY(60px);
  }

  /* Active reveal animation for main wrapper - parallax lift */
  main {
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
  }
}

main {
  opacity: 1;
  transform: translateY(0);
}

body.entrance-complete main {
  transform: none !important;
  filter: none !important;
}

body.entrance-complete .hero-line,
body.entrance-complete .hero-overline,
body.entrance-complete .hero-sub,
body.entrance-complete .hero-actions {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

/* Accessibility: prefers reduced motion handling */
@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: opacity 0.5s ease-out;
    transform: none !important;
  }
  .preloader.exiting {
    opacity: 0;
    pointer-events: none;
    transform: none !important;
  }
  .preloader-logo-text,
  .preloader-tagline,
  .preloader-progress-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .preloader-subtext-track {
    transition: none;
  }
  main {
    transition: opacity 0.3s ease-out;
    transform: none !important;
    filter: none !important;
  }
  .header.floating-dock {
    transition: opacity 0.3s ease-out !important;
    transform: translate(-50%, 0) !important;
  }
}

/* --------------------------------------------------------------------------
   6. Floating Glass Nav
   -------------------------------------------------------------------------- */
.header.floating-dock {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translate(-50%, -20px);
  opacity: 0;
  width: min(94vw, 1240px);
  z-index: var(--z-nav);
  border-radius: var(--radius-full);
  background: oklch(0.99 0.004 250 / 0.82);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid oklch(0.56 0.18 248 / 0.12);
  box-shadow:
    0 8px 32px oklch(0.13 0.04 255 / 0.07),
    inset 0 0 0 1px oklch(1 0 0 / 0.65);
  padding: 8px 14px 8px 20px;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s var(--ease-expo),
              box-shadow 0.4s var(--ease-expo),
              border-color 0.4s ease;
}

body:not(.loading) .header.floating-dock {
  opacity: 1;
  transform: translate(-50%, 0);
}

.header.floating-dock.scrolled {
  background: oklch(0.99 0.004 250 / 0.97);
  border-color: oklch(0.56 0.18 248 / 0.22);
  box-shadow:
    0 12px 48px oklch(0.13 0.04 255 / 0.10),
    inset 0 0 0 1px oklch(1 0 0 / 0.8);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.logo-link { display: flex; align-items: center; }

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease-expo), filter 0.3s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px oklch(0.56 0.18 248 / 0.25));
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: oklch(0.56 0.18 248 / 0.07);
  border: 1px solid oklch(0.56 0.18 248 / 0.22);
  padding: 3.5px 11px;
  border-radius: var(--radius-full);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 700;
  font-family: var(--font-serif);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px oklch(0.56 0.18 248 / 0.75);
  animation: pulseLed 2s infinite ease-in-out;
  flex-shrink: 0;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid oklch(0.56 0.18 248 / 0.5);
  opacity: 0;
  animation: rippleLed 2s infinite ease-out;
}

@keyframes pulseLed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.82); }
}
@keyframes rippleLed {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

.nav-dock {
  display: flex;
  align-items: center;
  gap: 2px;
  background: oklch(0.56 0.18 248 / 0.04);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid oklch(0.56 0.18 248 / 0.07);
  position: relative;
}

.nav-item { position: relative; }

.nav-dock-link {
  position: relative;
  font-family: var(--font-serif);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ink-mid);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: color 0.2s ease;
  z-index: 2;
  cursor: pointer;
  display: block;
  white-space: nowrap;
}

.nav-dock-link:hover,
.nav-dock-link.active { color: var(--accent); }

.magic-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: 90px;
  background: var(--accent-pale);
  border: 1px solid oklch(0.56 0.18 248 / 0.20);
  border-radius: var(--radius-full);
  transition: left 0.38s var(--ease-spring),
              width 0.38s var(--ease-spring),
              opacity 0.2s ease;
  z-index: 1;
  pointer-events: none;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-expo),
              transform 0.25s var(--ease-expo),
              visibility 0.25s;
  z-index: var(--z-nav);
}

/* Bridge the hover gap between nav items and the dropdown menu */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
  z-index: -1;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: var(--t-sm);
  color: var(--ink-mid);
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.dropdown-link:hover {
  background: var(--accent-pale);
  color: var(--accent-deep);
}

.cta-group { display: flex; align-items: center; gap: 12px; }

.cta-dock-btn { padding: 10px 22px; font-size: 0.825rem; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 10);
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease-expo);
  display: block;
}

/* --------------------------------------------------------------------------
   7. HERO — Cinematic Editorial Split
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100dvh;
  padding-top: 85px;
  padding-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

/* Atmospheric background — no pure warm tint, purely hue-tinted */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80vw 60vh at 70% 30%,
      oklch(0.56 0.18 248 / 0.055) 0%, transparent 65%),
    radial-gradient(ellipse 60vw 60vh at 15% 80%,
      oklch(0.66 0.13 195 / 0.04) 0%, transparent 65%);
  pointer-events: none;
}

/* Subtle grid overlay for editorial feel */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(0.56 0.18 248 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.56 0.18 248 / 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg) 0;
  position: relative;
  z-index: 2;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.hero-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 0.70rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  opacity: 0;
}

.hero-overline-bar {
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-clip-wrapper {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-2xl), 4.5vw, var(--t-4xl));
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--space-md);
  text-align: center; /* Ensure title lines are perfectly centered */
}

.hero-line {
  display: block;
  opacity: 0;
  padding-bottom: 0.08em;
}

/* Gradient fill on hero titles - premium Awwwards motion typography */
.hero-line-gold {
  background: linear-gradient(135deg, oklch(0.72 0.14 82) 0%, oklch(0.58 0.13 70) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-line-teal {
  background: linear-gradient(135deg, oklch(0.56 0.18 248) 0%, oklch(0.66 0.13 195) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-sub {
  font-size: var(--t-md);
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
  text-align: center;
  opacity: 0;
}

.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
}

/* Hero visual - removed */
.hero-visual-col {
  display: none !important;
}

.hero-orb {
  width: min(100%, 520px);
  aspect-ratio: 1;
  position: relative;
}

.hero-orb-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Orb ring animations */
.orb-ring-outer {
  animation: orbRotate 22s linear infinite;
  transform-origin: 280px 280px;
}
.orb-ring-mid {
  animation: orbRotate 16s linear infinite reverse;
  transform-origin: 280px 280px;
}
.orb-gold-arc {
  animation: orbRotate 30s linear infinite;
  transform-origin: 280px 280px;
}
.orb-core-pulse {
  animation: coreBreath 3.5s ease-in-out infinite;
}
.orb-inner-fill {
  animation: coreBreath 4s ease-in-out infinite 0.5s;
}

@keyframes orbRotate {
  to { transform: rotate(360deg); }
}
@keyframes coreBreath {
  0%, 100% { opacity: 0.06; r: 140; }
  50%       { opacity: 0.10; r: 148; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  z-index: 2;
  opacity: 0;
  animation: scrollCueFade 1s var(--ease-out) 2.5s forwards;
}

.scroll-cue-label {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.scroll-cue-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollCueDrop 1.8s var(--ease-out) infinite;
}

@keyframes scrollCueFade {
  to { opacity: 1; }
}
@keyframes scrollCueDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Subpage scroll cue — faster reveal, no preloader wait */
.subpage-hero .scroll-cue {
  animation-delay: 0.8s;
}

/* --------------------------------------------------------------------------
   8. JS-Ready Hero Animations
   -------------------------------------------------------------------------- */
.js-ready .hero-overline {
  animation: heroOverline 0.9s var(--ease-expo) 0.3s forwards;
}
.js-ready .hero-line {
  animation: heroLineReveal 1.0s var(--ease-expo) var(--delay, 200ms) forwards;
}
.js-ready .hero-sub {
  animation: heroFadeUp 1.0s var(--ease-expo) 0.65s forwards;
}
.js-ready .hero-actions {
  animation: heroFadeUp 0.9s var(--ease-expo) 0.85s forwards;
}

@keyframes heroOverline {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroLineReveal {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

/* --------------------------------------------------------------------------
   9. Hero — enriched visual column, trust strip, stat cards, floating orbs
   -------------------------------------------------------------------------- */
/* Old bottom strip hidden */
.hero-bottom-strip-container,
.hero-bottom-strip,
.hero-metric,
.hero-metric-divider { display: none; }

/* Hero now uses asymmetric two-column layout on desktop */
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg) 0;
  position: relative;
  z-index: 2;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
}

.hero-h1 {
  text-align: left;
}

.hero-overline {
  justify-content: flex-start;
}

.hero-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions {
  justify-content: flex-start;
}

/* ── Trust strip ── */
.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-trust-val {
  font-family: var(--font-serif);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-trust-label {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  font-weight: 600;
}

.hero-trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
  flex-shrink: 0;
}

.hero-trust-badge {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 7px;
  background: oklch(0.56 0.18 248 / 0.06);
  border: 1px solid oklch(0.56 0.18 248 / 0.18);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ── Hero visual column ── */
.hero-visual-col {
  display: flex !important;
  position: relative;
  min-height: 460px;
  align-items: center;
  justify-content: center;
}

/* ── Ring visual ── */
.hero-ring-visual {
  position: relative;
  z-index: 2;
}

.hero-ring-svg {
  width: min(320px, 42vw);
  height: auto;
  animation: heroRingRotate 40s linear infinite;
}

@keyframes heroRingRotate {
  to { transform: rotate(360deg); }
}

/* ── Floating stat cards ── */
.hero-stat-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: oklch(0.99 0.004 250 / 0.88);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid oklch(0.88 0.025 245 / 0.55);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: 0 8px 32px oklch(0.13 0.04 255 / 0.08),
              inset 0 0 0 1px oklch(1 0 0 / 0.6);
  z-index: 5;
  min-width: 180px;
  animation: heroCardFloat 5s ease-in-out infinite;
}

.hero-stat-card-1 {
  top: 8%;
  right: -20px;
  animation-delay: 0s;
}
.hero-stat-card-2 {
  top: 42%;
  left: -30px;
  animation-delay: 1.8s;
}
.hero-stat-card-3 {
  bottom: 12%;
  right: -10px;
  animation-delay: 0.9s;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-pale);
  border: 1px solid oklch(0.56 0.18 248 / 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-stat-icon-teal {
  background: var(--teal-pale);
  border-color: oklch(0.66 0.13 195 / 0.12);
  color: var(--teal-deep);
}

.hero-stat-icon-gold {
  background: var(--gold-pale);
  border-color: oklch(0.72 0.14 82 / 0.12);
  color: var(--gold-deep);
}

.hero-stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.hero-stat-name {
  font-family: var(--font-serif);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.hero-stat-desc {
  font-family: var(--font-serif);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}

.hero-stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px oklch(0.56 0.18 248 / 0.6);
  flex-shrink: 0;
  animation: pulseLed 2s infinite ease-in-out;
}
.hero-stat-dot-teal {
  background: var(--teal);
  box-shadow: 0 0 8px oklch(0.66 0.13 195 / 0.6);
}
.hero-stat-dot-gold {
  background: var(--gold);
  box-shadow: 0 0 8px oklch(0.72 0.14 82 / 0.6);
}

/* ── Floating background orbs ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, oklch(0.56 0.18 248 / 0.07) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: heroOrbDrift 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, oklch(0.66 0.13 195 / 0.06) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation: heroOrbDrift 25s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, oklch(0.72 0.14 82 / 0.05) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: heroOrbDrift 15s ease-in-out infinite 5s;
}
@keyframes heroOrbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* Central stationary glowing liquid orb overlay in the ring visual */
.hero-center-orb-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: radial-gradient(circle at 30% 30%, oklch(0.66 0.18 248) 0%, oklch(0.45 0.15 255) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px oklch(0.56 0.18 248 / 0.45),
              inset 0 0 12px oklch(1 0 0 / 0.3);
  z-index: 10;
  
  /* Luxury morphing liquid shape + breathing scale animations */
  animation: heroCoreLiquid 10s ease-in-out infinite alternate,
             heroCoreScale 4s ease-in-out infinite alternate;
  will-change: border-radius, transform, box-shadow;
}

.hero-center-orb-glow {
  position: absolute;
  inset: -12px;
  border-radius: inherit; /* morphs together with parent */
  background: radial-gradient(circle, oklch(0.56 0.18 248 / 0.25) 0%, transparent 75%);
  z-index: -1;
  animation: heroCoreRipple 3s infinite cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

@keyframes heroCoreLiquid {
  0% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
  33% {
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
  66% {
    border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%;
  }
  100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
}

@keyframes heroCoreScale {
  0% {
    transform: translate(-50%, -50%) scale(0.96);
    box-shadow: 0 8px 24px oklch(0.56 0.18 248 / 0.35);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 16px 48px oklch(0.56 0.18 248 / 0.55),
                0 0 20px oklch(0.66 0.13 195 / 0.3);
  }
}

@keyframes heroCoreRipple {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}


/* --------------------------------------------------------------------------
   9.5. KINETIC TICKER STRIP — Infinite scrolling marquee
   -------------------------------------------------------------------------- */
.ticker-strip {
  width: 100%;
  overflow: hidden;
  background: var(--surface-tint);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-md) 0;
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  padding-right: var(--space-2xl);
  animation: tickerLoop 30s linear infinite;
}

.ticker-item {
  font-family: 'Plus Jakarta Sans', 'Noto Serif JP', sans-serif;
  font-size: var(--t-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
}

.ticker-item svg {
  color: var(--accent);
  fill: currentColor;
}

.ticker-item-dim {
  color: var(--ink-muted);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--t-md);
  font-weight: 400;
  letter-spacing: 0.05em;
}

@keyframes tickerLoop {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-inner {
    animation: none;
    overflow-x: auto;
    width: 100%;
    justify-content: space-around;
  }
}

/* --------------------------------------------------------------------------
   10. CONCEPT — Editorial Split Layout
   -------------------------------------------------------------------------- */
.concept-scene {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: visible; /* Need overflow visible for position sticky to work */
  background: var(--surface);
}

.concept-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-3xl);
  align-items: flex-start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.concept-sticky-col {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-right: var(--space-xl);
}

.concept-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: var(--t-xs);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  display: block;
}

.concept-heading {
  font-size: clamp(var(--t-xl), 3.5vw, var(--t-2xl));
  line-height: 1.3;
  color: var(--ink);
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  margin: 0;
  letter-spacing: -0.02em;
}

.concept-subheading {
  font-size: var(--t-base);
  line-height: 1.8;
  color: var(--ink-mid);
  max-width: 45ch;
  margin: 0;
}

/* Vertical Progress Bar Tracker */
.concept-progress-container {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  position: relative;
}

.concept-progress-bar-bg {
  position: absolute;
  top: 15px;
  left: 14px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: var(--border-light);
  z-index: 1;
}

.concept-progress-bar-active {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--teal), var(--gold));
  box-shadow: var(--shadow-xs);
  transform-origin: top;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.concept-progress-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

.concept-step-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
}

.concept-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink-muted);
  transition: border-color 0.35s ease, color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.concept-step-dot span {
  display: block;
  line-height: 1;
}

.concept-step-title {
  font-family: 'Plus Jakarta Sans', 'Noto Serif JP', sans-serif;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.35s ease, font-weight 0.35s ease;
}

/* Active states per step row based on target indices */
.concept-step-row.concept-step-active[data-target="0"] .concept-step-dot {
  border-color: var(--accent);
  color: var(--surface);
  background-color: var(--accent);
  box-shadow: 0 0 12px oklch(0.56 0.18 248 / 0.25);
}
.concept-step-row.concept-step-active[data-target="1"] .concept-step-dot {
  border-color: var(--teal);
  color: var(--surface);
  background-color: var(--teal);
  box-shadow: 0 0 12px oklch(0.66 0.13 195 / 0.25);
}
.concept-step-row.concept-step-active[data-target="2"] .concept-step-dot {
  border-color: var(--gold);
  color: var(--surface);
  background-color: var(--gold);
  box-shadow: 0 0 12px oklch(0.72 0.14 82 / 0.25);
}

.concept-step-row.concept-step-active .concept-step-title {
  color: var(--ink);
  font-weight: 600;
}

/* Scroll Column & Cards */
.concept-scroll-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  padding-bottom: 25vh; /* Provides spacing to scroll the last card into center */
}

.concept-card {
  background-color: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.45s ease;
  position: relative;
  opacity: 1; /* Start fully visible; JS will dim inactive cards after observation */
}

/* Active Highlight Styling */
.concept-card.concept-card-active {
  opacity: 1;
  box-shadow: var(--shadow-md);
}

.concept-card.concept-card-active:nth-child(1) {
  border-color: var(--accent);
}
.concept-card.concept-card-active:nth-child(2) {
  border-color: var(--teal);
}
.concept-card.concept-card-active:nth-child(3) {
  border-color: var(--gold);
}

.concept-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.concept-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}

.concept-card.concept-card-active .concept-icon-box {
  transform: scale(1.05);
}

.concept-card-tag {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: var(--t-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.02em;
}

/* Color palettes per card item */
.concept-card:nth-child(1) .concept-icon-box {
  background: var(--accent-pale);
  border: 1px solid oklch(0.56 0.18 248 / 0.12);
  color: var(--accent);
}
.concept-card:nth-child(1) .concept-card-tag {
  color: var(--accent);
  background: var(--accent-pale);
  border: 1.5px solid oklch(0.56 0.18 248 / 0.15);
}

.concept-card:nth-child(2) .concept-icon-box {
  background: var(--teal-pale);
  border: 1px solid oklch(0.66 0.13 195 / 0.12);
  color: var(--teal-deep);
}
.concept-card:nth-child(2) .concept-card-tag {
  color: var(--teal-deep);
  background: var(--teal-pale);
  border: 1.5px solid oklch(0.66 0.13 195 / 0.15);
}

.concept-card:nth-child(3) .concept-icon-box {
  background: var(--gold-pale);
  border: 1px solid oklch(0.72 0.14 82 / 0.12);
  color: var(--gold-deep);
}
.concept-card:nth-child(3) .concept-card-tag {
  color: var(--gold-deep);
  background: var(--gold-pale);
  border: 1px solid oklch(0.72 0.14 82 / 0.15);
}

.concept-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--t-sm);
  color: var(--ink-muted);
  display: block;
  font-weight: 500;
  margin-top: var(--space-xs);
  transition: color 0.4s ease;
}

.concept-card.concept-card-active:nth-child(1) .concept-card-num {
  color: var(--accent);
}
.concept-card.concept-card-active:nth-child(2) .concept-card-num {
  color: var(--teal);
}
.concept-card.concept-card-active:nth-child(3) .concept-card-num {
  color: var(--gold);
}

.concept-card-title {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.concept-card-title .arrow {
  display: inline-block;
  font-family: sans-serif;
  font-size: 0.95em;
  color: var(--ink-muted);
  transition: transform 0.3s var(--ease-spring), color 0.3s ease;
}

.concept-card.concept-card-active .concept-card-title .arrow {
  transform: translate(2px, -2px);
}
.concept-card.concept-card-active:nth-child(1) .concept-card-title .arrow {
  color: var(--accent);
}
.concept-card.concept-card-active:nth-child(2) .concept-card-title .arrow {
  color: var(--teal);
}
.concept-card.concept-card-active:nth-child(3) .concept-card-title .arrow {
  color: var(--gold);
}

.concept-card-subtitle {
  font-size: var(--t-sm);
  font-weight: 600;
  margin-top: calc(-1 * var(--space-xs));
  letter-spacing: 0.02em;
  display: block;
}

.concept-card:nth-child(1) .concept-card-subtitle {
  color: var(--accent-deep);
}
.concept-card:nth-child(2) .concept-card-subtitle {
  color: var(--teal-deep);
}
.concept-card:nth-child(3) .concept-card-subtitle {
  color: var(--gold-deep);
}

.concept-card-body {
  font-size: var(--t-base);
  color: var(--ink-mid);
  line-height: 1.8;
  margin: 0;
}

/* Reveal init — hidden until JS fires */
.reveal-ready {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

/* Fallback: if JS never fires, still show content */
@supports not (animation-timeline: scroll()) {
  .reveal-ready { opacity: 1; transform: none; filter: none; }
}

/* Backward compat bento classes (kept for script refs) */
.bento-card        { opacity: 0; }
.concept-bento-grid { display: none; }
.concept-item-h3    { font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; }
.concept-item-body  { }
.concept-icon-wrap  { }
.concept-number-bg  { display: none; }

/* ── Concept section header bar ── */
.concept-section-header {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-3xl);
  padding: var(--space-md) var(--space-lg);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.concept-section-label-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.concept-section-eyebrow {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}

.concept-section-line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.concept-section-count {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

/* ── Step sub-labels ── */
.concept-step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.concept-step-sub {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  font-weight: 600;
}

.concept-step-row.concept-step-active .concept-step-sub {
  color: var(--ink-muted);
}

/* ── Concept card micro-tag chips ── */
.concept-card-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

.concept-micro-tag {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  transition: color 0.3s ease, background 0.3s ease;
}

.concept-card.concept-card-active:nth-child(1) .concept-micro-tag {
  color: var(--accent-deep);
  background: var(--accent-pale);
  border-color: oklch(0.56 0.18 248 / 0.12);
}

.concept-card.concept-card-active:nth-child(2) .concept-micro-tag {
  color: var(--teal-deep);
  background: var(--teal-pale);
  border-color: oklch(0.66 0.13 195 / 0.12);
}

.concept-card.concept-card-active:nth-child(3) .concept-micro-tag {
  color: var(--gold-deep);
  background: var(--gold-pale);
  border-color: oklch(0.72 0.14 82 / 0.12);
}

/* ── Decorative background "AI" text in sticky column ── */
.concept-sticky-bg-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 700;
  color: oklch(0.56 0.18 248 / 0.04);
  letter-spacing: -0.08em;
  line-height: 1;
  user-select: none;
  margin-top: var(--space-xl);
  pointer-events: none;
}

/* ── Concept sticky CTA link ── */
.concept-sticky-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: var(--space-md);
  padding: 10px 20px;
  border: 1.5px solid oklch(0.56 0.18 248 / 0.25);
  border-radius: var(--radius-full);
  background: var(--accent-pale);
  transition: gap 0.25s var(--ease-expo), background 0.25s ease, border-color 0.25s ease;
  width: fit-content;
}

.concept-sticky-cta:hover {
  gap: 14px;
  background: oklch(0.92 0.03 248);
  border-color: var(--accent);
}


/* --------------------------------------------------------------------------
   11. SERVICES — Premium Editorial × Bento Showcase
   -------------------------------------------------------------------------- */

.services-scene {
  position: relative;
  background-color: #ffffff !important;
  color: var(--ink);
  overflow: visible;
  padding: 0;
}

.services-split-container {
  display: grid;
  grid-template-columns: minmax(340px, 44%) 1fr;
  min-height: 100dvh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  gap: var(--space-2xl);
}

.services-split-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  position: sticky;
  top: 0;
}

.services-sticky-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 480px;
}

.services-header-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}

.services-kicker {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--coral-deep);
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.services-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.services-lead {
  font-size: var(--t-base);
  color: var(--ink-mid);
  line-height: 1.75;
  margin: 0;
  max-width: 48ch;
}

.services-desc-area {
  position: relative;
  min-height: 80px;
}

.service-desc-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  filter: blur(3px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.4s var(--ease-expo),
              transform 0.4s var(--ease-expo),
              filter 0.4s var(--ease-expo);
}

.service-desc-panel.panel-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  filter: blur(0);
}

.services-card-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card-tab {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: var(--space-sm);
  align-items: center;
  padding: 12px var(--space-md);
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  text-align: left;
  transition: background 0.3s var(--ease-expo),
              border-color 0.3s var(--ease-expo),
              transform 0.25s var(--ease-expo),
              box-shadow 0.3s var(--ease-expo);
}

.service-card-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3px;
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.3s var(--ease-expo), transform 0.35s var(--ease-spring);
}

.coral-tab::before { background: var(--coral); }
.teal-tab::before  { background: var(--teal); }

.service-card-tab:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.service-card-tab:active {
  transform: scale(0.98) translateX(2px);
}

.service-card-tab.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.coral-tab.active {
  background: oklch(0.975 0.025 32.5);
  border-color: oklch(0.63 0.18 32.5 / 0.14);
  box-shadow: var(--shadow-xs), inset 0 1px 0 oklch(1 0 0 / 0.6);
}

.teal-tab.active {
  background: oklch(0.96 0.022 195);
  border-color: oklch(0.66 0.13 195 / 0.14);
  box-shadow: var(--shadow-xs), inset 0 1px 0 oklch(1 0 0 / 0.6);
}

.tab-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: box-shadow 0.3s var(--ease-expo);
}

.tab-logo-coral {
  background: oklch(0.975 0.025 32.5);
  border: 1px solid oklch(0.63 0.18 32.5 / 0.15);
}

.tab-logo-teal {
  background: oklch(0.96 0.022 195);
  border: 1px solid oklch(0.66 0.13 195 / 0.15);
}

.service-card-tab.active .tab-logo-coral {
  box-shadow: 0 0 0 3px oklch(0.63 0.18 32.5 / 0.12);
}

.service-card-tab.active .tab-logo-teal {
  box-shadow: 0 0 0 3px oklch(0.66 0.13 195 / 0.12);
}

.tab-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tab-logo-svg {
  width: 24px;
  height: 24px;
}

/* Tab Text */
.tab-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tab-product-name {
  font-family: var(--font-serif);
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.tab-product-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tab-product-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.4;
  margin-top: 2px;
  display: none;                   /* hidden by default */
  max-width: 28ch;
  white-space: normal;
}

.tab-product-sub.panel-active-sub {
  display: block;                  /* show only on active tab */
}

/* Tab Badges */
.tab-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  flex-shrink: 0;
}

.tab-badge-coral {
  color: var(--coral-deep);
  background: oklch(0.975 0.025 32.5);
  border: 1px solid oklch(0.63 0.18 32.5 / 0.18);
}

.tab-badge-teal {
  color: var(--teal-deep);
  background: oklch(0.96 0.022 195);
  border: 1px solid oklch(0.66 0.13 195 / 0.18);
}


/* Feature chips — Jakub shadow instead of solid borders */
.service-elev-features {

  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.service-feature-chip {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.chip-coral {
  color: var(--coral-deep);
  background: oklch(0.975 0.025 32.5);
  box-shadow: 0 0 0 1px oklch(0.63 0.18 32.5 / 0.18),
              0 1px 2px oklch(0.13 0.04 255 / 0.04);
}

.chip-teal {
  color: var(--teal-deep);
  background: oklch(0.96 0.022 195);
  box-shadow: 0 0 0 1px oklch(0.66 0.13 195 / 0.18),
              0 1px 2px oklch(0.13 0.04 255 / 0.04);
}

/* CTA Link — directional arrow with clip-path wipe */
.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  margin-top: var(--space-xs);
  overflow: hidden;
  transition: gap 0.3s var(--ease-expo);
}

.service-cta-link:hover { gap: var(--space-md); }

.link-coral { color: var(--coral-deep); }
.link-teal  { color: var(--teal-deep); }

.cta-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--ease-expo);
}

.service-cta-link:hover .cta-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════
   RIGHT COLUMN: PREMIUM PRODUCT SHOWCASE
   ═══════════════════════════════════════════════════════ */
.services-split-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  height: 100vh;
  position: relative;
}

/* ── Sub-view Segmented Toggle ── */
.services-subview-toggle-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: oklch(1 0 0 / 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.55);
  border-radius: var(--radius-md);
  padding: 4px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-sm);
  z-index: 10;

  /* Enter/exit based on active visual panel */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  filter: blur(3px);
  transition: opacity 0.45s var(--ease-expo),
              transform 0.45s var(--ease-expo),
              filter 0.45s var(--ease-expo);
}

/* Only visible when panel-0 (Né, Boss?) is active */
.services-scene:has(#visual-panel-0.panel-active) .services-subview-toggle-wrap {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  filter: blur(0);
}

/* Sliding active pill */
.subview-toggle-active-bg {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  background: var(--surface);
  border-radius: calc(var(--radius-md) - 3px);
  box-shadow: 0 0 0 1px oklch(0.13 0.04 255 / 0.06),
              0 1px 3px oklch(0.13 0.04 255 / 0.08);
  z-index: 1;
  transition: transform 0.4s var(--ease-expo);
}

/* Pill position per active view */
.services-subview-toggle-wrap:has(.subview-toggle-btn[data-view="nina"].active)      .subview-toggle-active-bg { transform: translateX(0); }
.services-subview-toggle-wrap:has(.subview-toggle-btn[data-view="boss"].active)      .subview-toggle-active-bg { transform: translateX(100%); }
.services-subview-toggle-wrap:has(.subview-toggle-btn[data-view="dashboard"].active) .subview-toggle-active-bg { transform: translateX(200%); }

.subview-toggle-btn {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  background: none;
  border: none;
  border-radius: calc(var(--radius-md) - 3px);
  cursor: pointer;
  z-index: 2;
  transition: color 0.25s var(--ease-expo);
  min-height: 44px;
}

.subview-toggle-btn:hover  { color: var(--ink); }
.subview-toggle-btn.active { color: var(--coral-deep); }
.subview-toggle-btn[data-view="boss"].active      { color: var(--ink); }
.subview-toggle-btn[data-view="dashboard"].active { color: var(--accent-deep); }

.subview-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── Visuals Viewport Card ── */
.services-visuals-viewport {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/4.15;
  border-radius: var(--radius-xl);
  background: oklch(0.985 0.006 248);
  border: 1px solid oklch(0.88 0.025 245 / 0.5);
  box-shadow: var(--shadow-lg),
              inset 0 1px 0 oklch(1 0 0 / 0.7);
  overflow: hidden;
  transition: aspect-ratio 0.4s var(--ease-expo);
}

.services-visuals-viewport:has(#visual-panel-1.panel-active) {
  aspect-ratio: 4/5;
}

/* ── Service Visual Panels ── */
.service-visual-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-expo);
}

.service-visual-panel.panel-active {
  opacity: 1;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════
   MOCK BROWSER FRAME (Né, Boss?)
   ═══════════════════════════════════════════════════════ */
.mock-browser-frame {
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border-radius: var(--radius-lg);
  background: oklch(0.995 0.004 35);   /* ultra-subtle coral tint on white */
  border: 1px solid oklch(0.88 0.025 245 / 0.4);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Browser Chrome */
.mock-browser-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: oklch(1 0 0 / 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid oklch(0.88 0.025 245 / 0.3);
  flex-shrink: 0;
}

.mock-traffic-lights {
  display: flex;
  gap: 6px;
  align-items: center;
}

.mock-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.mock-browser-address-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  background: oklch(0.94 0.01 248);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  border: 1px solid oklch(0.88 0.025 245 / 0.4);
}

.mock-browser-address-pill svg { color: var(--ink-muted); flex-shrink: 0; }

.mock-browser-address {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ── View Panels inside Browser ── */
.mock-chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: hidden;
}

.mock-browser-views-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mock-view-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-expo);
}

.mock-view-panel.panel-active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Chat Shared Header ── */
.mock-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid oklch(0.88 0.025 245 / 0.3);
  flex-shrink: 0;
}

.mock-chat-header-boss {
  background: oklch(0.97 0.008 250);
}

.mock-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid oklch(0.63 0.18 32.5 / 0.3);
  box-shadow: 0 0 0 3px oklch(0.63 0.18 32.5 / 0.1);
  display: block;
}

.mock-avatar-boss {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  border-color: oklch(0.13 0.04 255 / 0.25);
  box-shadow: 0 0 0 3px oklch(0.13 0.04 255 / 0.08);
}

.mock-avatar-status {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--surface);
}

.status-synced { background: var(--ink-mid); }

.mock-chat-status { display: flex; flex-direction: column; gap: 2px; }

.mock-partner-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.partner-role-label {
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-muted);
  margin-left: 4px;
}

.mock-partner-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.mock-partner-status-dark { color: var(--ink-muted); }

/* Pulse dot */
.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-badge 2s infinite;
}

.pulse-dot-dark  { background: var(--ink-mid); }
.pulse-dot-coral { background: var(--coral); }

/* ── Chat Body & Bubbles ── */
.mock-chat-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* Jakub materialise reveal — blur + translate + opacity */
.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  font-size: 12.5px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
  transition: opacity 0.5s var(--ease-expo),
              transform 0.5s var(--ease-expo),
              filter 0.5s var(--ease-expo);
}

.panel-active .bubble-reveal-1 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.15s; }
.panel-active .bubble-reveal-2 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.4s;  }
.panel-active .bubble-reveal-3 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.65s; }

/* Nina / partner bubble */
.partner-bubble {
  background: oklch(0.975 0.022 32.5);
  border-radius: 18px 18px 18px 4px;
  align-self: flex-start;
  box-shadow: 0 0 0 1px oklch(0.63 0.18 32.5 / 0.12),
              0 2px 8px oklch(0.13 0.04 255 / 0.05);
  color: var(--ink);
}

/* Boss bubble — neutral */
.boss-bubble {
  background: oklch(0.965 0.008 248);
  border-radius: 18px 18px 18px 4px;
  align-self: flex-start;
  box-shadow: 0 0 0 1px oklch(0.13 0.04 255 / 0.07),
              0 2px 8px oklch(0.13 0.04 255 / 0.04);
  color: var(--ink);
}

/* User bubble — deep ink */
.user-bubble {
  background: oklch(0.15 0.04 255);
  border-radius: 18px 18px 4px 18px;
  align-self: flex-end;
  box-shadow: 0 2px 14px oklch(0.13 0.04 255 / 0.22);
  color: #fff;
}

.chat-time {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: oklch(0.55 0.03 240 / 0.55);
  align-self: flex-end;
  font-style: normal;
}

.user-bubble .chat-time       { color: oklch(1 0 0 / 0.45); }
.chat-time-dark               { color: oklch(0.55 0.03 240 / 0.45); }

/* ═══════════════════════════════════════════════════════
   DASHBOARD BENTO GRID
   ═══════════════════════════════════════════════════════ */
.mock-view-dashboard {
  overflow: hidden;
}

.mock-dashboard-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px;
  padding: 14px;
  height: 100%;
  align-content: start;
}

/* Stat tiles */
.dash-tile {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-tile-stat {
  box-shadow: 0 0 0 1px oklch(0.13 0.04 255 / 0.06),
              0 1px 3px oklch(0.13 0.04 255 / 0.04);
}

.dash-tile-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-tile-value {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dash-tile-value-label {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
}

.dash-tile-unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-mid);
  margin-left: 1px;
}

.dash-tile-delta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-delta-up   { color: var(--teal-deep); }
.dash-delta-live { color: var(--coral-deep); }

/* Chart tile — spans full width */
.dash-tile-chart {
  grid-column: 1 / -1;
  padding: 10px 12px;
  box-shadow: 0 0 0 1px oklch(0.13 0.04 255 / 0.06),
              0 1px 3px oklch(0.13 0.04 255 / 0.04);
}

.dashboard-chart-svg {
  width: 100%;
  height: 52px;
  margin-top: 6px;
}

/* Alert tiles — inset shadow accent (NOT border-left) */
.dash-tile-alert {
  box-shadow: 0 0 0 1px oklch(0.13 0.04 255 / 0.06),
              0 1px 3px oklch(0.13 0.04 255 / 0.03);
  gap: 5px;
}

.dash-alert-positive {
  box-shadow: inset 3px 0 0 var(--accent),
              0 0 0 1px oklch(0.61 0.13 226 / 0.1);
  background: oklch(0.97 0.012 226);
}

.dash-alert-warning {
  box-shadow: inset 3px 0 0 var(--coral),
              0 0 0 1px oklch(0.63 0.18 32.5 / 0.1);
  background: oklch(0.975 0.018 32.5);
}

.dash-alert-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
}

.dash-alert-warning .dash-alert-tag { color: var(--coral-deep); }

.dash-alert-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   SPROUT KIDS CONSOLE
   ═══════════════════════════════════════════════════════ */
.mock-kids-console {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  padding: 22px;
  border-radius: var(--radius-lg);
  background: oklch(0.965 0.018 195);   /* warm teal wash — NOT plain white */
  border: 1.5px solid oklch(0.82 0.06 195 / 0.45);
  box-shadow: var(--shadow-md),
              inset 0 1px 0 oklch(1 0 0 / 0.5);
  box-sizing: border-box;
  overflow: hidden;
}

.mock-kids-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed oklch(0.66 0.13 195 / 0.35);
}

.kids-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kids-sprout-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.kids-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-deep);
  background: oklch(1 0 0 / 0.6);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 1px oklch(0.66 0.13 195 / 0.2);
}

.kids-stars {
  display: flex;
  align-items: center;
  gap: 5px;
}

.kids-star-icon  { width: 16px; height: 16px; }

.kids-star-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}

/* Question Box */
.kids-question-box {
  background: oklch(0.96 0.025 82);
  border: 1px solid oklch(0.72 0.14 82 / 0.2);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 0.55s var(--ease-expo),
              transform 0.55s var(--ease-expo),
              filter 0.55s var(--ease-expo);
}

.kids-q-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 5px;
}

.kids-q-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

/* Answer Box */
.kids-answer-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 0.55s var(--ease-expo),
              transform 0.55s var(--ease-expo),
              filter 0.55s var(--ease-expo);
}

.panel-active .kids-question-box { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.2s; }
.panel-active .kids-answer-box   { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.55s; }

.kids-sprout-avatar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kids-sprout-avatar-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.kids-sprout-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-deep);
}

.kids-a-text-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: oklch(1 0 0 / 0.55);
  border: 1px solid oklch(0.66 0.13 195 / 0.15);
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

/* Streaming text reveal */
.kids-a-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(2px);
  transition: opacity 0.45s var(--ease-expo),
              transform 0.45s var(--ease-expo),
              filter 0.45s var(--ease-expo);
  animation-fill-mode: backwards;
}

.panel-active .text-stream-1 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.9s; }
.panel-active .text-stream-2 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 1.3s; }
.panel-active .text-stream-3 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 1.7s; }
.panel-active .text-stream-4 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 2.1s; }
.panel-active .text-stream-5 { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 2.5s; }

/* ── Keyframe: pulse badge ── */
@keyframes pulse-badge {
  0%   { transform: scale(0.92); box-shadow: 0 0 0 0 currentColor; opacity: 0.7; }
  60%  { transform: scale(1.05); box-shadow: 0 0 0 4px transparent;  opacity: 1; }
  100% { transform: scale(0.92); box-shadow: 0 0 0 0 transparent;    opacity: 0.7; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .service-desc-panel,
  .service-visual-panel,
  .services-subview-toggle-wrap,
  .chat-bubble,
  .kids-question-box,
  .kids-answer-box,
  .kids-a-text {
    transition: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .service-desc-panel { pointer-events: none; }
  .service-desc-panel.panel-active { pointer-events: auto; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-scene { padding: var(--space-xl) 0; }

  .services-split-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: 0 var(--space-md);
    min-height: auto;
  }

  .services-split-info {
    height: auto;
    position: relative;
  }

  .services-sticky-content {
    max-width: 100%;
  }

  .services-split-visuals {
    height: auto;
    gap: var(--space-sm);
  }

  .services-visuals-viewport {
    aspect-ratio: 4/3.2;
    max-width: 100%;
    transition: aspect-ratio 0.4s var(--ease-expo);
  }

  .services-visuals-viewport:has(#visual-panel-1.panel-active) {
    aspect-ratio: 4/4.1;
  }

  .services-subview-toggle-wrap {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .services-card-nav { gap: 6px; }

  .service-card-tab {
    grid-template-columns: 40px 1fr;
    padding: var(--space-xs) var(--space-sm);
  }

  .tab-badge { display: none; }

  .services-h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
}


/* --------------------------------------------------------------------------
   12. MISSION — Dark Cinematic Statement
   -------------------------------------------------------------------------- */
.mission-scene {
  position: relative;
  background: linear-gradient(in oklch 155deg,
    var(--mission-bg-start) 0%,
    var(--mission-bg-end) 60%,
    oklch(0.26 0.08 248) 100%);
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

/* Noise texture */
.mission-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.mission-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70vw 60vh at 30% 30%, oklch(0.56 0.18 248 / 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50vw 50vh at 80% 80%, oklch(0.66 0.13 195 / 0.06) 0%, transparent 65%);
}

.mission-container {
  position: relative;
  z-index: 2;
}

.mission-header-block {
  margin-bottom: var(--space-3xl);
}

.mission-headline {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-2xl), 5vw, var(--t-3xl));
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.mission-line-wrap {
  display: block;
  overflow: hidden;
}

.mission-line-inner {
  display: block;
  transform: translateY(105%);
  opacity: 0;
}

.mission-em {
  font-style: normal;
}
.mission-em .mission-line-inner {
  color: var(--accent-light);
}

.mission-sub {
  font-size: var(--t-md);
  color: oklch(1 0 0 / 0.65);
  line-height: 1.78;
  max-width: 60ch;
}

/* Values — horizontal strips within dark section */
.mission-values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid oklch(1 0 0 / 0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.value-strip-item {
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: background 0.3s ease;
}

.value-strip-item:not(:last-child) {
  border-right: 1px solid oklch(1 0 0 / 0.08);
}

.value-strip-item:hover {
  background: oklch(1 0 0 / 0.04);
}

.value-strip-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}

.value-strip-content {}

.value-strip-title {
  font-family: var(--font-serif);
  font-size: var(--t-base);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.value-strip-desc {
  font-size: var(--t-sm);
  color: oklch(1 0 0 / 0.58);
  line-height: 1.7;
}

.value-strip-divider { display: none; }

.mission-cta { display: flex; }

/* Mission section active state */
.mission-scene.active .mission-line-inner {
  transform: translateY(0%);
  opacity: 1;
  transition: transform 1.1s var(--ease-expo), opacity 0.9s var(--ease-expo);
}



/* --------------------------------------------------------------------------
   12.5. HOME INTERNSHIP REDIRECT — Awwwards Bento Redirect Block
   -------------------------------------------------------------------------- */
.home-internship-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  background-color: oklch(0.985 0.005 75);
}

.internship-bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) var(--space-3xl);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), 0 10px 40px oklch(0.66 0.13 195 / 0.04);
  transition: transform 0.6s var(--ease-expo), box-shadow 0.6s var(--ease-expo);
  overflow: hidden;
}

.internship-bento-grid:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 20px 60px oklch(0.66 0.13 195 / 0.08);
}

.internship-badge {
  width: fit-content;
  margin-bottom: var(--space-md);
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.15);
  color: var(--gold-deep);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.internship-badge .pulse-dot {
  background: var(--gold);
}

.internship-h3 {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-xl), 3.2vw, var(--t-2xl));
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin: 0 0 var(--space-md) 0;
}

.internship-desc {
  font-size: var(--t-base);
  color: var(--ink-mid);
  line-height: 1.8;
  margin: 0 0 var(--space-lg) 0;
  max-width: 58ch;
}

.internship-cta-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%) !important;
  color: #fff !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.internship-cta-btn:hover {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--gold-deep) 100%) !important;
}

.internship-bento-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mock-console-frame {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 250px;
}

.mock-console-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1.5px solid var(--border-light);
  align-items: center;
}

.mock-console-path {
  font-size: 11px;
  font-family: monospace;
  color: var(--ink-muted);
  margin-left: auto;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 10px;
  border-radius: 4px;
}

.mock-console-body {
  flex: 1;
  padding: 16px 20px;
  font-family: monospace;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.console-line {
  white-space: nowrap;
  overflow: hidden;
}

.c-accent { color: var(--accent-deep); font-weight: bold; }
.c-success { color: #10b981; font-weight: bold; }
.c-highlight { color: var(--ink); font-weight: 600; }
.c-coral { color: var(--coral-deep); font-weight: bold; }
.c-teal { color: var(--accent-deep); font-weight: bold; }
.c-gold { color: var(--gold-deep); font-weight: bold; }

.console-cursor {
  width: 8px;
  height: 14px;
  background-color: var(--ink);
  display: inline-block;
  margin-left: 2px;
  animation: blink-cursor 1.2s infinite;
}

@keyframes blink-cursor {
  50% { opacity: 0; }
}

@media (max-width: 1024px) {
  .internship-bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-md);
  }
  
  .internship-bento-preview {
    order: -1;
  }
  
  .internship-h3, .internship-desc {
    text-align: left;
  }
  
  .internship-badge {
    margin-left: 0;
    margin-right: auto;
  }
  
  .internship-cta-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   13. CONTACT — Clean Split Layout
   -------------------------------------------------------------------------- */
.contact-scene {
  padding: var(--space-3xl) 0;
  background: var(--contact-bg, var(--surface-tint));
  position: relative;
  overflow: hidden;
}

.contact-scene::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-xl), 2.8vw, var(--t-2xl));
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.contact-sub {
  font-size: var(--t-base);
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  max-width: 44ch;
}

.contact-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.contact-info-refined {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--t-sm);
  color: var(--ink-mid);
  transition: color 0.2s ease;
}

.contact-info-item:hover { color: var(--accent); }

/* Contact form panel */
.contact-form-elevated {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: 0 32px 80px oklch(0.13 0.04 255 / 0.03),
              0 8px 24px oklch(0.13 0.04 255 / 0.01);
}

.contact-form-heading {
  font-family: var(--font-serif);
  font-size: var(--t-xl);
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.contact-form-sub {
  font-size: var(--t-sm);
  color: var(--ink-mid);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* ── Contact Form Tab Switching ── */
.contact-tabs-container {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-lg);
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 2px;
}

.contact-tab-trigger {
  background: none;
  border: none;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}

.contact-tab-trigger:hover {
  color: var(--ink);
}

.contact-tab-trigger.tab-active {
  color: var(--accent) !important;
}

.contact-tab-trigger.tab-active::after {
  content: '';
  position: absolute;
  bottom: -3.5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}


.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-md); }

.form-label {
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-serif);
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-faint);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.56 0.18 248 / 0.12);
}

.form-textarea { resize: vertical; min-height: 100px; }

/* --------------------------------------------------------------------------
   14. MASCOT
   -------------------------------------------------------------------------- */
.mascot-roaming-widget {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-mascot);
  transition: transform 1.2s cubic-bezier(0.34, 1.1, 0.64, 1);
  cursor: pointer;
  user-select: none;
}

.mascot-roaming-widget.scrolling-dock {
  opacity: 0.6;
  transform: scale(0.9) !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mascot-character-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot-roaming-img {
  width: 80px;
  height: auto;
  transition: transform 0.3s var(--ease-expo);
  filter: drop-shadow(0 8px 20px oklch(0.56 0.18 248 / 0.18));
}

.mascot-character-wrapper:hover .mascot-roaming-img {
  transform: scale(1.06) translateY(-4px);
}

.mascot-ground-shadow {
  width: 56px;
  height: 10px;
  background: oklch(0.56 0.18 248 / 0.12);
  border-radius: 50%;
  margin-top: -4px;
  filter: blur(4px);
}

.mascot-speech-bubble {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-md);
  width: 260px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-expo),
              transform 0.3s var(--ease-expo);
}

.mascot-speech-bubble.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 28px;
  width: 16px;
  height: 8px;
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 2px 2px oklch(0.56 0.18 248 / 0.1));
}

.speech-header {
  font-family: var(--font-serif);
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.speech-text {
  font-size: var(--t-sm);
  color: var(--ink-mid);
  line-height: 1.6;
}

/* Mascot particles */
.awwwards-star-particle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: starFly 0.9s var(--ease-expo) forwards;
}

.star-theme-blue-teal   { background: var(--accent); }
.star-theme-gold-orange { background: var(--gold); }
.star-theme-emerald     { background: var(--teal); }
.star-theme-crystal     { background: var(--accent-light); }

@keyframes starFly {
  from {
    opacity: 1;
    transform: scale(var(--star-scale, 1)) rotate(var(--star-rot, 0deg));
  }
  to {
    opacity: 0;
    transform: translate(var(--drift-x, 0), var(--drift-y, -24px)) scale(0.2) rotate(calc(var(--star-rot, 0deg) + 120deg));
  }
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.56 0.18 248 / 0.35), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-lg);
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-copy {
  font-size: var(--t-sm);
  color: oklch(1 0 0 / 0.48);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  max-width: 38ch;
}

.company-info-block {
  font-size: var(--t-xs);
  color: oklch(1 0 0 / 0.35);
  line-height: 1.8;
}

.company-info-block a {
  color: oklch(0.74 0.12 245);
  transition: color 0.2s ease;
}
.company-info-block a:hover { color: var(--accent-light); }

.footer-heading {
  font-family: var(--font-serif);
  font-size: var(--t-xs);
  font-weight: 700;
  color: oklch(1 0 0 / 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: var(--t-sm);
  color: oklch(1 0 0 / 0.52);
  transition: color 0.2s ease;
  line-height: 1.5;
}

.footer-links a:hover { color: oklch(1 0 0 / 0.85); }

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-xs);
  color: oklch(1 0 0 / 0.32);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal-links a {
  color: oklch(1 0 0 / 0.32);
  transition: color 0.2s ease;
}
.footer-legal-links a:hover { color: oklch(1 0 0 / 0.65); }

/* --------------------------------------------------------------------------
   16. MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0.13 0.04 255 / 0.70);
  backdrop-filter: blur(12px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-expo), backdrop-filter 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 0; /* Handled inside panels */
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 80px oklch(0.13 0.04 255 / 0.35),
              0 8px 24px oklch(0.13 0.04 255 / 0.2);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-light);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 520px;
  max-height: 90vh;
}

@media (max-width: 800px) {
  .modal-grid {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
}

.modal-visual-pane {
  background: linear-gradient(135deg, var(--surface-tint) 0%, oklch(0.99 0.003 248) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  border-right: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

@media (max-width: 800px) {
  .modal-visual-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    aspect-ratio: 1.5;
    padding: var(--space-lg);
  }
}

.modal-text-pane {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
  overflow-y: auto;
  max-height: 90vh;
}

@media (max-width: 800px) {
  .modal-text-pane {
    padding: var(--space-xl);
    max-height: none;
    overflow-y: visible;
  }
}

/* Modal typography & specific lists */
.modal-badge-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.modal-h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-lg), 2.2vw, var(--t-xl));
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.modal-desc {
  font-size: var(--t-base);
  color: var(--ink-mid);
  line-height: 1.8;
}

.modal-features-box {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.modal-features-box h4 {
  font-size: var(--t-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-features-list li {
  font-size: var(--t-sm);
  color: var(--ink-mid);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.modal-features-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--ink-mid);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px oklch(0.13 0.04 255 / 0.08);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* Luxury Contact Form Redesign */
.contact-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  min-height: 580px;
  max-height: 90vh;
}

.contact-visual-pane {
  background: linear-gradient(135deg, var(--surface-tint) 0%, oklch(0.99 0.003 248) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
  border-right: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.contact-form-pane {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
  overflow-y: auto;
  max-height: 90vh;
}

.luxury-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  width: 100%;
}

.form-group-lux {
  position: relative;
  margin-top: 24px;
  width: 100%;
}


.form-input-lux,
.form-textarea-lux {
  width: 100%;
  padding: 10px 0;
  font-family: var(--font-serif);
  font-size: var(--t-base);
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-light);
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
}

.form-textarea-lux {
  resize: none;
  min-height: 90px;
}

.form-label-lux {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: var(--t-base);
  color: var(--ink-faint);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 500;
  font-family: var(--font-serif);
  transform-origin: left top;
  white-space: nowrap;
}

/* Floating Label Animations */
.form-input-lux:focus ~ .form-label-lux,
.form-input-lux:not(:placeholder-shown) ~ .form-label-lux,
.form-textarea-lux:focus ~ .form-label-lux,
.form-textarea-lux:not(:placeholder-shown) ~ .form-label-lux {
  transform: translateY(-22px) scale(0.85);
  color: var(--accent);
  font-weight: 700;
}

.focus-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.form-input-lux:focus ~ .focus-line,
.form-textarea-lux:focus ~ .focus-line {
  transform: scaleX(1);
}

.btn-lux-submit {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  padding: 15px var(--space-xl);
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--t-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px oklch(0.13 0.04 255 / 0.15);
}

.btn-lux-submit:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 12px oklch(0.13 0.04 255 / 0.05);
}

.btn-lux-submit:hover .svg-btn-icon {
  transform: translateX(4px);
}

/* Responsiveness overrides */
@media (max-width: 800px) {
  .contact-modal-grid {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .contact-visual-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    aspect-ratio: 1.5;
    padding: var(--space-xl);
  }
  .form-grid-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* --------------------------------------------------------------------------
   17. Reduced Motion — accessibility gate
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-line,
  .hero-overline,
  .hero-sub,
  .hero-actions { opacity: 1; transform: none; filter: none; }

  .mission-line-inner  { transform: none !important; opacity: 1 !important; }
  .reveal-ready        { opacity: 1 !important; transform: none !important; filter: none !important; }
  .service-media-reveal{ clip-path: none !important; }
  .scroll-cue          { opacity: 1; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Phase 1: Dynamic Layout Grid Utilities ── */
.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.grid-5col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .grid-5col {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2col, .grid-3col, .grid-4col, .grid-5col {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
  }
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Hide hero visual column (central blue orb and floating stat cards) on mobile/tablet */
  .hero-visual-col {
    display: none !important;
  }

  /* Hide scroll cue on mobile/tablet viewports to prevent layout overlap/collisions with bottom hero contents */
  .scroll-cue {
    display: none !important;
  }

  /* Disable initial CSS blur state on mobile/tablet to avoid massive rendering repaints & flickering */
  .reveal-ready {
    filter: none !important;
    will-change: opacity, transform !important;
  }

  /* Stop background decorative orbs from infinitely keyframe-animating to prevent lag and repaint flickering on mobile */
  .hero-orb {
    animation: none !important;
  }

  /* Lock body scrolling on mobile menu open to prevent flickering and viewport reflows */
  body.nav-active {
    overflow: hidden !important;
  }

  /* Disable heavy backdrop-filters on scroll-visible containers and replace with opaque surfaces */
  .luxe-bento-card,
  .brand-origin-card,
  .sp-card,
  .sp-card-luxury,
  .service-elev-inner,
  .concept-card,
  .modal-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--surface) !important;
    will-change: auto !important; /* Release GPU compositing layers on mobile */
  }

  /* Restore modal-overlay specific background — it needs to stay semi-opaque */
  .modal-overlay {
    background: oklch(0.13 0.04 255 / 0.85) !important;
  }

  /* Lock hero section to viewport height so the scroll cue is always at the bottom of the screen */
  .hero-section {
    min-height: 100dvh !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: var(--space-xl) var(--space-md) 0 !important;
  }

  /* Center typography, buttons, and metrics for a clean mobile-first alignment */
  .hero-text-col {
    align-items: center !important;
    text-align: center !important;
  }
  .hero-h1 {
    text-align: center !important;
  }
  .hero-sub {
    text-align: center !important;
  }
  .hero-actions {
    justify-content: center !important;
  }
  .hero-trust-strip {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: var(--space-xs) !important;
  }

    .contact-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .concept-grid {
    grid-template-columns: 1fr;
  }

  /* ── Redesigned Concept Section for Mobile/Tablet ── */
  .concept-progress-container {
    display: none !important; /* Hide redundant vertical timeline progress tracker on mobile/tablet */
  }

  .concept-sticky-bg-num {
    font-size: 10rem !important;
    position: absolute !important;
    right: -10px !important;
    top: 40px !important;
    opacity: 0.03 !important;
    z-index: -1 !important;
  }

  .concept-sticky-col {
    position: static !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .concept-subheading {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .concept-sticky-cta {
    display: inline-flex !important;
    margin: var(--space-md) auto var(--space-xl) !important;
    width: fit-content !important;
  }

  .concept-scroll-col {
    padding-bottom: 0 !important; /* Clear desktop bottom padding */
    gap: var(--space-md) !important;
  }

  .concept-card {
    opacity: 1 !important; /* Fully visible on mobile/tablet */
    transform: none !important;
    pointer-events: auto !important;
    background: oklch(0.99 0.004 250) !important; /* Fully opaque — no backdrop blur on mobile */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid oklch(0.13 0.04 255 / 0.1) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-xl) var(--space-lg) !important;
    box-shadow: 0 4px 20px oklch(0.13 0.04 255 / 0.05) !important;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm) !important;
    position: relative !important;
  }

  /* Focus left-border accents for cards */
  .concept-card:nth-child(1) { border-left: 4px solid var(--accent) !important; }
  .concept-card:nth-child(2) { border-left: 4px solid var(--teal) !important; }
  .concept-card:nth-child(3) { border-left: 4px solid var(--gold) !important; }

  .concept-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    margin: 0 !important;
    font-family: var(--font-serif) !important;
  }

  .concept-card-subtitle {
    font-size: 0.8rem !important;
    color: var(--ink-muted) !important;
    font-weight: 500 !important;
  }

  .concept-card-body {
    font-size: 0.88rem !important;
    line-height: 1.75 !important;
    color: var(--ink-mid) !important;
    margin: var(--space-xs) 0 !important;
  }

  .concept-card-num {
    font-size: 2.5rem !important;
    font-family: var(--font-sans) !important;
    font-weight: 800 !important;
    color: oklch(0.13 0.04 255 / 0.06) !important;
    position: absolute !important;
    right: 20px !important;
    bottom: 12px !important;
    line-height: 1 !important;
  }

  .concept-card-tags-row {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-top: auto !important;
  }

  .concept-micro-tag {
    background: oklch(0.13 0.04 255 / 0.03) !important;
    color: var(--ink-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    border: 1.5px solid oklch(0.13 0.04 255 / 0.05) !important;
  }

  /* Center-align Services content on tablet/mobile */
  .services-header-horizontal {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .services-lead {
    text-align: center !important;
  }

  /* Center-align Mission content on tablet/mobile */
  .mission-header-block {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .mission-headline {
    text-align: center !important;
  }
  .mission-sub {
    text-align: center !important;
  }
  .mission-cta {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* Center-align Contact content on tablet/mobile */
  .contact-left {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .contact-h2 {
    text-align: center !important;
  }
  .contact-sub {
    text-align: center !important;
  }
  .contact-actions {
    justify-content: center !important;
  }
  .contact-info-refined {
    justify-content: center !important;
    align-items: center !important;
  }
}

@media (max-width: 768px) {
  :root {
  --font-serif: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'BIZ UDMincho', var(--font-serif);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'BIZ UDMincho', var(--font-serif);
  --font-mono: ui-monospace, SFMono-Regular, SF Pro Mono, Menlo, Monaco, Consolas, monospace;
    --t-3xl: 3.2rem;
    --t-4xl: 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-md) 0;
  }
  .hero-visual-col { display: none; }
  .hero-h1 { font-size: clamp(2.4rem, 9vw, 3.8rem); }

  .mission-values-strip {
    grid-template-columns: 1fr;
  }
  .value-strip-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Mobile nav container adjustments */
  .nav-container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .logo-group {
    order: 1;
  }
  .cta-group {
    order: 2;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Luxurious dropdown expanding menu widget on mobile */
  .nav-dock {
    display: block; /* Sits below logo and toggle */
    position: static; /* Natural flex wrapping inside header */
    width: 100%;
    order: 3;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    z-index: var(--z-nav);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease,
                margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s;
  }
  .nav-dock.active {
    opacity: 1;
    visibility: visible;
    max-height: 520px; /* Sized to contain list + open accordion subpages */
    margin-top: var(--space-md);
    padding-bottom: var(--space-xs);
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-dock-link {
    font-size: var(--t-md);
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 8px var(--space-md);
    display: block;
    color: var(--ink-mid);
    transition: color 0.25s ease;
  }
  
  /* Highlight active accordion parent */
  .nav-item.dropdown-active > .nav-dock-link {
    color: var(--accent) !important;
  }

  .magic-pill { display: none; }
  .mobile-toggle { display: flex; }
  .cta-dock-btn { display: none; }
  
  /* Show dropdown items inline nested in mobile menu with accordion styling */
  .nav-dropdown {
    display: block;
    position: static;
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: unset;
    
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease,
                visibility 0.3s;
  }
  
  .nav-item.dropdown-active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 350px; /* Expands smoothly */
    padding-top: var(--space-3xs);
    padding-bottom: var(--space-2xs);
    border-bottom: 1px solid oklch(0.13 0.04 255 / 0.04);
  }

  .dropdown-link {
    justify-content: center;
    padding: 8px var(--space-md);
    font-size: var(--t-xs);
    color: var(--ink-muted);
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.25s ease, background-color 0.25s ease;
  }
  
  .dropdown-link:active {
    color: var(--accent-deep);
    background-color: var(--accent-pale);
  }

  .dropdown-link svg {
    display: none;
  }

  /* Redesigned Floating Dock on Mobile: expands vertically as a dropdown */
  .header.floating-dock,
  body:not(.loading) .header.floating-dock {
    top: 0.75rem;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 480px) !important;
    padding: 10px 16px !important;
    border-radius: 20px !important; /* Premium widget card shape */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: oklch(0.99 0.004 250 / 0.96) !important;
    border: 1px solid oklch(0.56 0.18 248 / 0.12) !important;
    box-shadow: 0 8px 32px oklch(0.13 0.04 255 / 0.07), inset 0 0 0 1px oklch(1 0 0 / 0.65) !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* Completely hide the mascot widget on mobile to prevent clutter */
  .mascot-roaming-widget {
    display: none !important;
  }

  /* Performance optimization: disable reveal blur animations to prevent scrolling lag */
  .reveal-ready {
    filter: none !important;
  }

  /* Metric card panels: clear side borders on mobile and stack with top borders instead */
  .sp-highlight-panel > div {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }
  .sp-highlight-panel > div:first-child {
    border-top: none !important;
    padding-top: 0;
  }
  .sp-highlight-panel > div:last-child {
    padding-bottom: 0;
  }

  /* Stack and center value strip items only on mobile */
  .value-strip-item {
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: var(--space-xs) !important;
  }
  .value-strip-content {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero-grid  { padding: var(--space-lg) var(--space-md) 0; }

  .contact-form-elevated { padding: var(--space-xl); }
  .concept-card          { padding: var(--space-xl) var(--space-lg); }
  .service-elev-inner    { padding: var(--space-xl) var(--space-lg); }

  .btn { padding: 12px 24px; }
  .contact-actions { flex-direction: column; }
}

/* Body lock when nav active - disabled for mobile dropdown */

/* --------------------------------------------------------------------------
   19. Utility classes
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Legacy compatibility — border-mid for modals */
.border-mid { border-color: var(--border-mid); }

/* Contact bg token */
:root {
  --font-serif: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'BIZ UDMincho', var(--font-serif);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'BIZ UDMincho', var(--font-serif);
  --font-mono: ui-monospace, SFMono-Regular, SF Pro Mono, Menlo, Monaco, Consolas, monospace;
  --contact-bg: oklch(0.97 0.010 248);
  --font-xl:  var(--t-xl);
  --font-lg:  var(--t-lg);
  --font-md:  var(--t-md);
  --font-sm:  var(--t-sm);
  --font-xs:  var(--t-xs);
  --font-base:var(--t-base);
  --font-2xl: var(--t-2xl);
}

/* --------------------------------------------------------------------------
   17. Reduced Motion — mandatory accessibility gate (Emil: no exceptions)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-line,
  .hero-overline,
  .hero-sub,
  .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .mission-line-inner {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .service-media-reveal { clip-path: none !important; }

  .scroll-cue { opacity: 1 !important; animation: none !important; }
  .scroll-cue-line { animation: none !important; }

  .cursor-dot, .cursor-ring { display: none !important; }

  .orb-ring-outer, .orb-ring-mid, .orb-gold-arc,
  .orb-core-pulse, .orb-inner-fill { animation: none !important; }

}

/* ==========================================================================
   18. Service Subpages Styling — Cinematic × Editorial (Phase 1)
   ========================================================================== */

/* ── Breadcrumbs ── */
.breadcrumb-container {
  padding: calc(var(--space-xl) + 60px) 0 var(--space-md) 0; /* Clear sticky header */
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-serif);
  font-size: var(--t-sm);
  color: var(--ink-muted);
}

.breadcrumb-link {
  color: var(--ink-muted);
  transition: color 0.22s ease;
}

.breadcrumb-link:hover {
  color: var(--accent);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumb-separator {
  color: var(--ink-faint);
  font-weight: 300;
}

/* ── Subpage Hero Layout ──
   Uses height: calc(100svh - 160px) so the section ends precisely at the
   viewport bottom regardless of the ~157px breadcrumb block above it.
   A definite height (not min-height) also lets position:absolute children
   use bottom: correctly per spec. min-height: 520px is the safety floor. */
.subpage-hero {
  position: relative;
  min-height: calc(100svh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: linear-gradient(to bottom, var(--surface), var(--surface-tint) 75%, var(--surface) 100%);
  overflow: hidden;
}

/* Scroll cue — anchored to bottom of the definite-height hero */
.subpage-hero .scroll-cue {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.8s;
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-2xl);
  align-items: center;
}

.subpage-hero-grid > * {
  min-width: 0;
}

/* ── Typography & Overlines ── */
.subpage-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.subpage-overline-bar {
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--accent);
}

/* ── Boxed Overlines Badge formatting ── */
.subpage-overline[style*="border-color"] {
  border-width: 1.5px !important;
  border-style: solid !important;
  padding: 4px 12px !important;
  border-radius: var(--radius-sm) !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.65rem !important; /* Slightly smaller for premium look */
  height: auto !important;
}

.subpage-h1 {
  font-size: clamp(var(--t-xl), 4.5vw, var(--t-3xl));
  color: var(--ink);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.subpage-sub {
  font-size: var(--t-md);
  color: var(--ink-mid);
  margin-bottom: var(--space-lg);
  max-width: 46ch;
  line-height: 1.7;
}

.subpage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* ── Statistics / Trust badges ── */
.subpage-stat-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-lg);
}

.subpage-stat-item {
  display: flex;
  flex-direction: column;
}

.subpage-stat-val {
  font-family: var(--font-serif);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.subpage-stat-label {
  font-size: var(--t-xs);
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ── Sections ── */
.sp-section {
  padding: var(--space-3xl) 0;
  background-color: var(--surface);
  position: relative;
}

.sp-section.bg-tint {
  background: linear-gradient(to bottom, var(--surface) 0%, var(--surface-tint) var(--space-2xl), var(--surface-tint) calc(100% - var(--space-2xl)), var(--surface) 100%);
}

.sp-section.bg-dark {
  background: linear-gradient(to bottom, var(--surface-dark), var(--surface-mid));
  color: var(--surface);
}

.sp-section-h2 {
  font-size: clamp(var(--t-lg), 3.2vw, var(--t-2xl));
  margin-bottom: var(--space-md);
  color: inherit;
  line-height: 1.3;
}

.sp-section.bg-dark .sp-section-h2 {
  color: var(--surface);
}

.sp-section-lead {
  font-size: var(--t-md);
  color: var(--ink-mid);
  margin-bottom: var(--space-2xl);
  max-width: 68ch;
  line-height: 1.7;
}
.sp-section-lead.text-center {
  margin-left: auto;
  margin-right: auto;
}

.sp-section.bg-dark .sp-section-lead {
  color: var(--ink-faint);
}

/* ── Standard subpage cards ── */
.sp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.sp-card-grid--3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

@media (min-width: 1025px) {
  .sp-card-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
  /* If there are exactly 10 cards, center the 10th card in Row 4 */
  .sp-card-grid--3col .sp-card:nth-child(10):last-child {
    grid-column: 2;
  }
}

.sp-card-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.sp-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s var(--ease-expo);
}

.sp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.sp-card-icon svg,
.sp-stat-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.sp-card-h3 {
  font-size: var(--t-md);
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.sp-card-desc {
  font-size: var(--t-sm);
  color: var(--ink-muted);
}

/* ── Statistics Card 2x2 grid ── */
.sp-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.sp-stat-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.sp-stat-card-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.sp-stat-card-number {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-xl), 3vw, var(--t-2xl));
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.sp-stat-card-label {
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.sp-stat-card-desc {
  font-size: var(--t-sm);
  color: var(--ink-muted);
}

/* ── Chat Mockup UI ── */
.sp-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.chat-mockup {
  width: 100%;
  max-width: 320px;
  background: var(--surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.chat-mockup-header {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
}

.chat-mockup-info {
  display: flex;
  flex-direction: column;
}

.chat-mockup-name {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ink);
}

.chat-mockup-status {
  font-size: 0.65rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-mockup-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.chat-mockup-body {
  padding: var(--space-sm);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.764rem;
  line-height: 1.4;
}

.chat-bubble.receiver {
  align-self: flex-start;
  background: var(--surface-tint);
  color: var(--ink);
  border-top-left-radius: 2px;
}

.chat-bubble.sender {
  align-self: flex-end;
  background: var(--accent-pale);
  color: var(--accent-deep);
  border-top-right-radius: 2px;
}

.chat-mockup-footer {
  padding: var(--space-xs) var(--space-sm);
  border-top: 1px solid var(--border-light);
  font-size: 0.65rem;
  color: var(--ink-muted);
  text-align: center;
  background: var(--surface-tint);
}

/* ── GEO AI Search Engine Mockup UI ── */
.search-mockup {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.sp-mockup-wrapper:hover .search-mockup {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-xl);
}

.search-mockup-header {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-mid);
}
.browser-dot:nth-child(1) { background: oklch(0.65 0.18 20); }
.browser-dot:nth-child(2) { background: oklch(0.8 0.15 85); }
.browser-dot:nth-child(3) { background: oklch(0.7 0.18 140); }

.browser-address {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.65rem;
  color: var(--ink-muted);
  text-align: center;
  font-family: monospace;
}

.search-mockup-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.search-query-bar {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-query-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-query-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
}

.search-query-text {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink);
}

.search-response-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.search-response-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-response-title svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.search-response-text {
  font-size: 0.72rem;
  color: var(--ink);
  line-height: 1.6;
}

.search-response-text strong {
  color: var(--accent-deep);
  font-weight: 700;
}

.search-citations-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  border-top: 1px dashed var(--border-light);
  padding-top: var(--space-sm);
}

.citation-card {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.65rem;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.4s ease;
}

.citation-card:hover {
  border-color: var(--accent-light);
}

.citation-num {
  font-weight: 700;
  color: var(--accent);
}

/* ── Web Features Bento Grid ── */
.web-features-bento {
  display: grid;
  grid-template-columns: 1.25fr 0.875fr 0.875fr;
  gap: var(--space-lg);
}

.web-features-bento .bento-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.web-features-bento .bento-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.web-features-bento .bento-card--featured {
  background: linear-gradient(135deg, var(--surface), var(--surface-tint));
  border-color: var(--border-mid);
}

.web-features-bento .bento-card--featured:hover {
  border-color: var(--accent-light);
}

/* Semantic Visual */
.bento-visual--semantic {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.semantic-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.bento-card:hover .semantic-node {
  transform: scale(1.03);
  border-color: var(--accent-light);
}

.node-tag {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.node-name {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink);
}

.semantic-connectors {
  width: 60%;
  height: 16px;
  position: relative;
}

.semantic-connectors::before,
.semantic-connectors::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--border-mid) 50%, rgba(255, 255, 255, 0) 0%);
  background-size: 2px 4px;
}

.semantic-connectors::before { left: 20%; transform: rotate(-25deg); }
.semantic-connectors::after { right: 20%; transform: rotate(25deg); }

@media (max-width: 1200px) {
  .semantic-connectors {
    display: none;
  }
}

.semantic-nodes-row {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

/* QA Visual */
.bento-visual--qa {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-top: var(--space-sm);
}

.qa-bubble {
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 8px;
  line-height: 1.4;
  box-shadow: var(--shadow-xs);
}

.qa-bubble.query {
  align-self: flex-end;
  background: var(--accent-pale);
  color: var(--ink);
  border-bottom-right-radius: 2px;
}

.qa-bubble.response {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 2px;
}

.db-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: oklch(0.96 0.015 170);
  padding: 1px 4px;
  border-radius: 3px;
  margin-bottom: 2px;
  margin-right: 4px;
}

/* Flow Visual */
.bento-visual--flow {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: var(--space-sm);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: var(--shadow-xs);
}

.flow-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
}

.flow-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink);
}

.flow-arrow {
  font-size: var(--t-xs);
  color: var(--accent-light);
  font-weight: bold;
  line-height: 1.0;
}

.flow-arrow::after {
  content: '→';
}

/* Bento responsive layout overrides (<= 1200px) */
@media (max-width: 1200px) {
  .web-features-bento {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .web-features-bento .bento-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .bento-visual--flow {
    flex-direction: column;
    gap: 6px;
  }
  
  .flow-step {
    width: 100%;
    max-width: 180px;
    justify-content: center;
  }
  
  .flow-arrow::after {
    content: '↓';
  }
}

/* ── Dashboards Mockup UI ── */
.dashboard-mockup {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
}

.db-header {
  background: var(--ink);
  color: white;
  padding: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.db-title {
  font-weight: 600;
}

.db-body {
  padding: var(--space-md);
  background: var(--surface-tint);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.db-alert {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.db-alert-icon { font-size: 1rem; }

.db-card-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-sm);
}

.db-user-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.db-metrics {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.db-metrics-val {
  font-size: var(--t-md);
  font-weight: 700;
  color: #DC2626;
}

.db-notice {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.db-actions {
  display: flex;
  gap: 8px;
}

.db-btn {
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.65rem;
}

.db-btn-primary {
  background: var(--accent);
  color: white;
}

.db-btn-secondary {
  border: 1px solid var(--border-mid);
  color: var(--ink);
}

/* ── Especially For / SES Layout ── */
.sp-ses-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.sp-diagram-panel {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sp-diagram-panel:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sp-ses-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: var(--space-xs) 0;
  width: 100%;
}

.sp-ses-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sp-ses-node-box {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: var(--t-xs);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.sp-diagram-panel:hover .sp-ses-node-box {
  background: var(--surface);
  border-color: var(--accent-light);
  transform: scale(1.02);
}

/* Broken Connection Bridge */
.ses-bridge {
  display: flex;
  align-items: center;
  flex: 1;
  margin: 0 var(--space-xs);
  position: relative;
}

.ses-bridge-line {
  flex: 1;
  height: 2px;
  background-image: linear-gradient(to right, var(--border-mid) 50%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 6px 2px;
  background-repeat: repeat-x;
}

.ses-bridge-status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: oklch(0.96 0.015 15);
  border: 1.5px solid oklch(0.6 0.15 15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin: 0 var(--space-2xs);
  box-shadow: 0 0 10px oklch(0.6 0.15 15 / 0.15);
  animation: pulseBridge 3s ease-in-out infinite;
}

@keyframes pulseBridge {
  0% { transform: scale(1); box-shadow: 0 0 10px oklch(0.6 0.15 15 / 0.15); }
  50% { transform: scale(1.08); box-shadow: 0 0 16px oklch(0.6 0.15 15 / 0.3); }
  100% { transform: scale(1); box-shadow: 0 0 10px oklch(0.6 0.15 15 / 0.15); }
}

.ses-bridge-status svg {
  width: 10px;
  height: 10px;
  color: oklch(0.5 0.18 15);
}

/* Speech quote widget */
.speech-quote {
  position: relative;
  background: var(--surface-tint);
  border-left: 3px solid var(--accent-light);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: var(--t-xs);
  color: var(--ink-mid);
  line-height: 1.6;
  font-style: italic;
  box-shadow: var(--shadow-xs);
}

/* Bullet list overrides */
.ses-danger-list {
  list-style: none;
  padding: 0;
  margin: var(--space-xs) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.ses-danger-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--t-xs);
  color: var(--ink-mid);
  line-height: 1.5;
}

.ses-danger-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: oklch(0.96 0.015 15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ses-danger-icon svg {
  width: 8px;
  height: 8px;
  color: oklch(0.55 0.18 15);
}

/* ── Cinematic Dark Spotlight Panel ── */
.sp-highlight-panel {
  background: linear-gradient(135deg, var(--surface-dark), oklch(0.08 0.02 255));
  color: var(--surface);
  border-radius: 16px;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid oklch(0.3 0.05 255 / 0.4);
}

/* Ambient glow orb inside statistics panel */
.sp-highlight-panel::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.72 0.14 82 / 0.12) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.sp-highlight-stat {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 8vw, 6.2rem);
  font-weight: 200; /* Extra thin luxurious weight */
  color: var(--gold);
  line-height: 1.0;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px oklch(0.72 0.14 82 / 0.25);
  animation: glowStat 6s ease-in-out infinite alternate;
}

@keyframes glowStat {
  0% { text-shadow: 0 0 20px oklch(0.72 0.14 82 / 0.15); }
  100% { text-shadow: 0 0 40px oklch(0.72 0.14 82 / 0.35); }
}

.sp-highlight-desc {
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: var(--surface);
  text-wrap: pretty;
}

.sp-highlight-sub {
  font-size: var(--t-xs);
  line-height: 1.4;
}

/* ── Academic Research Paper Section ── */
.sp-academic-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--space-xl);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-xl);
  max-width: 960px;
  margin: var(--space-xl) auto 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sp-academic-spotlight:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Faint architectural lines behind spotlight */
.sp-academic-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.2;
  pointer-events: none;
}

/* Left side: Badges and indicators */
.academic-impact-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
  border-right: 1px solid var(--border-light);
  padding-right: var(--space-xl);
  z-index: 1;
}

.academic-badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.academic-badge-item .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.4s ease, color 0.4s ease;
}

.sp-academic-spotlight:hover .academic-badge-item .badge-icon {
  background: var(--accent-pale);
  color: var(--accent-deep);
}

.academic-badge-item .badge-icon svg {
  width: 18px;
  height: 18px;
}

.academic-badge-item .badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.academic-badge-item .badge-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.academic-badge-item .badge-value {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink);
}

/* Right side: Paper abstract preview */
.academic-paper-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.paper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.paper-tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.paper-doi {
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--ink-muted);
}

.paper-title {
  font-family: var(--font-sans);
  font-size: var(--t-md);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 6px;
  font-style: italic;
}

.paper-subtitle {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  color: var(--ink-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.paper-translation {
  font-size: var(--t-xs);
  color: var(--ink-mid);
  background: var(--surface-tint);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.paper-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--t-xs);
  line-height: 1.5;
}

.detail-label {
  flex-shrink: 0;
  width: 110px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 12px;
}

.detail-label::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.detail-desc {
  color: var(--ink-muted);
}

/* Academic Responsive adjustments (<= 768px) */
@media (max-width: 768px) {
  .sp-academic-spotlight {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }
  
  .academic-impact-metrics {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: var(--space-lg);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-md);
  }
  
  .academic-badge-item {
    flex: 1 1 200px;
  }
}

/* ── Process Steps Flow ── */
.sp-process-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: var(--space-xl);
  gap: var(--space-md);
}

.sp-process-flow::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.sp-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.sp-process-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sp-process-step:hover .sp-process-number {
  background-color: var(--accent);
  color: white;
}

.sp-process-title {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.sp-process-desc {
  font-size: var(--t-xs);
  color: var(--ink-muted);
  max-width: 160px;
}

/* ── Interactive Process Timeline (Awwwards Quiet Luxury) ── */
.sp-process-section {
  position: relative;
  background: var(--surface);
  padding: var(--space-3xl) 0;
}
.sp-process-section.bg-tint {
  background: var(--surface-tint);
}

.sp-interactive-timeline {
  position: relative;
  margin-top: var(--space-2xl);
  padding: var(--space-md) 0;
}

/* Horizontal track line spanning across columns */
.timeline-rail {
  position: absolute;
  top: 8px; /* Centers vertically with the 16px indicator dots */
  left: 8.333%; /* Fallback to 6-step center */
  right: 8.333%;
  height: 2px;
  z-index: 1;
}

/* Step count positioning modifiers */
.sp-interactive-timeline--6steps .timeline-rail {
  left: 8.333%;
  right: 8.333%;
}
.sp-interactive-timeline--3steps .timeline-rail {
  left: 16.666%;
  right: 16.666%;
}
.sp-interactive-timeline--4steps .timeline-rail {
  left: 12.5%;
  right: 12.5%;
}

.timeline-rail-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-light);
  border-radius: 2px;
}

.timeline-rail-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--gold));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  position: relative;
  z-index: 2;
  gap: var(--space-xs);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
}

/* Elegant step indicator nodes */
.step-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 3;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.4s ease;
}

/* Luxury visual card wrapper */
.step-card {
  margin-top: var(--space-md);
  padding: var(--space-md) var(--space-xs);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: center;
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ink-faint);
  line-height: 1;
  margin-bottom: var(--space-xs);
  transition: color 0.4s ease, transform 0.4s ease;
}

.step-title {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.step-desc {
  font-size: var(--t-xs);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 180px;
  transition: color 0.4s ease;
}

/* Hover-based active highlights */
.timeline-step:hover .step-indicator {
  border-color: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px oklch(0.61 0.13 226 / 0.25);
}

.timeline-step:hover .step-dot {
  background-color: var(--accent);
}

.timeline-step:hover .step-card {
  background: var(--surface-tint);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.timeline-step:hover .step-number {
  color: var(--accent);
  transform: translateY(-2px);
}

.timeline-step:hover .step-title {
  color: var(--accent);
}

.timeline-step:hover .step-desc {
  color: var(--ink);
}

/* ── Responsive / Mobile Adjustments (<= 1024px) ── */
@media (max-width: 1024px) {
  .sp-interactive-timeline {
    padding-left: var(--space-md);
    margin-top: var(--space-xl);
  }
  
  .timeline-rail {
    top: 24px !important; /* starts at the center of the first indicator */
    bottom: 24px !important; /* ends at the center of the last indicator */
    left: calc(var(--space-md) + 12px) !important; /* aligns exactly with the center of the 24px step grid column */
    right: auto !important;
    width: 2px !important;
    height: calc(100% - 48px) !important;
  }
  
  .timeline-rail-progress {
    width: 100% !important;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-light), var(--accent), var(--accent-deep)) !important;
  }
  
  .timeline-steps {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important; /* override the desktop grid-auto-flow: column bug */
    gap: var(--space-md) !important;
  }
  
  .timeline-step {
    display: grid !important;
    grid-template-columns: 24px 1fr !important;
    align-items: center !important; /* vertically center circle relative to the card */
    gap: var(--space-md) !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer;
  }
  
  .step-indicator {
    width: 16px !important;
    height: 16px !important;
    margin: 0 auto !important; /* centered by grid container */
    border-radius: 50% !important;
    background: var(--surface) !important;
    border: 2px solid var(--border-light) !important;
    z-index: 3 !important;
    flex-shrink: 0 !important;
  }
  
  .step-card {
    margin-top: 0 !important;
    padding: var(--space-md) !important;
    background: oklch(0.995 0.005 32.5 / 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    text-align: left !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  
  .step-number {
    font-family: var(--font-serif) !important;
    font-size: 1.8rem !important;
    color: var(--accent) !important;
    font-weight: 300 !important;
    margin-bottom: var(--space-2xs) !important;
  }

  .step-title {
    font-family: var(--font-sans) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: var(--ink) !important;
    margin-bottom: var(--space-xs) !important;
    white-space: normal !important;
  }
  
  .step-desc {
    font-size: 0.82rem !important;
    color: var(--ink-mid) !important;
    line-height: 1.65 !important;
    max-width: none !important;
  }
  
  /* Prevent horizontal hover translations on mobile touch */
  .timeline-step:hover .step-card {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
    background: oklch(0.995 0.005 32.5 / 0.8) !important;
    border-color: var(--border-light) !important;
  }
  .timeline-step:hover .step-indicator {
    transform: none !important;
    box-shadow: none !important;
  }
  .timeline-step:hover .step-number {
    transform: none !important;
  }
}

/* ── WeConnect Premium Bento Grid ── */
.weconnect-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: var(--space-lg);
}

.bento-card-content {
  flex: 1;
}

/* Bento Visuals */
.bento-visual {
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--surface-tint);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-card:hover .bento-visual {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.bento-visual--chat {
  width: 240px;
  gap: var(--space-2xs);
  font-size: var(--t-xs);
}

.mini-chat-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 85%;
  line-height: 1.45;
  font-size: var(--t-xs);
  box-shadow: var(--shadow-xs);
}

.mini-chat-bubble.is-user {
  align-self: flex-end;
  background: var(--accent-pale);
  color: var(--ink);
  border-bottom-right-radius: 2px;
}

.mini-chat-bubble.is-ai {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 2px;
}

.avatar-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.bento-visual--stats {
  width: 240px;
  gap: var(--space-sm);
}

.bento-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-trend {
  font-size: 0.7rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.stat-progress-bar {
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}

.stat-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* Background/decoration styling for narrow cards */
.bento-visual-decor {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--border-light);
  opacity: 0.35;
  line-height: 1;
  position: absolute;
  bottom: 8px;
  right: 16px;
  user-select: none;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.bento-card:hover .bento-visual-decor {
  transform: scale(1.05) translate(-4px, -2px);
  opacity: 0.55;
  color: var(--accent);
}

.bento-visual-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.bento-card:hover .bento-visual-line {
  opacity: 0.9;
}

.pulse-line {
  width: 100%;
  height: 100%;
}

/* Pulse drawing animation along SVG path */
.pulse-line path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPulse 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes drawPulse {
  0% { stroke-dashoffset: 200; opacity: 0.3; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -200; opacity: 0.3; }
}

/* Bento responsive layout overrides (<= 1024px) */
@media (max-width: 1024px) {
  .weconnect-bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .bento-card--wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .bento-visual {
    width: 100%;
    max-width: none;
  }
  
  .mini-chat-bubble {
    max-width: 90%;
  }
}

/* ── Why it Feels Real Flow ── */
.sp-cycle-flow {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.sp-cycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sp-cycle-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-tint);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
}

.sp-cycle-arrow {
  font-size: 1.5rem;
  color: var(--accent-light);
}

.sp-metric-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.sp-metric-card {
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  text-align: center;
}

.sp-metric-name {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.sp-metric-jp {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.sp-metric-target {
  font-family: var(--font-serif);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--accent);
}

/* ── Dark CTA Section ── */
.sp-dark-cta {
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-mid) 100%);
  color: var(--surface);
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.sp-dark-cta-h2 {
  font-size: clamp(var(--t-lg), 3.5vw, var(--t-2xl));
  margin-bottom: var(--space-md);
  color: var(--surface);
}

.sp-dark-cta-sub {
  font-size: var(--t-md);
  color: var(--ink-faint);
  margin-bottom: var(--space-2xl);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Free Diagnosis Card (Web page) ── */
.floating-diag-card {
  background: oklch(0.96 0.02 226); /* Very pale light blue */
  border: 1px solid oklch(0.78 0.08 226 / 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  margin-top: 0;
  z-index: 10;
  position: relative;
}

.diag-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.diag-badge {
  background: white;
  border: 1px solid oklch(0.78 0.08 226 / 0.3);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.diag-h3 {
  font-size: var(--t-lg);
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.diag-desc {
  font-size: var(--t-sm);
  color: var(--ink-muted);
  margin-bottom: var(--space-lg);
  max-width: 60ch;
}

.diag-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  border-top: 1px solid oklch(0.78 0.08 226 / 0.3);
  padding-top: var(--space-lg);
}

.diag-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-sm);
  color: var(--ink-mid);
}

.diag-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

/* ── Interactive Slideshow Carousel (Solution page) ── */
.solution-slideshow-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: var(--space-md) 0;
}

.solution-carousel-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
}

.carousel-slide-card {
  width: 280px;
  height: 170px;
  flex-shrink: 0;
  background: oklch(0.99 0.004 250 / 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid oklch(0.56 0.18 248 / 0.08);
  border-radius: 18px;
  box-shadow: 
    0 8px 30px oklch(0.1 0.02 240 / 0.02),
    inset 0 1px 1px oklch(1 0 0 / 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  font-family: var(--font-sans);
}

.carousel-slide-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: oklch(0.56 0.18 248 / 0.22);
  box-shadow: 
    0 16px 40px oklch(0.1 0.02 240 / 0.06),
    inset 0 1px 2px oklch(1 0 0 / 0.8);
}

.carousel-slide-head {
  padding: 12px 14px 10px;
  border-bottom: 1px solid oklch(0.56 0.18 248 / 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-head-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: oklch(0.56 0.18 248 / 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.carousel-head-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.carousel-head-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.carousel-head-status {
  margin-left: auto;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
}

.carousel-head-status.active {
  background: oklch(0.62 0.16 145 / 0.08);
  color: oklch(0.62 0.16 145);
}
.carousel-head-status.live {
  background: oklch(0.56 0.18 248 / 0.08);
  color: oklch(0.56 0.18 248);
}
.carousel-head-status.ready {
  background: oklch(0.62 0.16 145 / 0.08);
  color: oklch(0.62 0.16 145);
}
.carousel-head-status.online {
  background: oklch(0.56 0.18 248 / 0.08);
  color: oklch(0.56 0.18 248);
}
.carousel-head-status.running {
  background: oklch(0.58 0.18 290 / 0.08);
  color: oklch(0.58 0.18 290);
}

.carousel-head-status .status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}

/* Pulsing effect for active statuses */
.carousel-head-status.live .status-dot,
.carousel-head-status.active .status-dot,
.carousel-head-status.running .status-dot {
  animation: status-pulse 1.6s infinite ease-in-out;
}

@keyframes status-pulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.5; }
}

.carousel-slide-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Layout details: Chat mockups */
.card-layout-chat {
  font-size: 0.64rem;
  justify-content: flex-end;
}
.chat-bubble {
  padding: 6px 10px;
  border-radius: 12px;
  max-width: 90%;
  line-height: 1.4;
  word-break: break-all;
}
.bubble-user {
  background: oklch(0.96 0.005 240);
  color: var(--ink-muted);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.bubble-ai {
  background: oklch(0.56 0.18 248);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 12px oklch(0.56 0.18 248 / 0.15);
}
.bubble-ai.accent-gradient {
  background: linear-gradient(135deg, oklch(0.56 0.18 248), oklch(0.68 0.14 260));
}

/* Typing indicator dots */
.chat-typing {
  display: flex;
  gap: 3px;
  margin-bottom: 2px;
  align-items: center;
  height: 6px;
}
.chat-typing span {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Layout details: Stat dashboard */
.card-layout-stat {
  justify-content: space-between;
}
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-trend {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}
.stat-trend.trend-up {
  background: oklch(0.62 0.16 145 / 0.08);
  color: oklch(0.62 0.16 145);
}
.stat-sparkline-wrap {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: flex-end;
}
.stat-sparkline {
  width: 100%;
  height: 100%;
}
.stat-label {
  font-size: 0.6rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Layout details: Document / Checklists */
.card-layout-document {
  font-size: 0.62rem;
  justify-content: space-evenly;
}
.doc-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
}
.doc-check-icon {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: oklch(0.62 0.16 145);
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* Layout details: Flowchart nodes */
.card-layout-flow {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--ink-muted);
  width: 64px;
  text-align: center;
}
.flow-step .flow-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: oklch(0.96 0.005 240);
  color: var(--ink-muted);
  padding: 6px;
  box-shadow: inset 0 1px 1px oklch(1 0 0 / 0.4);
  transition: all 0.3s ease;
}
.flow-step.highlight .flow-icon {
  background: oklch(0.56 0.18 248 / 0.08);
  color: var(--accent);
  box-shadow: 0 4px 10px oklch(0.56 0.18 248 / 0.12);
}
.flow-connector {
  flex: 1;
  display: flex;
  justify-content: center;
  color: oklch(0.56 0.18 248 / 0.22);
}
.flow-connector svg {
  width: 14px;
  height: 14px;
}

/* ── Terminal Window Mockup Frame ── */
.terminal-mockup-frame {
  background: oklch(0.99 0.004 250 / 0.45);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid oklch(0.56 0.18 248 / 0.1);
  border-radius: 20px;
  box-shadow: 
    0 30px 60px oklch(0.15 0.02 248 / 0.04),
    0 4px 20px oklch(0.15 0.02 248 / 0.01),
    inset 0 1px 2px oklch(1 0 0 / 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: var(--space-md) 0;
}

.terminal-mockup-header {
  padding: 14px 20px;
  background: oklch(0.99 0.004 250 / 0.5);
  border-bottom: 1px solid oklch(0.56 0.18 248 / 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots .dot-red { background: #FF5F56; }
.terminal-dots .dot-yellow { background: #FFBD2E; }
.terminal-dots .dot-green { background: #27C93F; }

.terminal-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 auto;
  transform: translateX(-12px); /* visual centering adjustment to offset dots */
}

.terminal-badge {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--accent);
  background: oklch(0.56 0.18 248 / 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.terminal-badge .status-dot-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: status-pulse 1.6s infinite ease-in-out;
}

.terminal-mockup-body {
  padding: 24px 0;
  position: relative;
  overflow: hidden;
  /* Soft boundary gradient fading mask */
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

/* ── Sprout Chat Demo bubbles ── */
.sprout-chat-demo {
  background: oklch(0.97 0.02 195); /* Very pale teal */
  border: 1.5px solid oklch(0.82 0.08 195 / 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.sprout-chat-header {
  border-bottom: 1px solid oklch(0.82 0.08 195 / 0.3);
  padding-bottom: 8px;
  font-weight: 700;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}


.sprout-chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.76rem;
  line-height: 1.45;
}

.sprout-chat-bubble.sprout {
  align-self: flex-start;
  background: white;
  color: var(--ink);
  border: 1px solid oklch(0.82 0.08 195 / 0.4);
  border-top-left-radius: 2px;
}

.sprout-chat-bubble.child {
  align-self: flex-end;
  background: var(--teal-light);
  color: var(--teal-deep);
  border-top-right-radius: 2px;
}

.sprout-chat-notice {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 0.65rem;
  text-align: center;
  font-weight: 600;
}

/* ── Teal variations ── */
.badge-teal {
  color: var(--teal-deep) !important;
  background-color: var(--teal-light) !important;
}

.chip-teal {
  background-color: var(--teal-light) !important;
  color: var(--teal-deep) !important;
  border-color: var(--teal-light) !important;
}

.h3-teal {
  color: var(--teal-deep) !important;
}

.link-teal {
  color: var(--teal-deep) !important;
}

.link-teal:hover {
  background-color: var(--teal-light) !important;
}

/* ── Gold variations ── */
.badge-gold {
  color: var(--gold-deep) !important;
  background-color: var(--gold-light) !important;
}

.chip-gold {
  background-color: var(--gold-light) !important;
  color: var(--gold-deep) !important;
  border-color: var(--gold-light) !important;
}

.h3-gold {
  color: var(--gold-deep) !important;
}

.link-gold {
  color: var(--gold-deep) !important;
}

.link-gold:hover {
  background-color: var(--gold-light) !important;
}

/* ── Custom variations ── */
.badge-custom {
  color: var(--accent-deep) !important;
  background-color: var(--accent-pale) !important;
}

.chip-custom {
  background-color: var(--accent-pale) !important;
  color: var(--accent-deep) !important;
  border-color: var(--accent-pale) !important;
}

.link-custom {
  color: var(--accent-deep) !important;
}

.link-custom:hover {
  background-color: var(--accent-pale) !important;
}

/* ── 2. Redesigned Statement Band (Methodology Redesign) ── */
.sp-statement-section {
  position: relative;
  padding: var(--space-3xl) 0;
  background: oklch(0.12 0.02 248); /* Deep stage dark indigo */
  overflow: hidden;
}

.statement-bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 15vw;
  font-weight: 700;
  color: oklch(1 0 0 / 0.02);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.statement-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, oklch(0.56 0.18 248 / 0.05) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: statement-glow-pulse 8s infinite alternate ease-in-out;
}

@keyframes statement-glow-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1.2; }
}

.statement-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl) auto;
}

.statement-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.statement-overline-bar {
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background-color: var(--accent);
}

.statement-heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--t-lg), 3.2vw, var(--t-xl));
  font-weight: 700;
  line-height: 1.4;
  color: white;
  margin-bottom: var(--space-md);
}

.statement-heading .highlight-text {
  color: oklch(0.78 0.12 85); /* Luxury warm gold highlight */
}

.statement-description {
  font-size: var(--t-sm);
  line-height: 1.85;
  color: oklch(0.9 0.01 250);
  max-width: 68ch;
  margin: 0 auto;
}

.comparison-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

.comp-card {
  border-radius: 24px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.comp-card-badge {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: var(--space-md);
}

.comp-card-title {
  font-size: var(--t-md);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-lg);
}

.comp-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: oklch(0.88 0.01 250);
}

.comp-icon-fail {
  color: #F87171;
  font-weight: 700;
  font-size: 0.85rem;
}

.comp-icon-success {
  color: #34D399;
  font-weight: 700;
  font-size: 0.85rem;
}

.comp-card-footer {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: oklch(0.7 0.01 250);
  border-top: 1px solid oklch(1 0 0 / 0.05);
  padding-top: var(--space-md);
}

/* Faded Traditional Card */
.comp-card.is-traditional {
  background: oklch(0.99 0.004 250 / 0.02);
  border: 1px dashed oklch(1 0 0 / 0.1);
  opacity: 0.6;
  transition: opacity 0.4s ease, border-color 0.4s ease;
}

.comp-card.is-traditional:hover {
  opacity: 0.9;
  border-color: oklch(1 0 0 / 0.25);
}

.comp-card.is-traditional .comp-card-badge {
  background: oklch(1 0 0 / 0.06);
  color: oklch(0.7 0.01 250);
}

/* Active Glowing WeLive Card */
.comp-card.is-welive {
  background: oklch(0.18 0.03 248 / 0.45);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid oklch(0.56 0.18 248 / 0.15);
  box-shadow: 
    0 25px 50px oklch(0.08 0.02 248 / 0.35),
    inset 0 1px 1px oklch(1 0 0 / 0.1);
  transition: 
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.comp-card.is-welive:hover {
  transform: translateY(-6px);
  border-color: oklch(0.56 0.18 248 / 0.35);
  box-shadow: 
    0 35px 70px oklch(0.56 0.18 248 / 0.2),
    0 0 25px oklch(0.56 0.18 248 / 0.06),
    inset 0 1px 1px oklch(1 0 0 / 0.15);
}

.comp-card.is-welive .comp-card-badge {
  background: oklch(0.56 0.18 248 / 0.1);
  color: var(--accent);
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ── Responsive adjustments ── */
@media (max-width: 1024px) {
  .subpage-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .subpage-stat-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .sp-ses-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .sp-process-flow {
    flex-direction: column;
    gap: var(--space-lg);
    padding-left: var(--space-md);
  }
  .sp-process-flow::before {
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    height: auto;
  }
  .sp-process-step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-md);
  }
  .sp-process-desc {
    max-width: none;
  }
  .diag-steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .sp-card-grid-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .subpage-stat-badges {
    grid-template-columns: repeat(2, 1fr); /* Keep 2-col; full 1-col is too tall on mobile */
  }
}

/* ── Cinematic Page Transition Overlay ── */
.sp-transition-overlay {
  will-change: opacity, filter;
  backface-visibility: hidden;
}

/* ── Awwwards Luxury Problems & Solutions Cards ── */
.sp-card-luxury {
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow, border-color;
}

.sp-card-luxury--problem {
  background: oklch(0.99 0.005 20);
  border: 1px solid oklch(0.93 0.01 20);
}

.sp-card-luxury--problem:hover {
  transform: translateY(-8px);
  border-color: oklch(0.82 0.06 20 / 0.5);
  box-shadow: 0 24px 48px oklch(0.80 0.05 20 / 0.12);
}

.sp-card-luxury--solution {
  background: oklch(0.99 0.006 160);
  border: 1px solid oklch(0.93 0.015 160);
}

.sp-card-luxury--solution:hover {
  transform: translateY(-8px);
  border-color: oklch(0.78 0.08 160 / 0.5);
  box-shadow: 0 24px 48px oklch(0.80 0.05 160 / 0.1);
}

/* Badge Rows */
.sp-card-luxury-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-card-luxury:hover .sp-card-luxury-badge {
  transform: rotate(15deg) scale(1.08);
}

.sp-card-luxury-badge--problem {
  background: oklch(0.95 0.015 20);
  border: 1px solid oklch(0.88 0.03 20);
  color: oklch(0.55 0.12 20);
}

.sp-card-luxury-badge--solution {
  background: oklch(0.95 0.02 160);
  border: 1px solid oklch(0.88 0.04 160);
  color: oklch(0.45 0.11 160);
}

/* Sub-labels */
.sp-card-luxury-meta {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}

.sp-card-luxury--problem .sp-card-luxury-meta {
  color: oklch(0.55 0.1 20);
}

.sp-card-luxury--solution .sp-card-luxury-meta {
  color: oklch(0.45 0.08 160);
}

/* Titles and Descs */
.sp-card-luxury-h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  font-family: var(--font-serif);
}

.sp-card-luxury--problem .sp-card-luxury-h3 {
  color: oklch(0.28 0.07 20);
}

.sp-card-luxury--solution .sp-card-luxury-h3 {
  color: oklch(0.25 0.06 160);
}

.sp-card-luxury-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.sp-card-luxury--problem .sp-card-luxury-desc {
  color: oklch(0.42 0.03 20);
}

.sp-card-luxury--solution .sp-card-luxury-desc {
  color: oklch(0.38 0.02 160);
}

/* ── Luxurious Shutter Reveal for Map ── */
.js-ready .map-reveal-container {
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}

.js-ready .map-reveal-iframe {
  transform: scale(1.12);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .map-reveal-container {
    clip-path: none !important;
  }
  .js-ready .map-reveal-iframe {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ── Representative Editorial Grid ── */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.62fr;
  gap: var(--space-2xl);
  align-items: start;
}

.sticky-sidebar {
  position: sticky;
  top: 120px;
}

@media (max-width: 1024px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .sticky-sidebar {
    position: static;
  }
}

/* ── Projections Dashboard & Chart ── */
.editorial-chart-container {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: visible;
}

.chart-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 8.5%;
  position: relative;
  cursor: pointer;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.chart-tooltip {
  position: absolute;
  bottom: 240px;
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  background: rgba(18, 25, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 100;
  width: 120px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  line-height: 1.5;
}

.chart-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(18, 25, 38, 0.95) transparent transparent transparent;
}

.chart-column:hover .chart-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Dimming other columns when hovering any column */
.editorial-chart-canvas:hover .chart-column:not(:hover) {
  opacity: 0.35;
}

.graph-bar {
  will-change: transform;
}

/* ── Platform Vision Grid ── */
.product-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-vision-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

.product-vision-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 16px 30px rgba(0, 0, 0, 0.06),
              0px 0px 0px 1px var(--accent-light);
  border-color: var(--accent-light);
}

.product-vision-card--coming {
  border: 1.5px dashed var(--border-mid);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.product-vision-card--coming:hover {
  border-color: var(--gold);
  box-shadow: 0px 16px 30px rgba(0, 0, 0, 0.04),
              0px 0px 0px 1px var(--gold-light);
}

.product-vision-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-vision-card:hover .product-vision-icon {
  transform: scale(1.1) rotate(4deg);
}

@media (max-width: 1024px) {
  .product-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-vision-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Brand Origin Section ── */
.brand-origin-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.brand-origin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 20px 40px rgba(59, 107, 232, 0.06),
              0px 0px 0px 1px rgba(59, 107, 232, 0.1);
  border-color: rgba(59, 107, 232, 0.3);
}

.brand-origin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.5s ease;
}

.brand-origin-card--we:hover::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.brand-origin-card--live:hover::before {
  background: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal-light) 100%);
}

.brand-origin-card-bg-number {
  position: absolute;
  right: 20px;
  top: 20px;
  font-family: var(--font-sans);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--border-mid);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-origin-card:hover .brand-origin-card-bg-number {
  transform: scale(1.1) rotate(-5deg);
  color: var(--accent);
  opacity: 0.18;
}

.brand-origin-card--live:hover .brand-origin-card-bg-number {
  color: var(--teal-deep);
}

.brand-origin-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.5s ease;
}

.brand-origin-card:hover .brand-origin-card-icon {
  transform: scale(1.1) rotate(6deg);
}

/* ── Mobile Subpage Hero Fitting & Layout Refinements ── */
@media (max-width: 1024px) {
  .breadcrumb-container {
    padding: calc(var(--space-sm) + 65px) 0 var(--space-2xs) 0 !important; /* tighten vertical breadcrumb height */
  }
  
  .subpage-hero {
    padding-top: var(--space-md) !important;
    padding-bottom: var(--space-xl) !important;
    min-height: calc(100dvh - 120px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  
  .subpage-hero-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
    text-align: center !important;
  }
  
  .hero-text-col,
  .subpage-hero-grid > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .subpage-overline {
    margin-bottom: var(--space-xs) !important;
  }
  
  .subpage-h1 {
    font-size: clamp(1.7rem, 5vw, 2.5rem) !important;
    line-height: 1.35 !important;
    margin-bottom: var(--space-xs) !important;
  }
  
  .subpage-sub {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
    margin-bottom: var(--space-md) !important;
    max-width: 55ch !important;
  }
  
  .subpage-hero-actions {
    margin-top: 0 !important;
  }
  
  .terminal-mockup-frame {
    margin-top: var(--space-md) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-md) !important;
  }
}

@media (max-width: 768px) {
  .terminal-mockup-body {
    padding: 16px 0 !important;
    /* Reduce mask gradient width so cards don't get excessively faded out on small screens */
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent) !important;
  }

  /* ── Stat Badges: Keep 2-column on mobile, compact font ── */
  .subpage-stat-badges {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-sm) !important;
    padding-top: var(--space-md) !important;
    margin-top: 0 !important;
  }

  .subpage-stat-val {
    font-size: clamp(1.1rem, 5vw, 1.5rem) !important;
    line-height: 1.2 !important;
  }

  .subpage-stat-label {
    font-size: 0.67rem !important;
    line-height: 1.3 !important;
  }

  /* ── Hero Actions: Stack buttons vertically, full width ── */
  .subpage-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: var(--space-sm) !important;
    margin-bottom: var(--space-md) !important;
  }

  .subpage-hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ── Search Mockup: Full width, constrained ── */
  .sp-mockup-wrapper {
    width: 100% !important;
    padding: 0 !important;
  }

  .search-mockup {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-md) !important;
  }

  .browser-address {
    font-size: 0.62rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: calc(100% - 60px) !important;
  }

  .search-query-text {
    font-size: 0.78rem !important;
  }

  .search-response-text {
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
  }
}
/* ── service-kids-ai.php: Sprout Chat Mobile Clamping ── */
@media (max-width: 1024px) {
  /* Wrapper: full width when stacked, text always left */
  .sprout-chat-demo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Override the global center-align cascade: chat content is always left-aligned */
  .sprout-chat-demo,
  .sprout-chat-demo * {
    text-align: left !important;
  }

  /* Child bubble stays right-aligned by flex, text still left */
  .sprout-chat-bubble.child {
    align-self: flex-end !important;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  /* Clamp chat height — enough to show all 5 bubbles + notice */
  .sprout-chat-demo {
    max-height: 420px !important;
    overflow: hidden !important;
    position: relative !important;
    /* Soft bottom fade so clipping looks intentional */
    mask-image: linear-gradient(to bottom, black 78%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%) !important;
  }

  /* Hero grid: tighten gap so content + chat fit without excessive scroll */
  .subpage-hero .subpage-hero-grid {
    gap: var(--space-sm) !important;
  }

  /* Single action button: full-width on mobile */
  .subpage-hero .subpage-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-bottom: var(--space-sm) !important;
  }
}

/* ── investor.php: Hero Metrics 2x2 Grid for Mobile Only ── */
@media (max-width: 768px) {
  .investor-hero-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-sm) !important;
  }
  
  .investor-hero-grid > div {
    padding: var(--space-md) var(--space-xs) !important;
  }
  
  .investor-hero-grid .counter-val {
    font-size: 1.6rem !important;
    margin: 4px 0 !important;
  }
  
  .investor-hero-grid .counter-val span {
    font-size: 0.8rem !important;
  }
  
  .investor-hero-grid > div > div:first-child {
    font-size: 0.65rem !important;
  }
  
  .investor-hero-grid > div > div:last-child {
    font-size: 0.62rem !important;
  }
}

/* ── Cinematic Preloader Mobile Adjustments ── */
@media (max-width: 768px) {
  .preloader-hud-right {
    display: none !important;
  }
  .preloader-hud-left {
    top: var(--space-md) !important;
    left: var(--space-md) !important;
    right: var(--space-md) !important;
    font-size: 7.5px !important;
    letter-spacing: 0.12em !important;
  }
  .preloader-logs {
    gap: 3px !important;
  }
  .preloader-hud-bottom {
    bottom: var(--space-md) !important;
    left: var(--space-md) !important;
    right: var(--space-md) !important;
  }
  .preloader-bottom-header {
    font-size: 8px !important;
    letter-spacing: 0.15em !important;
  }
  .preloader-tagline {
    font-size: 0.75rem;
    padding: var(--space-2xs) var(--space-sm) !important;
  }
}

/* ==========================================================================
   株式会社WeLive — Luxury UI & Motion Utilities
   ========================================================================== */

/* ── 1. Spotlight Hover Cards ── */
.luxe-spotlight-card,
.sp-card,
.sp-card-luxury {
  position: relative;
  overflow: hidden;
}

.hero-stat-card.luxe-spotlight-card {
  position: absolute;
}

.luxe-spotlight-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-expo), border-color 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
  z-index: 1;
}

.luxe-spotlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-light);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.luxe-spotlight-card::after,
.sp-card::after,
.sp-card-luxury::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(97, 147, 226, 0.06),
    transparent 50%
  );
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.luxe-spotlight-card:hover::after,
.sp-card:hover::after,
.sp-card-luxury:hover::after {
  opacity: 1;
}

/* ── 2. Glassmorphism Bento Cards ── */
.luxe-bento-card {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(37, 147, 184, 0.02),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
  transition: all 0.5s var(--ease-expo);
  overflow: hidden;
}

.luxe-bento-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--accent-light);
  box-shadow: 0 16px 40px rgba(37, 147, 184, 0.05);
}

/* ── 3. Editorial Table Styling ── */
.luxe-editorial-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.luxe-editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--t-sm);
}

.luxe-editorial-table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.3s ease;
}

.luxe-editorial-table tr:last-child {
  border-bottom: none;
}

.luxe-editorial-table tr:hover {
  background-color: var(--surface-tint);
}

.luxe-editorial-table th {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  color: var(--ink);
  width: 25%;
  min-width: 100px;
  border-right: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .luxe-editorial-table th {
    padding: var(--space-sm) var(--space-md);
    min-width: 80px;
  }
  .luxe-editorial-table td {
    padding: var(--space-sm) var(--space-md);
  }
}

.luxe-editorial-table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--ink-mid);
  line-height: 1.6;
}

.luxe-editorial-table a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.3s ease;
}

.luxe-editorial-table a:hover {
  color: var(--accent);
}

/* ── 4. Elegant Pulse Badges ── */
.luxe-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: var(--t-2xs);
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
  box-shadow: 0 2px 8px rgba(197, 168, 128, 0.08);
}

.luxe-badge-pulse .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-deep);
  position: relative;
}

.luxe-badge-pulse .pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid var(--gold-deep);
  animation: pulse-ring-glow 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
  opacity: 0;
}

@keyframes pulse-ring-glow {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ── 5. Specular Text Shine ── */
.luxe-specular-text {
  font-family: var(--font-serif);
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-light) 50%, #ffffff 70%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: specular-glow 8s linear infinite;
  font-weight: 700;
}

@keyframes specular-glow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ── 6. Fine Hairline Divider ── */
.luxe-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light) 15%, var(--border-light) 85%, transparent);
  border: none;
  margin: var(--space-xl) 0;
}

/* ── 7. Recruit Split Layout (Asymmetrical Editorial Grid) ── */
.recruit-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

@media (max-width: 1024px) {
  .recruit-split-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.recruit-split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: var(--space-lg);
}

@media (max-width: 1024px) {
  .recruit-split-left {
    padding-right: 0;
    text-align: center;
  }
}

.recruit-split-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
  border-left: 1px solid var(--border-light);
  padding-left: var(--space-2xl);
}

@media (max-width: 1024px) {
  .recruit-split-right {
    border-left: none;
    padding-left: 0;
    margin-top: var(--space-md);
  }
}

.recruit-value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.recruit-value-item:last-child {
  border-bottom: none;
}

.recruit-value-item:hover {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .recruit-value-item:hover {
    transform: none;
  }
}

.recruit-value-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--accent-deep);
  box-shadow: var(--shadow-sm);
}

.recruit-value-body {
  flex-grow: 1;
}

.recruit-value-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.recruit-value-desc {
  font-size: var(--t-xs);
  line-height: 1.6;
  color: var(--ink-mid);
}

/* ── 8. Futuristic Blueprint Grid & AI Calibrator Styles ── */
.blueprint-grid-section {
  position: relative !important;
  background-color: oklch(0.995 0.003 240) !important; /* Very clean tech light blue-white background */
  overflow: hidden;
}

.blueprint-grid-section::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: 
    linear-gradient(rgba(59, 107, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 107, 232, 0.055) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  background-position: center top !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Blueprint outer HUD frames and axis lines */
.blueprint-frame {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(59, 107, 232, 0.09);
  pointer-events: none;
  z-index: 1;
}

.blueprint-frame::before {
  content: '';
  position: absolute;
  left: -8px;
  right: -8px;
  top: 50%;
  height: 1px;
  background: rgba(59, 107, 232, 0.08);
}

.blueprint-frame::after {
  content: '';
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: 50%;
  width: 1px;
  background: rgba(59, 107, 232, 0.08);
}

/* Radar & Satellite animations */
@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes pulseCore {
  0%, 100% { transform: scale(0.92); opacity: 0.35; }
  50% { transform: scale(1.08); opacity: 0.75; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.6; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Satellite floating hover cards */
.calibrator-hud-wrap {
  perspective: 1000px;
}

.node-card-interactive {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), border-color 0.5s var(--ease-expo);
}

.node-card-interactive:hover {
  transform: translateY(-8px) scale(1.04) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 20px 40px rgba(59, 107, 232, 0.08), 0 0 20px rgba(59, 107, 232, 0.06) !important;
  background: white !important;
}

.node-neboss:hover .node-card-interactive {
  border-color: var(--coral-deep) !important;
  box-shadow: 0 20px 40px oklch(0.63 0.18 32.5 / 0.12), 0 0 20px oklch(0.63 0.18 32.5 / 0.08) !important;
}

.node-sprout:hover .node-card-interactive {
  border-color: var(--teal-deep) !important;
  box-shadow: 0 20px 40px oklch(0.66 0.13 195 / 0.12), 0 0 20px oklch(0.66 0.13 195 / 0.08) !important;
}

/* Telemetry styles */
.hud-telemetry {
  position: absolute;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.65rem;
  color: oklch(0.53 0.12 226 / 0.55);
  line-height: 1.6;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.hud-top-left {
  top: 105px;
  left: 4.8%;
  text-align: left;
}

.hud-top-right {
  top: 105px;
  right: 4.8%;
  text-align: right;
}

.hud-bottom-left {
  bottom: 36px;
  left: 4.8%;
  text-align: left;
}

.hud-bottom-right {
  bottom: 36px;
  right: 4.8%;
  text-align: right;
}

/* Responsive fixes for radar visual */
@media (max-width: 768px) {
  .hud-telemetry {
    display: none !important; /* Hide technical HUD logs on tiny devices */
  }
  .blueprint-frame {
    inset: 2%;
  }
  .calibrator-hud-wrap {
    transform: scale(0.8);
    height: 380px !important;
  }
}

/* Sticky Navigation offset correction for Internship anchor scroll */
#internship-heading {
  scroll-margin-top: 130px;
}

/* ──────────────────────────────────────────────────────────────────────────
   Cozy Office Environment Gallery System (Cute, Comforting Polaroid Collage)
   ────────────────────────────────────────────────────────────────────────── */
.cozy-office-section {
  position: relative;
  overflow: hidden;
}

.cozy-office-sub {
  font-family: var(--font-sans);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cozy-office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.cozy-office-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 12px 12px 16px 12px;
  box-shadow: var(--shadow-sm), 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.6s var(--ease-expo), box-shadow 0.6s var(--ease-expo);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.cozy-image-wrap {
  width: 100%;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.cozy-office-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-expo);
}

.cozy-office-card:hover .cozy-office-img {
  transform: scale(1.06);
}

.cozy-card-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.cozy-icon-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.cozy-caption-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.45;
  font-family: var(--font-sans);
}

/* Cute cozy warm rotates/tilts */
.card-tilt-left {
  transform: rotate(-1.5deg);
}

.card-tilt-right {
  transform: rotate(1.5deg);
}

.card-tilt-left-soft {
  transform: rotate(-0.8deg);
}

.card-tilt-right-soft {
  transform: rotate(0.8deg);
}

.cozy-office-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.025);
  box-shadow: var(--shadow-md), 0 12px 30px oklch(0.66 0.13 195 / 0.05);
  z-index: 2;
}

@media (max-width: 900px) {
  .cozy-office-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 600px) {
  .cozy-office-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .cozy-office-card {
    transform: none !important;
  }
  .cozy-office-card:hover {
    transform: translateY(-4px) !important;
  }
}

/* Cute Overlapping Polaroid Team Collage (Hero Right Column) */
/* Cute Scattered Polaroid Collage (Hero Right Column) - Spread layout, absolutely no overlaps */
.hero-team-collage-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 600px;
  margin: 0 auto;
}

.hero-collage-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 6px 6px 10px 6px;
  box-shadow: var(--shadow-sm), 0 4px 15px rgba(0, 0, 0, 0.02);
  width: 150px;
  transition: transform 0.6s var(--ease-expo), box-shadow 0.6s var(--ease-expo), z-index 0.1s;
  cursor: pointer;
  box-sizing: border-box;
}

.collage-image-container {
  width: 100%;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 5px;
}

.collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-label {
  font-size: 8.2px;
  font-weight: 600;
  color: var(--ink-mid);
  text-align: center;
  display: block;
  font-family: var(--font-sans);
  line-height: 1.35;
}

/* Organic rotational offsets */
.collage-tilt-left-strong {
  transform: rotate(-5deg);
}

.collage-tilt-right-strong {
  transform: rotate(5deg);
}

.collage-tilt-left-soft {
  transform: rotate(-3deg);
}

.collage-tilt-right-soft {
  transform: rotate(4deg);
}

.hero-collage-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.06);
  box-shadow: var(--shadow-md), 0 12px 30px oklch(0.66 0.13 195 / 0.06);
  z-index: 15 !important;
}

@media (max-width: 768px) {
  .about-us-collage-container {
    height: auto !important;
  }
  .hero-team-collage-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    height: auto !important;
    max-width: 100% !important;
    transform: none !important;
  }
  .hero-collage-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: var(--shadow-sm), 0 4px 15px rgba(0, 0, 0, 0.02);
  }
  .hero-collage-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-md), 0 8px 20px rgba(0, 0, 0, 0.05);
  }
  .collage-image-container {
    height: 200px !important;
  }
}

@media (max-width: 600px) {
  .hero-team-collage-wrap {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .collage-image-container {
    height: 240px !important;
  }
}









/* Cute Teammate Relation Row (Hero Left Column Overlay) */
.hero-team-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: var(--space-md) 0 var(--space-lg) 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  width: fit-content;
  box-shadow: var(--shadow-sm), 0 4px 15px rgba(0, 0, 0, 0.01);
  box-sizing: border-box;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-team-row:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(59, 107, 232, 0.2);
}

.team-avatars-group {
  display: flex;
  align-items: center;
}

.team-avatar-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2.5px solid var(--surface);
  margin-right: -12px;
  transition: transform 0.4s var(--ease-expo), margin-right 0.4s var(--ease-expo), z-index 0.1s;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}

.team-avatar-bubble:hover {
  transform: scale(1.22) translateY(-4px);
  margin-right: -4px;
  z-index: 10;
}

.team-caption-box {
  display: flex;
  flex-direction: column;
  position: relative;
}

.team-caption-overline {
  font-size: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-caption-main {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1px;
}

/* Cute popup message showing connection/relation */
.team-popover-text {
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ink);
  color: var(--surface);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-expo);
  box-shadow: var(--shadow-md), 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.team-popover-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.hero-team-row:hover .team-popover-text {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .hero-team-row {
    margin: var(--space-sm) auto var(--space-md) auto;
  }
}

/* Responsive grid rules for About Us section */
@media (max-width: 768px) {
  .about-us-section .container > div {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: var(--space-xl) !important;
  }
  .about-us-section .container > div > div:first-child {
    text-align: center !important;
  }
  .about-us-section h2,
  .about-us-section p,
  .about-us-section .subpage-overline {
    text-align: center !important;
    justify-content: center !important;
  }
}
