/* =========================================================
   ALVANET WEB SERVICES — v2 / CORPORATE
   White canvas · red accent · black type · Swiss restraint
   Fonts: San Francisco (Apple) + New York serif on display
   ========================================================= */

:root {
  /* Surfaces */
  --bg-0: #FFFFFF;
  --bg-1: #FAFAF7;
  --bg-2: #F2F2EE;
  --surface: #F7F7F4;

  /* Ink */
  --ink-0: #0A0A0A;
  --ink-1: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #707070;
  --ink-4: #9A9A9A;

  /* Line */
  --line: rgba(10, 10, 10, 0.08);
  --line-2: rgba(10, 10, 10, 0.16);
  --line-3: rgba(10, 10, 10, 0.24);

  /* Accent — corporate red (AAA-strong, usable on white at body sizes) */
  --red: #D31019;
  --red-deep: #9C0611;
  --red-soft: #FFE8E8;

  /* Typography — Apple system stack */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Apple Garamond",
           Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "Menlo", "Roboto Mono", Consolas, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-emph: cubic-bezier(0.76, 0, 0.24, 1);

  /* Layout */
  --nav-h: 66px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
}

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

html {
  background: var(--bg-0);
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Hide the system cursor only once the custom cursor has mounted. */
body.has-custom-cursor { cursor: none; }
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .qa-choice,
body.has-custom-cursor input { cursor: pointer; }
body.has-custom-cursor input { cursor: text; }

@media (pointer: coarse) {
  body, body.has-custom-cursor { cursor: auto; }
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.italic { font-style: italic; font-family: var(--serif); }
.accent { color: var(--red); }

/* =========================================================
   A11Y — skip link + focus-visible
   ========================================================= */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 10001;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 0 4px 4px;
  transition: transform 200ms var(--ease-out);
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 2px solid var(--ink-0);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.nav__cta:focus-visible {
  outline-offset: 4px;
}
a:focus-visible {
  outline-offset: 4px;
}
.qa-choice:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 16, 25, 0.25);
  border-color: var(--red) !important;
}

/* =========================================================
   SCROLL PROGRESS (red, left edge)
   ========================================================= */
.scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 2px;
  height: 100vh;
  z-index: 950;
  pointer-events: none;
  background: transparent;
}
.scrollbar span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--red);
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
}
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 999px;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
}
.cursor__dot {
  width: 5px; height: 5px;
  background: var(--ink-0);
  transition: opacity 200ms var(--ease-out), background 200ms;
}
.cursor__ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(10, 10, 10, 0.35);
  transition: width 300ms var(--ease-out), height 300ms var(--ease-out), border-color 300ms, opacity 200ms;
}
body.cursor-hover .cursor__ring {
  width: 56px; height: 56px;
  border-color: var(--red);
}
body.cursor-hover .cursor__dot {
  background: var(--red);
  transform: translate3d(-50%, -50%, 0) scale(0);
}

@media (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms, background 300ms;
  gap: 24px;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-0);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
/* Brand mark image — new logo (white bg, black glyph). Subtle ring for edge
   separation against white site backgrounds. */
.brand-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  border-radius: 4px;
  flex-shrink: 0;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.08), 0 1px 2px rgba(10, 10, 10, 0.04);
}
.brand-mark--sm { width: 20px; height: 20px; border-radius: 3px; }
.nav__sep { color: var(--ink-4); font-weight: 300; margin: 0 2px; }
.nav__sub { color: var(--ink-2); font-weight: 400; font-size: 14px; letter-spacing: 0; }

.nav__links {
  display: flex;
  gap: 28px;
  justify-self: center;
  font-size: 13px;
  color: var(--ink-1);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 350ms var(--ease-out);
}
.nav__links a:hover { color: var(--red); }
.nav__links a:hover::after { width: 100%; }

.nav__menu {
  display: none;
  justify-self: end;
  position: relative;
  z-index: 2;
}
.nav__menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 200ms var(--ease-out);
}
.nav__menu[open] summary {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}
.nav__menu[open] summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav__menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(260px, calc(100vw - var(--gutter) * 2));
  padding: 8px;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-top: 1px solid var(--ink-0);
  box-shadow: 0 24px 54px -28px rgba(10, 10, 10, 0.24);
}
.nav__menu-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--red);
}
.nav__menu-panel a {
  display: block;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-0);
}
.nav__menu-panel a:last-child { border-bottom: 0; }
.nav__menu-panel a:hover {
  color: var(--red);
  background: var(--bg-1);
}

.nav__right { display: inline-flex; align-items: center; gap: 10px; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  transition: background 300ms var(--ease-out), color 300ms, transform 300ms var(--ease-out), border-color 300ms;
  background: var(--ink-0);
  color: var(--bg-0);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--red); }
