/* ========================================
   Regen Studio — Modern Website Styles
   Light Theme with Interactive Canvas Hero
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #FFFFFF;
  --color-bg-light: #F8F9FA;
  --color-bg-card: #FFFFFF;
  --color-surface: #F0F0F0;
  --color-border: rgba(36, 54, 68, 0.1);
  --color-border-hover: rgba(36, 54, 68, 0.2);

  /* Brand Neutrals */
  --color-navy: #243644;
  --color-navy-light: #5781A1;
  --color-navy-lighter: #8CA9BF;
  --color-navy-bg: #C4D3DE;
  --color-navy-dark: #1B2833;
  --color-warm-gray: #E4E2E2;
  --color-warm-gray-dark: #6A6565;

  /* Brand Accent Colors */
  --color-magenta: #93093F;
  --color-magenta-light: #FDB6D2;
  --color-magenta-mid: #FB72A6;
  --color-magenta-bg: rgba(147, 9, 63, 0.08);

  --color-red: #E71846;
  --color-red-light: #FCCAD6;
  --color-red-mid: #F898AE;
  --color-red-bg: rgba(231, 24, 70, 0.08);

  --color-orange: #FFA92D;
  --color-orange-light: #FFEEC8;
  --color-orange-mid: #FFDC96;
  --color-orange-bg: rgba(255, 169, 45, 0.08);

  --color-green: #65DD35;
  --color-green-light: #DFFACA;
  --color-green-mid: #C0F798;
  --color-green-bg: rgba(101, 221, 53, 0.08);

  --color-emerald: #00914B;
  --color-emerald-light: #AFF9D7;
  --color-emerald-mid: #61F4B2;
  --color-emerald-bg: rgba(0, 145, 75, 0.08);

  --color-teal: #009BBB;
  --color-teal-light: #BBF0F8;
  --color-teal-mid: #79E1F3;
  --color-teal-bg: rgba(0, 155, 187, 0.08);

  --color-gold: #A0701A;
  --color-gold-light: #F5DFA0;
  --color-gold-mid: #E8C46A;
  --color-gold-bg: rgba(160, 112, 26, 0.08);

  /* Semantic Colors */
  --color-primary: #00914B;
  --color-primary-hover: #006937;
  --color-primary-glow: rgba(0, 145, 75, 0.15);
  --color-accent: #009BBB;
  --color-text: #243644;
  --color-text-secondary: #5781A1;
  --color-text-muted: #9B9B9B;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout */
  --container-max: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Card shadows */
  --shadow-sm: 0 1px 3px rgba(36, 54, 68, 0.06), 0 1px 2px rgba(36, 54, 68, 0.04);
  --shadow-md: 0 4px 16px rgba(36, 54, 68, 0.08), 0 2px 4px rgba(36, 54, 68, 0.04);
  --shadow-lg: 0 12px 40px rgba(36, 54, 68, 0.1), 0 4px 12px rgba(36, 54, 68, 0.04);
  --shadow-xl: 0 20px 60px rgba(36, 54, 68, 0.12), 0 8px 20px rgba(36, 54, 68, 0.06);

  /* Ease */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--color-emerald);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* em tags cycle through brand colors via nth-of-type */
em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
}

em:nth-of-type(6n+1) {
  color: var(--color-emerald);
}

em:nth-of-type(6n+2) {
  color: var(--color-teal);
}

em:nth-of-type(6n+3) {
  color: var(--color-magenta);
}

em:nth-of-type(6n+4) {
  color: var(--color-red);
}

em:nth-of-type(6n+5) {
  color: var(--color-orange);
}

em:nth-of-type(6n+6) {
  color: var(--color-green);
}

