/* ============================================================================
   Builders Lab — Shared Brand & Component Styles
   Edit brand tokens (colors, fonts, corners) in :root below.
   Every page loads base.css -> brand.css -> small page-only <style> block.
   ============================================================================ */

/* ===================== Builders Lab over the Kelder template (council: opus) ===================== */
@font-face{font-family:"Archivo";font-weight:800 900;font-display:swap;src:url(fonts/archivo.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:400 700;font-display:swap;src:url(fonts/inter.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:500 700;font-display:swap;src:url(fonts/jetbrains-mono.woff2) format("woff2")}

/* tokens: paper, ink, graphite, one orange marker; blue is spent once (How a class works) */
:root{
  --font-funnel:"Inter",system-ui,sans-serif;
  --bl-ink:#111111;--bl-paper:#FFFFFF;--bl-orange:#FF5A1F;--bl-blue:#3D7BF7;--bl-graphite:#4A4A45;--bl-grid:#ECEEF3;--bl-mute:#8A8A85;--bl-tape:#FFD278;
  --bl-hl:linear-gradient(transparent 66%,rgb(255 90 31 / .55) 66%,rgb(255 90 31 / .55) 96%,transparent 96%);
  --background:#fff;--foreground:#111;--page:#fff;--surface:#fff;--surface-soft:var(--bl-grid);
  --ink:#111;--muted:var(--bl-graphite);--faint:var(--bl-mute);--line:#111;--line-dashed:#B9BAB6;
  --accent:#111;--accent-strong:var(--bl-graphite);
  --chart-400:var(--bl-mute);--chart-300:#B9BAB6;--chart-200:#DADCE3;--chart-100:var(--bl-grid);
  --marker:#111;--highlight:var(--bl-orange);
  --on-dark-soft:#D9D9D5;--on-dark-muted:#B9BAB6;
  --gradient-bar:linear-gradient(#111,#111);
  --gradient-recall:linear-gradient(#111,#111);
  --gradient-bills:linear-gradient(#111,#111);--gradient-funds:linear-gradient(#111,#111);--gradient-overnight:linear-gradient(#111,#111);
  --gradient-steps:linear-gradient(var(--bl-blue),var(--bl-blue));
  --gradient-security:none;--gradient-dashboard:none;
  --gradient-newsletter:linear-gradient(#fff,#fff);
  --gradient-footer:linear-gradient(#111,#111);
  --envelope-edge:#111;--envelope-shadow:0 2px 0 rgb(17 17 17 / .12),0 26px 40px -22px rgb(17 17 17 / .35);
  --ring-lime:0 0 0 .3125rem rgb(255 90 31 / .25);--ring-blue:0 0 0 .375rem rgb(17 17 17 / .12);
  --corner-xs:2px;--corner-chart:2px;--corner-tile:4px;--corner-control:6px;--corner-panel:6px;--corner-card:6px;--corner-card-closed:6px;
}
html,body{background:#fff}
::selection{background:rgb(255 90 31 / .35)}

/* type: Archivo 900 shouts, Inter explains, JetBrains Mono labels */
h1,h2,h3,[class*="text-h1"],[class*="text-h2"],[class*="text-h3"],[class*="text-title-l"],[class*="text-number"],[class*="text-title-m"]{font-family:"Archivo","Inter",system-ui,sans-serif;font-weight:900!important;letter-spacing:-.02em}
[class*="text-title-m"]{font-weight:800!important;letter-spacing:-.01em}
h1,h2{text-wrap:balance}
[data-hero="title"]{width:auto!important;max-width:68rem;letter-spacing:-.035em;line-height:1.02}
[class*="text-number"]{color:var(--bl-orange)}
.bl-hl{background:var(--bl-hl);padding:0 .06em;margin:0 -.06em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* section labels (brand: JetBrains Mono 600, orange, uppercase, +0.14em) */
[data-pill]{background:none!important;border:0!important;padding:0!important;height:auto!important;gap:.6em!important;
  font:600 .8125rem/1 "JetBrains Mono",ui-monospace,monospace!important;letter-spacing:.14em;text-transform:uppercase;color:var(--bl-orange)!important}
.bl-prompt{color:var(--bl-orange);font:700 1em/1 "JetBrains Mono",ui-monospace,monospace}
[data-pill] .bl-prompt{font-size:1.15em}
.text-accent{font-family:"JetBrains Mono",ui-monospace,monospace;font-weight:600;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--bl-orange)!important}

/* logo */
.bl-logo{display:inline-flex;align-items:center;font:700 1.1875rem/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:-.02em;white-space:nowrap}
.bl-logo b{color:var(--bl-orange);margin-right:.35em;font-weight:700}
.bl-logo i{display:inline-block;width:.55em;height:1.03em;background:var(--bl-orange);margin-left:.16em}
@media (prefers-reduced-motion:no-preference){.bl-logo i{animation:bl-blink 1.1s steps(1) infinite}}
@keyframes bl-blink{50%{opacity:0}}

/* buttons: primary is paper with the 3px orange border; the rest are 2px ink outlines or solid ink */
[data-btn]{border-radius:14px!important;font-weight:600!important}
[data-btn="primary"]{background:#fff!important;color:#111!important;border:3px solid var(--bl-orange)!important}
[data-btn="primary"] img{filter:brightness(0)}
[data-btn="outline"],[data-btn="outline-ink"],[data-btn="light"]{background:#fff;border:2px solid #111!important;color:#111!important}
[data-btn="dark"]{background:#111!important;color:#fff!important}
footer [data-btn="outline"],.bg-ink [data-btn="outline"]{background:transparent;border-color:#fff!important;color:#fff!important}
[data-menu-toggle],[data-menu-close]{border-width:2px!important;border-radius:12px!important}

/* hero: ink on graph paper (30px, 20px on a phone), fading out under the example app */
#top{--on-dark:#111;--on-dark-soft:var(--bl-graphite);--on-dark-muted:var(--bl-mute);
  background:linear-gradient(rgb(255 255 255 / 0) 55%,#fff 100%),linear-gradient(var(--bl-grid) 1px,transparent 1px) 0 0/100% 30px,linear-gradient(90deg,var(--bl-grid) 1px,transparent 1px) 0 0/30px 100%,#fff!important}
@media (width<=560px){#top{background:linear-gradient(rgb(255 255 255 / 0) 60%,#fff 100%),linear-gradient(var(--bl-grid) 1px,transparent 1px) 0 0/100% 20px,linear-gradient(90deg,var(--bl-grid) 1px,transparent 1px) 0 0/20px 100%,#fff!important}}
#top [data-hero="lead"]{color:var(--bl-graphite)}
#top header .bl-logo{font-size:1.3125rem}
/* the example app: a paper card in a 2px ink outline, a hard offset shadow like the v2 mock-ups */
[data-tilt-root]{background:#fff!important;border:2px solid #111;box-shadow:10px 10px 0 rgb(17 17 17 / .12);
  --chart-300:var(--bl-orange);--chart-400:var(--bl-mute)}
[data-tilt-root] .bg-surface{background-color:#111}
[data-tilt-root] [data-range]{background:var(--bl-grid)}
[data-tilt-root] [data-range] > span.bg-surface{background:#fff;box-shadow:inset 0 0 0 2px #111}
[data-tilt-root] [data-chart-part="tooltip"]{background:#fff;border:2px solid #111;box-shadow:none}
[data-tilt-root] [data-chart-part="tooltip"] .text-muted{font:600 .6875rem/1.6 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--bl-orange)}
[data-tilt-root] [data-count="preloader"]{color:#111}
[data-tilt-root] [data-range] button{font-family:"JetBrains Mono",monospace;font-size:.75rem;font-weight:600}
[data-tilt-root] > div:first-child > div:first-child > p:first-child,[data-tilt-root] > div:last-child > div:first-child > p{font:600 .75rem/1.4 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase}
[data-tilt-root] > div:first-child > div:first-child > p:first-child{color:var(--bl-orange)}
[data-tilt-root] .h-12.pt-4 > p{background:#fff;border:2px solid #111;border-radius:6px;color:#111}
[data-tilt-root] .h-12.pt-4 > p img{filter:brightness(0)}

/* cards: paper with a 2px ink outline and a 6px corner */
article[data-card],#coach,#pricing,#register > div,section > [data-reveal="block"].bg-surface{border:2px solid #111}
article[data-card]:not(.bg-surface):not([class*="gradient"]){background:#fff;border-radius:var(--corner-card);padding:1.5rem 2rem}
/* section heading rule: a solid ink line, like a notebook section break */
[data-heading]{border-top-width:2px!important;border-image:none!important;border-color:#111!important}
/* "In every class": the <1 hr card is the ink card, its silk strands in orange */
[data-flow="recall"]{--chart-200:#FF5A1F;--chart-300:#FF8F66;--chart-400:#FFC2A8}
[data-fade-art]{display:none}
article[data-card] .bg-surface-soft{background:#fff;border:2px solid #111;font-weight:600}
article[data-card] .bg-accent{background:#111}
/* programmes: ink tiles, white dot-matrix glyphs */
[data-art] + *,[data-art]{color:#fff}
/* How a class works: the one solid blue block. White strands, white step tiles */
#getting-started{--accent-strong:#fff;--marker:var(--bl-blue);--on-dark-soft:#EAF1FF;--on-dark-muted:#DCE8FF;--highlight:#fff;--chart-200:#ffffff;--chart-300:#DCE8FF;--chart-400:#B9D0FF}
#getting-started [data-openup] > img{display:none}
#getting-started [data-pill]{color:#fff!important}
#getting-started [data-pill] .bl-prompt{color:#fff}
#getting-started [data-step-tile]{font-family:"JetBrains Mono",monospace!important;font-weight:700!important}
/* coach card: paper, a taped photo of Rasmus on the right */
#coach{--on-dark:#111;--on-dark-soft:var(--bl-graphite);--on-dark-muted:var(--bl-graphite);color:#111}
#coach h3{color:#111}
#coach h3 + p{color:var(--bl-graphite)}
.bl-coach-pic{position:absolute;margin:0;top:2.5rem;right:2.5rem;width:min(42%,17.5rem);transform:rotate(2.5deg)}
.bl-coach-pic img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:2px solid #111;border-radius:6px;background:#fff}
.bl-coach-pic::before{content:"";position:absolute;z-index:1;top:-.7rem;left:50%;width:6rem;height:1.5rem;margin-left:-3rem;background:var(--bl-tape);opacity:.75;transform:rotate(-4deg)}
@media (width<=1024px){.bl-coach-pic{width:min(36%,12rem);top:2rem;right:2rem}}
/* between phone and laptop the card is too narrow to share: the photo joins the column, under the label */
@media (width<=1024px){section:has(> #coach){grid-template-rows:auto!important}}
@media (width<=1024px){.bl-coach-pic{position:relative;top:auto;right:auto;width:9rem;margin:1rem 0 1.25rem .5rem;order:1}#coach > [data-pill]{order:0}#coach > div{order:2}}
/* Register interest: paper envelope on a pale panel */
[data-envelope-panel] > img{display:none}
[data-envelope] .text-on-dark{color:#111;font:600 .6875rem/1 "JetBrains Mono",monospace;letter-spacing:.08em}
[data-newsletter]{border:2px solid #111!important;border-radius:14px!important}
[data-newsletter] [data-focus-rule]{background:var(--bl-orange)}
/* "Register interest" is longer than the template's "Subscribe": on a phone the button drops under the field */
@media (width<=560px){[data-newsletter]{height:auto!important;flex-direction:column;align-items:stretch!important;padding:.75rem!important;gap:.75rem!important}
  [data-newsletter] label{padding:.5rem .25rem}[data-newsletter] button{justify-content:center;height:3.25rem}}
/* footer: reversed on ink */
footer{background:#111!important}
footer .text-title-l{font-family:"JetBrains Mono",monospace!important;font-weight:700!important;letter-spacing:-.02em}
[data-footer-cover]{border-bottom:2px solid #111}

/* ===== council round 1 ===== */
/* Inter for body text: the template sets its font variable on <body>, so it is overridden there too */
body.__variable_ef4f06,.__variable_ef4f06{--font-funnel:"Inter",system-ui,sans-serif}
body{font-family:"Inter",system-ui,sans-serif}
/* orange is the marker, not the numbers: big numbers are ink */
[class*="text-number"]{color:#111}
#getting-started [class*="text-number"]{color:#fff}
.bl-logo b{display:inline-block}
/* the example app */
.bl-unit{font-size:.42em;margin-left:.3em;letter-spacing:-.01em}
.bl-range{font:600 .75rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--bl-graphite);border:2px solid #111;border-radius:999px;padding:.55rem .9rem}
[data-tilt-root] .h-12.pt-4 > p{background:none!important;border:0!important;padding:0!important;color:var(--bl-graphite)!important}
[data-tilt-root] .h-12.pt-4 > p img{display:none}
@media (width<=560px){[data-tilt-root] [data-chart-part="tooltip"]{left:.75rem!important}}
/* two afternoon blocks */
.bl-days li{border:2px solid #111;border-radius:6px;padding:.6rem .8rem}
.bl-days li:last-child{background:#111;color:#fff}
.bl-day{font:900 1.25rem/1 "Archivo",system-ui,sans-serif;letter-spacing:-.01em}
.bl-slot{font:600 .75rem/1 "JetBrains Mono",monospace;letter-spacing:.1em}
/* "9 students": one line, sharing a baseline */
p:has(> .text-number-xl){display:flex!important;align-items:baseline;gap:.75rem;height:auto!important}
/* coach card at laptop width and up: the text keeps clear of the photo */
@media (width>1024px){#coach > div{max-width:calc(100% - min(36%,15rem) - 3.5rem)}#coach > [data-pill]{margin-bottom:.75rem}
  .bl-coach-pic{width:min(36%,15rem)}
  section:has(> #coach){grid-template-rows:auto!important}}  /* the row grows with the text instead of clipping the button */
/* labels and values in small card headers never touch */
article[data-card] .justify-between.whitespace-nowrap{gap:.75rem}
/* fee card on a phone: its two labels stack */
@media (width<=768px){#pricing .justify-between.whitespace-nowrap{flex-direction:column;height:auto;gap:.25rem}}
/* "Register interest" outside the hero is the brand button: paper, 3px orange border */
[data-btn]:is([href*="register-interest/"],[href="register-interest/"]):not([data-hero] *){background:#fff!important;color:#111!important;border:3px solid var(--bl-orange)!important}

/* ===== council round 2 + call notes ===== */
/* "<1 hr" on the ink card is paper white (round 1 made every big number ink, this one vanished) */
article[class*="gradient-recall"] [class*="text-number"]{color:#fff}
/* its line drawing in paper white, not orange: orange is the marker, not decoration */
[data-flow="recall"]{--chart-200:#ffffff;--chart-300:#D9D9D5;--chart-400:#8A8A85}
/* the two afternoon blocks look the same */
.bl-days li:last-child{background:#fff;color:#111}
/* card headers between tablet and laptop: one line, the value a step smaller (wrapping made the cards uneven, round 3) */
@media (769px<=width<=1024px){article[data-card] .justify-between.whitespace-nowrap{gap:.5rem}article[data-card] .justify-between.whitespace-nowrap > :last-child{font-size:.875rem}}
/* programme cards: title and figure keep apart, the figure a step smaller */
#instruments [data-count]{font-size:clamp(1.5rem,2.2vw,2.25rem)!important}
#instruments article .grid{column-gap:.75rem;align-items:baseline}
/* phone: the example-app callout sits under the line, clear of the trace and the axis */
@media (width<=560px){[data-tilt-root] [data-chart-part="tooltip"]{top:auto!important;bottom:.5rem;left:.5rem!important}}
/* coach and fee at tablet and laptop widths: each card is as tall as its own content */
/* coach and fee: same height side by side, the fee button at the bottom (Neon, round 3); stacked on phones */
@media (width>=561px){#pricing{justify-content:space-between}}
@media (width<=560px){section:has(> #coach){align-items:start}}
/* anchors land below the pinned bar */
section[id],article[id]{scroll-margin-top:5.5rem}
/* hero highlight: keep the word space before it */
.bl-hl{margin:0;padding:0 .04em}
[data-hero="title"]{word-spacing:.04em}
/* buttons: the hover fill meets the border with no seam */
[data-btn]{overflow:hidden}
/* phone: the envelope line is too small to read, so it goes */
@media (width<=768px){[data-envelope] .text-on-dark{display:none}}
/* phone: example labels on one line */
@media (width<=560px){article[data-card] .text-accent{font-size:.6875rem;letter-spacing:.1em}}
/* call note 3, "use the whole screen, not everything centred": the hero runs left-aligned across the width;
   on a laptop and up the buttons sit under the headline on the left and the paragraph beside them on the right */
#top div:has(> [data-hero="title"]){align-items:flex-start;text-align:left}
#top [data-hero="actions"]{justify-content:flex-start}
#top [data-hero="title"]{max-width:none!important;width:100%!important}
@media (width>1024px){
  #top div:has(> [data-hero="title"]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6rem;justify-items:start;align-items:start}
  #top [data-hero="pill"],#top [data-hero="title"]{grid-column:1/-1}
  #top [data-hero="title"]{font-size:6.4rem;line-height:.98}
  #top [data-hero="actions"]{grid-column:1;grid-row:3;padding-top:2.25rem}
  #top [data-hero="lead"]{grid-column:2;grid-row:3;width:auto;justify-self:end;max-width:34rem;padding-top:2rem}}
/* the pointer-reactive graph paper sits over the hero's printed grid */
[data-graph-canvas]{display:block}
/* footer logo */
.bl-foot-logo{display:inline-flex;margin-bottom:1.25rem;color:#fff}
.bl-foot-logo .bl-logo{font-size:1.25rem}
/* the three-programme recap at the bottom */
.bl-recap{display:grid;gap:0}
.bl-recap [data-pill]{display:inline-flex;align-items:center}
.bl-recap h2{max-width:none;text-wrap:balance}
.bl-rows{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.bl-rows a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem 2rem;align-items:center;padding:1.5rem 2rem;border:2px solid #111;border-radius:6px;background:#fff;color:#111;text-decoration:none;transition:background .2s}
.bl-rows a:hover,.bl-rows a:focus-visible{background:var(--bl-grid)}
.bl-for{grid-column:1;font:600 .75rem/1.3 "JetBrains Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--bl-graphite)}
.bl-name{grid-column:1;font:900 clamp(1.75rem,3.6vw,3.25rem)/1 "Archivo",system-ui,sans-serif;letter-spacing:-.025em}
.bl-what{grid-column:1;color:var(--bl-graphite);max-width:56ch}
.bl-go{grid-column:2;grid-row:1/4;display:grid;place-items:center;width:3.5rem;height:3.5rem;border-radius:12px;background:var(--bl-orange);color:#111;font:700 1.5rem/1 "JetBrains Mono",monospace}
@media (prefers-reduced-motion:no-preference){.bl-rows a:hover .bl-go{transform:translateX(4px)}.bl-go{transition:transform .3s}}
@media (width<=560px){.bl-rows a{padding:1.25rem;gap:.25rem 1rem}.bl-go{width:2.75rem;height:2.75rem;grid-row:1}}
.bl-recap-foot a{text-decoration:underline;text-underline-offset:.2em;text-decoration-color:var(--bl-orange);text-decoration-thickness:2px}

/* ===== council round 3 ===== */
.bl-problem{display:flex;align-items:center;justify-content:center;flex:1;min-height:12rem}
.bl-note{position:relative;width:min(100%,16rem);padding:1rem 1.1rem 1.1rem;background:#fff;border:2px solid #111;border-radius:6px;box-shadow:6px 6px 0 rgb(17 17 17 / .12);transform:rotate(-2deg);
  font:600 .875rem/1 "JetBrains Mono",monospace;color:#111;display:grid;gap:.6rem}
.bl-note b{color:var(--bl-orange)}
.bl-note i{display:block;height:.375rem;border-radius:3px;background:var(--bl-grid)}
.bl-note i.bl-short{width:55%;background:var(--bl-orange)}

#coach div:has(> .bl-chip){display:flex;flex-wrap:wrap;gap:.75rem;height:auto}
.bl-chip{display:inline-flex;align-items:center;height:3.5rem;padding:0 1.25rem;border:2px solid #111;border-radius:14px;font:600 .8125rem/1 "JetBrains Mono",monospace;letter-spacing:.06em;color:#111;text-decoration:none;vertical-align:top}
.bl-rule{border:0;border-top:2px solid #111;margin:.75rem 0 0}
/* register: the email field sits under its paragraph, not pinned to the card's bottom (Opus) */
#register > div > div:first-child{justify-content:flex-start}
/* recap: the same top rule as the other sections; outlined arrows like the other buttons (Opus, Neon) */
#choose .bl-recap{border-top:2px solid #111;padding-top:2rem}
@media (width<=1024px){#choose .bl-recap{padding-top:1.5rem}}
@media (width<=560px){#choose .bl-recap{padding-top:1rem}}
.bl-go{background:#fff;border:2px solid var(--bl-orange);color:#111;font-size:1.25rem}
.bl-rows a:hover .bl-go,.bl-rows a:focus-visible .bl-go{background:var(--bl-orange)}
@media (width<=560px){.bl-go{grid-row:1/4;align-self:center}}
/* tablet and phone: the recap intro is centred like every other section intro */
@media (width<=768px){.bl-recap{text-align:center;justify-items:center}.bl-recap h2{margin-inline:auto;max-width:35rem}.bl-rows{width:100%;text-align:left}.bl-recap-head{justify-items:center}}
/* hero at 1280 and up: the headline reaches across (Opus) */
@media (width>=1280px){#top [data-hero="title"]{font-size:7.2rem}}
/* phone: the chart callout clears the Day 7 guide line (Opus) */
@media (width<=560px){[data-tilt-root] [data-chart-part="tooltip"]{left:-.25rem!important}}

/* ===== council round 4 ===== */
/* coach: the text keeps clear of the photo; the two buttons share one row under it, across the card */
@media (width>=769px){#coach > div{width:auto!important;max-width:none}}
@media (width>1024px){#coach h3,#coach h3 + p{max-width:calc(100% - min(36%,15rem) - 3.5rem)}}
#coach div:has(> [data-btn]){display:flex;flex-wrap:wrap;gap:.75rem;height:auto}
/* "your problem": the note sits in a light panel at the foot of the card, as large as the slot */
.bl-problem{margin-top:auto;min-height:13rem;background:var(--bl-grid);border-radius:6px;padding:1.75rem}
.bl-note{width:min(100%,20rem)}
.bl-note span{display:block}
/* phone: the chart callout keeps clear space before the Day 7 guide line */
@media (width<=560px){[data-tilt-root] [data-chart-part="tooltip"]{left:0!important;padding:.5rem .65rem;max-width:calc(70% - 1rem)}}
/* the third example card's chart box is as tall as the other two */
article[data-card] .rounded-panel.h-\[14\.8125rem\]{height:auto;min-height:15.0625rem}
@media (width<=1024px){article[data-card] .rounded-panel.h-\[14\.8125rem\]{min-height:14.0625rem}}
@media (width<=560px){article[data-card] .rounded-panel.h-\[14\.8125rem\]{min-height:0}}
/* programme cards: the link on */
.bl-more{display:inline-flex;gap:.4rem;margin-top:1rem;font-weight:600;color:#111;text-decoration:underline;text-underline-offset:.25em;text-decoration-color:var(--bl-orange);text-decoration-thickness:2px}

/* ===== council round 5 ===== */
/* programme cards: the link sits at the foot of each card, level across the three */
#instruments article[data-card]{display:flex;flex-direction:column}
#instruments article[data-card] > div:last-child{flex:1;display:flex;flex-direction:column}
.bl-more{margin-top:auto;padding-top:1rem}
/* "your problem": a short panel at the card's foot, a clear gap above it (Sol's proportions; Sol, Opus) */
.bl-problem{flex:0 0 auto;height:15rem;min-height:0;margin-top:auto}
article[data-card]:has(.bl-problem) > div:first-of-type{margin-bottom:1.5rem}
/* phone: the three example chart boxes share a height, so the labels under them line up (Opus) */
@media (width<=560px){article[data-card] > .rounded-panel{min-height:11.5rem}}
/* the hero lets the example app into the first screen on a laptop (Sol) */
@media (width>1024px){#top div:has(> [data-hero="title"]){padding-bottom:5rem}}
/* swipe rails on phones: the thumb is ink, so the visitor sees there is more (Neon) */
[data-rail-thumb]{background:#111!important}
/* footer column headings use the notebook label (Neon) */
footer nav > p{font:600 .75rem/1 "JetBrains Mono",monospace;letter-spacing:.14em;text-transform:uppercase}

/* ===== council round 6 ===== */
/* "your problem": from tablet width up the panel fills the space under the text, the note centred in it (Opus) */
@media (width>=769px){.bl-problem{flex:1 1 auto;height:auto;min-height:15rem}}
@media (width>=769px){.bl-problem .bl-note{width:88%;padding:1.5rem 1.5rem 1.75rem;gap:1rem;font-size:1.0625rem}.bl-problem .bl-note i{height:.5rem}}
/* recap arrows: the hero arrow, about 24px, ink */
.bl-go img{width:1.5rem;height:1.5rem;filter:brightness(0)}
/* the form's submit is the brand button */
[data-newsletter] [data-btn]{background:#fff!important;color:#111!important;border:3px solid var(--bl-orange)!important;border-radius:14px!important}
/* 1024 x 768: the sign-up count shows in the first screen (Sol) */
@media (769px<=width<=1024px){#top div:has(> [data-hero="title"]){padding-top:3.5rem;padding-bottom:3rem}}

/* ===== council round 7 ===== */
/* "your problem" from 769px up: no grey slab; the note sits on the card's foot, as the template's chart did (Opus, Neon, Sol) */
@media (width>=769px){.bl-problem{background:none;padding:0;align-items:flex-end;justify-content:flex-start}
  .bl-problem .bl-note{width:min(100%,22rem);padding:1rem 1.1rem 1.1rem;gap:.6rem;font-size:.875rem}.bl-problem .bl-note i{height:.375rem}}
.bl-note span{white-space:nowrap}
/* the recap intro: label left, heading right, like every other section; stacked and centred on phones */
@media (width>=769px){.bl-recap-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:2.5rem;align-items:start}
  .bl-recap-head h2{max-width:none}}
.bl-recap-head{display:grid;gap:1rem}
/* the white strands behind "How a class works" stay quiet behind the step text (Neon; Sol's conversion did the same) */
#getting-started [data-flow]{opacity:.4}
/* phones: programme artwork shorter, so each card's name shows sooner (Sol, twice) */
@media (width<=560px){#instruments .h-77.shrink-0{height:11rem}#instruments .h-77.shrink-0 > *{transform:scale(.6)}}

/* ===== council round 8 ===== */
/* "You bring a real problem" from 769px up: the note is a notebook card that fills the template's chart slot (Neon, Opus) */
.bl-note q{display:block;font:500 1rem/1.4 "Inter",system-ui,sans-serif;color:#111;quotes:"“" "”"}
/* from 769px the note fills the card under the text (24px gap) and lists the three problems from the v2 card stack,
   so the tall bento card has content, not white space (round 8, all three) */
@media (width>=561px){.bl-problem{min-height:18rem;height:auto;flex:1 1 auto;align-items:stretch}
  .bl-problem .bl-note{height:100%;align-content:space-between}
  .bl-note q + q{padding-top:.9rem;border-top:1.5px dashed #B9BAB6}
  .bl-problem .bl-note{width:100%;min-height:17rem;align-content:space-between;padding:1.5rem;gap:1rem;font-size:.9375rem;transform:rotate(-1.5deg)}
  .bl-problem .bl-note q{font-size:1.25rem}.bl-problem .bl-note i{height:.5rem}}
@media (width<=560px){.bl-note .bl-more-q{display:none}}
/* recap intro spacing matches the other sections */
.bl-recap-head{padding-bottom:3rem}
@media (width<=1024px){.bl-recap-head{padding-bottom:2.5rem}}
@media (width<=560px){.bl-recap-head{padding-bottom:2rem;justify-items:center}}
@media (width>=769px){.bl-recap-head{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1.25rem}.bl-recap-head h2{grid-column:span 2}}
/* orange-bordered buttons: once the hover sweep has passed, the button itself is orange, so no white shows in the corners
   (Neon, Sol). The delay lets the sweep play first. */
@media (hover:hover) and (min-width:1025px){
  [data-btn]:is([href*="register-interest/"],[href="register-interest/"]):not([data-hero] *):hover,[data-newsletter] [data-btn]:hover{background-color:var(--bl-orange)!important;transition:background-color 0s .3s}}

/* ===== council round 9 ===== */
.bl-wrap{white-space:normal}
#instruments article .grid:has(.bl-wrap){grid-template-rows:auto auto}
/* the problem note: paper on paper at every width, the same tilt with motion on or off */
.bl-problem{background:none!important;padding:0!important}
@media (width<=560px){.bl-problem{min-height:0;height:auto;margin-top:0}article[data-card]:has(.bl-problem) > div:first-of-type{margin-bottom:1rem}}
/* envelope panel: paper with the 2px ink line */
[data-envelope-panel]{border:2px solid #111;border-radius:6px}
/* orange-bordered buttons: settled orange on keyboard focus too, and on any hover-capable screen width (Sol) */
@media (hover:hover){[data-btn]:is([href*="register-interest/"],[href="register-interest/"]):not([data-hero] *):hover,[data-newsletter] [data-btn]:hover{background-color:var(--bl-orange)!important;transition:background-color 0s .3s}}
[data-btn]:is([href*="register-interest/"],[href="register-interest/"]):not([data-hero] *):focus-visible,[data-newsletter] [data-btn]:focus-visible{background-color:var(--bl-orange)!important;transition:background-color 0s .3s}

/* ===== council round 10 ===== */
.bl-mark{background:var(--bl-orange)!important;border-color:var(--bl-orange)!important}
/* footer: a long programme name wraps inside its column with motion on too (rollLabel's box is nowrap) */
footer a[data-nav]{max-width:100%}
footer a[data-nav] > span.relative{white-space:normal;max-width:100%}
/* recap: the help line sits clear of the last row */
.bl-recap-foot{margin-top:1.5rem}
/* programmes, desktop: titles take two lines' room so the three cards' rows line up (Neon) */
@media (width>=1024px){#instruments article .grid{grid-template-rows:auto auto}#instruments article h3.text-title-m{min-height:calc(2lh + .5625rem)}}
/* hero, 561-1024: a flatter tilt keeps the example card's ink border inside the page at the top (Neon) */
@media (561px<=width<=1024px){:root{--tilt-angle:10deg;--tilt-scale:.88}}
/* keyboard focus: ink ring, paper on the ink footer; no browser blue (Neon, from Sol's and Neon's conversions) */
:focus-visible{outline:2px solid #111;outline-offset:3px}
footer :focus-visible,.fixed.bg-ink :focus-visible{outline-color:#fff}  /* the top header sits on paper: ink ring there (Neon, site round 12) */
/* reduced motion: every step tile shows its active colour (Opus) */
@media (prefers-reduced-motion:reduce){#getting-started [data-step-tile]{background:#fff!important;color:#111!important}}

/* ===== council round 11 ===== */
/* problem note: an even gap between quotes, not spread over the note; label at the top, the quotes centred below it (Sol, Opus) */
@media (width>=561px){.bl-problem .bl-note{display:flex;flex-direction:column;gap:1.75rem}.bl-problem .bl-note > span,.bl-problem .bl-note > q:last-child{margin-bottom:auto}}
@media (561px<=width<=768px){.bl-problem .bl-note{gap:1rem}}
/* email field: orange line while it has focus, motion on or off (Neon, from Neon's conversion) */
[data-newsletter]:focus-within{border-color:var(--bl-orange)!important}
/* phone rails: room for the cards' bottom border while they slide in (Neon, from Sol's conversion) */
[data-rail]{padding-bottom:4px}

/* ===== envelope 3D smoothness & crisp edges ===== */
[data-envelope-pose]{will-change:transform}
[data-envelope-pose] > div{background:#fff;transform:translateZ(.5px);backface-visibility:hidden}
[data-envelope-pose] > span{backface-visibility:hidden}

/* ===== sub-pages (pagekit.py) ===== */
/* a block under a section heading: same rhythm as the template's content grids */
.bl-block{display:grid;gap:.75rem}
@media (width>=769px){.bl-indent{margin-left:calc((100% - 2.5rem) / 3 + 1.25rem)}}
/* rows that are not links: the recap's row, without the arrow */
.bl-rows li > div:not(.bl-here){display:grid;align-content:start;gap:.35rem;padding:1.5rem 2rem;border:2px solid #111;border-radius:6px;background:#fff;color:#111;height:100%}
.bl-rows li > div:not(.bl-here) .bl-name{font-size:clamp(1.375rem,2.2vw,1.875rem);line-height:1.1}
.bl-rows li > div .bl-what{color:var(--bl-graphite)}
@media (width<=560px){.bl-rows li > div{padding:1.25rem}}
.bl-rows.bl-cols-2,.bl-rows.bl-cols-3{gap:1.25rem}
@media (width>=769px){.bl-rows.bl-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (width>=1025px){.bl-rows.bl-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (769px<=width<=1024px){.bl-rows.bl-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.bl-rows.bl-cols-3 li > div{padding:1.25rem}}
/* FAQ: open/close rows in the card style, no script needed */
.bl-faq{display:grid;gap:.75rem}
.bl-faq details{border:2px solid #111;border-radius:6px;background:#fff}
.bl-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.5rem;
  font:800 clamp(1.0625rem,1.6vw,1.25rem)/1.3 "Archivo",system-ui,sans-serif;letter-spacing:-.01em;color:#111;border-radius:4px}
.bl-faq summary::-webkit-details-marker{display:none}
.bl-faq summary::after{content:"+";flex:none;display:grid;place-items:center;width:2.25rem;height:2.25rem;border:2px solid var(--bl-orange);border-radius:8px;
  font:700 1.25rem/1 "JetBrains Mono",monospace;color:#111}
.bl-faq details[open] summary::after{content:"\2212";background:var(--bl-orange)}
@media (hover:hover){.bl-faq summary:hover{background:var(--bl-grid)}}
.bl-faq details p{padding:0 1.5rem 1.5rem;max-width:68ch;color:var(--bl-graphite);font-size:1.0625rem;line-height:1.55}
@media (width<=560px){.bl-faq summary{padding:1rem 1.25rem}.bl-faq details p{padding:0 1.25rem 1.25rem}}
.bl-block .bl-recap-foot{margin-top:1.5rem}
.bl-recap-foot a[data-btn]{text-decoration:none}
@media (width<=560px){.bl-recap-foot a[data-btn]{display:flex;width:100%;justify-content:center}}
@media (width<=768px){.bl-block .bl-recap-foot{text-align:center}}
/* hero photo in place of the template's chart: inside the tilted card, ink line, mono caption */
.bl-photo{position:relative;flex:1 1 0;min-width:0;min-height:24rem;margin:0;border:2px solid #111;border-radius:6px;overflow:hidden;background:var(--bl-grid)}
.bl-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bl-photo figcaption{position:absolute;right:.75rem;bottom:.75rem;padding:.35rem .6rem;background:#fff;border:2px solid #111;border-radius:6px;
  font:600 .6875rem/1 "JetBrains Mono",monospace;letter-spacing:.06em;color:#111}
.bl-tag{position:absolute;left:.75rem;top:.75rem;padding:.5rem .8rem;background:#fff;border:2px solid #111;border-radius:999px;
  font:600 .75rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:#111}
.bl-tag b{color:var(--bl-orange)}
@media (width<=1024px){.bl-photo{flex:none;min-height:22rem}}
@media (width<=560px){.bl-photo{min-height:15rem}}
/* plain list items in the notebook note (no quote marks) */
.bl-note q.bl-plain{quotes:none}
/* long section and card labels wrap inside their column, the ">" on the first line (site round 12) */
[data-heading] [data-pill],#coach > [data-pill],#proof > [data-pill]{white-space:normal;height:auto;min-height:2rem;line-height:1.4!important;align-items:flex-start}
/* recap: the page you are on is marked, not a link back to itself (Sol) */
.bl-rows li > .bl-here{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.25rem 2rem;padding:1.5rem 2rem;border:2px solid #111;border-radius:6px;background:var(--bl-grid);color:#111}
@media (width<=560px){.bl-rows li > .bl-here{padding:1.25rem;gap:.25rem 1rem;grid-template-columns:minmax(0,1fr)}
  .bl-here .bl-go{grid-column:1!important;grid-row:auto!important;justify-self:start;margin-top:.5rem}}
.bl-here .bl-go{width:auto;height:auto;align-self:center;white-space:nowrap;padding:.5rem .75rem;border:2px solid #111;border-radius:999px;background:#fff;
  font:600 .75rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase}
/* FAQ draft note, one style on every page */
.bl-draft{margin-bottom:1rem;font:600 .75rem/1.5 "JetBrains Mono",monospace;letter-spacing:.06em;color:var(--bl-graphite)}
/* coach and proof (coach_proof()): Rasmus's facts as a list beside his photo, where he studied and built beside that */
.bl-list{display:grid;gap:.5rem;color:var(--bl-graphite)}
.bl-list li{position:relative;padding-left:1.4em}
.bl-list li::before{content:">";position:absolute;left:0;color:var(--bl-orange);font:700 1em/1.55 "JetBrains Mono",monospace}
@media (width>1024px){#coach .bl-list{max-width:calc(100% - min(36%,15rem) - 3.5rem)}body:not([data-page="home"]) .bl-coach-pic{top:4.75rem}}
#proof{border:2px solid #111;align-self:start}
#proof .bl-rule{width:100%;margin:0}
.bl-proofs{display:grid;gap:2rem;width:100%}
.bl-proof{display:grid;gap:1.1rem}
.bl-proof-k{font:600 .75rem/1.4 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--bl-graphite)}
.bl-logos{display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem 2.25rem;min-height:4rem}
.bl-logos a{display:inline-flex;align-items:center;gap:.65rem;color:#111;text-decoration:none;font:600 1rem/1.25 "Inter",system-ui,sans-serif}
.bl-logos img{height:2.5rem;width:auto}
.bl-logos .bl-yc img{height:2.5rem;width:2.5rem}
.bl-logos .bl-nus img{height:3rem}
@media (width<=560px){.bl-proofs{gap:1.5rem}}

/* Desktop: the design is drawn at 1440px and scales with the window. Scale type and spacing as if the
   window were 88% wide (capped at 1240px) so nothing gets oversized. Backgrounds stay full width;
   .px-page centres the content column, which leaves wider margins in the section's own colour. */
@media (min-width:1025px){
  html{font-size:calc(min(100vw * .88, 1240px) * 16 / 1440)}
}
/* Desktop: the "what to expect" card grid (home + Young Builders Lab) was taller than a laptop screen.
   Shorter rows so the whole grid fits within about 75% of a 768px-tall window. */
@media (min-width:1025px){
  .grid-rows-\[13\.5625rem_21\.25rem_9\.125rem\]{grid-template-rows:12rem 17.5rem 9.25rem}
  .grid-rows-\[13\.5625rem_21\.25rem_9\.125rem\]>.min-h-85{min-height:17.5rem}
}
/* Tablet landscape (900-1024px, e.g. older iPads): same idea as desktop, a little margin and a shorter card grid. */
@media (min-width:900px) and (max-width:1024px){
  html{font-size:calc(100vw * .88 * 16 / 1024)}
  .grid-rows-\[13\.5625rem_21\.25rem_9\.125rem\]{grid-template-rows:15rem 18rem 12.5rem}
  .grid-rows-\[13\.5625rem_21\.25rem_9\.125rem\]>.min-h-85{min-height:18rem}
}

/* Programme cards: the whole card is clickable. The "See the ..." link stretches over its card. */
article:has(.bl-more){position:relative;cursor:pointer}
article:has(.bl-more) .bl-more::after{content:"";position:absolute;inset:0;z-index:1}
article:has(.bl-more):hover .bl-more span{transform:translateX(3px)}
.bl-more span{transition:transform .2s}
/* Home hero: four "start here" doors on a full-width row under the lead. */
#top:has(.bl-doorwrap) [data-hero="lead"]{grid-column:1/-1!important;grid-row:3!important;justify-self:start!important;max-width:42rem!important}
#top .bl-doorwrap{grid-column:1/-1;grid-row:4;width:100%;padding-top:2.5rem;display:flex;flex-direction:column;gap:.75rem;text-align:left}
.bl-door-k{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--bl-orange)}
.bl-doors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;width:100%}
.bl-door{position:relative;display:flex;flex-direction:column;gap:.3rem;padding:1.1rem 2.6rem 1.15rem 1.25rem;background:#fff;color:#111;border:1.5px solid #111;text-align:left;transition:border-color .15s,box-shadow .15s}
.bl-door b{font-weight:600;font-size:1.05rem;line-height:1.25}
.bl-door span{color:var(--bl-graphite);font-size:.92rem;line-height:1.35}
.bl-door-arrow{position:absolute;right:1rem;top:1.25rem;width:16px;height:16px;transition:transform .2s}
.bl-door:hover,.bl-door:focus-visible{border-color:var(--bl-orange);box-shadow:0 0 0 2px var(--bl-orange)}
.bl-door:hover .bl-door-arrow{transform:translateX(3px)}
@media (max-width:1024px){.bl-doors{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.bl-doors{grid-template-columns:1fr}}
/* S1 (25 Nov): top bar current-page marker */
[data-site-header] nav a[aria-current="page"],.bg-ink nav a[aria-current="page"]{color:var(--highlight)}
#mobile-menu nav a[aria-current="page"]{font-weight:600}
#mobile-menu nav a[aria-current="page"]::after{content:"";width:.5rem;height:.5rem;border-radius:50%;background:var(--highlight);margin-left:.75rem}

/* S1 (25 Nov): phone menu button no taller than the logo; calmer menu text */
@media (max-width:768px){
  /* box runs from the top of the "b" to the baseline of the logo text, so it lines up with the letters */
  [data-menu-toggle],[data-menu-close]{width:calc(var(--text-logo) * 1.05)!important;height:calc(var(--text-logo) * .79)!important;border-radius:.25rem!important;position:relative;transform:translateY(calc(var(--text-logo) * -.052))}
  [data-menu-toggle]::before,[data-menu-close]::before{content:"";position:absolute;inset:-.75rem -.5rem}
  [data-menu-toggle] img,[data-menu-toggle] svg,[data-menu-close] svg{width:calc(var(--text-logo) * .55)!important;height:calc(var(--text-logo) * .55)!important}
}
#mobile-menu nav a{font-family:Inter,system-ui,sans-serif!important;font-size:1.0625rem!important;line-height:1.3!important;height:3.25rem!important;font-weight:500!important;letter-spacing:0!important}
#mobile-menu nav a[aria-current="page"]{font-weight:600}
#mobile-menu [data-btn]{height:2.75rem!important;font-size:.9375rem!important}
#mobile-menu .pt-10{padding-top:1.5rem!important}

/* Coach card (shared, 25 Nov) */
.bl-cc{display:grid;grid-template-columns:13rem minmax(0,1fr) minmax(0,1fr);gap:2.5rem;align-items:center;padding:2.5rem;border:2px solid #111}
.bl-cc-pic{margin:0;transform:rotate(-2deg);position:relative}
.bl-cc-pic img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:2px solid #111;border-radius:6px;background:#fff}
.bl-cc-pic::before{content:"";position:absolute;z-index:1;top:-.6rem;left:50%;width:5rem;height:1.3rem;margin-left:-2.5rem;background:var(--bl-tape);opacity:.75;transform:rotate(-4deg)}
.bl-cc-main{display:flex;flex-direction:column;gap:.9rem;min-width:0}
.bl-cc-k{font:600 .75rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--bl-orange)}
.bl-cc-name{font:800 2.5rem/1.05 "Archivo",system-ui,sans-serif;letter-spacing:-.02em;color:#111;margin:0}
.bl-cc-list{list-style:none;margin:.25rem 0 0;padding:0;display:grid;gap:.45rem}
.bl-cc-list li{position:relative;padding-left:1.4rem;font:500 1rem/1.4 "Inter",system-ui,sans-serif;color:#2b2b28}
.bl-cc-list li::before{content:">";position:absolute;left:0;font-family:"JetBrains Mono",monospace;font-weight:700;color:var(--bl-orange)}
.bl-cc-btns{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.5rem}
.bl-cc-btns a{display:inline-flex;align-items:center;gap:.4rem;height:2.9rem;padding:0 1.15rem;border:2px solid #111;border-radius:.75rem;font:600 .9375rem/1 "Inter",system-ui,sans-serif;color:#111;text-decoration:none;background:#fff;transition:background .15s}
.bl-cc-btns a:hover,.bl-cc-btns a:focus-visible{background:var(--bl-grid)}
.bl-cc-proof{border-left:2px solid #111;padding-left:2.5rem;align-self:stretch;align-content:center}
@media (width<=1024px){
  .bl-cc{grid-template-columns:10rem minmax(0,1fr);gap:2rem}
  .bl-cc-proof{grid-column:1/-1;border-left:0;border-top:2px solid #111;padding:1.75rem 0 0}
  .bl-cc-name{font-size:2.1rem}
}
@media (width<=560px){
  .bl-cc{grid-template-columns:1fr;padding:1.5rem;gap:1.5rem}
  .bl-cc-pic{width:9rem}
  .bl-cc-name{font-size:1.9rem}
}

#coach .bl-cc-name{max-width:none!important;width:auto!important}


/* H5 example cards (25 Nov) */
/* "What you can build with AI" on the home page: three app mocks (Quote check, Revision plan, Monthly slide). Everything is scoped to .bl-h5. */
.bl-h5{--h5-ink:#111;--h5-orange:#FF5A1F;--h5-graphite:#4A4A45;--h5-grid:#ECEEF3;--h5-mute:#8A8A85;--h5-line:#B9BAB6;--h5-soft:#D9D9D5}
.bl-h5{grid-template-rows:none!important}
.bl-h5 figure{margin:0}
.bl-h5 .h5-sol b{display:block;margin-bottom:.25rem;font:600 .75rem/1.4 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase;color:#111}
.bl-h5 .h5-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bl-h5 .h5-panel{position:relative;min-height:19.5rem;display:flex;align-items:center;justify-content:center;padding:.25rem .5rem .75rem .25rem}
.bl-h5 .h5-app{width:100%;background:#fff;border:2px solid var(--h5-ink);border-radius:14px;padding:.9rem 1rem 1rem;box-shadow:8px 8px 0 rgb(17 17 17 / .12)}
.bl-h5 .h5-tilt-l{transform:rotate(-1.5deg)}
.bl-h5 .h5-tilt-r{transform:rotate(1.25deg)}
.bl-h5 .h5-app-top{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font:800 1rem/1 "Archivo",sans-serif}
.bl-h5 .h5-app-pill{font:600 .5625rem/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase;border:1.5px solid var(--h5-ink);border-radius:999px;padding:.32rem .5rem;white-space:nowrap}
.bl-h5 .h5-app-top > span:first-child{white-space:nowrap}
.bl-h5 .h5-app{min-width:0}
.bl-h5 .h5-app-top{min-width:0}
.bl-h5 .h5-r-days li > span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bl-h5 .h5-k{font:600 .5625rem/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--h5-graphite)}
.bl-h5 .h5-win{margin-top:.75rem;text-align:center;font:700 .75rem/1.2 "Inter",sans-serif;background:var(--h5-ink);color:#fff;border-radius:999px;padding:.55rem .75rem}
.bl-h5 .h5-win em{font-style:normal;color:var(--h5-orange)}
.bl-h5 .h5-q-head,.bl-h5 .h5-q-row{display:grid;grid-template-columns:1.6rem 1fr auto;gap:.6rem;align-items:center}
.bl-h5 .h5-q-head{margin-top:.8rem;padding-bottom:.35rem;border-bottom:1px solid rgb(17 17 17 / .15)}
.bl-h5 .h5-q-head .h5-k:last-child{text-align:right}
.bl-h5 .h5-q-row{padding:.45rem 0;border-bottom:1px solid rgb(17 17 17 / .1)}
.bl-h5 .h5-q-id{width:1.6rem;height:1.6rem;border:1.5px solid var(--h5-ink);border-radius:6px;display:grid;place-items:center;font:700 .75rem/1 "JetBrains Mono",monospace}
.bl-h5 .h5-q-tot{font:700 .9375rem/1.1 "Inter",sans-serif;font-variant-numeric:tabular-nums}
.bl-h5 .h5-q-tot{min-width:0;white-space:nowrap}
.bl-h5 .h5-q-tot small{display:block;white-space:nowrap;margin-top:.15rem;font:500 .5625rem/1.2 "JetBrains Mono",monospace;color:var(--h5-graphite);letter-spacing:.02em}
.bl-h5 .h5-q-days{text-align:right;font:600 .75rem/1.2 "Inter",sans-serif;white-space:nowrap}
.bl-h5 .h5-q-tot i{display:inline-block;vertical-align:.15em;margin-left:.4rem;font:600 .5rem/1 "JetBrains Mono",monospace;font-style:normal;letter-spacing:.08em;text-transform:uppercase;padding:.2rem .35rem;border-radius:999px}
.bl-h5 .h5-q-best .h5-q-id{background:var(--h5-orange);border-color:var(--h5-orange);color:#fff}
.bl-h5 .h5-q-best .h5-q-tot i{background:var(--h5-orange);color:#fff}
.bl-h5 .h5-q-late{color:var(--h5-mute)}
.bl-h5 .h5-q-late .h5-q-id{border-color:var(--h5-line);color:var(--h5-mute)}
.bl-h5 .h5-q-late .h5-q-tot i{border:1px solid var(--h5-line);color:var(--h5-mute)}
.bl-h5 .h5-q-late .h5-q-tot small{color:var(--h5-mute)}
.bl-h5 .h5-r-days{list-style:none;margin:.75rem 0 0;padding:0}
.bl-h5 .h5-r-days li{display:grid;grid-template-columns:2.1rem 1fr 1rem;gap:.5rem;align-items:center;padding:.38rem 0;border-bottom:1px solid rgb(17 17 17 / .1);font:600 .8125rem/1.2 "Inter",sans-serif}
.bl-h5 .h5-r-days li > span:first-child{font:600 .5625rem/1 "JetBrains Mono",monospace;letter-spacing:.08em;color:var(--h5-graphite)}
.bl-h5 .h5-r-days li em{font-style:normal;font-weight:500;color:var(--h5-graphite)}
.bl-h5 .h5-r-chk{width:1rem;height:1rem;border:1.5px solid var(--h5-line);border-radius:4px;display:grid;place-items:center}
.bl-h5 .h5-r-done .h5-r-chk{background:var(--h5-ink);border-color:var(--h5-ink)}
.bl-h5 .h5-r-done .h5-r-chk::after{content:"";width:.4rem;height:.22rem;border:solid #fff;border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}
.bl-h5 .h5-r-done > span:nth-child(2){color:var(--h5-mute);text-decoration:line-through;text-decoration-color:rgb(17 17 17 / .35)}
.bl-h5 .h5-r-done em{color:var(--h5-mute)}
.bl-h5 .h5-r-today{background:rgb(255 90 31 / .08);margin:0 -.5rem;padding-left:.5rem!important;padding-right:.5rem!important;border-radius:6px;border-bottom-color:transparent!important}
.bl-h5 .h5-r-today > span:first-child{color:var(--h5-orange)}
.bl-h5 .h5-r-today .h5-r-chk{border-color:var(--h5-orange)}
.bl-h5 .h5-r-prog{display:grid;gap:.4rem;margin-top:.75rem}
.bl-h5 .h5-r-prog div{display:grid;grid-template-columns:3.6rem 1fr 1.9rem;gap:.5rem;align-items:center}
.bl-h5 .h5-r-prog b{font:600 .5625rem/1 "JetBrains Mono",monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--h5-graphite)}
.bl-h5 .h5-r-prog span{font:700 .6875rem/1 "Inter",sans-serif;text-align:right;font-variant-numeric:tabular-nums}
.bl-h5 .h5-bar{height:.45rem;background:var(--h5-grid);border-radius:999px;overflow:hidden}
.bl-h5 .h5-bar i{display:block;height:100%;width:var(--w);background:var(--h5-ink);border-radius:999px;transform-origin:left;animation:h5grow 1.1s cubic-bezier(.22,1,.36,1) .3s both}
.bl-h5 .h5-bar.h5-on i{background:var(--h5-orange)}
@keyframes h5grow{from{transform:scaleX(0)}}
.bl-h5 .h5-s-wrap{width:100%;display:flex;flex-direction:column;gap:.9rem}
.bl-h5 .h5-slide{position:relative;container-type:inline-size;aspect-ratio:16/9;background:#fff;border:2px solid var(--h5-ink);border-radius:6px;box-shadow:8px 8px 0 rgb(17 17 17 / .12);overflow:hidden}
.bl-h5 .h5-slide-in{position:absolute;inset:0;display:grid;grid-template-columns:44% minmax(0,1fr);grid-template-rows:auto 1fr;gap:3cqw 4cqw;padding:5cqw 5cqw 4.5cqw}
.bl-h5 .h5-s-top{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid rgb(17 17 17 / .15);padding-bottom:2.5cqw}
.bl-h5 .h5-s-top b{font:800 7.2cqw/1 "Archivo",sans-serif;letter-spacing:-.01em}
.bl-h5 .h5-s-top span{font:600 3.2cqw/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--h5-graphite)}
.bl-h5 .h5-s-kpi{display:flex;flex-direction:column;justify-content:center;gap:2cqw}
.bl-h5 .h5-s-kpi .h5-lbl{font:600 3.2cqw/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--h5-graphite)}
.bl-h5 .h5-s-kpi b{white-space:nowrap;font:900 8.6cqw/1 "Archivo",sans-serif;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.bl-h5 .h5-s-kpi em{font:700 4.2cqw/1.25 "Inter",sans-serif;font-style:normal;color:var(--h5-orange)}
.bl-h5 .h5-s-kpi em span{display:block;color:var(--h5-graphite);font-weight:500}
.bl-h5 .h5-s-chart{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.2cqw;align-items:end;min-height:0}
.bl-h5 .h5-s-chart div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:1cqw}
.bl-h5 .h5-s-chart u{text-decoration:none;white-space:nowrap;letter-spacing:-.02em;font:700 3cqw/1 "Inter",sans-serif;font-variant-numeric:tabular-nums}
.bl-h5 .h5-s-chart i{display:block;width:100%;height:calc(var(--h) * 0.62);background:var(--h5-soft);border-radius:2px 2px 0 0;transform-origin:bottom;animation:h5growy 1s cubic-bezier(.22,1,.36,1) .3s both}
.bl-h5 .h5-s-chart .h5-top u{color:var(--h5-orange)}
.bl-h5 .h5-s-chart .h5-top i{background:var(--h5-orange)}
.bl-h5 .h5-s-chart s{text-decoration:none;font:600 3cqw/1 "JetBrains Mono",monospace;letter-spacing:.04em;color:var(--h5-graphite)}
@keyframes h5growy{from{transform:scaleY(0)}}
@media (prefers-reduced-motion:reduce){
.bl-h5 .h5-s-chart i{animation:none}}
@media (width<=1180px){
.bl-h5 .h5-app{padding:.75rem .8rem .85rem;box-shadow:5px 5px 0 rgb(17 17 17 / .12)}
.bl-h5 .h5-app-top{font-size:.875rem}
.bl-h5 .h5-app-pill{font-size:.5rem;padding:.3rem .4rem;letter-spacing:.05em}
.bl-h5 .h5-win{font-size:.6875rem}
.bl-h5 .h5-r-days li{font-size:.75rem}
.bl-h5 .h5-q-tot small{font-size:.5rem}
.bl-h5 .h5-q-tot{font-size:.875rem}
.bl-h5 .h5-q-tot i{font-size:.4375rem;margin-left:.3rem;padding:.18rem .3rem}
.bl-h5 .h5-q-head,.bl-h5 .h5-q-row{gap:.5rem}
.bl-h5 .h5-q-days{font-size:.6875rem}
}

@media (prefers-reduced-motion:reduce){.bl-h5 .h5-bar i{animation:none}}
/* card padding and phone rail width, this section only */
@media (width<=1180px){.bl-h5 > article[data-card]{padding:1.25rem!important}}
@media (width<=560px){.bl-h5{grid-template-columns:repeat(3,19.5rem)!important}}
/* the site's fluid root font is ~13.8px at 1440, so lift the mock type a little on wide screens */
@media (width>1180px){
  .bl-h5 .h5-app-top{font-size:1.125rem}
  .bl-h5 .h5-app-pill,.bl-h5 .h5-k{font-size:.625rem}
  .bl-h5 .h5-q-tot{font-size:1.0625rem}
  .bl-h5 .h5-q-tot small{font-size:.625rem}
  .bl-h5 .h5-q-tot i{font-size:.5625rem}
  .bl-h5 .h5-q-days{font-size:.875rem}
  .bl-h5 .h5-q-id{width:1.8rem;height:1.8rem;font-size:.8125rem}
  .bl-h5 .h5-q-head,.bl-h5 .h5-q-row{grid-template-columns:1.8rem 1fr auto}
  .bl-h5 .h5-r-days li{font-size:.9375rem;grid-template-columns:2.6rem 1fr 1.1rem}
  .bl-h5 .h5-r-days li > span:first-child,.bl-h5 .h5-r-prog b{font-size:.625rem}
  .bl-h5 .h5-r-prog span{font-size:.8125rem}
  .bl-h5 .h5-win{font-size:.875rem}
}

/* Contact band (shared, 25 Nov) */
.bl-ct{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,26rem);gap:3rem;align-items:center;background:#111;color:#fff;border-radius:var(--radius-card,1rem);padding:3.5rem}
.bl-ct-k{font:600 .75rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--bl-orange)}
.bl-ct-h{margin:1rem 0 0;font:800 clamp(2.25rem,4vw,3.5rem)/1.02 "Archivo",system-ui,sans-serif;letter-spacing:-.02em;color:#fff;text-wrap:balance}
.bl-ct-p{margin-top:1rem;max-width:30rem;font:500 1.0625rem/1.5 "Inter",system-ui,sans-serif;color:#B9BAB6}
.bl-ct-r{display:grid;gap:.75rem}
.bl-ct-tile{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem 1.4rem;border:1.5px solid rgb(255 255 255 / .28);border-radius:.9rem;color:#fff;text-decoration:none;transition:border-color .15s,background .15s}
.bl-ct-tile:hover,.bl-ct-tile:focus-visible{border-color:var(--bl-orange);background:rgb(255 255 255 / .04)}
.bl-ct-tk{font:600 .6875rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:#B9BAB6}
.bl-ct-tv{font:700 1.375rem/1.2 "Inter",system-ui,sans-serif;letter-spacing:-.01em;overflow-wrap:anywhere}
@media (width<=900px){.bl-ct{grid-template-columns:1fr;gap:2rem;padding:2.5rem}}
@media (width<=560px){.bl-ct{padding:1.75rem}.bl-ct-tv{font-size:1.2rem}}
/* Corporates: sample agenda folded away (25 Nov) */
.bl-agenda{margin-top:1.5rem}
.bl-agenda > summary{display:inline-flex;align-items:center;gap:.6rem;cursor:pointer;list-style:none;font:600 1rem/1.3 "Inter",system-ui,sans-serif;color:#111;border-bottom:2px solid var(--bl-orange);padding-bottom:.2rem}
.bl-agenda > summary::-webkit-details-marker{display:none}
.bl-agenda > summary::after{content:"+";font-family:"JetBrains Mono",monospace;color:var(--bl-orange)}
.bl-agenda[open] > summary::after{content:"\2212"}
.bl-agenda[open] > summary{margin-bottom:1.25rem}

/* Corporates: sample full-day agenda as a timeline (25 Nov) */
.bl-ag{margin-top:.25rem;background:#fff;border:2px solid #111;border-radius:14px;padding:1.75rem 2rem 1.5rem;max-width:52rem}
.bl-ag-k{font:600 .6875rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--bl-orange);margin-bottom:1.25rem}
.bl-ag-list{list-style:none;margin:0;padding:0;position:relative}
.bl-ag-list li{display:grid;grid-template-columns:4rem 1.25rem minmax(0,1fr);gap:0 1rem;align-items:start;position:relative;padding-bottom:1.1rem}
.bl-ag-list li:last-child{padding-bottom:0}
.bl-ag-list li:not(:last-child)::before{content:"";position:absolute;left:calc(4rem + 1rem + .625rem);top:.9rem;bottom:-.1rem;border-left:1.5px dashed #c8c8c2;transform:translateX(-50%)}
.bl-ag-t{font:600 .9375rem/1.4 "JetBrains Mono",monospace;color:#111;font-variant-numeric:tabular-nums;padding-top:.05rem}
.bl-ag-dot{width:.75rem;height:.75rem;border-radius:50%;background:var(--bl-orange);margin:.3rem auto 0;position:relative;z-index:1;box-shadow:0 0 0 4px #fff}
.bl-ag-body{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.bl-ag-body p{margin:0;font:500 1rem/1.45 "Inter",system-ui,sans-serif;color:#2b2b28;max-width:40rem}
.bl-ag-tag{align-self:flex-start;font:600 .625rem/1 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase;padding:.3rem .5rem;border-radius:999px;border:1.5px solid #111;color:#111}
.bl-ag-build,.bl-ag-improve{background:#111;color:#fff}
.bl-ag-plan,.bl-ag-test{border-color:var(--bl-orange);color:var(--bl-orange)}
.bl-ag-show{background:var(--bl-orange);border-color:var(--bl-orange);color:#fff}
.bl-ag-list li.bl-ag-break{grid-template-columns:4rem minmax(0,1fr);gap:0 1rem;padding-bottom:1.1rem}
.bl-ag-break .bl-ag-t{color:#8A8A85}
.bl-ag-break .bl-ag-txt{font:500 .8125rem/1.4 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:#8A8A85;padding:.1rem 0 0 2.25rem;background:linear-gradient(#dcdcd6,#dcdcd6) left 50%/1.75rem 1.5px no-repeat}
@media (width<=560px){
  .bl-ag{padding:1.25rem 1.1rem}
  .bl-ag-list li{grid-template-columns:3.25rem 1rem minmax(0,1fr);gap:0 .6rem}
  .bl-ag-list li:not(:last-child)::before{left:calc(3.25rem + .6rem + .5rem)}
  .bl-ag-list li.bl-ag-break{grid-template-columns:3.25rem minmax(0,1fr);gap:0 .6rem}
  .bl-ag-break .bl-ag-txt{padding-left:1.6rem;background-size:1.1rem 1.5px}
}

/* Corporates: sample day as its own section, with a summary panel (25 Nov) */
.bl-day{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1.5rem;align-items:start}
.bl-day .bl-ag{max-width:none;margin:0}
.bl-day-side{position:sticky;top:6rem}
.bl-day-card{background:#111;color:#fff;border-radius:14px;padding:1.75rem 1.75rem 1.6rem;display:flex;flex-direction:column;gap:.6rem}
.bl-day-k{font:600 .6875rem/1 "JetBrains Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--bl-orange)}
.bl-day-big{margin-top:.4rem;font:800 3.25rem/1 "Archivo",system-ui,sans-serif;letter-spacing:-.02em}
.bl-day-sub{font:500 1rem/1.4 "Inter",system-ui,sans-serif;color:#B9BAB6}
.bl-day-bar{display:flex;gap:3px;height:.9rem;margin:.9rem 0 .4rem;border-radius:999px;overflow:hidden}
.bl-day-bar i{display:block}
.bl-day-bar .h,.bl-day-legend .h{background:var(--bl-orange)}
.bl-day-bar .l,.bl-day-legend .l{background:#fff}
.bl-day-bar .b,.bl-day-legend .b{background:#4a4a45}
.bl-day-legend{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.bl-day-legend li{display:flex;align-items:center;gap:.55rem;font:500 .9375rem/1.3 "Inter",system-ui,sans-serif;color:#d9d9d5}
.bl-day-legend li i{width:.65rem;height:.65rem;border-radius:3px;flex:none}
.bl-day-legend li b{margin-left:auto;font:600 .875rem/1 "JetBrains Mono",monospace;color:#fff;font-variant-numeric:tabular-nums}
.bl-day-rule{border:0;border-top:1.5px dashed rgb(255 255 255 / .25);margin:1rem 0 .6rem}
.bl-day-out{list-style:none;margin:.2rem 0 0;padding:0;display:grid;gap:.5rem}
.bl-day-out li{position:relative;padding-left:1.4rem;font:500 1rem/1.4 "Inter",system-ui,sans-serif}
.bl-day-out li::before{content:"\2713";position:absolute;left:0;color:var(--bl-orange);font-weight:700}
@media (width<=900px){.bl-day{grid-template-columns:1fr}.bl-day-side{position:static}}

/* Corporates: why it matters (25 Nov) */
.bl-why{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.bl-why-c{background:#fff;border:2px solid #111;border-radius:14px;padding:1.5rem 1.4rem;display:flex;flex-direction:column;gap:.6rem}
.bl-why-c h3{margin:0;font:800 1.25rem/1.15 "Archivo",system-ui,sans-serif;letter-spacing:-.01em;color:#111;text-wrap:balance}
.bl-why-c p{margin:0;font:500 .9375rem/1.5 "Inter",system-ui,sans-serif;color:#4a4a45}

@media (width<=1100px){.bl-why{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (width<=560px){.bl-why{grid-template-columns:1fr}}

/* Corporates 25 Nov: legend fourth swatch; FAQ on the left */
.bl-day-bar .w,.bl-day-legend .w{background:#8A8A85}
.bl-faq-left{max-width:52rem;margin-left:0!important;padding-left:0!important}

/* Heading stack (shared, 25 Nov): eyebrow, then a one-line heading under it */
.bl-headstack{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:1.25rem}
.bl-headstack > div{width:100%}
.bl-headstack h2{width:auto!important;max-width:none!important}
@media (width>=901px){.bl-headstack h2{white-space:nowrap}}
@media (width<=768px){.bl-headstack{align-items:center!important}}

/* Footer (shared, 25 Nov): social icons, even link spacing, contact icons */
.bl-social{display:flex;flex-wrap:wrap;gap:.6rem;padding-top:1.75rem}
.bl-social a{display:inline-grid;place-items:center;width:2.9rem;height:2.9rem;border:1.5px solid rgb(255 255 255 / .55);border-radius:50%;color:#fff;transition:border-color .15s,background .15s,color .15s}
.bl-social a:hover,.bl-social a:focus-visible{border-color:var(--bl-orange);color:var(--bl-orange)}
.bl-social svg{width:1.25rem;height:1.25rem}
.bl-foot-list{gap:.85rem!important}
.bl-foot-list li{line-height:1.3}
.bl-foot-ic{display:inline-flex!important;align-items:center;gap:.55rem}
.bl-foot-ic svg{width:1.1rem;height:1.1rem;flex:none;opacity:.85}
