/* ==========================================================================
   MaedX — design system
   Edit the tokens in :root to restyle the whole site.
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #0B2F30;   /* deep petrol — hero, footer, dark bands */
  --ink-soft:   #123E3E;
  --ink-line:   rgba(255,255,255,.14);
  --yellow:     #FFC61E;
  --yellow-dk:  #E8AF00;
  --teal:       #35B3A5;   /* bright accent — only on dark grounds or as graphic fill */
  --teal-ink:   #12746B;   /* readable accent for text and icons on light grounds */
  --teal-tint:  #E4F4F1;

  /* Neutrals */
  --text:       #17211F;
  --muted:      #5C6B69;
  --line:       #E3E9E8;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F8F8;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --pad: 24px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11,47,48,.05), 0 8px 24px rgba(11,47,48,.06);
  --shadow-lg: 0 20px 50px rgba(11,47,48,.14);
  --t: .18s ease;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: 72px; }
.section--soft { background: var(--bg-soft); }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 3vw, 30px); }
.section-head h2::after {
  content: ""; display: block; width: 38px; height: 3px; border-radius: 2px;
  background: var(--teal); margin-top: 12px;
}
.section-head p { color: var(--muted); margin-top: 8px; max-width: 62ch; }
.stack-sm > * + * { margin-top: 8px; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--yellow); color: #14201F; }
.btn--primary:hover { background: var(--yellow-dk); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.link-arrow::after { content: "→"; transition: transform var(--t); }
.link-arrow:hover { color: var(--teal-ink); }
.link-arrow:hover::after { transform: translateX(3px); }

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { flex: 0 0 auto; }
.brand svg, .brand img { width: 118px; height: auto; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500;
  padding-block: 6px; border-bottom: 2px solid transparent; transition: color var(--t), border-color var(--t);
}
.nav a:hover { color: #fff; border-bottom-color: var(--teal); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--yellow); }
.header-cta { flex: 0 0 auto; }
.nav-toggle {
  display: none; margin-inline-start: auto;
  background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 8px;
  color: #fff; padding: 8px 10px; cursor: pointer; line-height: 0;
}

/* ---------------------------------------------------------------- hero -- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 380px at 78% 12%, rgba(255,198,30,.10), transparent 62%),
    radial-gradient(700px 420px at 8% 88%, rgba(53,179,165,.16), transparent 66%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: 48px; align-items: center; padding-block: 76px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; }
.hero p.lede { margin-top: 20px; color: rgba(255,255,255,.78); font-size: 17px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-founder { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.hero-founder svg { flex: 0 0 auto; }
.hero-founder .name { font-size: 14px; color: rgba(255,255,255,.85); font-weight: 500; }
.hero-founder a { font-size: 14px; color: rgba(255,255,255,.65); text-decoration: underline; text-underline-offset: 3px; }
.hero-founder a:hover { color: var(--yellow); }
.hero-visual { position: relative; }

/* dashboard mock ---------------------------------------------------------- */
.dash {
  background: #fff; color: var(--text); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 16px; border: 1px solid rgba(255,255,255,.5);
}
.dash h4 { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; }
.kpi .k { font-size: 10px; color: var(--muted); text-transform: none; }
.kpi .v { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.kpi .u { font-size: 10px; color: var(--muted); }
.dash-charts { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.chart-card { background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; }
.chart-card .t { font-size: 10px; color: var(--muted); margin-bottom: 8px; }

/* -------------------------------------------------- workflow value strip -- */
.pitch { text-align: center; font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; max-width: 40ch; margin-inline: auto; }
.steps {
  margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.step { padding: 26px 16px; text-align: center; border-inline-end: 1px solid var(--line); }
.step:last-child { border-inline-end: 0; }
.step svg { margin-inline: auto; margin-bottom: 12px; color: var(--teal-ink); }
.step h3 { font-size: 14px; font-weight: 600; }
.step p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* --------------------------------------------------------------- cards -- */
.grid { display: grid; gap: 16px; }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 15px; }
.card p { font-size: 13.5px; color: var(--muted); }
.card .link-arrow { margin-top: auto; font-size: 14px; }
.card__icon { color: var(--teal-ink); }

/* course cards */
.course { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; }
.course:hover { box-shadow: var(--shadow); }
.course__thumb { flex: 0 0 132px; background: var(--ink); display: grid; place-items: center; padding: 10px; }
.course__thumb--light { background: var(--bg-soft); }
.course__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.course__body h3 { font-size: 15px; }
.course__body p { font-size: 13px; color: var(--muted); }
.badge {
  align-self: flex-start; font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; background: var(--teal-tint); color: #0E5F57;
}
.badge--int { background: #FFF3D1; color: #7A5A00; }
.badge--adv { background: #E6EEFB; color: #1D3E76; }

/* ------------------------------------------------------------- replay --- */
.replay {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; padding: 28px; align-items: center;
}
.replay__player {
  position: relative; border-radius: 10px; overflow: hidden;
  background: #0F3A3A; border: 1px solid rgba(53,179,165,.35); aspect-ratio: 16/9;
  display: grid; place-items: center;
}
.replay__play {
  position: absolute; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center;
  border: 0; cursor: pointer; transition: transform var(--t);
}
.replay__play:hover { transform: scale(1.06); }
.replay .eyebrow { color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.replay h2 { font-size: clamp(21px, 2.4vw, 27px); margin-top: 10px; }
.replay p { color: rgba(255,255,255,.76); font-size: 15px; margin-top: 12px; }
.replay .btn { margin-top: 20px; }

/* ---------------------------------------------------------- workshops --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.checklist { display: grid; gap: 12px; margin-top: 18px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.checklist svg { flex: 0 0 auto; color: var(--teal-ink); margin-top: 2px; }
.figure {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  padding: 18px; color: #B3C3C1;
}

/* ---------------------------------------------------------- resources --- */
.res { display: flex; gap: 12px; align-items: flex-start; }
.res__icon { flex: 0 0 auto; color: var(--teal-ink); }
.res h3 { font-size: 14px; }
.res p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* -------------------------------------------------------------- about --- */
.about { display: grid; grid-template-columns: .85fr 1.1fr .9fr; gap: 32px; align-items: center; }
.tagline-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.tagline-row span::before { content: "· "; color: var(--teal); font-weight: 700; }
.tagline-row span:first-child::before { content: ""; }
.founder-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.founder-box h3 { font-size: 15px; }
.founder-box p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.founder-box .btn { margin-top: 16px; }

.about--intro { grid-template-columns: .75fr 1.15fr .9fr; }
@media (max-width: 1024px) { .about--intro { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- footer --- */
.footer-cta { background: var(--ink); color: #fff; padding-block: 56px; border-top: 3px solid var(--teal); }
.footer-cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.footer-cta h2 { font-size: clamp(21px, 2.4vw, 26px); max-width: 18ch; }
.footer-cta p { color: rgba(255,255,255,.76); font-size: 14.5px; margin-top: 12px; }
.footer-cta .hero-actions { margin-top: 20px; }
.footer-col h3 { font-size: 14px; margin-bottom: 14px; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.82); }
.contact-list a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); color: #fff; transition: background var(--t), border-color var(--t);
}
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
  width: 100%; font: inherit; font-size: 14px; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px; padding: 11px 13px;
}
.form-grid input::placeholder, .form-grid textarea::placeholder { color: rgba(255,255,255,.5); }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--teal); outline: none; }
.form-grid textarea { min-height: 92px; resize: vertical; }
.form-grid .btn { justify-self: end; }

.site-footer { background: var(--ink); border-top: 1px solid var(--ink-line); padding-block: 20px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.6); font-size: 13px; }
.site-footer a:hover { color: #fff; }
.site-footer nav { display: flex; gap: 22px; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px; }
  .hero-visual { order: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3n) { border-inline-end: 0; }
  .step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .replay, .split, .about { grid-template-columns: 1fr; }
  .footer-cta .wrap { grid-template-columns: 1fr 1fr; }
  .footer-cta > .wrap > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.is-open .nav {
    display: block; position: absolute; inset-inline: 0; top: 72px;
    background: var(--ink); border-bottom: 1px solid var(--ink-line); padding: 8px 0 20px;
  }
  .site-header.is-open .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-inline: var(--pad); }
  .site-header.is-open .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
  .section { padding-block: 52px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-inline-end: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-inline-end: 0 !important; }
  .grid--5, .grid--4 { grid-template-columns: 1fr; }
  .course { flex-direction: column; }
  .course__thumb { flex: none; height: 110px; }
  .footer-cta .wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dash-charts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   v2 — proof-led homepage
   ========================================================================== */

/* hero: text | portrait | metrics ---------------------------------------- */
.hero--wide .wrap {
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr) minmax(0,.8fr);
  gap: 32px; align-items: stretch; padding-block: 44px;
}
.hero--wide h1 { font-size: clamp(30px, 3.5vw, 42px); }
.hero-col { display: flex; flex-direction: column; justify-content: center; }

.cred {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 26px;
  font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.5;
}
.cred svg { flex: 0 0 auto; margin-top: 1px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.quick-links a {
  font-size: 13.5px; color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 3px;
}
.quick-links a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }

.portrait {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #14403F 0%, #0B2F30 100%);
  border: 1px solid rgba(53,179,165,.3); min-height: 340px;
  display: grid; place-items: center; text-align: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.portrait__placeholder { padding: 24px; color: rgba(255,255,255,.5); font-size: 12.5px; line-height: 1.6; }
.portrait__placeholder svg { margin: 0 auto 12px; }
.portrait__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(53,179,165,.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(53,179,165,.12) 1px, transparent 1px);
  background-size: 26px 26px;
}

.panel {
  background: rgba(255,255,255,.05); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 12px; display: grid; gap: 10px; align-content: start;
}
.panel__block { background: rgba(255,255,255,.05); border-radius: 8px; padding: 10px 12px; }
.panel__block h4 { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.72); }
.panel__block .unit { font-size: 10px; color: rgba(255,255,255,.45); display: block; margin-bottom: 4px; }
.metrics { display: grid; gap: 6px; }
.metric { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.82); }
.metric .label { flex: 1; }
.metric .val { font-weight: 600; color: var(--teal); }
.metric .val--check { color: var(--yellow); }