/* Fallback: when there's only 1 em or it's the only child */
em:only-of-type {
  color: var(--color-emerald);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 20px var(--color-primary-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

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

.btn--small {
  padding: 10px 24px;
  font-size: 0.875rem;
  min-height: 44px;
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  transition: height var(--transition);
}

.nav--scrolled .nav__logo-img {
  height: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__links .btn {
  color: #FFFFFF;
  background: var(--color-primary);
}

.nav__links .btn:hover {
  background: var(--color-primary-hover);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* --- Viewport Toggle --- */
.viewport-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.viewport-toggle:hover {
  border-color: var(--color-border-hover);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.viewport-toggle__icon {
  width: 18px;
  height: 18px;
  color: var(--color-text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
}

.viewport-toggle__icon--desktop {
  opacity: 1;
  transform: scale(1);
}

.viewport-toggle__icon--mobile {
  opacity: 0;
  transform: scale(0.7);
}

.viewport-toggle.active .viewport-toggle__icon--desktop {
  opacity: 0;
  transform: scale(0.7);
}

.viewport-toggle.active .viewport-toggle__icon--mobile {
  opacity: 1;
  transform: scale(1);
}

/* Mobile viewport simulation frame */
.mobile-viewport-frame {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 390px;
  height: 844px;
  max-height: 90vh;
  border-radius: 40px;
  box-shadow:
    0 0 0 12px #1a1a1a,
    0 0 0 14px #333,
    0 25px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-viewport-frame.visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-viewport-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 40px;
}

.mobile-viewport-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-viewport-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.lang-switcher__link {
  color: var(--color-text-light, #6b7280);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.lang-switcher__link:hover {
  color: var(--color-text);
  background: var(--color-bg-alt, #f3f4f6);
}

.lang-switcher__link--active {
  color: var(--color-primary);
  font-weight: 700;
}

.lang-switcher__sep {
  color: var(--color-text-light, #6b7280);
  opacity: 0.4;
  user-select: none;
}

/* --- Nav Contact Popover --- */
.nav__contact-wrap {
  position: relative;
}

.nav__contact-btn {
  color: #FFFFFF;
  background: var(--color-primary);
}

.nav__contact-btn:hover {
  background: var(--color-primary-hover);
}

.nav__contact-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1001;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__contact-popover.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__contact-popover-inner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  text-align: center;
}

.nav__contact-popover-inner::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  border-right: none;
  border-bottom: none;
  transform: rotate(45deg);
}

.nav__contact-popover-text {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.nav__contact-popover .copyable-email {
  width: 100%;
  justify-content: center;
}

.nav__contact-popover-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav__contact-popover-divider::before,
.nav__contact-popover-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.nav__contact-popover .nav__contact-popover-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: #00914B;
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav__contact-popover .nav__contact-popover-link:hover {
  background: #007a3f;
  color: #fff;
  transform: translateY(-1px);
}

.nav__contact-popover-link:active {
  transform: translateY(0);
}

.nav__contact-popover-link svg {
  flex-shrink: 0;
  stroke: #fff;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

/* --- Desktop "Menu" dropdown button --- */
.nav__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all var(--transition);
}

.nav__menu-btn:hover {
  color: var(--color-text);
  border-color: var(--color-border-hover);
  background: rgba(255, 255, 255, 0.6);
}

.nav__menu-btn__arrow {
  display: inline-block;
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

.nav__menu-btn.open .nav__menu-btn__arrow {
  transform: rotate(180deg);
}

/* --- Desktop dropdown panel --- */
.nav__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 8px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.nav__dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav__dropdown a:hover {
  color: var(--color-text);
  background: var(--color-bg-light);
}

/* Desktop: show Menu button + dropdown, hide inline nav links */
@media (min-width: 769px) {
  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: inline-flex;
  }
}

/* Desktop: show contact in nav__actions */
.nav__contact-wrap--desktop {
  display: block;
  position: relative;
}

/* Mobile: hide Menu button + desktop contact, keep hamburger + slide-in nav */
@media (max-width: 768px) {
  .nav__menu-btn {
    display: none;
  }

  .nav__dropdown {
    display: none;
  }

  .nav__contact-wrap--desktop {
    display: none;
  }
}

/* ========================================
   Hero — Interactive Canvas + Overlay
   ======================================== */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #FAFBFC;
}

/* --- Ambient gradient orbs (behind canvas) --- */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}

.hero-ambient__orb--1 {
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(0, 155, 187, 0.25) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbDrift1 25s ease-in-out infinite;
}

.hero-ambient__orb--2 {
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(0, 145, 75, 0.2) 0%, transparent 70%);
  bottom: -15%;
  left: -8%;
  animation: orbDrift2 30s ease-in-out infinite;
}

.hero-ambient__orb--3 {
  width: 35vw;
  height: 35vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(255, 169, 45, 0.12) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: orbDrift3 20s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(30px, -25px) scale(1.08); }
  70% { transform: translate(-15px, 15px) scale(0.96); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.1); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* --- Canvas wrap (fixed, fades on scroll via JS) --- */
.hero-canvas-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.1s linear;
}

.hero-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .hero-canvas-wrap canvas {
    pointer-events: none;
  }
}

/* --- Hero content overlay --- */
.hero__content {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 48px 80px;
  pointer-events: none;
}

.hero__inner {
  max-width: 520px;
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(36, 54, 68, 0.4);
  margin-bottom: 20px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: var(--color-text);
}

.hero__title strong {
  font-family: var(--font-sans);
  font-weight: 800;
  color: #00914B;
}

.hero__tagline {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 400;
  color: rgba(36, 54, 68, 0.5);
  letter-spacing: -0.03em;
  line-height: 1.12;
  white-space: nowrap;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(0.88rem, 1.1vw, 0.92rem);
  color: rgba(36, 54, 68, 0.38);
  max-width: 400px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  pointer-events: auto;
}

.hero__actions .btn {
  padding: 11px 26px;
  font-size: 0.85rem;
}

.hero__locations {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: rgba(36, 54, 68, 0.28);
  flex-wrap: wrap;
}

.hero__locations span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__locations svg {
  opacity: 0.5;
}

.hero__locations-divider {
  opacity: 0.3;
}

/* --- Freeze button --- */
.freeze-btn {
  position: fixed;
  top: 80px;
  right: clamp(20px, 4vw, 40px);
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(36, 54, 68, 0.1);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

.freeze-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(36, 54, 68, 0.18);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.freeze-btn__icon {
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.freeze-btn__text {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.freeze-btn:hover .freeze-btn__icon,
.freeze-btn:hover .freeze-btn__text {
  color: var(--color-text-secondary);
}

.freeze-btn.frozen {
  background: rgba(0, 145, 75, 0.08);
  border-color: rgba(0, 145, 75, 0.2);
}

.freeze-btn.frozen .freeze-btn__icon,
.freeze-btn.frozen .freeze-btn__text {
  color: var(--color-emerald);
}

.freeze-btn.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

/* --- Freeze share panel --- */
.freeze-panel {
  position: fixed;
  top: 120px;
  right: clamp(20px, 4vw, 40px);
  z-index: 98;
  max-width: 280px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 8px 32px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.freeze-panel.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.freeze-panel__msg {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.freeze-panel__note {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.freeze-panel__note strong {
  color: var(--color-text);
  font-weight: 600;
}

.freeze-panel__note a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition);
}

.freeze-panel__note a:hover {
  opacity: 0.8;
}

.freeze-panel__divider {
  height: 1px;
  background: var(--color-border);
  margin: 10px 0;
}

/* Step 1: Download CTA */
.freeze-panel__download-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid rgba(0, 145, 75, 0.25);
  border-radius: 12px;
  background: var(--color-emerald-bg);
  color: var(--color-emerald);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.freeze-panel__download-cta:hover {
  background: rgba(0, 145, 75, 0.12);
  border-color: rgba(0, 145, 75, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 145, 75, 0.12);
}

.freeze-panel__download-cta.downloaded {
  background: rgba(0, 145, 75, 0.06);
  border-color: var(--color-border);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Step 2: Share (hidden until download) */
.freeze-panel__share-step {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              margin-top 0.4s ease;
  margin-top: 0;
}

.freeze-panel__share-step.revealed {
  max-height: 200px;
  opacity: 1;
  margin-top: 14px;
}

.freeze-panel__share-hint {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.freeze-panel__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.freeze-panel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text-secondary);
}

.freeze-panel__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.freeze-panel__btn--share:hover {
  background: rgba(0, 145, 75, 0.06);
  border-color: rgba(0, 145, 75, 0.18);
  color: var(--color-emerald);
}

.freeze-panel__btn--linkedin:hover {
  background: rgba(0, 119, 181, 0.08);
  border-color: rgba(0, 119, 181, 0.2);
  color: #0077B5;
}

.freeze-panel__btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.2);
  color: #25D366;
}

.freeze-panel__btn--bluesky:hover {
  background: rgba(0, 133, 255, 0.08);
  border-color: rgba(0, 133, 255, 0.2);
  color: #0085FF;
}

.freeze-panel__btn--mastodon:hover {
  background: rgba(99, 100, 255, 0.08);
  border-color: rgba(99, 100, 255, 0.2);
  color: #6364FF;
}

.freeze-panel__btn--reddit:hover {
  background: rgba(255, 69, 0, 0.08);
  border-color: rgba(255, 69, 0, 0.2);
  color: #FF4500;
}

.freeze-panel__btn--email:hover {
  background: rgba(36, 54, 68, 0.06);
  border-color: rgba(36, 54, 68, 0.18);
  color: var(--color-text);
}

/* --- Share toast notification --- */
.share-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  padding: 12px 24px;
  background: rgba(36, 54, 68, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.share-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .freeze-btn,
  .freeze-panel {
    display: none;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: auto;
}

.hero__scroll a {
  display: flex;
  color: var(--color-text-muted);
  animation: bounce 2s ease infinite;
  pointer-events: auto;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ========================================
   Content Wrap — covers canvas on scroll
   ======================================== */

.content-wrap {
  position: relative;
  z-index: 10;
  background: var(--color-bg-light);
}

/* --- Lander image: full-width hero-to-content bridge --- */
.lander-image {
  width: 100%;
  line-height: 0;
  background: #FAFBFC;
}

.lander-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Polygon Decorations --- */
.polygon-divider {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
}

.polygon-divider svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Section nav — subtle inline pill buttons */
.section-nav {
  display: block;
  margin-top: 16px;
  pointer-events: auto;
}
.section-nav__track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 5px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.section-nav__track::-webkit-scrollbar { display: none; }
.section-nav__btn {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
}
.section-nav__btn:hover {
  color: var(--color-text);
  background: #fff;
  border-color: var(--color-text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.section-nav__btn.active {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 145, 75, 0.2);
}

.section-decoration {
  position: relative;
}

.section-decoration::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.08;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: var(--color-teal);
  top: 60px;
  right: 5%;
  transform: rotate(15deg);
}

.section-decoration::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.06;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: var(--color-magenta);
  bottom: 80px;
  left: 8%;
  transform: rotate(-25deg);
}

/* --- Animate In (hero entrance) --- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
}

/* Tighter spacing on home page */
.home .section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section__label--center {
  text-align: center;
}

.section__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-text);
}

.section__title--center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.section__grid--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* --- About --- */
.about {
  background: var(--color-bg-light);
}

.about__lead {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__text p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.about__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about__circle-group {
  position: relative;
  z-index: 1;
  width: 461px;
  height: 461px;
}

.about__circle {
  position: absolute;
  width: 259px;
  height: 259px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__circle--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-emerald-bg);
  border-color: rgba(0, 145, 75, 0.15);
}

.about__circle--2 {
  bottom: 10px;
  left: 0;
  background: var(--color-teal-bg);
  border-color: rgba(0, 155, 187, 0.15);
}

.about__circle--3 {
  bottom: 10px;
  right: 0;
  background: var(--color-orange-bg);
  border-color: rgba(255, 169, 45, 0.15);
}

.about__circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--color-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 6px 24px rgba(0, 145, 75, 0.25);
  z-index: 1;
  overflow: hidden;
}

.about__circle-logo {
  width: 96px;
  height: auto;
}

.about__circle-group:hover .about__circle--1 {
  border-color: rgba(0, 145, 75, 0.35);
}

.about__circle-group:hover .about__circle--2 {
  border-color: rgba(0, 155, 187, 0.35);
}

.about__circle-group:hover .about__circle--3 {
  border-color: rgba(255, 169, 45, 0.35);
}

/* --- Focus --- */
.focus {
  background: var(--color-bg);
}

.focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Center the bottom row of 2 */
.focus__card:nth-child(4),
.focus__card:nth-child(5) {
  grid-column: auto;
}

/* Use a 6-col subgrid trick to center the last 2 */
.focus__grid {
  grid-template-columns: repeat(6, 1fr);
}

.focus__card:nth-child(1) { grid-column: 1 / 3; }
.focus__card:nth-child(2) { grid-column: 3 / 5; }
.focus__card:nth-child(3) { grid-column: 5 / 7; }
.focus__card:nth-child(4) { grid-column: 2 / 4; }
.focus__card:nth-child(5) { grid-column: 4 / 6; }

.focus__card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.focus__card-header {
  display: grid;
  grid-template-columns: 1fr 48px auto 1fr;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 16px;
}

.focus__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}

.focus__card:nth-child(1) .focus__card-icon {
  background: var(--color-orange-bg);
  color: var(--color-orange);
}
.focus__card:nth-child(2) .focus__card-icon {
  background: var(--color-emerald-bg);
  color: var(--color-emerald);
}
.focus__card:nth-child(3) .focus__card-icon {
  background: var(--color-teal-bg);
  color: var(--color-teal);
}
.focus__card:nth-child(4) .focus__card-icon {
  background: var(--color-green-bg);
  color: var(--color-green);
}
.focus__card:nth-child(5) .focus__card-icon {
  background: var(--color-magenta-bg);
  color: var(--color-magenta);
}

.focus__card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--color-text);
  align-self: center;
  line-height: 1.3;
  grid-column: 3;
  grid-row: 1;
  white-space: nowrap;
}

