/* ==========================================================================
   KAIKA - Shared Design System CSS
   Zen × Mathematics — restraint over spectacle
   ========================================================================== */


/* ==========================================================================
   1. :root Variables
   ========================================================================== */

:root {
  /* Core Colors */
  --bg: #fafbfc;
  --bg-alt: #f0f4f3;
  --surface: #ffffff;
  --text: #1a2e35;
  --text-light: #3d5a5e;
  --muted: #6b8a8e;

  /* Brand Colors */
  --primary: #0d503c;
  --primary-light: #147a5a;
  --primary-dark: #083028;
  --accent: #ff6b35;
  --accent-light: #ff8c5a;
  --logo-color: #0d503c;

  /* Gradient Colors */
  --gradient-start: #0d503c;
  --gradient-end: #1a7a5a;
  --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);

  /* Surfaces */
  --soft: #e8f0ed;
  --border: #d0e0dc;
  --border-light: #e8f0ed;

  /* Status */
  --success: #0d503c;
  --warning: #ff6b35;
  --error: #c1292e;

  /* Layout */
  --header-height: 72px;

  /* Typography */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", -apple-system, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;

  /* Easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(13,80,60,0.06);
  --shadow-md: 0 4px 12px rgba(13,80,60,0.08);
  --shadow-lg: 0 12px 32px rgba(13,80,60,0.12);
  --shadow-xl: 0 24px 48px rgba(13,80,60,0.16);
  --shadow-glow: 0 0 40px rgba(13,80,60,0.2);
  --shadow-focus: 0 0 0 3px rgba(13,80,60,0.15);
  --shadow-accent: 0 8px 24px rgba(255,107,53,0.4);

  /* Primary Alpha (rgba shorthand variables) */
  --primary-02: rgba(13,80,60,0.02);
  --primary-03: rgba(13,80,60,0.03);
  --primary-04: rgba(13,80,60,0.04);
  --primary-05: rgba(13,80,60,0.05);
  --primary-06: rgba(13,80,60,0.06);
  --primary-08: rgba(13,80,60,0.08);
  --primary-10: rgba(13,80,60,0.1);
  --primary-12: rgba(13,80,60,0.12);
  --primary-15: rgba(13,80,60,0.15);
  --primary-20: rgba(13,80,60,0.2);
  --primary-25: rgba(13,80,60,0.25);
  --primary-30: rgba(13,80,60,0.3);
  --primary-40: rgba(13,80,60,0.4);

  /* Accent Alpha */
  --accent-04: rgba(255,107,53,0.04);
  --accent-08: rgba(255,107,53,0.08);
  --accent-10: rgba(255,107,53,0.1);
  --accent-15: rgba(255,107,53,0.15);

  /* White Alpha */
  --white-06: rgba(255,255,255,0.06);
  --white-10: rgba(255,255,255,0.1);
  --white-15: rgba(255,255,255,0.15);
  --white-20: rgba(255,255,255,0.2);
  --white-75: rgba(255,255,255,0.75);
  --white-80: rgba(255,255,255,0.8);
  --white-85: rgba(255,255,255,0.85);

  /* Soft Alpha */
  --soft-30: rgba(232,240,237,0.3);
  --soft-70: rgba(232,240,237,0.7);

  /* Error Alpha */
  --error-05: rgba(193,41,46,0.05);
  --error-10: rgba(193,41,46,0.1);
}


/* ==========================================================================
   1b. View Transitions API (Cross-Document MPA)
   Native browser page transitions — elements morph between pages
   Chrome 126+, Safari 18.2+ — falls back to instant navigation
   ========================================================================== */

@view-transition {
  navigation: auto;
}

/* Named transition groups — these elements morph across pages */
.site-header { view-transition-name: site-header; }
.site-header .logo { view-transition-name: site-logo; }
.page-header h1 { view-transition-name: page-title; }
.site-footer { view-transition-name: site-footer; }

/* Page-level crossfade with directional slide */
::view-transition-old(root) {
  animation: vt-slide-out 0.35s var(--ease-out-expo) both;
}
::view-transition-new(root) {
  animation: vt-slide-in 0.35s var(--ease-out-expo) both;
}

@keyframes vt-slide-out {
  to { opacity: 0; transform: translateY(-15px) scale(0.99); filter: blur(2px); }
}
@keyframes vt-slide-in {
  from { opacity: 0; transform: translateY(15px) scale(0.99); filter: blur(2px); }
}

