/* ==========================================================================
   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;
  overflow-x: clip;
  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; }
.prose li { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.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 figure.fig-wide {
  width: min(960px, calc(100vw - (var(--pad) * 2)));
  position: relative; left: 50%; transform: translateX(-50%);
}
.prose figure.fig-wide figcaption { text-align: center; }
.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%);
}

@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; }
}
