/* === WNE Landing — Design System & Styles ===
   Direction: Neo-Editorial Organic
   "Bridging modern medicine with organic warmth"
   ============================================ */

/* ── DESIGN TOKENS ── */
:root {
  /* Colors — warm, organic healthcare palette */
  --c-bg:           #F9F7F3;
  --c-surface:      #FFFFFF;
  --c-surface-alt:  #F0EEEA;
  --c-text:         #1D2A2C;
  --c-text-muted:   #5F7275;
  --c-text-light:   #8A9A9C;
  --c-primary:      #0B7B7C;
  --c-primary-dark: #175C5D;
  --c-primary-light:#E8F2F2;
  --c-accent:       #D49A3D;
  --c-accent-dark:  #B27A26;
  --c-accent-light: #FCF3E4;
  --c-border:       #E4DFD6;
  --c-border-light: #F0EDE5;

  /* Typography */
  --font-heading:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type Scale */
  --text-hero:      clamp(3rem, 1.2rem + 6vw, 5.5rem);
  --text-h1:        clamp(2.4rem, 1rem + 4.5vw, 3.8rem);
  --text-h2:        clamp(1.8rem, 0.8rem + 3.2vw, 2.6rem);
  --text-h3:        clamp(1.3rem, 0.6rem + 2.2vw, 1.6rem);
  --text-h4:        clamp(1.1rem, 0.5rem + 1.8vw, 1.25rem);
  --text-body:      clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --text-small:     0.875rem;
  --text-label:     0.75rem;
  --text-lead:      clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);

  /* Spacing — rhythmic, not uniform */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

  /* Depth */
  --shadow-subtle: 0 1px 3px rgba(29, 43, 44, 0.04), 0 1px 2px rgba(29, 43, 44, 0.02);
  --shadow-card:   0 4px 24px rgba(29, 43, 44, 0.05), 0 2px 6px rgba(29, 43, 44, 0.04);
  --shadow-raised: 0 12px 40px rgba(29, 43, 44, 0.08), 0 4px 12px rgba(29, 43, 44, 0.04);
  --shadow-button: 0 2px 8px rgba(11, 123, 124, 0.18);
  --shadow-glow: 0 0 60px rgba(11, 123, 124, 0.15);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;
  --duration-reveal: 800ms;
  --duration-ambient: 20s;

  /* Layout */
  --content-max: 1200px;
  --content-narrow: 900px;
  --content-wide: 1400px;
  --nav-h: 5rem;
}

/* ── Ambient animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes drift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(20px) translateY(-10px); }
  50% { transform: translateX(-10px) translateY(20px); }
  75% { transform: translateX(15px) translateY(15px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

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

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

::selection {
  background: var(--c-primary);
  color: white;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: var(--text-h2); margin-bottom: var(--space-md); }
h3 { font-size: var(--text-h3); margin-bottom: var(--space-sm); }
h4 { font-size: var(--text-h4); line-height: 1.35; margin-bottom: var(--space-sm); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}

p {
  color: var(--c-text-muted);
  max-width: 65ch;
}

p + p { margin-top: var(--space-sm); }

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

a:hover { color: var(--c-primary-dark); }

/* Focus-visible baseline */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

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

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

.footer a:focus-visible {
  outline-color: white;
  outline-offset: 2px;
}

/* ── LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.section-pad {
  padding: var(--space-section) 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  font-size: var(--text-small);
  font-weight: 600;
  z-index: 1000;
  transition: top var(--duration-fast) var(--ease-out-quart);
}

.skip-link:focus {
  top: var(--space-md);
  outline: none;
}

/* ── ORGANIC DIVIDER ── */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  transition: background var(--duration-base) var(--ease-out-quart),
              box-shadow var(--duration-base) var(--ease-out-quart),
              backdrop-filter var(--duration-base) var(--ease-out-quart);
}

.nav--scrolled {
  background: rgba(249, 247, 243, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-subtle);
  border-bottom: 1px solid var(--c-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-wide, 1400px);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.nav__logo-mark {
  width: 38px;
  height: 38px;
  background: var(--c-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.2;
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav__links a {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: var(--space-2xs) 0;
  transition: color var(--duration-fast) var(--ease-out-quart);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  border-radius: 1px;
  transition: width var(--duration-base) var(--ease-out-expo);
}

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

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 0.6rem 1.4rem;
  background: var(--c-primary);
  color: white;
  font-size: var(--text-small);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out-quart),
              box-shadow var(--duration-fast) var(--ease-out-quart),
              transform var(--duration-fast) var(--ease-out-quart);
}

.nav__cta:hover {
  background: var(--c-primary-dark);
  box-shadow: var(--shadow-button);
  transform: translateY(-1px);
  color: white;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out-quart),
              opacity var(--duration-fast) var(--ease-out-quart);
}

.nav__toggle span + span {
  margin-top: 6px;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 72% 20%, rgba(11, 123, 124, 0.04), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 75%, rgba(212, 154, 61, 0.05), transparent 55%),
    var(--c-bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 123, 124, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 123, 124, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

/* Ambient floating elements */
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float var(--duration-ambient) var(--ease-in-out) infinite;
}