.nav__cta--ghost {
  background: transparent;
  color: var(--ink-0);
  border: 1px solid var(--line-2);
}
.nav__cta--ghost:hover { background: transparent; color: var(--red); border-color: var(--red); }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav__sub { display: none; }
  .nav__sep { display: none; }
}
@media (max-width: 560px) {
  .nav__cta--ghost { display: none; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 300ms var(--ease-out), color 300ms, transform 300ms var(--ease-out), border-color 300ms, box-shadow 300ms;
  will-change: transform;
}
.btn--primary {
  background: var(--ink-0);
  color: var(--bg-0);
}
.btn--primary:hover {
  background: var(--red);
  box-shadow: 0 8px 24px -8px rgba(229, 35, 43, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-0);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}
.btn--lg { padding: 18px 28px; font-size: 15px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Matrix rain canvas — sits behind everything, soft red, subtle opacity */
.hero__matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2200ms var(--ease-apple) 500ms;
  /* Fade the matrix out near the center so the headline stays crisp */
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, transparent 0%, #000 55%);
          mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, transparent 0%, #000 55%);
}
body.is-ready .hero__matrix { opacity: 0.18; }

@media (prefers-reduced-motion: reduce) {
  .hero__matrix { display: none; }
}

/* Thin 12-col grid guides */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc((100% - var(--gutter) * 2) / 12 - 1px),
      rgba(10, 10, 10, 0.025) calc((100% - var(--gutter) * 2) / 12 - 1px),
      rgba(10, 10, 10, 0.025) calc((100% - var(--gutter) * 2) / 12)
    );
  margin: 0 var(--gutter);
  opacity: 0.8;
}

/* Giant red editorial marker */
.hero__marker {
  position: absolute;
  top: calc(var(--nav-h) + 30px);
  right: var(--gutter);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  opacity: 0;
  transform: translateY(-6px);
}
body.is-ready .hero__marker {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease-out) 400ms, transform 700ms var(--ease-out) 400ms;
}
.hero__marker-idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(60px, 10vw, 160px);
  line-height: 0.9;
  color: var(--red);
  font-weight: 300;
  letter-spacing: -0.04em;
}
.hero__marker-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.hero__top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(8px);
}
body.is-ready .hero__top {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease-out) 200ms, transform 700ms var(--ease-out) 200ms;
}
.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
  display: inline-block;
  animation: pulseRed 2.4s ease-in-out infinite;
}
@keyframes pulseRed {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}
.hero__sep { color: var(--ink-4); }
.hero__eyebrow--muted { color: var(--ink-3); }

/* Headline */
.hero__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(48px, 9.5vw, 164px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--ink-0);
  max-width: 14ch;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
body.is-ready .hero__title .word {
  animation: wordIn 1200ms var(--ease-apple) forwards;
}
body.is-ready .hero__title .line:nth-child(1) .word:nth-child(1) { animation-delay: 500ms; }
body.is-ready .hero__title .line:nth-child(2) .word:nth-child(1) { animation-delay: 580ms; }
body.is-ready .hero__title .line:nth-child(2) .word:nth-child(2) { animation-delay: 640ms; }
body.is-ready .hero__title .line:nth-child(3) .word:nth-child(1) { animation-delay: 720ms; }
body.is-ready .hero__title .line:nth-child(3) .word:nth-child(2) { animation-delay: 780ms; }

@keyframes wordIn {
  0%   { transform: translateY(110%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Red period/dot inside accent word */
.hero__title .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-0);
  letter-spacing: -0.03em;
}
.hero__title .period {
  color: var(--red);
  font-style: normal;
}

.cta__title .accent .period,
.hero__title .accent .period { color: var(--red); }

/* Aside: lede + ctas */
.hero__aside {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
}
body.is-ready .hero__aside {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 800ms var(--ease-out) 1100ms, transform 800ms var(--ease-out) 1100ms;
}
@media (max-width: 760px) {
  .hero__aside { grid-template-columns: 1fr; gap: 24px; }
}

.hero__lede {
  max-width: 56ch;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--ink-2);
  line-height: 1.55;
}
.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Stats row */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(8px);
}
body.is-ready .hero__stats {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 800ms var(--ease-out) 1400ms, transform 800ms var(--ease-out) 1400ms;
}
@media (max-width: 720px) { .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink-0);
  letter-spacing: -0.04em;
}
.stat__num .slash { color: var(--red); font-weight: 300; }
.stat__lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  z-index: 2;
  opacity: 0;
}
body.is-ready .hero__scroll {
  opacity: 1;
  transition: opacity 700ms var(--ease-out) 1700ms;
}
.hero__scroll-line {
  width: 28px;
  height: 1px;
  background: var(--red);
  animation: scrollSwipe 2.8s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes scrollSwipe {
  0%, 100% { transform: scaleX(0.4); opacity: 0.6; }
  50%      { transform: scaleX(1);   opacity: 1; }
}

/* =========================================================
   SECTION HEAD (reused)
   ========================================================= */
.section-head {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 8vw, 96px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
}
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

.section-head__col { display: flex; flex-direction: column; gap: 16px; }
.section-head__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section-head__eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}
.section-head__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink-0);
  max-width: 18ch;
}
.section-head__title .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.section-head__lede {
  max-width: 52ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
}

