/* ==========================================================
   Zelfron.ai — Apple-style cinematic dark theme
   ========================================================== */
:root {
  --bg: #000;
  --bg-2: #0b0b0d;
  --card: #141416;
  --card-2: #1c1c1f;
  --text: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255,255,255,.1);
  --blue: #2997ff;
  --cyan: #5ac8fa;
  --violet: #a855f7;
  --pink: #ff3d8b;
  --orange: #ff7a45;
  --green: #30d158;
  --radius: 28px;
  --gutter: max(22px, 4vw);
  --maxw: 1080px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- Gradients ---------- */
.grad { -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--hero  { background-image: linear-gradient(90deg, #5ac8fa 0%, #a855f7 45%, #ff3d8b 75%, #ff7a45 100%); }
.grad--xdr   { background-image: linear-gradient(100deg, #2997ff 0%, #a855f7 40%, #ff3d8b 70%, #ffb340 100%); }
.grad--blue  { background-image: linear-gradient(90deg, #5ac8fa, #2997ff); }
.grad--violet{ background-image: linear-gradient(90deg, #c084fc, #7c3aed); }
.grad--orange{ background-image: linear-gradient(90deg, #ffb340, #ff3d8b); }
.grad--green { background-image: linear-gradient(90deg, #a3f7bf, #30d158); }
.grad-bg--blue  { background: linear-gradient(135deg, #5ac8fa, #2563eb); }
.grad-bg--xdr   { background: linear-gradient(135deg, #2997ff, #a855f7 50%, #ff7a45); }
.grad-bg--green { background: linear-gradient(135deg, #30d158, #0ea5e9); }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .01em;
}
.section-title {
  margin: 0 0 56px;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.035em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 17px; font-weight: 500;
  border: 0; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #0077ed; }
.btn:active { transform: scale(.97); }
.btn--small { padding: 5px 14px; font-size: 12px; font-weight: 500; }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--wide { width: 100%; padding: 16px; }
.link-arrow { color: var(--blue); font-size: 17px; }
.link-arrow::after { content: " ›"; transition: margin .2s; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Global nav ---------- */
.globalnav {
  position: relative; z-index: 60;
  height: 44px;
  background: rgba(22,22,23,.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.globalnav__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { width: 24px; height: 24px; display: block; }
.globalnav__links { display: flex; gap: 36px; }
.globalnav__links a { font-size: 12px; color: #e8e8ed; opacity: .8; transition: opacity .2s; }
.globalnav__links a:hover { opacity: 1; }
.globalnav__menu { display: none; background: none; border: 0; width: 28px; height: 28px; position: relative; cursor: pointer; }
.globalnav__menu span { position: absolute; left: 6px; right: 6px; height: 1.5px; background: #e8e8ed; transition: transform .3s var(--ease), top .3s var(--ease); }
.globalnav__menu span:first-child { top: 10px; }
.globalnav__menu span:last-child { top: 17px; }
.globalnav.is-open .globalnav__menu span:first-child { top: 13.5px; transform: rotate(45deg); }
.globalnav.is-open .globalnav__menu span:last-child { top: 13.5px; transform: rotate(-45deg); }

/* ---------- Local nav ---------- */
.localnav {
  position: sticky; top: 0; z-index: 50;
  height: 52px;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.localnav.is-stuck {
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--line);
}
.localnav__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.localnav__title { display: flex; align-items: center; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.localnav__title img { width: 28px; height: 28px; margin-right: 10px; }
.localnav__title span { color: var(--muted); }
.localnav__right { display: flex; align-items: center; gap: 24px; }
.localnav__link { font-size: 12px; color: #d2d2d7; }
.localnav__link:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
  margin-top: -52px; padding: 52px 0 96px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__glow {
  position: absolute; left: 50%; top: 58%;
  width: 1100px; height: 600px; max-width: 160vw;
  transform: translate(-50%,-50%);
  background:
    radial-gradient(closest-side, rgba(168,85,247,.45), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(41,151,255,.45), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(255,122,69,.35), transparent 70%);
  filter: blur(40px);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%,100% { opacity: .75; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1;   transform: translate(-50%,-50%) scale(1.08); }
}
.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: 980px; }
.hero__title {
  margin: 0;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -.045em;
}
.hero__sub {
  margin: 28px auto 36px;
  max-width: 640px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.35;
  color: #d2d2d7;
  font-weight: 500;
}
.hero__ctas { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; z-index: 2;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Laptop showcase ---------- */
.showcase { height: 320vh; position: relative; }
.showcase__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  perspective: 2400px;
}
.showcase__copy { position: absolute; top: 9vh; left: 0; right: 0; text-align: center; z-index: 3; pointer-events: none; padding: 0 var(--gutter); }
.showcase__line {
  margin: 0; font-size: clamp(32px, 5.4vw, 72px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em;
  opacity: var(--t, 0); transform: translateY(calc((1 - var(--t, 0)) * 30px));
}
.showcase__line--2 { opacity: var(--t2, 0); transform: translateY(calc((1 - var(--t2, 0)) * 30px)); }

.mbp {
  --w: min(900px, 86vw, calc((100vh - 260px) * 1.45));
  position: relative; width: var(--w); margin-top: 14vh;
  transform: translateY(var(--y, 0)) scale(var(--s, 1));
}
.mbp__lid {
  position: relative; transform-origin: 50% 100%;
  transform: rotateX(var(--lid, 0deg));
  z-index: 1;
}
.mbp__bezel {
  position: relative; aspect-ratio: 16 / 10.4;
  border-radius: calc(var(--w) * .028) calc(var(--w) * .028) 0 0;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1.5px #3a3a3c, inset 0 0 0 3px #111, 0 -1px 0 #555;
  padding: calc(var(--w) * .022) calc(var(--w) * .022) calc(var(--w) * .03);
}
.mbp__screen, .mbp__art {
  position: absolute;
  inset: calc(var(--w) * .022) calc(var(--w) * .022) calc(var(--w) * .03);
}
.mbp__screen { background: #000; border-radius: 6px; }
.mbp__art {
  /* the art layer is bigger than the screen; clip-path trims it back to the glass */
  inset: calc(var(--w) * .022 - 9%) calc(var(--w) * .022 - 9%) calc(var(--w) * .03 - 9%);
  clip-path: inset(var(--ct, 12%) var(--cr, 12%) var(--cb, 12%) var(--cl, 12%) round 6px);
  transform: scale(var(--zoom, 1));
  opacity: var(--glow, 0);
  /* soft outer edge so the spill fades into the dark instead of ending in a hard box */
  -webkit-mask: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent), linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent), linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  mask-composite: intersect;
  z-index: 3;
}
.mbp__art canvas { width: 100%; height: 100%; }
.mbp__notch {
  position: absolute; top: calc(var(--w) * .022); left: 50%; width: 11%; height: calc(var(--w) * .02);
  transform: translateX(-50%); background: #0a0a0a; border-radius: 0 0 8px 8px;
  opacity: var(--notch, 1); z-index: 2;
}
.mbp__base {
  position: relative; height: calc(var(--w) * .022); margin: 0 -6.5%;
  background: linear-gradient(180deg, #e3e4e8 0%, #a6a8ad 18%, #6b6d72 60%, #2c2d30 100%);
  border-radius: 2px 2px calc(var(--w) * .03) calc(var(--w) * .03) / 2px 2px calc(var(--w) * .012) calc(var(--w) * .012);
  z-index: 4;
}
.mbp__lip {
  position: absolute; top: 0; left: 50%; width: 15%; height: 42%;
  transform: translateX(-50%); background: linear-gradient(180deg, #4a4b4f, #8e9095);
  border-radius: 0 0 10px 10px;
}
.mbp__shadow {
  position: absolute; left: -4%; right: -4%; bottom: calc(var(--w) * -.05); height: calc(var(--w) * .06);
  background: radial-gradient(closest-side, rgba(255,140,90,.18), transparent), radial-gradient(closest-side, rgba(0,0,0,.9), transparent);
  filter: blur(10px); z-index: 1;
}

/* ---------- Scroll-lit statement ---------- */
.statement { padding: 22vh var(--gutter) 18vh; }
.statement__text {
  max-width: 980px; margin: 0 auto;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.03em;
}
.statement__text .w { color: #2a2a2d; transition: color .35s var(--ease); }
.statement__text .w.is-lit { color: var(--text); }

/* ---------- Wordmark ---------- */
.wordmark { height: 200vh; position: relative; }
.wordmark__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.wordmark__text {
  margin: 0;
  font-size: clamp(64px, 17vw, 240px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.055em;
  will-change: transform, opacity;
  transform: scale(var(--s, 1.6));
  opacity: var(--o, .2);
}
.wordmark__text > span { display: block; }
.wordmark__ai { font-size: .32em; letter-spacing: -.03em; color: #e8e8ed; margin-top: .25em; font-weight: 700; }
.wordmark__caption { margin: 40px var(--gutter) 0; font-size: clamp(19px, 2vw, 24px); color: var(--muted); font-weight: 500; max-width: 620px; }

/* ---------- Highlights (LED wall) ---------- */
.highlights {
  position: relative; overflow: hidden;
  padding: 160px 0 170px;
  /* the resting LED grid; the canvas only paints the lit pixels near the cursor */
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,.075) 1px, transparent 1.4px) 0 0 / 6px 6px,
    #050505;
}
.highlights::after {
  /* vignette so the wall fades into the page above and below */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(#000, transparent 18%, transparent 82%, #000), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.6));
}
.highlights__leds { position: absolute; inset: 0; width: 100%; height: 100%; }
.highlights__inner { position: relative; z-index: 2; pointer-events: none; }
.highlights__title { margin: 0 0 100px; text-align: center; font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -.035em; }
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 90px 32px; text-align: center; }
.hl { display: flex; flex-direction: column; align-items: center; }
.hl__pre { font-size: 14px; color: #d2d2d7; margin-bottom: 2px; }
.hl__big { display: block; white-space: nowrap; font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.hl__label { margin-top: 6px; color: #d2d2d7; font-size: 14px; font-weight: 500; }

/* ---------- Services gallery ---------- */
.services { padding: 140px 0 120px; background: var(--bg-2); }
.gallery {
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 0 0 8px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__track {
  display: flex; gap: 20px;
  padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  width: max-content;
}
.card {
  position: relative;
  flex: 0 0 auto;
  width: min(400px, 82vw);
  height: 560px;
  border-radius: var(--radius);
  background: var(--card);
  padding: 36px 32px;
  scroll-snap-align: center;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease);
}
.card:hover { transform: scale(1.015); }
.card__art { position: absolute; inset: 0; pointer-events: none; }
.card__kicker { position: relative; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card__title { position: relative; margin: 0; font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
.card__copy { position: relative; margin: auto 0 0; color: #c7c7cc; font-size: 17px; }
.card__art canvas { width: 100%; height: 100%; }
.card__art::after {
  /* keep the copy legible where it sits over the art */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(transparent, rgba(20,20,22,.92) 70%);
}
.gallery__controls { display: flex; justify-content: flex-end; gap: 14px; max-width: var(--maxw); margin: 28px auto 0; padding: 0 var(--gutter); }
.gallery__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #333336; display: grid; place-items: center; transition: background .2s, opacity .2s;
}
.gallery__btn:hover { background: #424245; }
.gallery__btn:disabled { opacity: .35; cursor: default; }
.gallery__btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Industries ---------- */
.industries { padding: 160px 0; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind {
  background: var(--card); border-radius: 22px; padding: 30px 26px 32px;
  transition: background .3s, transform .4s var(--ease);
}
.ind:hover { background: var(--card-2); transform: translateY(-4px); }
.ind__icon { font-size: 34px; display: block; margin-bottom: 18px; }
.ind h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.ind p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Approach (pinned) ---------- */
.approach { height: 400vh; position: relative; background: var(--bg-2); }
.approach__sticky {
  position: sticky; top: 0; height: 100vh;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.approach__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, conic-gradient(from var(--r, 0deg), #2997ff, #a855f7, #ff3d8b, #ff7a45, #2997ff) border-box;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}
.ring--1 { inset: 0; opacity: .35; }
.ring--2 { inset: 14%; opacity: .6; }
.ring--3 { inset: 28%; box-shadow: 0 0 120px rgba(168,85,247,.35); }
.approach__num {
  position: relative; font-size: clamp(64px, 10vw, 140px); font-weight: 800; letter-spacing: -.05em;
  background: linear-gradient(135deg, #fff, #8e8e93); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .3s;
}
.approach__steps { position: relative; }
.step { opacity: .22; transition: opacity .5s var(--ease), transform .5s var(--ease); margin-bottom: 30px; transform: translateX(0); }
.step.is-active { opacity: 1; transform: translateX(8px); }
.step h3 { margin: 0 0 6px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; }
.step p { margin: 0; color: #c7c7cc; font-size: 19px; max-width: 440px; }
.approach__bar { height: 3px; background: #2a2a2d; border-radius: 3px; overflow: hidden; margin-top: 10px; max-width: 440px; }
.approach__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2997ff, #a855f7, #ff7a45); }

/* ---------- Paths ---------- */
.paths { padding: 160px 0; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path {
  position: relative; background: var(--card); border-radius: var(--radius);
  padding: 40px 32px; display: flex; flex-direction: column; text-align: center; align-items: center;
}
.path--featured { background: linear-gradient(180deg, #1d1530, #141416 60%); box-shadow: inset 0 0 0 1px rgba(168,85,247,.4); }
.path__badge { position: absolute; top: 18px; font-size: 12px; font-weight: 600; color: var(--orange); }
.path__chip { width: 72px; height: 72px; border-radius: 20px; margin: 18px 0 26px; box-shadow: 0 20px 60px rgba(120,80,255,.25); }
.path h3 { margin: 0; font-size: 28px; letter-spacing: -.025em; }
.path__tag { margin: 6px 0 28px; color: var(--muted); }
.path ul { list-style: none; margin: 0 0 36px; padding: 0; width: 100%; }
.path li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: #d2d2d7; }
.path .btn { margin-top: auto; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: 180px 0 160px; overflow: hidden; text-align: center; }
.contact__glow {
  position: absolute; left: 50%; top: 30%; width: 900px; height: 500px; max-width: 150vw;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(41,151,255,.28), transparent), radial-gradient(closest-side at 65% 50%, rgba(255,61,139,.22), transparent);
  filter: blur(40px); pointer-events: none;
}
.contact__inner { position: relative; }
.contact__title { margin: 0; font-size: clamp(44px, 8vw, 96px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.contact__sub { margin: 24px auto 56px; max-width: 560px; color: var(--muted); font-size: 21px; }
.form { max-width: 620px; margin: 0 auto; text-align: left; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; }
.form label span { font-size: 13px; color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text);
  background: #1c1c1f; border: 1px solid #2c2c30; border-radius: 14px;
  padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41,151,255,.2); }
.form textarea { resize: vertical; }
.form__note { margin: 4px 0 0; min-height: 1.4em; font-size: 14px; color: var(--muted); text-align: center; }
.form__note.is-error { color: #ff6961; }
.form__note.is-ok { color: var(--green); }

/* ---------- Footer ---------- */
.footer { background: #161617; color: var(--muted); font-size: 12px; padding: 40px 0 28px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #2c2c30; }
.footer h4 { margin: 0 0 12px; color: #e8e8ed; font-size: 12px; font-weight: 600; }
.footer__cols a { display: block; margin-bottom: 8px; }
.footer__cols a:hover { color: #e8e8ed; text-decoration: underline; }
.footer__brand { display: inline-flex; align-items: center; }
.footer__brand img { margin-right: 8px; }
.footer__base { display: flex; justify-content: space-between; padding-top: 18px; gap: 12px; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); gap: 60px 28px; }
  .paths__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .globalnav__links {
    position: fixed; top: 44px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: rgba(22,22,23,.97);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
  }
  .globalnav__links a { font-size: 24px; font-weight: 600; padding: 10px 0; opacity: 1; }
  .globalnav.is-open .globalnav__links { opacity: 1; transform: none; pointer-events: auto; }
  .globalnav__menu { display: block; }
  .localnav__link { display: none; }
  .approach__sticky { grid-template-columns: 1fr; gap: 24px; align-content: center; }
  .approach__visual { width: 52vw; max-width: 260px; margin: 0 auto; }
  .step { margin-bottom: 18px; }
  .step:not(.is-active) { display: none; }
  .step.is-active { transform: none; }
  .step p { font-size: 17px; }
  .card { height: 480px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .statement { padding: 14vh var(--gutter) 10vh; }
  .services, .industries, .paths { padding: 100px 0; }
}
@media (max-width: 480px) {
  .ind-grid { grid-template-columns: 1fr; }
  .highlights__grid { grid-template-columns: 1fr; gap: 48px; }
}

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