/* Genki - Custom Styles */

/* CSS Variables - Premium Three-Layer Color System */
:root {
  /* ========================================
     THREE-LAYER PREMIUM COLOR ARCHITECTURE
     Layer 1: LIGHT (90%) - whites, creams
     Layer 2: MEDIUM GREEN (#2d8659) - CTAs, sections
     Layer 3: DARK FOREST (#1e5128) - logo, headings
     ======================================== */

  /* Forest Green Primary Palette */
  --color-primary: #2d8659;
  --color-primary-dark: #248459;
  --color-primary-light: #3a9d6a;
  --color-primary-50: #f0f9f4;
  --color-primary-100: #dcf2e6;
  --color-primary-200: #b8e5cc;
  --color-primary-300: #88d4aa;
  --color-primary-400: #4fba7d;
  --color-primary-500: #2d8659;
  --color-primary-600: #248459;
  --color-primary-700: #1e6b48;
  --color-primary-800: #1a5a3d;
  --color-primary-900: #164a33;

  /* Forest Green - Dark (for logo/brand elements) */
  --color-forest: #1e5128;
  --color-forest-dark: #14401f;

  /* Secondary - Teal accents */
  --color-secondary: #0f766e;
  --color-secondary-500: #14b8a6;
  --color-secondary-600: #0d9488;
  --color-secondary-700: #0f766e;

  /* Accent - Beige/Cream (Layer 1) */
  --color-accent: #f5f5dc;
  --color-accent-50: #fffef8;
  --color-accent-100: #fefdf0;
  --color-accent-200: #f5f5dc;
  --color-accent-300: #e8ddb5;

  /* Neutral colors */
  --color-dark: #1f2937;
  --color-light: #f9fafb;
  --color-text: #374151;
  --color-text-light: #6b7280;

  /* Premium Gradients - Medium Forest */
  --gradient-primary: linear-gradient(135deg, #2d8659 0%, #248459 100%);
  --gradient-dark: linear-gradient(135deg, #1e5128 0%, #14401f 100%);
  --gradient-hero: linear-gradient(180deg, #f0f7f3 0%, #ffffff 100%);
  --gradient-cta: linear-gradient(135deg, #2d8659 0%, #1e6b48 100%);

  /* Shadows — premium-subtle (Apple-style) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-green: 0 2px 10px rgba(45, 134, 89, 0.12);

  /* Radii — standardized scale */
  --radius-sm: 0.625rem;   /* 10px — buttons, inputs */
  --radius-md: 0.875rem;   /* 14px — small cards */
  --radius-lg: 1rem;       /* 16px — cards */
  --radius-xl: 1.25rem;    /* 20px — pricing cards, modals */
  --radius-full: 9999px;   /* pills, badges */

  /* ========================================
     EDITORIAL PALETTE — /mission redesign
     ======================================== */
  --genki-cream: #FAF6EE;
  --genki-warm-white: #FCFAF5;
  --genki-sage-bg: #F4F6F2;
  --genki-matte: #1A1A1A;
  --genki-body: #4A4A4A;
  --genki-divider: #E5E2DA;
  --genki-dark: #0F1A14;
  --genki-sage: #566E4A;       /* sage on light backgrounds */
  --genki-sage-soft: #9DB88C;  /* sage on dark backgrounds */
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide translatable text until i18n is applied (prevents flash of wrong language) */
html:not(.i18n-ready) [data-i18n] {
  visibility: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  /* Color now inherited from parent or set via Tailwind classes */
}

h1, .text-7xl, .text-6xl, .text-5xl {
  letter-spacing: -0.025em;
}

/* Custom Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-gradient {
  background: var(--gradient-hero);
}

/* ==========================================
   PREMIUM IMAGE HERO (index.html)
   Full-bleed background image, content on left.
   ========================================== */
.hero-premium {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-premium__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-premium__bg picture,
.hero-premium__bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-premium__bg img {
  object-fit: cover;
  object-position: center right;
}

.hero-premium__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.10) 60%,
    transparent 85%);
  pointer-events: none;
}

.hero-premium__content {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  min-width: 0;
}

.hero-premium__inner {
  width: 100%;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.hero-premium__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  color: var(--color-primary-300);
  background: transparent;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-premium__badge .badge-dot {
  font-size: 1rem;
  line-height: 1;
}

.hero-premium__title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-premium__title-accent {
  display: block;
  color: var(--color-primary-300);
}

.hero-premium__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
  width: 100%;
  max-width: 30rem;
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-premium__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-hero-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-hero-primary svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover svg {
  transform: translateX(3px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.hero-premium__trust {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  z-index: 1;
}

.hero-premium__trust-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
}

.hero-premium__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-premium__trust-item .trust-icon {
  font-size: 1rem;
  line-height: 1;
  color: var(--color-primary-300);
}

@media (max-width: 768px) {
  .hero-premium {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-premium__bg img {
    object-position: center top;
  }

  .hero-premium__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.55) 100%);
  }

  .hero-premium__content {
    padding: 7rem 1.25rem 9rem;
    min-height: 100vh;
    justify-content: flex-end;
  }

  .hero-premium__inner {
    max-width: 100%;
    gap: 1rem;
  }

  .hero-premium__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-premium__subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .hero-premium__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-premium__trust {
    bottom: 1.25rem;
  }

  .hero-premium__trust-inner {
    padding: 0 1.25rem;
    gap: 0.5rem 1rem;
    flex-direction: column;
  }

  .hero-premium__trust-item {
    font-size: 0.75rem;
  }
}

/* ----------------------------------------------------------------
   Variant: .hero-premium--narrow
   For images where the product/subject is centered and should stay
   the focal point (e.g. companies page Tower). Text sits in the
   lower-left corner with a tighter vignette so the centre of the
   image stays clean.
   ---------------------------------------------------------------- */
.hero-premium--narrow .hero-premium__content {
  justify-content: flex-end;
  padding-bottom: 4.5rem;
}

.hero-premium--narrow .hero-premium__inner {
  width: auto;
  max-width: 36rem;
  align-self: flex-end;
  text-align: right;
}

.hero-premium--narrow .hero-premium__badge {
  align-self: flex-end;
}

.hero-premium--narrow .hero-premium__subtitle {
  max-width: 36rem;
  margin-left: auto;
}

.hero-premium--narrow .hero-premium__overlay {
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.50) 0%,
      rgba(0, 0, 0, 0.22) 12%,
      transparent 22%),
    linear-gradient(270deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.65) 22%,
      rgba(0, 0, 0, 0.22) 38%,
      transparent 50%);
}