.focus__card-text {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  grid-column: 1 / -1;
  grid-row: 2;
}

/* --- Case highlight (inner card) --- */
.focus__case {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  position: relative;
  padding: 16px 20px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
}

/* Accent strip on the left */
.focus__case-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 12px 0 0 12px;
  transform: scaleY(0.5);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.focus__case:hover .focus__case-accent {
  transform: scaleY(1);
}

/* Shimmer sweep on hover */
.focus__case::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  opacity: 0;
  transition: none;
  pointer-events: none;
}

.focus__case:hover::after {
  opacity: 1;
  left: 130%;
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s;
}

.focus__case-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.focus__case-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.focus__case-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Pulse dot indicator */
.focus__case-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.focus__case-indicator::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0;
  animation: casePulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.focus__case:hover .focus__case-indicator {
  opacity: 1;
}

.focus__case:hover .focus__case-indicator::before {
  opacity: 0.6;
}

@keyframes casePulse {
  0% { transform: scale(0.8); opacity: 0; }
  40% { opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* --- Case color variants per card --- */

/* 1 – Energy: orange */
.focus__card:nth-child(1) .focus__case {
  background: linear-gradient(135deg, rgba(255,169,45,0.05), rgba(255,169,45,0.10));
  border: 1px solid rgba(255,169,45,0.12);
}
.focus__card:nth-child(1) .focus__case:hover {
  border-color: rgba(255,169,45,0.30);
  box-shadow: 0 4px 20px rgba(255,169,45,0.08);
}
.focus__card:nth-child(1) .focus__case-accent { background: var(--color-orange); }
.focus__card:nth-child(1) .focus__case-label { color: var(--color-orange); }
.focus__card:nth-child(1) .focus__case-name { color: #9a6400; }
.focus__card:nth-child(1) .focus__case:hover .focus__case-name { color: var(--color-orange); }
.focus__card:nth-child(1) .focus__case-indicator { background: var(--color-orange); color: var(--color-orange); }

/* 2 – Circular: emerald */
.focus__card:nth-child(2) .focus__case {
  background: linear-gradient(135deg, rgba(0,145,75,0.04), rgba(0,145,75,0.09));
  border: 1px solid rgba(0,145,75,0.12);
}
.focus__card:nth-child(2) .focus__case:hover {
  border-color: rgba(0,145,75,0.30);
  box-shadow: 0 4px 20px rgba(0,145,75,0.08);
}
.focus__card:nth-child(2) .focus__case-accent { background: var(--color-emerald); }
.focus__card:nth-child(2) .focus__case-label { color: var(--color-emerald); }
.focus__card:nth-child(2) .focus__case-name { color: #005530; }
.focus__card:nth-child(2) .focus__case:hover .focus__case-name { color: var(--color-emerald); }
.focus__card:nth-child(2) .focus__case-indicator { background: var(--color-emerald); color: var(--color-emerald); }

/* 3 – Cities: teal */
.focus__card:nth-child(3) .focus__case {
  background: linear-gradient(135deg, rgba(0,155,187,0.04), rgba(0,155,187,0.09));
  border: 1px solid rgba(0,155,187,0.12);
}
.focus__card:nth-child(3) .focus__case:hover {
  border-color: rgba(0,155,187,0.30);
  box-shadow: 0 4px 20px rgba(0,155,187,0.08);
}
.focus__card:nth-child(3) .focus__case-accent { background: var(--color-teal); }
.focus__card:nth-child(3) .focus__case-label { color: var(--color-teal); }
.focus__card:nth-child(3) .focus__case-name { color: #006070; }
.focus__card:nth-child(3) .focus__case:hover .focus__case-name { color: var(--color-teal); }
.focus__card:nth-child(3) .focus__case-indicator { background: var(--color-teal); color: var(--color-teal); }

/* 4 – Nature: green */
.focus__card:nth-child(4) .focus__case {
  background: linear-gradient(135deg, rgba(101,221,53,0.04), rgba(101,221,53,0.09));
  border: 1px solid rgba(101,221,53,0.12);
}
.focus__card:nth-child(4) .focus__case:hover {
  border-color: rgba(101,221,53,0.30);
  box-shadow: 0 4px 20px rgba(101,221,53,0.08);
}
.focus__card:nth-child(4) .focus__case-accent { background: var(--color-green); }
.focus__card:nth-child(4) .focus__case-label { color: #3a9918; }
.focus__card:nth-child(4) .focus__case-name { color: #2d7a12; }
.focus__card:nth-child(4) .focus__case:hover .focus__case-name { color: #3a9918; }
.focus__card:nth-child(4) .focus__case-indicator { background: var(--color-green); color: var(--color-green); }

/* 5 – Digital: magenta */
.focus__card:nth-child(5) .focus__case {
  background: linear-gradient(135deg, rgba(147,9,63,0.03), rgba(147,9,63,0.08));
  border: 1px solid rgba(147,9,63,0.10);
}
.focus__card:nth-child(5) .focus__case:hover {
  border-color: rgba(147,9,63,0.28);
  box-shadow: 0 4px 20px rgba(147,9,63,0.07);
}
.focus__card:nth-child(5) .focus__case-accent { background: var(--color-magenta); }
.focus__card:nth-child(5) .focus__case-label { color: var(--color-magenta); }
.focus__card:nth-child(5) .focus__case-name { color: #6e0630; }
.focus__card:nth-child(5) .focus__case:hover .focus__case-name { color: var(--color-magenta); }
.focus__card:nth-child(5) .focus__case-indicator { background: var(--color-magenta); color: var(--color-magenta); }

/* --- Services --- */
.services {
  background: var(--color-bg-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service {
  padding: 40px 32px 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.service__image {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.service__image img,
.service__image svg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: all var(--transition);
}

/* Subtle colored accent line at top of each card */
.service:nth-child(1) { border-top: 2px solid var(--color-emerald); }
.service:nth-child(2) { border-top: 2px solid var(--color-teal); }
.service:nth-child(3) { border-top: 2px solid var(--color-magenta); }
.service:nth-child(4) { border-top: 2px solid var(--color-red); }

/* Soft colored glow on images/icons */
.service:nth-child(1) .service__image img,
.service:nth-child(1) .service__image svg { box-shadow: 0 0 20px rgba(0, 145, 75, 0.15); }
.service:nth-child(2) .service__image img,
.service:nth-child(2) .service__image svg { box-shadow: 0 0 20px rgba(0, 155, 187, 0.15); }
.service:nth-child(3) .service__image img,
.service:nth-child(3) .service__image svg { box-shadow: 0 0 20px rgba(147, 9, 63, 0.15); }
.service:nth-child(4) .service__image img,
.service:nth-child(4) .service__image svg { box-shadow: 0 0 20px rgba(231, 24, 70, 0.15); }

.service:hover .service__image img,
.service:hover .service__image svg {
  transform: scale(1.05);
}

.service__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--color-text);
}

.service__text {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Clients --- */
.clients {
  background: var(--color-bg-light);
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.client-type {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.client-type:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.client-type__icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

/* Each client type icon gets a different brand color */
.client-type:nth-child(1) .client-type__icon { color: var(--color-emerald); }
.client-type:nth-child(2) .client-type__icon { color: var(--color-teal); }
.client-type:nth-child(3) .client-type__icon { color: var(--color-magenta); }
.client-type:nth-child(4) .client-type__icon { color: var(--color-red); }
.client-type:nth-child(5) .client-type__icon { color: var(--color-orange); }
.client-type:nth-child(6) .client-type__icon { color: var(--color-green); }

.client-type h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  overflow-wrap: break-word;
  hyphens: auto;
}

/* --- Client logos carousel --- */
.clients__logos-section {
  margin-top: 60px;
  text-align: center;
}

.clients__logos-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.clients__logos-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients__logos-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}

.clients__logos-track:hover {
  animation-play-state: paused;
}

.clients__logos-track img {
  height: 74px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  background: #FFFFFF;
  padding: 12px 18px;
  border-radius: 8px;
}

.clients__logos-track img:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile: static logo grid instead of infinite scroll */
@media (max-width: 768px) {
  .clients__logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 32px;
    width: auto;
  }

  .clients__logos-track-wrap {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }

  /* Hide the duplicate set — JS creates 2 rounds, only show first 8 */
  .clients__logos-track img:nth-child(n+9) {
    display: none;
  }
}

/* --- Blog Preview --- */
.blog-preview {
  background: var(--color-bg);
}

.blog-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.blog-preview__header .section__title {
  margin-bottom: 0;
}

.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- Demos Preview --- */
.demos-preview {
  background: var(--color-bg-light);
}

.demos-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.demos-preview__header .section__title {
  margin-bottom: 0;
}

.demos-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.demos-preview__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.demos-preview__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.demos-preview__card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.demos-preview__card-visual {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-light);
}

.demos-preview__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demos-preview__card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 100px;
}

.demos-preview__card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.demos-preview__card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.demos-preview__card-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.demos-preview__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.demos-preview__card-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-light);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

.demos-preview__card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demos-preview__card:hover .demos-preview__card-link {
  color: var(--color-primary-hover);
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

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

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card__placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card__placeholder::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.06;
}

.blog-card:nth-child(1) .blog-card__placeholder::after { background: var(--color-teal); }
.blog-card:nth-child(2) .blog-card__placeholder::after { background: var(--color-emerald); }
.blog-card:nth-child(3) .blog-card__placeholder::after { background: var(--color-orange); }

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-emerald-bg);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.blog-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--color-primary);
}

.blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.blog-card__read {
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-card__read {
  opacity: 1;
  transform: translateX(0);
}

/* --- Copyable Email Component --- */
.copyable-email {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.copyable-email:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.copyable-email__address {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  user-select: all;
  -webkit-user-select: all;
  letter-spacing: -0.01em;
  margin-right: 12px;
}

.copyable-email__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: #FFFFFF;
  background: var(--color-primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.copyable-email__btn:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 16px var(--color-primary-glow);
  transform: translateY(-1px);
}

.copyable-email__icon--check {
  display: none;
}

.copyable-email__btn.copied .copyable-email__icon--copy {
  display: none;
}

.copyable-email__btn.copied .copyable-email__icon--check {
  display: block;
}

.copyable-email__btn.copied {
  background: #22c55e;
}

/* --- Footer Copyable Email --- */
.footer__email-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__email-address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  user-select: all;
  -webkit-user-select: all;
  transition: color var(--transition);
}

.footer__email-row:hover .footer__email-address {
  color: var(--color-emerald-mid);
}

.footer__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition);
}

.footer__copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-emerald-mid);
}

.footer__copy-icon--check {
  display: none;
}

.footer__copy-btn.copied .footer__copy-icon--copy {
  display: none;
}

.footer__copy-btn.copied .footer__copy-icon--check {
  display: block;
}

.footer__copy-btn.copied {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
}

/* --- Soft CTA Lines (inline prompts after sections) --- */
.section__soft-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.section__soft-cta-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  font-style: italic;
  font-family: var(--font-serif);
}