/* =========================================================
   CAPABILITIES
   ========================================================= */
.capabilities {
  padding: clamp(100px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
}
.cap-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-0);
  border-left: 1px solid var(--line);
}
@media (max-width: 980px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; border-left: 0; } }

.cap {
  padding: clamp(24px, 3vw, 40px);
  min-height: 360px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--bg-0);
  transition: background 400ms var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cap::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 500ms var(--ease-out);
}
.cap:hover { background: var(--bg-1); }
.cap:hover::before { width: 100%; }

.cap__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.cap__idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.cap__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  background: var(--ink-0);
  color: var(--bg-0);
  border-radius: 2px;
}

.cap:hover .cap__tag { background: var(--red); }

.cap__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.025em;
  color: var(--ink-0);
  margin-bottom: 12px;
  line-height: 1.1;
}
.cap__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38ch;
  flex: 1;
}
.cap__list {
  list-style: none;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.cap__list li::before {
  content: "•";
  margin-right: 6px;
  color: var(--red);
}
.cap__list li:first-child::before { content: ""; margin-right: 0; }

/* =========================================================
   METHOD / PHASES
   ========================================================= */
.method {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.phases {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .phases { grid-template-columns: 1fr; } }

.phase {
  background: var(--bg-0);
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 400ms;
}
.phase:hover { background: var(--bg-1); }

.phase__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}
.phase__idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 52px;
  color: var(--red);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}
.phase__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.phase__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink-0);
  line-height: 1.15;
  max-width: 22ch;
}
.phase__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.phase__del {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phase__del span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.phase__del strong {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-0);
  letter-spacing: -0.01em;
}

/* =========================================================
   METRICS
   ========================================================= */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-0);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

.metric {
  padding: clamp(48px, 6vw, 96px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--line);
  position: relative;
}
.metric:last-child { border-right: 0; }
.metric::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 24px;
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 999px;
  opacity: 0.25;
}
.metric__num {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 120px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink-0);
}
.metric__num .slash { color: var(--red); }
.metric__num.italic { font-style: italic; color: var(--ink-0); }
.metric__lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* =========================================================
   WORK
   ========================================================= */
.work { padding: clamp(100px, 14vw, 180px) 0 clamp(60px, 10vw, 120px); }
.work__rail {
  display: flex;
  gap: 20px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 24px;
}
.work__rail::-webkit-scrollbar { display: none; }
.work__hint {
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 0 var(--gutter);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.case {
  flex: 0 0 min(640px, 85vw);
  scroll-snap-align: start;
  background: var(--bg-0);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 400ms, transform 500ms var(--ease-out), box-shadow 500ms;
}
.case:hover {
  border-color: var(--ink-0);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10, 10, 10, 0.12);
}

.case__media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--bg-2);
}
.case__visual {
  position: absolute;
  inset: 0;
  transition: transform 700ms var(--ease-out);
}
.case:hover .case__visual { transform: scale(1.04); }