@media (max-width: 768px) {
  .hero-premium--narrow .hero-premium__content {
    padding-bottom: 7rem;
  }

  .hero-premium--narrow .hero-premium__inner {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    text-align: left;
  }

  .hero-premium--narrow .hero-premium__badge {
    align-self: flex-start;
  }

  .hero-premium--narrow .hero-premium__subtitle {
    margin-left: 0;
  }

  .hero-premium--narrow .hero-premium__overlay {
    background: linear-gradient(180deg,
      transparent 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.55) 70%,
      rgba(0, 0, 0, 0.80) 100%);
  }

}

/* ==========================================
   SCROLL-AWARE HEADER
   - Always-on: smooth bg + border transition.
   - .scrolled: white frosted bg + subtle border.
   - body.has-hero-dark + :not(.scrolled): force white nav/logo
     for legibility over the dark hero image.
   ========================================== */
#header {
  transition:
    background-color 200ms ease,
    backdrop-filter 200ms ease,
    -webkit-backdrop-filter 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Logo swap (dual <img> in header). Default: dark logo only. */
#header .logo-light { display: none; }

/* Hero-page overrides: white nav/logo while header is over the hero. */
body.has-hero-dark #header:not(.scrolled) .nav-link,
body.has-hero-dark #header:not(.scrolled) #lang-toggle,
body.has-hero-dark #header:not(.scrolled) #lang-current {
  color: #ffffff;
  transition: color 200ms ease;
}

body.has-hero-dark #header:not(.scrolled) #lang-toggle:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

body.has-hero-dark #header:not(.scrolled) #mobile-menu-button {
  color: #ffffff;
}

body.has-hero-dark #header:not(.scrolled) #mobile-menu-button:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

body.has-hero-dark #header:not(.scrolled) #mobile-menu-button svg,
body.has-hero-dark #header:not(.scrolled) #lang-toggle svg {
  color: #ffffff;
  stroke: #ffffff;
}

/* Underline indicator on nav-link::after — recolor to white over hero */
body.has-hero-dark #header:not(.scrolled) .nav-link::after {
  background: #ffffff;
}

/* Logo: hide dark, show light when over hero */
body.has-hero-dark #header:not(.scrolled) .logo-dark { display: none; }
body.has-hero-dark #header:not(.scrolled) .logo-light { display: block; }

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn-primary {
  background: var(--color-primary);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid var(--color-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e5e7eb;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

/* Pillar Cards */
.pillar-card {
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
}

/* Stats Section */
.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.15);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151; /* gray-700 - forms are always on light backgrounds */
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: #d1d5db;
}

.footer a {
  transition: color 0.2s ease;
}

