*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--safe-top) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--color-text-light);
  background: var(--color-sky-deep);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.transitioning,
body.no-scroll {
  overflow: hidden;
}

body.page-light {
  background: linear-gradient(180deg, #07111f, #0a1628 24%, #07111f);
  color: var(--color-text-light);
}

img,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"] {
  touch-action: manipulation;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

main {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

::selection {
  color: var(--color-sky-deep);
  background: rgba(255, 179, 0, 0.85);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container.narrow {
  width: var(--content-narrow);
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.hero-bridge {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -120px 110px rgba(7, 17, 31, 0.86);
}

.section-merge,
.section-flow {
  position: relative;
  isolation: isolate;
}

.section-merge {
  z-index: 2;
  overflow: hidden;
  margin-top: clamp(-4.5rem, -6vw, -3rem);
  padding-top: calc(var(--section-space) + clamp(3rem, 5vw, 4.5rem));
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -28px 64px rgba(7, 17, 31, 0.22);
}

.section-merge::before,
.section-flow::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
}

.section-merge::before {
  height: 180px;
  background:
    radial-gradient(circle at 18% 0%, rgba(66, 165, 245, 0.18), transparent 36%),
    radial-gradient(circle at 82% 0%, rgba(255, 179, 0, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 28%, transparent 100%);
}

.section-merge::after,
.section-flow::after {
  content: "";
  position: absolute;
  inset: 0 6% auto;
  height: 1px;
  pointer-events: none;
}

.section-merge::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 211, 252, 0.32),
    rgba(255, 179, 0, 0.28),
    transparent
  );
}

.section-flow::before {
  height: 110px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 62%),
    radial-gradient(circle at 50% 0%, rgba(66, 165, 245, 0.1), transparent 42%);
}

.section-flow::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.section-merge > *,
.section-flow > * {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--gradient-aurora);
}

.section-light {
  background:
    radial-gradient(circle at 14% 16%, rgba(66, 165, 245, 0.14), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(255, 179, 0, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.98), rgba(7, 17, 31, 1));
  color: var(--color-text-light);
}

.section-deep {
  background: linear-gradient(180deg, #07111f, #0a1628);
}

.section-intro {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  color: var(--color-wing-gold);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.8));
}

.display-title,
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.96;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

p {
  margin: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.75;
}

.lede {
  color: var(--color-text-light);
  font-size: 1.08rem;
  line-height: 1.9;
}

.section-light .lede,
.section-light p {
  color: rgba(227, 234, 244, 0.82);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-sky-bright), var(--color-wing-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gold {
  color: var(--color-wing-gold);
}

.text-tamil {
  font-family: var(--font-tamil);
}

.rule {
  width: min(180px, 50vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.88), transparent);
}

.section-header-center {
  text-align: center;
  margin-inline: auto;
}

.section-header-center .eyebrow,
.section-header-center .rule {
  margin-inline: auto;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.95rem 1.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
  isolation: isolate;
  will-change: transform;
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 179, 0, 0.72);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--color-white);
  background: var(--gradient-cta);
  border-color: rgba(125, 211, 252, 0.24);
  box-shadow: 0 14px 40px rgba(21, 101, 192, 0.34), 0 0 30px rgba(66, 165, 245, 0.16);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.3) 42%, transparent 64%);
  transform: translateX(-135%);
  transition: transform 600ms ease;
  z-index: -1;
}

.btn-primary:hover::after {
  transform: translateX(135%);
}

.btn-primary.pulse {
  animation: heartbeat 2.6s ease-in-out infinite;
}

.btn-secondary,
.btn-outline {
  border-color: rgba(66, 165, 245, 0.44);
  color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.02);
}

.section-light .btn-secondary,
.section-light .btn-outline {
  color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(66, 165, 245, 0.34);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(0);
}

.btn.is-loading {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
}

.btn.is-loading::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-top-color: rgba(255, 255, 255, 1);
  animation: spinner 800ms linear infinite;
}

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.section-light .chip,
.section-light .tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glass-card,
.surface-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.section-light .glass-card,
.section-light .surface-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.surface-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.card-body {
  padding: 1.6rem;
}

.kicker {
  color: var(--color-wing-gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--safe-top) + 2rem);
  background: var(--gradient-aurora);
  overflow: clip;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(66, 165, 245, 0.18), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(255, 179, 0, 0.15), transparent 14%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  z-index: 1;
}

.hero-copy {
  display: grid;
  gap: 1.4rem;
  max-width: 40rem;
}

