:root {
  --bg: #090909;
  --panel: #171717;
  --line: rgba(255,255,255,.11);
  --text: #edf1f5;
  --muted: #b9b9b9;
  --orange: #ff6a00;
  --orange-soft: #ff8a2a;
  --green: #5fbf8f;
  --yellow: #e5b858;
  --red: #e06155;
  --max: 1140px;
  --radius: 8px;
  --nav-h: 74px;
  --scroll: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  line-height: 1.62;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(180deg, #151515 0, #0e0e0e 36rem, var(--bg) 100%);
  background-size: 48px 48px, 48px 48px, auto;
  overflow-x: hidden;
  animation: gridDrift 28s linear infinite;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255,106,0,.08) 48%, transparent 56% 100%);
  transform: translateX(-55%);
  animation: pageSweep 13s ease-in-out infinite;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.12;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

.text-accent {
  color: var(--orange-soft);
  font-weight: 800;
}

.soft-mark {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, transparent 58%, rgba(255,106,0,.22) 58%);
}

.mini-label {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-bottom: .85rem;
  color: #ffd0ad;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-label::before {
  content: "";
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,106,0,.12);
}

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(11,11,11,.92);
  backdrop-filter: blur(12px);
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #ffb06f);
  box-shadow: 0 0 18px rgba(255,106,0,.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: height .18s ease, box-shadow .18s ease;
}

.is-scrolling .scroll-progress {
  height: 5px;
  box-shadow: 0 0 24px rgba(255,106,0,.72);
}

.is-scrolling .top {
  box-shadow: 0 14px 44px rgba(0,0,0,.38), 0 0 26px rgba(255,106,0,.08);
}

.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand img { width: 36px; height: 36px; object-fit: contain; }

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  flex: 1;
  color: #c5c5c5;
  font-size: .92rem;
  font-weight: 700;
}

.menu a {
  padding: .35rem .1rem;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.menu a span {
  display: none;
}

.menu a:hover,
.menu a:focus-visible,
.menu a.is-active {
  color: #fff;
  border-color: var(--orange);
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: .9rem 1.35rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn-primary {
  color: #1b0e04;
  background: linear-gradient(180deg, var(--orange-soft), var(--orange));
  box-shadow: 0 10px 24px rgba(255,106,0,.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 34px rgba(255,106,0,.42), 0 0 28px rgba(255,106,0,.22);
  outline: none;
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  left: 115%;
}

.btn-secondary {
  color: #f2f2f2;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255,106,0,.55);
  transform: translateY(-1px);
  outline: none;
}

.nav-cta {
  padding: .62rem .95rem;
  font-size: .86rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid #3c3c3c;
  background: rgba(24,24,24,.94);
  color: #f5f5f5;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, background .2s ease, top .2s ease, bottom .2s ease;
}

.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { bottom: -6px; }

.hero {
  position: relative;
  padding: 4.2rem 0 5.2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.72), transparent);
  transform: translateX(-35%);
  animation: sectionLine 7s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
  gap: 3rem;
  align-items: center;
  transform: translateY(calc(var(--scroll) * -22px));
  transition: transform .12s linear;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  color: var(--orange-soft);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,106,0,.13);
}

.hero h1 {
  max-width: 13ch;
  font-size: 4.2rem;
  font-weight: 700;
  text-shadow: 0 0 calc(8px + (var(--scroll) * 22px)) rgba(255,255,255,.09);
}

.hero .sub {
  max-width: 48rem;
  margin-top: 1.25rem;
  color: #d0d0d0;
  font-size: 1.18rem;
}

.hero-actions,
.cta-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.micro {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
}

.panel,
.card,
.note-panel,
.step-card,
.timeline-card,
.end-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30,30,30,.94), rgba(18,18,18,.94));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.panel {
  --glow-x: 50%;
  --glow-y: 50%;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(18rem 12rem at var(--glow-x) var(--glow-y), rgba(255,106,0,.16), transparent 62%);
  opacity: .75;
}

.panel::before,
.card::before,
.note-panel::before,
.step-card::before,
.timeline-card::before,
.end-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,.055) 48%, transparent 62% 100%);
  transform: translateX(-115%);
  transition: transform .65s ease;
}