.footer a:hover {
  color: white;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-xl);
  transition: right 0.3s ease;
  z-index: 100;
  padding: 2rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product Grid */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Badge — pills/badges must never wrap to two lines (B2B copy is short on purpose) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Hard nowrap on every other pill-shaped element. Single source of truth so no
   future label can break across lines. New pills should match these selectors. */
.pricing-toggle-btn,
.pricing-toggle .pricing-toggle-btn,
.scenario-tab,
.lang-option,
[data-anchor-pill] {
  white-space: nowrap;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}

.badge-amber {
  background: #fef3c7;
  color: #92400e;
}

.badge-purple {
  background: #f3e8ff;
  color: #6b21a8;
}

/* Section Divider */
.section-divider {
  width: 64px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 0 auto;
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.02);
}

.pricing-card.featured::before {
  content: 'Highest Impact';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Check List */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Smooth Image Loading */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

img[data-src] {
  opacity: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    width: 100%;
    justify-content: center;
  }
}

/* Refined focus states — keyboard navigation only */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input[type="range"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}

.roi-highlight {
  animation: pulse-highlight 2s ease-in-out infinite;
}

@keyframes pulse-highlight {
  0%, 100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
}

/* ROI Calculator animations */
#per-day-box {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

#per-day-box.scale-105 {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.3);
}

#per-day-amount {
  transition: transform 0.15s ease-out;
}

#per-day-box.scale-105 #per-day-amount {
  transform: scale(1.05);
}

/* Modal Styles */
#genki-modal {
  animation: modalFadeIn 0.2s ease-out;
}

#genki-modal.hidden {
  display: none;
}

#modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

#modal-content.scale-95 {
  transform: scale(0.95);
}

#modal-content.opacity-0 {
  opacity: 0;
}

#modal-content.scale-100 {
  transform: scale(1);
}

#modal-content.opacity-100 {
  opacity: 1;
}

/* ==========================================
   ROI Calculator Styles
   ========================================== */

/* ROI Sliders */
.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #d1d5db 0%, #d1d5db 100%);
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d8659 0%, #248459 100%);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(45, 134, 89, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.5);
}

.roi-slider::-webkit-slider-thumb:active {
  transform: scale(1.1);
}

.roi-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d8659 0%, #248459 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(45, 134, 89, 0.4);
}

.roi-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.5);
}

/* Public ROI Calculator Slider (companies.html) */
.roi-slider-style {
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, #d1d5db 0%, #d1d5db 100%);
  cursor: pointer;
}

.roi-slider-style::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d8659 0%, #248459 100%);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45, 134, 89, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.roi-slider-style::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(45, 134, 89, 0.6);
}

.roi-slider-style::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d8659 0%, #248459 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(45, 134, 89, 0.5);
}

/* Scenario Cards */
.scenario-card {
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Scenario Tabs */
.scenario-tab {
  transition: all 0.2s ease;
}

/* Savings Bars */
.savings-bar {
  transition: width 0.5s ease-out;
}

/* Research Accordion */
.research-category summary {
  list-style: none;
}

.research-category summary::-webkit-details-marker {
  display: none;
}

.research-category[open] summary svg {
  transform: rotate(180deg);
}

.research-category summary svg {
  transition: transform 0.2s ease;
}

/* Password Gate Animation */
#password-gate {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ROI Results Animation */
.roi-result-value {
  transition: all 0.3s ease-out;
}

/* Engagement Meter Animation */
.engagement-meter .meter-fill {
  transition: width 0.8s ease-out;
}

/* Print Styles for ROI Calculator */
@media print {
  #password-gate {
    display: none !important;
  }

  .scenario-card {
    break-inside: avoid;
  }

  .roi-slider {
    display: none;
  }

  #main-content {
    display: block !important;
  }
}

/* ==========================================
   TEXT ON GREEN BACKGROUNDS - CREAM + SHADOWS
   Premium warm cream text for forest green sections
   ========================================== */

