/* Fonts are served from this site and preloaded in index.html. font-display: block keeps the text invisible for the few
   milliseconds until they arrive, instead of drawing it in a fallback font first and then jumping (the shift on first load).
   Darker Grotesque is one variable file (weights 700 and 800 are used); IBM Plex Mono is two static files. Latin subset. */
@font-face { font-family: 'Darker Grotesque'; font-style: normal; font-weight: 300 900; font-display: block; src: url('fonts/darker-grotesque.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: block; src: url('fonts/ibm-plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: block; src: url('fonts/ibm-plex-mono-500.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg-top: #252b2d;
  --bg-mid: #171b20;
  --bg-bottom: #101214;
  --text: #f3f3ed;
  --subtle: #aeb2b4;
  --muted: #858c90;
  --accent: #86b347;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  --display: 'Darker Grotesque', 'Arial Narrow', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg-bottom); }
body { margin: 0; min-width: 280px; min-height: 100vh; min-height: 100svh; color: var(--text); font-family: var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }

.site-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(155deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
}
.site-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 8% 5%, rgba(110, 129, 118, .11), transparent 78%),
    radial-gradient(ellipse 52% 50% at 100% 100%, rgba(73, 81, 85, .08), transparent 78%);
}
.site-shell::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(90vw, 1200px);
  aspect-ratio: 1;
  top: -43vw;
  left: -33vw;
  border: clamp(2px, .45vw, 6px) solid rgba(120, 141, 131, .055);
  border-radius: 50%;
  filter: blur(7px);
  transform: rotate(-14deg);
  pointer-events: none;
}

.hero {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 35px;
  text-align: center;
  transform: translateY(-9px);
}
.identity { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.brand-symbol {
  display: block;
  width: clamp(73px, 6.7vw, 92px);
  height: clamp(73px, 6.7vw, 92px);
  margin-bottom: 1px;
  overflow: visible;
}
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(88px, 11.5vw, 162px);
  line-height: .81;
  font-weight: 800;
  font-style: normal;
  letter-spacing: .015em; /* Chosen: +1.5% tracking. */
  white-space: nowrap;
  text-rendering: optimizeLegibility;
}
.descriptor {
  margin: 27px 0 0;
  padding-left: .32em;
  font: 500 clamp(10px, 1.02vw, 14px)/1.5 var(--mono);
  letter-spacing: .32em;
  text-transform: uppercase;
}
.hero-rule {
  width: min(370px, 69vw);
  height: 1px;
  margin: clamp(28px, 3vw, 40px) 0 19px;
  background: linear-gradient(90deg, transparent, rgba(158, 165, 164, .45) 30%, rgba(158, 165, 164, .45) 70%, transparent);
}
.tagline {
  margin: 0;
  color: #c4c8c6;
  font: italic 700 clamp(20px, 2vw, 26px)/1.25 var(--display);
  letter-spacing: .005em;
}

.site-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 20px max(28px, env(safe-area-inset-bottom));
  color: var(--muted);
  font: 400 10px/1.8 var(--mono);
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}
.site-footer a { text-decoration: none; border-bottom: 1px solid rgba(167, 172, 176, .45); text-underline-offset: 4px; transition: color .2s ease, border-color .2s ease; }
.site-footer a:hover { color: var(--text); border-color: currentColor; }
.footer-divider { opacity: .6; }

