/* The Majlis of AI — majlisofai.com
   Layout: an architect's drawing sheet. 12 columns (8 under 1024px, 4 under 640px),
   8px baseline, white paper, black linework, one redline per view. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-300.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "Architects Daughter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/architects-daughter-400.woff2") format("woff2"); }

:root {
  --surface-100: #FFFFFF; --surface-200: #F5F5F5; --surface-300: #E6E6E6;
  --ink: #111111; --ink-muted: #5C5C5C; --ink-muted-inverse: #BDBDBD;
  --linework: #999999; --hairline: #D9D9D9; --border: #767676;
  --redline: #CC3A1C; --on-redline: #FFFFFF; --focus: #111111;

  --f-display: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-label: "IBM Plex Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --f-text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-hand: "Architects Daughter", "Comic Sans MS", cursive;

  --gutter: 24px; --margin: 64px; --maxw: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface-100: #121212; --surface-200: #1E1E1E; --surface-300: #2A2A2A;
    --ink: #FFFFFF; --ink-muted: #B3B3B3; --ink-muted-inverse: #4D4D4D;
    --linework: #6E6E6E; --hairline: #333333; --border: #8A8A8A;
    --redline: #FF7A5C; --on-redline: #121212; --focus: #FFFFFF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface-100: #121212; --surface-200: #1E1E1E; --surface-300: #2A2A2A;
  --ink: #FFFFFF; --ink-muted: #B3B3B3; --ink-muted-inverse: #4D4D4D;
  --linework: #6E6E6E; --hairline: #333333; --border: #8A8A8A;
  --redline: #FF7A5C; --on-redline: #121212; --focus: #FFFFFF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--surface-100); color: var(--ink); font: 16px/26px var(--f-text); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.mono { font-family: var(--f-mono); }
.notfound { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--redline); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--surface-100); padding: 8px 12px; z-index: 50; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

/* ---------- grid ---------- */
.wrap {
  max-width: calc(var(--maxw) + 2 * var(--margin)); margin: 0 auto;
  padding-left: max(var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--margin), env(safe-area-inset-right, 0px));
}
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (max-width: 1023px) { :root { --margin: 40px; } .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 639px) { :root { --margin: 16px; --gutter: 16px; } .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- type ---------- */
.kicker { font: 600 13px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin: 0; display: flex; align-items: center; gap: 8px; }
.kicker.red { color: var(--redline); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--redline); flex: none; display: inline-block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.display-xl { font: 300 72px/76px var(--f-display); letter-spacing: -.02em; }
.display-m { font: 400 32px/40px var(--f-display); letter-spacing: -.01em; }
.heading { font: 500 20px/28px var(--f-text); }
.lede { font: 300 22px/32px var(--f-display); color: var(--ink-muted); margin: 0; max-width: 60ch; }
p { margin: 0; }
.body-s { font-size: 14px; line-height: 22px; }
.muted { color: var(--ink-muted); }
@media (max-width: 1023px) { .display-xl { font-size: 56px; line-height: 60px; } }
@media (max-width: 639px) { .display-xl { font-size: 40px; line-height: 44px; } .display-m { font-size: 26px; line-height: 34px; } .lede { font-size: 19px; line-height: 28px; } }

/* drawing title: circled number, condensed redline title, 1.5px underline */
.dtitle { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1.5px solid var(--redline); margin-bottom: 32px; }
.dtitle .n { width: 28px; height: 28px; border: 1.5px solid var(--redline); border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--f-label); color: var(--redline); flex: none; }
.dtitle .t { font: 600 20px/24px var(--f-label); letter-spacing: .06em; text-transform: uppercase; color: var(--redline); }
.dtitle .cap { margin-left: auto; font: 12px/16px var(--f-mono); color: var(--ink-muted); text-align: right; }
@media (max-width: 639px) { .dtitle .cap { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 2px; font: 600 15px/20px var(--f-label); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); transition: background .2s ease-out, color .2s ease-out; }
.btn-primary { background: var(--ink); color: var(--surface-100); }
.btn-primary:hover { background: var(--surface-100); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface-100); border-bottom: 1px solid var(--hairline); padding-top: env(safe-area-inset-top, 0px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .lk-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .lk-light { display: none; } :root:not([data-theme="light"]) .brand .lk-dark { display: block; } }
:root[data-theme="dark"] .brand .lk-light { display: none; }
:root[data-theme="dark"] .brand .lk-dark { display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font: 600 13px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-muted); padding: 8px 0; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--surface-100); min-height: 40px; font-size: 13px; }
.nav .btn:hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 2px; min-height: 40px; padding: 0 12px; font: 600 13px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface-100); border-bottom: 1px solid var(--hairline);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(var(--margin), env(safe-area-inset-right, 0px)) 16px max(var(--margin), env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 1px solid var(--ink); }
  .brand img { height: 32px; }
}