/* Header persists smoothly — no fade, just morphs */
::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
}

/* Logo morphs with subtle scale */
::view-transition-old(site-logo) {
  animation: vt-logo-out 0.3s ease both;
}
::view-transition-new(site-logo) {
  animation: vt-logo-in 0.3s ease both;
}
@keyframes vt-logo-out {
  to { opacity: 0.5; transform: scale(0.95); }
}
@keyframes vt-logo-in {
  from { opacity: 0.5; transform: scale(0.95); }
}

/* Page title cross-dissolves with vertical slide */
::view-transition-old(page-title) {
  animation: vt-title-out 0.3s ease both;
}
::view-transition-new(page-title) {
  animation: vt-title-in 0.4s var(--ease-out-expo) both;
}
@keyframes vt-title-out {
  to { opacity: 0; transform: translateY(-20px); }
}
@keyframes vt-title-in {
  from { opacity: 0; transform: translateY(30px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(page-title),
  ::view-transition-new(page-title),
  ::view-transition-old(site-logo),
  ::view-transition-new(site-logo) {
    animation: none;
  }
}


/* ==========================================================================
   2. Base Reset & Typography
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-jp);
  font-size: 15px;
  opacity: 1 !important;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  animation: bodyFadeIn 0.5s ease;
}

::selection {
  background: var(--primary);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

p {
  margin: 0;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
  word-break: auto-phrase;
}

/* Shared eyebrow base — used in page-header, section-header, hero, etc. */
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: clamp(10px, 2vw, 16px);
}

.eyebrow, figcaption { text-wrap: balance; }

ul, ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

@media (max-width: 600px) {
  .container { width: min(1200px, 90%); }
}

@media (max-width: 480px) {
  .container { width: min(1200px, 88%); }
}


/* ==========================================================================
   3. Glowing Orbs
   ========================================================================== */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}

.glow-orb.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  top: -100px;
  right: 10%;
  animation-delay: 0s;
}

.glow-orb.orb-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(26, 122, 90, 0.15) 0%, transparent 70%);
  bottom: -50px;
  left: 5%;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(30px, -20px) scale(1.05); opacity: 0.8; }
  50% { transform: translate(-20px, 30px) scale(0.95); opacity: 0.7; }
  75% { transform: translate(-30px, -30px) scale(1.1); opacity: 0.9; }
}


/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--surface);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--logo-color);
  position: relative;
  display: inline-block;
}

/* Subtle Ensō decoration */
.logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -16px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover::before {
  opacity: 0.8;
  transform: translateY(-50%) scale(1.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
}

/* Zen dot indicator */
.nav-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -12px;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-ctas {
  display: flex;
  gap: 12px;
}


/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--white-20), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(13,80,60,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--soft);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn i {
  font-size: 1.1em;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: var(--shadow-focus);
}

@media (max-width: 600px) {
  .btn { padding: 10px 18px; font-size: 0.82rem; }
  .btn-lg { padding: 12px 22px; font-size: 0.88rem; }
}


/* ==========================================================================
   6. Mobile Menu
   ========================================================================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  .nav-links, .nav-ctas { display: none; }
  .menu-toggle { display: flex; }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100dvh;
    background: var(--bg);
    padding: clamp(80px, 12vw, 100px) 32px 40px;
    transition: right 0.4s var(--ease-out-expo);
    z-index: 999;
    overflow-y: auto;
  }

  /* Zen decorative pattern in mobile nav */
  .mobile-nav::before {
    content: '';
    position: absolute;
    top: 120px;
    right: 24px;
    width: 100px;
    height: 100px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
  }

  .mobile-nav::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: 24px;
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
  }

  .mobile-nav.active { right: 0; }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
  }

  .mobile-nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  /* Zen dot indicator for mobile links */
  .mobile-nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a:active {
    padding-left: 16px;
    color: var(--primary);
  }

  .mobile-nav-links a:hover::before,
  .mobile-nav-links a:active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }

  .mobile-nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    padding-left: 16px;
  }

  .mobile-nav-links a.active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }

  .mobile-nav-links a:focus-visible {
    outline: none;
    background: var(--primary-05);
    border-radius: 4px;
    margin: 0 -8px;
    padding: 16px 8px 16px 24px;
  }

  .mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav-ctas .btn { width: 100%; justify-content: center; }

  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-toggle.active::before { opacity: 0.8; border-color: var(--primary); }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary-30);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }

  .mobile-overlay.active { opacity: 1; visibility: visible; }
}


