@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/commissioner-greek.75d4734b1d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/commissioner-latin.e3d539b926.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/commissioner-greek.75d4734b1d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/commissioner-latin.e3d539b926.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/commissioner-greek.75d4734b1d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/commissioner-latin.e3d539b926.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/commissioner-greek.75d4734b1d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/commissioner-latin.e3d539b926.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geologica-greek.bfdc6f24e4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geologica-latin.b14f1edee9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geologica-greek.bfdc6f24e4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geologica-latin.b14f1edee9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geologica-greek.bfdc6f24e4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geologica-latin.b14f1edee9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/geologica-greek.bfdc6f24e4.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/geologica-latin.b14f1edee9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: a light «porcelain» canvas; the real dark app screens sit on it in device frames.
   Type echoes the official condensed wordmark. One deliberate dark band: the tatami. Single light look by owner's choice. */
:root {
  color-scheme: light;
  --paper: #eceef1;        /* cool porcelain, never cream */
  --sheet: #f8f9fa;
  --ink: #0b1017;          /* = the Client's own background */
  --ink-2: #4b5462;
  --ink-3: #5c6573;        /* 4.9:1 on the paper, for the small labels */
  --line: rgba(11, 16, 23, .12);
  --red: #e60000;          /* the logo's own red */
  --red-ink: #c40010;      /* red for small text on paper (5.9:1) */
  --red-glow: #ff4d4d;     /* red on the dark band */
  --night: #0b1017;
  --night-2: #141b25;
  --night-line: rgba(255, 255, 255, .1);
  --night-text: #eef1f5;
  --night-muted: #9aa4b2;
  --bezel: #16191e;
  --ok: #12663f;           /* 5:1 on its own tinted chip */
  --wait: #84480a;
  --f-display: "Geologica", "Segoe UI", system-ui, sans-serif;
  --f-body: "Commissioner", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2.1rem, 1.4rem + 2.8vw, 3.8rem);
  --step-4: clamp(2.9rem, 1.4rem + 5.4vw, 7rem);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.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; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (max-width: 860px) { html { scroll-padding-top: 90px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; font-weight: 700; }
.eyebrow { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; font-weight: 700; color: var(--red-ink); display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); }
p { margin: 0; }
/* small layout helpers instead of style="" attributes, so a strict CSP can forbid inline styles */
.gap-top { margin-top: 1.2rem; }
.gap-top-l { margin-top: 1.4rem; }
.stack { display: grid; gap: 1.4rem; }
section.block.flush-top { padding-top: 0; }
.notfound { padding-block: 6rem; display: grid; gap: 1.4rem; justify-items: start; }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 58ch; line-height: 1.55; }