/* expertise cards --------------------------------------------------------- */
.exp { display: flex; flex-direction: column; gap: 12px; }
.exp__head { display: flex; align-items: center; gap: 12px; }
.exp__badge {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 9px;
  background: var(--ink); color: var(--yellow); display: grid; place-items: center;
}
.exp h3 { font-size: 14.5px; line-height: 1.3; }
.exp p { font-size: 13.5px; color: var(--muted); }

/* teaching panel ---------------------------------------------------------- */
.teach {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
}
.teach__head { padding: 22px 24px 0; }
.teach__head h2 { font-size: clamp(20px, 2.4vw, 25px); }
.teach__head p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 70ch; }
.teach__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 22px 24px 24px; }
.teach__cols h3 { font-size: 14px; margin-bottom: 12px; }
.ticks { display: grid; gap: 9px; }
.ticks li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.ticks svg { flex: 0 0 auto; color: var(--teal-ink); margin-top: 3px; }
.teach__foot { padding: 0 24px 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* the sister-company card ------------------------------------------------- */
.sister {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--line); border-inline-start: 4px solid var(--yellow);
  border-radius: var(--radius); padding: 18px 22px; background: #FFFDF6; margin-top: 16px;
}
.sister h3 { font-size: 14.5px; }
.sister p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.sister .btn { margin-inline-start: auto; }

/* case studies ------------------------------------------------------------ */
.case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.case:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.case__art { background: var(--ink); height: 118px; display: grid; place-items: center; padding: 10px; }
.case__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case__body h3 { font-size: 14.5px; line-height: 1.35; }
.case__rows { display: grid; gap: 8px; }
.case__row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 12px; line-height: 1.45; }
.case__row dt { color: var(--muted); }
.case__row dd { margin: 0; }
.todo {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px;
  border-radius: 4px; background: #FFF3D1; color: #7A5A00;
}

/* research + insights ----------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.list-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 6px 18px; }
.list-card li { display: flex; align-items: center; gap: 12px; padding: 13px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.list-card li:last-child { border-bottom: 0; }
.list-card svg { flex: 0 0 auto; color: var(--teal-ink); }

.post { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post__art { flex: 0 0 96px; height: 66px; border-radius: 6px; background: var(--ink); display: grid; place-items: center; }
.post h3 { font-size: 14px; line-height: 1.35; }
.post time { display: block; font-size: 12px; color: var(--muted); margin: 4px 0 6px; }

/* trusted by -------------------------------------------------------------- */
.trusted { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); padding: 24px; }
.trusted h3 { text-align: center; font-size: 14.5px; margin-bottom: 20px; }
.trusted ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.trusted li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.trusted svg { flex: 0 0 auto; color: var(--teal-ink); }

/* collaborate footer ------------------------------------------------------ */
.collab-intro { display: flex; gap: 18px; align-items: flex-start; }
.collab-intro__mark {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid rgba(53,179,165,.5); display: grid; place-items: center; color: var(--teal);
}
.collab-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.collab-points h4 { font-size: 13px; margin-bottom: 4px; }
.collab-points p { font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 0; }
.collab-points svg { color: var(--teal); margin-bottom: 8px; }

@media (max-width: 1100px) {
  .hero--wide .wrap { grid-template-columns: 1fr 1fr; }
  .hero--wide .hero-col:first-child { grid-column: 1 / -1; }
  .trusted ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .teach__cols, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .hero--wide .wrap { grid-template-columns: 1fr; }
  .collab-points { grid-template-columns: 1fr; }
  .trusted ul { grid-template-columns: 1fr 1fr; }
  .sister .btn { margin-inline-start: 0; }
  .case__row { grid-template-columns: 84px 1fr; }
}

/* ==========================================================================
   v3 — fewer, denser sections
   ========================================================================== */

.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.section-head--row > div { min-width: 0; }
.section-head--row .link-arrow { padding-bottom: 4px; white-space: nowrap; }

.subhead {
  font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); margin: 40px 0 18px;
}

/* format chips ------------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--text);
}
.chips svg { color: var(--teal-ink); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }

/* insights + resources, side by side -------------------------------------- */
.col-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--teal);
}
.col-head h2 { font-size: 21px; }
.col-head .link-arrow { font-size: 14px; }
.res-list li { border-bottom: 1px solid var(--line); }
.res-list li:last-child { border-bottom: 0; }
.res-list a {
  display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 14px;
  transition: color var(--t);
}
.res-list a:hover { color: var(--teal-ink); }
.res-list a span { flex: 1; }
.res-list a .meta { flex: 0 0 auto; font-size: 12px; color: var(--muted); }
.res-list svg { flex: 0 0 auto; color: var(--teal-ink); }