.case__visual[data-visual="0"] {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(229, 35, 43, 0.12), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(10, 10, 10, 0.04) 24px 25px),
    #F7F7F4;
}
.case__visual[data-visual="1"] {
  background:
    radial-gradient(ellipse at 65% 45%, rgba(229, 35, 43, 0.1), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(10, 10, 10, 0.04) 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(10, 10, 10, 0.04) 32px 33px),
    #F2F2EE;
}
.case__visual[data-visual="2"] {
  background:
    conic-gradient(from 30deg at 50% 50%, rgba(10, 10, 10, 0.08), transparent 25%, rgba(229, 35, 43, 0.12) 50%, transparent 75%, rgba(10, 10, 10, 0.08)),
    #F7F7F4;
}
.case__visual[data-visual="3"] {
  background:
    radial-gradient(ellipse at 25% 75%, rgba(229, 35, 43, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(10, 10, 10, 0.06), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(10, 10, 10, 0.03) 20px 21px),
    #FAFAF7;
}

.case-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 10, 10, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.25));
          mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.25));
}
.case-art > span { position: absolute; display: block; }
.case-art--rag .case-art__doc {
  width: 70px;
  height: 92px;
  left: 70px;
  top: 82px;
  background: #fff;
  border: 1px solid var(--ink-0);
  box-shadow: 14px -14px 0 #fff, 14px -14px 0 1px var(--line-3);
}
.case-art--rag .case-art__doc:nth-child(2) {
  left: 116px;
  top: 108px;
  opacity: 0.72;
}
.case-art--rag .case-art__doc::before,
.case-art--rag .case-art__doc::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--line-3);
}
.case-art--rag .case-art__doc::before { top: 26px; box-shadow: 0 18px 0 var(--line-3), 0 36px 0 var(--line-3); }
.case-art--rag .case-art__doc::after { top: 72px; right: 24px; }
.case-art--rag .case-art__pipe {
  left: 235px;
  top: 128px;
  width: 146px;
  height: 2px;
  background: var(--ink-0);
}
.case-art--rag .case-art__pipe::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-0);
  border-top: 2px solid var(--ink-0);
  transform: rotate(45deg);
}
.case-art--rag .case-art__node {
  right: 160px;
  top: 74px;
  width: 110px;
  height: 110px;
  border: 2px solid var(--red);
  transform: rotate(45deg);
  background: rgba(211, 16, 25, 0.1);
}
.case-art--rag .case-art__answer {
  right: 48px;
  top: 92px;
  width: 92px;
  height: 78px;
  background: var(--ink-0);
  border: 2px solid var(--red);
}
.case-art--rag .case-art__answer::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 22px;
  height: 2px;
  background: #fff;
  box-shadow: 0 16px 0 rgba(255,255,255,0.75), 0 32px 0 rgba(255,255,255,0.5);
}
.case-art--cloud .case-art__bar {
  bottom: 64px;
  width: 86px;
  border: 1px solid var(--ink-0);
  background: #fff;
}
.case-art--cloud .case-art__bar:nth-child(1) { left: 90px; height: 132px; }
.case-art--cloud .case-art__bar:nth-child(2) { left: 202px; height: 88px; background: var(--red-soft); border-color: var(--red); }
.case-art--cloud .case-art__bar:nth-child(3) { left: 314px; height: 76px; }
.case-art--cloud .case-art__save {
  right: 70px;
  top: 82px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 82px;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.05em;
}
.case-art--sre .case-art__axis {
  left: 64px;
  right: 64px;
  bottom: 68px;
  height: 1px;
  background: var(--ink-0);
  box-shadow: 0 -70px 0 var(--line), 0 -140px 0 var(--line);
}
.case-art--sre .case-art__spark {
  left: 70px;
  right: 70px;
  bottom: 66px;
  height: 140px;
  clip-path: polygon(0 20%, 18% 38%, 32% 24%, 48% 58%, 65% 70%, 82% 82%, 100% 78%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(211, 16, 25, 0.2), rgba(211, 16, 25, 0.02));
  border-top: 3px solid var(--red);
}
.case-art--sre .case-art__alert {
  right: 52px;
  top: 54px;
  padding: 8px 12px;
  background: var(--ink-0);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-art--gov .case-art__shield {
  left: 88px;
  top: 48px;
  width: 150px;
  height: 176px;
  border: 2px solid var(--ink-0);
  clip-path: polygon(50% 0, 100% 16%, 100% 55%, 50% 100%, 0 55%, 0 16%);
  background: rgba(255,255,255,0.72);
}
.case-art--gov .case-art__check {
  left: 145px;
  top: 108px;
  width: 42px;
  height: 24px;
  border-left: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  transform: rotate(-45deg);
}
.case-art--gov .case-art__users {
  right: 72px;
  top: 94px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 72px;
  line-height: 0.9;
  color: var(--red);
  letter-spacing: -0.05em;
  max-width: 160px;
}

.case__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-0);
}

.case__body { padding: 26px 28px 32px; }
.case__idx {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.case__body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-0);
  margin-bottom: 12px;
}
.case__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* =========================================================
   STACK MARQUEE
   ========================================================= */
.stack {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-0);
  position: relative;
}
.stack::before,
.stack::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.stack::before { left: 0; background: linear-gradient(90deg, var(--ink-0), transparent); }
.stack::after  { right: 0; background: linear-gradient(-90deg, var(--ink-0), transparent); }

.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--bg-0);
  font-style: italic;
  align-items: center;
}
.marquee__track .dot {
  color: var(--red);
  font-size: 0.5em;
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: clamp(120px, 18vw, 220px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}
.cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 100vmax;
  height: 100vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(229, 35, 43, 0.05), transparent 40%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(52px, 10vw, 172px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--ink-0);
}
.cta__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.cta__title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1100ms var(--ease-apple), opacity 800ms var(--ease-apple);
}
.cta__title.is-in .word { transform: translateY(0); opacity: 1; }
.cta__title .line:nth-child(1) .word:nth-child(1) { transition-delay: 0ms; }
.cta__title .line:nth-child(1) .word:nth-child(2) { transition-delay: 80ms; }
.cta__title .line:nth-child(2) .word:nth-child(1) { transition-delay: 160ms; }
.cta__title .line:nth-child(2) .word:nth-child(2) { transition-delay: 240ms; }
.cta__title .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.cta__sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cta__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.cta__or {
  font-size: 13.5px;
  color: var(--ink-2);
}