.panel:hover::before,
.card:hover::before,
.note-panel:hover::before,
.step-card:hover::before,
.timeline-card:hover::before,
.end-cta:hover::before {
  transform: translateX(115%);
}

.panel:hover,
.card:hover,
.note-panel:hover,
.step-card:hover,
.timeline-card:hover,
.faq-item:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(255,106,0,.68);
  box-shadow: 0 24px 54px rgba(0,0,0,.44), 0 0 0 1px rgba(255,106,0,.16), 0 0 46px rgba(255,106,0,.2);
}

.reveal-ready .panel.in:hover,
.reveal-ready .card.in:hover,
.reveal-ready .note-panel.in:hover,
.reveal-ready .step-card.in:hover,
.reveal-ready .timeline-card.in:hover,
.reveal-ready .faq-item.in:hover {
  transform: translateY(-8px) scale(1.012);
}

.zone.green:hover { border-color: rgba(95,191,143,.55); box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 26px rgba(95,191,143,.12); }
.zone.yellow:hover { border-color: rgba(229,184,88,.58); box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 26px rgba(229,184,88,.12); }
.zone.red:hover { border-color: rgba(224,97,85,.58); box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 26px rgba(224,97,85,.12); }

.panel { padding: 1.25rem; }

.hero-logo {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-logo img { width: 58px; height: 58px; object-fit: contain; }
.hero-logo strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.35rem;
}
.hero-logo span { color: var(--muted); font-size: .92rem; }

.signal-list,
.check-list,
.plain-list,
.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.signal-list {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

.signal-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: .65rem;
  color: #dedede;
  font-weight: 650;
}

.signal-list li::before {
  content: "";
  width: .62rem;
  height: .62rem;
  margin-top: .48rem;
  border-radius: 50%;
  background: var(--orange);
}

.workflow-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .45rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.workflow-track {
  position: absolute;
  left: .35rem;
  right: .35rem;
  top: 1.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,106,0,.16), rgba(255,106,0,.78), rgba(255,106,0,.16));
  background-size: 220% 100%;
  animation: workflowMove 3.8s linear infinite;
}

.workflow-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  min-height: 2rem;
  padding: .46rem .35rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(15,15,15,.94);
  color: #cfcfcf;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.workflow-node.active {
  border-color: rgba(255,106,0,.5);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255,106,0,.09);
  animation: nodePulse 3.8s ease-in-out infinite;
}

.section {
  padding: 5.4rem 0;
  border-top: 1px solid rgba(255,255,255,.055);
  scroll-margin-top: calc(var(--nav-h) + 18px);
  position: relative;
  overflow: clip;
}

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(820px, 78vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.45), transparent);
  transform: translateX(-50%);
  opacity: .45;
}

.section.alt { background: rgba(255,255,255,.018); }

.section-head {
  max-width: 780px;
  margin-bottom: 2.1rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 { font-size: 3rem; font-weight: 700; }

.section-head p {
  margin-top: .85rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

.card,
.note-panel,
.step-card,
.timeline-card { padding: 1.35rem; }

.card::after,
.timeline-card::after,
.step-card::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,106,0,.78), transparent);
  opacity: .45;
}

.card h3,
.note-panel h3,
.timeline-card h3 {
  font-size: 1.35rem;
  margin-bottom: .55rem;
}

.card p,
.note-panel p,
.timeline-card p,
.step-card p { color: #c4c4c4; }

.problem-list,
.check-list,
.plain-list {
  display: grid;
  gap: .72rem;
}

.problem-list li,
.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.55rem;
  color: #d7d7d7;
}

.problem-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--orange);
}

.problem-list li strong,
.check-list li strong,
.plain-list li strong {
  color: #fff;
  font-weight: 800;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65rem;
  width: .5rem;
  height: .5rem;
  border-radius: 2px;
  background: rgba(255,255,255,.36);
}

.closing-line {
  margin-top: 1.2rem;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  padding: .9rem 1rem;
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: rgba(255,106,0,.075);
}

.impact,
.output-grid,
.about-grid {
  display: grid;
  gap: 1rem;
}

.impact { grid-template-columns: .8fr 1.2fr; align-items: stretch; }
.output-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
.about-grid { grid-template-columns: .82fr 1.18fr; align-items: stretch; }

.metric-card { border-left: 3px solid var(--orange); }

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .85rem;
  border-radius: 50%;
  color: #1b0e04;
  background: var(--orange);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.timeline,
