:root {
  --navy: #1c1c1c;
  --navy-dark: #141414;
  --navy-deep: #111111;
  --teal: #2ec4b6;
  --green: #2ec4b6;
  --green-dark: #1f8f80;
  --ink: #1c1c1c;
  --muted: #6f6a64;
  --line: #e4ddd3;
  --bg: #f5f0e6;
  --white: #fffcf7;
  --soft-green: #efe8dc;
  --soft-navy: #ece7de;
  --gray: #c5c5c5;
  --coral: #e86a5b;
  --gold: #f4c542;
  --shadow: 0 12px 36px rgba(20, 18, 14, 0.08);
  --shadow-hover: 0 18px 44px rgba(20, 18, 14, 0.12);
  --radius: 20px;
  --header: 92px;
  --max: 1160px;
}

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

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

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
}

img,
svg {
  max-width: 100%;
}

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

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: Poppins, Inter, sans-serif;
  line-height: 1.2;
  color: var(--navy-dark);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
}

p + p {
  margin-top: 0.9rem;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(20, 18, 14, 0.08);
  border-bottom-color: var(--line);
}

.nav {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 72px;
  width: auto;
  background: #F4EFE6;
}

.logo.light img {
  height: 88px;
  background: #F4EFE6;
  border-radius: 10px;
  padding: 8px 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px 18px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--navy);
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-menu .btn,
.nav-menu .btn:hover,
.nav-menu .btn.is-active {
  color: var(--white);
  padding: 9px 16px;
  font-size: 0.85rem;
}

.nav-menu .btn.is-active::after {
  display: none;
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.25s;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(20, 18, 14, 0.16);
}

.btn-primary:hover {
  background: #2f2f2f;
  box-shadow: 0 12px 24px rgba(20, 18, 14, 0.22);
}

.btn-accent {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(20, 18, 14, 0.16);
}

.btn-accent:hover {
  background: #2f2f2f;
}

.btn-ghost {
  color: var(--ink);
  border-color: rgba(28, 28, 28, 0.22);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  background-color: #f5f0e6;
  background-image: url("hero-pills.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: var(--ink);
  padding: 64px 0 88px;
  overflow: hidden;
  min-height: clamp(560px, 78vh, 760px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 540px) 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.06);
  border: 1px solid rgba(28, 28, 28, 0.1);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tagline {
  margin: 14px 0 18px;
  font-family: Poppins, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--ink);
  max-width: 34ch;
  line-height: 1.4;
}

.lead {
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eyebrow.light {
  color: var(--teal);
}

.about {
  background: #f5f0e6;
  padding-bottom: 40px;
}

.about .eyebrow {
  color: #2e9e6d;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px 40px;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  color: #1a2433;
  line-height: 1.15;
  margin-bottom: 22px;
}

.about-copy > p {
  color: #5c6570;
  font-size: 1rem;
  line-height: 1.65;
}

.about-point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
  margin-top: 1.1rem;
}

.mol-icon {
  width: 32px;
  height: 32px;
  margin-top: 4px;
  flex-shrink: 0;
}

.about-visual {
  display: grid;
  place-items: center;
}

.phone-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 4 / 5.1;
  background: #1b2a41;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(27, 42, 65, 0.28);
}

.stage-ring,
.stage-line {
  position: absolute;
  pointer-events: none;
}

.stage-ring {
  border: 1.5px dashed rgba(180, 210, 230, 0.22);
  border-radius: 50%;
}

.stage-ring.r1 {
  width: 160px;
  height: 160px;
  left: -40px;
  top: 18%;
}

.stage-ring.r2 {
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: 8%;
}

.stage-line {
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, rgba(180, 210, 230, 0.28), transparent);
}

.stage-line.l1 {
  top: 22%;
  right: 12%;
  transform: rotate(-28deg);
}

.stage-line.l2 {
  bottom: 28%;
  left: 8%;
  width: 70px;
  transform: rotate(36deg);
}

