/* A.Y.P. Praxes Ltd — ayp-praxes.com
   Industrial-editorial: cool paper, ink, one acid-lime accent, condensed poster headlines.
   Strict CSP: no inline styles anywhere — everything lives here. */

:root {
  --paper: #EDEFF2;
  --paper-2: #E3E6EA;
  --card: #F8F9FA;
  --ink: #0D0F12;
  --ink-2: #353A42;
  --muted: #646B76;
  --rule: #C6CBD3;
  --lime: #C5F04A;
  --lime-dim: rgba(197, 240, 74, .16);
  --graphite: #121418;
  --graphite-2: #1B1E24;
  --on-dark: #E8EBEF;
  --on-dark-muted: #9AA2AE;
  --on-dark-rule: rgba(255, 255, 255, .12);

  --f-display: "Helvetica Neue", "HelveticaNeue", Bahnschrift, "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4, p, ol, ul, dl, dd, address, figure { margin: 0; }
address { font-style: normal; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .foot :focus-visible, .console :focus-visible { outline-color: var(--lime); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display, .display-2, .tenets h3, .svc h3, .phases h3, .phases .big, .foot-giant, .nf-code, .legal-body h2 {
  font-family: var(--f-display);
  font-stretch: condensed;
  text-transform: uppercase;
}
.display {
  font-weight: 900;
  font-size: clamp(3rem, 8.4vw, 6.75rem);
  line-height: .9;
  letter-spacing: -.012em;
}
.display-2 {
  font-weight: 800;
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  line-height: .94;
  letter-spacing: -.01em;
}
.mark {
  background: linear-gradient(180deg, transparent 10%, var(--lime) 10%, var(--lime) 93%, transparent 93%);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.label {
  font-family: var(--f-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: .7em;
}
.label::before {
  content: ""; flex: none;
  width: .7em; height: .7em;
  background: var(--lime);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.dark .label, .foot .label { color: var(--on-dark-muted); }
.dark .label::before { box-shadow: none; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 650 1rem/1 var(--f-body);
  padding: 1rem 1.45rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--lime); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--card); }
.btn-sm { padding: .62rem 1rem; font-size: .92rem; }
.btn-sm:hover { box-shadow: 3px 3px 0 var(--ink); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 239, 242, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 40px; height: 40px; transition: transform .35s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg); }
.lm-tile { fill: var(--ink); }
.lm-pi { fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: square; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b {
  font-family: var(--f-display); font-stretch: condensed; font-weight: 900;
  text-transform: uppercase; font-size: 1.32rem; letter-spacing: .01em;
}
.logo-text small {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-top: 5px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 550; font-size: .97rem; color: var(--ink-2);
  position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--ink); transition: right .25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { right: 0; }
.nav a.btn[aria-current="page"] { background: var(--lime); color: var(--ink); }
.menu {
  display: none; align-items: center; gap: 10px;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 8px 12px; font: 600 .9rem/1 var(--f-body); color: var(--ink); cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 16px; height: 2px; background: var(--ink); position: relative;
  transition: transform .25s var(--ease), background-color .25s;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }
.menu[aria-expanded="true"] .menu-bars { background: transparent; }
.menu[aria-expanded="true"] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu[aria-expanded="true"] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 112px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(13, 15, 18, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 15, 18, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center; }
.hero-copy .label { margin-bottom: 26px; }
.hero-copy .display { margin-bottom: 30px; }
.hero-copy .lead { margin-bottom: 38px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.console {
  background: var(--graphite);
  color: var(--on-dark);
  border-radius: 10px;
  box-shadow: 12px 12px 0 var(--lime), 0 40px 70px -30px rgba(13, 15, 18, .55);
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: .84rem;
}
.console-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; background: var(--graphite-2);
  border-bottom: 1px solid var(--on-dark-rule);
}
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3F48; }
.console-bar b { margin-left: 10px; font-weight: 500; color: var(--on-dark-muted); letter-spacing: .02em; }
.console-body { padding: 8px 0; }
.console-body li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: baseline;
  padding: 13px 18px;
  border-top: 1px dashed rgba(255, 255, 255, .07);
}
.console-body li:first-child { border-top: 0; }
.console-body .ver { color: var(--lime); font-weight: 600; }
.console-body .msg { color: var(--on-dark); line-height: 1.45; }
.console-body .tag {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-muted); border: 1px solid rgba(255, 255, 255, .2);
  padding: 3px 7px; border-radius: 3px; white-space: nowrap;
}
.console-body .tag.ok { color: var(--lime); border-color: rgba(197, 240, 74, .45); }
.console-body .tag.wip { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.console-prompt {
  padding: 14px 18px 18px; border-top: 1px solid var(--on-dark-rule);
  color: var(--on-dark-muted);
}
.console-prompt .dollar { color: var(--lime); margin-right: .6em; }
.caret {
  display: inline-block; width: .6em; height: 1.1em; margin-left: .35em;
  background: var(--lime); vertical-align: -.2em;
  animation: blink 1.1s steps(1) infinite;
}

/* ---------- sections ---------- */
.sec { padding: 112px 0; }
.sec-rule { border-top: 1px solid var(--rule); }
.sec-head { max-width: 780px; margin-bottom: 60px; }
.sec-head .label { margin-bottom: 20px; }
.sec-lead { margin-top: 22px; font-size: 1.14rem; color: var(--ink-2); max-width: 36em; }
.dark { background: var(--graphite); color: var(--on-dark); }
.dark .sec-lead { color: var(--on-dark-muted); }

/* services: ruled, numbered rows */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.svc li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr);
  padding: 26px 0 34px;
  border-top: 2px solid var(--ink);
  transition: background-color .25s var(--ease);
}
.svc .n {
  grid-row: span 2; font-family: var(--f-mono); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; padding-top: .3rem; color: var(--muted);
}
.svc h3 { font-weight: 800; font-size: 1.6rem; line-height: 1; margin-bottom: 12px; letter-spacing: .005em; }
.svc p { color: var(--ink-2); max-width: 30em; }
.svc li:hover .n { color: var(--ink); }
.svc li:hover h3 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .22em; text-underline-offset: .08em; }