/* ---------- hero ---------- */
.hero { padding-block: 96px 64px; }
.hero .grid { row-gap: 32px; align-items: end; }
.hero-text { grid-column: 1 / span 8; display: flex; flex-direction: column; gap: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero-note { grid-column: 10 / span 3; border-left: 1px solid var(--ink); padding-left: 24px; display: flex; flex-direction: column; gap: 16px; }
.hero-note dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.hero-note dt { font: 600 12px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.hero-note dd { margin: 4px 0 0; font-size: 15px; line-height: 22px; }
@media (max-width: 1023px) { .hero { padding-block: 64px 48px; } .hero-text, .hero-note { grid-column: 1 / -1; } .hero-note dl { flex-direction: row; flex-wrap: wrap; gap: 24px 40px; } }

/* the field: the symbol's tiers, extended (banner only) */
.field { height: 200px; border-block: 1px solid var(--hairline); overflow: hidden; }
.field picture, .field img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .field { height: 140px; } }

/* ---------- sections ---------- */
.section { padding-block: 96px; }
.section.poche { background: var(--surface-200); }
@media (max-width: 639px) { .section { padding-block: 64px; } }
.intro { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
@media (max-width: 1023px) { .intro { grid-column: 1 / -1; } }

/* majlis idea: symbol drawing + text */
.idea-fig { grid-column: 1 / span 5; position: relative; }
.idea-fig svg { width: 100%; max-width: 420px; height: auto; display: block; }
.idea-text { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 20px; align-self: center; }
.idea-text p { max-width: 60ch; }
.annot { font: 16px/20px var(--f-hand); fill: var(--redline); }
.fig-ink { stroke: var(--ink); }
.fig-red { fill: var(--redline); }
.fig-lead { stroke: var(--redline); fill: none; }
.fig-lead-dot { fill: var(--redline); }
.fig-guide { stroke: var(--linework); fill: none; }
.principles { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.principles li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 22px; }
.principles b { font: 600 13px/22px var(--f-label); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 1023px) { .idea-fig { grid-column: 2 / span 6; } .idea-text { grid-column: 1 / -1; } }
@media (max-width: 639px) { .idea-fig { grid-column: 1 / -1; } .principles li { grid-template-columns: 1fr; gap: 2px; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { border: 1px solid var(--hairline); background: var(--surface-100); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font: 500 20px/28px var(--f-text); }
.card p { font-size: 15px; line-height: 24px; }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; }
.card li { display: grid; grid-template-columns: 12px 1fr; gap: 8px; }
.card li::before { content: ""; width: 5px; height: 5px; background: var(--ink); border-radius: 50%; margin-top: 8px; }
.card .foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); font: 600 13px/16px var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.card .foot a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card .foot a:hover { color: var(--redline); }
.card .foot svg { width: 14px; height: 14px; }
.card.feature { background: var(--ink); color: var(--surface-100); border-color: var(--ink); }
.card.feature .kicker { color: var(--ink-muted-inverse); }
.card.feature li::before { background: var(--surface-100); }
.card.feature .foot { border-top-color: var(--ink-muted-inverse); }
.card.focal { border: 3px solid var(--redline); padding: 22px; }
.card.focal .kicker { color: var(--redline); }
.card .tag { align-self: flex-start; font: 600 12px/16px var(--f-label); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--hairline); padding: 2px 8px; border-radius: 2px; color: var(--ink-muted); }
.card.feature .tag { border-color: var(--ink-muted-inverse); color: var(--ink-muted-inverse); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* process flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.flow::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px; background: var(--ink); }
.flow li { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bub { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); background: var(--surface-200); display: grid; place-items: center; font: 600 15px var(--f-label); }
.flow li.active .bub { border: 2px solid var(--redline); color: var(--redline); background: var(--surface-200); }
.flow h3 { font: 600 15px/20px var(--f-label); letter-spacing: .06em; text-transform: uppercase; margin-top: 8px; }
.flow li.active h3 { color: var(--redline); }
.flow p { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.flow .fw { font: 12px/18px var(--f-mono); color: var(--ink-muted); }
.handnote { margin-top: 40px; font: 15px/20px var(--f-hand); color: var(--redline); display: flex; align-items: center; gap: 12px; }
.handnote::before { content: ""; width: 48px; height: 1px; background: var(--redline); }
@media (max-width: 1023px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .flow::before { display: none; } }
@media (max-width: 639px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* sectors table */
.tw { overflow-x: auto; border-top: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 24px; }
thead th { font: 600 13px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
tbody th { font: 500 18px/26px var(--f-text); width: 18%; }
td.fw { font: 13px/22px var(--f-mono); color: var(--ink-muted); }

/* book */
.book { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.cover { grid-column: 1 / span 4; aspect-ratio: 156 / 234; max-width: 100%; border: 1px solid var(--ink); background: var(--surface-100); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.cover .ct { font: 300 30px/36px var(--f-display); letter-spacing: -.01em; }
.cover .cs { font: 400 14px/20px var(--f-text); color: var(--ink-muted); margin-top: 12px; }
.cover .cf { display: flex; justify-content: space-between; align-items: flex-end; font: 600 12px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.cover img { width: 36px; height: 36px; }
.book-text { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 20px; }
.book-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.stat { border-top: 1px solid var(--ink); padding-top: 12px; }
.numeral { font: 300 48px/56px var(--f-display); font-variant-numeric: tabular-nums; }
.stat .lab { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.series { border: 1px solid var(--hairline); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 1023px) { .book { grid-template-columns: repeat(8, minmax(0, 1fr)); } .cover { grid-column: 1 / span 3; } .book-text { grid-column: 4 / span 5; } }
@media (max-width: 639px) { .book { grid-template-columns: minmax(0, 1fr); } .cover, .book-text { grid-column: 1 / -1; } .cover { max-width: 260px; } .book-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .numeral { font-size: 36px; line-height: 44px; } }

/* quote */
.quote { grid-column: 3 / span 8; text-align: left; }
.quote blockquote { margin: 0; font: 26px/36px var(--f-hand); color: var(--ink); }
.quote blockquote::before { content: ""; display: block; width: 48px; height: 1.5px; background: var(--redline); margin-bottom: 20px; }
@media (max-width: 1023px) { .quote { grid-column: 1 / -1; } }

/* founder */
.founder { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 16px; }
.founder-facts { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--ink); align-self: start; }
.founder-facts div { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.founder-facts dt { font: 600 12px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.founder-facts dd { margin: 4px 0 0; font-size: 15px; line-height: 22px; }
@media (max-width: 1023px) { .founder, .founder-facts { grid-column: 1 / -1; } .founder-facts { margin-top: 32px; } }

/* contact */
.contact { grid-column: 1 / span 8; display: flex; flex-direction: column; gap: 24px; }
.contact-card { grid-column: 9 / span 4; border: 3px solid var(--redline); padding: 22px; display: flex; flex-direction: column; gap: 12px; align-self: start; }
.contact-card .row { display: flex; flex-direction: column; gap: 2px; padding-block: 8px; border-bottom: 1px solid var(--hairline); }
.contact-card .row:last-of-type { border-bottom: 0; }
.contact-card .row span:first-child { font: 600 12px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 1023px) { .contact, .contact-card { grid-column: 1 / -1; } }

/* footer */
.site-footer { border-top: 1px solid var(--ink); padding-block: 40px 48px; padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
.site-footer .grid { row-gap: 24px; align-items: start; }
.foot-brand { grid-column: 1 / span 4; display: flex; gap: 16px; align-items: center; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand .sym-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot-brand .sym-light { display: none; } :root:not([data-theme="light"]) .foot-brand .sym-dark { display: block; } }
:root[data-theme="dark"] .foot-brand .sym-light { display: none; }
:root[data-theme="dark"] .foot-brand .sym-dark { display: block; }
.foot-links { grid-column: 6 / span 7; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: flex-end; }
.foot-links a { font: 600 13px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-muted); }
.foot-links a:hover { color: var(--ink); }
.foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font: 12px/18px var(--f-mono); color: var(--ink-muted); border-top: 1px solid var(--hairline); padding-top: 16px; }
@media (max-width: 1023px) { .foot-brand, .foot-links { grid-column: 1 / -1; } .foot-links { justify-content: flex-start; } }

/* print */
@media print { .site-header, .field, .hero-actions, .menu-btn { display: none !important; } .section { padding-block: 24px; } body { background: #fff; color: #111; } }
/* ---------- course pages (/adlc/) ---------- */
.crumbs { font: 12px/16px var(--f-mono); color: var(--ink-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.subtitle { font: 300 32px/40px var(--f-display); color: var(--ink-muted); margin: 0; }
@media (max-width: 639px) { .subtitle { font-size: 22px; line-height: 30px; } }

.layers { display: flex; flex-direction: column; gap: 16px; }
.layer { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; border: 1px solid var(--hairline); background: var(--surface-100); padding: 20px 24px; }
.layer h3 { font: 600 15px/20px var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.layer p { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: 6px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--ink); padding: 6px 12px; font-size: 14px; line-height: 20px; background: var(--surface-100); }
.chips li.focal { border: 3px solid var(--redline); padding: 4px 10px; }
.layer.gov .chips li { border-color: var(--linework); }
.layer.gov .chips li.focal { border-color: var(--redline); }
.layer-caption { font: 12px/16px var(--f-mono); color: var(--ink-muted); margin-top: 12px; }
@media (max-width: 639px) { .layer { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.days::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px; background: var(--ink); }
.days li { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.days h3 { font: 500 16px/22px var(--f-text); margin-top: 8px; }
.days .meta { font: 12px/18px var(--f-mono); color: var(--ink-muted); }
.days .who { font: 15px/20px var(--f-hand); color: var(--redline); }
@media (max-width: 1023px) { .days { grid-template-columns: minmax(0, 1fr); gap: 24px; } .days::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 1px; height: auto; }
  .days li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; } .days li > :not(.bub) { grid-column: 2; } .days h3 { margin-top: 8px; } }

table.outcomes { min-width: 720px; }
table.outcomes td.hrs { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; width: 72px; }
table.outcomes tr.day th { background: var(--surface-300); padding: 8px 12px; font: 500 15px/22px var(--f-text); }
table.outcomes .dk { font: 600 13px var(--f-label); letter-spacing: .1em; text-transform: uppercase; margin-right: 8px; }
table.outcomes .o-t { font-weight: 600; }
table.outcomes .o-s { color: var(--ink-muted); font-size: 14px; line-height: 22px; max-width: 62ch; }
table.outcomes .pat { font: 12px/18px var(--f-mono); color: var(--ink-muted); }
table.outcomes .level { font: 600 12px/16px var(--f-label); letter-spacing: .06em; text-transform: uppercase; }

.artefacts { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 24px; counter-reset: a; border-top: 1px solid var(--ink); }
.artefacts li { break-inside: avoid; counter-increment: a; display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 22px; }
.artefacts li::before { content: counter(a, decimal-leading-zero); font: 500 12px/22px var(--f-mono); color: var(--ink-muted); }

.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1023px) { .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* standalone page: one call to action */
.site-header .header-cta { min-height: 40px; font-size: 13px; }
.site-header .header-cta:hover { color: var(--ink); }
.q-cards .card h3 { font: 300 24px/32px var(--f-display); }
.q-cards .card .qn { font: 500 12px/16px var(--f-mono); color: var(--ink-muted); }
.details { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.details dl { grid-column: 1 / span 7; margin: 0; border-top: 1px solid var(--ink); }
.details dl div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.details dt { font: 600 12px/22px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.details dd { margin: 0; font-size: 15px; line-height: 22px; }
.details aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1023px) { .details dl, .details aside { grid-column: 1 / -1; } }
@media (max-width: 639px) { .details dl div { grid-template-columns: 1fr; gap: 2px; } }
.cta-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.cta-band .cta-text { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 16px; }
.cta-band .cta-box { grid-column: 9 / span 4; border: 3px solid var(--redline); padding: 22px; display: flex; flex-direction: column; gap: 16px; background: var(--surface-100); }
.email-big { font: 300 26px/34px var(--f-display); word-break: break-all; user-select: all; text-decoration: none; }
.email-big:hover { color: var(--redline); }
.copy-btn { align-self: flex-start; background: none; border: 1px solid var(--border); border-radius: 2px; min-height: 36px; padding: 0 12px; font: 600 12px/16px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); }
.cta-box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.cta-box li { display: grid; grid-template-columns: 12px 1fr; gap: 8px; }
.cta-box li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-muted); margin-top: 8px; }
@media (max-width: 1023px) { .cta-band .cta-text, .cta-band .cta-box { grid-column: 1 / -1; } }
.th-right { text-align: right; }

/* no banner under the hero: close it with a hairline */
.hero { border-bottom: 1px solid var(--hairline); }