/* Main headings on green backgrounds (h1, h2) */
.heading-on-green {
  color: #fffef8; /* Warm cream white */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Subheadings on green backgrounds */
.subheading-on-green {
  color: #fffef8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Body text on green backgrounds */
.text-on-green {
  color: rgba(255, 254, 248, 0.90);
}

/* Lighter body text on green backgrounds */
.text-on-green-light {
  color: rgba(255, 254, 248, 0.80);
}

/* Feature headings on green (h3, h4) */
.feature-heading-on-green {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Stats/numbers on green backgrounds */
.stat-on-green {
  color: #fffef8;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   PHASE 4: GREEN SECTION SOFT EDGES
   ========================================== */

.green-section-soft {
  position: relative;
}

.green-section-soft::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.green-section-soft::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

/* ==========================================
   PHASE 9: TERTIARY BUTTON
   ========================================== */

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-tertiary:hover {
  color: var(--color-primary-dark);
  gap: 0.75rem;
}

.btn-tertiary svg {
  transition: transform 0.2s ease;
}

.btn-tertiary:hover svg {
  transform: translateX(4px);
}

/* ==========================================
   PHASE 12: LOADING STATES & POLISH
   ========================================== */

/* Button loading state */
.btn-primary.loading {
  position: relative;
  color: transparent;
}

.btn-primary.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid white;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Smooth scroll padding for fixed header */
html {
  scroll-padding-top: 100px;
}

/* Improved form focus states */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1) !important;
}

/* Stat numbers are always visible - animation enhances but doesn't hide */

/* ===== Pricing tier toggle + station cards (station-based pricing model) ===== */
.pricing-toggle .pricing-toggle-btn {
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  color: #4b5563;
  transition: background-color 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out;
}
.pricing-toggle .pricing-toggle-btn.is-active {
  background-color: var(--color-primary, #2d8659);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.pricing-toggle .pricing-toggle-btn:focus-visible {
  outline: 2px solid var(--color-primary, #2d8659);
  outline-offset: 2px;
}

/* Tabular numerals so the price/visits/products numbers don't reflow on toggle/slider drag. */
.station-price,
.station-num {
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease-out;
}
.station-card [data-price],
.station-card [data-visits],
.station-card [data-products],
.station-card [data-headcount],
.station-card [data-per-month],
.station-card [data-per-day] {
  transition: opacity 220ms ease-out;
}

/* Station card image slot — accepts the AI-generated 4:3 product render.
   Source PNGs at assets/images/stations/{desk,tower-dry,tower-fridge,hub}.png. */
.station-image {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.station-image-swap {
  position: relative;
  width: 100%;
  height: 300px;
  max-width: none;
  aspect-ratio: auto;
  margin: 0 auto;
}
[data-station-card="hub"] .station-image-swap > img {
  transform: scale(1.25);
  transform-origin: center;
}
.station-image-swap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 250ms ease;
}
.station-image-swap > .station-image-back {
  opacity: 0;
}
.station-image-swap:hover > .station-image-front {
  opacity: 0;
}
.station-image-swap:hover > .station-image-back {
  opacity: 1;
}

/* Per-card headcount slider */
.station-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 9999px;
  background: #e5e7eb;
  outline: none;
  cursor: pointer;
  transition: background-color 200ms ease-out;
}
.station-slider:hover { background: #d1d5db; }
.station-slider:focus-visible {
  outline: 2px solid var(--color-primary, #2d8659);
  outline-offset: 3px;
}
.station-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary, #2d8659);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  cursor: grab;
  transition: transform 120ms ease-out;
}
.station-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.station-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary, #2d8659);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  cursor: grab;
}
.station-slider::-moz-range-thumb:active { cursor: grabbing; transform: scale(1.1); }

/* Respect user motion preferences */
@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;
  }
}

/* ============================================================
   /MISSION — EDITORIAL PREMIUM REDESIGN
   Calm, architectural, restrained. Whitespace carries the page.
   Scoped under .m-* so it never touches the rest of the site.
   ============================================================ */

.m-eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

/* ---- MANIFESTO ---- */
.m-manifesto {
  background: var(--genki-cream);
  padding: 7.5rem 1.5rem;
}

.m-manifesto__inner {
  max-width: 45rem;
  margin: 0 auto;
}

.m-manifesto__text {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: var(--genki-matte);
}

@media (max-width: 768px) {
  .m-manifesto { padding: 4rem 1.5rem; }
}

/* ---- PILLARS I & II ---- */
.m-pillar {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 8.75rem 0;
  background: #ffffff;
}

.m-pillar--sage { background: var(--genki-sage-bg); }

.m-pillar__grid {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.25rem;
  align-items: start;
}

.m-pillar__num {
  position: absolute;
  z-index: -1;
  top: -3.25rem;
  left: 0.25rem;
  margin: 0;
  font-size: clamp(7rem, 13vw, 13rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--genki-matte);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.m-pillar__text { min-width: 0; }

.m-pillar__heading {
  margin: 1.15rem 0 0;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}

.m-pillar__body {
  margin: 1.75rem 0 0;
  max-width: 30rem;
}

.m-pillar__body p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--genki-body);
}

.m-pillar__body p + p { margin-top: 1.15rem; }

@media (min-width: 900px) {
  .m-pillar__grid { grid-template-columns: 3fr 2fr; gap: 5.5rem; }
  .m-pillar--reverse .m-pillar__grid { grid-template-columns: 2fr 3fr; }
  .m-pillar--reverse .m-pillar__visual { order: -1; }
  .m-pillar--reverse .m-pillar__num { left: auto; right: 0.25rem; }
  .m-pillar--solo .m-pillar__grid { grid-template-columns: 1fr; max-width: 52rem; }
}