/* ==========================================================================
   7. Page Header
   ========================================================================== */

.page-header {
  padding: clamp(110px, 16vw, 160px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(20, 122, 90, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(13, 80, 60, 0.4) 0%, transparent 60%);
  animation: headerGlow 15s ease-in-out infinite;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: #fff;
}

.page-header p {
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

.page-header .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

@keyframes headerGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, -5%); }
}


/* ==========================================================================
   8. Sections & Containers
   ========================================================================== */

.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--soft) 50%, var(--bg-alt) 100%);
}

/* Subtle section divider — organic line between sections */
.section + .section::before,
.section + .section-alt::before,
.section-alt + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--primary-10) 50%, var(--border) 70%, transparent);
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.8rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* Decorative dot after section heading */
.section-header h2::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin: 20px auto 0;
  opacity: 0.4;
}

.section-header p {
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}


/* ==========================================================================
   9. CTA Section
   ========================================================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.8rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--soft);
}

.cta-section .btn-primary::before { display: none; }

.cta-section .btn-outline {
  border-color: var(--white-20);
  color: #fff;
}

.cta-section .btn-outline:hover {
  border-color: #fff;
  background: var(--white-10);
}

/* CTA decorative orbs */
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--white-10) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: ctaOrb1 10s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--white-06) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: ctaOrb2 12s ease-in-out infinite;
}

@keyframes ctaOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(-80px, 60px) scale(1.2); opacity: 0.9; }
  66% { transform: translate(40px, -40px) scale(0.9); opacity: 0.5; }
}

@keyframes ctaOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(60px, -50px) scale(1.3); opacity: 0.7; }
}

/* CTA Frame */
.cta-frame {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid var(--white-06);
  pointer-events: none;
}

.cta-frame::before,
.cta-frame::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--white-15);
}

.cta-frame::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.cta-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}


/* ==========================================================================
   10. Footer (Golden Ratio Grid)
   ========================================================================== */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  padding: 72px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.618fr 1fr 0.618fr; /* 黄金比 */
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .site-footer { padding: 40px 0 32px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    margin-bottom: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: 0.82rem; line-height: 1.8; }
  .footer-links h4 { font-size: 0.72rem; margin-bottom: 12px; }
  .footer-links li { margin-bottom: 8px; }
  .footer-links a { font-size: 0.85rem; }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-bottom: 28px;
  }
  .footer-brand p { font-size: 0.78rem; }
  .footer-links a { font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Ensō decoration after title */
.footer-links h4::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0.5;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  position: relative;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  position: relative;
  transition: color 0.3s ease, padding-left 0.3s ease;
  padding-left: 0;
}

/* Zen dot on hover */
.footer-links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
  padding-left: 4px;
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--muted);
  position: relative;
}

/* Subtle wave separator */
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border) 20%,
    var(--primary) 50%,
    var(--border) 80%,
    transparent
  );
  background-size: 200% 100%;
  animation: footerWave 8s ease-in-out infinite;
}

@keyframes footerWave {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 200% 0; }
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a { color: var(--muted); }

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--primary);
}

.footer-legal a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 0.75rem;
  }
  .footer-legal a { font-size: 0.75rem; }
}


/* ==========================================================================
   11. Loading Screen (Ensō)
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  animation: loaderHide 0.8s ease 2.5s forwards;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

@keyframes loaderHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.loader-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  letter-spacing: 0.3em;
  color: var(--logo-color);
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

.loader-bar {
  width: 140px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--logo-color);
  animation: loaderFill 2s ease-out forwards;
}

@keyframes loaderFill {
  0% { width: 0; }
  100% { width: 100%; }
}

.loader-enso {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.loader-enso circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  animation: drawEnso 1.5s ease-out forwards;
}

@keyframes drawEnso {
  0% { stroke-dashoffset: 314; }
  100% { stroke-dashoffset: 31.4; }
}


/* ==========================================================================
   12. Scroll Progress (Golden Spiral)
   ========================================================================== */

.scroll-progress {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.scroll-progress.active {
  opacity: 1;
}

.scroll-progress svg {
  width: 100%;
  height: 100%;
}

.scroll-progress .spiral-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
  opacity: 0.3;
}

.scroll-progress .spiral-fill {
  fill: none;
  stroke: url(#spiralGradient);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
  will-change: stroke-dashoffset;
}

.scroll-progress .spiral-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent-15));
  transition: cx 0.15s linear, cy 0.15s linear;
}