.hero-overline {
  color: var(--color-wing-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.04em 0.16em;
  max-width: 11.4ch;
  line-height: 1.04;
  padding-bottom: 0.18em;
  overflow: visible;
}

.hero-title-word {
  display: inline-block;
  margin-right: 0;
  line-height: 1.06;
  padding-bottom: 0.08em;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(38px);
  animation: heroWordReveal 0.88s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-word.text-gradient {
  padding-bottom: 0.14em;
}

.hero-subtitle {
  max-width: 62ch;
  color: rgba(227, 234, 244, 0.84);
}

.hero-stack {
  position: relative;
  min-height: 650px;
  width: min(560px, 100%);
  margin-inline: auto;
  perspective: 1400px;
  isolation: isolate;
  overflow: hidden;
  justify-self: center;
}

.hero-photo-card {
  position: absolute;
  inset: 0;
  margin: auto;
  overflow: hidden;
  width: min(410px, 82%);
  aspect-ratio: 0.74;
  padding: 1rem;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  backdrop-filter: blur(10px);
  opacity: 0;
  filter: blur(18px);
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 900ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 760ms ease, filter 760ms ease;
  transform: perspective(1400px) translate3d(86px, -64px, -220px) rotateY(-24deg) rotateX(11deg) scale(0.75);
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 32px;
}

.hero-photo-card.is-back {
  z-index: 1;
  opacity: 0.22;
  filter: blur(3px) saturate(0.76) brightness(0.62);
  transform: perspective(1400px) translate3d(84px, -54px, -190px) rotateY(-24deg) rotateX(10deg) scale(0.76);
}

.hero-photo-card.is-mid {
  z-index: 2;
  opacity: 0.58;
  filter: blur(0);
  transform: perspective(1400px) translate3d(38px, -6px, -86px) rotateY(-17deg) rotateX(6deg) scale(0.88);
}

.hero-photo-card.is-front {
  z-index: 3;
  opacity: 1;
  filter: blur(0);
  transform: perspective(1400px) translate3d(0, 36px, 0) rotateY(-8deg) rotateX(2deg) scale(1);
  box-shadow: 0 26px 70px rgba(3, 12, 24, 0.46), rgba(66, 165, 245, 0.16) 0 0 30px;
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  color: rgba(227, 234, 244, 0.7);
  font-size: 0.92rem;
}

.scroll-indicator__chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--color-wing-gold);
  border-bottom: 2px solid var(--color-wing-gold);
  transform: rotate(45deg);
  animation: bounceY 1.8s infinite;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.media-frame img,
.media-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-mark {
  position: absolute;
  top: -3.5rem;
  left: -1rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 16vw, 14rem);
  line-height: 0.8;
  color: rgba(255, 179, 0, 0.08);
  pointer-events: none;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  padding: 1.6rem 1.2rem;
  border-radius: 24px;
  background: rgba(10, 22, 40, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.metric-number {
  position: relative;
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--color-wing-gold);
}

.metric-number.is-complete::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.24) 48%, transparent 76%);
  transform: translateX(-125%);
  animation: sweepShimmer 900ms ease forwards;
}

.metric-label {
  color: rgba(227, 234, 244, 0.74);
}

.section-light .metric-card {
  background: rgba(10, 22, 40, 0.5);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stacked-list {
  display: grid;
  gap: 1rem;
}

.stat-inline {
  display: grid;
  gap: 0.2rem;
}

.stat-inline strong {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 5vw, 4rem);
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pill-tabs button {
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-light);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.pill-tabs button.is-active,
.pill-tabs button:hover {
  color: var(--color-sky-deep);
  background: var(--gradient-gold);
}

.panel-grid {
  display: grid;
  gap: 1.25rem;
}

.split-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.timeline-steps {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 2.25rem;
}

.timeline-steps::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.7rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.95), rgba(66, 165, 245, 0.4));
}

.timeline-step {
  position: relative;
  display: grid;
  gap: 0.6rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-light .timeline-step {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.timeline-step:nth-child(even) {
  margin-left: 3rem;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: -2.15rem;
  top: 1.2rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-sky-deep);
  font-weight: 700;
  background: var(--gradient-gold);
  box-shadow: var(--shadow-glow-gold);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-wing-gold);
  font-weight: 600;
}

.line-reveal {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
}

.is-visible .line-reveal {
  animation: lineReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: var(--progress-height);
  background: transparent;
}

.page-progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 179, 0, 0.6), rgba(255, 179, 0, 1));
  box-shadow: 0 0 18px rgba(255, 179, 0, 0.6);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 125;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease, visibility 0s linear 120ms;
}