@media (max-width: 768px) {
  .m-pillar { padding: 5rem 0; }
  .m-pillar__num { font-size: clamp(6rem, 22vw, 9rem); top: -2.25rem; }
  .m-visual-ph { aspect-ratio: 3 / 2; }
}

/* product categories — typographic row, not cards */
.m-cats {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.m-cat {
  flex: 1 1 10rem;
  min-width: 9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.85rem;
  border-left: 1px solid var(--genki-divider);
}

.m-cat__label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--genki-sage);
}

.m-cat__desc {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--genki-body);
}

@media (max-width: 600px) {
  .m-cats { flex-direction: column; gap: 1.5rem; }
}

/* pillar I visual placeholder — calm empty frame, no fake mockup */
.m-visual-ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--genki-sage-bg);
  border: 1px solid var(--genki-divider);
}

.m-pillar--sage .m-visual-ph { background: #ffffff; }

/* pillar II — producer composition */
.m-producers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.85rem;
  width: 100%;
}

.m-producers__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

.m-producers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 1.1rem;
}

.m-producers__list li {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--genki-matte);
  border-top: 1px solid var(--genki-divider);
  padding-top: 0.6rem;
}

@media (max-width: 480px) {
  .m-producers__list { grid-template-columns: 1fr; row-gap: 0.85rem; }
}

.m-producers__more {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

/* ---- PILLAR III — 10% of profit ---- */
.m-pillar3 {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: var(--genki-cream);
  padding: 8.75rem 1.5rem;
  text-align: center;
}

.m-pillar3__num {
  position: absolute;
  z-index: -1;
  top: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: clamp(10rem, 25vw, 21rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--genki-matte);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.m-pillar3__inner {
  position: relative;
  max-width: 47.5rem;
  margin: 0 auto;
}

.m-pillar3__heading {
  margin: 1.4rem 0 0;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}

.m-pillar3__body {
  margin: 1.85rem auto 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--genki-body);
}

@media (max-width: 768px) {
  .m-pillar3 { padding: 5rem 1.5rem; }
}

/* causes — minimal typographic row */
.m-causes {
  margin: 3.75rem auto 0;
  max-width: 36rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5rem;
  row-gap: 1.75rem;
  text-align: left;
}

.m-cause {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--genki-sage);
}

.m-cause svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.m-cause span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .m-causes { grid-template-columns: 1fr; row-gap: 1.35rem; margin-top: 3rem; max-width: 24rem; }
}

/* ---- KANJI MOMENT ---- */
.m-kanji {
  background: var(--genki-dark);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
}

.m-kanji__inner {
  max-width: 34rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}

.m-kanji__glyph {
  font-size: clamp(7rem, 17vw, 16rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--genki-cream);
  text-shadow: 0 0 60px rgba(250, 246, 238, 0.08);
}

.m-kanji__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--genki-sage-soft);
}

.m-kanji__meaning {
  margin: 0;
  max-width: 32.5rem;
  font-size: clamp(1.25rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: rgba(250, 246, 238, 0.82);
}

.m-kanji__closing {
  margin: 0.4rem 0 0;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--genki-sage-soft);
}

@media (max-width: 768px) {
  .m-kanji { min-height: 50vh; padding: 4.5rem 1.5rem; }
}

/* ---- CLOSING CTA ---- */
.m-cta {
  background: #ffffff;
  padding: 7rem 1.5rem;
  text-align: center;
}

.m-cta__inner {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.m-cta__heading {
  margin: 1.25rem 0 0;
  font-size: clamp(1.95rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}

.m-cta__body {
  margin: 1.5rem 0 0;
  max-width: 32.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--genki-body);
}

.m-cta .btn-primary {
  margin-top: 2.25rem;
}

@media (max-width: 768px) {
  .m-cta { padding: 4.5rem 1.5rem; }
}

/* ============================================================
   HOMEPAGE — EDITORIAL REDESIGN (sections below the hero)
   Premium, calm, typographic. Scoped under .hp-*.
   ============================================================ */

.hp-eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

.hp-section-title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}

.hp-section-lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--genki-body);
}

/* ---- brand values strip ---- */
.hp-strip {
  background: var(--genki-warm-white);
  border-bottom: 1px solid var(--genki-divider);
}

.hp-strip__inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 2.5rem;
}

.hp-strip__item {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--genki-body);
}

.hp-strip__sep {
  width: 1px;
  height: 0.95rem;
  background: var(--genki-divider);
}

@media (max-width: 680px) {
  .hp-strip__inner { flex-direction: column; gap: 0.7rem; }
  .hp-strip__sep { display: none; }
}

