/* =================================================================
   DARK MODE — loaded last, overrides every earlier layer.
   Flat colours only. Change the tokens here to retune the whole site.
   ================================================================= */
:root {
  --bg: #0B1315;
  --bg-2: #101A1C;
  --panel: #121D20;
  --text: #ECF0F0;
  --text-2: #D2DBDC;
  --muted: #A6B4B6;
  --faint: #8A9B9E;
  --line: #1D2B2F;
  --line-2: #33464B;
  --accent: #B8432F;
  --accent-ink: #A33A28;
  --on-accent: #FFFFFF;
  --accent-text: #E0705C;
  color-scheme: dark;
}
html, body { background: var(--bg); color: var(--text); }

/* Buttons: light on dark */
.btn { background: var(--text); color: #0B1315; }
.btn:hover { background: #FFFFFF; }
.btn--line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--line:hover { background: transparent; border-color: var(--text); }
.btn--blue { background: var(--accent); color: #fff; }
.btn--blue:hover { background: var(--accent-ink); }
.nav .btn { color: #0B1315; }

/* Header */
.hdr.is-scrolled, .page-home .hdr.is-scrolled, .page-spot .hdr.is-scrolled { background: rgba(11, 19, 21, .9); border-color: var(--line); }
.page-home .hdr:not(.is-scrolled) .logo, .page-home .hdr:not(.is-scrolled) .nav > a:not(.btn) { color: var(--text); }
.page-home .hdr:not(.is-scrolled) .nav > a:not(.btn) { color: var(--muted); }
.page-home .hdr:not(.is-scrolled) .menu-btn { color: var(--text); border-color: var(--line-2); }
@media (max-width: 820px) { .nav { background: var(--bg); } }

/* Sections and cards on inner pages */
.sec--grey { background: var(--bg-2); }
.grid-4 { background: var(--line); border-color: var(--line); }
.grid-4 > div { background: var(--panel); }
.portrait { background: var(--panel); }
.next { background: var(--bg-2); }
.form { background: var(--panel); }
.field input, .field textarea, .field select { background: var(--bg); color: var(--text); border-color: var(--line-2); }
.specimens div, .roles li, .tags li { background: var(--panel); }
.lp-index button::after { background: var(--panel) !important; color: var(--text) !important; border-color: var(--line-2) !important; }

/* Footer: one step darker than the page */
.ftr { background: #070D0F; }

/* ---------- Home (spotlight) ---------- */
.page-spot {
  --sp-beige: #0B1315;
  --sp-taupe: #172427;
  --sp-beam: #1F2C9E;
  --sp-deep: #9FAAFF;
  --sp-lime: #E2F99A;
  --sp-ink: #ECF0F0;
  --sp-blue: #121633;
  background: var(--sp-beige);
}
.page-spot .hdr .nav .btn, .page-spot .hdr:not(.is-scrolled) .nav .btn { background: var(--sp-lime); color: #0B1315; }
.sp-hero__side { color: var(--muted); }
.sp-card { background: #000; box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .9); }
.page-spot .lp { background: var(--sp-beige); }

/* Statement: dark, websites playing inside the letters */
.sp-statement { background: #101A1C; }
.sp-statement__text { color: var(--text); }

/* Names */
.sp-names { background: #070D0F; }
.sp-names__list:hover li { color: #44444C; }

/* Service cards: deep tinted panels, accent-coloured titles */
.sp-card2 { color: var(--text); border: 1px solid rgba(255, 255, 255, .06); }
.sp-card2:nth-of-type(1) { --c: #1A2010 !important; --t: #E2F99A; }
.sp-card2:nth-of-type(2) { --c: #0F1F22 !important; --t: #A8EEF5; }
.sp-card2:nth-of-type(3) { --c: #17152B !important; --t: #C5BFFF; }
.sp-card2:nth-of-type(4) { --c: #26180F !important; --t: #FFC9A6; }
.sp-card2:nth-of-type(5) { --c: #1E1A15 !important; --t: #EBD9C2; }
.sp-card2 h3, .sp-card2__n { color: var(--t); }
.sp-card2__sub { color: var(--text); }
.sp-card2__row p:not(.sp-card2__sub) { color: var(--muted); }

/* Numbers */
.sp-nums__kicker { color: var(--faint); }
.sp-nums__note { color: var(--muted); }
.sp-odo { color: var(--text); }

/* Cities + globe */
.sp-cities { background: var(--sp-blue); }
.sp-cities__side h2 { color: #FFFFFF; }
.sp-cities__side p { color: #A9AED8; }

/* Final call */
/* the signature colour section: the closing call, solid brick (palette R2, Nov 2026) */
.sp-end { background: #B8432F; border-top: 0; }
.sp-end a { color: #FFFFFF; border-color: rgba(255, 255, 255, .45); }
.sp-end a:hover, .sp-end a:focus-visible { color: #FFFFFF; border-color: #FFFFFF; }

/* Live previews keep a white page background (the websites themselves) */
.lp-screen iframe, .lp-touch, .live-frame, .pv__dev { background: #fff; }

/* fixes */
.sp-names__card span { color: #0B1315; }
.page-spot .sp-fill { background-image: url("../img/work/strip-bright.webp"); }
.nav .btn[aria-current="page"] { color: #0B1315; }
.page-spot .sp-fill { -webkit-text-stroke: 1.5px rgba(236, 240, 240, .55); }

/* Header call to action "Let's work together": solid blue, the only coloured thing in the header (option B) */
.page-spot .hdr:not(.is-scrolled) .nav a.nav__cta, .page-spot .hdr .nav a.nav__cta, .hdr .nav a.nav__cta { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px; border: 0; border-radius: 8px; background: #B8432F; color: #fff; font: 500 15px var(--sans); transition: background .2s; }
.page-spot .hdr:not(.is-scrolled) .nav a.nav__cta:hover, .page-spot .hdr .nav a.nav__cta:hover, .hdr .nav a.nav__cta:hover { background: #A33A28; }
.nav__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 820px) { .page-spot .hdr .nav a.nav__cta, .hdr .nav a.nav__cta { height: 48px; padding: 0 22px; margin-top: 24px; font-size: 16px; } }

/* Footer: four calm columns, no big call block (pages end with their own call) */
.ftr__cols { margin-top: 0; border-top: 0; padding-block: 56px 40px; }
.ftr .ftr__cols a.ftr__btn { display: inline-flex; margin-top: 20px; color: #fff; }
.ftr__cols .ftr__h { color: #9FAEB0; letter-spacing: .02em; }

/* Phones: the bottom bar with "Let's work together" */
.mbar { display: none; }
@media (max-width: 820px) {
  .mbar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px;
    border-radius: 10px; background: #B8432F; color: #fff; font: 500 16px var(--sans); text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8); transform: translateY(80px); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
  .mbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .mbar.on { transform: none; opacity: 1; pointer-events: auto; }
}

/* ================= UI pass (Nov 2026) ================= */
/* One button system: blue = the main action, outline = everything else. Same size and corners everywhere. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  background: var(--accent); color: #fff; font: 500 15.5px var(--sans); letter-spacing: 0; text-decoration: none; box-shadow: none; transform: none; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--accent-ink); color: #fff; transform: none; box-shadow: none; }
.btn--line, .live-btn, .lp-exit { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--line:hover, .live-btn:hover, .lp-exit:hover { background: transparent; color: var(--text); border-color: var(--text); }
.live-btn { border-radius: 8px; }

/* Calmer headings: the promise and the packages stay big, the rest a step smaller */
.h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }

/* Every page ends the same way */
.endcall { border-top: 1px solid var(--line); padding-block: clamp(64px, 10vh, 110px); background: var(--bg); }
.endcall__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; }
.endcall__face .photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; aspect-ratio: 1; display: block; }
.endcall__face .photo--ph { display: grid; place-items: center; }
.endcall__h { margin: 0; font: 600 clamp(1.7rem, 3vw, 2.6rem)/1.05 var(--sans); letter-spacing: -.045em; max-width: 22ch; }
.endcall__txt p { margin: 10px 0 0; color: var(--muted); max-width: 54ch; }
.endcall__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .endcall__in { grid-template-columns: auto minmax(0, 1fr); }
  .endcall__btns { grid-column: 1 / -1; }
  .endcall__face .photo { width: 64px; height: 64px; }
}
@media (max-width: 520px) { .endcall__in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .endcall__btns .btn { flex: 1 1 100%; } }

/* Case pages: what the client got, in one line */
.case-got { margin: 18px 0 0; font: 500 14.5px/1.6 var(--mono); color: var(--text-2); letter-spacing: 0; }
.case-got span { color: #E0705C; margin-right: 12px; }

/* Erasmus+ visibility example (Our work) */
.euvis { margin: clamp(36px, 6vh, 60px) 0 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.euvis__mock { background: #EEEAE2; color: #142022; border-radius: 14px; overflow: hidden; }
.euvis__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #E2DED6; }
.euvis__bar i { width: 9px; height: 9px; border-radius: 50%; background: #C7C1B6; }
.euvis__bar span { margin-left: 8px; font: 12.5px var(--mono); color: #5E5A53; }
.euvis__foot { padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.euvis__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.euvis__eu, .euvis__org { position: relative; display: flex; align-items: center; gap: 12px; }
.euvis__flag { width: 66px; height: 44px; display: block; flex: none; }
.euvis__eu span { font: 600 15px/1.2 Arial, sans-serif; color: #003399; }
.euvis__org span { display: grid; place-items: center; height: 44px; padding: 0 16px; border: 1px dashed #A9A398; border-radius: 6px; font: 13px var(--mono); color: #5E5A53; }
.euvis__disc { position: relative; margin: 0; padding-top: 16px; border-top: 1px solid #D8D3C9; font-size: 12.5px; line-height: 1.5; color: #454E50; }
.euvis__n, .euvis__notes b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #B8432F; color: #fff; font: 600 12px var(--mono); flex: none; }
.euvis__eu .euvis__n, .euvis__org .euvis__n { position: absolute; top: -10px; right: -12px; }
.euvis__disc .euvis__n { float: left; margin: 0 10px 0 0; }
.euvis__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.euvis__notes li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.euvis__notes strong { color: var(--text); font-weight: 500; }
.euvis figcaption { grid-column: 1 / -1; font: 13px var(--mono); color: var(--faint); }
@media (max-width: 860px) { .euvis { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 80svh; text-align: left; place-items: center start; }
.lost__in { width: min(100%, 860px); }
.lost .lede { margin: 22px 0 36px; }
.lost__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lost__links a { display: grid; gap: 8px; height: 100%; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 10px; text-decoration: none; color: var(--text); transition: border-color .2s; }
.lost__links a:hover { border-color: var(--text); }
.lost__links small { font: 13px var(--mono); color: #E0705C; }
.lost__links b { font-weight: 500; }
@media (max-width: 700px) { .lost__links { grid-template-columns: 1fr; } }

/* Phones: the small window on page tops is decoration; without it the form and the content start a screen sooner */
@media (max-width: 700px) { .phero--split .pwin { display: none; } }

/* Contact form: sending, field errors, honeypot, thank-you panel */
.form[hidden] { display: none; }
.form .hp { display: none; }
.field__err { margin: 2px 0 0; font-size: 13.5px; color: #FF8A82; }
.field__err:empty { display: none; }
.field [aria-invalid="true"] { border-color: #FF8A82; }
.form__note.is-bad { color: #FF8A82; font-size: 14.5px; }
.form__privacy { margin: -8px 0 0; font-size: 13px; color: var(--faint); }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form--done h2 { margin: 0; }
.form--done p { margin: 0; color: var(--muted); max-width: 52ch; }
.form--done:focus { outline: none; }

/* ---------- Portfolio page (one row per client site) ---------- */
.pfl { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 8vw, 110px); }
.pf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.pf:nth-child(even) .pf__img { order: 2; }
.pf__img { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2); }
.pf__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 7s linear; }
.pf__img:hover img { object-position: 50% 100%; }
.pf__meta { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; font: 500 13px var(--mono); color: var(--muted); letter-spacing: .02em; }
.pf__meta span { color: #E0705C; }
.pf__org { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; }
.pf__org a { color: inherit; text-decoration: none; }
.pf__org a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.pf__type { margin: 8px 0 0; color: var(--muted); }
.pf__idea { margin: 22px 0 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; max-width: 44ch; }
.pf__did { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 52ch; }
.pf__did b { display: block; margin-bottom: 4px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.pf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 820px) {
  .pf { grid-template-columns: 1fr; gap: 22px; }
  .pf:nth-child(even) .pf__img { order: 0; }
  .pf__btns .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- About us: numbers band ---------- */
.anum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-block: 1px solid var(--line); }
.anum > div { padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.anum > div:first-child { border-left: 0; padding-left: 0; }
.anum dt { font: 600 clamp(2.8rem, 5vw, 4.4rem)/1 var(--sans); letter-spacing: -.045em; color: var(--text); }
.anum dd { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 26ch; }
@media (max-width: 820px) {
  .anum { grid-template-columns: 1fr 1fr; }
  .anum > div { padding: 22px 16px 22px 0; border-left: 0; }
  .anum > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .anum > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Content pass (17 Nov 2026): the result line on portfolio rows and case pages, client quotes on case pages */
.pf__res { margin: 18px 0 0; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.5; color: var(--text); max-width: 46ch; }
.pf__res b { display: block; margin-bottom: 4px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #E0705C; }
.pf__res + .pf__idea { margin-top: 12px; font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--muted); }
.case-res { margin: 16px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; max-width: 52ch; }
.case-res span { margin-right: 12px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #E0705C; }
.cquote { margin: 0 0 clamp(40px, 6vw, 72px); padding: 26px 28px; background: #EEEAE2; color: #142022; border-radius: 10px; max-width: 760px; }
.cquote blockquote { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; }
.cquote figcaption { margin-top: 14px; font: 500 13px var(--mono); color: #454E50; }

/* Guides (17 Nov 2026): the list and the article layout */
.glist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.glist a { display: block; height: 100%; padding: 28px; border-radius: 10px; background: #EEEAE2; color: #142022; text-decoration: none; transition: background .2s; }
.glist a:hover { background: #E3DCD0; }
.glist small { font: 500 12.5px var(--mono); color: #A33A28; text-transform: uppercase; letter-spacing: .06em; }
.glist h2 { margin: 12px 0 10px; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.03em; }
.glist h2::after { content: " →"; color: #A33A28; }
.glist p { margin: 0; color: #454E50; line-height: 1.55; }
.guide__t { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 20ch; }
.phero .kicker a { color: inherit; }
.guide__in > * { max-width: 760px; }
.guide h2 { margin: 48px 0 14px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.2; }
.guide p, .guide li { font-size: 1.08rem; line-height: 1.65; color: var(--text-2); }
.guide strong { color: var(--text); font-weight: 600; }
.guide a { color: #E0705C; text-underline-offset: 3px; }
.guide ul, .guide ol { padding-left: 1.2em; display: grid; gap: 8px; }
.guide code { font: 500 .92em var(--mono); color: var(--text); }
.guide__check { list-style: none; padding-left: 0 !important; }
.guide__check li { position: relative; padding-left: 30px; }
.guide__check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #E0705C; font-weight: 600; }
.guide__note { padding: 16px 20px; border-left: 3px solid #B8432F; background: #121D20; border-radius: 0 8px 8px 0; font-size: 1rem !important; }
.guide__quote { margin: 18px 0; padding: 20px 24px; background: #EEEAE2; color: #142022; border-radius: 10px; font-size: 1.05rem; line-height: 1.55; }
.guide__help { margin-top: 56px; padding: 28px; border-radius: 10px; background: #EEEAE2; color: #142022; }
.guide__help h2 { margin-top: 0; color: #142022; }
.guide__help p { color: #142022; margin: 0; }
.guide__help a { color: #A33A28; font-weight: 500; }

/* ---------- Portfolio #why: a real proof picture above every reason ---------- */
.why > div { display: flex; flex-direction: column; }
.why__vis { height: 172px; margin-bottom: 24px; border-radius: 8px; border: 1px solid var(--line); background: #0B1315; overflow: hidden; }
/* Original: three slices of real client sites */
.why__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--line); }
.why__shots img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.why > div:hover .why__shots img { transform: scale(1.05); }
/* Made to measure: each client's palette */
.why__sw { list-style: none; margin: 0; padding: 12px 14px; height: 100%; display: grid; align-content: space-between; }
.why__sw li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.why__sw span { font: 500 11.5px "Geist Mono", ui-monospace, monospace; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.why__sw i { display: flex; gap: 4px; flex: none; }
.why__sw b { width: 26px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
/* Erasmus+ world: a photo from a real training */
.why__photo > * { width: 100%; height: 100%; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Budget: one site holds the whole project */
.why__map { display: grid; grid-template-rows: auto 1fr; justify-items: center; padding: 18px 14px 14px; position: relative; }
.why__home { position: relative; padding: 7px 14px; border-radius: 6px; background: #EEEAE2; color: #0B1315; font: 600 13px "Bricolage Grotesque", "Geist", system-ui, sans-serif; }
.why__home::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: var(--line-2); }
.why__map ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--line-2); align-content: start; }
.why__map li { padding: 8px 6px; border-radius: 6px; border: 1px solid var(--line-2); text-align: center; font: 500 12px "Geist Mono", ui-monospace, monospace; color: var(--muted); }
@media (max-width: 600px) { .why__vis { height: 150px; } }
@media (prefers-reduced-motion: reduce) { .why__shots img { transition: none; } }

/* ---------- Smoothness (17 Nov 2026) ---------- */
/* the scrolled header is a solid bar: its 90%-opaque background hid the blur anyway, and blurring what scrolls
   underneath cost work on every frame (most of all over the 3D laptop on phones) */
.hdr.is-scrolled, .page-home .hdr.is-scrolled, .page-spot .hdr.is-scrolled { background: rgba(11, 19, 21, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* ---------- Large screens (17 Nov 2026): header, hero and page content share one column edge ---------- */
:root { --maxw: 1500px; }
@media (min-width: 1900px) { :root { --maxw: 1720px; } }
@media (min-width: 2400px) { :root { --maxw: 1900px; } html { font-size: 106.25%; } }
/* the fixed header lines up with the content column (100% = the viewport without its scrollbar) */
.hdr { padding-inline: max(var(--g), calc((100% - var(--maxw)) / 2 + var(--g))); }
body .rbh .rbh__in, body .rbh.is-open .rbh__in { max-width: calc(var(--maxw) - 2 * var(--g)); }   /* body: robot.css loads later */
@media (min-width: 1900px) { body .rbh__t { font-size: clamp(4.2rem, 3.6vw, 6rem); } body .rbh__b { font-size: 1.3rem; } }

/* ---------- Final call on both homes (18 Nov 2026): a composed brick section instead of two giant underlined links ---------- */
body .sp-end { background: #B8432F; color: #FFFFFF; padding-block: clamp(72px, 12vh, 130px); border-top: 0; }
body .sp-end__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.sp-end__k { margin: 0 0 14px; font: 500 13px var(--mono); color: #FBE3DD; letter-spacing: .02em; }
.sp-end__h { margin: 0; font: 600 clamp(2.2rem, 4.4vw, 3.8rem)/1.02 var(--sans); letter-spacing: -.045em; color: #FFFFFF; max-width: 15ch; text-wrap: balance; }
.sp-end__p { margin: 18px 0 0; font-size: 1.1rem; line-height: 1.55; color: #FBE3DD; max-width: 46ch; }
.sp-end__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body .sp-end a.sp-end__main, body .sp-end a.sp-end__line { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 8px; font: 500 15.5px var(--sans); letter-spacing: 0; text-decoration: none; border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
body .sp-end a.sp-end__main { background: #EEEAE2; color: #0B1315; }
body .sp-end a.sp-end__main:hover { background: #FFFFFF; color: #0B1315; }
body .sp-end a.sp-end__line { color: #FFFFFF; border-color: rgba(255, 255, 255, .6); }
body .sp-end a.sp-end__line:hover { border-color: #FFFFFF; color: #FFFFFF; }
body .sp-end a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.sp-end__next { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .35); }
.sp-end__next li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.sp-end__next span { font: 500 14px var(--mono); color: #FBE3DD; padding-top: 3px; }
.sp-end__next b { display: block; font: 600 1.2rem/1.25 var(--sans); letter-spacing: -.015em; color: #FFFFFF; }
.sp-end__next small { display: block; margin-top: 4px; font-size: .98rem; line-height: 1.5; color: #FBE3DD; }
@media (max-width: 860px) { body .sp-end__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sp-end__btns a { flex: 1 1 100%; justify-content: center; } }

/* ---------- Buttons as function keys (Darco chose A5, 18 Nov 2026) ----------
   Every button is a laptop key: a darker bottom edge it sinks into when pressed, the words at the bottom left
   and a small legend top left ("enter" = the main action, "tab" = everything else). Compact keys (header,
   laptop caption, live-site controls) keep the edge but drop the legend. Flat colours only. */
body .btn, body .sp-end a.sp-end__main, body .sp-end a.sp-end__line {
  position: relative; display: inline-flex; align-items: flex-end; justify-content: flex-start; gap: 9px;
  min-height: 60px; height: auto; padding: 24px 18px 11px; border: 0; border-radius: 8px;
  font: 600 15.5px/1.2 var(--sans); letter-spacing: -.005em; text-align: left; text-decoration: none;
  transform: none; transition: transform .08s ease, box-shadow .08s ease, background-color .2s ease; }
body .btn::before, body .sp-end a.sp-end__main::before, body .sp-end a.sp-end__line::before {
  content: "enter"; content: "enter" / ""; position: absolute; top: 8px; left: 11px;
  font: 600 11.5px/1 var(--sans); letter-spacing: .02em; opacity: .75; pointer-events: none; }
body .btn--line::before, body .sp-end a.sp-end__line::before { content: "tab"; content: "tab" / ""; }
/* colours: brick key, dark key, bone key on brick, outlined key on brick */
body .btn { background: #C24A35; color: #FFFFFF; box-shadow: inset 0 -4px 0 #8C3222; }
body .btn:hover { background: #A33A28; color: #FFFFFF; transform: translateY(1px); box-shadow: inset 0 -3px 0 #8C3222; }
body .btn--line, body .btn--line:hover { background: #172427; color: var(--text); box-shadow: inset 0 0 0 1px #3A4E53, inset 0 -4px 0 #0E1719; }
body .btn--line:hover { background: #1B2A2E; transform: translateY(1px); box-shadow: inset 0 0 0 1px #4A6066, inset 0 -3px 0 #0E1719; }
body .sp-end a.sp-end__main, body .sp-end a.sp-end__main:hover { background: #EEEAE2; color: #0B1315; box-shadow: inset 0 -4px 0 #C9C1B2; }
body .sp-end a.sp-end__main:hover { background: #F6F3EE; transform: translateY(1px); box-shadow: inset 0 -3px 0 #C9C1B2; }
body .sp-end a.sp-end__line, body .sp-end a.sp-end__line:hover { background: #A63C2A; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 -4px 0 #7E2C1E; }
body .sp-end a.sp-end__line:hover { background: #AE412E; transform: translateY(1px); }
body .btn:active, body .sp-end a.sp-end__main:active, body .sp-end a.sp-end__line:active { transform: translateY(3px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); }
body .btn--line:active { box-shadow: inset 0 0 0 1px #3A4E53, inset 0 -1px 0 #0E1719; }
body .btn:focus-visible { outline: 2px solid #ECF0F0; outline-offset: 3px; }
body .btn[disabled] { transform: none; }
/* compact keys: same key, no legend, words centred */
body .nav .btn, body .rbh .hx__acts .btn, body .live-btn, body .lp-exit {
  min-height: 0; height: 40px; padding: 0 14px 3px; align-items: center; justify-content: center; }
body .nav .btn::before, body .rbh .hx__acts .btn::before { content: none; }
body .live-btn, body .lp-exit { border: 0; background: #172427; color: #ECF0F0; box-shadow: inset 0 0 0 1px #3A4E53, inset 0 -3px 0 #0E1719; transition: transform .08s ease, box-shadow .08s ease, background-color .2s ease; }
body .live-btn:hover, body .lp-exit:hover { background: #1B2A2E; transform: translateY(1px); }
body .live-btn:active, body .lp-exit:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px #3A4E53; }
body .nav .btn { box-shadow: inset 0 -3px 0 #8C3222; }
body .nav .btn:active, body .rbh .hx__acts .btn:active { transform: translateY(2px); }
@media (max-width: 520px) { body .btn, body .sp-end a.sp-end__main, body .sp-end a.sp-end__line { min-height: 58px; } }
@media (prefers-reduced-motion: reduce) { body .btn, body .live-btn, body .lp-exit, body .sp-end a { transition: none; } body .btn:hover, body .btn:active { transform: none; } }
body .hdr .nav a.nav__cta, body.page-spot .hdr .nav a.nav__cta { padding-bottom: 3px; background: #C24A35; box-shadow: inset 0 -3px 0 #8C3222; transition: transform .08s ease, box-shadow .08s ease, background-color .2s ease; }
body .hdr .nav a.nav__cta:hover, body.page-spot .hdr .nav a.nav__cta:hover { background: #A33A28; transform: translateY(1px); box-shadow: inset 0 -2px 0 #8C3222; }
body .hdr .nav a.nav__cta:active { transform: translateY(2px); box-shadow: none; }
/* "tab" keys on the light packages table: a white key on the cream card */
body .pk-foot .btn--line, body .pk__addon .btn--line, body .pk-foot .btn--line:hover, body .pk__addon .btn--line:hover { background: #FFFFFF; color: #0B1315; box-shadow: inset 0 0 0 1px #D2CBBE, inset 0 -4px 0 #C9C1B2; }
body .pk-foot .btn--line:hover, body .pk__addon .btn--line:hover { background: #FBFAF7; box-shadow: inset 0 0 0 1px #BDB5A6, inset 0 -3px 0 #C9C1B2; }
body .pk-foot .btn--line:active, body .pk__addon .btn--line:active { box-shadow: inset 0 0 0 1px #D2CBBE, inset 0 -1px 0 #C9C1B2; }
/* the three keys under the packages: equal height, words bottom left like the other keys */
body .pk-foot > div { display: flex; align-items: stretch; }
body .pk-foot .btn, body .pk__addon .btn { flex: 1; justify-content: flex-start; }

/* ---------- Site font: Bricolage Grotesque (Darco, 18 Nov 2026, option 2 of the 20-font page) ----------
   For headings and text everywhere; its optical size axis tightens big headings and keeps small text sturdy.
   Geist stays loaded as the fallback and for the laptop's key legends; Geist Mono only for the logo.
   Headings are tracked a little looser than the Geist ones were (Bricolage is already compact). */
body { font-family: var(--sans); font-optical-sizing: auto; }
body :is(h1, h2, h3, .h2, .sl-title) { letter-spacing: -.03em !important; }
body :is(h1, h2, h3) { font-weight: 650; }
body .rbh .rbh__t { letter-spacing: -.035em !important; line-height: 1; font-weight: 700; }
body :is(.btn, .sp-end a) { font-weight: 600; letter-spacing: 0; }
/* the home hero headline: Archivo expanded (Darco, 18 Nov 2026, option 10 of the headline fonts); wide letters, so 14% smaller */
body .rbh .rbh__t { font-family: "Archivo", "Bricolage Grotesque", system-ui, sans-serif; font-stretch: 125%; font-weight: 750; letter-spacing: -.03em !important; line-height: 1.04;
  font-size: clamp(2.1rem, 3.7vw, 3.6rem); max-width: 20ch; }
@media (min-width: 1900px) { body .rbh .rbh__t { font-size: clamp(3.6rem, 3.1vw, 5.2rem); } }
@media (max-width: 820px) { body .rbh .rbh__t { font-size: clamp(1.9rem, 8.6vw, 2.75rem); } }
@media (max-height: 520px) and (orientation: landscape) { body .rbh .rbh__t { font-size: 26px; } }

/* the small "enter"/"tab" legend on keys: full white on brick (was 75 %, 3.4:1) for readable contrast */
body .btn::before, body .sp-end a.sp-end__main::before, body .sp-end a.sp-end__line::before { opacity: .92; }

/* SEO + contact pass (19 Nov 2026): case-page heading says what the site is; reassurance next to the contact form */
.case-h1__k { display: block; margin-top: 14px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: 0; line-height: 1.3; color: var(--text-2, #A6B4B6); }
.cnext { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line, #1D2B2F); }
.cnext__t { margin: 0 0 18px; font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.02em; }
.cnext__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cnext__steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; line-height: 1.5; color: var(--text-2, #A6B4B6); font-size: 15.5px; }
.cnext__steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: #B8432F; color: #fff; font-size: 14px; }
.cnext__steps strong { color: var(--text, #ECF0F0); font-weight: 600; }
.cnext__res { margin: 24px 0 0; padding: 18px 20px; background: #EEEAE2; color: #142022; border-radius: 10px; line-height: 1.5; font-size: 15.5px; }
.cnext__res span { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #A33A28; }
.cnext__res a { color: #A33A28; font-weight: 600; white-space: nowrap; }

/* Case pages (19 Nov 2026, from the design review): the client's logo fills the empty space right of the headline */
.case-hero .wrap { position: relative; }
.case-logo { position: absolute; right: var(--g, 0px); top: clamp(40px, 6vw, 90px); width: min(34%, 380px); display: flex; justify-content: center; align-items: center; pointer-events: none; }
.case-logo img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.case-logo--wide img { max-height: 120px; }
@media (min-width: 901px) {   /* the text keeps to the left two-thirds, so it never runs under the logo */
  .case-hero:has(.case-logo) .crumb, .case-hero:has(.case-logo) .case-h1, .case-hero:has(.case-logo) .case-got,
  .case-hero:has(.case-logo) .case-hero__idea, .case-hero:has(.case-logo) .case-res { max-width: calc(100% - min(34%, 380px) - 48px); }
}
@media (max-width: 900px) {
  .case-logo { position: static; width: auto; justify-content: flex-start; margin: 0 0 22px; }
  .case-logo img { width: auto; height: 56px; max-height: none; }
  .case-logo--wide img { height: 34px; }
  .case-logo--patrz img { height: 64px; }
}

/* No labels above headings (19 Nov 2026, Darco): dates and guide details sit under the intro as a small line */
.pmeta { margin: 18px 0 0; font: 500 13px var(--mono); color: var(--muted, #A6B4B6); letter-spacing: .02em; }
.pmeta a { color: inherit; text-underline-offset: 3px; }

/* Accessibility pass (19 Nov 2026, design review) */
.pk-t { display: contents; }   /* the two package tables share one box (and the sticky header on phones) */
.ftr__cols .ftr__h { font-family: var(--mono, "Geist Mono", monospace); font-weight: 500; letter-spacing: .02em; line-height: 1.4; text-wrap: initial; }
.box:focus-within { outline: 2px solid #E0705C; outline-offset: 3px; }   /* the assistant's question box: visible keyboard focus */
.ftr__base a { display: inline-block; padding-block: 5px; }   /* footer links: tap targets of at least 24 px */
.facts dd a { display: inline-block; padding-block: 3px; }   /* tap target of at least 24 px */
/* 320 px phones: the "Why" cards never get wider than the screen (the palette rows could push them out) */
@media (max-width: 600px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.why > div, .why__vis { min-width: 0; }
.why__sw i { flex: 0 1 auto; min-width: 0; }
.why__sw b { flex: 0 1 26px; min-width: 12px; }