.hero__ambient-blob--1 {
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 30%, var(--c-primary), transparent 70%);
  animation-delay: 0s;
}

.hero__ambient-blob--2 {
  bottom: 15%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at 60% 60%, var(--c-accent), transparent 70%);
  animation-delay: -7s;
}

.hero__ambient-blob--3 {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 50% 50%, var(--c-primary), transparent 70%);
  animation-delay: -14s;
  animation-duration: 25s;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: var(--space-2xl) 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--space-lg);
}

.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 0;
  color: var(--c-text);
  position: relative;
}

.hero h1 .brand-name {
  color: var(--c-primary);
  position: relative;
  white-space: nowrap;
}

.hero h1 .brand-name::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: var(--c-accent);
  opacity: 0.25;
  border-radius: 2px;
}

.hero__lede {
  font-size: var(--text-lead);
  color: #34474A;
  margin: var(--space-lg) 0 0;
  max-width: 52ch;
  font-weight: 400;
  line-height: 1.62;
}

/* Grounded stats strip — editorial hierarchy, no floating elements */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin: var(--space-xl) 0 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
}

.hero__stat-unit {
  font-size: 0.58em;
  color: var(--c-accent-dark);
}

.hero__stat-label {
  margin: 0;
  font-size: var(--text-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4A5C5E;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--duration-fast) var(--ease-out-quart),
    box-shadow var(--duration-fast) var(--ease-out-quart),
    background var(--duration-fast) var(--ease-out-quart);
  position: relative;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--c-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(11, 123, 124, 0.25);
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  box-shadow: 0 6px 20px rgba(11, 123, 124, 0.30);
  transform: translateY(-2px);
  color: white;
}

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

.btn--outline:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

/* Outline button on dark/colored backgrounds (e.g. the teal CTA banner) */
.btn--outline-light {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.btn--gold {
  background: var(--c-accent);
  color: white;
  box-shadow: 0 2px 8px rgba(212, 154, 61, 0.25);
}

.btn--gold:hover {
  background: var(--c-accent-dark);
  box-shadow: 0 6px 20px rgba(212, 154, 61, 0.3);
  transform: translateY(-2px);
  color: white;
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Button ripple effect */
.btn {
  overflow: hidden;
}

.btn__ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: btn-ripple 0.6s var(--ease-out-quart) forwards;
  pointer-events: none;
}

@keyframes btn-ripple {
  to {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
  }
}

/* Full-bleed hero illustration, sitting behind the text */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transform: scale(1.02);
  transition: transform 8s var(--ease-out-quart);
}

/* Translucent cream theme layer between the image and the text */
.hero__media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 247, 243, 0.97) 0%,
    rgba(249, 247, 243, 0.92) 34%,
    rgba(249, 247, 243, 0.62) 60%,
    rgba(249, 247, 243, 0.18) 100%
  );
}

/* ── ABOUT SECTION ── */
.about {
  background: var(--c-surface);
  position: relative;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about__visual {
  position: relative;
}

.about__visual-inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-raised);
}

.about__image {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform 6s var(--ease-out-quart);
}

.about__visual:hover .about__image {
  transform: scale(1.02);
}

.about__image-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 123, 124, 0.12) 100%);
  pointer-events: none;
}

.about__story {
  margin-bottom: var(--space-2xl);
}

.about__story p {
  max-width: 72ch;
  font-size: var(--text-lead);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: var(--space-lg);
  transition: border-color var(--duration-base) var(--ease-out-quart),
              box-shadow var(--duration-base) var(--ease-out-quart),
              transform var(--duration-base) var(--ease-out-quart);
}

.about-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-raised);
  transform: translateY(-4px);
}

.about-card__icon {
  width: 44px;
  height: 44px;
  background: var(--c-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
  transition: background var(--duration-base) var(--ease-out-quart),
              transform var(--duration-base) var(--ease-out-quart);
}

.about-card:hover .about-card__icon {
  background: var(--c-primary);
  transform: scale(1.05);
}

.about-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--c-primary);
  transition: color var(--duration-base) var(--ease-out-quart);
}

.about-card:hover .about-card__icon svg {
  color: white;
}

.about-card h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-xs);
}

.about-card p {
  font-size: var(--text-small);
  margin: 0;
}

/* ── SERVICES ────────────────────────────── */
.services {
  background: var(--c-bg);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

.services__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.services__intro .section-divider {
  margin: 0 auto var(--space-md);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: var(--space-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-out-quart),
    border-color var(--duration-base) var(--ease-out-quart),
    box-shadow var(--duration-base) var(--ease-out-quart);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-raised);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--c-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: background var(--duration-fast) var(--ease-out-quart);
}

.service-card:hover .service-card__icon {
  background: var(--c-primary);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.8;
  transition: stroke var(--duration-fast) var(--ease-out-quart);
}

.service-card:hover .service-card__icon svg {
  stroke: white;
}

.service-card h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: var(--text-small);
  margin: 0;
  color: var(--c-text-muted);
}

.service-card__number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(11, 123, 124, 0.05);
  pointer-events: none;
  line-height: 1;
  transition: color var(--duration-base) var(--ease-out-quart);
}

