/* jw-sthlm.github.io shared styles. Graphite case, off-white trays, rose actions, safety-yellow status. */
@import url("/assets/site-header.css");
:root {
  color-scheme: dark;
  --case-deep: #101214;
  --case: #17191b;
  --case-panel: #1e2123;
  --case-raised: #272b2e;
  --edge: #363b3f;
  --edge-bright: #4a5055;
  --tray: #f4f1ec;
  --tray-sunk: #e6e2da;
  --tray-edge: #cdc7bd;
  --on-case: #eeebe6;
  --on-case-muted: #adb1b3;
  --on-tray: #191b1d;
  --on-tray-muted: #53575b;
  --rose: #b11f4b;
  --rose-deep: #8d1a3c;
  --rose-strong: #e04b6d;
  --rose-bright: #ff8da6;
  --signal: #f2c230;
  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --shell: min(1180px, 100% - 2.5rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 40;
  --z-pill: 60;
  --z-skip: 70;
}

* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--case);
  color: var(--on-case);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rose-bright); }
a:hover { color: #ffb3c3; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.shell { width: var(--shell); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--on-case-muted); }

.skip-link {
  position: fixed; top: .6rem; left: .6rem; z-index: var(--z-skip);
  padding: .8rem 1rem; background: var(--signal); color: var(--case-deep);
  font-weight: 700; text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--case-deep); }

/* Buttons and links */
.btn {
  min-height: 44px; display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1.05rem; border: 1px solid var(--edge-bright); background: transparent;
  color: var(--on-case); text-decoration: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: transform 160ms var(--ease), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--rose-bright); color: var(--on-case); }
.btn-primary { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--rose-deep); }
.btn-light:hover { background: var(--tray); border-color: var(--tray); color: var(--rose-deep); }
.btn-on-rose { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-on-rose:hover { background: #fff; border-color: #fff; color: var(--rose-deep); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn .size { font-family: var(--font-body); font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .85; }
.tray .btn { color: var(--on-tray); border-color: var(--tray-edge); }
.tray .btn:hover { border-color: var(--rose); color: var(--on-tray); }
.tray .btn-primary, .tray .btn-primary:hover { color: #fff; }
.tray .btn-primary { border-color: var(--rose); }
.text-link {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; }


/* Home hero */
.hero { padding: clamp(3rem, 7vw, 6.25rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); line-height: .95; }
.hero h1 span { color: var(--rose-bright); white-space: nowrap; }
.hero .lede { margin-top: 1.5rem; font-size: clamp(1.08rem, 1.5vw, 1.28rem); max-width: 58ch; }
.hero .actions { margin-top: 2rem; }
.portrait { margin: 0; justify-self: end; width: min(100%, 310px); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border: 1px solid var(--edge-bright); }
.portrait figcaption { margin-top: .6rem; font-size: .95rem; color: var(--on-case-muted); }
.hero h1, .hero .lede, .hero .actions, .portrait { animation: rise 760ms var(--ease) both; }
.hero .lede { animation-delay: 80ms; }
.hero .actions { animation-delay: 160ms; }
.portrait { animation-delay: 120ms; }
@keyframes rise { from { opacity: .25; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section + .section { border-top: 1px solid var(--edge); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2.5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.section-head h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.section-head p { max-width: 62ch; margin-top: .8rem; font-size: 1.08rem; }
.tray { background: var(--tray); color: var(--on-tray); }
.tray a { color: var(--rose-deep); }
.tray a:hover { color: var(--rose); }
.tray .muted { color: var(--on-tray-muted); }

/* Keynote feature on the tray */
.kn-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.kn-feature .thumb { display: block; overflow: hidden; border: 1px solid var(--tray-edge); box-shadow: 0 24px 44px -26px rgba(16, 18, 20, .65); }
.kn-feature .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 420ms var(--ease); }
.kn-feature .thumb:hover img { transform: scale(1.02); }
.kn-meta { display: flex; flex-wrap: wrap; gap: .15rem .55rem; font-size: .95rem; color: var(--on-tray-muted); }
.kn-meta strong { color: var(--rose-deep); }
.kn-feature h3 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin-top: .55rem; }
.kn-feature .tagline { margin-top: .45rem; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--rose-deep); }
.kn-feature .body { margin-top: .75rem; max-width: 46ch; }
.kn-feature .actions { margin-top: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .18rem .65rem; border: 1px solid var(--tray-edge); border-radius: 999px; font-size: .88rem; background: rgba(255, 255, 255, .55); }
.chip svg { width: .95em; height: .95em; }
.kn-earlier { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--tray-edge); }
.kn-earlier h3 { font-size: 1.55rem; margin-bottom: 1.1rem; }
.talk-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.tray .talk-mini { display: grid; gap: .65rem; text-decoration: none; color: var(--on-tray); }
.talk-mini img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--tray-edge); }
.talk-mini .tm { display: grid; gap: .25rem; }
.talk-mini b { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.05; }
.talk-mini:hover b { text-decoration: underline; text-underline-offset: .15em; }
.talk-mini .muted { font-size: .9rem; }