.page-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.page-transition::before,
.page-transition::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.95), rgba(7, 17, 31, 1));
  transition: height 300ms cubic-bezier(0.16, 1, 0.3, 1), transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition::after {
  inset: 0 0 auto;
  transform: translateY(-100%);
}

.page-transition.is-active::before {
  height: 100%;
}

.page-transition.is-active::after {
  height: 100%;
  transform: translateY(0);
  transition-delay: 300ms;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(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;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 135;
  display: grid;
  place-items: center;
  padding:
    max(1rem, calc(1rem + var(--safe-top)))
    max(1rem, calc(1rem + var(--safe-right)))
    max(1rem, calc(1rem + var(--safe-bottom)))
    max(1rem, calc(1rem + var(--safe-left)));
  background: rgba(3, 8, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__dialog {
  position: relative;
  width: min(1100px, calc(100vw - 3rem));
  display: grid;
  gap: 1rem;
}

.lightbox__media {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.lightbox__media img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.02);
}

.lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox__close,
.lightbox__nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.lightbox__controls {
  display: flex;
  gap: 0.75rem;
}

.lightbox__caption {
  color: rgba(227, 234, 244, 0.78);
}

.timeline-scrollbar {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.timeline-scrollbar__fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(66, 165, 245, 0.8), rgba(255, 179, 0, 0.95));
}

.shake {
  animation: fieldShake 360ms ease;
}

.success-check {
  width: 92px;
  height: 92px;
  margin-inline: auto;
}

.success-check path {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: dashDraw 1s ease forwards;
}

.hidden {
  display: none !important;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1180px) {
  .section {
    padding: clamp(4rem, 8vw, var(--section-space)) 0;
  }

  .hero-grid,
  .split-editorial {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 3rem);
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    max-width: 12ch;
  }

  .hero-stack {
    width: min(500px, 100%);
    min-height: 600px;
    justify-self: center;
  }

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

  .lightbox__dialog {
    width: min(980px, calc(100vw - 2rem - var(--safe-left) - var(--safe-right)));
  }
}

@media (max-width: 900px) {
  .pill-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .pill-tabs::-webkit-scrollbar {
    display: none;
  }

  .pill-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .quote-mark {
    top: -2.2rem;
    font-size: clamp(5rem, 18vw, 8rem);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-editorial {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: var(--nav-height-mobile);
  }

  .hero-bridge {
    box-shadow: inset 0 -84px 82px rgba(7, 17, 31, 0.82);
  }

  .section-merge {
    margin-top: -2.6rem;
    padding-top: calc(var(--section-space) + 2.8rem);
    border-radius: 32px 32px 0 0;
  }

  .section-merge::before {
    height: 132px;
  }

  .section-flow::before {
    height: 76px;
  }

  .hero-shell {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--safe-top) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .metrics-grid,
  .split-editorial {
    grid-template-columns: 1fr;
  }

  .hero-stack {
    min-height: 560px;
    width: min(450px, 100%);
  }

  .hero-photo-card {
    width: min(340px, 82%);
  }

  .hero-photo-card.is-back {
    transform: perspective(1400px) translate3d(62px, -38px, -150px) rotateY(-22deg) rotateX(9deg) scale(0.76);
  }

  .hero-photo-card.is-mid {
    transform: perspective(1400px) translate3d(26px, -2px, -68px) rotateY(-15deg) rotateX(5deg) scale(0.87);
  }

  .hero-photo-card.is-front {
    transform: perspective(1400px) translate3d(0, 28px, 0) rotateY(-8deg) rotateX(2deg) scale(1);
  }

  .timeline-step:nth-child(even) {
    margin-left: 0;
  }

  .timeline-steps {
    padding-left: 2rem;
  }

  .timeline-step::before {
    left: -2rem;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox__dialog {
    width: min(100%, calc(100vw - 1.5rem - var(--safe-left) - var(--safe-right)));
  }

  .lightbox__meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }

  .hero-stack {
    min-height: 470px;
    width: min(360px, 100%);
    overflow: hidden;
  }

  .hero-photo-card {
    width: 80%;
    padding: 0.8rem;
  }

  .hero-photo-card.is-back {
    transform: perspective(1400px) translate3d(54px, -42px, -140px) rotateY(-22deg) rotateX(9deg) scale(0.72);
  }

  .hero-photo-card.is-mid {
    transform: perspective(1400px) translate3d(20px, -8px, -56px) rotateY(-14deg) rotateX(5deg) scale(0.84);
  }

  .hero-photo-card.is-front {
    transform: perspective(1400px) translate3d(0, 28px, 0) rotateY(-7deg) rotateX(2deg) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .page-transition {
    display: none !important;
  }
}