/* process: dark band, four columns */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phases li { padding: 6px 28px 10px; border-left: 1px solid var(--on-dark-rule); }
.phases li:first-child { padding-left: 0; border-left: 0; }
.phases .big {
  display: block; font-weight: 900; font-size: clamp(3.6rem, 6vw, 5.2rem); line-height: .85;
  color: var(--lime); margin-bottom: 26px;
}
.phases h3 { font-weight: 800; font-size: 1.5rem; line-height: 1; margin-bottom: 12px; color: #fff; }
.phases p { color: var(--on-dark-muted); }

/* stack: spec sheet */
.stack-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.stack-grid .sec-head { margin-bottom: 0; position: sticky; top: 112px; }
.spec-wrap { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 28px 14px; }
.spec { width: 100%; border-collapse: collapse; }
.spec thead th {
  font-family: var(--f-display); font-stretch: condensed; text-transform: uppercase;
  font-weight: 800; font-size: 1.35rem; text-align: left;
  padding: 18px 12px 14px 0; border-bottom: 2px solid var(--ink);
}
.spec tbody th {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); text-align: left; vertical-align: top;
  padding: 17px 12px 17px 0; width: 28%;
}
.spec td { padding: 15px 12px 15px 0; vertical-align: top; color: var(--ink-2); line-height: 1.45; }
.spec tbody tr { border-bottom: 1px solid var(--rule); }
.spec tbody tr:last-child { border-bottom: 0; }

/* principles */
.tenets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tenets article {
  position: relative; background: var(--card); border: 1px solid var(--rule);
  border-radius: 10px; padding: 30px 26px 28px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.tenets article::before {
  content: ""; position: absolute; left: 0; top: 0; height: 6px; width: 100%;
  background: var(--lime); transform: scaleX(.18); transform-origin: left;
  transition: transform .35s var(--ease);
}
.tenets article:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 18px 30px -22px rgba(13, 15, 18, .45); }
.tenets article:hover::before { transform: scaleX(1); }
.tenets h3 { font-weight: 800; font-size: 1.45rem; line-height: 1; margin: 6px 0 14px; }
.tenets p { color: var(--ink-2); font-size: 1rem; }

