/* ============================================
   Mosaic SAP — Styles
   Palette: Navy #142f4b, Accent #e00056,
   Light Blue #adcef0, tinted neutrals
   ============================================ */

/* --- Tokens --- */
:root {
  /* Brand */
  --navy: oklch(0.30 0.05 240);
  --navy-deep: oklch(0.22 0.04 240);
  --navy-mid: oklch(0.38 0.05 240);
  --accent: oklch(0.55 0.22 12);
  --accent-hover: oklch(0.50 0.24 12);
  --blue-light: oklch(0.82 0.06 230);
  --blue-muted: oklch(0.72 0.05 230);

  /* Light-mode neutrals — tinted toward navy hue (240) */
  --surface-light: oklch(0.985 0.003 240);
  --surface-warm: oklch(0.96 0.005 240);
  --surface-mid: oklch(0.93 0.008 240);
  --text-primary: oklch(0.22 0.04 240);
  --text-secondary: oklch(0.45 0.02 240);
  --text-muted: oklch(0.60 0.015 240);
  --border-subtle: oklch(0.88 0.01 240);

  /* Dark sections (hero, CTA) keep light text */
  --on-dark-primary: oklch(0.95 0.005 240);
  --on-dark-secondary: oklch(0.78 0.01 240);
  --on-dark-muted: oklch(0.55 0.015 240);

  /* Space (4pt scale) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-2sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Type */
  --font-display: 'Bricolage Grotesque', serif;
  --font-body: 'Figtree', sans-serif;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-hero: clamp(2.75rem, 2rem + 3.5vw, 5rem);

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(var(--space-md), 4vw, var(--space-3xl));

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.6s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: oklch(0.98 0 0);
  border-radius: 4px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-md);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-lg) var(--gutter);
  color: var(--on-dark-primary);
  transition: background var(--duration) var(--ease-out),
              backdrop-filter var(--duration) var(--ease-out);
}

.site-header.scrolled {
  background: oklch(0.985 0.003 240 / 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-subtle);
  color: var(--text-primary);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 56px;
  width: auto;
  transition: filter 0.4s var(--ease-out);
}

/* Brighten logo over dark hero — normal over light content when scrolled */
.hero .logo img,
.site-header:not(.scrolled) .logo img {
  filter: brightness(1.8);
}

.site-header.scrolled .logo img {
  filter: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 500;
}

.nav-list a {
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out-quint);
}

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

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

.site-header:not(.scrolled) .nav-list a:hover,
.site-header:not(.scrolled) .nav-list a:focus-visible {
  color: var(--blue-light);
}

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

.nav-cta {
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent);
  color: oklch(0.98 0 0);
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: oklch(0.98 0 0) !important;
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.nav-linkedin {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease-out);
}

.nav-linkedin:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-sm);
}

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

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.mobile-menu li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out-quint),
              transform 0.4s var(--ease-out-quint);
}

.mobile-menu[aria-hidden="false"] li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu[aria-hidden="false"] li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu[aria-hidden="false"] li:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu[aria-hidden="false"] li:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu[aria-hidden="false"] li:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu[aria-hidden="false"] li:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu[aria-hidden="false"] li:nth-child(6) { transition-delay: 0.38s; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Hero --- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--space-4xl) var(--gutter);
  gap: var(--space-3xl);
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--on-dark-primary);
}

.hero-content {
  max-width: 600px;
}

.hero-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: var(--text-xl);
  color: var(--on-dark-secondary);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero visual — mosaic sphere */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
}

.mosaic-sphere {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 16px 32px oklch(0.10 0.03 240 / 0.4));
  animation: sphere-float 8s var(--ease-out) infinite alternate;
}

.sphere-svg {
  width: 100%;
  height: 100%;
}

/* Tile base — dark leading between glass pieces */
.tile {
  stroke: oklch(0.15 0.03 240);
  stroke-width: 3;
  stroke-linejoin: round;
}

/* Mosaic palette — matched to Mosaic logo */
.t-ac { fill: oklch(0.55 0.22 12); }   /* accent red */
.t-bu { fill: oklch(0.38 0.16 15); }   /* burgundy */
.t-am { fill: oklch(0.68 0.16 65); }   /* amber/gold */
.t-cr { fill: oklch(0.88 0.04 80); }   /* cream */
.t-nv { fill: oklch(0.30 0.05 240); }  /* navy */
.t-bl { fill: oklch(0.65 0.08 230); }  /* blue */

@keyframes sphere-float {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(3deg); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px var(--space-xl);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: background 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.btn-primary {
  background: var(--accent);
  color: oklch(0.98 0 0);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.btn-ghost {
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

/* Ghost button on dark backgrounds */
.hero .btn-ghost,
.cta .btn-ghost {
  border-color: oklch(0.5 0.01 240);
  color: var(--on-dark-secondary);
}

.hero .btn-ghost:hover,
.cta .btn-ghost:hover {
  border-color: var(--on-dark-primary);
  color: var(--on-dark-primary);
}

.btn-lg {
  padding: 18px var(--space-2xl);
  font-size: var(--text-base);
}

/* --- Section Label --- */
.section-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

/* --- Values --- */
.values {
  padding: var(--space-4xl) var(--gutter);
  background: var(--surface-warm);
  border-bottom: 1px solid var(--border-subtle);
}

.values-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.value-item {
  padding: var(--space-xl) 0;
}

.value-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  opacity: 0.15;
  display: block;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.value-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.value-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 38ch;
}

/* --- Approach --- */
.approach {
  padding: var(--space-4xl) var(--gutter);
}

.approach-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: start;
}

.approach h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  max-width: 20ch;
}