/* ---- three principles ---- */
.hp-pillars {
  background: var(--genki-cream);
  padding: 8rem 1.5rem;
}

.hp-pillars__inner {
  max-width: 75rem;
  margin: 0 auto;
}

.hp-pillars__grid {
  margin-top: 3.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.25rem;
}

@media (min-width: 860px) {
  .hp-pillars__grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; }
}

.hp-pillar {
  border-top: 1px solid var(--genki-divider);
  padding-top: 1.6rem;
}

.hp-pillar__heading {
  margin: 0.9rem 0 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--genki-matte);
}

.hp-pillar__text {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--genki-body);
}

@media (max-width: 768px) {
  .hp-pillars { padding: 5rem 1.5rem; }
  .hp-pillars__grid { margin-top: 3rem; gap: 2.75rem; }
}

/* ---- process / how it works ---- */
.hp-process {
  background: #ffffff;
  padding: 8rem 1.5rem;
}

.hp-process__inner {
  max-width: 75rem;
  margin: 0 auto;
}

.hp-steps {
  margin: 3.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .hp-steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
}

.hp-step {
  border-top: 1px solid var(--genki-divider);
  padding-top: 1.5rem;
}

.hp-step__num {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--genki-sage);
  font-variant-numeric: tabular-nums;
}

.hp-step__title {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--genki-matte);
}

.hp-step__text {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--genki-body);
}

@media (max-width: 768px) {
  .hp-process { padding: 5rem 1.5rem; }
  .hp-steps { margin-top: 3rem; gap: 2.25rem; }
}

/* ---- Office environment (on the existing green) ---- */
.hp-hr {
  position: relative;
  overflow: hidden;
  padding: 12rem 1.5rem;
}

.hp-hr__inner {
  position: relative;
  z-index: 1;
  max-width: 75rem;
  margin: 0 auto;
}

.hp-hr__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 900px) {
  .hp-hr__grid { grid-template-columns: 1.1fr 1fr; gap: 6rem; align-items: start; }
  .hp-hr__observations { padding-top: 2.4rem; }
}

.hp-hr__eyebrow {
  display: inline-block;
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--genki-sage-soft);
}

.hp-hr__statement {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.022em;
  color: #fffef8;
  max-width: 26rem;
}

.hp-hr__lead-text {
  margin: 2.75rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 254, 248, 0.78);
  max-width: 30rem;
}

.hp-hr__observations {
  display: flex;
  flex-direction: column;
}

.hp-hr__obs {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.hp-hr__obs:first-child {
  border-top: none;
  padding-top: 0;
}

.hp-hr__obs:last-child {
  padding-bottom: 0;
}

.hp-hr__obs-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fffef8;
  letter-spacing: -0.005em;
}

.hp-hr__obs-text {
  margin: 0.55rem 0 0;
  font-size: 0.975rem;
  line-height: 1.65;
  color: rgba(255, 254, 248, 0.72);
  max-width: 28rem;
}

@media (max-width: 768px) {
  .hp-hr { padding: 6rem 1.5rem; }
  .hp-hr__grid { gap: 3rem; }
  .hp-hr__obs { padding: 1.85rem 0; }
}


.hp-hr__watermark {
  position: absolute;
  right: -8rem;
  bottom: -6rem;
  width: clamp(28rem, 56vw, 52rem);
  height: auto;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .hp-hr__watermark {
    right: -6rem;
    bottom: -4rem;
    width: clamp(20rem, 90vw, 30rem);
    opacity: 0.035;
  }
}

/* ---- closing CTA ---- */
.hp-cta {
  background: var(--genki-cream);
  padding: 13rem 1.5rem;
  text-align: center;
}

.hp-cta__inner {
  max-width: 38rem;
  margin: 0 auto;
}

.hp-cta__eyebrow {
  display: inline-block;
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

.hp-cta__title {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}

.hp-cta__text {
  margin: 1.4rem auto 0;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--genki-body);
}

.hp-cta__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
}

.hp-cta__secondary {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--genki-matte);
  border-bottom: 1px solid var(--genki-divider);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.hp-cta__secondary:hover {
  border-color: var(--genki-sage);
}

@media (max-width: 768px) {
  .hp-cta { padding: 8rem 1.5rem; }
}

/* ============================================================
   COMPANIES PAGE — editorial refinements (.cp-*)
   ============================================================ */

/* --- WHY companies choose Genki --- */
.cp-why {
  background: var(--genki-warm-white);
  padding: 7rem 1.5rem;
}
.cp-why__inner {
  max-width: 75rem;
  margin: 0 auto;
}
.cp-why__head {
  max-width: 40rem;
  margin: 0 auto 4rem;
  text-align: center;
}
.cp-why__title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}
.cp-why__lead {
  margin: 1.4rem auto 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--genki-body);
}
.cp-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 720px) {
  .cp-why__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 3.5rem; }
}
@media (min-width: 1024px) {
  .cp-why__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}