/* trusted-by, folded into the about strip ---------------------------------- */
.trusted--slim { border: 0; background: none; padding: 20px 0 0; margin-top: 24px; border-top: 1px solid var(--line); }
.trusted--slim h3 { text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* ==========================================================================
   v4 — interactive hero panel + full-height portrait
   ========================================================================== */

.hero-col--fill { justify-content: stretch; }
.hero-col--fill .portrait { flex: 1; min-height: 420px; }

.panel { position: relative; }
.panel__note {
  font-size: 10.5px; color: rgba(255,255,255,.42); text-align: center;
  margin-top: -2px; letter-spacing: .01em;
}
.panel__block h4 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.panel__current {
  font-size: 10.5px; font-weight: 600; color: var(--yellow);
  background: rgba(255,198,30,.12); border-radius: 4px; padding: 1px 7px;
}

/* chart marks ------------------------------------------------------------- */
.mark--bar {
  transform: scaleY(0); transform-box: fill-box;
  transition: transform .7s cubic-bezier(.2,.75,.3,1), fill .18s ease;
}
.mark--bar.is-in { transform: scaleY(1); }
.mark--line { transition: stroke-dashoffset 1.1s cubic-bezier(.35,.7,.3,1); }
.mark--dot {
  opacity: 0; transition: opacity .35s ease, r .18s ease, fill .18s ease;
}
.mark--dot.is-in { opacity: 1; }

.mark-label { fill: rgba(255,255,255,.5); font-family: var(--font); font-weight: 500; transition: fill .18s ease; }
.mark-label.is-on { fill: #fff; font-weight: 700; }
.cat-label { fill: rgba(255,255,255,.45); font-family: var(--font); }
.axis { stroke: rgba(255,255,255,.22); stroke-width: 1; }

.hit { cursor: pointer; outline: none; }
.hit:focus-visible { fill: rgba(255,198,30,.12); stroke: var(--yellow); stroke-width: 1; }

/* tooltip ----------------------------------------------------------------- */
.chart-tip {
  position: absolute; z-index: 5; transform: translate(-50%, -100%);
  background: #082526; border: 1px solid rgba(53,179,165,.45);
  border-radius: 8px; padding: 8px 11px; min-width: 108px;
  box-shadow: 0 10px 26px rgba(0,0,0,.4); pointer-events: none;
  display: grid; gap: 1px; text-align: center;
}
.chart-tip__name { font-size: 10.5px; color: rgba(255,255,255,.6); }
.chart-tip strong { font-size: 15px; color: #fff; letter-spacing: -.02em; }
.chart-tip__delta { font-size: 10.5px; color: var(--yellow); font-weight: 600; }

/* metric rows now animate ------------------------------------------------- */
.metric .val { transition: color .18s ease; min-width: 62px; text-align: right; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (max-width: 1100px) { .hero-col--fill .portrait { min-height: 380px; } }
@media (prefers-reduced-motion: reduce) {
  .mark--bar { transform: scaleY(1); }
  .mark--dot { opacity: 1; }
}
.chart svg { display: block; width: 100%; height: auto; }

.chart-tip--below { transform: translate(-50%, 0); }

/* ==========================================================================
   v5 — inner pages
   ========================================================================== */

.page-hero { background: var(--ink); color: #fff; padding-block: 52px 46px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 300px at 12% 110%, rgba(53,179,165,.16), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumb { font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.crumb a:hover { color: var(--yellow); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 16.5px; margin-top: 16px; max-width: 62ch; }

/* compact CTA band -------------------------------------------------------- */
.cta-band { background: var(--ink); color: #fff; padding-block: 44px; border-top: 3px solid var(--teal); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(20px, 2.3vw, 26px); max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.72); font-size: 14.5px; margin-top: 8px; max-width: 52ch; }
.cta-band .hero-actions { margin-top: 0; }

/* course rows ------------------------------------------------------------- */
.course-row {
  display: grid; grid-template-columns: 168px 1fr auto; gap: 22px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 16px; transition: border-color var(--t), box-shadow var(--t);
}
.course-row + .course-row { margin-top: 12px; }
.course-row:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.course-row__art { background: var(--ink); border-radius: 8px; height: 104px; display: grid; place-items: center; }
.course-row__art--soft { background: var(--bg-soft); }
.course-row h3 { font-size: 16px; }
.course-row p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.course-meta span { display: flex; align-items: center; gap: 6px; }
.course-meta svg { color: var(--teal-ink); }
.course-row__cta { display: grid; gap: 8px; justify-items: stretch; text-align: center; }

.badge--soon { background: #EEF1F1; color: #5C6B69; }

/* steps, numbered --------------------------------------------------------- */
.numbered { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: n; }
.numbered > li {
  counter-increment: n; border-top: 3px solid var(--line); padding-top: 16px;
}
.numbered > li::before {
  content: counter(n, decimal-leading-zero); display: block;
  font-size: 12px; font-weight: 700; color: var(--teal-ink); letter-spacing: .08em; margin-bottom: 8px;
}
.numbered h3 { font-size: 15px; }
.numbered p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* FAQ --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-ink); font-size: 20px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { font-size: 14.5px; color: var(--muted); padding-bottom: 16px; max-width: 74ch; }

/* prose (articles) -------------------------------------------------------- */
.prose { max-width: 68ch; font-size: 16.5px; line-height: 1.75; margin-inline: auto; }
.prose > * + * { margin-top: 20px; }
.prose-foot { max-width: 68ch; margin: 36px auto 0; }
.prose p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.prose li { text-align: justify; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 620px) {
  /* justified text needs room; on a phone it leaves rivers of white space */
  .prose p, .prose li { text-align: start; }
}
.prose h2 { font-size: 23px; margin-top: 40px; }
.prose h3 { font-size: 18px; margin-top: 32px; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { list-style: disc; margin-top: 8px; }
.prose ol li { list-style: decimal; }
.prose blockquote {
  border-inline-start: 3px solid var(--yellow); padding-inline-start: 18px;
  font-size: 18px; color: var(--text);
}
.prose figure { margin: 32px 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
.prose figure a.zoom { display: block; cursor: zoom-in; }
.prose figure a.zoom img { transition: opacity .18s ease; }
.prose figure a.zoom:hover img { opacity: .88; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.prose th, .prose td { text-align: start; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--bg-soft); font-weight: 600; border-bottom: 2px solid var(--line); }
.prose tbody th { font-weight: 600; }
.prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .table-scroll table { min-width: 0; font-size: 14.5px; }
.prose .table-scroll th, .prose .table-scroll td { padding: 10px 12px; }
.prose .table-scroll th:first-child { width: 21%; }
@media (max-width: 640px) {
  .prose .table-scroll table { min-width: 560px; }
}
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 16px; }

/* light form card --------------------------------------------------------- */
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 11px 13px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--text); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; }
.field__hint { font-size: 12.5px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.side-note { border: 1px solid var(--line); border-inline-start: 4px solid var(--teal); border-radius: var(--radius); padding: 18px 20px; background: var(--bg-soft); }
.side-note h3 { font-size: 14.5px; margin-bottom: 6px; }
.side-note p { font-size: 13.5px; color: var(--muted); }

@media (max-width: 900px) {
  .course-row { grid-template-columns: 1fr; }
  .course-row__art { height: 120px; }
  .numbered { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* form plumbing ------------------------------------------------------------ */
.hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0;
}

.form-error {
  display: none; gap: 10px; align-items: flex-start;
  border: 1px solid #E9C3C3; border-inline-start: 4px solid #C0392B;
  background: #FDF3F2; color: #7A2A21; border-radius: 8px;
  padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px;
}
.form-error.is-on { display: flex; }
.footer-cta .form-error, .hero .form-error {
  background: rgba(192,57,43,.16); border-color: rgba(255,255,255,.25);
  border-inline-start-color: #E8776A; color: #FFD9D4;
}

/* ---------- Article page: two-column layout with sidebar ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}
.article-layout .prose { max-width: 72ch; margin-inline: 0; }
.article-layout .prose-foot { max-width: 72ch; margin-inline: 0; }

.side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side__card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: var(--bg-soft);
}
.side__card h3 { font-size: 15px; margin: 0 0 6px; }
.side__card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 12px; }

.side__author { text-align: center; }
.side__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 12px; object-fit: cover; display: grid; place-items: center;
  background: var(--ink); color: var(--yellow);
  font-size: 22px; font-weight: 600; letter-spacing: .04em;
}

.side__title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.side__posts { list-style: none; margin: 0; padding: 0; }
.side__posts li { padding: 11px 0; border-top: 1px solid var(--line); }
.side__posts li:first-child { border-top: 0; padding-top: 0; }
.side__posts a { font-size: 14px; line-height: 1.4; font-weight: 500; display: block; }
.side__posts time { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }

.side__cta { background: var(--ink); border-color: var(--ink); }
.side__cta h3 { color: #fff; }
.side__cta p { color: rgba(255,255,255,.72); }

@media (max-width: 940px) {
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .article-layout .prose, .article-layout .prose-foot { max-width: 68ch; margin-inline: auto; }
  .side { position: static; max-width: 68ch; margin-inline: auto; width: 100%; }
}

/* ---------- Article references ---------- */
.prose .refs { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose .refs h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 0; }
.prose .refs__note { font-size: 13px; color: var(--muted); text-align: start; margin-top: 8px; }
.prose .refs ul { padding-inline-start: 20px; margin-top: 14px; }
.prose .refs li { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 10px; text-align: start; }
.prose .refs li a { font-weight: 500; }

/* ---------- Article hero: text + visual ---------- */
.page-hero--article .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
}
.page-hero--article h1 { max-width: 22ch; }
.page-hero--article .hero-copy p { max-width: 52ch; }

.hero-visual {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-visual svg { width: 62%; height: auto; opacity: .85; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 940px) {
  .page-hero--article .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 16 / 7; max-height: 200px; }
  .hero-visual svg { width: 34%; }
}

/* ---------- Full-width banner under an article hero ---------- */
.hero-banner { background: var(--ink); }
.hero-banner img {
  display: block;
  width: 100%;
  max-width: 1600px;
  height: auto;
  margin-inline: auto;
}

/* ---------- Light article hero, image fading into the background ---------- */
.page-hero--light {
  background: #F2EDE9;
  color: var(--text);
  padding-block: 60px 52px;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.page-hero--light::after { display: none; }
.page-hero--light .crumb, .page-hero--light .crumb a { color: var(--muted); }
.page-hero--light h1 { color: var(--text); max-width: 17ch; }
.page-hero--light .wrap > p { color: var(--muted); max-width: 44ch; }
.page-hero--light .article-meta { color: var(--muted); }

.hero-media {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 58%; pointer-events: none; z-index: 0;
}
.hero-media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 36%);
          mask-image: linear-gradient(to right, transparent 0%, #000 36%);
}

/* whole image visible (tall subjects such as a full building) */
.hero-media--fit img { object-fit: contain; object-position: right center; }

/* Airtightness article hero: blend the cutaway into the hero background and give it more presence */
.page-hero--airtight {
  min-height: 520px;
  background: #F2EDE9;
}
.page-hero--airtight .hero-media {
  width: 54%;
  right: 0;
  top: 0;
  bottom: 0;
}
.page-hero--airtight .hero-media img {
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%);
          mask-image: linear-gradient(to right, transparent 0%, #000 18%);
  transform: scale(1.12) translateX(-2.5%);
  transform-origin: center right;
}

@media (max-width: 1180px) {
  .page-hero--airtight { min-height: 500px; }
  .page-hero--airtight .hero-media { width: 56%; }
  .page-hero--airtight .hero-media img {
    transform: scale(1.08) translateX(-1.5%);
  }
}

@media (max-width: 940px) {
  .page-hero--airtight { min-height: 0; }
  .page-hero--airtight .hero-media img {
    object-position: center;
    -webkit-mask-image: none;
            mask-image: none;
    transform: none;
  }
}

@media (max-width: 940px) {
  .page-hero--light { display: block; min-height: 0; padding-bottom: 0; }
  .page-hero--light h1, .page-hero--light .wrap > p { max-width: none; }
  .hero-media {
    position: static; width: calc(100% + var(--pad) * 2);
    margin: 28px calc(var(--pad) * -1) 0;
  }
  .hero-media img { height: auto; -webkit-mask-image: none; mask-image: none; }
}

/* one-line replacement for the old "Available as" chip list */
.avail { margin-top: 28px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.avail .link-arrow { font-size: 14px; white-space: nowrap; }

/* ---------- Founder / trust strip (replaces the old About section) ---------- */
.founder { background: var(--bg-soft); border-block: 1px solid var(--line); padding-block: 34px; }
.founder .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.founder__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin: 0 0 4px; }
.founder h2 { font-size: 22px; margin: 0; }
.founder__blurb { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 8px; max-width: 46ch; }
.founder__creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.founder__creds li { font-size: 13.5px; color: var(--muted); padding-inline-start: 20px; position: relative; }
.founder__creds li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal-ink); opacity: .55;
}

/* ---------- Consulting teaser, kept away from the teaching offer ---------- */
.consult-teaser { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 20px; }
.consult-teaser p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 940px) {
  .founder .wrap { grid-template-columns: 1fr; gap: 22px; }
  .founder__blurb { max-width: none; }
}

/* contact details, now folded into the intro column */
.contact-list--intro { margin-top: 24px; }

/* the three collaboration marks — icon and label only */
.collab-marks {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 14px 30px;
}
.collab-marks li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; }
.collab-marks svg { color: var(--teal); flex: 0 0 auto; }

/* article cards that carry a real photo instead of the line-art placeholder */
.card__art {
  background: var(--ink); border-radius: 8px; height: 120px;
  margin: -20px -20px 4px; overflow: hidden;
}
.card__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.post__art--img { overflow: hidden; }
.post__art--img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; border-radius: 6px; }

/* ---------- Inner-page hero: title left, intro right, shorter band ---------- */
.page-hero--split { padding-block: 42px 38px; }
.page-hero--split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 56px;
  align-items: end;
}
.page-hero--split h1 { max-width: 16ch; margin: 0; }
.page-hero--split .page-hero__lede { margin-top: 0; padding-bottom: 5px; max-width: 50ch; }