@media (max-width: 600px) {
  .site-shell::after { width: 800px; top: -520px; left: -510px; }
  .hero { padding: 64px 16px 40px; transform: translateY(-4px); }
  .brand-symbol { width: 76px; height: 76px; margin-bottom: 2px; }
  .wordmark { font-size: clamp(78px, 18.5vw, 106px); }
  .descriptor { margin-top: 23px; font-size: 10px; letter-spacing: .26em; padding-left: .26em; }
  .hero-rule { margin: 33px 0 16px; width: min(310px, 80vw); }
  .tagline { font-size: 21px; }
        .site-footer { padding: 16px 14px max(21px, env(safe-area-inset-bottom)); font-size: 9px; gap: 8px; }
}
@media (max-width: 330px) {
  .wordmark { font-size: 73px; }
  .tagline { font-size: 19px; }
  .descriptor { font-size: 9px; letter-spacing: .22em; }
}
@media (max-height: 580px) and (min-width: 601px) {
  .hero { padding-top: 30px; padding-bottom: 10px; }
  .brand-symbol { width: 66px; height: 66px; }
  .wordmark { font-size: clamp(75px, 10vw, 120px); }
  .descriptor { margin-top: 15px; }
  .hero-rule { margin: 21px 0 12px; }
    .site-footer { padding-top: 13px; padding-bottom: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* LinkedIn keeps its own colour (#0A66C2) instead of the footer grey; no underline on the icon. */
.site-footer a.linkedin { display: inline-flex; align-items: center; border-bottom: 0; line-height: 0; border-radius: 4px; transition: transform .2s ease, filter .2s ease; }
.site-footer a.linkedin:hover { transform: translateY(-1px); filter: brightness(1.12); }

/* Logo, once on load: a tick is cut through the sun, then the part below it turns green ("solved").
   The default (no animation, reduced motion, older browsers) is the finished mark. 1.9 s, once. */
.brand-symbol .cut { stroke-dasharray: 1; stroke-dashoffset: 0; animation: tick-cut .75s cubic-bezier(.65, 0, .35, 1) .6s both; }
.brand-symbol .below { animation: tick-fill .6s cubic-bezier(.65, 0, .35, 1) 1.25s both; }
@keyframes tick-cut { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tick-fill { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .brand-symbol .cut, .brand-symbol .below { animation: none; }
}

/* ---------------------------------------------------------------------------------------------------------------
   Cases: top bar, language switch, case pages. Same dusk look as the home page. No inline styles anywhere (the CSP
   only allows this file), so every variation is a class.
   --------------------------------------------------------------------------------------------------------------- */
:root { --raised: #1e242a; --line: #2c333a; --body: #c9cdcb; }

.topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px 24px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.site-shell > .topbar { position: absolute; top: 0; left: 0; right: 0; max-width: none; }
.topbar a { text-decoration: none; color: var(--subtle); transition: color .2s ease; }
.topbar a:hover, .topbar a[aria-current] { color: var(--text); }
.topbar .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 800 24px/1 var(--display); letter-spacing: .02em; text-transform: none; }
.topbar .brand svg { width: 26px; height: 26px; }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a { padding: 6px 10px; border-radius: 999px; line-height: 1; }
.lang a[aria-current] { background: var(--raised); color: var(--text); }

.home-links { display: flex; gap: 14px; margin-top: 30px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid #3a434b; border-radius: 999px; color: var(--text); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.pill:hover { border-color: var(--accent); background: rgba(134, 179, 71, .08); }
.pill .arrow { color: var(--accent); }

.page { background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-bottom) 100%); min-height: 100vh; }
.wrap { width: min(1080px, 100% - 48px); margin: 0 auto; }
p.label { margin: 0 0 18px; color: var(--accent); font: 500 11px/1.6 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.page h1 { margin: 0; font: 800 clamp(44px, 7vw, 92px)/.92 var(--display); letter-spacing: .005em; text-wrap: balance; }
.page h2 { margin: 0; font: 800 clamp(30px, 3.6vw, 46px)/1 var(--display); text-wrap: balance; }
.page p { font: 500 clamp(19px, 1.7vw, 23px)/1.45 var(--display); color: var(--body); margin: 0 0 1em; max-width: 60ch; }
.page p.lede { font-size: clamp(23px, 2.4vw, 31px); line-height: 1.25; color: var(--text); max-width: 34ch; }
.page a.text { color: var(--text); text-decoration: underline; text-decoration-color: rgba(134, 179, 71, .6); text-underline-offset: 5px; }
.page a.text:hover { text-decoration-color: var(--accent); }

.case-head { padding: 70px 0 54px; }
.case-head .lede { margin-top: 30px; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin-top: 54px; border-top: 1px solid var(--line); }
.meta > div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); }
.meta dt { margin: 0 0 8px; color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.meta dd { margin: 0; font: 600 19px/1.35 var(--display); color: var(--text); }
.meta dd a { color: inherit; text-decoration: underline; text-decoration-color: rgba(134, 179, 71, .6); text-underline-offset: 4px; }

.shot { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--raised); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.shot .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a434b; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption, .device-phone figcaption { padding: 14px 18px; color: var(--muted); font: 500 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.block { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: clamp(20px, 5vw, 70px); padding: 64px 0; border-top: 1px solid var(--line); }
.block > .num { color: var(--muted); font: 500 11px/1.6 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.block > .num b { display: block; margin-bottom: 6px; color: var(--accent); font-weight: 500; }
.block h2 { margin-bottom: 26px; }
.checks { margin: 0 0 1.2em; padding: 0; list-style: none; max-width: 60ch; }
.checks li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); font: 500 clamp(19px, 1.7vw, 22px)/1.35 var(--display); color: var(--body); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.checks b { color: var(--text); font-weight: 700; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 10px 0 34px; padding: 0; list-style: none; counter-reset: step; }
.flow li { position: relative; padding: 18px 16px 20px; background: var(--raised); border: 1px solid var(--line); border-left-width: 0; }
.flow li:first-child { border-left-width: 1px; border-radius: 14px 0 0 14px; }
.flow li:last-child { border-radius: 0 14px 14px 0; }
.flow li + li::before { content: ''; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: var(--raised); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow small { display: block; margin-bottom: 8px; color: var(--accent); font: 500 10px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.flow strong { display: block; margin-bottom: 6px; font: 800 22px/1.05 var(--display); color: var(--text); }
.flow span { display: block; color: var(--subtle); font: 500 16px/1.3 var(--display); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 14px; }
.card { padding: 26px 26px 12px; background: var(--raised); border: 1px solid var(--line); border-radius: 16px; }
.card .label { margin-bottom: 12px; }
.card h3 { margin: 0 0 14px; font: 800 28px/1 var(--display); }
.card p { font-size: 19px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--subtle); font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

.cta { padding: 90px 0 110px; text-align: center; border-top: 1px solid var(--line); }
.cta h2 { margin: 0 auto 26px; max-width: 18ch; }
.cta p { margin-left: auto; margin-right: auto; }
.cta .tagline { margin-top: 36px; }

.cases-list { display: grid; gap: 28px; padding: 40px 0 120px; }
.case-card { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; background: var(--raised); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .25s ease, transform .25s ease; }
.case-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.case-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; min-height: 280px; }
.case-card .body { padding: clamp(24px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.case-card h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.case-card p { font-size: 20px; }
.case-card .more { margin-top: 10px; color: var(--accent); font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }

.page .site-footer { padding-top: 30px; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .block { grid-template-columns: 1fr; gap: 14px; padding: 48px 0; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li:first-child, .flow li:last-child { border-left-width: 1px; border-top-width: 0; border-radius: 0; }
  .flow li:first-child { border-top-width: 1px; border-radius: 14px 14px 0 0; }
  .flow li:last-child { border-radius: 0 0 14px 14px; }
  .flow li + li::before { left: 50%; top: -7px; transform: translateX(-50%) rotate(135deg); }
  .two, .shots, .case-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar { padding: 16px 16px; }
  .topbar nav { gap: 12px; }
  .topbar .brand { font-size: 21px; }
  .home-links { margin-top: 24px; }
}
.shots-gap { margin-top: 24px; align-items: start; }
.case-card p.more { margin: 10px 0 0; color: var(--accent); font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }

.page p.back { margin: 0 0 26px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.page p.back a { color: var(--subtle); text-decoration: none; }
.page p.back a:hover { color: var(--text); }
.flow strong { font-size: 20px; white-space: nowrap; }
.page p.label { margin: 0 0 18px; color: var(--accent); font: 500 11px/1.6 var(--mono); letter-spacing: .22em; text-transform: uppercase; max-width: none; }
.card p.label, .case-card p.label { margin-bottom: 12px; }

/* ---------------------------------------------------------------------------------------------------------------
   Visual components of the case pages (generated by solavo-site-build/visuals.py): one language for every case.
   --------------------------------------------------------------------------------------------------------------- */
.block.wide { grid-template-columns: 1fr; gap: 10px; }
.block.wide > .num { display: flex; gap: 14px; align-items: baseline; }
.block.wide > .num b { display: inline; margin: 0; }
.block.wide h2 { max-width: 22ch; }
.ic { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.big { width: 38px; height: 38px; }

/* the project in phases */
.overview { padding: 0 0 56px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(134, 179, 71, .25)); }
.timeline li { position: relative; padding: 34px 18px 0 0; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-mid); border: 2px solid var(--accent); }
.timeline li:last-child .dot { background: var(--accent); }
.timeline small { display: block; margin-bottom: 8px; color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.timeline strong { display: block; margin-bottom: 6px; font: 800 26px/1 var(--display); }
.timeline .t { display: block; color: var(--subtle); font: 500 17px/1.3 var(--display); }

/* wishes and the same wishes ticked off */
.wishgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 8px; padding: 0; list-style: none; }
.wishgrid li { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 170px; padding: 22px 22px 20px; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; }
.wishgrid b { font: 700 21px/1.15 var(--display); color: var(--text); }
.wishgrid li > span:not(.tick) { color: var(--subtle); font: 500 17px/1.3 var(--display); }
.wishgrid li.done { border-color: rgba(134, 179, 71, .45); background: linear-gradient(180deg, rgba(134, 179, 71, .09), var(--raised) 60%); }
.wishgrid .tick { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.wishgrid .tick .ic { width: 18px; height: 18px; stroke: #10150a; stroke-width: 2.6; }

/* diagrams */
.diagram { margin: 30px 0 14px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background-color: var(--raised); background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; }
.diagram figcaption { margin-top: 18px; color: var(--muted); font: 500 10px/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.dg { display: block; width: 100%; height: auto; }
.dg-node { fill: #171b20; stroke: #3a434b; stroke-width: 1.4; }
.dg-accent { stroke: var(--accent); fill: rgba(134, 179, 71, .1); }
.dg-weight { fill: #1b2127; }
.dg-result { stroke: var(--accent); fill: rgba(134, 179, 71, .12); stroke-width: 1.8; }
.dg-hub { fill: #171b20; stroke: var(--accent); stroke-width: 2; }
.dg-lane { fill: rgba(255, 255, 255, .025); stroke: #2c333a; stroke-width: 1; }
.dg-lane-l { fill: var(--muted); font: 500 12px var(--mono); letter-spacing: .26em; text-transform: uppercase; }
.dg-link { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.dg-dash { stroke-dasharray: 3 6; opacity: .7; }
.dg-dot { fill: var(--accent); }
.dg-title { fill: var(--text); font: 800 21px var(--display); }
.dg-sub { fill: var(--subtle); font: 500 11.5px var(--mono); letter-spacing: .02em; }
.dg-c { }
.dg-acc { fill: var(--accent); letter-spacing: .2em; }
.dg-small { font-size: 20px; }
.dg-list { display: none; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.principles li { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; }
.principles strong { font: 800 26px/1.05 var(--display); }
.principles span { color: var(--subtle); font: 500 18px/1.35 var(--display); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 26px 20px 26px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 800 clamp(64px, 9vw, 110px)/.9 var(--display); color: var(--accent); }
.stats span { display: block; margin-top: 10px; color: var(--subtle); font: 500 18px/1.3 var(--display); max-width: 18ch; }

@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 4px; }
  .timeline::before { left: 11px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), rgba(134, 179, 71, .25)); }
  .timeline li { padding: 0 0 0 40px; }
  .timeline .dot { left: 4px; top: 2px; }
  .wishgrid, .principles { grid-template-columns: 1fr 1fr; }
  .wishgrid li { min-height: 0; }
  .dg { display: none; }
  .dg-list { display: block; }
  .dg-list .dg-h { margin: 18px 0 8px; color: var(--accent); font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
  .dg-list .dg-h:first-child { margin-top: 0; }
  .dg-list ul, .dg-list ol { margin: 0; padding: 0; list-style: none; }
  .dg-list li { position: relative; margin-bottom: 8px; padding: 12px 14px; background: #171b20; border: 1px solid #3a434b; border-radius: 12px; font: 800 19px/1.15 var(--display); }
  .dg-list li span { display: block; margin-top: 3px; color: var(--subtle); font: 500 11px/1.4 var(--mono); letter-spacing: .04em; }
  .dg-list li + li::before { content: ''; position: absolute; left: 22px; top: -9px; width: 2px; height: 9px; background: var(--accent); }
  .dg-list .w li { border-color: rgba(134, 179, 71, .5); }
  .dg-res { margin: 0; padding: 14px; border: 1px solid var(--accent); border-radius: 12px; background: rgba(134, 179, 71, .1); font: 800 19px/1.2 var(--display); color: var(--text); }
  .stats { grid-template-columns: 1fr; }
  .stats div, .stats div + div { padding: 20px 0; border-left: 0; }
  .stats div + div { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wishgrid, .principles { grid-template-columns: 1fr; }
  .diagram { padding: 18px; }
}

/* inline code: green on dark, like a code block, for a phrase worth a second look */
.page code { padding: .08em .45em .12em; border: 1px solid #2c333a; border-radius: 6px; background: #0e1114; color: var(--accent); font: 500 .78em/1 var(--mono); letter-spacing: .02em; white-space: nowrap; }

.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.scen { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; opacity: .78; }
.scen.chosen { opacity: 1; border-color: var(--accent); background: linear-gradient(180deg, rgba(134, 179, 71, .12), var(--raised) 70%); }
.scen small { color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.scen strong { font: 800 25px/1.05 var(--display); }
.scen span { position: relative; padding-left: 22px; color: var(--subtle); font: 500 17px/1.3 var(--display); }
.scen span::before { position: absolute; left: 0; top: 0; font: 700 15px/1.5 var(--mono); }
.scen .pro::before { content: '+'; color: var(--accent); }
.scen .con::before { content: '–'; color: #d98b6a; }
.scen em { align-self: flex-start; margin-top: 6px; padding: 6px 11px; border: 1px solid #3a434b; border-radius: 999px; color: var(--muted); font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; font-style: normal; }
.scen.chosen em { background: var(--accent); border-color: var(--accent); color: #10150a; }
.page p.label.sc { margin: 34px 0 0; }
.quote-wrap { padding: 20px 0 80px; }
.pullquote { margin: 0; padding: 10px 0 10px 34px; border-left: 3px solid var(--accent); }
.pullquote p { max-width: 26ch; margin: 0 0 18px; color: var(--text); font: 800 clamp(34px, 5vw, 62px)/1.02 var(--display); }
.pullquote figcaption { color: var(--muted); font: 500 11px/1.6 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 860px) { .scenarios { grid-template-columns: 1fr; } .pullquote { padding-left: 20px; } }
.pullquote blockquote { margin: 0; }

/* hook at the top of a case: big promise, picture first, then the before/after, then the facts */
.hook { padding-bottom: 36px; }
.hook .lede { max-width: 28ch; }
.live { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0 !important; }
.live .pill { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: 1fr 2fr 1.5fr; gap: 0; margin: 54px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 22px 24px 22px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts small { display: block; margin-bottom: 12px; color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.facts p { margin: 0; font: 700 21px/1.25 var(--display); color: var(--text); }
.facts .tags { margin: 0; }
.pullquote figcaption a { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; border-radius: 4px; background: #0a66c2; color: #fff; font: 700 11px/1 var(--display); letter-spacing: 0; text-transform: lowercase; text-decoration: none; vertical-align: middle; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 18px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
}

/* ---- device frames (visuals.browser / visuals.phone): the same frame for every screenshot ---- */
.device-browser { position: relative; }
.shot .bar { position: relative; }
.shot .bar .url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 55%; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); font: 500 10px/1.2 var(--mono); letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-phone { position: relative; margin: 0; }
.device-phone .bezel { position: relative; padding: 8px; border-radius: 40px; background: linear-gradient(160deg, #2a3036, #0c0e11 40%, #15181c); box-shadow: inset 0 0 0 1px #3a434b, inset 0 0 0 3px #0b0d10, 0 30px 70px rgba(0, 0, 0, .55); }
.device-phone .bezel::before, .device-phone .bezel::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #2a3036; }
.device-phone .bezel::before { left: -3px; top: 22%; height: 12%; }
.device-phone .bezel::after { right: -3px; top: 28%; height: 18%; }
.device-phone .screen { position: relative; overflow: hidden; border-radius: 32px; padding-top: 26px; }
.device-phone .screen.light { background: #fff; }
.device-phone .screen.dark { background: #1b1b1b; }
.device-phone .island { position: absolute; z-index: 1; top: 8px; left: 50%; width: 32%; height: 16px; border-radius: 999px; background: #000; transform: translateX(-50%); }
.device-phone img { display: block; width: 100%; height: auto; }
.device-phone figcaption { text-align: center; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }
.phones .device-phone { width: min(240px, 44%); }

/* ---- badges: always pinned to the edge of their device, never floating in the picture ---- */
.badge { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid rgba(134, 179, 71, .55); border-radius: 999px; background: #0e1114; color: var(--text); font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(134, 179, 71, .2); }
.badge.b-browser { left: 28px; bottom: -17px; }
.badge.b-top { right: 14px; top: -17px; }
.badge.b-bottom { right: 14px; bottom: -17px; }

/* ---- the opening picture: browser and phone together ---- */
.stage { position: relative; margin: 26px 0 0; padding: 0 0 64px; }
.stage .device-browser { width: 84%; }
.stage .stage-phone { position: absolute; right: 0; bottom: 18px; width: 23%; }

/* ---- then and now ---- */
.shift { display: grid; gap: 14px; margin: 50px 0 0; }
.shift .row { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 18px; }
.shift small { color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.shift .after small { color: var(--accent); }
.shift ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin: 0; padding: 0; list-style: none; }
.shift li { position: relative; display: flex; align-items: center; min-height: 58px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); font: 700 clamp(17px, 1.7vw, 21px)/1.15 var(--display); }
.shift li:not(:last-child)::after { content: '→'; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); color: var(--muted); font: 500 16px/1 var(--mono); }
.shift .before li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(217, 139, 106, .7); text-decoration-thickness: 1.5px; }
.shift .after li { border-color: rgba(134, 179, 71, .55); background: rgba(134, 179, 71, .1); color: var(--text); }
.shift .after li:not(:last-child)::after { color: var(--accent); }

@media (max-width: 860px) {
  .case-head { padding: 40px 0 34px; }
  .hook { padding-bottom: 20px; }
  .live { gap: 10px; }
  .live .pill { padding: 12px 16px; font-size: 10px; }
  .stage { margin-top: 30px; padding-bottom: 96px; }
  .stage .device-browser { width: 100%; }
  .stage .stage-phone { width: 36%; right: -4px; bottom: 0; }
  .device-phone .bezel { padding: 5px; border-radius: 24px; }
  .device-phone .screen { border-radius: 19px; padding-top: 14px; }
  .device-phone .island { top: 4px; height: 9px; }
  .badge { gap: 7px; padding: 8px 11px; font-size: 9px; letter-spacing: .1em; }
  .badge::before { width: 6px; height: 6px; }
  .badge.b-top { right: 8px; top: -15px; }
  .badge.b-bottom { right: 8px; bottom: -15px; }
  .shot .bar { height: 24px; padding: 0 10px; }
  .shot .bar i { width: 6px; height: 6px; }
  .shot .bar .url { font-size: 8.5px; padding: 3px 10px; }
  .shift { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
  .shift .row { grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .shift ol { grid-template-columns: 1fr; gap: 22px; }
  .shift li { min-height: 64px; padding: 10px 12px; font-size: 16px; }
  .shift li:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%); font-size: 14px; }
  .phones { gap: 16px; }
  .phones .device-phone { width: 46%; }
}

.stage-legend { display: none; }
@media (max-width: 600px) {
  /* phones: the badges leave the picture and become a short legend under it */
  .stage .badge { display: none; }
  .stage { padding-bottom: 70px; }
  .stage-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
  .stage-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(134, 179, 71, .45); border-radius: 999px; color: var(--text); font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
  .stage-legend li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .live { flex-wrap: nowrap; }
  .live .pill { padding: 11px 13px; font-size: 9.5px; letter-spacing: .12em; }
  /* compact rows: icon left, text right */
  .wishgrid li, .principles li { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; row-gap: 4px; align-items: start; min-height: 0; padding: 16px 16px 16px 14px; }
  .wishgrid li > .ic, .principles li > .ic { grid-row: 1 / span 2; margin-top: 1px; }
  .principles .ic.big { width: 28px; height: 28px; }
  .wishgrid li.done { padding-right: 48px; }
  .wishgrid .tick { top: 14px; right: 14px; width: 24px; height: 24px; }
  .wishgrid .tick .ic { width: 14px; height: 14px; }
  .wishgrid b { font-size: 18px; }
  .wishgrid li > span:not(.tick), .principles span { font-size: 15.5px; }
  .principles strong { font-size: 21px; }
  .wishgrid, .principles { gap: 10px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div, .stats div + div { padding: 18px 10px 18px 0; border-top: 0; }
  .stats div + div { padding-left: 12px; border-left: 1px solid var(--line); }
  .stats b { font-size: 56px; }
  .stats span { font-size: 14px; }
  .block { padding: 40px 0; }
}
@media (max-width: 600px) { .cta { padding: 60px 0 70px; } .quote-wrap { padding: 10px 0 50px; } }
.scenarios + p { margin-top: 30px; }
.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; }
.dg-mermaid { padding: 22px; }
/* text next to an upright diagram (use case diagrams) */
.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.side .diagram { margin-top: 0; }
.legend { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 12px; color: var(--subtle); font: 500 17px/1.3 var(--display); }
.legend li::before { content: ''; flex: none; width: 34px; height: 18px; }
.legend .lg-shared::before { border-radius: 50%; border: 1.8px solid var(--accent); background: #1f2a1e; }
.legend .lg-one::before { height: 2px; background: var(--accent); }
.legend .lg-box::before { border-radius: 6px; border: 1px solid #3a434b; background: rgba(255, 255, 255, .03); }
@media (max-width: 860px) { .side { grid-template-columns: 1fr; } }

/* facts at the top: plain lists with a green dot */
.facts ul.dots { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.facts ul.dots li { position: relative; padding-left: 18px; color: var(--text); font: 600 18px/1.35 var(--display); }
.facts ul.dots li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* the question (open boxes) and the result (the same boxes, ticked) */
.checklist { display: grid; gap: 0; max-width: 64ch; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { display: flex; align-items: flex-start; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.checklist .box { flex: none; position: relative; width: 22px; height: 22px; margin-top: 2px; border: 1.6px solid #4a535b; border-radius: 6px; }
.checklist.done .box { border-color: var(--accent); background: var(--accent); }
.checklist.done .box::after { content: ''; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; border: solid #10150a; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.checklist b { display: block; color: var(--text); font: 700 clamp(18px, 1.7vw, 21px)/1.3 var(--display); }
.checklist em { display: block; margin-top: 3px; color: var(--subtle); font: 500 17px/1.35 var(--display); font-style: normal; }
.facts > div:nth-child(2) ul.dots { grid-template-columns: 1fr 1fr; column-gap: 18px; }
@media (max-width: 600px) { .facts > div:nth-child(2) ul.dots { grid-template-columns: 1fr; } }

/* section 03: the options as a plain list; the chosen one in green */
.options { display: grid; gap: 14px; max-width: 64ch; margin: 22px 0 26px; padding: 0; list-style: none; }
.options li { position: relative; padding-left: 26px; }
.options li::before { content: ''; position: absolute; left: 3px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: #4a535b; }
.options li.chosen::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(134, 179, 71, .18); }
.options b { display: block; color: var(--subtle); font: 700 clamp(18px, 1.7vw, 21px)/1.3 var(--display); }
.options li.chosen b { color: var(--text); }
.options span { display: block; margin-top: 2px; color: var(--muted); font: 500 17px/1.35 var(--display); }
.options li.chosen span { color: var(--accent); }

/* pass 6: one rhythm for the whole case, less empty space */
.case-head.hook { padding: 56px 0 28px; }
.stage { margin-top: 18px; padding-bottom: 40px; }
.facts { margin-top: 28px; }
.block, .block.wide { padding: 44px 0; gap: 8px; }
.block h2 { margin-bottom: 18px; }
.block.wide > div > p, .block.wide > div > .checklist, .block.wide > div > .options { max-width: 64ch; }
.page p.label.sub { margin: 34px 0 10px; }
.checklist { margin-top: 14px; }
.options { margin: 14px 0 20px; }
.diagram { margin-top: 18px; }
.shots { margin-top: 4px; }
.shots-gap { margin-top: 20px; }
.quote-wrap { padding: 12px 0 36px; }
.cta { padding: 56px 0 72px; }
@media (max-width: 860px) {
  .case-head.hook { padding: 36px 0 20px; }
  .block, .block.wide { padding: 34px 0; }
  .stage { padding-bottom: 80px; }
}
.checklist + p { margin-top: 22px; }
/* checklists use the full width: two columns on wide screens */
.block.wide > div > .checklist { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
.block.wide > div > .checklist li:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .block.wide > div > .checklist { grid-template-columns: 1fr; } .block.wide > div > .checklist li:nth-child(2) { border-top: 0; } }
.hook ~ .stats, .facts + .stats { margin-top: 0; border-top: 0; }
.facts + .stats b { font-size: clamp(44px, 6vw, 72px); }
@media (max-width: 600px) { .facts + .stats { grid-template-columns: 1fr; } .facts + .stats div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* numbers with an icon */
.facts + .stats div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.facts + .stats .ic { grid-row: 1 / span 2; width: 34px; height: 34px; }
.facts + .stats span { grid-column: 2; margin-top: 4px; }

/* story left, checklist right, a line between */
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.split-left { padding-right: 40px; }
.split-right { padding-left: 40px; border-left: 1px solid var(--line); }
.split-right .page p.label.sub, .split-right p.label.sub { margin-top: 6px; }
.block.wide.split .split-right .checklist { display: grid; grid-template-columns: 1fr; max-width: none; margin-top: 6px; border-top: 1px solid var(--line); }
.block.wide.split .split-right .checklist li { border-top: 0; padding: 12px 0; }
.split-right .checklist em { font-size: 16px; }
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-left { padding-right: 0; }
  .split-right { padding-left: 0; border-left: 0; margin-top: 10px; }
}
.facts + .stats div { display: block; }
.facts + .stats .ic { display: block; width: 30px; height: 30px; margin-bottom: 14px; }
.facts + .stats b { white-space: nowrap; font-size: clamp(40px, 5vw, 64px); }
.facts + .stats span { max-width: 26ch; }
@media (max-width: 600px) {
  .facts + .stats div, .facts + .stats div + div { display: grid; grid-template-columns: 28px auto 1fr; column-gap: 14px; align-items: center; padding: 14px 0; }
  .facts + .stats .ic { width: 26px; height: 26px; margin: 0; }
  .facts + .stats b { font-size: 34px; }
  .facts + .stats span { margin: 0; font-size: 15px; }
}

/* who does what (visuals.usecase): actor | gutter line | functions in system frames | gutter line | actor.
   Every function row is the same height, so a function's pill and the line that reaches it share one middle. */
.uc { padding: 28px 22px 18px; --lw: 2px; --gw: 40px; --ah: 54px; }
.uc-grid { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px; align-items: center; max-width: 760px; margin: 0 auto; }
.uc-actor { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.uc-actor .ic.big { width: var(--ah); height: var(--ah); padding: 11px; border: 1.4px solid #3a434b; border-radius: 14px; background: #1e242a; stroke: var(--text); box-sizing: border-box; }
.uc-actor b { font: 700 17px/1.2 var(--display); color: var(--text); }
.uc-actor::after { content: ''; position: absolute; top: calc(var(--ah) / 2 - 1px); width: calc(50% - var(--ah) / 2 + var(--gw) / 2); border-top: var(--lw) solid var(--accent); }
.uc-actor.left::after { left: calc(50% + var(--ah) / 2); }
.uc-actor.right::after { right: calc(50% + var(--ah) / 2); }
.uc-rows { display: grid; }
.uc-row { display: grid; grid-template-columns: var(--gw) minmax(0, 1fr) var(--gw); }
.uc-row.gap { height: 14px; }
.uc-row.title { height: 34px; }
.uc-row.fn { height: 60px; }
.uc-row.cap { height: 14px; }
.uc-c { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: rgba(255, 255, 255, .03); border-left: 1px solid #2c333a; border-right: 1px solid #2c333a; }
.uc-row.gap .uc-c { background: none; border: 0; }
.uc-row.title .uc-c { align-items: flex-end; border-top: 1px solid #2c333a; border-radius: 14px 14px 0 0; padding-bottom: 4px; }
.uc-row.cap .uc-c { border-bottom: 1px solid #2c333a; border-radius: 0 0 14px 14px; }
.uc-row.title small { color: var(--accent); font: 500 10.5px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.uc-fn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 230px; height: 42px; padding: 0 14px; border: 1.4px solid #3a434b; border-radius: 999px; background: #171b20; color: var(--text); font: 600 16px/1.15 var(--display); text-align: center; }
.uc-fn.shared { border-color: var(--accent); background: #1f2a1e; }
/* the stub from the frame edge to the pill (clipped by the frame, so it starts exactly at the gutter) */
.uc-fn.l::before, .uc-fn.r::after { content: ''; position: absolute; top: calc(50% - 1px); width: 200px; border-top: var(--lw) solid var(--accent); z-index: -1; }
.uc-fn.l::before { right: 100%; }
.uc-fn.r::after { left: 100%; }
/* gutters: one vertical line per actor with rounded ends and a tee to each function; it meets the stub at the frame edge */
.uc-g { position: relative; }
.uc-g.through::before, .uc-g.first::before, .uc-g.last::before { content: ''; position: absolute; left: calc(50% - 1px); border-left: var(--lw) solid var(--accent); }
.uc-g.through::before { top: 0; bottom: 0; }
.uc-g.first::before { top: calc(50% - 1px); bottom: 0; right: 0; border-top: var(--lw) solid var(--accent); border-top-left-radius: 12px; }
.uc-g.last::before { top: 0; height: calc(50% + 1px); right: 0; border-bottom: var(--lw) solid var(--accent); border-bottom-left-radius: 12px; }
.uc-g.tee::after { content: ''; position: absolute; top: calc(50% - 1px); left: calc(50% - 1px); right: 0; border-top: var(--lw) solid var(--accent); }
/* the right-hand gutter mirrors the left one */
.uc-rows > .uc-row > .uc-g:last-child.through::before { left: auto; right: calc(50% - 1px); border-left: 0; border-right: var(--lw) solid var(--accent); }
.uc-rows > .uc-row > .uc-g:last-child.first::before, .uc-rows > .uc-row > .uc-g:last-child.last::before { left: 0; right: calc(50% - 1px); border-left: 0; border-right: var(--lw) solid var(--accent); }
.uc-rows > .uc-row > .uc-g:last-child.first::before { border-top-left-radius: 0; border-top-right-radius: 12px; }
.uc-rows > .uc-row > .uc-g:last-child.last::before { border-bottom-left-radius: 0; border-bottom-right-radius: 12px; }
.uc-rows > .uc-row > .uc-g:last-child.tee::after { left: 0; right: calc(50% - 1px); }
@media (max-width: 600px) {
  .uc { padding: 20px 8px 12px; --gw: 22px; --ah: 44px; }
  .uc-grid { grid-template-columns: 62px minmax(0, 1fr) 62px; }
  .uc-actor .ic.big { padding: 9px; }
  .uc-actor b { font-size: 13px; }
  .uc-c { padding: 0 8px; }
  .uc-fn { font-size: 14px; height: 40px; padding: 0 8px; }
  .uc-row.title small { font-size: 9px; letter-spacing: .1em; }
}
}
/* phones beside the three options */
.split-right.phones-side { display: flex; align-items: center; justify-content: center; }
.phones-side .phones { gap: 20px; }
.phones-side .device-phone { width: min(200px, 46%); }
.block.wide.split > div:last-child:not(.split-grid) { margin-top: 10px; }
.uc-c { isolation: isolate; }

/* contact page: the signature as clean HTML, and a form that opens the visitor's mail app */
.contact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; padding: 10px 0 100px; }
.sig { display: flex; align-items: stretch; gap: 0; padding: 0; overflow: hidden; background: #171b20; border-radius: 18px; }
.sig img { display: block; width: 190px; height: 190px; object-fit: cover; flex: none; border-right: 1px solid #3a4048; }
.sig-body { display: flex; flex-direction: column; justify-content: center; padding: 18px 26px; min-width: 0; }
.sig h2 { margin: 0 0 2px; color: var(--accent); font: 800 24px/1.15 var(--display); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sig .in { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: #0a66c2; color: #fff; font: 700 12px/1 var(--display); text-decoration: none; }
.sig .role { margin: 0 0 12px; color: var(--text); font: 700 16px/1.2 var(--display); }
.sig ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sig li { display: flex; align-items: center; gap: 12px; color: #e9e9e4; font: 500 16px/1.3 var(--display); }
.sig li a { color: inherit; text-decoration: none; }
.sig li a.web { color: var(--accent); font-weight: 700; }
.sig .ic { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sig .quote { margin: 12px 0 0; color: #7f8581; font: 500 12px/1.3 var(--display); letter-spacing: .3px; }
.mail { display: grid; gap: 8px; }
.mail label { color: var(--muted); font: 500 10.5px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.mail input, .mail textarea { width: 100%; padding: 14px 16px; border: 1px solid #3a434b; border-radius: 12px; background: #171b20; color: var(--text); font: 500 18px/1.4 var(--display); }
.mail textarea { resize: vertical; min-height: 150px; }
.mail input:focus-visible, .mail textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mail ::placeholder { color: #6b7378; }
.mail button.pill { justify-self: start; margin-top: 8px; background: transparent; cursor: pointer; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.mail .hint { margin: 6px 0 0; color: var(--muted); font: 500 16px/1.4 var(--display); max-width: 44ch; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .sig { flex-direction: column; }
  .sig img { width: 100%; height: 220px; border-right: 0; border-bottom: 1px solid #3a4048; }
  .sig-body { padding: 20px; }
}
.contact { grid-template-columns: minmax(0, 560px); }
.contact { padding-top: 0; }
.case-head:has(+ .contact) { padding-bottom: 20px; }
.case-head:has(+ .contact) .lede { margin-top: 18px; }
.contact-split { border-top: 0; padding-top: 70px; }
.contact-split .lede { max-width: 22ch; }
.contact-split .split-right { padding-top: 6px; }
@media (max-width: 860px) { .contact-split { padding-top: 40px; } }
.contact-split h1 { margin-bottom: 22px; font-size: clamp(40px, 5vw, 68px); }
.contact-split .num b { color: var(--accent); }
.mail .send { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.mail .send .pill { margin-top: 0; }
.mail .pill.ghost { border-color: #2c333a; color: var(--subtle); }
.mail .pill.ghost:hover { color: var(--text); }
.mail:not(:has(script)) [data-open] { display: inline-flex; }
.facts + .stats { grid-template-columns: repeat(2, 1fr); }
