:root {
  --white: #ffffff;
  --cloud: #f5f7fb;
  --ice: #edf4fb;
  --navy: #061a3a;
  --navy-soft: #0b2d5b;
  --blue: #1464a5;
  --sky: #5bbcff;
  --violet: #5b2bd4;
  --magenta: #e535ad;
  --ink: #07172f;
  --muted: #53637a;
  --line: rgba(7, 23, 47, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --pad: clamp(1.4rem, 4.5vw, 5.25rem);
  --max: 1560px;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --logo: "Khmer MN", "Palatino Linotype", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr);
  align-items: center;
  min-height: 5.2rem;
  padding: 0.75rem var(--pad);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  transition: min-height 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 4.65rem;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.8rem;
  width: fit-content;
}

.logo-symbol {
  width: 2.25rem;
  height: 2.55rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-wordmark {
  font-family: var(--logo);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 2.4vw, 2.8rem);
}

.site-nav a,
.header-cta {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--magenta));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.header-cta {
  justify-self: end;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--navy);
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover { background: var(--blue); transform: translateY(-1px); }
.header-cta span { margin-left: 0.35rem; }
.menu-toggle { display: none; }

.section-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--white);
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.hero-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  width: 100%;
  max-width: var(--max);
  min-height: 100svh;
  margin: 0 auto;
  padding: 7.5rem var(--pad) 2.5rem;
}