@media (max-width: 880px) {
  .page-hero--split .wrap { grid-template-columns: 1fr; gap: 14px; }
  .page-hero--split h1, .page-hero--split .page-hero__lede { max-width: none; }
}

/* ---------- Reviewed questions & answers under a page ---------- */
.qa-list { list-style: none; margin: 0; padding: 0; max-width: 74ch; }
.qa-item { padding: 22px 0; border-top: 1px solid var(--line); }
.qa-item:first-child { border-top: 0; padding-top: 4px; }
.qa-item h3 {
  font-size: 16.5px; line-height: 1.45; margin: 0 0 10px;
  padding-inline-start: 30px; position: relative;
}
.qa-item h3::before {
  content: "Q"; position: absolute; inset-inline-start: 0; top: -1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal-ink);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.qa-item p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; padding-inline-start: 30px; }
.qa-meta { font-size: 12.5px; margin-top: 10px !important; opacity: .8; }

.qa-ask {
  margin-top: 36px; padding: 26px; max-width: 74ch;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.qa-ask h3 { font-size: 16px; margin: 0 0 6px; }
.qa-ask > p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }

/* ---------- Question block under an article ---------- */
.qa--article {
  max-width: 72ch;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.qa__head { font-size: 18px; margin: 0 0 8px; }
.qa__intro { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0 0 22px; max-width: 62ch; }
.qa--article .qa-list { margin-bottom: 28px; }
.qa--article .qa-ask { margin-top: 0; padding: 22px; background: var(--bg-soft); }

/* ---------- Series list in the article sidebar ---------- */
.side__blurb { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: -8px 0 14px; }
.side__posts--series li { padding-inline-start: 0; }
.side__part {
  display: block; font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--teal-ink); font-weight: 600; margin-bottom: 3px;
}
.side__posts li.is-current { background: var(--teal-tint); margin-inline: -12px; padding-inline: 12px; border-radius: 6px; }
.side__here { font-size: 14px; line-height: 1.4; font-weight: 600; display: block; }
.side__soon { font-size: 14px; line-height: 1.4; font-weight: 500; display: block; color: var(--muted); }


/* ==========================================================================
   v5 — mobile-first polish and photo-free homepage hero
   ========================================================================== */

.hero--wide .wrap {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(52px, 7vw, 82px);
}
.hero--wide .hero-col:first-child { grid-column: auto; }
.hero--wide .panel { width: 100%; max-width: 520px; margin-inline-start: auto; }

body { overflow-x: hidden; }
main, section, .wrap, .grid, .course, .replay, .founder .wrap { min-width: 0; }
a, p, h1, h2, h3, h4, dd { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .hero--wide .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero--wide .panel { max-width: none; margin-inline: 0; }
  .hero--wide h1 { max-width: 18ch; }
  .replay { gap: 24px; }
}

@media (max-width: 780px) {
  .site-header .wrap { height: 64px; }
  .brand img, .brand svg { width: 104px; }
  .site-header.is-open .nav { top: 64px; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; }
  .site-header.is-open .nav a { min-height: 48px; display: flex; align-items: center; }
  .hero--wide .wrap { padding-block: 44px; }
  .hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero p.lede { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .quick-links { gap: 10px 18px; }
  .panel { border-radius: 10px; }
  .panel__block { padding: 14px; }
  .panel__note { padding-inline: 14px; }
  .steps { border-radius: var(--radius); overflow: hidden; }
  .step { padding: 22px 14px; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .section-head--row { align-items: flex-start; }
  .section-head--row .link-arrow { white-space: normal; }
  .course__thumb { height: 132px; }
  .replay { padding: 20px; }
  .founder { padding-block: 30px; }
  .site-footer nav { flex-wrap: wrap; gap: 10px 18px; }
}

@media (max-width: 560px) {
  :root { --pad: 16px; }
  body { font-size: 15px; }
  .section { padding-block: 44px; }
  .section-head { margin-bottom: 22px; }
  .hero--wide .wrap { padding-block: 36px 40px; gap: 28px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 38px); line-height: 1.12; }
  .hero p.lede { margin-top: 16px; }
  .cred { margin-top: 20px; align-items: flex-start; }
  .hero-actions { grid-template-columns: 1fr; margin-top: 24px; }
  .hero-actions .btn { min-height: 48px; }
  .quick-links { flex-direction: column; align-items: flex-start; margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-inline-end: 0 !important; }
  .step:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .dash-kpis { grid-template-columns: 1fr; }
  .kpi { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 10px; }
  .kpi .u { grid-column: 1 / -1; }
  .case__row { grid-template-columns: 1fr; gap: 2px; }
  .course__body { padding: 18px; }
  .replay { padding: 16px; border-radius: 12px; }
  .replay .btn { width: 100%; }
  .cta-row { display: grid; grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .founder .link-arrow { justify-self: start; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}


/* Article reading layout refinements — balanced desktop canvas and sidebar */
@media (min-width: 941px) {
  .wrap.article-layout {
    max-width: 1220px;
    grid-template-columns: minmax(0, 1fr) 325px;
    gap: 44px;
  }
  .article-layout .prose,
  .article-layout .prose-foot { max-width: 73ch; }
}
.prose p,
.prose li {
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* ==========================================================================
   About page — founder story, method and expertise
   ========================================================================== */
.about-hero { padding-block: 66px 60px; }
.about-hero::after {
  background:
    radial-gradient(720px 340px at 8% 100%, rgba(53,179,165,.18), transparent 65%),
    radial-gradient(600px 280px at 88% 0%, rgba(255,198,30,.09), transparent 70%);
}
.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: end;
}
.about-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.about-kicker--dark { color: var(--teal-ink); }
.about-hero h1 { max-width: 13ch; font-size: clamp(34px, 4.5vw, 52px); }
.about-hero__copy p { margin: 0; max-width: 58ch; font-size: 17px; line-height: 1.75; }
.about-hero__links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.about-link-light { color: #fff; }
.about-link-light:hover { color: var(--yellow); }

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .72fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}
.about-story__copy { max-width: 720px; }
.about-body-copy { display: grid; gap: 18px; font-size: 16px; line-height: 1.8; color: var(--text); }
.about-body-copy p { max-width: 72ch; }
.about-inline-link {
  display: inline;
  font-size: inherit;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding-inline: 2px;
  box-shadow: inset 0 -0.36em 0 rgba(255,198,30,.52);
  border-radius: 2px;
  transition: box-shadow var(--t), color var(--t);
}
.about-inline-link:hover {
  color: var(--ink);
  box-shadow: inset 0 -0.52em 0 rgba(255,198,30,.72);
}
.about-inline-link::after {
  display: inline-block;
  margin-inline-start: 4px;
  color: var(--ink);
}

.about-principle {
  margin: 34px 0 0;
  padding: 24px 26px;
  border: 0;
  border-inline-start: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--ink);
  color: #fff;
}
.about-principle__label { display: block; color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .11em; margin-bottom: 8px; }
.about-principle p { font-size: clamp(19px, 2vw, 23px); line-height: 1.45; max-width: 34ch; }

.founder-profile { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.founder-profile__visual {
  min-height: 250px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, #123E3E 0%, #0B2F30 72%);
  color: var(--yellow);
}
.founder-profile__grid {
  position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(53,179,165,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(53,179,165,.13) 1px, transparent 1px);
  background-size: 28px 28px;
}
.founder-profile__visual::after {
  content: "";
  position: absolute;
  width: 190px; height: 190px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 76px rgba(255,255,255,.018);
}
.founder-profile__visual > span { position: relative; z-index: 1; font-size: 46px; font-weight: 600; letter-spacing: -.04em; }
.founder-profile__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 2; }
.founder-profile__body { padding: 24px 24px 26px; }
.founder-profile__eyebrow { display: block; margin-bottom: 7px; color: var(--teal-ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.founder-profile__body h2 { font-size: 23px; }
.founder-profile__body p { color: var(--muted); font-size: 14px; margin: 10px 0 18px; line-height: 1.65; }

.about-founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: clamp(48px, 8vw, 88px); align-items: start; }
.credential-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 24px; }
.credential-panel__title { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.credential-list { display: grid; }
.credential-list li { display: grid; grid-template-columns: 36px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); align-items: start; }
.credential-list li:first-child { border-top: 0; }
.credential-mark { color: var(--teal-ink); font-size: 11px; font-weight: 700; padding-top: 2px; }
.credential-list strong { display: block; font-size: 14px; line-height: 1.4; }
.credential-list div span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }

.about-method-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.about-method-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; min-height: 218px; }
.about-method-card__no { display: block; color: var(--teal-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 36px; }
.about-method-card h3 { font-size: 18px; }
.about-method-card p { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.65; }
.about-method-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }

.about-expertise .card { min-height: 190px; }
.about-expertise .exp__badge { margin-bottom: 4px; }

.about-fit { padding-block: 64px; }
.about-fit__grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(48px, 9vw, 104px); align-items: start; }
.about-fit h2 { font-size: clamp(26px, 3.3vw, 36px); max-width: 14ch; }
.about-fit__list { border-top: 1px solid var(--line); }
.about-fit__list > div { display: grid; grid-template-columns: minmax(190px, .55fr) 1fr; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--line); align-items: start; }
.about-fit__list strong { font-size: 14px; }
.about-fit__list p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.about-cta h2 { max-width: 30ch; }

