:root {
  --bg: #05080d;
  --bg-soft: #0b1118;
  --bg-elevated: rgba(12, 18, 27, 0.84);
  --bg-strong: rgba(7, 12, 18, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(103, 224, 242, 0.22);
  --accent: #77e0f2;
  --accent-2: #a7b9ff;
  --accent-soft: rgba(119, 224, 242, 0.14);
  --text: #edf4fb;
  --muted: #9aa7b8;
  --muted-strong: #7f8da0;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.36);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --content: min(1240px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(119, 224, 242, 0.12), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(167, 185, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #04070b 0%, #060a10 42%, #070c12 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    url("../images/bg-ambient-dark-2.png") center top / cover no-repeat;
  background-size: 120px 120px, 120px 120px, cover;
  mask-image: radial-gradient(circle at center, black 24%, transparent 84%);
  opacity: 0.46;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: soft-light;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

.shell,
.site-header__inner,
.site-footer__inner {
  width: var(--content);
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
}

.skip-link {
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #031018;
  font-weight: 700;
  transition: top 180ms var(--ease);
}

.skip-link:focus {
  top: 16px;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 220;
  height: 2px;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(119, 224, 242, 0.6);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 8, 13, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 8, 13, 0.86);
  border-bottom-color: rgba(119, 224, 242, 0.08);
}

.site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.brand__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(119, 224, 242, 0.18);
}

.brand__wordmark {
  width: 142px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.site-nav__cta {
  color: var(--text) !important;
  border: 1px solid rgba(119, 224, 242, 0.18);
  background: linear-gradient(135deg, rgba(119, 224, 242, 0.16), rgba(167, 185, 255, 0.12));
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

body.is-menu-open {
  overflow: hidden;
}

.section-anchor {
  scroll-margin-top: 108px;
}

.panel,
.contact-card--primary {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%),
    var(--bg-elevated);
  box-shadow: var(--shadow);
}

.panel::before,
.contact-card--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(119, 224, 242, 0.12), transparent 42%, rgba(167, 185, 255, 0.08));
}

.panel > *,
.contact-card--primary > * {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: calc(100svh - 86px);
  padding: clamp(48px, 7vw, 94px) 0 54px;
  overflow: clip;
}

.hero__backdrop {
  position: absolute;
  inset: -4% 0 0;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg--base {
  opacity: 0.26;
}

.hero__bg--network {
  opacity: 0.24;
  mix-blend-mode: screen;
  animation: drift 24s linear infinite alternate;
}

.hero__bg--particles {
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: driftReverse 32s linear infinite alternate;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero__content {
  max-width: 660px;
}

.eyebrow,
.section-label,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(119, 224, 242, 0.18);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eyebrow::before,
.section-label::before,
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffffff);
  box-shadow: 0 0 18px rgba(119, 224, 242, 0.6);
}

.section-label {
  margin-bottom: 14px;
}

.hero__title,
.section-title,
.statement-card__quote,
.case__body h3,
.craft-showcase h3,
.craft-card h3,
.method-step h3,
.contact-panel strong {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 36%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lede,
.section-intro,
.focus-card p,
.craft-showcase p,
.craft-card p,
.case__body p,
.method-step p,
.faq-answer p,
.contact-card--primary p,
.contact-panel span,
.site-footer p,
.site-footer span,
.stage-note span,
.client-chip span,
.hero-proof span {
  color: var(--muted);
}

.hero__lede {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button--primary {
  color: #031018;
  background: linear-gradient(135deg, var(--accent) 0%, #baf2ff 36%, var(--accent-2) 100%);
  box-shadow: 0 18px 40px rgba(119, 224, 242, 0.26);
}

.button--secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.028);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-proof strong,
.result-strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-stage {
  --pointer-x: 0;
  --pointer-y: 0;
  display: grid;
  gap: 16px;
}

.hero-stage__frame {
  min-height: 680px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.22), rgba(5, 8, 13, 0.72)),
    rgba(8, 13, 19, 0.92);
}