.cp-why__item {
  border-top: 1px solid var(--genki-divider);
  padding-top: 1.6rem;
}
.cp-why__item-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--genki-matte);
}
.cp-why__item-text {
  margin: 0.85rem 0 0;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--genki-body);
}
@media (max-width: 768px) {
  .cp-why { padding: 4.5rem 1.5rem; }
  .cp-why__head { margin-bottom: 3rem; }
}

/* --- Every configuration includes --- */
.cp-includes {
  max-width: 56rem;
  margin: 0 auto;
}
.cp-includes__title {
  margin: 0 0 2.75rem;
  text-align: center;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--genki-matte);
}
.cp-includes__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .cp-includes__grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
.cp-includes__item {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--genki-body);
  padding: 1.25rem 0;
  border-top: 1px solid var(--genki-divider);
}

/* --- FAQ accordions --- */
.cp-faq {
  background: #ffffff;
  padding: 7rem 1.5rem;
}
.cp-faq__inner {
  max-width: 52rem;
  margin: 0 auto;
}
.cp-faq__title {
  margin: 0 0 3rem;
  text-align: center;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}
.cp-faq__list {
  border-top: 1px solid var(--genki-divider);
}
.cp-faq__item {
  border-bottom: 1px solid var(--genki-divider);
  padding: 1.6rem 0;
}
.cp-faq__q {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--genki-matte);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.cp-faq__q::-webkit-details-marker { display: none; }
.cp-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--genki-sage);
  transition: transform 0.2s ease;
}
.cp-faq__item[open] .cp-faq__q::after { content: "−"; }
.cp-faq__a {
  margin: 1rem 0 0;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--genki-body);
}
@media (max-width: 768px) {
  .cp-faq { padding: 4.5rem 1.5rem; }
  .cp-faq__title { margin-bottom: 2.25rem; }
}

/* --- Closing CTA (companies) --- */
.cp-cta {
  background: linear-gradient(160deg, #2f6b46 0%, #1e5128 100%);
  padding: 11rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cp-cta::before,
.cp-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
}
.cp-cta::before { top: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 0%, transparent 100%); }
.cp-cta::after  { bottom: 0; background: linear-gradient(to top, rgba(255, 255, 255, 0.04) 0%, transparent 100%); }
.cp-cta__inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cp-cta__eyebrow {
  display: inline-block;
  margin: 0 0 1.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9DB88C;
}
.cp-cta__title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.022em;
  color: #fffef8;
  max-width: 42rem;
}
.cp-cta__text {
  margin: 1.85rem auto 0;
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 254, 248, 0.82);
}
.cp-cta__btn {
  display: inline-flex;
  align-items: center;
  margin-top: 3rem;
  padding: 0.95rem 2.4rem;
  background: #fffef8;
  color: var(--color-forest, #1e5128);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.cp-cta__btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
@media (max-width: 768px) {
  .cp-cta { padding: 6.5rem 1.5rem; }
}

/* --- station-card softening (subtler shadow, divider border) --- */
.station-card {
  border-color: var(--genki-divider) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}
.station-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}
.station-card-anchor {
  border-color: #1A1A1A !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

/* Companies CTA — quiet oversized brand wordmark (tone-on-tone) */
.cp-cta__watermark {
  position: absolute;
  right: -7rem;
  bottom: -5rem;
  width: clamp(28rem, 52vw, 48rem);
  height: auto;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .cp-cta__watermark {
    right: -5rem;
    bottom: -4rem;
    width: clamp(20rem, 80vw, 28rem);
    opacity: 0.03;
  }
}

/* ============================================================
   GENKI — GLOBAL REFINEMENTS
   Drawing-underline text links + page sign-off
   ============================================================ */

/* Drawing underline on text links (footer + mobile menu) */
.footer ul a,
.footer .border-t a,
.mobile-menu a:not(.btn-primary):not(.lang-option) {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.25s ease, color 0.2s ease;
  padding-bottom: 2px;
}
.footer ul a:hover,
.footer .border-t a:hover,
.mobile-menu a:not(.btn-primary):not(.lang-option):hover {
  background-size: 100% 1px;
}

/* ============================================================
   CONTACT PAGE — editorial premium redesign (.ct-*)
   Mirrors the /mission + /companies editorial system: light
   weights, generous whitespace, sage eyebrows, thin dividers.
   ============================================================ */

/* ---- hero (light, fresh mint tint — no photo) ---- */
.ct-hero {
  background: linear-gradient(168deg, #E4F1E8 0%, #EDF4ED 52%, var(--genki-sage-bg) 100%);
  padding: 11rem 1.5rem 5rem;
}

.ct-hero__inner {
  max-width: 75rem;
  margin: 0 auto;
}

.ct-hero__eyebrow {
  display: inline-block;
  margin: 0 0 1.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

.ct-hero__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--genki-matte);
}

.ct-hero__lead {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--genki-body);
}

@media (max-width: 768px) {
  .ct-hero { padding: 8.5rem 1.5rem 3.5rem; }
}

/* ---- main: form + info rail ---- */
.ct-main {
  background: var(--genki-sage-bg);
  padding: 5.5rem 1.5rem 7rem;
}

.ct-main__inner {
  max-width: 75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* form lives in a crisp white floating card */
.ct-form-card {
  background: #ffffff;
  border: 1px solid #E8EDE8;
  border-radius: 1.5rem;
  padding: 3rem 2.75rem;
  box-shadow: 0 18px 50px rgba(20, 50, 35, 0.07), 0 3px 10px rgba(20, 50, 35, 0.04);
}

@media (max-width: 768px) {
  .ct-form-card { padding: 1.75rem 1.5rem; border-radius: 1.25rem; }
}

@media (min-width: 960px) {
  .ct-main__inner {
    grid-template-columns: 1.35fr 1fr;
    gap: 6rem;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .ct-main { padding: 3.5rem 1.5rem 5rem; }
}

/* ---- form ---- */
.ct-form__eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

.ct-form__title {
  margin: 0 0 2.5rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--genki-matte);
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ct-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 560px) {
  .ct-field-row { grid-template-columns: 1fr 1fr; }
}

.ct-label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--genki-sage);
}

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--genki-matte);
  background: #ffffff;
  border: 1.5px solid #E2E8E3;
  border-radius: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ct-input:hover:not(:focus),