/* =========================================================
   REACH GRID (CTA channels)
   ========================================================= */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 1px solid var(--ink-0);
  margin-top: clamp(32px, 5vw, 56px);
  text-align: left;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.reach-grid::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--red);
}
.reach-card {
  background: var(--bg-0);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background 300ms var(--ease-out);
  color: inherit;
}
.reach-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 400ms var(--ease-out);
}
.reach-card:hover { background: var(--bg-1); }
.reach-card:hover::before { width: 100%; }
.reach-card:hover .reach-card__icon {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
.reach-card__icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-0);
  margin-bottom: 10px;
  transition: color 300ms, transform 300ms var(--ease-out), border-color 300ms;
}
.reach-card__k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.reach-card__v {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-0);
  line-height: 1.3;
}
.reach-card__n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 12px;
}

/* =========================================================
   FLOATING REACH-US FAB + PANEL (injected by script.js)
   ========================================================= */
.reach-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 940;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--red);
  color: #FFF;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(211, 16, 25, 0.45), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 300ms var(--ease-out), box-shadow 300ms, background 300ms;
  opacity: 0;
  transform: translateY(12px);
  animation: fabIn 700ms var(--ease-apple) 1800ms forwards;
}
@keyframes fabIn { to { opacity: 1; transform: translateY(0); } }

.reach-fab:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(211, 16, 25, 0.55), 0 6px 14px rgba(0, 0, 0, 0.1);
}
.reach-fab.is-open {
  background: var(--ink-0);
}
.reach-fab__dot {
  width: 8px;
  height: 8px;
  background: #FFF;
  border-radius: 999px;
  animation: pulseWhite 2s ease-in-out infinite;
}
@keyframes pulseWhite {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
.reach-fab svg { transition: transform 300ms var(--ease-out); }
.reach-fab.is-open svg { transform: rotate(45deg); }

@media (max-width: 560px) {
  .reach-fab { bottom: 16px; right: 16px; padding: 10px 14px 10px 12px; font-size: 12px; }
  .reach-fab__text { display: none; }
}

body.has-custom-cursor .reach-fab { cursor: pointer; }

/* Panel */
.reach-panel {
  position: fixed;
  bottom: 82px;
  right: 24px;
  z-index: 945;
  width: min(360px, calc(100vw - 48px));
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(10, 10, 10, 0.18), 0 10px 20px rgba(10, 10, 10, 0.06);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 240ms var(--ease-out), transform 260ms var(--ease-apple);
  overflow: hidden;
}
.reach-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.reach-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 64px;
  height: 3px;
  background: var(--red);
}
.reach-panel__head {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.reach-panel__headtext { display: flex; flex-direction: column; gap: 6px; }
.reach-panel__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-0);
  line-height: 1.2;
}
.reach-panel__title .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.reach-panel__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.reach-panel__list { list-style: none; padding: 6px; margin: 0; }
.reach-panel__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: inherit;
  transition: background 200ms;
}
.reach-panel__item:hover { background: var(--bg-1); }
.reach-panel__item:hover .reach-panel__icon { color: var(--red); border-color: var(--red); }
.reach-panel__icon {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-0);
  transition: color 200ms, border-color 200ms;
  flex-shrink: 0;
}
.reach-panel__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reach-panel__k {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.reach-panel__v {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reach-panel__close {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 200ms, border-color 200ms, background 200ms;
  flex-shrink: 0;
}
.reach-panel__close:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}
body.has-custom-cursor .reach-panel__item,
body.has-custom-cursor .reach-panel__close { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .reach-fab { animation: none; opacity: 1; transform: none; }
  .reach-panel { transition: opacity 150ms; }
}

/* =========================================================
   REVEAL
   ========================================================= */
[data-reveal-item] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease-apple), transform 900ms var(--ease-apple);
  transition-delay: calc(var(--i, 0) * 100ms);
}
[data-reveal-item].is-in {
  opacity: 1;
  transform: translateY(0);
}
.section-head > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease-apple), transform 900ms var(--ease-apple);
}
[data-reveal].is-in .section-head > * {
  opacity: 1;
  transform: translateY(0);
}
.section-head > *:nth-child(2) { transition-delay: 120ms; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--bg-0);
  padding: clamp(60px, 8vw, 100px) var(--gutter) 36px;
  border-top: 1px solid var(--ink-0);
  color: var(--ink-1);
  position: relative;
}
.foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  background: var(--red);
}