.hero-stage__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
    url("../images/bg-convergence-1.png") center / cover no-repeat;
  opacity: 0.34;
  mix-blend-mode: screen;
}

.hero-stage__glow {
  position: absolute;
  inset: 14% 12%;
  background:
    radial-gradient(circle, rgba(119, 224, 242, 0.28), transparent 54%),
    radial-gradient(circle at 40% 60%, rgba(167, 185, 255, 0.22), transparent 58%);
  filter: blur(34px);
}

.hero-stage__orbital {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(119, 224, 242, 0.1);
  transform: translate(-50%, -50%);
}

.hero-stage__orbital--one {
  width: min(74%, 520px);
  aspect-ratio: 1;
  animation: spin 22s linear infinite;
}

.hero-stage__orbital--two {
  width: min(92%, 640px);
  aspect-ratio: 1;
  opacity: 0.6;
  animation: spinReverse 30s linear infinite;
}

.hero-stage__cinematic {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108%;
  transform: translate(
      calc(-50% + var(--pointer-x) * 14px),
      calc(-50% + var(--pointer-y) * 14px)
    );
  opacity: 0.22;
  mix-blend-mode: screen;
}

.hero-stage__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 520px);
  transform: translate(
      calc(-50% + var(--pointer-x) * -18px),
      calc(-50% + var(--pointer-y) * -24px)
    );
  filter: drop-shadow(0 36px 80px rgba(0, 0, 0, 0.52));
  animation: float 8s ease-in-out infinite;
}

.stage-note {
  position: absolute;
  width: min(220px, 40%);
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 18, 0.82);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stage-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.stage-note--top-left {
  top: 26px;
  left: 26px;
  transform: translate(calc(var(--pointer-x) * -10px), calc(var(--pointer-y) * -10px));
}

.stage-note--top-right {
  top: 34px;
  right: 26px;
  transform: translate(calc(var(--pointer-x) * 10px), calc(var(--pointer-y) * -12px));
}

.stage-note--bottom-left {
  left: 26px;
  bottom: 34px;
  transform: translate(calc(var(--pointer-x) * -12px), calc(var(--pointer-y) * 10px));
}

.stage-note--bottom-right {
  right: 26px;
  bottom: 42px;
  transform: translate(calc(var(--pointer-x) * 12px), calc(var(--pointer-y) * 12px));
}

.hero-stage__clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.client-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 13, 19, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.client-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(119, 224, 242, 0.18);
}

.client-chip img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 16px;
  object-fit: cover;
}

.client-chip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.96rem;
}

.section {
  padding: clamp(62px, 10vw, 110px) 0 0;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.section-title {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 0.92;
}

.section-intro {
  margin: 0;
  max-width: 66ch;
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.statement-card,
.focus-card,
.craft-card,
.method-step,
.contact-panel {
  padding: 28px;
}

.statement-card {
  grid-column: 1 / -1;
  min-height: 280px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.15), rgba(5, 8, 13, 0.9)),
    url("../images/bg-wireframe-site-1.png") center / cover no-repeat;
}

.statement-card__quote {
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.8vw, 4rem);
  line-height: 1;
}

.focus-card {
  grid-column: span 4;
}

.focus-card small,
.method-step__index {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.focus-card h3,
.craft-card h3,
.method-step h3 {
  font-size: 1.38rem;
  line-height: 1.02;
  margin-bottom: 10px;
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 18px;
}

.craft-showcase {
  min-height: 560px;
  display: flex;
  align-items: end;
  padding: clamp(28px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(7, 12, 18, 0.1), rgba(7, 12, 18, 0.92)),
    url("../images/bg-services-tech.png") center / cover no-repeat;
}

.craft-showcase__body {
  max-width: 520px;
}

.craft-showcase h3 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.94;
}

.craft-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.case {
  position: relative;
  display: flex;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-strong);
  box-shadow: var(--shadow);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.case:hover {
  transform: translateY(-4px);
  border-color: rgba(119, 224, 242, 0.18);
}