.phone {
  position: absolute;
  left: 50%;
  top: 7%;
  width: 62%;
  height: 78%;
  transform: translateX(-50%);
  animation: phone-sway 6s ease-in-out infinite;
  transform-origin: 50% 70%;
  z-index: 1;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7fbff;
  border-radius: 36px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

.phone-badge,
.phone-card {
  position: relative;
  z-index: 1;
}

.phone-badge {
  margin: 22px 28px 0;
  background: #1b2a41;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  padding: 11px 12px;
  border-radius: 12px;
}

.phone-card {
  margin: 20px 22px 0;
  background: linear-gradient(180deg, #e7f7f3 0%, #d5efe9 100%);
  border-radius: 22px;
  min-height: 54%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 12px;
}

.phone-s {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2e9e6d;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.phone-card strong {
  font-family: Poppins, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1b2a41;
}

.phone-card em {
  margin-top: 4px;
  font-style: normal;
  font-size: 0.78rem;
  color: #7b8794;
}

.blob {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  background: var(--c);
  border-radius: 999px;
  z-index: 2;
  animation: blob-dance var(--d, 3s) ease-in-out var(--k, 0s) infinite;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.blob.dot {
  border-radius: 50%;
}

@keyframes blob-dance {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-11px) rotate(calc(var(--r, 0deg) + 5deg));
  }
}

@keyframes phone-sway {
  0%,
  100% {
    transform: translateX(-50%) rotate(-2.2deg);
  }
  50% {
    transform: translateX(-50%) rotate(2.4deg);
  }
}

.about-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 12px;
  padding-top: 8px;
}

.about-stats li {
  transform-origin: left center;
}

.about-stats strong {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 700;
  color: #1a2433;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.about-stats .accent strong {
  color: #2e9e6d;
}

.about-stats span {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa0a8;
  position: relative;
}

.about-stats span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.about-stats.is-ready li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.about-stats.is-ready li:nth-child(1) { transition-delay: 0ms; }
.about-stats.is-ready li:nth-child(2) { transition-delay: 180ms; }
.about-stats.is-ready li:nth-child(3) { transition-delay: 360ms; }

.about-stats.is-in li {
  opacity: 1;
  transform: none;
}

.about-stats.is-ready .accent strong {
  opacity: 0;
  transform: scale(0.84);
  transform-origin: left center;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 180ms;
}

.about-stats.is-in .accent strong {
  opacity: 1;
  transform: none;
}

.about-stats.is-ready span {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-stats li.is-labeled span {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .about-stats.is-in li {
    transition: opacity 0.55s ease, transform 0.28s ease;
  }

  .about-stats.is-in li:hover {
    transform: scale(1.05);
    transition-delay: 0s;
  }

  .about-stats.is-in li:hover strong {
    color: #2d3a4d;
    transition: color 0.25s ease;
  }

  .about-stats.is-in .accent:hover strong {
    color: #3bb57c;
  }

  .about-stats.is-in li:hover span::after {
    transform: scaleX(1);
  }
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.split-copy p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.why-wrap {
  margin-top: 8px;
}

.why-stage {
  perspective: 1200px;
  height: 520px;
  display: grid;
  place-items: center;
}

.why-carousel {
  --why-r: 380px;
  --why-t: 24s;
  position: relative;
  width: 250px;
  height: 320px;
  transform-style: preserve-3d;
  animation: why-spin var(--why-t) linear infinite;
}

.why-carousel .card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--why-r));
  transform-style: preserve-3d;
  animation: why-depth var(--why-t) linear infinite;
  animation-delay: calc(var(--i) * -4s);
  transition: none;
}

.why-carousel .card-face {
  height: 320px;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(20, 18, 14, 0.05);
  box-shadow: var(--shadow);
  animation: why-unspin var(--why-t) linear infinite;
  display: flex;
  flex-direction: column;
}

.why-photo {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
}

.why-body {
  padding: 14px 20px 18px;
  min-height: 0;
  flex: 1;
}

