/* ==========================================================
   CYBRNODE — one-pager
   Brand palette (from the original cybrnode.com theme)
   ========================================================== */
:root {
  --primary: #493FB8;
  --primary-600: #3D34A0;
  --primary-400: #756BE5;
  --primary-300: #867FEF;
  --lavender: #F2F1FF;
  --ink: #1B1B1B;
  --ink-2: #2B2B2B;
  --ink-3: #434343;
  --muted: #8B8B8B;
  --line: #ECECEC;
  --page: #F4F4F4;
  --white: #FFFFFF;

  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: .92;
  letter-spacing: .01em;
}
.h2--xl { font-size: clamp(52px, 7.5vw, 104px); }
.kicker {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 8px; height: 8px; background: currentColor; flex: none; margin-top: .4em; }
.kicker--light { color: var(--primary-300); }
.grad {
  background: linear-gradient(100deg, var(--primary-300) 0%, var(--primary-400) 45%, #B3ADFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: var(--primary); box-shadow: 0 10px 30px -10px rgba(73, 63, 184, .7); }
.btn--primary:hover { --bg: var(--primary-600); box-shadow: 0 16px 40px -12px rgba(73, 63, 184, .85); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.22); }
.btn--ghost:hover { border-color: rgba(255,255,255,.6); }
.btn--dark { --bg: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
:focus-visible { outline: 2px solid var(--primary-300); outline-offset: 3px; border-radius: 6px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 30px; height: 30px; fill: currentColor; }
.brand__mark .brand__dot { fill: var(--primary-300); }
.brand__word { font-weight: 600; font-size: 17px; letter-spacing: .28em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(27, 27, 27, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255,255,255,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__links { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
.nav__links > a:not(.btn) { opacity: .78; transition: opacity .2s; position: relative; }
.nav__links > a:not(.btn):hover { opacity: 1; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--primary-300); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: 128px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(117,107,229,.55) 0%, rgba(73,63,184,.25) 35%, transparent 65%);
  filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.08); } }

.hero__inner {
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 40px;
  padding-bottom: 90px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size: 13px; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.82);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-300); box-shadow: 0 0 0 0 rgba(134,127,239,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(134,127,239,0); } 100% { box-shadow: 0 0 0 0 rgba(134,127,239,0); } }