.section__soft-cta-email {
  display: inline-flex;
  flex-shrink: 0;
}

/* Inline variant — no background, no border, compact */
.copyable-email--inline {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.copyable-email--inline:hover {
  border-color: transparent;
  box-shadow: none;
}

.copyable-email--inline .copyable-email__address {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-right: 6px;
}

.copyable-email__btn--small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  min-width: 36px;
  min-height: 36px;
}

.copyable-email__btn--small:hover {
  color: var(--color-primary);
  border-color: var(--color-border-hover);
  background: var(--color-emerald-bg);
  box-shadow: none;
  transform: none;
}

.copyable-email__btn--small.copied {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
}

/* Form link beside inline email — subtle sibling to the copy button */
.soft-cta__form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px;
  color: var(--color-primary);
  background: var(--color-emerald-bg);
  border: 1px solid rgba(0, 145, 75, 0.2);
  border-radius: 8px;
  margin-left: 4px;
  transition: all var(--transition);
  text-decoration: none;
}

.soft-cta__form-link:hover {
  color: var(--color-primary);
  border-color: var(--color-border-hover);
  background: var(--color-emerald-bg);
}

/* --- CTA --- */
.cta {
  background: var(--color-bg);
  padding: var(--section-pad) 0;
}

.cta__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta__logo {
  margin-bottom: 20px;
}

.cta__logo-img {
  height: 36px;
  width: auto;
  margin: 0 auto;
  display: block;
  opacity: 0.08;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--color-text);
}

.cta__text {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta__actions {
  margin-bottom: 60px;
}

/* --- Footer --- */
.footer {
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 40px;
  color: #FFFFFF;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 360px;
}

.footer__links {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 48px;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 12px;
}

.footer__col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--color-emerald-mid);
}

.privacy-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 24px;
  margin-bottom: 8px;
}

.footer__logo {
  display: inline-block;
}

.footer__logo-img {
  height: 80px;
  width: auto;
}

.footer__col--locations > h4 {
  margin-bottom: 16px;
}

.footer__location {
  margin-bottom: 20px;
}

.footer__location:last-child {
  margin-bottom: 0;
}