.foot__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 840px) { .foot__top { grid-template-columns: 1fr; } }

.foot__brand-col { display: flex; flex-direction: column; gap: 14px; }
.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.foot__pitch {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36ch;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 640px) { .foot__cols { grid-template-columns: repeat(2, 1fr); } }

.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.foot__col a {
  font-size: 13px;
  color: var(--ink-1);
  transition: color 300ms;
}
.foot__col a:hover { color: var(--red); }

.foot__bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.foot__tag {
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  color: var(--ink-2);
  font-size: 13px;
}

/* =========================================================
   IMMERSIVE SCROLL-PINNED SECTIONS (Capabilities · Method)
   ========================================================= */
.imm {
  position: relative;
  background: var(--bg-0);
  padding-top: clamp(80px, 10vw, 140px);
}
.imm--method {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Intro area (section head, sits above the pinned track) */
.imm__intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 6vw, 80px);
}
.imm__hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.imm__hint-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}
.imm__jump {
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-1);
  transition: color 200ms, border-color 200ms, background 200ms;
}
.imm__jump:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}

/* Track = tall wrapper containing sticky viewport */
.imm__track {
  position: relative;
}
.imm--cap .imm__track { height: 400vh; }
.imm--method .imm__track { height: 300vh; }

.imm__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  padding: calc(var(--nav-h) + 36px) var(--gutter) 40px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  overflow: hidden;
  background: inherit;
}

.imm__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.imm__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.imm__eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}
.imm__counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.imm__counter span[data-imm-current] { color: var(--red); font-weight: 600; }
.imm__counter-sep { color: var(--ink-4); margin: 0 4px; }

/* Progress rail */
.imm__rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.imm__rail-bar {
  height: 2px;
  background: var(--line);
  display: block;
  position: relative;
}
.imm__rail-bar > span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--red);
  width: 0%;
  transition: width 180ms linear;
}
.imm__rail-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.imm__rail-labels--3 { grid-template-columns: repeat(3, 1fr); }
.imm__rail-labels .rail-lbl {
  transition: color 400ms;
  position: relative;
  padding-top: 6px;
}
.imm__rail-labels .rail-lbl.is-active {
  color: var(--red);
  font-weight: 600;
}
.imm__rail-labels .rail-lbl.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--red);
}

/* Stage + slides */
.imm__stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.imm__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(28px) scale(0.995);
  filter: blur(6px);
  transition:
    opacity 700ms var(--ease-apple),
    transform 900ms var(--ease-apple),
    filter 700ms var(--ease-apple);
  pointer-events: none;
}
.imm__slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}
.imm__slide.is-past {
  opacity: 0;
  transform: translateY(-28px) scale(0.995);
  filter: blur(6px);
}

.slide__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  width: 100%;
}
@media (max-width: 1100px) {
  .slide__inner {
    grid-template-columns: auto 1fr;
    gap: clamp(24px, 4vw, 56px);
  }
  .slide__art { display: none; }
}
@media (max-width: 720px) {
  .slide__inner { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}

.slide__num-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slide__idx {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  color: var(--red);
  display: block;
}
.slide__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  align-self: flex-start;
  background: var(--bg-0);
}

.slide__content {
  max-width: 58ch;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.slide__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink-0);
}
.slide__body {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}
.slide__list {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.slide__list li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-1);
  background: var(--bg-0);
}

.slide__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 48px);
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.s-stat { display: flex; flex-direction: column; gap: 4px; }
.s-stat__num {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--ink-0);
  letter-spacing: -0.03em;
  line-height: 1;
}
.s-stat__num.italic { font-style: italic; color: var(--red); }
.s-stat__lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.slide__art {
  width: clamp(180px, 18vw, 260px);
  height: auto;
  color: var(--ink-0);
  opacity: 0.88;
  justify-self: end;
  align-self: center;
  animation: artFloat 8s ease-in-out infinite;
}
@keyframes artFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Method-specific */
.slide__inner--method .method-card {
  border: 1px solid var(--line);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-0);
  margin-top: 8px;
  max-width: 48ch;
}
.method-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.method-card__v {
  font-family: var(--mono);
  color: var(--ink-1);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
  text-align: right;
}
.method-card__row--big {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.method-card__strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--red);
  text-transform: none;
  text-align: right;
}