.approach-body {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 55ch;
  margin-bottom: var(--space-2xl);
}

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

.pillar {
  padding: var(--space-lg);
  background: var(--surface-mid);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              background 0.4s var(--ease-out);
}

.pillar:hover {
  border-color: var(--blue-muted);
  transform: translateY(-2px);
  background: oklch(0.94 0.012 230);
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.pillar p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Approach visual */
.approach-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-3xl);
}

.approach-pattern {
  position: relative;
  width: 280px;
  height: 280px;
}

.ap-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  animation: spin-slow 20s linear infinite;
}

.ap-ring::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}

.ap-ring-2 {
  inset: 40px;
  border-color: var(--blue-light);
  opacity: 0.4;
  animation-direction: reverse;
  animation-duration: 15s;
}

.ap-ring-2::after {
  background: var(--blue-light);
}

.ap-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

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

/* --- Industries --- */
.industries {
  padding: var(--space-4xl) var(--gutter);
  background: var(--navy);
  color: var(--on-dark-primary);
}

.industries-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.industries h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xl);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.industry-card {
  padding: var(--space-xl);
  background: oklch(0.26 0.04 240);
  border: 1px solid oklch(0.35 0.04 240);
  border-radius: 8px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.industry-icon {
  width: 48px;
  height: 48px;
  color: var(--blue-light);
  margin-bottom: var(--space-md);
  transition: color 0.4s var(--ease-out);
}

.industry-card:hover .industry-icon {
  color: var(--accent);
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.industry-card p {
  font-size: var(--text-sm);
  color: var(--on-dark-secondary);
  line-height: 1.6;
}

/* --- Team --- */
.team {
  padding: var(--space-4xl) var(--gutter);
}

.team-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.team h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.team-intro {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 55ch;
  margin-bottom: var(--space-2xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-mid);
  border: 2px solid var(--border-subtle);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding: var(--space-xl);
}

.team-member h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.team-linkedin {
  display: inline-flex;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-out);
}

.team-linkedin:hover {
  color: var(--accent);
}

/* --- Proof / Testimonial --- */
.proof {
  padding: var(--space-4xl) var(--gutter);
  background: var(--surface-warm);
}

.proof-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-3xl);
  align-items: center;
}

.proof-quote blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  position: relative;
}

.proof-quote blockquote p::before {
  content: '\201C';
  display: block;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.proof-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.proof-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: oklch(0.95 0 0);
  flex-shrink: 0;
}

.proof-name {
  font-weight: 600;
  font-size: var(--text-base);
}

.proof-role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.proof-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- CTA --- */
.cta {
  padding: var(--space-4xl) var(--gutter);
  background: var(--navy-deep);
  color: var(--on-dark-primary);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.cta p {
  font-size: var(--text-lg);
  color: var(--on-dark-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

/* --- Footer --- */
.site-footer {
  padding: var(--space-3xl) var(--gutter) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-tagline {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-4xl);
  margin-bottom: var(--space-2xl);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  z-index: 101;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* --- Hero Entrance --- */
.hero-label,
.hero h1,
.hero-sub,
.hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.8s var(--ease-out) forwards;
}

.hero-label     { animation-delay: 0.15s; }
.hero h1        { animation-delay: 0.3s; }
.hero-sub       { animation-delay: 0.45s; }
.hero-actions   { animation-delay: 0.6s; }

.hero-visual {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: hero-visual-enter 1.2s var(--ease-out-quint) 0.5s forwards;
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Team Photo Hover --- */
.team-photo {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.team-member:hover .team-photo {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 32px oklch(0.22 0.04 240 / 0.15);
}

/* --- Industry Icon Hover --- */
.industry-icon svg {
  transition: transform 0.4s var(--ease-out);
}

.industry-card:hover .industry-icon svg {
  transform: translateY(-3px);
}

/* --- Stat Counter Shimmer --- */
.stat-value {
  transition: opacity 0.5s var(--ease-out);
}

/* --- Reveal Animation --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-list { display: none; }
  .menu-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--space-3xl);
  }

  .hero-visual {
    max-width: 280px;
    justify-self: center;
    margin-top: var(--space-xl);
  }

  .values-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .value-item {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .value-item:last-child { border-bottom: none; }

  .approach-inner {
    grid-template-columns: 1fr;
  }

  .approach-visual { display: none; }

  .approach-pillars {
    grid-template-columns: 1fr;
  }

  .proof-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .proof-stats {
    flex-direction: row;
    gap: var(--space-2xl);
  }

  .footer-links {
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .proof-quote blockquote p {
    font-size: var(--text-xl);
  }

  .proof-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .hero-label,
  .hero h1,
  .hero-sub,
  .hero-actions,
  .hero-visual,
  .mobile-menu li {
    opacity: 1;
    transform: none;
  }

  .scroll-progress { display: none; }

  html { scroll-behavior: auto; }
}