.footer__location-country {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.footer__entity {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 4px;
}

.footer__address {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  margin-bottom: 4px;
}

.footer__reg {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: monospace;
}

.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--color-emerald-mid);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .blog-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .focus__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .focus__card:nth-child(1),
  .focus__card:nth-child(2),
  .focus__card:nth-child(3),
  .focus__card:nth-child(4),
  .focus__card:nth-child(5) {
    grid-column: auto;
  }

  .clients__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .demos-preview__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-preview__grid {
    grid-template-columns: 1fr;
  }

  .demos-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .demos-preview__grid {
    grid-template-columns: 1fr;
  }

  .nav {
    background: rgba(250, 251, 252, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav__links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    background: var(--color-bg);
    flex-direction: column;
    padding: 80px 32px 32px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    gap: 16px;
    border-left: 1px solid var(--color-border);
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(36, 54, 68, 0.1);
    z-index: 1000;
  }

  .nav__links a {
    font-size: 0.82rem;
    padding: 3px 0;
  }

  .nav__links.open {
    right: 0;
    overflow-y: auto;
    max-height: 100vh;
    max-height: 100dvh;
  }

  .viewport-toggle {
    display: none;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__contact-popover {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav__contact-popover.open {
    display: block;
  }

  .nav__contact-popover-inner {
    min-width: 0;
    background: var(--color-bg-light);
    backdrop-filter: none;
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: none;
    border: 1px solid var(--color-border);
  }

  .nav__contact-popover-inner::before {
    display: none;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Condensed mobile nav for short screens */
@media (max-height: 700px) and (max-width: 768px) {
  .nav__links a {
    font-size: 0.78rem;
    padding: 2px 0;
  }
  .nav__contact-popover-inner {
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .section__grid--2col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__visual {
    order: -1;
  }

  .about__circle-group {
    width: min(260px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .about__circle {
    width: 142px;
    height: 142px;
    font-size: 0.8rem;
  }

  .about__circle-center {
    width: 90px;
    height: 90px;
  }

  .about__circle-logo {
    width: 64px;
  }

  .focus__grid {
    grid-template-columns: 1fr;
  }
  .focus__card:nth-child(1),
  .focus__card:nth-child(2),
  .focus__card:nth-child(3),
  .focus__card:nth-child(4),
  .focus__card:nth-child(5) {
    grid-column: auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .clients__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero__content {
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 130px;
    text-align: center;
    overflow: hidden;
  }

  .hero__inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__locations {
    justify-content: center;
  }

  .hero__tagline {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .focus__case {
    padding: 12px 14px;
    gap: 10px;
  }

  .focus__case-name {
    font-size: 0.9rem;
  }

  .focus__case-label {
    font-size: 0.52rem;
  }

  .clients__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .client-type {
    padding: 16px 8px;
  }

  .client-type h3 {
    font-size: 0.75rem;
  }

  .hero__actions {
    align-items: center;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .hero__subtitle {
    display: none;
  }

  .hero__locations {
    display: none;
  }

  .copyable-email {
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius);
    gap: 12px;
  }

  .copyable-email__address {
    margin-right: 0;
    font-size: 0.95rem;
  }

  .copyable-email__btn {
    width: 100%;
    justify-content: center;
  }

  /* Cross-platform fix: circle group on small phones */
  .about__circle-group {
    width: 220px;
    height: 220px;
  }

  .about__circle {
    width: 120px;
    height: 120px;
    font-size: 0.72rem;
  }

  .about__circle-center {
    width: 72px;
    height: 72px;
  }

  .about__circle-logo {
    width: 52px;
  }

  /* Cross-platform fix: footer links single-col on phones */
  .footer__links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- Scroll-triggered animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================
   Regen Form — Contact Forms
   ======================================== */

.regen-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  scroll-margin-top: 100px;
}

.regen-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.regen-form__input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.regen-form__input::placeholder {
  color: var(--color-text-muted);
}

.regen-form__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.regen-form__textarea {
  min-height: 100px;
  resize: vertical;
  margin-bottom: 16px;
}

.regen-form__submit {
  display: block;
  width: 100%;
  margin-bottom: 12px;
}

.regen-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.regen-form__disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

.regen-form__disclaimer a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.regen-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
}

.regen-form__success h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
}

.regen-form__success p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.regen-form__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.regen-form__divider::before,
.regen-form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.regen-form__divider span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.regen-form__error {
  font-size: 0.85rem;
  color: var(--color-red);
  text-align: center;
  margin-top: 8px;
}

/* Newsletter checkbox */
.regen-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  margin-bottom: 8px;
}

.regen-form__checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.regen-form__checkbox--light {
  color: rgba(255, 255, 255, 0.8);
}

/* Compact variant for blog CTAs */
.regen-form--compact .regen-form__textarea {
  min-height: 60px;
}

/* Mobile: stack name + email */
@media (max-width: 480px) {
  .regen-form__row {
    grid-template-columns: 1fr;
  }
}

/* Scroll CTA form link */
.scroll-cta__form-link {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--color-primary);
  text-decoration: none;
  text-align: center;
  transition: opacity var(--transition);
}

.scroll-cta__form-link:hover {
  opacity: 0.7;
}

/* ========================================
   Privacy Policy Page
   ======================================== */

.privacy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
}

.privacy-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.privacy-page .privacy-updated {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 36px;
  margin-bottom: 12px;
}

.privacy-page p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-page li {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.privacy-page a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-page .privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color var(--transition);
}

.privacy-page .privacy-back:hover {
  color: var(--color-primary);
}

/* ========================================
   About Page
   ======================================== */

.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
}

.about-page .privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color var(--transition);
}

.about-page .privacy-back:hover {
  color: var(--color-primary);
}

/* Hero */
.about-hero {
  margin-bottom: 64px;
}

.about-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.about-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.about-hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.about-hero__lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 720px;
}

/* Sections */
.about-section {
  margin-bottom: 56px;
}

.about-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.about-section__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  max-width: 720px;
}