.ct-select:hover:not(:focus),
.ct-textarea:hover:not(:focus) {
  border-color: #cfd8d0;
}

.ct-textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }

.ct-input::placeholder,
.ct-textarea::placeholder { color: #a8a29e; }

.ct-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23566E4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  background: #ffffff;
  /* focus ring color comes from the global input:focus rule (brand green) */
}

.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 6px 18px rgba(45, 134, 89, 0.25);
}

.ct-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(45, 134, 89, 0.32);
}

.ct-submit svg { width: 1.1rem; height: 1.1rem; transition: transform 0.2s ease; }
.ct-submit:hover svg { transform: translateX(3px); }

.ct-form__note {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--genki-body);
}

/* ---- info rail — rich forest-green panel ---- */
.ct-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  background: linear-gradient(158deg, #2f6b46 0%, #1e5128 100%);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
}

.ct-aside > * { position: relative; z-index: 1; }

.ct-aside__watermark {
  position: absolute;
  right: -6rem;
  bottom: -4.5rem;
  width: clamp(20rem, 42vw, 32rem);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .ct-aside { padding: 2.5rem 1.75rem; border-radius: 1.25rem; }
}

.ct-aside__title {
  margin: 0 0 1.75rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #fffef8;
}

/* what to expect — numbered editorial steps */
.ct-steps { margin: 0; padding: 0; list-style: none; }

.ct-step {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.4rem 0;
}
.ct-step:last-child { padding-bottom: 0; }

.ct-step__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--genki-sage-soft);
  font-variant-numeric: tabular-nums;
}

.ct-step__title {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fffef8;
}

.ct-step__text {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 254, 248, 0.76);
}

/* direct line — quiet contact list */
.ct-direct__eyebrow {
  display: inline-block;
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--genki-sage-soft);
}

.ct-contact-list { margin: 0; padding: 0; list-style: none; }

.ct-contact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.25rem 0;
}
.ct-contact:last-child { padding-bottom: 0; }

.ct-contact__icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--genki-sage-soft);
}
.ct-contact__icon svg { width: 1.15rem; height: 1.15rem; stroke-width: 1.6; }

.ct-contact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--genki-sage-soft);
}

.ct-contact__value {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fffef8;
  transition: color 0.2s ease;
}
a.ct-contact__value:hover { color: #ffffff; }

/* trust strip — quiet typographic close */
.ct-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ct-trust__item {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 254, 248, 0.7);
}

/* Page-foot sign-off — a small editorial brand close above the footer */
.page-signoff {
  background: var(--color-dark);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-signoff__text {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.32);
}
@media (max-width: 480px) {
  .page-signoff { padding: 2.25rem 1.5rem 2rem; }
  .page-signoff__text { font-size: 0.72rem; letter-spacing: 0.18em; }
}