/* Mobile — make slides stack naturally without sticky for small screens */
@media (max-width: 720px) {
  .imm--cap .imm__track { height: auto; }
  .imm--method .imm__track { height: auto; }
  .imm__viewport {
    position: relative;
    height: auto;
    padding: 0 var(--gutter) 40px;
    overflow: visible;
    gap: 24px;
  }
  .imm__stage {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
  .imm__slide {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
    padding: 32px 0;
    border-top: 1px solid var(--line);
  }
  .imm__slide:first-child { border-top: 0; padding-top: 0; }
  .imm__rail { display: none; }
  .imm__head { margin-bottom: 0; }
  .imm__hint { align-items: flex-start; flex-wrap: wrap; }
  .imm__jump { margin-left: 0; }
  .slide__idx { font-size: 100px; }
}

@media (max-width: 560px) {
  .case__media { height: 220px; }
  .case-art--rag .case-art__doc { left: 34px; top: 78px; }
  .case-art--rag .case-art__doc:nth-child(2) { left: 66px; top: 106px; }
  .case-art--rag .case-art__pipe { left: 154px; width: 74px; }
  .case-art--rag .case-art__node { right: 70px; width: 82px; height: 82px; top: 88px; }
  .case-art--rag .case-art__answer { right: 18px; width: 64px; height: 62px; top: 100px; }
  .case-art--cloud .case-art__bar { width: 56px; bottom: 48px; }
  .case-art--cloud .case-art__bar:nth-child(1) { left: 36px; height: 120px; }
  .case-art--cloud .case-art__bar:nth-child(2) { left: 108px; height: 80px; }
  .case-art--cloud .case-art__bar:nth-child(3) { left: 180px; height: 68px; }
  .case-art--cloud .case-art__save { right: 24px; top: 70px; font-size: 60px; }
  .case-art--sre .case-art__axis,
  .case-art--sre .case-art__spark { left: 34px; right: 34px; }
  .case-art--sre .case-art__alert { right: 22px; top: 44px; }
  .case-art--gov .case-art__shield { left: 42px; width: 116px; height: 144px; }
  .case-art--gov .case-art__check { left: 86px; top: 102px; }
  .case-art--gov .case-art__users { right: 28px; top: 86px; font-size: 54px; }
}

/* =========================================================
   DOC PAGES (privacy · security · terms)
   ========================================================= */
.doc-body, .doc-body body { cursor: auto; }

.doc {
  max-width: 920px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 120px;
}
.doc__head {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.doc__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
  margin-bottom: 20px;
}
.doc__eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}
.doc__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--ink-0);
  margin-bottom: 18px;
  max-width: 20ch;
}
.doc__title .accent {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--red);
}
.doc__sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.doc__section { margin-bottom: 48px; }
.doc__section h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.025em;
  color: var(--ink-0);
  margin-bottom: 16px;
  line-height: 1.2;
}
.doc__section p,
.doc__section li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-1);
  max-width: 64ch;
}
.doc__section p { margin-bottom: 12px; }
.doc__section a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.doc__section a:hover { color: var(--red-deep); }
.doc__section code {
  font-family: var(--mono);
  font-size: 13px;
  padding: 1px 6px;
  background: var(--bg-1);
  border-radius: 3px;
  color: var(--ink-0);
  border: 1px solid var(--line);
}
.doc__section ul { padding-left: 20px; }
.doc__section li { margin-bottom: 8px; }

.doc__dl {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 14px 32px;
}
@media (max-width: 640px) { .doc__dl { grid-template-columns: 1fr; gap: 6px 0; } }
.doc__dl dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 4px;
  font-weight: 600;
}
.doc__dl dd {
  color: var(--ink-1);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.doc__section--fine p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  max-width: 72ch;
}

/* =========================================================
   CINEMATIC INTRO — terminal + slogan + shutter wipe
   ========================================================= */