.case::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.08) 0%, rgba(5, 8, 13, 0.18) 32%, rgba(5, 8, 13, 0.92) 100%);
  z-index: 1;
}

.case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__body {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding: 22px;
  display: grid;
  gap: 10px;
}

.case__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.case__tag,
.case__kpi {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case__tag {
  background: rgba(119, 224, 242, 0.14);
  color: var(--accent);
  border: 1px solid rgba(119, 224, 242, 0.14);
}

.case__kpi {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.case__body h3 {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  line-height: 0.98;
}

.case__link {
  width: fit-content;
  margin-top: 4px;
  font-weight: 700;
  color: var(--text);
}

.case__link::after {
  content: " →";
}

.case--feature {
  grid-column: span 7;
  min-height: 480px;
}

.case--tall {
  grid-column: span 5;
  min-height: 480px;
}

.case--small {
  grid-column: span 4;
  min-height: 260px;
}

.result-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.result-strip__item {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.method__layout,
.faq-layout,
.contact-grid {
  display: grid;
  gap: 18px;
}

.method__layout,
.faq-layout {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
}

.method__intro,
.faq-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.method__steps,
.faq-list,
.contact-side {
  display: grid;
  gap: 16px;
}

.method-step {
  padding-left: 88px;
}

.method-step__index {
  position: absolute;
  left: 28px;
  top: 30px;
}

.faq-item {
  padding: 0;
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.faq-question span:first-child {
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms var(--ease);
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  margin-bottom: 56px;
}

.contact-card--primary {
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(140deg, rgba(119, 224, 242, 0.18), rgba(7, 12, 18, 0.92) 48%),
    url("../images/bg-cta-dramatic.png") center / cover no-repeat;
  border-color: var(--line-strong);
}

.contact-checklist {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.contact-checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffffff);
  box-shadow: 0 0 18px rgba(119, 224, 242, 0.58);
}

.contact-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.site-footer {
  padding: 0 0 42px;
  color: var(--muted-strong);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-footer__brand img:first-child {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.site-footer__brand img:last-child {
  width: 118px;
  height: auto;
}

.hero-load {
  opacity: 1;
  transform: none;
}

body.motion-ok .hero-load {
  opacity: 0;
  transform: translateY(28px);
}

body.motion-ok.is-ready .hero-load {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 820ms var(--ease), transform 820ms var(--ease);
}

body.motion-ok.is-ready .hero-load--delay {
  transition-delay: 120ms;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 2.4%, 0);
  }
}

@keyframes driftReverse {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(2%, -2%, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(
        calc(-50% + var(--pointer-x) * -18px),
        calc(-50% + var(--pointer-y) * -24px)
      ) translateY(0);
  }
  50% {
    transform: translate(
        calc(-50% + var(--pointer-x) * -18px),
        calc(-50% + var(--pointer-y) * -24px)
      ) translateY(-14px);
  }
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinReverse {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@media (max-width: 1180px) {
  .hero__layout,
  .craft-grid,
  .contact-grid,
  .method__layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .method__intro,
  .faq-intro {
    position: static;
  }

  .craft-showcase {
    min-height: 420px;
  }

  .hero-stage__frame {
    min-height: 620px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 84px 20px auto 20px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    background: rgba(7, 12, 18, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  body.is-menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
  }

  body.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero__proof,
  .hero-stage__clients,
  .craft-stack,
  .result-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .case--feature,
  .case--tall,
  .case--small {
    grid-column: auto;
  }

  .focus-card {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .brand__wordmark {
    width: 126px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 12vw, 4.6rem);
  }

  .hero__proof,
  .hero-stage__clients,
  .craft-stack,
  .positioning-grid,
  .result-strip,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    grid-column: auto;
  }

  .hero-stage__frame {
    min-height: 500px;
  }

  .stage-note {
    display: none;
  }

  .case,
  .panel,
  .contact-card--primary {
    border-radius: 24px;
  }

  .method-step {
    padding-left: 28px;
  }

  .method-step__index {
    position: static;
    margin-bottom: 12px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