.dot { width: 8px; height: 8px; background: var(--primary-300); flex: none; }

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  line-height: .86; letter-spacing: .005em;
  margin: 26px 0 26px;
}
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.72); font-weight: 300; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__nda { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.55); }
.hero__nda svg { width: 18px; height: 18px; fill: none; stroke: var(--primary-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.hero__art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: end; width: 100%; }
.mark-3d {
  position: absolute; inset: 18%;
  width: 64%; height: 64%;
  filter: drop-shadow(0 40px 60px rgba(73,63,184,.55));
  animation: float 7s ease-in-out infinite;
}
.mark-3d__dot { animation: hop 3.5s var(--ease) infinite; transform-origin: 44.7px 4.5px; }
@keyframes float { 50% { transform: translateY(-16px) rotate(-2deg); } }
@keyframes hop { 0%, 60%, 100% { transform: translate(0, 0); } 75% { transform: translate(2px, -3px); } }
.orbit { position: absolute; inset: 0; border: 1px dashed rgba(255,255,255,.14); border-radius: 50%; }
.orbit--2 { inset: 12%; border-color: rgba(255,255,255,.1); }
.orbit--3 { inset: -6%; border-style: solid; border-color: rgba(134,127,239,.18); }
.orbit span {
  position: absolute;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(27,27,27,.9); border: 1px solid rgba(255,255,255,.16);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.85);
  animation: bob 5s ease-in-out infinite;
}
.orbit--1 span { top: 4%; left: 8%; }
.orbit--2 span { bottom: -4%; right: 10%; animation-delay: -1.6s; }
.orbit--3 span { top: 42%; right: -6%; animation-delay: -3.2s; border-color: rgba(134,127,239,.5); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Trusted strip */
.trusted { border-top: 1px solid rgba(255,255,255,.08); padding: 34px 0 40px; }
.trusted__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 22px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 80px; width: max-content; animation: scroll 32s linear infinite; padding-right: 80px; }
.marquee__track img { height: 44px; width: auto; opacity: .7; transition: opacity .25s; }
.marquee__track img:hover { opacity: 1; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--lavender { background: var(--lavender); }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section__head--row .section__lead { max-width: 420px; margin: 0; }
.section__lead { margin-top: 22px; font-size: 18px; color: var(--ink-3); max-width: 560px; }

/* Services: bento */
.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.svc {
  grid-column: span 2;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(73,63,184,.35); border-color: rgba(73,63,184,.25); }
.svc__num { font-family: var(--font-display); font-size: 22px; color: var(--primary); letter-spacing: .06em; }
.svc h3 { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 40px 0 12px; letter-spacing: -.01em; }
.svc p { color: var(--ink-3); font-size: 16px; }
.svc--feature {
  grid-column: span 4; grid-row: span 2;
  background: var(--primary); color: #fff; border-color: var(--primary);
  padding: 44px 44px 40px;
  display: flex; flex-direction: column;
}
.svc--feature::after {
  content: ""; position: absolute; right: 28px; top: 28px; width: 210px; height: 210px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 49 48'%3E%3Cpath d='M30.8084 23.123H38.8386V8.7998H0V47.6384H38.8386V31.7401H30.8084V23.123Z' fill='none' stroke='white' stroke-width='.4'/%3E%3Cpath d='M48.9999 0.182617H40.3828V8.7997H48.9999V0.182617Z' fill='white'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .28; pointer-events: none;
  transition: transform .6s var(--ease);
}
.svc--feature:hover::after { transform: translate(-6px, 6px) rotate(-4deg); }
.svc--feature .svc__num { color: var(--primary-300); color: rgba(255,255,255,.6); }
.svc--feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 64px); line-height: .95; letter-spacing: .01em; margin-top: auto; padding-top: 80px; max-width: 520px; }
.svc--feature p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 520px; }
.svc--feature:hover { box-shadow: 0 30px 60px -24px rgba(73,63,184,.7); }
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; position: relative; z-index: 1; }
.chips li { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.chips--sm li { background: var(--lavender); border-color: transparent; color: var(--primary); }

/* Process */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.process__head { position: sticky; top: 120px; }
.process__head .btn { margin-top: 32px; }
.steps { display: grid; gap: 18px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  background: var(--white); border-radius: var(--radius);
  padding: 36px 34px;
  border: 1px solid rgba(73,63,184,.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateX(6px); box-shadow: 0 20px 40px -24px rgba(73,63,184,.4); }
.step__num {
  font-family: var(--font-display); font-size: 64px; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary);
}
.step h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--ink-3); }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column;
  min-height: 420px;
  isolation: isolate;
}
.case__visual {
  flex: 1; display: grid; place-items: center; min-height: 220px;
  position: relative; overflow: hidden;
}
.case__visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 50%),
    linear-gradient(135deg, var(--c1), var(--c2));
  transition: transform .8s var(--ease);
}
.case__visual::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.case:hover .case__visual::before { transform: scale(1.08); }
.case__visual img { height: 64px; width: auto; transition: transform .6s var(--ease); filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }
.case:hover .case__visual img { transform: scale(1.12); }
.case__visual--icon svg { width: 72px; height: 72px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.case:hover .case__visual--icon svg { transform: scale(1.12) rotate(-4deg); }
.case__body { padding: 28px 30px 32px; }
.case__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-300); margin-bottom: 10px; font-weight: 600; }
.case h3 { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .01em; margin-bottom: 10px; }
.case p:not(.case__tag) { color: rgba(255,255,255,.68); font-size: 16px; }
.case--a { --c1: #493FB8; --c2: #2A2370; }
.case--b { --c1: #756BE5; --c2: #493FB8; }
.case--c { --c1: #2B2B2B; --c2: #493FB8; }
.case--d { --c1: #867FEF; --c2: #3D34A0; }

/* About + ticker */
.about { background: var(--ink); color: #fff; padding-bottom: clamp(80px, 11vw, 140px); overflow: hidden; }
.ticker { border-bottom: 1px solid rgba(255,255,255,.08); padding: 26px 0; margin-bottom: clamp(70px, 9vw, 120px); overflow: hidden; }
.ticker__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: scroll 40s linear infinite; }
.ticker__track span { font-family: var(--font-display); font-size: clamp(48px, 7vw, 96px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.ticker__track span:nth-of-type(odd) { color: #fff; -webkit-text-stroke: 0; }
.ticker__track i { width: 22px; height: 22px; background: var(--primary-300); flex: none; }
.about__quote {
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.25; font-weight: 300; letter-spacing: -.015em;
  max-width: 1000px;
}
.about__quote em { font-style: normal; color: var(--primary-300); font-weight: 500; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.pillar { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: grid; gap: 6px; align-content: start; }
.pillar strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; letter-spacing: .02em; color: #fff; }
.pillar span { color: rgba(255,255,255,.6); font-size: 15px; }

/* Contact */
.contact { background: var(--page); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__list { margin-top: 40px; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; font-size: 17px; }
.contact__list a { font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.contact__list a:hover { color: var(--primary); border-color: currentColor; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lavender); flex: none; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form {
  background: var(--white); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(73,63,184,.45);
  display: grid; gap: 20px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid #E2E2E8; background: #FAFAFC;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  font-size: 16px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23493FB8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(73,63,184,.12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E94546; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; position: relative; }
.pills input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid #E2E2E8; font-size: 14px; font-weight: 500; transition: all .2s; user-select: none; }
.pills label:hover span { border-color: var(--primary-400); }
.pills input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--primary-300); outline-offset: 2px; }
.form__status { font-size: 14px; color: var(--primary); min-height: 1.2em; text-align: center; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 70px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin-top: 14px; color: rgba(255,255,255,.5); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.14); transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.footer__social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; fill: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 14px; color: rgba(255,255,255,.45); flex-wrap: wrap; }
.footer__base a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 1; }
  .svc--feature { grid-column: span 2; grid-row: auto; }
  .svc--feature h3 { padding-top: 40px; }
}

@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px;
    background: rgba(27,27,27,.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav__links > a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.06); opacity: 1; }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; padding: 14px; font-size: 16px; }
  .nav.menu-open { background: rgba(27,27,27,.97); }

  .hero { padding-top: 116px; }
  .hero__inner { grid-template-columns: 1fr; padding-bottom: 60px; }
  .hero__art { display: none; }

  .process { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .section__head--row { flex-direction: column; align-items: start; }
  .work { grid-template-columns: 1fr; }
  .case { min-height: 0; }
  .pillars { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .pillar { padding: 20px 0; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .svc--feature { grid-column: auto; padding: 32px 26px; }
  .svc--feature::after { width: 110px; height: 110px; right: 18px; top: 18px; opacity: .2; }
  .svc { padding: 28px 24px; }
  .svc h3 { margin-top: 24px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .form__row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 28px 24px; }
  .step:hover { transform: none; }
  .marquee__track { gap: 52px; padding-right: 52px; }
  .marquee__track img { height: 36px; }
  .brand__word { font-size: 15px; letter-spacing: .22em; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

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