.why-carousel .icon-wrap {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.why-carousel h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.why-carousel p {
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.why-stage:hover .why-carousel,
.why-stage:hover .why-carousel .card,
.why-stage:hover .why-carousel .card-face {
  animation-play-state: paused;
}

.why-carousel .card:hover {
  opacity: 1 !important;
  filter: none !important;
  z-index: 6;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--why-r)) scale(1.08);
  box-shadow: none;
}

@keyframes why-spin {
  from { transform: rotateX(-8deg) rotateY(0deg); }
  to { transform: rotateX(-8deg) rotateY(360deg); }
}

@keyframes why-unspin {
  from { transform: rotateY(calc(var(--i) * -60deg)); }
  to { transform: rotateY(calc(var(--i) * -60deg - 360deg)); }
}

@keyframes why-depth {
  0%, 8% { opacity: 1; filter: blur(0); }
  18% { opacity: 0.82; filter: blur(0.4px); }
  50% { opacity: 0.5; filter: blur(1.6px); }
  82% { opacity: 0.82; filter: blur(0.4px); }
  92%, 100% { opacity: 1; filter: blur(0); }
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 18, 14, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.section-alt .card {
  background: var(--bg);
}

.section-alt .why-carousel .card {
  background: transparent;
}

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

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--soft-navy);
  color: var(--navy);
  margin-bottom: 16px;
}

.icon-wrap.green {
  background: var(--soft-green);
  color: var(--green-dark);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

#values {
  background: #f5f0e6;
  padding-top: 40px;
}

#values .card {
  position: relative;
  isolation: isolate;
  background: #1a2433;
  border-radius: 16px;
  min-height: 320px;
  color: #fff;
}

#values .card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

#values .card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.28) 0%, rgba(20, 18, 14, 0.72) 48%, rgba(20, 18, 14, 0.92) 100%);
}

#values .card > *:not(.card-bg) {
  position: relative;
  z-index: 2;
}

#values .card h3 {
  color: #fff;
}

#values .card p {
  color: rgba(255, 255, 255, 0.88);
}

#values .icon-wrap {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.values-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.values-row .card {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  transition:
    flex-grow 0.4s ease-in-out,
    flex-basis 0.4s ease-in-out,
    transform 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out,
    background 0.4s ease-in-out;
}

.values-row .card p {
  overflow: hidden;
  max-height: 8.5rem;
  transition: opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .values-row:hover .card {
    flex-grow: 0.62;
    flex-basis: 0;
  }

  .values-row .card:hover {
    flex-grow: 2.35;
    flex-basis: 0;
    transform: scale(1.02);
    z-index: 1;
    background: #fff;
    box-shadow: 0 20px 48px rgba(20, 18, 14, 0.16);
  }

  .values-row:hover .card:not(:hover) p {
    opacity: 0;
    max-height: 0;
  }
}

.values-row .card:active {
  background: #fff;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 38px 36px 34px;
  color: #fff;
  box-shadow: 0 18px 42px rgba(13, 43, 38, 0.22);
  opacity: 0;
}

.mv-card.mission {
  background: #0d2b26;
  transform: translateX(-64px);
}

.mv-card.vision {
  background: linear-gradient(145deg, #123a8a 0%, #1565a8 42%, #0f8a82 100%);
  transform: translateX(64px);
}

.mv-card.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.mv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.1) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: mv-shimmer 9s ease-in-out infinite;
  opacity: 0.45;
}

.mv-mark {
  position: absolute;
  right: -18px;
  bottom: -14px;
  width: min(42%, 200px);
  height: auto;
  color: #f4c542;
  opacity: 0.1;
  pointer-events: none;
  animation: mv-pulse 3.8s ease-in-out infinite;
}

.mv-card.vision .mv-mark {
  color: #9ff5ea;
}

.mv-card > *:not(.mv-mark) {
  position: relative;
  z-index: 1;
}

.mv-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4c542;
  margin-bottom: 10px;
}

.mv-card.vision .mv-label {
  color: #7ee8d8;
}

.mv-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.mv-card > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.mv-sub {
  margin: 18px 0 10px;
  font-weight: 600;
  color: var(--navy);
}