/* Demos on the case */
.steps { list-style: none; margin: 0 0 clamp(2rem, 4vw, 2.75rem); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--edge); background: var(--case-deep); }
.steps li { padding: 1.2rem 1.35rem 1.35rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem 1rem; align-items: baseline; }
.steps li + li { border-left: 1px solid var(--edge); }
.step-n { grid-row: span 2; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--rose-bright); }
.steps b { font-family: var(--font-display); font-size: 1.4rem; }
.steps p { color: var(--on-case-muted); font-size: .96rem; }
.cmd { font-family: var(--font-mono); font-size: .84rem; white-space: nowrap; background: var(--case-deep); border: 1px solid var(--edge); padding: .08rem .42rem; border-radius: 3px; color: var(--on-case); }
.steps .cmd { background: var(--case-panel); }

.demo-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.25rem; }
.demo-feature .big { grid-row: span 2; }
.demo-card { display: flex; flex-direction: column; background: var(--case-panel); border: 1px solid var(--edge); transition: border-color 160ms ease; }
.demo-card:hover { border-color: var(--edge-bright); }
.demo-card .preview { display: block; background: #141618; border-bottom: 1px solid var(--edge); aspect-ratio: 64 / 30; overflow: hidden; }
.demo-card .preview svg { display: block; width: 100%; height: 100%; }
.demo-card .preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo-card .body { padding: 1.2rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.demo-card h3 { font-size: clamp(1.65rem, 2.4vw, 2.05rem); }
.demo-card.big h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.demo-card .actions { margin-top: auto; padding-top: .35rem; }
.demo-card.big .preview { aspect-ratio: 64 / 32; }
.demo-card .preview.shot { aspect-ratio: 1440 / 846; }
.card-foot { margin-top: auto; display: grid; gap: .8rem; padding-top: .35rem; }
.card-foot .actions { margin-top: 0; padding-top: 0; }
.badge { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; font-size: .86rem; font-weight: 700; color: var(--on-case); }
.badge::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--signal); flex: none; }
.stack { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.stack li { font-size: .82rem; padding: .12rem .55rem; border: 1px solid var(--edge-bright); border-radius: 999px; color: var(--on-case-muted); }

.programmes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.programme { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr) minmax(0, .95fr) minmax(0, auto); gap: .35rem 1.75rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--edge); }
.programme b { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.05; }
.programme p { color: var(--on-case-muted); }
.programme .access { font-size: .9rem; color: var(--on-case-muted); }

.band { background: var(--rose); color: #fff; }
.band-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem 2.25rem; align-items: center; padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.band img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 3px solid rgba(255, 255, 255, .9); }
.band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.band p { margin-top: .35rem; font-size: 1.1rem; }

.site-footer { background: var(--case-deep); border-top: 1px solid var(--edge); padding: 2.5rem 0 5.5rem; font-size: .92rem; color: var(--on-case-muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2.5rem; }
.footer-grid p + p { margin-top: .4rem; max-width: 70ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }

/* Sub page heroes */
.page-hero { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--edge); }
.page-hero h1 { font-size: clamp(2.75rem, 6vw, 4.8rem); }
.page-hero .lede { margin-top: 1rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 64ch; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  min-height: 44px; padding: 0 1.05rem; border: 1px solid var(--edge-bright); border-radius: 999px;
  background: transparent; color: var(--on-case); cursor: pointer;
  font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .05em; text-transform: uppercase;
}
.filter:hover { border-color: var(--rose-bright); }
.filter[aria-pressed="true"] { background: var(--on-case); border-color: var(--on-case); color: var(--case-deep); }
.count { font-size: .92rem; color: var(--on-case-muted); }