/* ── draft ribbon */
.ribbon { background: var(--ink); color: #c9d0da; }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding-block: .55rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; }
.ribbon b { color: #ffd23f; font-weight: 700; }

/* ── header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .75rem; }
/* the symbol hangs below the bar in its own tab: a step under the logo */
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; flex-shrink: 0; align-self: stretch; }
.brand-tab { align-self: flex-start; margin-bottom: -40px; padding: 12px; background: var(--night); border-radius: 20px; box-shadow: 0 20px 34px -18px rgba(11, 16, 23, .6); position: relative; z-index: 1; }
.brand .sym { height: 92px; width: auto; display: block; }
.brand .word { height: 84px; width: auto; }
.nav { display: flex; gap: 2.2rem; margin-left: auto; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; }
.nav a { text-decoration: none; color: var(--ink); position: relative; padding-block: .3rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover { color: var(--red-ink); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav a, .top .btn { white-space: nowrap; }
@media (max-width: 1280px) { .nav { gap: 1.4rem; font-size: 1rem; } }
@media (max-width: 1160px) { .nav { display: none; } .top .btn { margin-left: auto; } }
/* the menu button takes over where the nav no longer fits */
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex-shrink: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: var(--paper); display: grid; padding: .6rem var(--gutter-r) 1.2rem var(--gutter-l); }
.mnav a { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; text-decoration: none; color: var(--ink); padding: .8rem 0; border-bottom: 1px solid var(--line); }
.mnav a:last-child { color: var(--red-ink); border-bottom: 0; }
@media (max-width: 1160px) { .menu-btn { display: flex; } }
@media (min-width: 1161px) { .mnav { display: none !important; } }
@media (max-width: 520px) {
  .top .wrap { gap: .7rem; }
  .brand { gap: .5rem; }
  .brand .sym { height: 44px; }
  .brand-tab { padding: 7px; margin-bottom: -18px; border-radius: 12px; }
  .brand .word { height: 38px; }
  .top .btn { padding: .6rem .85rem; font-size: .82rem; }
  .top .btn .arr { display: none; }
  .menu-btn { width: 42px; height: 42px; }
}
/* on a phone the demo button lives in the menu: the bar keeps the logo and ☰ */
@media (max-width: 460px) { .top .btn:not(.back) { display: none; } }
@media (max-width: 400px) { .top .brand .word { height: 30px; } .top .back { padding: .55rem .8rem; font-size: .82rem; } }
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer; font-family: var(--f-body); transition: transform .2s ease, background .2s ease; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(230, 0, 0, .7); }
.btn-red:hover { background: #c80000; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; padding: .65rem 1rem; font-size: .88rem; } .brand { gap: .6rem; } .brand .word { height: 50px; } .brand .sym { height: 56px; } .brand-tab { padding: 8px; margin-bottom: -24px; border-radius: 14px; } }

/* ── hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) 0; position: relative; }
/* the headline owns the full width: each line stays whole, the size follows the longer line */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); container-type: inline-size; }
.hero h1 { font-size: min(7.4rem, 7.2cqi); font-weight: 800; line-height: 1.02; letter-spacing: -.018em; white-space: nowrap; }
.hero h1 .ln { display: block; overflow: hidden; padding-block: .1em .04em; margin-top: -.08em; padding-inline-start: .1em; margin-inline-start: -.1em; }
.hero h1 .ln > span { display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .16s; }
.hero h1 em { font-style: normal; color: var(--red); }
@keyframes rise { from { transform: translateY(105%); } }
.hero-side { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "lead facts" "cta facts"; gap: 1.4rem 4rem; align-items: start; }
.hero-side .lead { grid-area: lead; }
.hero-side .hero-cta { grid-area: cta; }
.hero-side .facts { grid-area: facts; align-self: end; }
@media (max-width: 860px) { .hero-side { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "cta" "facts"; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 2.2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.facts div { display: grid; }
.facts b { font-family: var(--f-display); font-size: 2.4rem; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.facts span { font-size: .82rem; color: var(--ink-2); }

/* stage: real Admin screen in a display, real Client screen in a phone */
.stage { position: relative; margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); perspective: 2200px; }
.stage::before { content: ""; position: absolute; inset: 18% 0 0; background: radial-gradient(60% 55% at 50% 40%, rgba(230, 0, 0, .10), transparent 70%); z-index: -1; pointer-events: none; }
.display { width: min(100%, 1120px); background: var(--bezel); border-radius: 22px; padding: 12px 12px 26px; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 60px 120px -40px rgba(11, 16, 23, .55), 0 18px 40px -20px rgba(11, 16, 23, .45); transform-origin: 50% 100%; animation: tilt-in 1.3s cubic-bezier(.2, .8, .2, 1) .15s both; position: relative; }
.display::after { content: ""; position: absolute; left: 50%; bottom: 9px; width: 7px; height: 7px; border-radius: 50%; background: #2b3038; transform: translateX(-50%); }
.display img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
/* transform only: the screen counts as painted at once (no fade), so it does not hold back the LCP */
@keyframes tilt-in { from { transform: rotateX(14deg) translateY(40px); } }
@supports (animation-timeline: view()) {
  .display { animation: tilt-scroll linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes tilt-scroll { from { transform: rotateX(16deg) scale(.94); } to { transform: none; } }
}
.phone { width: clamp(210px, 23vw, 300px); background: var(--bezel); border-radius: 46px; padding: 10px; box-shadow: 0 0 0 1.5px #2a2f37 inset, 0 50px 90px -30px rgba(11, 16, 23, .65); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 20px; border-radius: 999px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone .screen { border-radius: 37px; overflow: hidden; background: var(--night); display: grid; padding-top: 13%; }
.phone .screen img { width: 100%; grid-area: 1 / 1; }
.cycle img { transition: opacity .9s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.cycle img:not(.on) { opacity: 0; transform: scale(1.03); }
.stage .phone { position: absolute; right: 0; top: clamp(70px, 9vw, 130px); width: clamp(190px, 18vw, 250px); animation: phone-in 1.2s cubic-bezier(.2, .8, .2, 1) .45s both; }
@keyframes phone-in { from { transform: translateY(60px) rotate(3deg); opacity: .001; } }
.tag { position: absolute; display: flex; align-items: center; gap: .55rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem .5rem .6rem; font-size: .85rem; font-weight: 600; box-shadow: 0 14px 30px -16px rgba(11, 16, 23, .35); white-space: nowrap; }
.tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(230, 0, 0, .15); }
.tag-a { left: 2%; top: -18px; }
.tag-b { right: clamp(170px, 16.5vw, 230px); top: clamp(420px, 40vw, 560px); }
@media (max-width: 760px) {
  .stage { padding-bottom: 0; perspective: none; }
  .display { padding: 6px 6px 16px; border-radius: 14px; }
  .display img { border-radius: 9px; }
  .stage .phone { position: relative; top: auto; width: min(50%, 220px); margin: -30% 4% 0 auto; border-radius: 34px; padding: 7px; }
  .stage .phone .screen { border-radius: 28px; }
  .stage .phone::before { top: 13px; height: 14px; }
  .tag-a { left: 8px; top: -16px; font-size: .75rem; }
  .tag-b { display: none; }
}

/* ── marquee of the real module names */
.marquee { border-block: 1px solid var(--line); background: var(--sheet); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.marquee-track ul { display: flex; gap: 2.6rem; list-style: none; margin: 0; padding: 0 1.3rem; }
.marquee li { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 2.6rem; color: var(--ink); }
.marquee li::after { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
/* WCAG 2.2.2: everything that moves on its own can be paused, by hover/focus or by the one page-wide button */
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .motion-paused .marquee-track { animation-play-state: paused; }
.marquee { position: relative; }
.motion-btn { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 1; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); font: 600 .78rem var(--f-body); cursor: pointer; box-shadow: 0 6px 16px -10px rgba(11, 16, 23, .4); }
.motion-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.motion-btn .ico { width: 10px; height: 10px; display: inline-block; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-paused .motion-btn .ico { border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; width: 0; height: 0; }
@media (prefers-reduced-motion: reduce) { .motion-btn { display: none; } }

/* ── section rhythm */
section.block { padding-block: clamp(4.5rem, 10vw, 9rem); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ── cockpit map: 21 real modules, filtered by role */
.map { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
.map-aside { position: sticky; top: 96px; display: grid; gap: 1.6rem; }
.count { font-family: var(--f-display); font-weight: 800; font-size: clamp(5.5rem, 11vw, 9.5rem); line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.count small { font-size: .32em; color: var(--ink-3); font-weight: 700; letter-spacing: 0; }
.count-cap { color: var(--ink-2); font-size: .98rem; max-width: 34ch; min-height: 3.2em; }
.roles { display: grid; gap: .5rem; }
.role { all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-radius: 14px; background: var(--sheet); border: 1px solid var(--line); font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.role span { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); letter-spacing: .08em; }
.role[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.role[aria-pressed="true"] span { color: #ffd23f; }
.role:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.groups { display: grid; gap: 2.6rem; }
.group h3 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; font-weight: 700; color: var(--ink-3); display: flex; justify-content: space-between; border-bottom: 1.5px solid var(--ink); padding-bottom: .6rem; }
.mod { border-bottom: 1px solid var(--line); transition: opacity .35s ease; }
.mod > button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .7rem 0; }
.mod .name { font-family: var(--f-display); font-size: clamp(1.35rem, 1rem + 1.2vw, 2.1rem); font-weight: 600; line-height: 1.2; transition: color .2s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.mod > button:hover .name { color: var(--red-ink); transform: translateX(6px); }
.mod > button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.mod .who { display: flex; gap: .3rem; }
.mod .who b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--f-mono); font-size: .66rem; background: var(--sheet); border: 1px solid var(--line); color: var(--ink-3); }
.mod .who b.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mod .desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.mod .desc > div { overflow: hidden; }
.mod .desc p { color: var(--ink-2); max-width: 60ch; padding: 0 0 1.1rem; }
.mod.open .desc { grid-template-rows: 1fr; }
.mod.off { opacity: .45; }
.mod.off .name { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--ink-3); }
.mod .pill { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; color: var(--wait); border: 1px solid currentColor; border-radius: 999px; padding: .12rem .45rem; margin-left: .6rem; vertical-align: middle; }
@media (max-width: 860px) { .map { grid-template-columns: 1fr; } .map-aside { position: static; } .count { font-size: 6.5rem; } }

/* ── attendance: the school's most useful knowledge */
.att { border-top: 1px solid var(--line); }
.att h2 em { font-style: normal; color: var(--red); }
.att-screen { margin: 0 0 clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1rem; justify-items: start; }
.display.flat { animation: none; transform: none; width: 100%; max-width: none; }
.display.flat img { aspect-ratio: auto; object-fit: initial; }
.att-screen figcaption { display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.tag-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(230, 0, 0, .15); }
.att-grid { display: block; }
@media (min-width: 1100px) { .att .uses { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.flow li { display: grid; gap: .45rem; align-content: start; padding: 1.4rem 1.6rem 1.6rem 0; position: relative; }
.flow li + li { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.flow .k { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--red); line-height: 1.1; }
.flow b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; }
.flow span:not(.k) { color: var(--ink-2); font-size: .95rem; }
.uses-h { font-size: 1.5rem; font-weight: 600; margin: 3rem 0 1rem; }
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.4rem; }
.uses li { display: grid; gap: .3rem; align-content: start; padding: 1rem 0 1.1rem; border-top: 1px solid var(--line); }
.uses b { font-size: 1.05rem; }
.uses span { color: var(--ink-2); font-size: .93rem; }
.att-phone { margin: 0; display: grid; justify-items: center; gap: 1.2rem; position: sticky; top: 110px; }
.att-phone .phone { width: min(100%, 290px); transform: rotate(2deg); }
.att-phone figcaption { font-size: .9rem; color: var(--ink-2); text-align: center; max-width: 28ch; }
@media (max-width: 960px) { .att-grid { grid-template-columns: minmax(0, 1fr); } .att-phone { position: static; } }
@media (max-width: 680px) { .flow, .uses { grid-template-columns: minmax(0, 1fr); } .flow li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ── the school's gains, before the full map */
#pilotirio h2 em { font-style: normal; color: var(--red); }
.gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); margin-bottom: clamp(5rem, 10vw, 8rem); }
.gains article { display: grid; gap: .55rem; align-content: start; padding: 1.5rem 1.6rem 1.6rem 0; }
.gains article + article { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.gains .k { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--red); line-height: 1.1; }
.gains b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.gains p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1100px) { .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gains article:nth-child(3) { padding-left: 0; border-left: 0; } .gains article:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .gains { grid-template-columns: minmax(0, 1fr); } .gains article, .gains article + article { padding-left: 0; border-left: 0; } .gains article + article { border-top: 1px solid var(--line); } }

/* ── «το δικό σου» */
.own { background: var(--sheet); border-block: 1px solid var(--line); }
.own-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 3rem 6rem; align-items: center; }
.own .phone { width: min(100%, 300px); margin-inline: auto; transform: rotate(-2.5deg); }
.own h2 em { font-style: normal; color: var(--red); }
.own-list { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.own-list li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.own-list li:last-child { border-bottom: 1px solid var(--line); }
.own-list .k { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: var(--red); line-height: 1.1; }
.own-list b { display: block; font-size: 1.08rem; margin-bottom: .15rem; }
.own-list span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .own-grid { grid-template-columns: 1fr; } .own .phone { width: min(78%, 320px); } }

/* ── tatami: the one dark band */
.arena { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.arena::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 120px 60px,
  linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 120px 60px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); opacity: .55; pointer-events: none; }
.arena .wrap { position: relative; }
.arena .eyebrow { color: var(--red-glow); }
.arena .lead { color: var(--night-muted); }
.arena h2 em { font-style: normal; color: var(--red-glow); }
.sport { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--night-line); gap: 4px; }
.sport button { all: unset; cursor: pointer; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--night-muted); }
.sport button[aria-pressed="true"] { background: var(--night-text); color: var(--night); }
.sport button:focus-visible { outline: 3px solid var(--red-glow); outline-offset: 2px; }
/* controller ↔ scoreboard: one stage, the two devices take turns */
.duo { margin-top: 2.4rem; }
.duo-steps { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; font-weight: 600; font-size: .95rem; color: var(--night-muted); }
.duo-steps .st { all: unset; cursor: pointer; display: flex; align-items: center; gap: .55rem; transition: color .3s; white-space: nowrap; font-weight: 600; }
.duo-steps .st:focus-visible { outline: 3px solid var(--red-glow); outline-offset: 4px; border-radius: 6px; }
.duo-steps .st b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .72rem; border: 1px solid var(--night-line); transition: background .3s, color .3s; }
.duo-steps .line { flex: 1; height: 2px; background: var(--night-line); position: relative; overflow: hidden; border-radius: 2px; }
.duo-steps .line i { position: absolute; inset: 0; background: var(--red-glow); transform-origin: left; transform: scaleX(0); }
.duo[data-view="ctrl"] .st[data-v="ctrl"], .duo[data-view="tv"] .st[data-v="tv"] { color: var(--night-text); }
.duo[data-view="ctrl"] .st[data-v="ctrl"] b, .duo[data-view="tv"] .st[data-v="tv"] b { background: var(--red-glow); color: #fff; border-color: var(--red-glow); }
.duo.run .line i { animation: fill var(--dwell, 4.2s) linear both; }
@keyframes fill { to { transform: scaleX(1); } }
.duo-stage { display: grid; }
.dev { grid-area: 1 / 1; margin: 0; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.dev .screen { overflow: hidden; position: relative; display: grid; }
.dev .screen img { grid-area: 1 / 1; width: 100%; transition: opacity .5s ease; }
.duo[data-sport="judo"] .dev img[data-s="bjj"], .duo[data-sport="bjj"] .dev img[data-s="judo"] { opacity: 0; }
.dev-tab { background: #000; border-radius: 30px; padding: 16px; box-shadow: 0 0 0 1.5px #262b33 inset, 0 70px 140px -50px rgba(255, 30, 30, .25), 0 40px 80px -30px #000; }
.dev-tab .screen { border-radius: 16px; }
.dev-tv { justify-self: center; width: 94%; display: grid; justify-items: center; }
.dev-tv .screen { width: 100%; border: 10px solid #050608; border-bottom-width: 16px; border-radius: 10px; box-shadow: 0 0 0 1px #2a2f37, 0 80px 140px -50px rgba(255, 30, 30, .3), 0 40px 80px -30px #000; }
.dev-tv .stand { width: 22%; height: 28px; background: linear-gradient(#20252d, #0b0d10); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.duo[data-view="ctrl"] .dev-tv, .duo[data-view="tv"] .dev-tab { opacity: 0; transform: scale(.94) translateY(20px); pointer-events: none; }
.tv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 2.6rem; border-top: 1px solid var(--night-line); }
.tv-facts div { padding: 1.3rem 1.3rem 0 0; }
.tv-facts b { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; }
.tv-facts span { color: var(--night-muted); font-size: .9rem; }
@media (max-width: 860px) { .tv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dev-tab { padding: 7px; border-radius: 16px; } .dev-tab .screen { border-radius: 10px; } .dev-tv .screen { border-width: 5px 5px 9px; } .dev-tv .stand { height: 16px; } .duo-steps { font-size: .8rem; gap: .6rem; } }
@media (max-width: 520px) { .duo-steps .st { white-space: normal; line-height: 1.25; } .duo-steps .line { min-width: 24px; } }

/* ── cards */
.cards-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 6rem; align-items: center; }
.cards-art { position: relative; justify-self: center; width: min(100%, 460px); }
.cards-art .card-shot { border-radius: 26px; overflow: hidden; background: var(--night); padding: 18px; box-shadow: 0 60px 100px -40px rgba(11, 16, 23, .6); transform: rotate(2deg); }
.cards-art .card-shot img { border-radius: 12px; }
.kanji { display: flex; gap: .7rem; margin-top: 2rem; flex-wrap: wrap; }
.kanji span { width: 64px; height: 64px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 2rem; border-radius: 12px; font-family: "Noto Serif JP", "Yu Mincho", serif; box-shadow: 0 10px 20px -10px rgba(230, 0, 0, .7); }
.kanji small { display: block; }
.evidence { margin-top: clamp(3.5rem, 7vw, 6rem); }
.evidence h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 1.2rem; }
.ev-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.ev-grid article { display: grid; gap: .55rem; align-content: start; padding: 1.4rem 1.6rem 1.6rem 0; }
.ev-grid article + article { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.ev-grid b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.ev-grid p { color: var(--ink-2); font-size: .93rem; }
.ev-grid cite { font-style: normal; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--red-ink); }
.refs { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.refs summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
.refs summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.refs ol { margin: .8rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; font-size: .85rem; color: var(--ink-2); max-width: 90ch; }
@media (max-width: 1100px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ev-grid article:nth-child(3) { padding-left: 0; border-left: 0; } .ev-grid article:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .ev-grid { grid-template-columns: minmax(0, 1fr); } .ev-grid article, .ev-grid article + article { padding-left: 0; border-left: 0; } .ev-grid article + article { border-top: 1px solid var(--line); } }
@media (max-width: 860px) { .cards-grid { grid-template-columns: 1fr; } }

/* ── trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.trust article { padding: 1.8rem 2rem 2rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .6rem; align-content: start; }
.trust article:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.trust h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
.trust p { color: var(--ink-2); font-size: .95rem; }
.state { justify-self: start; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; }
.state.yes { color: var(--ok); background: rgba(31, 157, 99, .1); }
.state.todo { color: var(--wait); background: rgba(178, 106, 0, .1); }
@media (max-width: 960px) { .trust { grid-template-columns: 1fr; } .trust article, .trust article:not(:nth-child(3n+1)) { padding: 1.5rem 0; border-left: 0; } }

/* ── demo */
.demo { background: var(--sheet); border-top: 1px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 6rem; align-items: start; }
.demo h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.4rem); }
form { display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
label small { font-weight: 400; color: var(--ink-3); }
input, textarea { font: inherit; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); min-width: 0; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.gdpr { font-size: .8rem; color: var(--ink-3); }
.contact { display: grid; gap: 1rem; align-content: start; }
.contact-k { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; font-weight: 700; color: var(--ink-3); }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.mail { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--red); overflow-wrap: anywhere; }
.mail:hover { color: var(--red-ink); }
.copied { min-height: 1.3em; font-size: .88rem; font-weight: 600; color: var(--ok); }
.legal-page { max-width: 760px; padding-block: clamp(3rem, 7vw, 5rem); display: grid; gap: 1rem; }
.legal-page h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
.legal-page h2 { font-size: 1.35rem; font-weight: 600; margin-top: 1.4rem; }
.legal-page p, .legal-page li { color: var(--ink-2); line-height: 1.7; }
.legal-page ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.top .back { margin-left: auto; }
.legal-meta { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; color: var(--ink-3); }
.sent { font-weight: 600; color: var(--ok); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .demo-grid, .row { grid-template-columns: 1fr; } }

/* ── footer */
footer { background: var(--night); color: var(--night-muted); padding-block: 4rem 3rem; }
.foot { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem 4rem; align-items: end; }
.foot img { height: 120px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; justify-content: flex-end; font-size: .92rem; }
.foot nav a { text-decoration: none; color: var(--night-text); }
.foot nav a:hover { color: var(--red-glow); }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--night-line); padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .8rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } .foot img { height: 96px; } }