.process {
  position: relative;
  display: grid;
  gap: .9rem;
  max-width: 980px;
  margin: 0 auto;
}

.timeline::before,
.process::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: .8rem;
  bottom: .8rem;
  width: 1px;
  background: rgba(255,106,0,.38);
}

.timeline::after,
.process::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: .8rem;
  width: 1px;
  height: 6rem;
  background: linear-gradient(180deg, transparent, rgba(255,138,42,.95), transparent);
  animation: timelineFlow 5s ease-in-out infinite;
}

.timeline-step,
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 1rem;
  align-items: start;
}

.step-dot,
.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  color: #1a0e04;
  background: var(--orange);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(255,106,0,.22);
  animation: dotBreath 3.8s ease-in-out infinite;
}

.timeline-card h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.step-card h3 { font-size: 1.55rem; margin-bottom: .45rem; }
.step-card ul { margin-top: .9rem; }

.fit-grid,
.safety-zones {
  display: grid;
  gap: 1rem;
}

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

.fit-yes { border-color: rgba(95,191,143,.36); }
.fit-no { border-color: rgba(224,97,85,.34); }
.fit-yes h3 { color: var(--green); }
.fit-no h3 { color: #f08074; }

.zone { border-top: 4px solid currentColor; }
.zone.green { color: var(--green); }
.zone.yellow { color: var(--yellow); }
.zone.red { color: var(--red); }
.zone h3 { color: currentColor; }
.zone p { color: #c8c8c8; }

.portrait {
  overflow: hidden;
  min-height: 100%;
  padding: 0;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.quote {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
  color: #fff;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: .85rem;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(25,25,25,.94);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1.35rem;
  line-height: 1;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: "-"; }
.faq-item[open] {
  border-color: rgba(255,106,0,.42);
  box-shadow: 0 18px 38px rgba(0,0,0,.3), 0 0 28px rgba(255,106,0,.08);
}
.faq-content { padding: 0 1.1rem 1rem; color: #c7c7c7; }

.end-cta {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  border-color: rgba(255,106,0,.35);
  padding: 2rem;
}

.end-cta h2 { font-size: 2.55rem; }
.end-cta p {
  max-width: 680px;
  margin: .85rem auto 0;
  color: #c8c8c8;
}

.mini-steps {
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .7rem;
  align-items: start;
  color: #d9d9d9;
  font-weight: 650;
}

.mini-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #1b0e04;
  background: var(--orange);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.summary-panel h2 {
  font-size: 1.45rem;
  margin-bottom: .9rem;
}

footer {
  padding: 1.6rem 0 4.3rem;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #a8a8a8;
  font-size: .92rem;
  text-align: center;
}

.legal {
  display: grid;
  gap: .18rem;
  margin-top: .5rem;
}

.legal-toggle {
  max-width: 360px;
  margin: .65rem auto 0;
}

.legal-toggle summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 36px;
  padding: .42rem .72rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: #e7e7e7;
  background: rgba(255,255,255,.035);
  font-weight: 800;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.legal-toggle summary::-webkit-details-marker {
  display: none;
}

.legal-toggle summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1rem;
  line-height: 1;
}

.legal-toggle[open] summary {
  color: #fff;
  border-color: rgba(255,106,0,.42);
  background: rgba(255,106,0,.08);
}

.legal-toggle[open] summary::after {
  content: "-";
}

.legal-toggle .legal {
  padding-top: .35rem;
}

.legal a,
.contact-link {
  color: #f1f1f1;
  border-bottom: 1px dashed rgba(255,106,0,.45);
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .7rem;
}

.sticky {
  display: none;
  position: fixed;
  left: .7rem;
  right: .7rem;
  bottom: .7rem;
  z-index: 80;
  border: 1px solid rgba(255,106,0,.42);
  border-radius: var(--radius);
  padding: .45rem;
  background: rgba(12,12,12,.94);
  backdrop-filter: blur(10px);
}

.sticky .btn { width: 100%; }

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 48px 48px, -48px 48px, 0 0; }
}

@keyframes pageSweep {
  0%, 32% { transform: translateX(-60%); opacity: 0; }
  46%, 58% { opacity: 1; }
  78%, 100% { transform: translateX(60%); opacity: 0; }
}

@keyframes sectionLine {
  0%, 100% { transform: translateX(-35%); opacity: .45; }
  50% { transform: translateX(35%); opacity: 1; }
}

@keyframes workflowMove {
  0% { background-position: 0 0; }
  100% { background-position: 220% 0; }
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,106,0,.08); }
  50% { box-shadow: 0 0 0 6px rgba(255,106,0,.16); }
}