.scroll-progress-markers {
  position: fixed;
  bottom: 24px;
  left: 84px;
  z-index: 10001;
  pointer-events: none;
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.5s ease;
  writing-mode: vertical-rl;
}

.scroll-progress-markers.active {
  opacity: 0.5;
}

@media (max-width: 900px) {
  .scroll-progress,
  .scroll-progress-markers {
    display: none;
  }
}


/* ==========================================================================
   13. Scroll Animations
   ========================================================================== */

/* Fade Up — the primary reveal */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Scroll Animate */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo);
}

.scroll-animate.visible {
  opacity: 1;
}

/* Reveal Left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal Right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal Scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Items */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Eyebrow clip-path reveal */
.eyebrow.fade-up {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transform: none;
  transition: clip-path 0.8s var(--ease-out-expo);
}
.eyebrow.fade-up.visible {
  clip-path: inset(0 0% 0 0);
}

/* Scroll-Driven Progressive Enhancement */
@supports (animation-timeline: view()) {
  .fade-up {
    animation: scrollFadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
    opacity: 1;
    transform: none;
    transition: none;
  }

  @keyframes scrollFadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .scroll-animate {
    animation: scrollFadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-left {
    animation: scrollRevealLeft linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
    opacity: 1;
    transform: none;
    transition: none;
  }

  @keyframes scrollRevealLeft {
    0% { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
  }

  .reveal-right {
    animation: scrollRevealRight linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
    opacity: 1;
    transform: none;
    transition: none;
  }

  @keyframes scrollRevealRight {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
  }

  .reveal-scale {
    animation: scrollRevealScale linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
    opacity: 1;
    transform: none;
    transition: none;
  }

  @keyframes scrollRevealScale {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
  }

  /* Stagger delays via animation-range offsets */
  .fade-up.stagger-1,
  .scroll-animate.stagger-1 { animation-range: entry 5% entry 100%; }
  .fade-up.stagger-2,
  .scroll-animate.stagger-2 { animation-range: entry 10% entry 100%; }
  .fade-up.stagger-3,
  .scroll-animate.stagger-3 { animation-range: entry 15% entry 100%; }
  .fade-up.stagger-4,
  .scroll-animate.stagger-4 { animation-range: entry 20% entry 100%; }
  .fade-up.stagger-5,
  .scroll-animate.stagger-5 { animation-range: entry 25% entry 100%; }
}


/* ==========================================================================
   14. Cards & Surfaces
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s ease;
}

.card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-lg {
  border-radius: 16px;
  padding: 32px;
}

.card-lg:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .card { padding: 20px; border-radius: 10px; }
  .card-lg { padding: 24px; border-radius: 12px; }
}

/* 3D Tilt Card Effect */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card-inner {
  transition: transform 0.5s var(--ease-out-expo);
  transform-style: preserve-3d;
}

/* Skill cards — left accent bar */
.skill-card {
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.5s ease;
}

.skill-card:hover {
  transform: translateX(6px);
}

.skill-card:hover .skill-number {
  text-shadow: 0 0 20px var(--primary-15);
}

/* Animated Counter */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.count-up.counting {
  color: var(--primary);
}


/* ==========================================================================
   15. Page Transition (Ensō)
   ========================================================================== */

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.page-transition::before {
  content: '';
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
}

.page-transition.leaving {
  opacity: 1;
  pointer-events: all;
  animation: pageFadeOut 0.4s ease forwards;
}

.page-transition.leaving::before {
  animation: ensoExpand 0.4s ease forwards;
}

.page-transition.entering {
  opacity: 1;
  animation: pageFadeIn 0.5s ease forwards;
}

@keyframes pageFadeOut {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes pageFadeIn {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes ensoExpand {
  0% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 0.6; transform: scale(1) rotate(180deg); }
  100% { opacity: 0; transform: scale(2) rotate(360deg); }
}


/* ==========================================================================
   16. Shimmer Effect
   ========================================================================== */

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--white-20), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}


/* ==========================================================================
   17. Shared Animations
   ========================================================================== */

@keyframes bodyFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Shared floating decoration */
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(2deg); }
  50% { transform: translate(-10px, 15px) rotate(-1deg); }
  75% { transform: translate(-20px, -10px) rotate(1deg); }
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader .spinner {
  width: 40px;
  height: 40px;
  border-width: 3px;
  border-top-color: var(--primary);
}