.service-card:hover .service-card__number {
  color: rgba(11, 123, 124, 0.08);
}

/* Service card visual */
.service-card__visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) var(--space-md);
  height: 180px;
  will-change: transform, filter;
}

.service-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 600ms var(--ease-out-expo), filter var(--duration-base) var(--ease-out-quart);
}

.service-card:hover .service-card__visual img {
  transform: scale(1.1);
  filter: brightness(0.9);
}

.service-card__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 123, 124, 0.12) 100%);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out-quart);
}

.service-card:hover .service-card__visual-overlay {
  opacity: 1;
}

/* ── STRENGTHS ─── */
.strengths {
  background: var(--c-surface);
  position: relative;
}

.strengths::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

.strengths__intro {
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.strength-card {
  background: var(--c-bg);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: var(--space-lg);
  transition: border-color var(--duration-base) var(--ease-out-quart),
              background var(--duration-base) var(--ease-out-quart);
}

.strength-card:hover {
  background: var(--c-surface);
  border-color: var(--c-border);
  box-shadow: var(--shadow-card);
}

.strength-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary-light);
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.strength-card__check svg {
  width: 14px;
  height: 14px;
  stroke: var(--c-primary);
}

.strength-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-body);
  margin-bottom: var(--space-2xs);
  letter-spacing: -0.01em;
}

.strength-card p {
  margin: 0;
  font-size: var(--text-small);
}

/* ── VALUES ── */
.values {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

.values__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(11, 123, 124, 0.03), transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 80%, rgba(212, 154, 61, 0.04), transparent 50%);
  pointer-events: none;
}

.values__heading {
  margin-bottom: var(--space-2xl);
}

.values__heading .section-label {
  color: var(--c-accent);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-card {
  padding: var(--space-lg) var(--space-md);
  border-radius: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  text-align: center;
  transition:
    transform var(--duration-base) var(--ease-out-quart),
    border-color var(--duration-base) var(--ease-out-quart),
    box-shadow var(--duration-base) var(--ease-out-quart);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-raised);
}

.value-card__icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  transition: background var(--duration-base) var(--ease-out-quart),
              border-color var(--duration-base) var(--ease-out-quart);
}

.value-card:hover .value-card__icon-wrap {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
}

.value-card__icon {
  font-size: 1.8rem;
}

.value-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-body);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2xs);
}

.value-card p {
  font-size: var(--text-small);
  margin: 0;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(212, 154, 61, 0.1) 0%, transparent 35%);
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 2;
}

.cta-banner__content h2 {
  font-size: var(--text-h2);
  color: white;
  margin-bottom: var(--space-xs);
}

.cta-banner__content p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: var(--text-lead);
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--c-text);
  color: white;
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-sm);
  font-size: var(--text-small);
  max-width: 30ch;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-md);
}

.footer ul {
  list-style: none;
}

.footer ul li + li {
  margin-top: var(--space-2xs);
}

.footer ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-small);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.footer ul a:hover {
  color: white;
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--text-label);
  color: rgba(255, 255, 255, 0.4);
}

.footer__muted {
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ── REDUCED MOTION ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-up,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ── ANIMATIONS ────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
}

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

/* Stagger children */
.reveal-stagger > .reveal {
  transition-delay: calc(var(--delay, 0) * 1ms);
}

/* Fade-in from bottom */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
}

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

/* Scale in */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
}

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

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid,
  .values__grid,
  .strengths__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .hero__content {
    max-width: 620px;
  }
}

/* ── Tablet / small-tablet nav ──
   Collapse to the hamburger earlier (≤900px) so the desktop nav never
   crowds on large phones and small tablets in portrait. */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(249, 247, 243, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--duration-base) var(--ease-in-out);
    z-index: 99;
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__toggle {
    display: block;
    z-index: 100;
  }

  .nav__cta {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 3.5rem;
  }

  /* Hero */
  .hero {
    text-align: left;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 4vw + 1rem, 3.4rem);
  }

  .hero__lede {
    margin-left: 0;
    max-width: 100%;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  /* About — single column with a tighter, phone-friendly rhythm */
  .about__layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Lead with the story text, then the supporting illustration */
  .about__story {
    order: 1;
    margin-bottom: 0;
  }

  .about__visual {
    order: 2;
  }

  .about__story p {
    font-size: var(--text-body);
    max-width: 100%;
  }

  .about__image {
    max-height: 320px;
    object-fit: cover;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
  }

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

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .cta-banner__actions {
    width: 100%;
    justify-content: center;
  }

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

  .services__intro,
  .strengths__intro {
    text-align: left;
  }

  .services__intro .section-divider,
  .strengths__intro .section-divider {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
  }

  /* Full-width, centered tap targets read better on phones */
  .hero__actions .btn,
  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner__actions {
    flex-direction: column;
  }

  .hero__eyebrow {
    font-size: 0.7rem;
  }

  /* Let the highlighted phrase wrap instead of overflowing at 320px */
  .hero h1 .brand-name {
    white-space: normal;
  }

  .hero__stats {
    gap: var(--space-lg);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-card__number {
    display: none;
  }
}