/* Keynotes page */
.talk-list { list-style: none; margin: 0; padding: 0; }
.talk { display: grid; grid-template-columns: minmax(0, 350px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.75rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--edge); }
.talk .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--edge); }
.talk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .85rem; font-size: .93rem; color: var(--on-case-muted); }
.lang { display: inline-flex; padding: 0 .55rem; border: 1px solid var(--edge-bright); border-radius: 999px; font-size: .8rem; color: var(--on-case); }
.talk h2 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); margin-top: .5rem; }
.talk .premise { margin-top: .6rem; max-width: 64ch; }
.talk .actions { margin-top: 1.1rem; }
.no-pdf { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; color: var(--on-case-muted); }
.deliveries { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--edge); }
.delivery { display: grid; gap: .45rem; padding: .85rem 0; border-bottom: 1px solid var(--edge); }
.delivery b { font-family: var(--font-display); font-size: 1.25rem; }

/* Demos page */
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; max-width: 880px; margin-top: 1.75rem; padding: 1.05rem 1.25rem; border: 1px solid var(--edge-bright); background: var(--case-panel); }
.notice .icon { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--signal); color: var(--case-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.notice b { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.notice p { color: var(--on-case-muted); }
.group { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.25rem; padding-bottom: .8rem; border-bottom: 1px solid var(--edge); }
.group-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.group-head p { color: var(--on-case-muted); max-width: 60ch; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem 1.5rem; list-style: none; margin: 0; padding: 0; font-size: .93rem; color: var(--on-case-muted); }
.legend .badge { margin-right: .35rem; }
.demo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
details.more { border-top: 1px solid var(--edge); }
details.more summary { display: flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; font-weight: 700; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; width: 1rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--rose-bright); }
details.more[open] summary::before { content: "\2212"; }
details.more dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: 0 0 .5rem; font-size: .95rem; }
details.more dt { font-weight: 700; }
details.more dd { margin: 0; color: var(--on-case-muted); }
.tools { list-style: none; margin: 0; padding: 0; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 2rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--edge); }
.tool.with-thumb { grid-template-columns: 190px minmax(0, 1fr) auto; }
.tool .mini-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--edge); }
.tool h3 { font-size: 1.55rem; }
.tool p { color: var(--on-case-muted); max-width: 68ch; margin-top: .3rem; }
.tool .stack { margin-top: .6rem; }
.tool .title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
details.field { margin-top: clamp(2.5rem, 5vw, 3.5rem); border: 1px solid var(--edge); background: var(--case-panel); }
details.field summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .8rem 1.25rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
details.field summary::-webkit-details-marker { display: none; }
details.field summary::after { content: "+"; color: var(--rose-bright); }
details.field[open] summary::after { content: "\2212"; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; padding: 0 1.25rem 1.4rem; }
.field-grid h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.field-grid p { color: var(--on-case-muted); font-size: .95rem; }

/* Speaker page */
.speaker-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "bios aside" "topics aside" "exp aside";
  grid-template-rows: auto auto 1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3.5rem); align-items: start;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.sp-bios { grid-area: bios; }