.mv-card .mv-sub {
  color: rgba(255, 255, 255, 0.92);
  margin: 22px 0 14px;
}

.mv-card .check-list {
  gap: 12px;
}

.mv-card .check-list li {
  padding-left: 44px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
}

.mv-card.is-in .check-list li {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(0.5s + var(--i, 0) * 0.12s);
}

.mv-card .check-list li::before {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  top: 0;
  background: #f4c542 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D2B26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.2 17 19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.mv-card.vision .check-list li::before {
  background-color: #2ec4b6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.2 17 19 7'/%3E%3C/svg%3E");
}

@media (hover: hover) and (pointer: fine) {
  .mv-card.is-in:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(13, 43, 38, 0.32);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .mv-card.is-in:hover::after {
    opacity: 0.9;
    animation-duration: 3.6s;
  }
}

@keyframes mv-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

@keyframes mv-pulse {
  0%,
  100% {
    opacity: 0.08;
    transform: scale(1);
  }
  50% {
    opacity: 0.16;
    transform: scale(1.05);
  }
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--soft-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1C1C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.2 17 19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip-row li {
  background: var(--soft-navy);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}

.commit-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.commit-panel h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.commit-panel .check-list li {
  color: rgba(255, 255, 255, 0.86);
}

.commit-panel .check-list li::before {
  background-color: rgba(46, 196, 182, 0.28);
}

#csr .csr-card {
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out,
    box-shadow 0.25s ease;
  transition-delay: var(--d, 0s);
}

#csr .csr-photo {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

#csr .csr-body {
  padding: 22px 26px 26px;
}

#csr .csr-card.is-in {
  opacity: 1;
  transform: none;
}

#csr .csr-card.is-resetting {
  transition: none;
}

#csr .csr-edu {
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.28);
}

#csr .csr-health {
  box-shadow: 0 20px 40px rgba(46, 158, 109, 0.28);
}

#csr .csr-env {
  box-shadow: 0 20px 40px rgba(232, 106, 91, 0.28);
}

#csr .csr-edu .icon-wrap {
  background: #f3e8ff;
  color: #7c3aed;
}

#csr .csr-health .icon-wrap {
  background: #e7f6ee;
  color: #2e9e6d;
}

#csr .csr-env .icon-wrap {
  background: #fde8e4;
  color: #e86a5b;
}

#csr .csr-edu.is-in:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(124, 58, 237, 0.38);
}

#csr .csr-health.is-in:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(46, 158, 109, 0.38);
}

#csr .csr-env.is-in:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(232, 106, 91, 0.38);
}

.csr-band {
  margin-top: 28px;
  background: var(--bg);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
}

.section-alt .csr-band {
  background: var(--bg);
}

.csr-band h3 {
  margin-bottom: 8px;
}

.csr-band p {
  color: var(--muted);
}

.csr-band .chip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
  justify-content: stretch;
  justify-items: stretch;
}

.csr-band .chip-row li {
  width: 100%;
  text-align: center;
}

.leader-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  background: var(--white);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
  align-items: start;
}

.leader-avatar {
  width: 160px;
  height: 160px;
}

.leader-role {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.leader-body h3 {
  font-size: 1.8rem;
  margin: 4px 0 14px;
}

.leader-body p {
  color: var(--muted);
}

.qual-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 8px;
}

.qual-row span {
  background: var(--soft-green);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}

#careers .card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

#careers .icon-wrap {
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

#careers .card:hover {
  transform: translateY(-10px) scale(1.03);
}

#careers .card:nth-child(1):hover {
  background: #e7f8f5;
  box-shadow: 0 22px 40px rgba(46, 196, 182, 0.35);
}

#careers .card:nth-child(1):hover .icon-wrap {
  background: #2ec4b6;
  color: #fff;
  transform: scale(1.12) rotate(-8deg);
}

#careers .card:nth-child(2):hover {
  background: #f3e8ff;
  box-shadow: 0 22px 40px rgba(124, 58, 237, 0.32);
}

#careers .card:nth-child(2):hover .icon-wrap {
  background: #7c3aed;
  color: #fff;
  transform: scale(1.12) rotate(-8deg);
}