@media (max-width: 940px) {
  .about-hero__grid { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .about-hero h1 { max-width: 17ch; }
  .about-story__grid, .about-founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-profile { display: grid; grid-template-columns: minmax(220px, .72fr) 1fr; }
  .founder-profile__visual { min-height: 300px; }
  .founder-profile__body { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
  .about-method-grid { grid-template-columns: 1fr 1fr; }
  .about-method-card:last-child { grid-column: 1 / -1; min-height: 0; }
  .about-fit__grid { grid-template-columns: 1fr; gap: 30px; }
  .about-fit h2 { max-width: 18ch; }
}

@media (max-width: 680px) {
  .about-hero { padding-block: 44px 42px; }
  .about-hero h1 { font-size: clamp(31px, 9vw, 40px); }
  .about-hero__copy p { font-size: 15.5px; }
  .about-hero__links { flex-direction: column; align-items: flex-start; gap: 12px; }
  .about-story__grid, .about-founder-grid { gap: 32px; }
  .founder-profile { grid-template-columns: 1fr; }
  .founder-profile__visual { min-height: 240px; }
  .founder-profile__body { padding: 22px; }
  .about-principle { padding: 20px; margin-top: 26px; }
  .credential-panel { padding: 18px; }
  .about-method-grid { grid-template-columns: 1fr; }
  .about-method-card, .about-method-card:last-child { grid-column: auto; min-height: 0; padding: 20px; }
  .about-method-card__no { margin-bottom: 22px; }
  .about-fit__list > div { grid-template-columns: 1fr; gap: 7px; padding: 16px 0; }
  .about-expertise .card { min-height: 0; }
}

/* ==========================================================================
   v7 — founder portrait in the hero (transparent cut-out, no frame)
   ========================================================================== */
.hero--wide .wrap:has(.portrait--cutout) {
  grid-template-columns: minmax(0,1.2fr) minmax(0,.6fr) minmax(0,.8fr);
}
.hero-col--fill:has(.portrait--cutout) { justify-content: flex-end; }
.portrait--cutout {
  margin: 0; display: block; position: relative;
  background: none; border: 0; border-radius: 0; overflow: visible;
  min-height: 0; width: 100%; max-width: 320px; margin-inline: auto;
  margin-bottom: -8px; /* a little above the hero's bottom edge */
}
.hero-col--fill .portrait--cutout { flex: 0 0 auto; min-height: 0; }
.portrait--cutout img {
  width: 100%; height: auto; display: block;
  /* soft fade at the bottom so the jacket dissolves into the hero */
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, rgba(0,0,0,.75) 66%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.12) 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 50%, rgba(0,0,0,.75) 66%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.12) 92%, transparent 100%);
}
@media (max-width: 1100px) {
  .hero--wide .wrap:has(.portrait--cutout) { grid-template-columns: 1fr 1fr; }
  .hero-col--fill .portrait--cutout { min-height: 0; max-width: 260px; }
}
@media (max-width: 780px) {
  .hero--wide .wrap:has(.portrait--cutout) { grid-template-columns: 1fr; }
  .hero-col--fill .portrait--cutout { max-width: 220px; margin-bottom: 0; }
}
.chart-tip[hidden] { display: none; }

/* ==========================================================================
   v8 — hero diagram (alternative to the portrait)
   ========================================================================== */
.hero-col--diagram { justify-content: center; align-items: center; }
.bd-wrap { width: 100%; max-width: 330px; margin-inline: auto; }
.bd { width: 100%; height: auto; overflow: visible; }

.bd-step, .bd-room, .bd-sunpatch { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.75,.3,1); }
.bd-step { opacity: 0; transform: translateY(6px); transform-box: fill-box; }
.bd-step--1 { transform: scale(.96); transform-origin: center; }
.bd[data-step="1"] .bd-step--1,
.bd[data-step="2"] .bd-step--1, .bd[data-step="2"] .bd-step--2,
.bd[data-step="3"] .bd-step--1, .bd[data-step="3"] .bd-step--2, .bd[data-step="3"] .bd-step--3 {
  opacity: 1; transform: none;
}

/* heat loss: full at base, faint once insulated */
.bd-loss path { transition: opacity .6s ease, transform .6s ease; transform-box: fill-box; transform-origin: 0 100%; }
.bd:not([data-step="0"]) .bd-loss path { opacity: .22; transform: scale(.55); }
.bd-loss path:nth-child(-n+2) { transform-origin: 0 50%; }

/* overheating → comfortable */
.bd-room--cool, .bd-sunpatch--shallow { opacity: 0; }
.bd[data-step="2"] .bd-room--hot,  .bd[data-step="3"] .bd-room--hot,
.bd[data-step="2"] .bd-sunpatch--deep, .bd[data-step="3"] .bd-sunpatch--deep { opacity: 0; }
.bd[data-step="2"] .bd-room--cool, .bd[data-step="3"] .bd-room--cool,
.bd[data-step="2"] .bd-sunpatch--shallow, .bd[data-step="3"] .bd-sunpatch--shallow { opacity: 1; }

/* quiet, continuous motion — only for the elements that represent flow */
.bd-air  { animation: bd-dash 2.4s linear infinite; }
.bd-flow { animation: bd-dash 1.6s linear infinite; }
.bd-fan  { animation: bd-spin 2.2s linear infinite; }
@keyframes bd-dash { to { stroke-dashoffset: -22; } }
@keyframes bd-spin { to { transform: rotate(360deg); } }

/* step controls */
.bd-steps { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.bd-dot {
  width: 26px; height: 6px; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: rgba(255,255,255,.18); transition: background var(--t), width var(--t);
}
.bd-dot.is-done { background: rgba(53,179,165,.55); }
.bd-dot[aria-pressed="true"] { background: var(--yellow); width: 40px; }
.bd-dot:hover { background: rgba(255,255,255,.4); }
.bd-dot[aria-pressed="true"]:hover { background: var(--yellow); }
.bd-caption { text-align: center; margin-top: 10px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.8); min-height: 1.6em; }

@media (max-width: 780px) { .bd-wrap { max-width: 280px; } }
@media (prefers-reduced-motion: reduce) {
  .bd-air, .bd-flow, .bd-fan { animation: none; }
  .bd-step, .bd-room, .bd-sunpatch, .bd-loss path { transition: none; }
}

/* ==========================================================================
   v9 — founder portrait (transparent cut-out) + article author avatar
   ========================================================================== */