/* ==========================================================================
   18. Forms
   ========================================================================== */

.form-group {
  margin-bottom: 24px;
  transition: border-color 0.3s ease;
}

.form-group.focused .form-label {
  color: var(--primary);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--error);
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
  background: var(--error-05);
}

.form-error {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 6px;
}

.form-textarea { min-height: 160px; resize: vertical; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b8a8e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 1rem;
    padding: 16px 14px;
  }
  .form-row { grid-template-columns: 1fr; }
}


/* ==========================================================================
   19. Accessibility
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

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

  html {
    scroll-behavior: auto;
  }

  .fade-up,
  .fade-in,
  .scroll-animate,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-item {
    opacity: 1;
    transform: none;
  }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Visually Hidden */
.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;
}


/* ==========================================================================
   20. Responsive
   ========================================================================== */

@media (pointer: coarse) {
  a, button, input[type="submit"], .btn {
    -webkit-tap-highlight-color: transparent;
  }

  .btn, button {
    min-height: 44px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: clamp(88px, 14vw, 110px) 0 clamp(24px, 4vw, 36px);
  }

  .eyebrow {
    font-size: 0.65rem;
  }

  .page-header h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-header p {
    font-size: 0.88rem;
    line-height: 1.85;
  }

  .section {
    padding: clamp(36px, 7vw, 60px) 0;
  }

  .section-header {
    margin-bottom: clamp(20px, 4vw, 32px);
  }

  .section-header h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    margin-bottom: 14px;
  }

  .section-header p {
    font-size: 0.88rem;
    line-height: 1.85;
  }

  .cta-section {
    padding: clamp(36px, 7vw, 60px) 0;
  }

  .cta-section h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    margin-bottom: 14px;
  }

  .cta-section p {
    font-size: 0.88rem;
    margin-bottom: 28px;
    line-height: 1.85;
  }

  .cta-frame {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* Glow orbs: contain on mobile */
  .glow-orb.orb-1 {
    width: 200px;
    height: 200px;
    right: -20%;
  }

  .glow-orb.orb-2 {
    width: 150px;
    height: 150px;
    left: -10%;
  }
}

@media (max-width: 600px) {
  .page-header {
    padding: clamp(80px, 12vw, 100px) 0 clamp(20px, 3vw, 28px);
  }

  .page-header h1 {
    font-size: clamp(1.35rem, 6.5vw, 1.8rem);
  }

  .page-header p {
    font-size: 0.85rem;
  }

  .section {
    padding: clamp(32px, 6vw, 48px) 0;
  }

  .section-header {
    margin-bottom: clamp(16px, 3.5vw, 24px);
  }

  .section-header h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 10px;
  }

  .section-header p {
    font-size: 0.85rem;
  }

  .cta-section {
    padding: clamp(32px, 6vw, 48px) 0;
  }

  .cta-section h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .cta-section p {
    font-size: 0.85rem;
  }

  .glow-orb.orb-1 {
    width: 150px;
    height: 150px;
    right: -30%;
  }

  .glow-orb.orb-2 {
    width: 100px;
    height: 100px;
    left: -20%;
  }

  .card { padding: 16px; }
  .card-lg { padding: 20px; }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }

  .section-header h2 {
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  }

  .cta-section h2 {
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  }
}


/* ==========================================================================
   21. Print
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .site-header,
  .site-footer,
  .mobile-nav,
  .mobile-overlay,
  .menu-toggle,
  .nav-ctas,
  .cta-section,
  .cta-buttons,
  .skip-link,
  .loader,
  .page-loader,
  .scroll-progress,
  .glow-orb,
  .page-transition,
  .toast,
  .scroll-indicator,
  .deco-circle,
  .deco-line {
    display: none !important;
  }

  .container {
    width: 100%;
    max-width: none;
  }

  main {
    padding-top: 0 !important;
  }

  .page-header {
    padding: 20pt 0;
  }

  .section {
    padding: 20pt 0;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #6b8a8e;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .card,
  .solution-card,
  .case-card,
  .problem-card,
  .skill-card,
  .credential-item,
  .career-content,
  .deliverable-card,
  .faq-item {
    border: 1pt solid #d0e0dc !important;
    page-break-inside: avoid;
  }

  .fade-up,
  .fade-in,
  .scroll-animate,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .faq-answer {
    max-height: none !important;
    overflow: visible !important;
  }
}


/* ==========================================================================
   22. Utilities
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-logo { color: var(--logo-color); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