.sp-topics { grid-area: topics; }
.sp-exp { grid-area: exp; }
.speaker-aside { grid-area: aside; display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-content: start; }
.sub-title { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--edge); margin-bottom: 1.25rem; }
.tab {
  min-height: 44px; padding: 0 1.1rem; margin-bottom: -1px; cursor: pointer;
  background: none; border: 0; border-bottom: 3px solid transparent; color: var(--on-case-muted);
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
}
.tab:hover { color: var(--on-case); }
.tab[aria-selected="true"] { color: var(--on-case); border-bottom-color: var(--rose); }
.bio { background: var(--tray); color: var(--on-tray); border: 1px solid var(--tray-edge); padding: clamp(1.2rem, 2.5vw, 1.7rem); }
.bio + .bio { margin-top: 1rem; }
.bio-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .8rem; }
.bio-head h3 { font-size: 1.6rem; }
.bio-head .words { margin-left: .5rem; font-family: var(--font-body); font-size: .88rem; font-weight: 400; color: var(--on-tray-muted); }
.bio-text p { font-size: 1.06rem; max-width: 66ch; }
.bio-text p + p { margin-top: .8rem; }
.bio .btn { color: var(--on-tray); border-color: var(--tray-edge); }
.bio .btn:hover { border-color: var(--rose); color: var(--on-tray); }
.bio .btn.done { background: var(--on-tray); border-color: var(--on-tray); color: var(--tray); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.shot { margin: 0; display: grid; gap: .45rem; align-content: start; }
.shot.main { grid-column: 1 / -1; }
.shot img { width: 100%; object-fit: cover; border: 1px solid var(--edge-bright); }
.shot.main img { aspect-ratio: 4 / 5; object-position: 50% 15%; max-height: 520px; }
.shot.square img { aspect-ratio: 1; }
.shot-empty { aspect-ratio: 1; display: grid; place-items: center; padding: 1rem; text-align: center; border: 1px dashed var(--edge-bright); color: var(--on-case-muted); font-size: .9rem; }
.shot figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 .75rem; font-size: .88rem; color: var(--on-case-muted); }
.shot figcaption b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--on-case); }
.shot figcaption .text-link { grid-column: 1 / -1; width: fit-content; min-height: 36px; }
.fine { margin-top: .9rem; font-size: .9rem; color: var(--on-case-muted); }
.topics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.topic { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1.5rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--edge); }
.topic b { font-family: var(--font-display); font-size: 1.45rem; }
.topic p { color: var(--on-case-muted); font-size: .97rem; }
.facts { margin: 0; }
.facts dt { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.facts dt + dd { margin: .15rem 0 .9rem; color: var(--on-case-muted); }
.invite { display: grid; gap: .7rem; margin-top: 1.25rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--rose); color: #fff; }
.invite h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* Wide demo row */
.demo-wide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--case-panel); border: 1px solid var(--edge); }
.demo-wide + .demo-wide { margin-top: 1.25rem; }
.demo-wide .preview { background: #141618; border-right: 1px solid var(--edge); }
.demo-wide .preview img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.demo-wide .body { display: flex; flex-direction: column; gap: .75rem; padding: 1.4rem 1.5rem 1.5rem; }
.demo-wide h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.source-note { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; color: var(--on-case-muted); }

/* Podcast */
.pod-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.pod-tile { margin: 0; box-shadow: 0 24px 44px -26px rgba(16, 18, 20, .65); }
.pod-tile svg { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.pod-grid h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.pod-grid .lede { margin-top: .8rem; font-size: 1.1rem; max-width: 56ch; }
.tray .episode { display: block; max-width: 560px; margin-top: 1.4rem; padding: 1rem 1.15rem; border: 1px solid var(--tray-edge); background: rgba(255, 255, 255, .6); color: var(--on-tray); text-decoration: none; }
.tray .episode:hover { border-color: var(--rose); color: var(--on-tray); }
.episode small { display: block; font-size: .85rem; color: var(--on-tray-muted); }
.episode b { display: block; margin-top: .2rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.pod-grid .actions { margin-top: 1.4rem; }

/* Experience */
.experience { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.role { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: .95rem; align-items: start; padding: .8rem 0; border-bottom: 1px solid var(--edge); }
.mono { width: 46px; height: 46px; display: grid; place-items: center; background: var(--case-raised); border: 1px solid var(--edge-bright); font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: .02em; color: var(--on-case); }
.role.now .mono { background: var(--rose); border-color: var(--rose); color: #fff; }
.role b { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.12; }
.role div > span { display: block; }
.role .when { font-size: .9rem; color: var(--on-case-muted); }
.exp-more { margin-top: .5rem; }

@media (max-width: 960px) {
  .pod-grid, .demo-wide { grid-template-columns: minmax(0, 1fr); }
  .pod-tile { max-width: 280px; }
  .demo-wide .preview { border-right: 0; border-bottom: 1px solid var(--edge); }
}

@media (max-width: 960px) {
  .hero-grid, .kn-feature, .demo-feature { grid-template-columns: minmax(0, 1fr); }
  .demo-feature .big { grid-row: auto; }
  .portrait { justify-self: start; width: min(62%, 240px); }
  .programme { grid-template-columns: minmax(0, 1fr) auto; }
  .programme p { grid-column: 1 / -1; }
  .speaker-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bios" "aside" "topics" "exp"; grid-template-rows: auto; }
}
@media (max-width: 960px) and (min-width: 561px) {
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shot.main { grid-column: auto; }
  .shot.main img, .shot.square img { aspect-ratio: 4 / 5; max-height: none; }
}
@media (max-width: 560px) {
  .shot figcaption { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .talk, .tool, .tool.with-thumb { grid-template-columns: minmax(0, 1fr); }
  .demo-pair { grid-template-columns: minmax(0, 1fr); }
  .tool .mini-thumb { max-width: 320px; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; border-top: 1px solid var(--edge); }
  .talk-strip { grid-template-columns: minmax(0, 1fr); }
  .tray .talk-mini { grid-template-columns: 120px minmax(0, 1fr); align-items: start; gap: .9rem; }
  .band-grid { grid-template-columns: auto minmax(0, 1fr); }
  .band .btn { grid-column: 1 / -1; justify-self: start; }
  .band img { width: 76px; height: 76px; }
  .topic { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}
