:root {
  --ink: #0b1f17;
  --ink-2: #17352a;
  --green: #19966b;
  --green-dark: #0e5e43;
  --orange: #ff7a2f;
  --blue: #1f7ab7;
  --yellow: #f1bf46;
  --cream: #f6f1e8;
  --white: #ffffff;
  --paper: #fffdf8;
  --line: #ded6c7;
  --muted: #647066;
  --shadow: 0 22px 60px rgba(18, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

h1,
h2,
h3,
p,
dl,
dd,
ul,
figure {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 12px;
  color: var(--white);
  border-radius: 6px;
  background: var(--ink);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(11, 31, 23, 0.1);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 155px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.header-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 950;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.header-action {
  justify-self: end;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-photo,
.hero-photo img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 23, 18, 0.88) 0%, rgba(9, 23, 18, 0.66) 43%, rgba(9, 23, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(9, 23, 18, 0.16), rgba(9, 23, 18, 0.62));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 64px));
  padding: 118px 0 168px;
  margin-left: max(32px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.label {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section .eyebrow,
.dark-section .eyebrow,
.cta-band .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3 {
  font-weight: 950;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 76px;
  line-height: 0.95;
}

h2 {
  font-size: 46px;
  line-height: 1.03;
}

h3 {
  font-size: 24px;
  line-height: 1.12;
}

.hero-copy > p:not(.eyebrow),
.section-copy p,
.intro-copy p,
.page-hero p,
.cta-band p,
.about-panel > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.83);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  padding: 0 20px;
  border: 1px solid var(--ink);
}

.button.primary {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
}

.button.primary:hover {
  border-color: var(--green);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.hero-command {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  z-index: 2;
  width: min(520px, calc(100% - 64px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-command h2 {
  font-size: 30px;
}

.hero-command dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.hero-command div {
  min-height: 92px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.hero-command dt,
.proof-table span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-command dd {
  color: var(--ink);
  font-size: 30px;
  font-weight: 950;
}

.hero-command p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.intro-band,
.section,
.cta-band,
.page-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.05fr;
  align-items: center;
  gap: 44px;
  padding: 86px 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.section-photo,
.field-photo {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.section-photo {
  height: min(34vw, 430px);
}

.field-photo {
  height: min(38vw, 470px);
}

.section-photo img,
.field-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.split-section,
.dark-section,
.evidence-section,
.foundation-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.section-copy {
  max-width: 560px;
}

.section-copy p {
  margin-top: 20px;
}

.workflow-grid,
.service-strip,
.use-case-grid,
.principle-grid,
.pilot-grid {
  display: grid;
  gap: 14px;
}

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

.workflow-grid article,
.service-strip article,
.use-case-grid article,
.principle-grid article,
.pilot-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(18, 31, 24, 0.06);
}

.workflow-grid article:nth-child(1),
.service-strip article:nth-child(1) {
  border-top: 5px solid var(--green);
}

.workflow-grid article:nth-child(2),
.service-strip article:nth-child(2) {
  border-top: 5px solid var(--orange);
}

.workflow-grid article:nth-child(3),
.service-strip article:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.workflow-grid article:nth-child(4),
.service-strip article:nth-child(4) {
  border-top: 5px solid var(--yellow);
}

.workflow-grid span,
.service-strip span,
.principle-grid span,
.pilot-grid span {
  display: inline-flex;
  min-width: 36px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 5px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.workflow-grid h3,
.service-strip h2,
.use-case-grid h2,
.principle-grid h2 {
  font-size: 26px;
}

.workflow-grid p,
.service-strip p,
.use-case-grid p,
.principle-grid p,
.pilot-grid p,
.timeline span,
.foundation-list span,
.evidence-list span,
.pilot-checklist li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.workflow-grid p,
.service-strip p,
.use-case-grid p,
.principle-grid p,
.pilot-grid p {
  margin-top: 14px;
}

.dark-section {
  width: 100%;
  max-width: none;
  padding: 105px max(32px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
}

.dark-section .section-copy p {
  color: #bccac2;
}

.field-photo {
  border: 10px solid rgba(255, 255, 255, 0.08);
}

.evidence-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.evidence-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.evidence-list strong {
  color: var(--yellow);
  font-size: 14px;
}

.proof-table {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-table div {
  flex: 1;
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.proof-table div:last-child {
  border-right: 0;
}

.proof-table strong {
  color: var(--green-dark);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.proof-table em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.foundation-section {
  align-items: start;
}

.foundation-list,
.timeline {
  display: grid;
  gap: 10px;
}

.foundation-list div,
.timeline div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 22px;
  border-radius: 8px;
  background: var(--cream);
}

.foundation-list div:nth-child(1),
.timeline div:nth-child(1) {
  border-left: 5px solid var(--orange);
}

.foundation-list div:nth-child(2),
.timeline div:nth-child(2) {
  border-left: 5px solid var(--green);
}

.foundation-list div:nth-child(3),
.timeline div:nth-child(3) {
  border-left: 5px solid var(--blue);
}

.foundation-list div:nth-child(4),
.timeline div:nth-child(4) {
  border-left: 5px solid var(--yellow);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 86px;
  padding: 44px;
  color: var(--white);
  border-radius: 10px;
  background: var(--ink);
}

.cta-band div {
  max-width: 760px;
}

.cta-band p {
  max-width: 720px;
  margin-top: 14px;
  color: #bccac2;
}

.cta-band .button {
  flex: 0 0 auto;
}

.site-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer-credit img {
  width: 113px;
  height: auto;
}

.page-shell {
  padding-bottom: 88px;
}

.page-hero {
  min-height: 560px;
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
  color: var(--ink);
  font-size: 66px;
  line-height: 0.98;
}

.page-hero p {
  max-width: 760px;
  margin-top: 22px;
}

.pilot-hero .hero-actions {
  margin-top: 32px;
}

.page-hero .button.secondary {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.page-hero .button.secondary:hover {
  color: var(--white);
  background: var(--ink);
}

.service-strip,
.use-case-grid,
.principle-grid,
.pilot-grid {
  padding: 72px 0;
}

.service-strip,
.pilot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.use-case-grid article {
  min-height: 310px;
}

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

.about-panel,
.pilot-checklist {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 60px;
  padding: 74px 0;
  border-bottom: 1px solid var(--line);
}

.about-panel > div,
.pilot-checklist > div {
  max-width: 520px;
}

.about-panel > p {
  width: min(560px, 100%);
}

.flush {
  border-top: 0;
  padding-top: 30px;
}

.compact {
  margin-top: 20px;
}

.pilot-checklist ul {
  width: min(520px, 100%);
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.pilot-checklist li {
  position: relative;
  min-height: 54px;
  padding: 16px 16px 16px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.pilot-checklist li::before {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  content: "";
  background: var(--green);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 18px;
    min-height: 42px;
    overflow-x: auto;
  }

  .hero-copy {
    width: min(700px, calc(100% - 48px));
    padding-top: 96px;
    margin-left: 24px;
  }

  h1,
  .page-hero h1 {
    font-size: 58px;
  }

  .hero-command {
    right: 24px;
    left: 24px;
    width: auto;
  }

  .intro-band,
  .split-section,
  .dark-section,
  .evidence-section,
  .foundation-section {
    grid-template-columns: 1fr;
  }

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

  .proof-table {
    flex-wrap: wrap;
  }

  .proof-table div {
    flex: 1 1 50%;
  }

  .about-panel,
  .pilot-checklist {
    display: grid;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 0 18px;
  }

  .brand img {
    width: 132px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .nav-links {
    gap: 16px;
    font-size: 12px;
  }

  .hero-section {
    min-height: 940px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding: 78px 0 330px;
    margin-left: 18px;
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy > p:not(.eyebrow),
  .section-copy p,
  .intro-copy p,
  .page-hero p,
  .cta-band p,
  .about-panel > p {
    font-size: 16px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(9, 23, 18, 0.9) 0%, rgba(9, 23, 18, 0.72) 54%, rgba(9, 23, 18, 0.42) 100%);
  }

  .hero-command {
    bottom: 22px;
    right: 18px;
    left: 18px;
    padding: 18px;
  }

  .hero-command dl {
    grid-template-columns: 1fr;
  }

  .hero-command div {
    min-height: 72px;
  }

  .section-photo,
  .field-photo {
    height: 270px;
  }

  .intro-band,
  .section,
  .cta-band,
  .page-shell {
    width: min(100% - 36px, 1180px);
  }

  .intro-band,
  .section,
  .service-strip,
  .use-case-grid,
  .principle-grid,
  .pilot-grid,
  .about-panel,
  .pilot-checklist {
    padding: 58px 0;
  }

  .workflow-grid,
  .service-strip,
  .use-case-grid,
  .principle-grid,
  .pilot-grid,
  .foundation-list div,
  .timeline div,
  .evidence-list div {
    grid-template-columns: 1fr;
  }

  .workflow-grid article,
  .service-strip article,
  .use-case-grid article,
  .principle-grid article,
  .pilot-grid article {
    min-height: 0;
  }

  .dark-section {
    padding: 64px 18px;
  }

  .proof-table {
    display: grid;
  }

  .proof-table div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-table div:last-child {
    border-bottom: 0;
  }

  .cta-band {
    display: grid;
    padding: 28px;
  }

  .site-footer {
    min-height: 120px;
    display: grid;
    align-content: center;
    padding: 24px 18px;
  }
}

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

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

.pilot-form-section {
  padding: 48px max(32px, calc((100vw - 1180px) / 2));
}

.pilot-form-card {
  max-width: 640px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pilot-form-card h2 {
  margin-top: 6px;
  margin-bottom: 24px;
}

.pilot-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pilot-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--ink-2);
}

.pilot-field span {
  font-weight: 600;
}

.pilot-field input,
.pilot-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.pilot-field input:focus,
.pilot-field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.pilot-form-card .button.primary {
  border-color: var(--orange);
  cursor: pointer;
}

.pilot-form-card .button.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pilot-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.pilot-status {
  margin-top: 16px;
  font-size: 14px;
}

.pilot-status-ok {
  color: var(--green-dark);
  font-weight: 600;
}

.pilot-status-error {
  color: #b3261e;
  font-weight: 600;
}

@media (max-width: 640px) {
  .pilot-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   MOTION LAYER
   All states below are scoped under html.js-motion, which is set
   synchronously in <head> only when motion is allowed. Without JS or
   with prefers-reduced-motion, none of this applies and the page renders
   fully visible and static — this is pure progressive enhancement.
   ===================================================================== */

/* ---- Scroll reveal: initial hidden state (mirrors REVEAL_GROUPS in motion.js) ---- */
html.js-motion .hero-copy > *,
html.js-motion .hero-command,
html.js-motion .intro-band > *,
html.js-motion .section-photo,
html.js-motion .field-photo,
html.js-motion .split-section .section-copy > *,
html.js-motion .workflow-grid article,
html.js-motion .dark-section .section-copy > *,
html.js-motion .evidence-list div,
html.js-motion .evidence-section .section-copy > *,
html.js-motion .proof-table div,
html.js-motion .foundation-section .section-copy > *,
html.js-motion .foundation-list div,
html.js-motion .cta-band > *,
html.js-motion .page-hero > *,
html.js-motion .service-strip article,
html.js-motion .use-case-grid article,
html.js-motion .principle-grid article,
html.js-motion .pilot-grid article,
html.js-motion .about-panel > *,
html.js-motion .pilot-checklist > *,
html.js-motion .pilot-form-card {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-motion .is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Cursor spotlight on dark/immersive surfaces ---- */
html.js-motion .has-spotlight {
  --mx: 50%;
  --my: 30%;
  --glow: 0;
}

html.js-motion .has-spotlight::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  opacity: var(--glow, 0);
  transition: opacity 0.4s ease;
  background: radial-gradient(
    440px circle at var(--mx) var(--my),
    rgba(241, 191, 70, 0.16),
    rgba(241, 191, 70, 0) 60%
  );
}

/* keep hero foreground content above the glow */
html.js-motion .hero-copy,
html.js-motion .hero-command,
html.js-motion .cta-band > *,
html.js-motion .dark-section > * {
  position: relative;
  z-index: 2;
}

/* ---- 3D tilt cards ---- */
html.js-motion .tiltable {
  --rx: 0deg;
  --ry: 0deg;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease, opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-motion .tiltable.is-visible {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
}

@media (hover: hover) and (pointer: fine) {
  html.js-motion .tiltable.is-visible:hover {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
    box-shadow: 0 26px 60px rgba(18, 31, 24, 0.16);
  }
  html.js-motion .tiltable::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
      260px circle at var(--gx, 50%) var(--gy, 0%),
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0) 55%
    );
  }
  html.js-motion .tiltable.is-visible:hover::before {
    opacity: 0.5;
  }
  html.js-motion .tiltable > * {
    position: relative;
    z-index: 1;
  }
}

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--orange), var(--yellow));
  pointer-events: none;
}

/* ---- Header elevation once scrolled ---- */
html.js-motion .site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

html.js-motion .site-header.scrolled {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 8px 30px rgba(18, 31, 24, 0.08);
}

/* ---- Button shine sweep ---- */
html.js-motion .button.primary,
html.js-motion .header-action {
  position: relative;
  overflow: hidden;
}

html.js-motion .button.primary::after,
html.js-motion .header-action::after {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  content: "";
  pointer-events: none;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.6s ease;
}

html.js-motion .button.primary:hover::after,
html.js-motion .header-action:hover::after {
  left: 130%;
}

/* ---- Hero ambient slow zoom for depth ---- */
@media (hover: hover) {
  html.js-motion .hero-photo img {
    animation: hero-drift 26s ease-in-out infinite alternate;
  }
}

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

/* ---- Live pulse dot on the hero snapshot label ---- */
html.js-motion .hero-command .label {
  position: relative;
  padding-left: 16px;
}

html.js-motion .hero-command .label::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  content: "";
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(25, 150, 107, 0.6);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 150, 107, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(25, 150, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(25, 150, 107, 0);
  }
}

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