/* USMAN TECH
   Layout: a "control room" page with a live status board in the hero.
   Light theme by default (cool paper white, logo blue ink, deep teal accent);
   a navy dark theme is one click away via html[data-scheme="dark"]. */
:root {
  --ink-0: #f5f8fc;      /* page */
  --ink-1: #ffffff;      /* surface */
  --ink-2: #edf3fa;      /* raised */
  --line: rgba(20, 70, 130, .12);
  --line-2: rgba(20, 70, 130, .22);
  --text: #0b1b2e;
  --text-2: #33475e;
  --muted: #536780;
  --accent: #077257;     /* deep teal from the logo arrow, readable on white */
  --accent-ink: #ffffff;
  --accent-soft: rgba(7, 114, 87, .09);
  --blue: #1e72b3;       /* logo blue */
  --warn: #9a5b07;
  --warn-soft: rgba(214, 140, 30, .14);
  --brand-a: #1e5fae;
  --nav-bg: rgba(245, 248, 252, .8);
  --menu-bg: rgba(245, 248, 252, .98);
  --hover-bg: rgba(20, 70, 130, .06);
  --chip-bg: rgba(255, 255, 255, .75);
  --board-a: #ffffff;
  --board-b: #f4f8fd;
  --shadow: rgba(16, 42, 84, .14);
  --shadow-strong: rgba(16, 42, 84, .2);
  --glow-1: rgba(30, 114, 179, .12);
  --glow-2: rgba(11, 132, 102, .08);
  --sheen: #1e72b3;
  --pkt-up: #1e72b3;
  --placeholder: #8494a8;
  --grid-line: rgba(20, 70, 130, .07);
  --grid-dot: rgba(20, 70, 130, .16);
  --flow-a: 11, 132, 102;
  --flow-b: 30, 114, 179;
  color-scheme: light;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem);

  --r: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[data-scheme="dark"] {
  --ink-0: #070f1c;
  --ink-1: #0b1627;
  --ink-2: #102037;
  --line: rgba(132, 186, 230, .14);
  --line-2: rgba(132, 186, 230, .26);
  --text: #e7eef7;
  --text-2: #c3cfde;
  --muted: #95a6bc;
  --accent: #52dfb4;
  --accent-ink: #04241b;
  --accent-soft: rgba(82, 223, 180, .12);
  --blue: #2f93d6;
  --warn: #f2b65a;
  --warn-soft: rgba(242, 182, 90, .12);
  --brand-a: #7fb3ea;
  --nav-bg: rgba(7, 15, 28, .72);
  --menu-bg: rgba(7, 15, 28, .97);
  --hover-bg: rgba(255, 255, 255, .04);
  --chip-bg: rgba(11, 22, 39, .6);
  --board-a: rgba(16, 32, 55, .85);
  --board-b: rgba(11, 22, 39, .92);
  --shadow: rgba(0, 0, 0, .7);
  --shadow-strong: rgba(0, 0, 0, .8);
  --glow-1: rgba(47, 147, 214, .16);
  --glow-2: rgba(82, 223, 180, .08);
  --sheen: #8fe9ff;
  --pkt-up: #8fd3ff;
  --placeholder: #5f7088;
  --grid-line: rgba(132, 186, 230, .055);
  --grid-dot: rgba(132, 186, 230, .16);
  --flow-a: 82, 223, 180;
  --flow-b: 120, 190, 255;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.small { font-size: var(--step--1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 var(--step-0)/1 var(--f-body);
  padding: .95em 1.4em; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -10px rgba(82, 223, 180, .6); }
.btn--accent:hover { box-shadow: 0 12px 36px -8px rgba(82, 223, 180, .75); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { padding: .7em 1.1em; font-size: .9rem; }
.ico { width: 1.15em; height: 1.15em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 40px; height: 35px; }
.brand__word { font: 800 1.35rem/1 var(--f-display); letter-spacing: -.02em; }
.brand__a { color: var(--brand-a); }
.brand__b { color: var(--accent); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--hover-bg); }
.scheme { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.scheme:hover { border-color: var(--accent); background: var(--hover-bg); }
.scheme svg { width: 20px; height: 20px; }
.scheme .i-moon { display: none; }
html[data-scheme="dark"] .scheme .i-sun { display: none; }
html[data-scheme="dark"] .scheme .i-moon { display: block; }
.nav__toggle { display: none; width: 44px; height: 44px; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.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; padding-block: clamp(40px, 8vw, 96px) 40px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero::after { /* soft glow + fade to page */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 30%, var(--glow-1), transparent 70%),
    radial-gradient(40% 40% at 15% 20%, var(--glow-2), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--ink-0));
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__copy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--step--1)/1.3 var(--f-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--chip-bg); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(82, 223, 180, .6); animation: ping 2s infinite; flex: none; }
.hero__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -.035em; margin-block: 22px 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, var(--sheen) 50%, var(--accent) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
.hero__lead { font-size: var(--step-1); color: var(--muted); max-width: 54ch; }
.hero__lead span { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* status board */
.board {
  min-width: 0;
  background: linear-gradient(180deg, var(--board-a), var(--board-b));
  border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 30px 80px -30px var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
}
.board__head, .board__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: var(--step--1); }
.board__head { border-bottom: 1px solid var(--line); }
.board__title { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--step--1) var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.board__clock { color: var(--muted); }
.board__rows { list-style: none; margin: 0; padding: 6px 0; }
.row {
  display: grid; grid-template-columns: 8.6rem minmax(0, 1fr) auto; grid-template-areas: "name desc badge" "name up badge";
  align-items: center; column-gap: 14px; padding: 11px 18px; position: relative;
  border-bottom: 1px dashed var(--line);
}
.row:last-child { border-bottom: 0; }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease); }
.row:hover::before { transform: scaleY(1); }
.row__name { grid-area: name; font: 700 1.02rem/1.2 var(--f-display); }
.row__desc { grid-area: desc; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.row__up { grid-area: up; color: var(--accent); font-size: .78rem; }
.badge { grid-area: badge; display: inline-flex; align-items: center; gap: 7px; font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.badge i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; animation: ring 2.2s var(--ease) infinite; }
.badge--live { color: var(--accent); background: var(--accent-soft); }
.badge--dev { color: var(--warn); background: var(--warn-soft); }
.badge--dev i::after { animation-duration: 3.2s; }
.board__foot { border-top: 1px solid var(--line); color: var(--muted); justify-content: flex-start; }
.board__cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2s infinite; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); }
.stat { padding: 18px 20px; border-left: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 2px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.stat__u { color: var(--accent); font: 500 1.6rem/1 var(--f-mono); }
.stat__l { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin-top: 8px; line-height: 1.35; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { font: 500 var(--step--1)/1 var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section__sub { color: var(--muted); font-size: var(--step-1); margin-top: 16px; max-width: 60ch; }

/* quotes */
.quotes { padding-top: clamp(40px, 6vw, 72px); }
.quotes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--ink-1); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.quote::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(82, 223, 180, .12), transparent 70%); }
.quote__mark { width: 34px; height: 28px; color: var(--accent); }
.quote__text { margin: 0; font: 500 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.45 var(--f-display); letter-spacing: -.01em; }
.quote__text strong { color: var(--accent); font-weight: 700; }
.quote__text--long { font-size: clamp(1rem, .95rem + .3vw, 1.12rem); line-height: 1.6; display: grid; gap: 12px; }
.quote__text--long p { margin: 0; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quote__who { font-weight: 600; }
.quote__org { color: var(--muted); font-size: .9rem; }

/* cases */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case, .product {
  box-shadow: 0 1px 2px var(--hover-bg);
  min-width: 0; background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 16px;
  position: relative; transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s;
}
.case:hover, .product:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px var(--shadow); }
.case--feature { align-content: start; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: clamp(24px, 4vw, 56px); align-items: start; }
.case--feature .case__top, .case--feature .case__result, .case--feature .case__client, .case--feature .case__name { grid-column: 1; }
.case--feature .case__body { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
.case__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font: 500 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.case__result { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.2; }
.case--feature .case__result { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.case__client { color: var(--muted); font-size: .92rem; }
.case__body { margin: 4px 0 0; display: grid; gap: 6px; font-size: .93rem; }
.case__body dt { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-top: 12px; }
.case__body dd { margin: 0; color: var(--text-2); }
.case__name { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.case__name strong { color: var(--text); font-family: var(--f-display); }
.case--feature .case__cta { grid-column: 1; margin-top: 18px; display: grid; gap: 10px; justify-items: start; }
.case__cta .muted { color: var(--muted); max-width: 40ch; }
.promo { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-1); color: var(--text-2); font-size: var(--step--1); text-decoration: none; transition: border-color .2s, transform .2s; }
.promo:hover { border-color: var(--accent); transform: translateY(-1px); }
.promo__tag { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 3px 9px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.flow { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; counter-reset: f; }
.flow li { font: 500 .76rem/1 var(--f-mono); padding: 7px 9px; border-radius: 6px; background: var(--ink-2); border: 1px solid var(--line); position: relative; }
.flow li:not(:last-child)::after { content: "→"; margin-left: 8px; color: var(--accent); }
.flow.is-in li { animation: lightup 4s var(--ease) infinite; animation-delay: calc(var(--n, 0) * .5s); }

.integ { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.integ__box { display: flex; flex-direction: column; font: 700 .9rem/1.2 var(--f-display); padding: 8px 10px; border-radius: 8px; background: var(--ink-2); border: 1px solid var(--line); }
.integ__box small { font: 400 .7rem/1.3 var(--f-mono); color: var(--muted); }
.integ__box--out { border-color: rgba(82, 223, 180, .45); }
.integ__plus { color: var(--accent); font-weight: 700; }
.integ__arrow { width: 26px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--accent)); position: relative; overflow: hidden; }
.integ__arrow::after { content: ""; position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: travel 1.8s linear infinite; }

.bars { display: grid; gap: 8px; margin-top: 6px; }
.bars__row { display: grid; grid-template-columns: 3.6rem 1fr; align-items: center; gap: 10px; font: 500 .75rem var(--f-mono); color: var(--muted); }
.bars__row i { height: 10px; border-radius: 5px; background: var(--ink-2); position: relative; overflow: hidden; }
.bars__row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 5px; background: var(--line-2); transform-origin: left; }
.bars__row--act i::after { background: linear-gradient(90deg, var(--blue), var(--accent)); }
.bars.is-in .bars__row i::after { animation: grow 1.6s var(--ease) both; }
.bars.is-in .bars__row--act i::after { animation-delay: .3s; }

.results { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.results li { padding-left: 22px; position: relative; }
.results li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.results b { color: var(--accent); font-weight: 500; }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.products > :only-child { grid-column: 1 / -1; }
.product h3 { font-size: var(--step-2); }
.product p { color: var(--muted); }

/* services */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc__item { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line); background: var(--ink-1); transition: background .3s; min-width: 0; }
.svc__item:first-child { border-left: 0; }
.svc__item:hover { background: var(--ink-2); }
.svc__item h3 { font-size: var(--step-2); }
.svc__item p { color: var(--muted); }
.svc__ico { width: 48px; height: 48px; fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.svc__item:hover .svc__ico { animation: nudge .6s var(--ease); }
.svc__list { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .9rem; }
.svc__list li::before { content: "+ "; color: var(--accent); font-family: var(--f-mono); }
.morph { display: flex; align-items: center; gap: 10px; height: 48px; font-size: .85rem; }
.morph__from { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(242, 182, 90, .7); }
.morph__arrow { flex: 0 0 34px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.morph__arrow::after { content: ""; position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: travel 1.6s linear infinite; }
.morph__to { color: var(--accent); padding: 6px 10px; border: 1px solid rgba(82, 223, 180, .45); border-radius: 6px; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 0; top: 22px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; padding-top: 64px; display: grid; gap: 10px; min-width: 0; }
.step__n { position: absolute; top: 0; left: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-0); border: 1px solid var(--line-2); color: var(--accent); font-size: .85rem; z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.step.is-on .step__n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step p { color: var(--muted); font-size: .95rem; }

/* stack */
.stack__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.stack .section__head { margin-bottom: 0; }
.cross { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.cross b { display: inline-block; min-width: 6.5rem; color: var(--text); font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.arch { position: relative; display: grid; gap: 12px; padding-left: 34px; min-width: 0; }
.arch__track { position: absolute; left: 10px; top: 20px; bottom: 20px; width: 2px; background: var(--line-2); border-radius: 2px; }
.pkt { position: absolute; left: -4px; width: 10px; height: 10px; border-radius: 50%; }
.pkt--down { background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: down 5s var(--ease) infinite; }
.pkt--up { background: var(--pkt-up); box-shadow: 0 0 14px var(--pkt-up); animation: up 5s var(--ease) infinite; }
.layer {
  position: relative; display: grid; gap: 4px; padding: 16px 20px; border-radius: 12px;
  background: var(--ink-1); border: 1px solid var(--line);
  animation: glow 5s var(--ease) infinite; animation-delay: calc(var(--i) * .5s);
}
.layer::before { content: ""; position: absolute; left: -29px; top: 50%; width: 22px; height: 1px; background: var(--line-2); }
.layer__name { font: 700 1.1rem/1.2 var(--f-display); }
.layer__tech { font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.layer--core { border-color: rgba(82, 223, 180, .35); background: linear-gradient(90deg, rgba(82, 223, 180, .07), var(--ink-1)); }
.layer--db { border-style: dashed; }

/* about */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__card { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--r); background: var(--ink-1); border: 1px solid var(--line); display: grid; gap: 16px; overflow: hidden; }
.about__card > p:not(.kicker) { color: var(--text-2); }
.about__mark { position: absolute; right: -30px; bottom: -40px; width: 220px; height: 192px; opacity: .08; }
.creds { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.creds li { padding: 10px 14px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 4.6rem; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--line-2), var(--accent), var(--line-2)); }
.timeline li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(4.6rem - 5px); top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-0); border: 2px solid var(--accent); }
.tl__y { color: var(--accent); font-size: .85rem; padding-top: 2px; text-align: right; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: .92rem; }
.tl__next::before { border-style: dashed; border-color: var(--warn) !important; }
.tl__next .tl__y { color: var(--warn); }

/* contact */
.contact { background: linear-gradient(180deg, var(--ink-0), var(--ink-1)); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.wa-card {
  display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 22px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(120deg, rgba(37, 211, 102, .14), rgba(82, 223, 180, .06));
  border: 1px solid rgba(37, 211, 102, .4); transition: transform .3s var(--ease), border-color .3s;
}
.wa-card:hover { transform: translateY(-3px); border-color: #25d366; }
.wa-card__ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #25d366; color: #fff; }
.wa-card__ico svg { width: 28px; height: 28px; }
.wa-card small { display: block; color: var(--muted); font-size: .8rem; }
.wa-card b { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 500; letter-spacing: -.02em; }
.wa-card__go { margin-left: auto; font-size: 1.4rem; color: #25d366; transition: transform .3s var(--ease); }
.wa-card:hover .wa-card__go { transform: translateX(4px); }
.contact__alt { display: grid; gap: 12px; margin-top: 22px; }
.contact__alt > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.contact__alt small { width: 100%; color: var(--muted); font-size: .8rem; }
.copy { font: 500 .75rem var(--f-mono); color: var(--accent); background: transparent; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; min-height: 36px; cursor: pointer; }
.copy:hover { border-color: var(--accent); }
.form { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--ink-1); border: 1px solid var(--line-2); display: grid; gap: 16px; }
.form h3 { font-size: var(--step-2); }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; color: var(--muted); }
.field input, .field textarea {
  font: inherit; color: var(--text); background: var(--ink-0); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; width: 100%; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field [aria-invalid="true"] { border-color: var(--warn); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea::placeholder { color: var(--placeholder); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__err { color: var(--warn); font-size: .9rem; }
.form__note { color: var(--muted); font-size: .9rem; }
.form__note a { color: var(--accent); }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; color: var(--muted); font-size: .9rem; }
.foot__inner .mono { margin-left: auto; }

/* floating WhatsApp */
.fab {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .55);
  transform: scale(0); transition: transform .4s var(--ease);
}
.fab svg { width: 30px; height: 30px; }
.fab.is-shown { transform: scale(1); }
.totop {
  position: fixed; right: calc(max(18px, env(safe-area-inset-right, 0px)) + 6px); bottom: calc(18px + 56px + 14px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--text); background: var(--ink-1);
  box-shadow: 0 8px 24px -8px var(--shadow-strong), 0 0 0 1px var(--line-2);
  opacity: 0; transform: translateY(12px) scale(.8); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), color .2s;
}
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { color: var(--accent); transform: translateY(-3px); }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop circle { fill: none; stroke-width: 2.5; }
.totop .ring-bg { stroke: var(--line); }
.totop .ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: calc(125.66 * (1 - var(--p, 0))); }
.totop span { font-size: 1.2rem; line-height: 1; position: relative; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.6s var(--ease) infinite; opacity: 0; }

/* ---------- logo draw-in ---------- */
.brand__mark .lm-u, .brand__mark .lm-t, .brand__mark .lm-a { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .nav .brand__mark .lm-u { animation: draw 1.1s var(--ease) .1s both; }
.js .nav .brand__mark .lm-t { animation: draw .9s var(--ease) .5s both; }
.js .nav .brand__mark .lm-a { animation: draw 1s var(--ease) .9s both; }
.js .nav .brand__mark .lm-h { animation: pop .5s var(--ease) 1.7s both; transform-origin: 112px 18px; }

/* ---------- entrance & reveal ---------- */
.js .hero__title .line > span { animation: rise 1s var(--ease) both; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.js .hero__lead, .js .hero__actions, .js .eyebrow { animation: fadeup .9s var(--ease) both; }
.js .eyebrow { animation-delay: 0s; }
.js .hero__lead { animation-delay: .4s; }
.js .hero__actions { animation-delay: .55s; }
.js .board { animation: boardin 1s var(--ease) .3s both; }
.js .row { animation: rowin .6s var(--ease) both; animation-delay: calc(.6s + var(--n, 0) * .09s); }

.js .reveal.pre { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes boardin { from { opacity: 0; transform: perspective(900px) rotateX(10deg) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(82, 223, 180, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(82, 223, 180, 0); } }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes sheen { to { background-position: -200% 0; } }
@keyframes travel { from { left: -6px; } to { left: 100%; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes nudge { 50% { transform: translateY(-4px) rotate(-4deg); } }
@keyframes lightup { 0%, 100% { border-color: var(--line); color: var(--text); } 8%, 16% { border-color: var(--accent); color: var(--accent); } 30% { border-color: var(--line); color: var(--text); } }
@keyframes down { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 46% { top: calc(100% - 10px); opacity: 1; } 50%, 100% { top: calc(100% - 10px); opacity: 0; } }
@keyframes up { 0%, 50% { top: calc(100% - 10px); opacity: 0; } 56% { opacity: 1; } 94% { top: 0; opacity: 1; } 100% { top: 0; opacity: 0; } }
@keyframes glow { 0%, 100% { box-shadow: none; } 6% { box-shadow: 0 0 0 1px rgba(82, 223, 180, .5), 0 0 30px -6px rgba(82, 223, 180, .35); } 18% { box-shadow: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .stack__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero__inner, .about__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__item { border-left: 0; border-top: 1px solid var(--line); }
  .svc__item:first-child { border-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .case--feature { grid-template-columns: minmax(0, 1fr); }
  .case--feature .case__body { grid-column: 1; grid-row: auto; }
  .nav__links {
    position: fixed; inset: calc(68px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 20px; background: var(--menu-bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .scheme { margin-left: auto; }
}
@media (max-width: 640px) {
  .cases, .quotes__grid, .products { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name badge" "desc desc" "up up"; row-gap: 3px; }
  .board__clock { display: none; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .timeline::before { left: 4.3rem; }
  .timeline li { grid-template-columns: 3.4rem 1fr; gap: 30px; }
  .timeline li::before { left: calc(4.3rem - 5px); }
  .tl__y { font-size: .78rem; }
  .foot__inner .mono { margin-left: 0; }
}

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

/* ---------- per-system colour tones (cards + status board) ---------- */
[data-tone="amber"]  { --tone: #a35400; }
[data-tone="violet"] { --tone: #6d28d9; }
[data-tone="blue"]   { --tone: #1d5fae; }
[data-tone="green"]  { --tone: #077257; }
[data-tone="pink"]   { --tone: #be185d; }
[data-tone="red"]    { --tone: #b42318; }
[data-tone="teal"]   { --tone: #0b667f; }
html[data-scheme="dark"] [data-tone="amber"]  { --tone: #fbbf24; }
html[data-scheme="dark"] [data-tone="violet"] { --tone: #b4a0ff; }
html[data-scheme="dark"] [data-tone="blue"]   { --tone: #6cb2ff; }
html[data-scheme="dark"] [data-tone="green"]  { --tone: #52dfb4; }
html[data-scheme="dark"] [data-tone="pink"]   { --tone: #f78bc3; }
html[data-scheme="dark"] [data-tone="red"]    { --tone: #ff8a80; }
html[data-scheme="dark"] [data-tone="teal"]   { --tone: #5fd3ee; }
[data-tone] { --accent: var(--tone); --accent-soft: color-mix(in srgb, var(--tone) 13%, transparent); }
.case[data-tone] { isolation: isolate; border-top: 4px solid var(--tone); scroll-margin-top: 90px; }
.case[data-tone]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tone) 10%, transparent), transparent 60%); }
.case[data-tone] .case__result { color: color-mix(in srgb, var(--tone) 35%, var(--text)); }
.case[data-tone] .tag { color: var(--tone); }
.case[data-tone] .chips li { border-color: color-mix(in srgb, var(--tone) 35%, var(--line)); }
.case[data-tone]:hover { border-color: color-mix(in srgb, var(--tone) 45%, var(--line)); border-top-color: var(--tone); }
.case[data-tone]:target { box-shadow: 0 0 0 3px var(--accent-soft), 0 30px 60px -30px var(--shadow); }
.case[data-tone] .case__cta .btn--accent { background: var(--tone); }
.row[data-tone] .row__name { color: var(--text); text-decoration: none; }
.row[data-tone] .row__name::after { content: ""; position: absolute; inset: 0; }
.row[data-tone] .row__name::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); margin-right: 8px; vertical-align: .1em; }
.row[data-tone]:hover { background: var(--accent-soft); }
.row[data-tone]:hover .row__name { color: var(--tone); }
.row[data-tone] .row__name:focus-visible { outline: none; }
.row[data-tone]:focus-within { outline: 2px solid var(--tone); outline-offset: -2px; }
.quote[data-tone] { border-top: 4px solid var(--tone); }
.quote__text:not(.quote__text--long) { margin-block: auto; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }

.case__flag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0; padding: 7px 14px; border-radius: 999px; font: 600 .82rem/1.2 var(--f-display); color: var(--accent-ink); background: var(--tone, var(--accent)); box-shadow: 0 8px 24px -10px var(--tone, var(--accent)); }
.case--feature .case__flag { grid-column: 1; }

/* ---------- case mockup screens (decorative, sample data) ---------- */
.shot { grid-column: 1; margin: 18px 0 0; border: 1px solid color-mix(in srgb, var(--tone) 30%, var(--line)); border-radius: 14px; background: var(--bg-2, var(--bg)); overflow: hidden; box-shadow: 0 18px 40px -26px var(--shadow); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: color-mix(in srgb, var(--tone) 12%, transparent); border-bottom: 1px solid var(--line); font: 500 .72rem/1 var(--f-mono); color: var(--text-2); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 55%, var(--line)); }
.shot__bar span { margin-left: 8px; }
.shot__body { padding: 12px; display: grid; gap: 10px; font-size: .8rem; color: var(--text); }
.shot figcaption { padding: 6px 12px 9px; font: 400 .68rem/1 var(--f-mono); color: var(--muted); }
.shot__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shot__kpis div { padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); }
.shot__kpis small { display: block; font: 500 .62rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }
.shot__kpis b { font: 700 1rem/1.4 var(--f-display); }
.shot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shot__list li { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); }
.shot__list em { font-style: normal; color: var(--text-2); }
.shot__list u { text-decoration: none; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; background: var(--accent-soft); color: var(--text); }
.shot__list u.warn { background: color-mix(in srgb, #f59e0b 22%, transparent); }
.shot__list u.bad { background: color-mix(in srgb, #ef4444 20%, transparent); }
.shot__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.shot__steps li { flex: 1; padding: 6px 4px; text-align: center; border-radius: 6px; font-size: .68rem; background: var(--line); color: var(--text-2); }
.shot__steps li.done { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.shot__steps li.now { background: var(--tone); color: var(--bg); font-weight: 700; }
.shot__bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.shot__bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--tone); opacity: .85; }
@media (max-width: 900px) { .shot { grid-column: 1; } }
.shot--img { border: 0; background: none; box-shadow: 0 22px 44px -24px var(--shadow); }
.shot--img img { display: block; width: 100%; height: auto; border-radius: 14px; }

/* ---------- case thumbnails (320x240, open full 1200x900 image in a new tab) ---------- */
.thumb { grid-column: 1; position: relative; display: block; width: min(100%, 320px); margin: 16px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--tone) 35%, var(--line)); box-shadow: 0 14px 30px -20px var(--shadow); transition: transform .2s ease; }
.thumb:hover { transform: translateY(-2px); }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.thumb span { position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; font: 600 .72rem/1.2 var(--f-body, inherit); color: #fff; background: rgba(0,0,0,.62); }
.thumb:focus-visible { outline: 3px solid var(--tone); outline-offset: 3px; }
.quotes__grid > .quote:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- home: compact case cards (full versions on work.html) ---------- */
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mini { display: flex; flex-direction: column; border-radius: var(--r); background: var(--ink-1); border: 1px solid var(--line); border-top: 4px solid var(--tone); overflow: hidden; color: inherit; text-decoration: none; position: relative; transition: border-color .2s ease, transform .2s ease; }
.mini:hover { border-color: color-mix(in srgb, var(--tone) 45%, var(--line)); border-top-color: var(--tone); }
.mini:focus-visible { outline: 3px solid var(--tone); outline-offset: 3px; }
.mini img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mini__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.mini .tag { color: var(--tone); }
.mini__text { font: 600 1.02rem/1.35 var(--f-display); color: var(--text); }
.mini__foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.mini__go { font-weight: 600; font-size: .86rem; color: var(--tone); }
.work__cta { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.minis + .work__cta { justify-content: center; }
.work--page .section__sub a { color: var(--accent); }
@media (max-width: 980px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .minis { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 981px) {
  .minis > .mini:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
  .minis > .mini:last-child:nth-child(3n+1) img { width: min(34%, 380px); flex: none; }
  .minis > .mini:last-child:nth-child(3n+1) .mini__body { justify-content: center; padding: 22px 28px; }
}