@keyframes timelineFlow {
  0% { transform: translateY(0); opacity: 0; }
  16%, 82% { opacity: 1; }
  100% { transform: translateY(28rem); opacity: 0; }
}

@keyframes dotBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,.18); }
  50% { box-shadow: 0 0 0 8px rgba(255,106,0,.05); }
}

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

.reveal-ready [data-r] {
  opacity: .05;
  transform: translateY(52px) scale(.965);
  filter: blur(7px);
  transition: opacity .95s ease, transform .95s cubic-bezier(.16,1,.3,1), filter .95s ease;
}

.reveal-ready [data-r].in,
[data-r].in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-ready .grid-2 > [data-r]:nth-child(2),
.reveal-ready .grid-3 > [data-r]:nth-child(2),
.reveal-ready .grid-4 > [data-r]:nth-child(2),
.reveal-ready .timeline > [data-r]:nth-child(2),
.reveal-ready .process > [data-r]:nth-child(2) {
  transition-delay: .09s;
}

.reveal-ready .grid-3 > [data-r]:nth-child(3),
.reveal-ready .grid-4 > [data-r]:nth-child(3),
.reveal-ready .timeline > [data-r]:nth-child(3),
.reveal-ready .process > [data-r]:nth-child(3) {
  transition-delay: .18s;
}

.reveal-ready .grid-4 > [data-r]:nth-child(4),
.reveal-ready .timeline > [data-r]:nth-child(4),
.reveal-ready .process > [data-r]:nth-child(4) {
  transition-delay: .27s;
}

@keyframes viewRise {
  from {
    opacity: .16;
    transform: translateY(54px) scale(.965);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1080px) {
  .menu { gap: .55rem; font-size: .84rem; }
  .hero h1 { font-size: 3.35rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  .nav { min-height: var(--nav-h); }
  .brand { font-size: 1.45rem; }
  .brand img { width: 32px; height: 32px; }
  .menu {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) - 1px);
    left: 1rem;
    right: 1rem;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .45rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: var(--radius);
    background: rgba(13,13,13,.98);
  }
  .menu a {
    padding: .74rem .75rem;
    border-bottom: 0;
    border-radius: var(--radius);
  }
  .menu a span {
    display: block;
    margin-top: .12rem;
    color: #8f8f8f;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .menu a:hover { background: rgba(255,106,0,.11); }
  .top.menu-open .menu { display: flex; }
  .top.menu-open .nav-toggle span { background: transparent; }
  .top.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .top.menu-open .nav-toggle span::after { bottom: 0; transform: rotate(-45deg); }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 2.6rem 0 3.5rem; }
  .hero-grid,
  .impact,
  .output-grid,
  .fit-grid,
  .about-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; font-size: 2.45rem; }
  .hero .sub { font-size: 1rem; }
  .section { padding: 3.6rem 0; }
  .section-head h2,
  .end-cta h2 { font-size: 2rem; }
  .grid-2,
  .grid-3,
  .grid-4,
  .safety-zones { grid-template-columns: 1fr; }
  .hero-actions .btn,
  .cta-row .btn { width: 100%; }
  .portrait img { min-height: 340px; }
  .sticky { display: block; }
}

@media (max-width: 420px) {
  .container { width: min(var(--max), calc(100% - 1.2rem)); }
  .hero h1 { font-size: 2.1rem; }
  .btn { width: 100%; padding-left: .9rem; padding-right: .9rem; }
  .card,
  .note-panel,
  .panel,
  .step-card,
  .timeline-card,
  .end-cta { padding: 1rem; }
  .timeline-step,
  .process-step { grid-template-columns: 2.4rem 1fr; gap: .75rem; }
  .step-dot,
  .step-num { width: 2.4rem; height: 2.4rem; }
  .timeline::before,
  .process::before { left: 1.2rem; }
  .timeline::after,
  .process::after { left: 1.2rem; }
  .workflow-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workflow-track {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