/* Focus cards */
.about-focus {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.about-focus__card {
  background: var(--color-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 28px 24px;
  border-top: 3px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-focus__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.about-focus__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.about-focus__card > p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.about-focus__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.about-focus__tags li {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

/* Services */
.about-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.about-services__item {
  padding: 24px;
  background: var(--color-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

.about-services__item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.about-services__item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Locations */
.about-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.about-location {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--color-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

.about-location__flag {
  flex-shrink: 0;
  margin-top: 4px;
}

.about-location__flag svg {
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.about-location__details h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.about-location__entity {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 2px;
}

.about-location__address {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.about-location__regs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-location__regs span {
  font-size: 0.73rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Connect */
.about-connect {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.about-connect__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--color-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-connect__link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.about-connect__link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.about-connect__link:hover svg {
  opacity: 1;
}

/* About page responsive */
@media (max-width: 640px) {
  .about-services {
    grid-template-columns: 1fr;
  }

  .about-locations {
    grid-template-columns: 1fr;
  }

  .about-focus {
    grid-template-columns: 1fr;
  }

  .about-connect {
    flex-direction: column;
  }

  .about-connect__link {
    justify-content: center;
  }
}

/* ========================================
   Innovation Services Subpage
   ======================================== */

.inno-services-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
}

.inno-services-page .privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.inno-services-page .privacy-back:hover {
  color: var(--color-primary);
}

/* Services grid — compact 5×2 on large desktop */
.inno-services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 1199px) and (min-width: 641px) {
  .inno-services__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.inno-service {
  padding: 20px 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.inno-service:hover,
.inno-service.active {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.inno-service.active {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

.inno-service__image {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.inno-service__image img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: all var(--transition);
}

.inno-service:hover .inno-service__image img {
  transform: scale(1.05);
}

.inno-service__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  color: var(--color-text);
}

.inno-service__teaser {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inno-service__subtitle {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Shared detail panel below service grid */
.inno-services__detail {
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-md);
  display: none;
  animation: detailFadeIn 0.25s ease;
}

.inno-services__detail.open {
  display: block;
}

@keyframes detailFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.inno-services__detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.inno-services__detail-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.inno-services__detail-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}

.inno-services__detail-body {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.inno-services__detail-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}

.inno-services__detail-link:hover {
  color: var(--color-primary-hover);
}

/* Accent colors cycling across 10 cards: emerald, teal, orange, magenta, red */
.inno-service:nth-child(5n+1) { border-top: 2px solid var(--color-emerald); }
.inno-service:nth-child(5n+2) { border-top: 2px solid var(--color-teal); }
.inno-service:nth-child(5n+3) { border-top: 2px solid var(--color-orange); }
.inno-service:nth-child(5n+4) { border-top: 2px solid var(--color-magenta); }
.inno-service:nth-child(5n+5) { border-top: 2px solid var(--color-red); }

.inno-service:nth-child(5n+1) .inno-service__image img { box-shadow: 0 0 20px rgba(0, 145, 75, 0.15); }
.inno-service:nth-child(5n+2) .inno-service__image img { box-shadow: 0 0 20px rgba(0, 155, 187, 0.15); }
.inno-service:nth-child(5n+3) .inno-service__image img { box-shadow: 0 0 20px rgba(255, 169, 45, 0.15); }
.inno-service:nth-child(5n+4) .inno-service__image img { box-shadow: 0 0 20px rgba(147, 9, 63, 0.15); }
.inno-service:nth-child(5n+5) .inno-service__image img { box-shadow: 0 0 20px rgba(231, 24, 70, 0.15); }

/* Details/summary reset for desktop — hide markers, keep card appearance */
.inno-service summary {
  list-style: none;
  cursor: default;
}
.inno-service summary::-webkit-details-marker { display: none; }
.inno-service summary::marker { display: none; }

/* Learn more link inside subtitle */
.inno-service__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}
.inno-service__link:hover {
  color: var(--color-primary-hover);
}

/* Clickable service card overlay */
.service--linked {
  cursor: pointer;
}

.service__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}

/* Service card "Learn more" link on homepage */
.service__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}

.service--linked:hover .service__link {
  color: var(--color-primary-hover);
}

/* CTA section */
.inno-services-cta {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--color-border);
}

.inno-services-cta__inner {
  text-align: center;
  margin: 0 auto;
}

.inno-services-page .regen-form {
  max-width: none !important;
  width: 100% !important;
}

/* Innovation services responsive — 2-col on tablet, accordion on mobile */
@media (max-width: 640px) {
  .inno-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .inno-service {
    padding: 14px 12px 12px;
  }
  .inno-service__image img {
    width: 40px;
    height: 40px;
  }
  .inno-service__title {
    font-size: 0.78rem;
  }
  .inno-service__teaser {
    display: none;
  }
  .inno-service:hover {
    transform: none;
  }
  .inno-services__detail {
    padding: 20px;
  }
  .inno-services__detail-img {
    width: 56px;
    height: 56px;
  }
  .inno-services__detail-title {
    font-size: 1.1rem;
  }
}

/* Mobile popup overlay for service detail cards */
@media (max-width: 768px) {
  .inno-services__detail.active {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 30, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .inno-services__detail.active .inno-services__detail-inner {
    background: #fff;
    border-radius: 16px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
  }
}

/* ========================================
   DPP Page
   ======================================== */

.dpp-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
}

/* DPP breadcrumb */
.dpp-breadcrumb {
  margin-bottom: 24px;
}

.dpp-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.dpp-breadcrumb__list li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--color-text-muted);
}

.dpp-breadcrumb__list a {
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.dpp-breadcrumb__list a:hover {
  color: var(--color-primary);
}

.dpp-breadcrumb__list [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

.dpp-page .regen-form {
  max-width: none !important;
  width: 100% !important;
}

/* DPP hero — side-by-side layout */
@keyframes dppFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dppFadeIn {
  from { opacity: 0; transform: translateX(32px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.dpp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 64px;
}

.dpp-hero__text {
  animation: dppFadeUp 0.7s var(--ease-out) both;
}

.dpp-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.dpp-hero__updated,
.di-hero__updated,
.page-updated {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.dpp-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.dpp-hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.dpp-hero__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: 14px;
}

.dpp-hero__lead:first-of-type {
  margin-top: 0;
}

.dpp-hero__lead a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}

.dpp-hero__lead a:hover {
  text-decoration-color: var(--color-primary);
}

.dpp-hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.dpp-hero__visual {
  animation: dppFadeIn 0.8s 0.15s var(--ease-out) both;
}

.dpp-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dpp-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .dpp-hero__text,
  .dpp-hero__visual {
    animation: none;
  }
}

@media (max-width: 768px) {
  .dpp-hero {
    grid-template-columns: 1fr;
  }
  .dpp-hero__visual {
    order: -1;
  }
}

/* Stakeholder grid */
.dpp-stakeholders__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}

.dpp-stakeholder {
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.dpp-stakeholder:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dpp-stakeholder__icon {
  width: 100%;
  max-height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
}

.dpp-stakeholder__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dpp-stakeholder:nth-child(1) .dpp-stakeholder__toggle { color: var(--color-teal); }
.dpp-stakeholder:nth-child(2) .dpp-stakeholder__toggle { color: var(--color-emerald); }
.dpp-stakeholder:nth-child(3) .dpp-stakeholder__toggle { color: var(--color-red); }
.dpp-stakeholder:nth-child(4) .dpp-stakeholder__toggle { color: var(--color-orange); }
.dpp-stakeholder:nth-child(5) .dpp-stakeholder__toggle { color: var(--color-magenta); }
.dpp-stakeholder:nth-child(6) .dpp-stakeholder__toggle { color: var(--color-green); }

.dpp-stakeholder__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.dpp-stakeholder__intro {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dpp-stakeholder__services {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dpp-stakeholder.expanded .dpp-stakeholder__services {
  max-height: 600px;
}

.dpp-stakeholder__services li {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
}

.dpp-stakeholder__services li:last-child {
  border-bottom: none;
}

.dpp-stakeholder__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0;
  margin-top: auto;
  transition: opacity var(--transition);
}

.dpp-stakeholder__toggle svg {
  transition: transform 0.3s ease;
}

.dpp-stakeholder.expanded .dpp-stakeholder__toggle svg {
  transform: rotate(180deg);
}

/* DPP FAQ */
.dpp-faq {
  margin-top: 64px;
}

.dpp-faq__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dpp-faq__item {
  border-bottom: 1px solid var(--color-border);
}

.dpp-faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.dpp-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

.dpp-faq__question::-webkit-details-marker {
  display: none;
}

.dpp-faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.dpp-faq__item[open] .dpp-faq__question::after {
  content: '\2212';
}

.dpp-faq__question:hover {
  color: var(--color-primary);
}

.dpp-faq__answer {
  padding: 0 0 24px;
}

.dpp-faq__answer p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.dpp-faq__answer p + p {
  margin-top: 12px;
}

.dpp-faq__answer a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}

.dpp-faq__answer a:hover {
  text-decoration-color: var(--color-primary);
}

/* DPP product groups grid */
.dpp-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 24px;
}

.dpp-product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.dpp-product:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0, 145, 75, 0.08);
}

.dpp-product img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}

.dpp-product__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  min-height: 2.2em;
  display: flex;
  align-items: center;
}

a.dpp-product--linked {
  text-decoration: none;
  color: inherit;
}

/* Status dot */
.dpp-status {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
}

.dpp-status--confirmed { background: #00914B; }
.dpp-status--expected { background: #0077B6; }
.dpp-status--planned { background: #E5A100; }

/* Timeline section on card */
.dpp-product__act {
  display: block;
  font-size: 0.66rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-top: 8px;
  line-height: 1.3;
  opacity: 0.8;
}

.dpp-product__date {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 10px;
}

.dpp-product__date--confirmed {
  color: #00914B;
  background: rgba(0, 145, 75, 0.08);
}
.dpp-product__date--expected {
  color: #0077B6;
  background: rgba(0, 119, 182, 0.08);
}
.dpp-product__date--planned {
  color: #B8860B;
  background: rgba(184, 134, 11, 0.08);
}

.dpp-product__reg {
  font-size: 0.64rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-top: 4px;
  opacity: 0.55;
}

/* Status legend */
.dpp-products__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding: 14px 20px;
  background: var(--color-bg-light);
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.dpp-products__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.dpp-products__legend-item .dpp-status {
  position: static;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.dpp-products__note {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

.dpp-products__updated {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  opacity: 0.6;
  text-align: right;
  margin-top: 12px;
  margin-bottom: 0;
}

.dpp-products__note a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .dpp-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dpp-gate--locked .dpp-products__grid > :nth-child(n+4) {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
  }
  .dpp-gate--locked .dpp-products__grid > :nth-child(-n+3) {
    filter: none;
    pointer-events: auto;
    user-select: auto;
  }
  .dpp-gate--locked .dpp-gate__overlay {
    top: 300px;
  }
}

@media (max-width: 768px) {
  .dpp-products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .dpp-product {
    padding: 14px 10px 12px;
  }
  .dpp-product img {
    width: 44px;
    height: 44px;
  }
  .dpp-product__name {
    font-size: 0.76rem;
    min-height: auto;
  }
  .dpp-product__act {
    font-size: 0.62rem;
  }
  .dpp-product__date {
    font-size: 0.64rem;
    padding: 2px 8px;
  }
  .dpp-product__reg {
    display: none;
  }
  .dpp-gate--locked .dpp-products__grid > :nth-child(n+4) {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
  }
  .dpp-gate--locked .dpp-products__grid > :nth-child(-n+3) {
    filter: none;
    pointer-events: auto;
    user-select: auto;
  }
  .dpp-gate--locked .dpp-gate__overlay {
    top: 280px;
  }
}

@media (max-width: 480px) {
  .dpp-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dpp-product img {
    width: 40px;
    height: 40px;
  }
  .dpp-gate--locked .dpp-products__grid > :nth-child(n+3) {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
  }
  .dpp-gate--locked .dpp-products__grid > :nth-child(-n+2) {
    filter: none;
    pointer-events: auto;
    user-select: auto;
  }
  .dpp-gate--locked .dpp-gate__overlay {
    top: 260px;
  }
}

/* DPP content gate */
.dpp-gate {
  position: relative;
}

/* Blur only cards after the first row + the note */
.dpp-gate--locked .dpp-products__grid > :nth-child(n+6) {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.dpp-gate--locked .dpp-products__note,
.dpp-gate--locked .dpp-products__updated,
.dpp-gate--locked .dpp-art79 {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

/* Gradient fade between visible and blurred rows */
.dpp-gate--locked .dpp-products__grid::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  /* Sits at the bottom of the first row, fading into the blurred area */
  top: calc(50% - 40px);
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  pointer-events: none;
  z-index: 5;
}

.dpp-gate--locked .dpp-products__grid {
  position: relative;
}

.dpp-gate__overlay {
  display: none;
}

.dpp-gate--locked .dpp-gate__overlay {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: absolute;
  left: 0;
  right: 0;
  top: 320px;
  z-index: 10;
  padding: 0 20px;
}

.dpp-gate__card {
  max-width: 460px;
  width: 100%;
  padding: 36px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(36, 54, 68, 0.12);
  text-align: center;
}

.dpp-gate__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.dpp-gate__text {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dpp-gate__input-row {
  display: flex;
  gap: 8px;
}

.dpp-gate__input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition);
}

.dpp-gate__input:focus {
  border-color: var(--color-primary);
}

.dpp-gate__btn {
  white-space: nowrap;
  padding: 12px 24px;
  font-size: 0.9rem;
  min-height: 44px;
}

.dpp-gate__disclaimer {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  margin-top: 12px;
  opacity: 0.7;
}

.dpp-gate__disclaimer a {
  color: var(--color-primary);
  text-decoration: underline;
}

.dpp-gate__error {
  font-size: 0.82rem;
  color: var(--color-red);
  margin-top: 8px;
}

@media (max-width: 480px) {
  .dpp-gate__input-row {
    flex-direction: column;
  }
  .dpp-gate__card {
    padding: 28px 20px;
  }
}

/* DPP mobile: hide hero detail paragraphs */
@media (max-width: 768px) {
  .dpp-hero__lead--detail {
    display: none;
  }

  /* Swap section order: services above products on mobile */
  .dpp-page {
    display: flex;
    flex-direction: column;
  }
  #dpp-overview  { order: 1; }
  #dpp-services  { order: 2; }
  #dpp-products  { order: 3; }
  #dpp-demos     { order: 4; }
  #dpp-insights  { order: 5; }
  #dpp-contact   { order: 6; }
  #dpp-faq       { order: 7; }
}

/* DPP mobile: compact product card strips */
@media (max-width: 768px) {
  .dpp-products__grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .dpp-product {
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
    gap: 10px;
    text-align: left;
    border-radius: 8px;
  }
  .dpp-product img {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
  }
  .dpp-product__name {
    flex: 1;
    min-height: auto;
    font-size: 0.78rem;
  }
  .dpp-product__act { display: none; }
  .dpp-product__date {
    font-size: 0.62rem;
    white-space: nowrap;
  }
}

/* DPP info button on cards */
.dpp-info-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-light);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 2;
}
.dpp-product:hover .dpp-info-btn {
  opacity: 1;
}
.dpp-info-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.dpp-info-btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .dpp-info-btn {
    opacity: 0.7;
  }
}

/* DPP info modal */
.dpp-info-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dpp-info-modal.open {
  display: flex;
}
.dpp-info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 54, 68, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.dpp-info-modal__card {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(36, 54, 68, 0.18);
  animation: dppModalSlideIn 0.25s ease-out;
}
@keyframes dppModalSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.dpp-info-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-light);
  color: var(--color-text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.dpp-info-modal__close:hover {
  background: var(--color-border);
}
.dpp-info-modal__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  padding-right: 32px;
}
.dpp-info-modal__act {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 2px;
}
.dpp-info-modal__status {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.dpp-info-modal__status--confirmed { color: #00914B; }
.dpp-info-modal__status--expected { color: #0077B6; }
.dpp-info-modal__status--planned { color: #B8860B; }
.dpp-info-modal__citation {
  margin: 0 0 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-light);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text);
  font-style: italic;
}
.dpp-info-modal__citation a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
  font-style: normal;
}
.dpp-info-modal__citation a:hover {
  text-decoration-color: var(--color-primary);
}
.dpp-info-modal__link {
  display: inline-block;
  padding: 8px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.dpp-info-modal__link:hover {
  background: var(--color-primary-dark, #007a3d);
}

@media (max-width: 768px) {
  .dpp-info-modal__card {
    max-width: 100%;
    padding: 24px 20px;
    max-height: 90vh;
  }
}

/* Article 79 pill section */
.dpp-art79 {
  margin-top: 36px;
  margin-bottom: 24px;
}
.dpp-art79__header {
  margin-bottom: 16px;
}
.dpp-art79__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.dpp-art79__desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 72ch;
}
.dpp-art79__desc a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
}
.dpp-art79__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dpp-art79__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
/* DPP demos — 2-col grid */
.demos-preview__grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* DPP blogs grid */
.dpp-blogs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

/* DPP responsive */
@media (max-width: 1024px) {
  .dpp-stakeholders__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .demos-preview__grid--2 {
    grid-template-columns: 1fr;
  }
  .dpp-blogs__grid {
    grid-template-columns: 1fr;
  }
  .dpp-stakeholder__intro {
    display: none;
  }
  .dpp-stakeholder {
    padding: 16px;
  }
  .dpp-stakeholder__icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  .dpp-stakeholders__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dpp-stakeholder {
    padding: 20px 18px;
  }
  .dpp-stakeholder__icon {
    display: none;
  }
  .dpp-stakeholder__title {
    font-size: 1rem;
  }
}

/* ========================================
   Digital Identities Page
   ======================================== */

.di-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
}

/* DI breadcrumb */
.di-breadcrumb {
  margin-bottom: 24px;
}

.di-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.di-breadcrumb__list li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--color-text-muted);
}

.di-breadcrumb__list a {
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.di-breadcrumb__list a:hover {
  color: var(--color-primary);
}

.di-breadcrumb__list [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

.di-page .regen-form {
  max-width: none !important;
  width: 100% !important;
}

/* DI hero — side-by-side layout */
@keyframes diFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes diFadeIn {
  from { opacity: 0; transform: translateX(32px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.di-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 64px;
}

.di-hero__text {
  animation: diFadeUp 0.7s var(--ease-out) both;
}

.di-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.di-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.di-hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.di-hero__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: 14px;
}

.di-hero__lead:first-of-type {
  margin-top: 0;
}

.di-hero__lead a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}

.di-hero__lead a:hover {
  text-decoration-color: var(--color-primary);
}

.di-hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.di-hero__visual {
  animation: diFadeIn 0.8s 0.15s var(--ease-out) both;
}

.di-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.di-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .di-hero__text,
  .di-hero__visual {
    animation: none;
  }
}

@media (max-width: 768px) {
  .di-hero {
    grid-template-columns: 1fr;
  }
  .di-hero__visual {
    order: -1;
  }
}

/* DI services grid */
.di-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.di-service {
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.di-service:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.di-service__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.di-service--magenta { border-top: 2px solid var(--color-magenta); }
.di-service--magenta .di-service__icon { background: rgba(147, 9, 63, 0.08); color: var(--color-magenta); }
.di-service--teal { border-top: 2px solid var(--color-teal); }
.di-service--teal .di-service__icon { background: rgba(0, 155, 187, 0.08); color: var(--color-teal); }
.di-service--emerald { border-top: 2px solid var(--color-emerald); }
.di-service--emerald .di-service__icon { background: rgba(0, 145, 75, 0.08); color: var(--color-emerald); }
.di-service--orange { border-top: 2px solid var(--color-orange); }
.di-service--orange .di-service__icon { background: rgba(255, 169, 45, 0.08); color: var(--color-orange); }

.di-service__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.di-service__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

@media (max-width: 640px) {
  .di-services__grid {
    grid-template-columns: 1fr;
  }
}

/* DI key concepts grid */
.di-concepts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.di-concept {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.di-concept:hover {
  border-color: var(--color-primary-glow);
  box-shadow: var(--shadow-md);
}

.di-concept__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.di-concept__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
  .di-concepts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .di-concepts__grid {
    grid-template-columns: 1fr;
  }
}

/* DI featured demo card — full-width centered */
.di-demo-featured {
  max-width: 820px;
  margin: 24px auto 0;
}

/* DI FAQ */
.di-faq__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.di-faq__item {
  border-bottom: 1px solid var(--color-border);
}

.di-faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.di-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

.di-faq__question::-webkit-details-marker {
  display: none;
}

.di-faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.di-faq__item[open] .di-faq__question::after {
  content: '\2212';
}

.di-faq__question:hover {
  color: var(--color-primary);
}

.di-faq__answer {
  padding: 0 0 24px;
}

.di-faq__answer p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.di-faq__answer p + p {
  margin-top: 12px;
}

.di-faq__answer a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}

.di-faq__answer a:hover {
  text-decoration-color: var(--color-primary);
}

/* DI blogs grid */
.di-blogs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .di-blogs__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Problem Analysis Page
   ======================================== */

.pa-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
}

.pa-page .regen-form {
  max-width: none !important;
  width: 100% !important;
}

/* Breadcrumb */
.pa-breadcrumb {
  margin-bottom: 24px;
}

.pa-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.pa-breadcrumb__list li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--color-text-muted);
}

