/* Moubase institutional website (visual proposal, round 3: TSK-0095).
   Parent brand: charcoal #111318, off-white #F5F7FA, one blue accent #487CFF (BRAND_GUIDE.md).
   System fonts only, no images in CSS, no gradients, no blur, no external requests.
   Light by default, dark via prefers-color-scheme. The hero, the product stage, the contact band and the
   footer are charcoal in both themes ("ink"); everything else follows the theme.
   Rhythm: one spacing scale (--s1 .. --s8) and one editorial grid (a 3/12 label column, a 9/12 text column). */
:root {
  --ink: #111318; --ink-2: #0C0E12; --paper: #F5F7FA; --blue: #487CFF; --blue-300: #9DB8FF;
  --bg: #F5F7FA; --surface: #FFFFFF; --alt: #ECEFF4; --text: #111318; --muted: #4B5263; --line: #DDE2EA; --line2: #C3CAD6; --rule: #111318;
  --link: #2A57D0; --focus: #2A57D0; --btn-bg: #111318; --btn-fg: #F5F7FA; --btn-hover: #262A33;
  --stage: #111318; --stage-line: #111318;
  --on-dark: #F5F7FA; --on-dark-2: #B4BDCE; --hair: rgba(245,247,250,.14); --hair-2: rgba(245,247,250,.28);
  --dev-fg: #6F4700; --dev-bg: #FFF6DD; --dev-bd: #E3C375; --dev-dot: #B87A00;
  --beta-fg: #2A57D0; --beta-bg: #EDF2FF; --beta-bd: #B5C8FA;
  --ok-fg: #17764A; --ok-bg: #E8F6EE; --ok-bd: #A5D9BE;
  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 4.5rem; --s8: 6rem;
  --sec: clamp(4.5rem, 2.5rem + 8vw, 9.5rem); --gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); --bar: 4rem;
  --gutter: 1.25rem; --col: 0px;
  --display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1); --pen: cubic-bezier(.6,0,.2,1); --out: cubic-bezier(.16,1,.3,1);
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }
@media (min-width: 80rem) { :root { --gutter: 3rem; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318; --surface: #181B21; --alt: #0C0E12; --text: #F5F7FA; --muted: #A7AFBE; --line: #23272F; --line2: #353A45; --rule: #5A6170;
    --link: #9DB8FF; --focus: #9DB8FF; --btn-bg: #F5F7FA; --btn-fg: #111318; --btn-hover: #FFFFFF;
    --stage: #0A0B0E; --stage-line: #23272F;
    --dev-fg: #FFD98A; --dev-bg: #2A2110; --dev-bd: #6B5420; --dev-dot: #FFC857;
    --beta-fg: #9DB8FF; --beta-bg: #151D36; --beta-bd: #2E3F73;
    --ok-fg: #5FD39A; --ok-bg: #0F2A1C; --ok-bd: #1F5A3C;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 1.5rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .22em; }
p, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: .25rem; }
.on-ink :focus-visible, footer :focus-visible { outline-color: var(--blue-300); }
::selection { background: var(--blue); color: #fff; }
.skip { position: absolute; left: -999rem; top: .5rem; background: #fff; color: #111318; padding: .5rem 1rem; border-radius: .375rem; font-weight: 600; z-index: 40; }
.skip:focus { left: .5rem; outline-color: var(--blue-300); }
.wrap { max-width: 82rem; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ic { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sm { display: inline; } .lg { display: none; }
@media (min-width: 40rem) { .sm { display: none; } .lg { display: inline; } }

/* kicker: the small tracked label that opens every block. In a section it carries the section number. */
.kicker, .label { font-family: var(--body); font-size: .75rem; font-weight: 600; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.kicker { display: flex; align-items: baseline; gap: .875rem; color: var(--text); }
.kicker .num { color: var(--link); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.kicker.bar { align-items: center; }
.kicker.bar::before { content: ""; width: 2rem; height: 2px; background: var(--blue); flex: none; }
.on-ink .kicker { color: var(--on-dark); }
.on-ink .kicker .num { color: var(--blue-300); }
.label { color: var(--muted); }

/* top bar: solid charcoal, one hairline */
.topbar { position: sticky; top: 0; z-index: 20; height: var(--bar); color: var(--on-dark); background: var(--ink); border-bottom: 1px solid var(--hair); }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; color: inherit; text-decoration: none; padding: .375rem 0; min-width: 0; }
.mark { width: 1.625rem; height: 1.285rem; flex: none; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.wordmark b { color: var(--blue); font-weight: inherit; }
.topbar nav { display: flex; align-items: center; gap: clamp(.25rem, 2vw, 1.75rem); white-space: nowrap; }
.topbar nav a { position: relative; color: var(--on-dark-2); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: .625rem .125rem; transition: color .2s; }
.topbar nav a::after { content: ""; position: absolute; left: .125rem; right: .125rem; bottom: .375rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--out); }
.topbar nav a:hover { color: #fff; }
.topbar nav a:hover::after { transform: scaleX(1); }
.topbar nav a.lang { color: var(--on-dark); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--hair-2); border-radius: .375rem; padding: .3rem .7rem; transition: border-color .2s, background .2s; }
.topbar nav a.lang::after { content: none; }
.topbar nav a.lang:hover { border-color: var(--on-dark); background: rgba(245,247,250,.06); }

/* buttons: the parent brand is monochrome, blue stays an accent */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 3.25rem; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; padding: .875rem 1.5rem; border-radius: 999px; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn .ic { width: 1.125rem; height: 1.125rem; stroke-width: 1.75; transition: transform .3s var(--out); }
.btn.primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn.primary:hover { background: var(--btn-hover); }
.btn:hover .ic { transform: translate(2px, -2px); }
.btn:hover .ic.down { transform: translateY(3px); }
.on-ink .btn.primary { background: var(--paper); color: var(--ink); }
.on-ink .btn.primary:hover { background: #fff; }
.on-ink .btn.ghost { color: var(--on-dark); border-color: var(--hair-2); }
.on-ink .btn.ghost:hover { border-color: var(--on-dark); background: rgba(245,247,250,.06); }

/* hero: flat charcoal, the type on the left, the mark on the right, a ledger of plain facts on the baseline */
.hero { position: relative; color: var(--on-dark); background: var(--ink); border-bottom: 1px solid var(--hair); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-top: clamp(3rem, 1.5rem + 6vw, 7rem); padding-bottom: clamp(3rem, 1.5rem + 6vw, 6.5rem); }
.hero h1 { font-size: clamp(4.25rem, 1rem + 11vw, 10.25rem); line-height: .88; letter-spacing: -.055em; font-weight: 600; margin: var(--s4) 0 0 -.045em; }
.hero h1 span { display: block; }
.hero h1 b { color: var(--blue); font-weight: inherit; }
.hero .sub { font-size: clamp(1.125rem, 1rem + .6vw, 1.4375rem); line-height: 1.45; letter-spacing: -.01em; color: var(--on-dark); max-width: 33rem; margin-top: clamp(1.75rem, 1rem + 2.5vw, 3rem); text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s5); }
.art { width: 8.5rem; order: -1; }
.mark-art { width: 100%; height: auto; overflow: visible; }
.mark-art .echo path { vector-effect: non-scaling-stroke; }
.mark-art .e1 { opacity: .6; --d: 44px; } .mark-art .e2 { opacity: .34; --d: 88px; } .mark-art .e3 { opacity: .16; --d: 132px; }
.ledger { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--hair); }
.ledger > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .875rem 0; border-bottom: 1px solid var(--hair); }
.ledger > div:last-child { border-bottom: 0; }
.ledger dt { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.ledger dd { display: inline-flex; align-items: center; gap: .625rem; font-size: .9375rem; font-weight: 500; color: var(--on-dark); text-align: right; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: #FFC857; flex: none; }
@media (min-width: 48rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(11rem, 30%); align-items: center; gap: var(--s5); }
  .art { width: 100%; order: 0; justify-self: end; }
  .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ledger > div { flex-direction: column; justify-content: flex-start; gap: .375rem; padding: 1.25rem 1.5rem 1.5rem; border-bottom: 0; border-left: 1px solid var(--hair); }
  .ledger > div:first-child { padding-left: 0; border-left: 0; }
  .ledger dd { font-size: 1rem; text-align: left; }
}
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); }
  .art { max-width: 23rem; }
}
/* Hero entrance, played once (about 3 s; the mark is complete at 2.3 s):
   1. the M is drawn as a hairline, in one stroke of the pen (0.3 to 1.3 s);
   2. the line takes its full weight, like ink settling (1.3 to 1.9 s);
   3. the blue baseline is ruled under it and, as it lands, the full stop of "Build beyond." lands too (1.8 to 2.4 s);
   4. three hairline outlines lift off the mark, "beyond" (2.1 to 3.3 s).
   Nothing loops. All of it sits inside no-preference, so reduced motion gets the finished mark at once. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s var(--out) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .2s; } .rise.d3 { animation-delay: .32s; } .rise.d4 { animation-delay: .5s; }
  .hero h1 b { display: inline-block; transform-origin: 50% 85%; animation: pop .45s cubic-bezier(.34,1.4,.64,1) 2.15s both; }
  .mark-art .m { stroke-dasharray: 1; animation: m-line 1s var(--pen) .3s both, m-weight .6s var(--out) 1.3s both; }
  .mark-art .b { stroke-dasharray: 1; animation: b-rule .55s var(--out) 1.8s both; }
  .mark-art .echo path { animation: echo 1.1s var(--out) both; }
  .mark-art .echo .e1 { animation-delay: 2.1s; } .mark-art .echo .e2 { animation-delay: 2.22s; } .mark-art .echo .e3 { animation-delay: 2.34s; }
  @keyframes rise { from { opacity: 0; transform: translateY(.875rem); } }
  @keyframes pop { from { opacity: 0; transform: scale(0); } }
  @keyframes m-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes m-weight { from { stroke-width: 3; } }
  @keyframes b-rule { from { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes echo { from { opacity: 0; transform: translateY(var(--d)); } }
  .js .reveal { opacity: 0; transform: translateY(.75rem); transition: opacity .7s var(--out), transform .7s var(--out); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* sections: a rule, a numbered label on the left, the heading on the right */
.sec { position: relative; padding: var(--sec) 0; }
.sec.alt { background: var(--alt); }
.sec.ink { background: var(--ink); color: var(--on-dark); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding-top: 1.125rem; border-top: 1px solid var(--rule); margin-bottom: var(--gap); }
.on-ink .sec-head { border-top-color: var(--hair-2); }
h2 { font-size: clamp(2.25rem, 1.35rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -.045em; max-width: 16em; }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.015em; }
.lead { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); line-height: 1.5; letter-spacing: -.01em; color: var(--muted); max-width: 36rem; margin-top: var(--s4); text-wrap: pretty; }
.on-ink .lead { color: var(--on-dark-2); }
.fine { font-size: .8125rem; line-height: 1.55; color: var(--muted); }
@media (min-width: 62rem) {
  :root { --col: calc((100% - 2rem) * .25 + 2rem); }
  .sec-head { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2rem; padding-top: 1.5rem; }
  .sec-head .kicker { padding-top: .5rem; }
  .indent { margin-left: var(--col); }
}

/* state chips: icon plus text, never colour alone */
.state { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 600; line-height: 1.2; white-space: nowrap; padding: .3rem .7rem .3rem .5rem; border-radius: 999px; border: 1px solid; }
.state .ic { width: 1rem; height: 1rem; stroke-width: 1.75; }
.s-development { color: var(--dev-fg); background: var(--dev-bg); border-color: var(--dev-bd); }
.s-beta { color: var(--beta-fg); background: var(--beta-bg); border-color: var(--beta-bd); }
.s-available { color: var(--ok-fg); background: var(--ok-bg); border-color: var(--ok-bd); }

/* catalogue: one open block per product (identity, the screen on a charcoal stage, what you get, the link) */
.catalogue { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sec); }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr); scroll-margin-top: calc(var(--bar) + 1.5rem); }
.pc-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
.pc-id { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem .875rem; }
.pc-logo { width: 2.75rem; height: 2.75rem; border-radius: .625rem; flex: none; }
.pc-name { font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.1; }
.pc-tag { font-family: var(--display); font-size: clamp(1.75rem, 1.25rem + 2vw, 3rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.pc-desc { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; max-width: 34rem; margin-top: var(--s3); text-wrap: pretty; }
@media (min-width: 62rem) {
  .pc-top { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2rem; align-items: start; }
  .pc-id { flex-direction: column; align-items: flex-start; gap: .875rem; }
  .pc-id .pc-name { font-size: 1.5rem; }
}
/* the stage: charcoal in both themes, so the screen is the brightest thing on the page */
.pc-media { margin-top: var(--gap); background: var(--stage); border: 1px solid var(--stage-line); border-radius: clamp(.875rem, .5rem + 1.5vw, 1.5rem); color: var(--on-dark); padding: clamp(1rem, .25rem + 3.6vw, 3.5rem) clamp(.75rem, 0rem + 3.6vw, 3.5rem) clamp(1.125rem, .5rem + 2.6vw, 2.5rem); }
/* 58.3125rem = 933 px: at that width the desktop crop of the 1x screenshot is shown at one image pixel per CSS pixel */
.pc-show { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 58.3125rem; margin: 0 auto; }
.tabs { display: flex; gap: clamp(1rem, 4vw, 2rem); margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-bottom: 1px solid var(--hair); }
.tabs button { position: relative; font: inherit; font-size: .9375rem; font-weight: 500; line-height: 1.2; color: var(--on-dark-2); background: none; border: 0; padding: .5rem 0 .9375rem; min-height: 2.75rem; cursor: pointer; transition: color .2s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--out); }
.tabs button:hover { color: #fff; }
.tabs button[aria-pressed="true"] { color: #fff; font-weight: 600; }
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
/* the browser frame, with two window edges behind it for depth (no blur, no glow) */
.stack { position: relative; padding-top: 1rem; }
.stack::before, .stack::after { content: ""; position: absolute; top: 0; left: 6%; right: 6%; height: 2rem; border-radius: .625rem .625rem 0 0; background: #2A2E37; border: 1px solid rgba(245,247,250,.08); border-bottom: 0; }
.stack::after { top: .5rem; left: 3%; right: 3%; background: #4A505D; }
.frame { position: relative; z-index: 1; background: #fff; border-radius: clamp(.5rem, .3rem + .8vw, .75rem); overflow: hidden; box-shadow: 0 0 0 1px rgba(245,247,250,.1), 0 1px 2px rgba(0,0,0,.4), 0 1.5rem 2.5rem -1rem rgba(0,0,0,.55), 0 3.5rem 5rem -2.5rem rgba(0,0,0,.7); }
.chrome { position: relative; display: flex; align-items: center; gap: .4375rem; height: clamp(1.875rem, 1.5rem + 1.4vw, 2.625rem); padding: 0 clamp(.625rem, 1.6vw, 1rem); background: #F1F3F7; border-bottom: 1px solid #DFE4EC; }
.chrome i { width: .5625rem; height: .5625rem; border-radius: 50%; border: 1px solid #B4BCCA; background: #E2E6ED; display: block; flex: none; }
.chrome .addr { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #fff; border: 1px solid #DFE4EC; color: #4B5263; border-radius: .375rem; font-size: .6875rem; line-height: 1.7; letter-spacing: .01em; padding: 0 1.25rem; }
/* Sharp screenshots. The frame shows a PART of the screen, set per image in products.js (site.js passes the
   numbers as custom properties): --x / --y / --w are the top-left corner and the width of that part, in pixels
   of the 1x file, from 30rem up; --xs / --ys / --ws are the same for phones; --nw is the width of the 1x file.
   The image is scaled so the part fills the frame, but never beyond --k CSS pixels per image pixel: 1 on a
   1x screen (no upscaling, so no blur), 1.33 where the 2x file is in use. Margins in % resolve against the
   frame width, so one rule works at every size. */
.crop { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #F6F7FB; }
.shot { --k: 1; --fx: var(--xs, 0); --fy: var(--ys, 0); --fw: var(--ws, var(--nw, 1568));
  position: absolute; top: 0; left: 0; max-width: none; height: auto;
  width: min(calc(var(--nw, 1568) * var(--k) * 1px), calc(100% * var(--nw, 1568) / var(--fw)));
  margin-left: max(calc(var(--fx) * var(--k) * -1px), calc(var(--fx) / var(--fw) * -100%));
  margin-top: max(calc(var(--fy) * var(--k) * -1px), calc(var(--fy) / var(--fw) * -100%));
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.shot.on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
@media (min-resolution: 1.5dppx) { .shot.hd { --k: 1.3333; } }
@media (min-width: 30rem) { .crop { aspect-ratio: 16 / 9; } .shot { --fx: var(--x, 0); --fy: var(--y, 0); --fw: var(--w, var(--nw, 1568)); } }
.pc-under { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 2rem; margin-top: clamp(1.125rem, .75rem + 1.6vw, 2rem); }
.cap { font-size: .9375rem; font-weight: 500; line-height: 1.5; color: var(--on-dark); text-wrap: pretty; }
.cap:empty { display: none; }
.pc-under .fine { color: var(--on-dark-2); }
/* outcomes: what the customer gets, one column each; "soon" items carry a text tag, never colour alone */
.pc-out { list-style: none; margin: var(--gap) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) 2rem; }
.pc-out li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding-top: 1.125rem; border-top: 1px solid var(--line2); }
.pc-out li::before { content: ""; position: absolute; top: -1px; left: 0; width: 2rem; height: 2px; background: var(--blue); }
.pc-out strong { font-family: var(--display); font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.pc-out .d { color: var(--muted); font-size: .9375rem; line-height: 1.55; text-wrap: pretty; }
.pc-out .soon { border-top-style: dashed; }
.pc-out .soon::before { content: none; }
.pc-out .soon strong { color: var(--muted); }
.tag { display: inline-block; font-family: var(--body); font-size: .6875rem; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--muted); border: 1px solid var(--line2); border-radius: .25rem; padding: .0625rem .4375rem; }
@media (min-width: 40rem) { .pc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .pc-out { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: var(--gap); }
.pc-url { font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.pc-note { display: flex; align-items: flex-start; gap: .625rem; flex: 1 1 18rem; max-width: 27rem; margin-left: auto; font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.pc-note .ic { width: 1.125rem; height: 1.125rem; margin-top: .0625rem; color: var(--dev-dot); }
.foot-note { display: flex; align-items: flex-start; gap: .625rem; margin-top: var(--s6); padding-top: 1.125rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.foot-note .ic { width: 1.125rem; height: 1.125rem; margin-top: .15rem; color: var(--link); }

/* about */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3) 2rem; }
.duo .lead { margin: 0; max-width: 31rem; color: var(--text); }
@media (min-width: 48rem) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sub-h { margin: var(--gap) 0 1.125rem; }
.principles { list-style: none; counter-reset: p; margin: 0; padding: 0; border-top: 1px solid var(--line2); }
.principles li { counter-increment: p; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .25rem .5rem; align-items: baseline; padding: 1.375rem 0; border-bottom: 1px solid var(--line2); transition: border-color .2s; }
.principles li::before { content: counter(p); font-family: var(--display); font-weight: 600; font-size: .875rem; color: var(--link); font-variant-numeric: tabular-nums; }
.principles h4 { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); line-height: 1.25; letter-spacing: -.025em; }
.principles p { grid-column: 2; color: var(--muted); text-wrap: pretty; }
@media (min-width: 48rem) {
  .principles li { grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr); gap: 0 2rem; padding: 1.625rem 0; }
  .principles li::before { margin-right: -2rem; }
  .principles p { grid-column: 3; }
}
.now { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: var(--s6); }
.now .dot { background: var(--dev-dot); }
.now div { flex: 1 1 16rem; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.25rem; }
.now h3 { font-family: var(--body); font-size: .75rem; font-weight: 600; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.now p { font-weight: 500; }
.tlink { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; padding: .5rem 0; }
.tlink:hover { text-decoration: underline; }
.tlink .ic { width: 1.125rem; height: 1.125rem; transition: transform .3s var(--out); }
.tlink:hover .ic { transform: translateY(-2px); }

/* contact: a charcoal band that runs into the footer */
.mails { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-2); }
.mails li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem 2rem; align-items: baseline; padding: 1.25rem 0 1.375rem; border-bottom: 1px solid var(--hair); }
.mail-l { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.mail { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(1.3125rem, .8rem + 2.4vw, 2.75rem); letter-spacing: -.035em; line-height: 1.15; text-decoration: none; padding: .25rem 0; transition: color .2s; }
.mail span { min-width: 0; overflow-wrap: anywhere; }
.mail .ic { width: clamp(1.25rem, 1rem + 1vw, 2rem); height: clamp(1.25rem, 1rem + 1vw, 2rem); color: var(--blue); transition: transform .35s var(--out), color .2s; }
.mail:hover { color: var(--blue-300); }
.mail:hover .ic { transform: translate(3px, -3px); color: var(--blue-300); }
@media (min-width: 48rem) { .mails li { grid-template-columns: 8.5rem minmax(0, 1fr); align-items: center; padding: 1.5rem 0 1.625rem; } }
.notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem 2rem; margin-top: var(--s5); color: var(--on-dark-2); font-size: .875rem; line-height: 1.55; }
.notes p { max-width: 30rem; }
@media (min-width: 48rem) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* footer: charcoal, closed by the blue baseline of the mark */
footer { background: var(--ink); color: var(--on-dark-2); border-top: 1px solid var(--hair); border-bottom: 3px solid var(--blue); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: var(--s6) 0 var(--s5); color: var(--on-dark); }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.slogan { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); padding-left: 1.25rem; border-left: 1px solid var(--hair-2); }
.foot-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; font-size: .9375rem; }
.foot-nav a { display: inline-block; padding: .5rem 0; color: var(--on-dark); font-weight: 500; text-decoration: none; transition: color .2s; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }
.foot-nav a[aria-current="page"] { color: var(--on-dark-2); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.25rem 0 var(--s5); border-top: 1px solid var(--hair); font-size: .8125rem; }

/* legal stubs and 404 */
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 2rem + 4vw, 5.5rem) var(--gutter) var(--sec); }
.doc h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); line-height: 1; letter-spacing: -.045em; margin-top: 2rem; }
.doc h2 { font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.25; max-width: none; margin: 2.5rem 0 .625rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.25rem; margin: .5rem 0 0; }
.doc .lead { margin-top: 1rem; }
.draft { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1.125rem; font-weight: 600; line-height: 1.5; color: var(--dev-fg); background: var(--dev-bg); border: 1px solid var(--dev-bd); border-radius: .5rem; }
.doc .draft { color: var(--dev-fg); }
.draft .ic { margin-top: .1rem; }
.pending { display: inline-block; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dev-fg); background: var(--dev-bg); border: 1px solid var(--dev-bd); border-radius: .25rem; padding: .05rem .4rem; vertical-align: .08em; }
.back { margin-top: 3rem; }

/* small screens */
@media (max-width: 33.99rem) {
  .btn { width: 100%; }
  .topbar nav { flex: none; gap: .875rem; }
  .topbar nav a { font-size: .875rem; }
  .topbar nav a.opt { display: none; }
  .topbar nav a.lang { padding: .25rem .5rem; }
  .wordmark { font-size: 1.125rem; } .mark { width: 1.5rem; height: 1.19rem; } .brand { gap: .5rem; }
  .pc-foot .pc-url { width: 100%; text-align: center; }
  .pc-note { margin-left: 0; }
  .slogan { padding-left: 0; border-left: 0; width: 100%; }
}
/* below 360 px the bar keeps the mark and the links; the name stays available to assistive technology */
@media (max-width: 22.49rem) { .topbar .wordmark { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* every keyframe animation lives inside the no-preference block above; transitions are switched off here */
  *, *::before, *::after { transition: none !important; }
  .btn:hover .ic, .tlink:hover .ic, .mail:hover .ic { transform: none; }
}