.intro-term {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: #000;
  color: #EFEFEA;
  font-family: var(--mono);
  overflow: hidden;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.intro-active { overflow: hidden; }
body.intro-active .cursor { display: none; }

.intro-term__skip {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 6;
  background: transparent;
  color: #8A8A8A;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms, border-color 200ms;
  opacity: 0;
  animation: skipFadeIn 500ms ease 1200ms forwards;
}
.intro-term__skip:hover { color: var(--red); border-color: var(--red); }
@keyframes skipFadeIn { to { opacity: 1; } }

/* Terminal window */
.intro-term__screen {
  position: relative;
  width: min(860px, 92vw);
  max-width: 860px;
  background: #08080A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.985) translateY(8px);
  animation: termAppear 700ms var(--ease-apple) 150ms forwards, termVanish 600ms var(--ease-apple) 10.6s forwards;
  z-index: 2;
}
@keyframes termAppear {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes termVanish {
  to { opacity: 0; transform: scale(0.99) translateY(-6px); }
}

.intro-term__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.chrome-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.chrome-dot:nth-child(1) { background: #FF5F57; }
.chrome-dot:nth-child(2) { background: #FEBC2E; }
.chrome-dot:nth-child(3) { background: #28C840; }
.chrome-label {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #8A8A8A;
  letter-spacing: 0.02em;
}

.intro-term__body {
  padding: 22px 24px 28px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #D9D9D3;
  min-height: 360px;
}

.line {
  opacity: 0;
  transform: translateX(-6px);
  animation: lineIn 400ms var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
@keyframes lineIn {
  to { opacity: 1; transform: translateX(0); }
}

.line .pre { color: #555; margin-right: 6px; }
.line .sig { color: #7ED7A7; font-weight: 600; }
.line .path { color: #8A8A8A; }
.line .cmd { color: #EFEFEA; margin-left: 6px; }
.line .flag { color: var(--red); }
.line .dots,
.line .dotsfast { color: #3A3A3A; margin: 0 6px; letter-spacing: 0.15em; }
.line .ok { color: #7ED7A7; font-weight: 600; }
.line .pending { color: #FFB547; }
.line .auth { color: #FFB547; }

.line.warn { color: var(--red); }
.line.warn .big {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 1px 8px;
  margin-left: 2px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.line.warn.shout {
  animation-name: lineIn, warnGlitch;
  animation-duration: 400ms, 120ms;
  animation-timing-function: var(--ease-out), linear;
  animation-iteration-count: 1, 3;
  animation-fill-mode: forwards, none;
  animation-delay: var(--d, 0s), var(--d, 0s);
}
@keyframes warnGlitch {
  0% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

.granted {
  display: inline-block;
  background: #7ED7A7;
  color: #0A0A0A;
  padding: 0 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.welcome {
  color: #fff;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 500;
}
.cursor-blink {
  display: inline-block;
  color: var(--red);
  margin-left: 2px;
  font-weight: 700;
  animation: caretBlink 900ms steps(2) infinite;
}
@keyframes caretBlink {
  to { opacity: 0; }
}

/* =========================================================
   SLOGAN (phase 5)
   ========================================================= */
.intro-slogan {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 var(--gutter);
  text-align: center;
  opacity: 0;
  animation: sloganIn 1000ms var(--ease-apple) 11.1s forwards, sloganOut 800ms var(--ease-apple) 13.2s forwards;
  z-index: 3;
  pointer-events: none;
}
@keyframes sloganIn { to { opacity: 1; } }
@keyframes sloganOut { to { opacity: 0; } }

.intro-slogan__mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #8A8A8A;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.intro-slogan__mark .dot-red {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(229, 35, 43, 0.6);
  animation: pulseRed 1.8s ease-in-out infinite;
}

.intro-slogan__line {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 120px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
  max-width: 22ch;
}
.intro-slogan__line .mask {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  vertical-align: top;
}
.intro-slogan__line .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordRise 900ms var(--ease-apple) forwards;
}

.intro-slogan__line[data-slogan-line="1"] .mask:nth-child(1) .word { animation-delay: 11.25s; }
.intro-slogan__line[data-slogan-line="1"] .mask:nth-child(2) .word { animation-delay: 11.35s; }
.intro-slogan__line[data-slogan-line="1"] .mask:nth-child(3) .word { animation-delay: 11.45s; }
.intro-slogan__line[data-slogan-line="2"] .mask:nth-child(1) .word { animation-delay: 11.60s; }
.intro-slogan__line[data-slogan-line="2"] .mask:nth-child(2) .word { animation-delay: 11.70s; }
.intro-slogan__line[data-slogan-line="2"] .mask:nth-child(3) .word { animation-delay: 11.80s; }

.intro-slogan__line .comma { color: var(--red); }
.intro-slogan__line .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.03em;
}
.intro-slogan__line .accent .period { color: var(--red); font-style: normal; }
.intro-slogan__line--2 {
  color: #CCC;
}

@keyframes wordRise {
  0%   { transform: translateY(110%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.intro-slogan__sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: #8A8A8A;
  margin-top: 14px;
  opacity: 0;
  animation: sigIn 900ms var(--ease-apple) 12.2s forwards;
}
@keyframes sigIn { to { opacity: 1; } }

/* =========================================================
   SHUTTER WIPE
   ========================================================= */
.intro-term__shutter {
  position: absolute;
  left: 0;
  right: 0;
  height: calc(50% + 1px);
  background: #fff;
  z-index: 5;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 1100ms var(--ease-emph);
  will-change: transform;
}
.intro-term__shutter--top { top: 0; transform-origin: top; }
.intro-term__shutter--bot { bottom: 0; transform-origin: bottom; }

.intro-term.is-exiting .intro-term__shutter {
  transform: scaleY(1);
}

/* Removes the intro after the wipe */
.intro-term.is-done {
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms 400ms, visibility 0s 700ms;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body.is-ready .hero__title .word { transform: none; opacity: 1; }
  .cursor { display: none; }
  body { cursor: auto; }
  .marquee__track { animation: none; }
  .intro-term { display: none !important; }
}