.overline,
.kicker {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overline {
  width: fit-content;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.overline span { margin: 0 0.45rem; color: var(--magenta); }

.hero-logo {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  margin: 3vh 0 1vh;
}

.hero-symbol {
  width: clamp(9rem, 15vw, 15.5rem);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.hero-logo h1 {
  margin: 0;
  font-family: var(--logo);
  font-size: clamp(5rem, 10.8vw, 11rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.75;
}

.hero-logo h1 span { display: block; }

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  padding: clamp(1.5rem, 2.5vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(125%);
}

.hero-bottom h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 4.25rem);
  font-weight: 450;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero-bottom > div { max-width: 34rem; justify-self: end; }

.hero-bottom p {
  margin: 0 0 1.6rem;
  color: #34465e;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: min(100%, 17rem);
  padding: 0.9rem 1rem;
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

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

.section-meta {
  display: grid;
  grid-template-columns: 2.5rem auto 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.section-meta::after {
  height: 1px;
  content: "";
  background: var(--line);
}

.section-meta span,
.section-meta p {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-meta span { color: var(--blue); }

.approach {
  padding-top: clamp(7rem, 11vw, 11rem);
  padding-bottom: clamp(7rem, 11vw, 11rem);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: start;
}

.kicker { color: var(--blue); }

.approach h2,
.services h2,
.method h2,
.contact h2,
.case h2 {
  margin: 1.35rem 0 0;
  font-weight: 450;
  letter-spacing: -0.055em;
}

.approach h2 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 6.3vw, 7rem);
  line-height: 0.94;
}

.approach-copy {
  max-width: 40rem;
  padding-top: 2.15rem;
  border-top: 3px solid var(--navy);
  color: #33465f;
}

.approach-copy p { margin: 0; }
.approach-copy p + p { margin-top: 1.5rem; }

.approach-copy .lead {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.25vw, 2.2rem);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(5rem, 9vw, 9rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.system-flow li {
  position: relative;
  min-width: 0;
  min-height: 13rem;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.system-flow li:last-child { border-right: 0; }

.system-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -0.62rem;
  z-index: 2;
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  content: "→";
  color: var(--blue);
  background: var(--white);
  font-size: 0.8rem;
  transform: translateY(-50%);
}

.system-flow span,
.system-flow small { display: block; }

.system-flow span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.system-flow strong {
  display: block;
  margin-top: 2.5rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.system-flow small {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.4;
}

.case {
  padding-top: clamp(7rem, 11vw, 11rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
  color: var(--white);
  background: var(--navy);
}

.section-meta-light::after { background: var(--line-light); }
.section-meta-light span { color: var(--sky); }
.section-meta-light p { color: #d6e4f5; }
.kicker-light { color: var(--sky); }

.case-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}

.case h2 {
  font-size: clamp(3.6rem, 7vw, 8rem);
  line-height: 0.88;
}

.case-outcome {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-self: end;
  padding-bottom: 0.5rem;
}

.case-outcome strong {
  font-size: clamp(5.5rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.075em;
}

.case-outcome span {
  max-width: 13rem;
  color: #a8bfd8;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.case-panel {
  margin-top: clamp(4rem, 7vw, 7rem);
  padding: clamp(1.25rem, 2.5vw, 2.4rem);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.035);
}

.chart-head {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-light);
}

.chart-head p,
.chart-head strong { margin: 0; }

.chart-head p {
  color: #a8bfd8;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-head strong { font-size: clamp(1rem, 1.7vw, 1.45rem); font-weight: 500; }
.chart-head strong span { margin: 0 0.4rem; color: var(--magenta); }

.sales-chart {
  position: relative;
  min-height: 27rem;
  margin: 2.4rem 0 0;
  padding: 0 0 3.8rem 5rem;
}

.chart-axis {
  position: absolute;
  top: 0;
  bottom: 3.8rem;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #88a0bc;
  font-size: 0.72rem;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 2rem);
  align-items: end;
  height: 21rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background-image: linear-gradient(to bottom, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 100% 50%;
}

.chart-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.chart-bar i {
  display: block;
  width: 100%;
  height: var(--value);
  background: linear-gradient(180deg, #5bbcff 0%, #1464a5 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sales-chart.is-visible .chart-bar i { transform: scaleY(1); }

.chart-bar-final i {
  background: linear-gradient(180deg, var(--magenta) 0%, var(--violet) 100%);
}

.chart-bar em {
  position: absolute;
  right: 0;
  bottom: calc(var(--value) + 0.65rem);
  left: 0;
  color: #d6e4f5;
  font-size: 0.7rem;
  font-style: normal;
  text-align: center;
  white-space: nowrap;
}

.chart-bar > span {
  position: absolute;
  bottom: -2rem;
  color: #a8bfd8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sales-chart figcaption {
  margin-top: 3.2rem;
  color: #88a0bc;
  font-size: 0.75rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.case-metrics article {
  min-width: 0;
  min-height: 10rem;
  padding: clamp(1.15rem, 2vw, 1.8rem);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.case-metrics strong {
  display: block;
  font-size: clamp(1.65rem, 2.6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.case-metrics strong span { color: var(--sky); }

.case-metrics p {
  margin: 2rem 0 0;
  color: #a8bfd8;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.case-note {
  max-width: 64rem;
  margin: 3rem 0 0;
  color: #88a0bc;
  font-size: 0.78rem;
}

.services {
  padding-top: clamp(7rem, 11vw, 11rem);
  padding-bottom: clamp(7rem, 11vw, 11rem);
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.services h2 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 5.8vw, 6.7rem);
  line-height: 0.94;
}

.services-heading > p {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-list { border-top: 1px solid var(--line); }

.service-item {
  display: grid;
  grid-template-columns: 4rem minmax(15rem, 1fr) minmax(18rem, 0.8fr);
  align-items: center;
  min-height: 9.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.service-item:hover { background: var(--cloud); }

.service-item > span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.service-item h3 {
  max-width: 23ch;
  margin: 0;
  padding: 1.5rem clamp(1rem, 3vw, 3rem);
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 450;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.service-item p {
  max-width: 34rem;
  margin: 0;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
  border: 1px solid var(--line);
}

.platforms span {
  padding: 1.1rem;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.platforms span:last-child { border-right: 0; }

.method {
  padding-top: clamp(7rem, 11vw, 11rem);
  padding-bottom: clamp(7rem, 11vw, 11rem);
  background: var(--ice);
}

.method-heading { max-width: 66rem; }

.method h2 {
  font-size: clamp(3.7rem, 7vw, 8rem);
  line-height: 0.89;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(4.5rem, 8vw, 8rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.method-steps li {
  position: relative;
  min-width: 0;
  min-height: 22rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.method-steps li:first-child { border-left: 1px solid var(--line); }

.method-steps li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 25%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--magenta));
}

.method-steps li:nth-child(2)::before { width: 50%; }
.method-steps li:nth-child(3)::before { width: 75%; }
.method-steps li:nth-child(4)::before { width: 100%; }

.method-steps span {
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.method-steps h3 {
  min-height: 6rem;
  margin: 5rem 0 2rem;
  font-size: clamp(1.55rem, 2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.method-steps p { margin: 0; color: var(--muted); }

.contact {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  overflow: hidden;
  background: var(--white);
}

.contact-nebula {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -12%;
  bottom: 0;
  width: 68%;
  background-image: url("./assets/prima-materia-nebula-1640.webp");
  background-position: 66% center;
  background-size: cover;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
}

.contact-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78svh;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.contact h2 {
  max-width: 10ch;
  font-size: clamp(4.4rem, 9vw, 10rem);
  line-height: 0.82;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(20rem, 1.3fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  max-width: 62rem;
  margin-top: clamp(4rem, 8vw, 8rem);
}

.contact-row p {
  margin: 0;
  color: #34465e;
  font-size: 1.05rem;
}

.contact-row a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 1rem 0;
  border-bottom: 2px solid var(--navy);
  font-size: clamp(1.25rem, 2.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.contact-row a span { overflow-wrap: anywhere; }

.contact-row a i {
  margin-left: 1.5rem;
  color: var(--blue);
  font-style: normal;
  transition: transform 180ms ease;
}

.contact-row a:hover i { transform: translate(0.25rem, -0.25rem); }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem var(--pad);
  color: var(--white);
  background: var(--navy);
}

.logo-footer .logo-wordmark { color: var(--white); }
.logo-footer .logo-symbol { filter: drop-shadow(0 0 0.5rem rgba(91, 188, 255, 0.16)); }

footer p {
  margin: 0;
  color: #a8bfd8;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p:last-child { text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: minmax(12rem, 1fr) auto minmax(10rem, 1fr); }
  .case-heading { grid-template-columns: 1fr; }
  .case-outcome { justify-self: start; }
  .case-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-steps li:nth-child(3) { border-left: 1px solid var(--line); }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 4.8rem;
  }

  .header-cta { display: none; }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    border: 0;
    color: var(--navy);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle i,
  .menu-toggle i::before,
  .menu-toggle i::after {
    position: absolute;
    left: 50%;
    display: block;
    width: 1.55rem;
    height: 2px;
    content: "";
    background: currentColor;
    transform: translateX(-50%);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle i { top: 50%; }
  .menu-toggle i::before { top: -0.42rem; }
  .menu-toggle i::after { top: 0.42rem; }
  .menu-toggle[aria-expanded="true"] i { background: transparent; }
  .menu-toggle[aria-expanded="true"] i::before { top: 0; transform: translateX(-50%) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    padding: 7rem var(--pad) 3rem;
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 0.97);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open { visibility: visible; opacity: 1; }

  .site-nav a {
    font-size: clamp(2.7rem, 10vw, 5.5rem);
    font-weight: 450;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: none;
  }

  .site-nav a::after { display: none; }

  .hero-bottom,
  .approach-grid,
  .services-heading { grid-template-columns: 1fr; }

  .hero-bottom > div { justify-self: start; }
  .approach-copy { max-width: 46rem; }
  .system-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-flow li:nth-child(2) { border-right: 0; }
  .system-flow li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .system-flow li:nth-child(2)::after { display: none; }
  .service-item { grid-template-columns: 3rem 1fr; padding: 1.5rem 0; }
  .service-item > span { align-self: start; padding-top: 0.35rem; }
  .service-item h3 { padding: 0 1rem; }
  .service-item p { grid-column: 2; margin-top: 1.2rem; padding: 0 1rem; border-left: 0; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms span:nth-child(2) { border-right: 0; }
  .platforms span:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .contact-row { grid-template-columns: 1fr; max-width: 42rem; }
  .contact-nebula { right: -28%; width: 88%; opacity: 0.58; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 600px) {
  :root { --pad: 1.15rem; }
  .logo-symbol { width: 2rem; height: 2.25rem; }
  .logo-wordmark { font-size: 0.92rem; }
  .hero-inner { min-height: 100svh; padding-top: 6.5rem; padding-bottom: 1.15rem; }
  .hero-media img { object-position: center; }
  .hero-logo { flex-direction: column; gap: 0.8rem; margin: 0; }
  .hero-symbol { width: clamp(7.2rem, 31vw, 9rem); }
  .hero-logo h1 { font-size: clamp(4rem, 20vw, 6.3rem); line-height: 0.78; }
  .hero-bottom { gap: 1.4rem; padding: 1.2rem; }
  .hero-bottom h2 { font-size: clamp(1.9rem, 9vw, 3rem); }
  .hero-bottom p { font-size: 0.95rem; }
  .primary-link { width: 100%; }
  .section-meta { margin-bottom: 3.5rem; }
  .approach h2,
  .services h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .approach-grid { gap: 3rem; }
  .system-flow { grid-template-columns: 1fr; }
  .system-flow li { min-height: 10rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .system-flow li:last-child { border-bottom: 0; }
  .system-flow li::after { display: none; }
  .case h2,
  .method h2 { font-size: clamp(3.5rem, 16vw, 5.7rem); }
  .case-outcome { display: block; }
  .case-outcome strong { font-size: clamp(5.5rem, 28vw, 8rem); }
  .case-outcome span { display: block; margin-top: 1.3rem; }
  .chart-head { display: block; }
  .chart-head strong { display: block; margin-top: 0.6rem; }
  .sales-chart { min-height: 20rem; padding-left: 3.2rem; }
  .chart-bars { height: 15rem; gap: 0.45rem; }
  .chart-bar em { display: none; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-metrics article { min-height: 8.5rem; }
  .case-metrics strong { font-size: 2.1rem; }
  .platforms { grid-template-columns: 1fr; }
  .platforms span,
  .platforms span:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .platforms span:last-child { border-bottom: 0; }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li,
  .method-steps li:first-child,
  .method-steps li:nth-child(3) { min-height: auto; padding: 1.4rem 0 2.8rem; border-right: 0; border-left: 0; }
  .method-steps h3 { min-height: auto; margin: 3rem 0 1.2rem; }
  .contact h2 { font-size: clamp(4rem, 19vw, 6.5rem); }
  .contact-row a { font-size: 1.18rem; }
  .contact-nebula { right: -50%; width: 120%; opacity: 0.48; }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-bar i { transform: scaleY(1); }
}