/* ── intro: the logo, then the doors open */
.intro { display: none; }
/* the whole intro takes ~1.6 s: long enough to read the mark, short enough not to hold back the first paint */
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; cursor: pointer; animation: gone 0s linear 1.65s both; }
.door { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--night); animation: door .6s cubic-bezier(.7, 0, .2, 1) 1.05s both; }
.d1 { top: 0; }
.d2 { bottom: 0; --to: 100%; }
.d1 { --to: -100%; }
.intro-logo { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.6rem; animation: logo-out .25s ease .9s both; }
.i-sym { width: clamp(120px, 16vw, 180px); height: auto; animation: sym-in .6s cubic-bezier(.2, .8, .2, 1) .05s both; filter: drop-shadow(0 0 40px rgba(230, 0, 0, .35)); }
.i-word { width: clamp(220px, 28vw, 320px); height: auto; animation: word-in .5s cubic-bezier(.2, .8, .2, 1) .3s both; }
@keyframes door { to { transform: translateY(var(--to)); } }
@keyframes sym-in { from { opacity: 0; transform: scale(.82) translateY(14px); filter: drop-shadow(0 0 0 rgba(230, 0, 0, 0)); } }
@keyframes word-in { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(8px); } to { clip-path: inset(0 0 0 0); } }
@keyframes logo-out { to { opacity: 0; transform: scale(.96); } }
@keyframes gone { to { visibility: hidden; pointer-events: none; } }
.intro.skip, .intro.skip * { animation-duration: .01s !important; animation-delay: 0s !important; }
.intro-on .hero h1 .ln > span { animation-delay: 1.2s; }
.intro-on .hero h1 .ln:nth-child(2) > span { animation-delay: 1.3s; }
.intro-on .display { animation-delay: 1.3s; }
.intro-on .stage .phone { animation-delay: 1.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none !important; }
}