/* call to action */
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 40px; align-items: end;
  background: var(--lime); color: var(--ink);
  border-radius: 14px; padding: 60px 56px;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  background: repeating-linear-gradient(-45deg, rgba(13, 15, 18, .09) 0 2px, transparent 2px 14px);
  border-radius: 50%; pointer-events: none;
}
.cta .label { color: var(--ink); margin-bottom: 18px; }
.cta .label::before { background: var(--ink); box-shadow: none; }
.cta-copy p:last-child { margin-top: 18px; font-size: 1.14rem; max-width: 32em; }
.cta-side { position: relative; z-index: 1; display: grid; justify-items: start; gap: 16px; }
.cta-mail { font-family: var(--f-mono); font-size: .92rem; }
.cta .btn-ink:hover { background: var(--card); }

/* ---------- inner pages ---------- */
.page-head { padding: 72px 0 52px; border-bottom: 2px solid var(--ink); position: relative; overflow: hidden; }
.page-head .label { margin-bottom: 22px; }
.page-head .display { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.page-head .lead { margin-top: 24px; }
.page-head .meta { margin-top: 22px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.contact-mail {
  font-family: var(--f-display); font-stretch: condensed; font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 14px 0 12px;
  overflow-wrap: anywhere;
}
.contact-mail a { text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 92% / 100% .22em no-repeat; }
.contact-mail a:hover { background-size: 100% 100%; }
.topics { margin-top: 40px; border-top: 2px solid var(--ink); }
.topics div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.topics dt { font-family: var(--f-mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-top: .25rem; }
.topics dd { color: var(--ink-2); }
.side-card { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 26px; }
.side-card + .side-card { margin-top: 16px; }
.side-card .label { margin-bottom: 14px; }
.side-card address { line-height: 1.7; }
.side-card ul li { padding: 6px 0; }
.side-card.inked { background: var(--graphite); color: var(--on-dark); border-color: var(--graphite); }
.side-card.inked .label { color: var(--on-dark-muted); }
.side-card.inked .label::before { box-shadow: none; }

/* legal */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 64px; padding-bottom: 112px; }
.toc { position: sticky; top: 104px; font-size: .92rem; }
.toc .label { margin-bottom: 14px; }
.toc ol { counter-reset: toc; border-left: 2px solid var(--ink); }
.toc li { counter-increment: toc; }
.toc a {
  display: grid; grid-template-columns: 2.2em 1fr; padding: 6px 0 6px 14px;
  text-decoration: none; color: var(--ink-2); line-height: 1.35;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: .74rem; color: var(--muted); padding-top: .12rem; }
.toc a:hover { color: var(--ink); background: var(--paper-2); }
.legal-body { max-width: 760px; }
.legal-body h2 {
  font-weight: 800; font-size: 1.7rem; line-height: 1.02; letter-spacing: .005em;
  margin: 56px 0 16px; padding-top: 18px; border-top: 2px solid var(--ink);
}
.legal-body h2:first-of-type { margin-top: 40px; }
.legal-body h3 { font-size: 1.08rem; font-weight: 700; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-2); line-height: 1.72; }
.legal-body p + p, .legal-body ul + p, .legal-body ol + p, .legal-body .tbl + p, .legal-body address + p { margin-top: 14px; }
.legal-body ul, .legal-body ol { margin: 12px 0 0; }
.legal-body ul li { position: relative; padding-left: 26px; margin-top: 8px; }
.legal-body ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 9px; height: 2px; background: var(--ink); }
.legal-body ol.alpha { counter-reset: al; }
.legal-body ol.alpha li { counter-increment: al; position: relative; padding-left: 30px; margin-top: 8px; }
.legal-body ol.alpha li::before { content: "(" counter(al, lower-alpha) ")"; position: absolute; left: 0; font-family: var(--f-mono); font-size: .85rem; color: var(--muted); top: .15em; }
.legal-body strong { color: var(--ink); }
.legal-body .caps { text-transform: uppercase; }
.short {
  background: var(--card); border: 1px solid var(--rule); border-left: 8px solid var(--lime);
  border-radius: 8px; padding: 26px 28px;
}
.short .label { margin-bottom: 12px; }
.short ul li { margin-top: 6px; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .97rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); line-height: 1.5; }
.tbl thead th { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.tbl tbody th { color: var(--ink); font-weight: 600; width: 46%; }
.legal-body address { margin-top: 12px; line-height: 1.7; color: var(--ink-2); }

/* 404 */
.nf { padding: 96px 0 128px; }
.nf-code {
  font-weight: 900; font-size: clamp(7rem, 30vw, 17rem); line-height: .8; margin-bottom: 30px;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.nf .lead { margin: 20px 0 34px; }

/* ---------- footer ---------- */
.foot { background: var(--graphite); color: var(--on-dark); padding: 80px 0 30px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-title { font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.foot address { color: var(--on-dark-muted); line-height: 1.7; }
.foot-mail { margin-top: 14px; }
.foot a { color: var(--on-dark); text-decoration-color: rgba(255, 255, 255, .35); }
.foot a:hover { color: #fff; text-decoration-color: var(--lime); }
.foot ul li { padding: 5px 0; }
.foot-giant {
  font-weight: 900; font-size: clamp(5.2rem, 31vw, 24.5rem); line-height: .78; letter-spacing: -.015em;
  margin: 64px 0 22px; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(197, 240, 74, .38);
  user-select: none;
}
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  border-top: 1px solid var(--on-dark-rule); padding-top: 20px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: var(--on-dark-muted);
}

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(197, 240, 74, .55); } 60% { box-shadow: 0 0 0 7px rgba(197, 240, 74, 0); } }
.rise { animation: rise .8s var(--ease) both; }
.r2 { animation-delay: .08s; }
.r3 { animation-delay: .16s; }
.r4 { animation-delay: .24s; }
.console-body li { animation: line-in .5s var(--ease) both; }
.console-body li:nth-child(1) { animation-delay: .55s; }
.console-body li:nth-child(2) { animation-delay: .7s; }
.console-body li:nth-child(3) { animation-delay: .85s; }
.console-body li:nth-child(4) { animation-delay: 1s; }
.console-body li:nth-child(5) { animation-delay: 1.15s; }
.console-body .tag.wip { animation: pulse 2.2s ease-out 1.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tenets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .phases li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  .hero { padding: 48px 0 84px; }
  .hero-grid, .stack-grid, .contact { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .stack-grid .sec-head { position: static; }
  .console { max-width: 560px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 40px; padding-bottom: 80px; }
  .toc { position: static; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 44px 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .js .menu { display: inline-flex; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    padding: 8px var(--gutter) 20px;
  }
  .js .nav.open { display: flex; }
  .js .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .js .nav a:not(.btn)::after { display: none; }
  .js .nav .btn { margin-top: 16px; padding: .9rem 1rem; }
  .no-js .top-row { flex-wrap: wrap; padding: 10px 0; }
  .no-js .nav { flex-wrap: wrap; gap: 14px 20px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .sec { padding: 76px 0; }
  .sec-head { margin-bottom: 40px; }
  .top-row { min-height: 64px; }
  .logo-text small { display: none; }
  .actions .btn { flex: 1 1 auto; }
  .console { font-size: .78rem; box-shadow: 8px 8px 0 var(--lime), 0 30px 50px -26px rgba(13, 15, 18, .55); }
  .console-body li { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; padding: 12px 14px; }
  .console-body .tag { grid-column: 2; justify-self: start; }
  .svc li { grid-template-columns: 44px minmax(0, 1fr); }
  .phases { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .phases li, .phases li:nth-child(3) { padding: 26px 0; border-left: 0; border-top: 1px solid var(--on-dark-rule); }
  .phases li:first-child { border-top: 0; padding-top: 0; }
  .phases .big { margin-bottom: 14px; }
  .tenets { grid-template-columns: minmax(0, 1fr); }
  .spec-wrap { padding: 4px 16px 10px; }
  .spec tbody th { width: 30%; font-size: .66rem; letter-spacing: .06em; }
  .spec td { font-size: .92rem; }
  .cta { padding: 36px 22px; border-radius: 10px; }
  .topics div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding: 48px 0 36px; }
  .tbl tbody th { width: 40%; }
  .short { padding: 22px 18px; }
}

@media print {
  .top, .foot-giant, .menu, .console, .cta::after, .toc { display: none !important; }
  body { background: #fff; }
  .legal { display: block; }
}