#careers .card:nth-child(3):hover {
  background: #fff6d9;
  box-shadow: 0 22px 40px rgba(244, 197, 66, 0.4);
}

#careers .card:nth-child(3):hover .icon-wrap {
  background: #f4c542;
  color: #1c1c1c;
  transform: scale(1.12) rotate(-8deg);
}

#careers .card:nth-child(4):hover {
  background: #e8f6ee;
  box-shadow: 0 22px 40px rgba(46, 158, 109, 0.32);
}

#careers .card:nth-child(4):hover .icon-wrap {
  background: #2e9e6d;
  color: #fff;
  transform: scale(1.12) rotate(-8deg);
}

.careers-cta {
  margin-top: 36px;
  text-align: center;
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.careers-cta p {
  max-width: 64ch;
  margin: 0 auto 20px;
  color: var(--muted);
}

.closing {
  background: var(--navy-deep);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}

.closing h2,
.closing p {
  color: var(--white);
}

.closing p {
  max-width: 62ch;
  margin: 14px auto 28px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-tag {
  margin: 14px 0 20px;
  max-width: 36ch;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.contact-list,
.footer-links {
  display: grid;
  gap: 10px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-list .icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-list .icon,
.social .icon {
  width: 18px;
  height: 18px;
}

.footer-links a:hover,
.contact-list a:hover {
  color: var(--teal);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.social a:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.typewriter {
  position: relative;
}

.typewriter .tw-ghost {
  visibility: hidden;
}

.typewriter .tw-live {
  position: absolute;
  inset: 0;
}

.typewriter .tw-cursor {
  display: none;
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.14em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: tw-blink 0.72s step-end infinite;
}

.typewriter.is-typing .tw-cursor {
  display: inline-block;
}

@keyframes tw-blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 24px 32px;
    gap: 6px;
    box-shadow: -16px 0 40px rgba(20, 18, 14, 0.16);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 55;
  }

  .nav-menu.is-open {
    transform: none;
  }

  .nav-menu a {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
  }

  .nav-menu a.is-active::after {
    display: none;
  }

  .nav-cta {
    margin: 12px 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }

  .card-grid.three,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  .hero-grid,
  .split,
  .about-grid,
  .mv-grid,
  .leader-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .csr-band .chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-stage {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .values-row {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .values-row .card {
    min-width: 220px;
  }

  .why-stage {
    height: auto;
    perspective: none;
  }

  .why-carousel {
    width: 100%;
    height: auto;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    transform: none;
    animation: none;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .why-carousel .card,
  .why-carousel .card:hover {
    position: relative;
    inset: auto;
    flex: 0 0 min(78vw, 300px);
    height: 320px;
    transform: none;
    animation: none;
    opacity: 1 !important;
    filter: none !important;
  }

  .why-carousel .card-face {
    animation: none;
    height: 320px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero {
    background-size: 160% auto;
    background-position: 78% 100%;
    min-height: 0;
    padding-bottom: 280px;
  }

  .leader-avatar {
    margin: 0 auto;
  }

  .leader-card {
    text-align: center;
  }

  .qual-row,
  .chip-row {
    justify-content: center;
  }

  .check-list li {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }

  .csr-band .chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .section,
  .closing {
    padding: 64px 0;
  }

  .about {
    padding-bottom: 28px;
  }

  #values {
    padding-top: 32px;
  }

  .hero {
    padding-top: 36px;
  }

  .card-grid.three,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .why-carousel {
    flex-direction: column;
    overflow: visible;
  }

  .why-carousel .card,
  .why-carousel .card:hover {
    flex: none;
  }

  .values-row {
    flex-direction: column;
    overflow: visible;
  }

  .values-row .card,
  .values-row .card:hover {
    flex: none;
    min-width: 0;
    transform: none;
  }

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

  .mv-card,
  .leader-card,
  .commit-panel {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  #csr .csr-card,
  .mv-card,
  .mv-card .check-list li {
    opacity: 1;
    transform: none;
  }
}