.pa-breadcrumb__list a {
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.pa-breadcrumb__list a:hover {
  color: var(--color-primary);
}

.pa-breadcrumb__list [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* Hero */
@keyframes paFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes paFadeIn {
  from { opacity: 0; transform: translateX(32px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.pa-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 64px;
}

.pa-hero__text {
  animation: paFadeUp 0.7s var(--ease-out) both;
}

.pa-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-emerald);
  margin-bottom: 16px;
}

.pa-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.pa-hero__title em {
  font-style: italic;
  color: var(--color-emerald);
}

.pa-hero__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: 14px;
}

.pa-hero__lead:first-of-type {
  margin-top: 0;
}

.pa-hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pa-hero__visual {
  animation: paFadeIn 0.8s 0.15s var(--ease-out) both;
}

.pa-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pa-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .pa-hero__text,
  .pa-hero__visual {
    animation: none;
  }
}

@media (max-width: 768px) {
  .pa-hero {
    grid-template-columns: 1fr;
  }
  .pa-hero__visual {
    order: -1;
    max-height: 180px;
    overflow: hidden;
  }
  .pa-hero__image {
    max-height: 180px;
    overflow: hidden;
  }
  .pa-hero__image img {
    object-fit: cover;
    max-height: 180px;
  }
  .pa-method__title {
    font-size: 0.72rem;
  }
}