.founder-profile__visual { min-height: 0; aspect-ratio: 5 / 4; align-items: end; }
.founder-profile__visual::after { width: 240px; height: 240px; top: 14%; left: 50%; transform: translateX(-50%); }
.founder-profile__visual img {
  inset: auto 0 0 0; width: 100%; height: 94%;
  object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
img.side__avatar {
  display: block; padding: 0;
  background: linear-gradient(160deg, #14403F 0%, #0B2F30 100%);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
}
@media (max-width: 1100px) and (min-width: 681px) {
  .founder-profile__visual { aspect-ratio: auto; min-height: 300px; }
}
@media (max-width: 680px) {
  .founder-profile__visual { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ==========================================================================
   v10 — case study page (work/st-lukes-upfront-carbon.html)
   Stage colours follow the source sheet: product = teal, transport = lime/yellow,
   construction = grey.
   ========================================================================== */
.k-a13 { --c: var(--teal-ink); }
.k-a4  { --c: #B9CF3A; }
.k-a5  { --c: #97A5A3; }

/* hero */
.cs-hero { padding-block: 44px 0; }
.cs-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.cs-hero__copy { padding-bottom: 48px; }
.cs-hero__kicker { font-size: 13px !important; color: var(--teal) !important; font-weight: 600; margin: 0 0 12px !important; }
.cs-hero h1 { max-width: 16ch; font-size: clamp(30px, 4vw, 46px); }
.cs-headline { display: flex; align-items: flex-end; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.cs-headline__value { font-size: clamp(56px, 7vw, 84px); font-weight: 600; line-height: .82; letter-spacing: -.05em; color: var(--yellow); }
.cs-headline__unit { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.72); padding-bottom: 2px; }
.cs-hero__photo { margin: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 1 / 1.05; max-height: 560px; }
.cs-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cs-hero__photo figcaption { font-size: 11.5px; color: rgba(255,255,255,.6); padding: 6px 2px; }

/* snapshot */
.cs-snapshot { border-bottom: 1px solid var(--line); }
.cs-snapshot__list { margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cs-snapshot__list > div { padding: 20px 18px 20px 0; }
.cs-snapshot__list > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.cs-snapshot__list dt { font-size: 12px; color: var(--muted); }
.cs-snapshot__list dd { margin: 4px 0 0; font-size: 14px; font-weight: 500; line-height: 1.4; }

/* text + aside split */
.cs-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.cs-text { max-width: 64ch; }
.cs-text h2 { font-size: clamp(22px, 2.6vw, 27px); }
.cs-text h2 + p { margin-top: 12px; }
.cs-text p { color: #33423F; font-size: 16px; line-height: 1.75; }
.cs-text p + p { margin-top: 14px; }
.cs-text p + h2 { margin-top: 40px; }

.cs-stages { border-left: 3px solid var(--teal-ink); padding: 4px 0 4px 22px; }
.cs-stages h3, .cs-route h3, .cs-card h3 { font-size: 15px; margin-bottom: 14px; }
.cs-stages ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.cs-stages strong { display: block; font-size: 14px; }
.cs-stages span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* comparison chart */
.cs-chart { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.cs-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.cs-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cs-legend i, .cs-stack__key i { width: 11px; height: 11px; border-radius: 3px; background: var(--c); display: inline-block; }
.cs-bars { display: grid; gap: 18px; }
.cs-bar { display: grid; grid-template-columns: 200px 1fr 64px; gap: 16px; align-items: center; }
.cs-bar__name { font-size: 14px; font-weight: 500; }
.cs-bar__name em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink); background: var(--yellow); border-radius: 4px; padding: 1px 7px; margin-left: 6px; }
.cs-bar__track { display: flex; height: 38px; gap: 2px; }
.cs-bar .seg { background: var(--c); height: 100%; display: flex; align-items: center; min-width: 3px; }
.cs-bar .seg:first-child { border-radius: 5px 0 0 5px; }
.cs-bar .seg:last-child { border-radius: 0 5px 5px 0; }
.cs-bar .seg b { font-size: 12px; font-weight: 600; color: #fff; padding-left: 10px; white-space: nowrap; }
.cs-bar .seg.k-a5 b { color: var(--ink); padding-left: 6px; }
.cs-bar__total { font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; }
.cs-bar:not(.is-best) .cs-bar__total { color: var(--muted); }
.cs-bar:not(.is-best) .seg { opacity: .55; }
.cs-chart figcaption { font-size: 13px; color: var(--muted); margin-top: 22px; max-width: 76ch; }

.cs-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 13px; font-variant-numeric: tabular-nums; }
.cs-table caption { text-align: left; font-size: 12px; color: var(--muted); padding-bottom: 8px; }
.cs-table th, .cs-table td { padding: 8px 10px; border-top: 1px solid var(--line); text-align: right; }
.cs-table th:first-child { text-align: left; font-weight: 500; }
.cs-table thead th { font-weight: 600; color: var(--muted); font-size: 12px; }
.cs-table tr.is-best th, .cs-table tr.is-best td { background: var(--teal-tint); font-weight: 600; }

/* method */
.cs-method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.cs-method > div { padding: 22px 26px 0 0; }
.cs-method > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.cs-method h3 { font-size: 16px; }
.cs-method p { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.65; }

/* results */
.cs-results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.cs-flow { display: grid; gap: 20px; }
.cs-flow__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.cs-flow__label span { font-size: 13.5px; color: var(--muted); }
.cs-flow__label strong { font-size: 19px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cs-flow__track { height: 16px; background: var(--bg-soft); border-radius: 8px; overflow: hidden; }
.cs-flow__bar { display: block; height: 100%; border-radius: 8px; }
.cs-flow__bar.is-gross { background: #97A5A3; }
.cs-flow__bar.is-stored { background: #B9CF3A; }
.cs-note { font-size: 13.5px; color: var(--muted); margin-top: 20px; line-height: 1.6; }

.cs-stack { display: flex; height: 22px; border-radius: 6px; overflow: hidden; gap: 2px; }
.cs-stack span { background: var(--c); }
.e1 { --c: var(--ink); } .e2 { --c: var(--teal-ink); } .e3 { --c: var(--teal); } .e4 { --c: #B9CF3A; } .e5 { --c: var(--yellow); }
.cs-stack__key { margin-top: 18px; display: grid; }
.cs-stack__key li { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.cs-stack__key li:first-child { border-top: 0; }
.cs-stack__key b { margin-left: auto; font-variant-numeric: tabular-nums; }

/* transport */
.cs-factor { margin-top: 28px; display: grid; gap: 10px; max-width: 520px; }
.cs-factor > div { display: grid; grid-template-columns: 76px 1fr 56px; gap: 12px; align-items: center; font-size: 13.5px; }
.cs-factor b { text-align: right; font-variant-numeric: tabular-nums; }
.cs-factor__track { height: 12px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; }
.cs-factor__track i { display: block; height: 100%; background: var(--teal-ink); border-radius: 6px; }
.cs-factor > p { font-size: 12px !important; color: var(--muted) !important; margin: 0 !important; }

.cs-route { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 26px; }
.cs-route ul { display: grid; }
.cs-route li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ink-line); align-items: baseline; }
.cs-route li:first-child { border-top: 0; padding-top: 4px; }
.cs-route__km { font-size: 20px; font-weight: 600; color: var(--yellow); letter-spacing: -.02em; line-height: 1.15; }
.cs-route__km small { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: 0; }
.cs-route strong { display: block; font-size: 14.5px; }
.cs-route li > span:last-child { font-size: 13px; color: rgba(255,255,255,.66); }

/* conclusion */
.cs-conclusion { max-width: 720px; }
.cs-conclusion h2 { font-size: clamp(22px, 2.6vw, 27px); }
.cs-conclusion p { font-size: 16.5px; line-height: 1.75; margin-top: 12px; color: #33423F; }
.cs-conclusion__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px !important; }

/* work index card with photo */
.case__art--photo { padding: 0; height: 150px; }
.case__art--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.case__link::after { content: ""; position: absolute; inset: 0; }
.case--linked { position: relative; }
.case--linked .case__more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--teal-ink); }

@media (max-width: 1100px) {
  .cs-snapshot__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-snapshot__list > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .cs-snapshot__list > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .cs-bar { grid-template-columns: 170px 1fr 56px; }
}
@media (max-width: 900px) {
  .cs-hero__grid, .cs-split, .cs-results { grid-template-columns: 1fr; }
  .cs-hero__copy { padding-bottom: 8px; }
  .cs-hero__photo { aspect-ratio: 4 / 3; max-height: none; }
  .cs-method { grid-template-columns: 1fr; }
  .cs-method > div, .cs-method > div + div { padding: 18px 0; border-left: 0; }
  .cs-method > div + div { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .cs-snapshot__list { grid-template-columns: 1fr 1fr; }
  .cs-snapshot__list > div, .cs-snapshot__list > div + div { padding: 14px 12px 14px 0; border-left: 0; }
  .cs-snapshot__list > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cs-bar { grid-template-columns: 1fr 52px; gap: 6px 12px; }
  .cs-bar__name { grid-column: 1 / -1; }
  .cs-bar__track { height: 30px; }
  .cs-table { font-size: 12px; }
  .cs-table th, .cs-table td { padding: 7px 5px; }
  .cs-card, .cs-route { padding: 20px; }
  .cs-route li { grid-template-columns: 96px 1fr; }
}
.cs-hero .crumb { font-size: 12.5px; margin: 0 0 14px; color: rgba(255,255,255,.55); }
.cs-route strong { color: #fff; }
@media (max-width: 640px) { .cs-bar .seg.k-a5 b { display: none; } }
.case__art--photo { display: block; overflow: hidden; }
.case__art--photo img { height: 150px; }

/* ==========================================================================
   v11 — case study components for projects 02 and 03
   ========================================================================== */
/* hero variant for simulation renders (white-ground images) */
.cs-hero--render { padding-block: 44px 48px; }
.cs-hero--render .cs-hero__grid { align-items: center; }
.cs-hero--render .cs-hero__copy { padding-bottom: 0; }
.cs-hero--render .cs-hero__photo { aspect-ratio: auto; max-height: none; border-radius: var(--radius-lg); background: #fff; padding: 10px; }
.cs-hero--render .cs-hero__photo img { height: auto; object-fit: contain; border-radius: 8px; }
.cs-hero--render .cs-hero__photo figcaption { color: var(--muted); padding: 8px 4px 0; }
.cs-hero__photo figcaption { font-size: 12px; }

.cs-stages__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.cs-stages__foot strong { color: var(--text); }
.cs-note--wide { max-width: 80ch; margin-top: 24px; }

/* image pair */
.cs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.cs-gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; }
.cs-gallery img { width: 100%; height: auto; border-radius: 8px; }
.cs-gallery figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 4px 2px; }
.section-head + .cs-gallery { margin-top: 0; }

/* reflectivity bars */
.cs-reflect { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.cs-reflect__row { display: grid; grid-template-columns: 260px 1fr 56px; gap: 16px; align-items: center; }
.cs-reflect__name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.cs-reflect__name small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.cs-reflect__track { position: relative; height: 14px; background: var(--bg-soft); border-radius: 7px; }
.cs-reflect__track i { display: block; height: 100%; background: var(--teal-ink); border-radius: 7px; }
.cs-reflect__track i.is-range { background: repeating-linear-gradient(90deg, var(--teal-ink) 0 6px, var(--teal) 6px 10px); }
.cs-reflect__track em { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--yellow-dk); }
.cs-reflect__row b { text-align: right; font-variant-numeric: tabular-nums; }
.cs-reflect__scale { display: grid; grid-template-columns: 260px 1fr 56px; gap: 16px; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cs-reflect__scale span:first-child { grid-column: 2; grid-row: 1; justify-self: start; }
.cs-reflect__scale .cs-reflect__limit { grid-column: 2; grid-row: 1; justify-self: end; margin-right: 25%; transform: translateX(50%); color: #8A6500; font-weight: 600; }
.cs-reflect__scale span:last-child { grid-column: 2; grid-row: 1; justify-self: end; }

/* driver views */
.cs-views { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-view { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.cs-view img { width: 100%; height: auto; background: #000; }
.cs-view__body { padding: 22px 24px 24px; border-top: 4px solid var(--teal-ink); flex: 1; }
.cs-view.is-flag .cs-view__body { border-top-color: var(--yellow); }
.cs-view h3 { font-size: 17px; }
.cs-view__time { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cs-view dl { margin: 16px 0 0; }
.cs-view dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cs-view dt { color: var(--muted); }
.cs-view dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cs-view dd span { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.cs-view__verdict { margin-top: 14px; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 8px; background: var(--teal-tint); color: var(--teal-ink); }
.cs-view.is-flag .cs-view__verdict { background: #FFF3D1; color: #7A5A00; }

/* end-use stack variant */
.cs-stack--tall { height: 34px; }
.u1 { --c: #E8AF00; } .u2 { --c: var(--teal-ink); } .u3 { --c: #97A5A3; } .u4 { --c: var(--teal); } .u5 { --c: #D9573B; }
.cs-stack__key--cols { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; }
.cs-stack__key--cols li { border-top: 0; flex-wrap: wrap; font-size: 13px; }
.cs-stack__key--cols li b { margin-left: 0; width: 100%; font-size: 18px; padding-left: 21px; }

/* sweeps */
.cs-sweeps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-sweeps > .cs-card:last-child { grid-column: 1 / -1; }
.cs-sweep__note { font-size: 12.5px; color: var(--muted); margin: -8px 0 18px; }
.cs-cols { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; align-items: end; height: 170px; }
.cs-cols > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.cs-cols span { width: 100%; height: calc(28% + var(--h) * 60%); background: #C9D2D0; border-radius: 4px 4px 0 0; order: 2; }
.cs-cols b { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; order: 1; }
.cs-cols em { font-style: normal; font-size: 11.5px; color: var(--muted); order: 3; }
.cs-cols .is-best span { background: var(--teal-ink); }
.cs-cols .is-best b { color: var(--teal-ink); }
.cs-scroll { overflow-x: auto; }
.cs-grid { margin-top: 0; }
.cs-grid td.is-best { background: var(--teal-tint); color: var(--teal-ink); font-weight: 700; }

/* HVAC bars */
.cs-split--even { grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-hbars { display: grid; gap: 10px; }
.cs-hbars > div { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 50px; gap: 12px; align-items: center; font-size: 13px; }
.cs-hbars > div > div { height: 12px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; }
.cs-hbars i { display: block; height: 100%; background: #C9D2D0; border-radius: 6px; }
.cs-hbars b { text-align: right; font-variant-numeric: tabular-nums; }
.cs-hbars .is-best i { background: var(--teal-ink); }
.cs-hbars .is-best span, .cs-hbars .is-best b { font-weight: 700; color: var(--teal-ink); }
.cs-hbars .is-base i { background: var(--ink); }

.cs-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cs-facts > div { background: #fff; padding: 14px; }
.cs-facts dt { font-size: 12px; color: var(--muted); }
.cs-facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.cs-facts > div:last-child dd { color: var(--teal-ink); }

/* cumulative steps (a true sequence) */
.cs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.cs-steps li { position: relative; display: grid; grid-template-columns: 1fr 70px; align-items: center; min-height: 44px; }
.cs-steps__bar { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * .86); background: #DCE3E2; border-radius: 6px; }
.cs-steps__label { position: relative; padding-left: 14px; font-size: 14px; font-weight: 500; }
.cs-steps li b { text-align: right; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cs-steps li.is-best .cs-steps__bar { background: var(--teal-ink); }
.cs-steps li.is-best .cs-steps__label { color: #fff; }
.cs-steps li.is-best b { color: var(--teal-ink); }

/* daylight metrics */
.cs-metrics { margin: 0 0 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cs-metrics > div { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal-ink); border-radius: var(--radius); padding: 16px; }
.cs-metrics > div.is-flag { border-top-color: var(--yellow); }
.cs-metrics dt { font-size: 12.5px; color: var(--muted); }
.cs-metrics dd { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cs-metrics dd.cs-metrics__v { font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: var(--text); margin: 4px 0 6px; }

/* work index: three linked cases */
.case__rows + .case__more { margin-top: auto; }

@media (max-width: 1100px) {
  .cs-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-stack__key--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-reflect__row, .cs-reflect__scale { grid-template-columns: 200px 1fr 50px; }
}
@media (max-width: 900px) {
  .cs-gallery, .cs-views, .cs-sweeps, .cs-split--even { grid-template-columns: 1fr; }
  .cs-sweeps > .cs-card:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .cs-metrics { grid-template-columns: 1fr 1fr; }
  .cs-stack__key--cols { grid-template-columns: 1fr 1fr; }
  .cs-reflect__row { grid-template-columns: 1fr 44px; gap: 6px 12px; }
  .cs-reflect__name { grid-column: 1 / -1; }
  .cs-reflect__scale { grid-template-columns: 1fr 44px; gap: 0 12px; }
  .cs-reflect__scale span { grid-column: 1 !important; }
  .cs-cols { gap: 3px; height: 150px; }
  .cs-cols b { font-size: 9.5px; }
  .cs-hbars > div { grid-template-columns: 1fr 50px; gap: 4px 10px; }
  .cs-hbars > div > span { grid-column: 1 / -1; }
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-steps li { grid-template-columns: 1fr 58px; }
  .cs-steps__label { font-size: 12.5px; }
  .cs-view__body { padding: 18px; }
}
.case__art--render { background: #fff; border-bottom: 1px solid var(--line); }
.case__art--render img { object-fit: contain; }
.cs-cols span { height: calc(24px + var(--h) * 96px); flex: 0 0 auto; }
.cs-gallery { align-items: start; }
.cs-view img { max-height: 420px; object-fit: cover; object-position: center top; }
.cs-steps__bar { width: calc((100% - 80px) * var(--p)); }
@media (max-width: 640px) { .cs-steps__bar { width: calc((100% - 62px) * var(--p)); } }
.cs-figure { margin: 32px 0 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; background: #fff; }
.cs-figure img { width: 100%; height: auto; }
.cs-figure figcaption { font-size: 12.5px; color: var(--muted); padding: 8px 4px 0; }
.case__date { font-size: 12px; font-weight: 600; color: var(--teal-ink); margin-bottom: -6px; }

/* ==========================================================================
   v14 — articles 02: category label, workflow strip, PDF source link,
   series "notify me" form
   ========================================================================== */
.article-kicker { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink) !important; margin: 0 0 10px !important; }

.prose .flow { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 18px 0; padding: 0; text-align: start; }
.prose .flow span { position: relative; background: var(--teal-tint); color: var(--teal-ink); font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; margin-right: 26px; }
.prose .flow span:not(:last-child)::after { content: "\2192"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 400; }

.prose .res-download { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: border-color .15s; }
.prose .res-download:hover { border-color: var(--teal); }
.prose .res-download strong { display: block; font-size: 15px; }
.prose .res-download small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.prose .res-download .res__icon { flex: 0 0 auto; }

.side__notify { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.side__notify-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.side__notify-row { display: flex; gap: 6px; }
.side__notify-row input { flex: 1; min-width: 0; font: inherit; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.side__notify-row input:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; }
.side__notify-row .btn { white-space: nowrap; }
.side__notify-note { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.side__notify-ok { font-size: 13.5px; color: var(--teal-ink); background: var(--teal-tint); padding: 10px 12px; border-radius: 8px; }

/* v14 — founder portrait is now a full photograph with its own background */
.founder-profile__visual--photo { background: #5E6B5C; }
.founder-profile__visual--photo::before,
.founder-profile__visual--photo::after { display: none; }
.founder-profile__visual--photo img {
  inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  filter: none;
}
img.side__avatar { background: #5E6B5C; }
.founder-profile__visual--photo { aspect-ratio: 1 / 1; }
@media (max-width: 680px) { .founder-profile__visual--photo { aspect-ratio: 4 / 5; } }

/* v14 — keep wide article tables inside the column on phones */
.article-main { min-width: 0; }
.prose figure:has(> table), .prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose figure > table { min-width: 460px; }

/* v14 — page never scrolls sideways on phones (the hero image in article
   headers is full-bleed by design) */
html, body { overflow-x: hidden; }

/* ---------- Internal editor notes: hidden from visitors ----------
   Add ?notes to any page address to see them, e.g. resources.html?notes */
.dev-note { display: none !important; }
html.show-notes .dev-note { display: block !important; outline: 2px dashed #E0A100; outline-offset: 3px; }

/* ---------- Interest checkboxes on enquiry forms ---------- */
.interests { border: 0; padding: 0; margin: 4px 0 14px; min-width: 0; }
.interests legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.interests legend .field__hint { font-weight: 400; margin-inline-start: 6px; }
.interests .interests__group { font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 10px 0 6px; }
.interests__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.4; cursor: pointer; }
.check input[type="checkbox"], .form-grid .check input[type="checkbox"] {
  width: 16px; height: 16px; margin: 1px 0 0; padding: 0; flex: 0 0 auto; accent-color: var(--teal);
}
.check--updates { margin: 4px 0 16px; color: var(--muted); }
.interests--dark legend, .interests--dark .check { color: #fff; }
.interests--dark .interests__group, .form-grid .check--updates, .interests--dark .field__hint { color: rgba(255,255,255,.6); }
.form-grid .check--updates { margin: 2px 0 4px; }
@media (max-width: 560px) { .interests__grid { grid-template-columns: 1fr; } }

/* ---------- Replay: coming soon + notify ---------- */
.replay__soon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(11,47,48,.82); color: var(--yellow); border: 1px solid rgba(255,198,30,.45);
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 20px; white-space: nowrap;
}
.replay__notify { margin-top: 20px; max-width: 420px; }
.replay__notify-label { display: block; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.replay__notify-row { display: flex; gap: 8px; }
.replay__notify-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px; padding: 10px 12px;
}
.replay__notify-row input::placeholder { color: rgba(255,255,255,.5); }
.replay__notify-row input:focus { border-color: var(--teal); outline: none; }
.replay__notify-row .btn { margin-top: 0; flex: 0 0 auto; }
.replay__notify-note { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 8px; }
.replay__notify-note a { color: rgba(255,255,255,.75); text-decoration: underline; }
.replay__notify-ok { font-size: 14px; color: var(--yellow); margin-top: 18px; }

/* ---------- Collapsed interests on the home form ---------- */
.interests-toggle { margin: 2px 0 6px; }
.interests-toggle > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: #fff;
}
.interests-toggle > summary::-webkit-details-marker { display: none; }
.interests-toggle > summary span { font-weight: 400; color: rgba(255,255,255,.55); }
.interests-toggle > summary::before {
  content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 5px; font-size: 13px; line-height: 1;
}
.interests-toggle[open] > summary::before { content: "\2212"; }
.interests-toggle[open] > summary { margin-bottom: 10px; }
.interests-toggle .interests { margin: 0 0 6px; }

/* ==========================================================================
   v22 additions
   ========================================================================== */

/* ---- article: author link, tables, equation, myths --------------------- */
.article-author { color: inherit; text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
.article-author:hover { color: var(--teal); text-decoration-color: currentColor; }
.prose .table-wrap { margin: 24px 0; }
.prose .data-table td:first-child { font-weight: 600; white-space: nowrap; }
.prose .muted, .muted { color: var(--muted); font-weight: 400; font-size: .92em; }
.prose .equation {
  text-align: center; font-weight: 600; font-size: 17px; padding: 16px 12px; margin: 22px 0;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
}
.prose .myths { margin: 18px 0 0; }
.prose .myths dt { font-weight: 600; margin-top: 18px; }
.prose .myths dd { margin: 6px 0 0; padding-inline-start: 16px; border-inline-start: 3px solid var(--teal); color: var(--muted); }

/* ---- course box (article footer + course page) --------------------------- */
.course-box {
  margin: 44px 0 0; padding: 26px 28px; border-radius: 14px;
  background: #0B2F30; color: #fff;
}
.course-box--plain { margin: 0; }
.course-box__kicker { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--yellow); margin: 0; }
.course-box h2 { font-size: 20px; line-height: 1.35; margin: 8px 0 10px; color: #fff; }
.course-box p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.65; }
.course-box strong { color: #fff; }
.course-box__form { margin: 18px 0 14px; }
.course-box__form > label:not(.check) { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.course-box__row { display: flex; gap: 8px; }
.course-box__row input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
}
.course-box__row input::placeholder { color: rgba(255,255,255,.5); }
.course-box__row .btn { margin-top: 0; flex: 0 0 auto; }
.course-box .check { margin-top: 10px; color: rgba(255,255,255,.7); font-size: 13px; }
.course-box .link-arrow { color: var(--yellow); }
.res__form { margin-top: 12px; }
.res__form .course-box__row input { border-color: var(--line); background: #fff; color: var(--text); }
.res__form .course-box__row input::placeholder { color: var(--muted); }

/* ---- share box -------------------------------------------------------------- */
.share-box {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 36px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.share-box p { margin: 0 8px 0 0; font-weight: 600; }
.share-box .btn { margin-top: 0; display: inline-flex; align-items: center; gap: 7px; }
.footer-linkedin { display: inline-flex; align-items: center; gap: 6px; }

/* ---- WBEM course page -------------------------------------------------------- */
.course-hero .badge { margin: 10px 0 12px; display: inline-block; }
.course-hero .hero-actions { margin-top: 22px; }
.course-hero__note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.course-hero__note a { color: var(--teal); text-decoration: underline; }
.course-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.course-facts > div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.course-facts strong { display: block; font-size: 20px; }
.course-facts span { font-size: 13.5px; color: var(--muted); }
.wrap--narrow { max-width: 820px; }
.sessions { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.sessions li { counter-increment: s; position: relative; padding: 18px 0 18px 62px; border-bottom: 1px solid var(--line); }
.sessions li::before {
  content: counter(s); position: absolute; left: 0; top: 18px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; background: #0B2F30; color: var(--yellow);
}
.sessions h3 { font-size: 17px; margin: 0 0 6px; }
.sessions p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; }
.tier { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.tier--featured { border-color: var(--teal); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.tier h3 { margin: 0 0 12px; }
.tier__plus { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.tier ul { margin: 0; padding-inline-start: 20px; }
.tier li { margin: 7px 0; font-size: 15px; }
@media (max-width: 760px) {
  .course-facts { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .course-box__row { flex-direction: column; }
}

/* ---- author page -------------------------------------------------------------- */
.author-hero { background: #F2EDE9; padding: 48px 0 40px; }
.author-hero__inner { display: flex; gap: 32px; align-items: center; }
.author-hero__photo { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); flex: 0 0 auto; }
.author-hero h1 { margin: 6px 0 4px; }
.author-hero__role { color: var(--muted); font-size: 17px; margin: 0; }
.author-hero__links { margin-top: 16px; }
.author-hero__links .btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 0; }
.author-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.author-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.author-stats > div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.author-stats strong { display: block; font-size: 24px; }
.author-stats span { font-size: 13px; color: var(--muted); }
.author-bio p { line-height: 1.75; }
.author-block { margin-top: 32px; }
.author-side .author-block:first-child { margin-top: 0; }
.author-block h2, .author-bio h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.author-list { list-style: none; padding: 0; margin: 0; }
.author-list__item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.author-list__item a { font-weight: 600; color: inherit; text-decoration: none; }
.author-list__item a:hover { color: var(--teal); }
.author-list__meta { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.author-list--ranked { list-style: decimal; padding-inline-start: 20px; }
.author-qa { list-style: none; padding: 0; margin: 0; }
.author-qa li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.author-qa__q { color: inherit; font-weight: 500; text-decoration: none; }
.author-qa__q:hover { color: var(--teal); }
@media (max-width: 860px) {
  .author-hero__inner { flex-direction: column; text-align: center; }
  .author-grid { grid-template-columns: 1fr; }
  .author-stats { grid-template-columns: 1fr 1fr; }
}
.author-hero .crumb, .author-hero .crumb a { color: var(--muted); }
.author-bio p + p { margin-top: 12px; }


/* ==========================================================================
   v25 — restore 3-column homepage hero (text | diagram | metrics panel)
   The v5 two-column rule above pushed the metrics panel under the hero.
   ========================================================================== */
.hero--wide .wrap {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, .9fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}
.hero--wide .hero-col:first-child { grid-column: auto; }
.hero--wide .panel { max-width: 440px; margin-inline-start: auto; }

@media (max-width: 1100px) {
  .hero--wide .wrap { grid-template-columns: 1fr 1fr; }
  .hero--wide .hero-col:first-child { grid-column: 1 / -1; }
  .hero--wide .panel { max-width: none; margin-inline: 0; }
}
@media (max-width: 780px) {
  .hero--wide .wrap { grid-template-columns: 1fr; }
}


/* ==========================================================================
   v25 (Sep 2026) — WBEM feature block, replay strip, "coming soon"
   resources, left-aligned English prose
   ========================================================================== */

/* English body text reads better ragged-right than justified (no rivers).
   Persian pages keep justified text. */
.prose p, .prose li { text-align: start; -webkit-hyphens: manual; hyphens: manual; }
[dir="rtl"] .prose p, [dir="rtl"] .prose li { text-align: justify; }

/* WBEM — featured live course on the homepage */
.wbem-feature {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px); align-items: center;
  background: var(--ink); color: #fff; border-radius: 16px;
  padding: clamp(18px, 2.6vw, 28px); margin-bottom: 24px;
}
.wbem-feature__media { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #0a2a2b; }
.wbem-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.wbem-feature__media:hover img { transform: scale(1.03); }
.wbem-feature .eyebrow { color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.wbem-feature h3 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.25; margin-top: 10px; color: #fff; }
.wbem-feature p { color: rgba(255,255,255,.76); font-size: 15px; margin-top: 12px; }
.wbem-feature__facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wbem-feature__facts li {
  font-size: 13px; font-weight: 500; color: #fff; padding: 6px 12px;
  border: 1px solid rgba(53,179,165,.55); border-radius: 20px; background: rgba(53,179,165,.12);
}
.wbem-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 900px) { .wbem-feature { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .wbem-feature__actions .btn { width: 100%; } }

/* Replay — slim "coming soon" strip that keeps the email sign-up */
.replay-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 24px; padding: 18px 24px; border-radius: 12px; background: var(--ink); color: #fff;
}
.replay-strip .eyebrow { color: var(--yellow); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.replay-strip__title { font-size: 16px; font-weight: 600; margin-top: 4px; color: #fff; }
.replay-strip .replay__notify { margin-top: 0; flex: 1 1 360px; max-width: 460px; }
.replay-strip .replay__notify-label { font-size: 12.5px; }
.replay-strip .replay__notify-ok { margin-top: 0; }

/* Resources that are not published yet */
.res-list .res-soon {
  display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 14px; color: var(--muted);
}
.res-list .res-soon span { flex: 1; }
.res-list .res-soon svg { opacity: .6; }
.res-list .res-soon .meta, .soon-tag {
  flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #8A6A00; background: #FFF4CC; border-radius: 20px; padding: 3px 10px;
}
.soon-tag { display: inline-block; margin-top: 10px; }

/* Course thumbnail that is a picture rather than a drawing */
.course-row__art--img { padding: 0; overflow: hidden; }
.course-row__art--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Courses section footer: sentence and workshop button share one row on desktop */
.courses-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 40px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.courses-foot .avail, .courses-foot .cta-row { margin-top: 0; }
.courses-foot .cta-row { flex: 0 0 auto; }
@media (max-width: 780px) {
  .courses-foot { flex-direction: column; align-items: stretch; }
}