/* Methods grid */
.pa-methods__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.pa-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 18px;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-emerald);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  cursor: pointer;
  transition: all var(--transition);
}

.pa-method:hover,
.pa-method.active {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pa-method.active {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

@media (max-width: 768px) and (min-width: 481px) {
  .pa-methods__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* Mobile: thin horizontal bars */
@media (max-width: 480px) {
  .pa-methods__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .pa-method {
    flex-direction: row;
    gap: 10px;
    padding: 12px;
    text-align: left;
  }
  .pa-method__image {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .pa-method__image img {
    width: 36px;
    height: 36px;
  }
  .pa-method__title {
    font-size: 0.8rem;
  }
  .pa-method:hover {
    transform: none;
  }
}

.pa-method__image {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.pa-method__image img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 20px rgba(0, 145, 75, 0.15);
}

.pa-method__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

/* Shared detail panel for PA methods */
.pa-methods__detail {
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-md);
  display: none;
  animation: detailFadeIn 0.25s ease;
}

.pa-methods__detail.open {
  display: block;
}

.pa-methods__detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.pa-methods__detail-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pa-methods__detail-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}

.pa-methods__detail-body {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.pa-method--wide {
  grid-column: 1 / -1;
}

/* Featured case */
.pa-case-featured {
  max-width: 820px;
  margin: 24px auto 0;
}

.pa-case-featured .demos-preview__card-img {
  object-position: center 75%;
}

/* ========================================
   Generic FAQ Items (used on Services, PA pages)
   ======================================== */

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: 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='%23666' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(180deg);
}

.faq-item__q:hover {
  color: var(--color-primary);
}

.faq-item__a {
  padding: 0 0 18px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   FAQ Page
   ======================================== */

.faq-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
}

.faq-page .about-hero {
  margin-bottom: 40px;
}

.faq-page .regen-form {
  max-width: none !important;
  width: 100% !important;
}

.faq-page .about-hero__lead a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-glow);
  text-underline-offset: 2px;
}

/* Category jump links */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.faq-categories__link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all var(--transition);
}

.faq-categories__link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-emerald-bg);
}

@media (max-width: 768px) {
  .faq-categories__link {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* FAQ sections on FAQ page — tighter spacing */
.faq-page .dpp-faq {
  scroll-margin-top: 100px;
}

.faq-page .about-section__title {
  font-size: 1.4rem;
}

/* ========================================
   Privacy Banner
   ======================================== */

.privacy-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 0 24px env(safe-area-inset-bottom);
  background: var(--color-navy, #243644);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 24px rgba(36, 54, 68, 0.2);
  animation: privacyBannerIn 0.4s ease both;
}

.privacy-banner--closing {
  animation: privacyBannerOut 0.3s ease both;
}

.privacy-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}

.privacy-banner__icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.privacy-banner__text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.privacy-banner__text strong {
  color: #fff;
}

.privacy-banner__link {
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.privacy-banner__link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.privacy-banner__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.privacy-banner__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

@media (max-width: 480px) {
  .privacy-banner__inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .privacy-banner__text {
    flex-basis: calc(100% - 44px);
    font-size: 0.85rem;
  }
  .privacy-banner__icon {
    order: -1;
  }
  .privacy-banner__btn {
    position: absolute;
    top: 12px;
    right: 16px;
  }
  .privacy-banner {
    position: fixed;
    padding-right: 60px;
  }
}

@keyframes privacyBannerIn {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes privacyBannerOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(100%); }
}

/* ========================================
   Mobile UX Polish — 768px
   ======================================== */

@media (max-width: 768px) {
  /* Fix 1: Hide lander SVG on mobile */
  .lander-image { display: none; }

  /* Fix 3: Soft CTA — compact horizontal on mobile */
  .section__soft-cta {
    gap: 6px;
    font-size: 0.85rem;
  }

  .section__soft-cta-text {
    font-size: 0.85rem;
  }

  .copyable-email--inline .copyable-email__address {
    font-size: 0.8rem;
  }

  .copyable-email--inline .copyable-email__btn--small {
    padding: 4px 8px;
    font-size: 0.75rem;
  }

  /* Fix 4: Reduce section spacing */
  :root {
    --section-pad: 60px;
  }

  .polygon-divider svg {
    height: 30px;
  }

  /* Fix 5: Vision paragraphs — same font size */
  .about__lead {
    font-size: 1rem;
  }

  /* Fix 7: Client logos — uniform sizing */
  .clients__logos-track img {
    height: 56px;
    padding: 8px 12px;
    object-fit: contain;
    max-width: 120px;
  }

  /* Fix 8: Demos section — reduce negative space above */
  .demos-preview {
    padding-top: 40px;
  }

  /* Fix 9: Section nav — subtle inline pills on mobile */
  .section-nav {
    margin-top: 16px;
  }

  .section-nav__track {
    gap: 5px;
    padding: 0 16px;
  }

  .section-nav__btn {
    padding: 4px 10px;
    font-size: 0.7rem;
  }

  .section-nav__btn:hover,
  .section-nav__btn.active {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-emerald-bg);
  }

  /* Fix 10: Hero text readability over canvas on mobile */
  .hero__inner {
    background: rgba(250, 251, 252, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 24px;
    margin: 0 auto;
    max-width: 420px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  }
}

/* Fix 11: Section nav — tighter on small phones */
@media (max-width: 480px) {
  .section-nav__track {
    gap: 6px;
    padding: 0 12px;
  }
  .section-nav__btn {
    padding: 5px 12px;
    font-size: 0.75rem;
  }
}

/* ========================================
   Mobile Breakpoints — 320px
   ======================================== */

@media (max-width: 320px) {
  .hero__title {
    font-size: 1.4rem;
  }

  .hero__tagline {
    font-size: 1.2rem;
  }

  .container {
    padding: 0 16px;
  }

  :root {
    --section-pad: 60px;
  }

  .copyable-email__address {
    white-space: normal;
    word-break: break-all;
  }

  .hero__inner {
    padding: 16px;
    margin: 0 auto;
  }

  .hero__badge {
    display: none;
  }

  .section-nav__track {
    padding: 0 8px;
    gap: 4px;
  }
  .section-nav__btn {
    padding: 5px 10px;
  }
}

/* --- Reduced motion: disable backdrop-filter --- */
@media (prefers-reduced-motion: reduce) {
  .nav--scrolled,
  .freeze-btn,
  .freeze-panel,
  .scroll-cta,
  .hero__inner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ========================================
   Follow Card (Social Links)
   ======================================== */

.follow-card {
  margin: 48px auto 0;
  max-width: 480px;
  text-align: center;
}

.follow-card__heading {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.follow-card__links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.follow-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}

.follow-card__link:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb, 45, 106, 79), 0.06);
}

.follow-card__link svg {
  flex-shrink: 0;
}

/* ========================================
   Thank-you Page
   ======================================== */

.thankyou-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 160px clamp(20px, 4vw, 40px) 80px;
  text-align: center;
}

.thankyou-page__icon {
  margin-bottom: 24px;
}

.thankyou-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px;
}

.thankyou-page__text {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.thankyou-page__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition);
}

.thankyou-page__home:hover {
  opacity: 0.8;
}

/* --- Textarea min-height on small screens --- */
@media (max-width: 480px) {
  .regen-form__textarea {
    min-height: 80px;
  }
}

/* --- Touch target sizing (WCAG 2.2 AA: 44×44px minimum) --- */
@media (pointer: coarse) {
  .copyable-email__btn--small,
  .soft-cta__form-link {
    min-width: 44px;
    min-height: 44px;
  }

  .privacy-banner__btn {
    width: 44px;
    height: 44px;
  }

  .footer__copy-btn {
    width: 36px;
    height: 36px;
  }

  .nav__toggle {
    padding: 10px;
  }
}

