/* AI FDE School — "Midnight and ember" design system (ported from the Floot design reference) */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../assets/fonts/sora-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/inter-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/geist-mono-latin-wght.woff2") format("woff2"); }

:root {
  --bg: #f7f4ee; --fg: #0c0f1a; --surface: #efeae1; --card: #fffdf9; --muted: #565b6b; --border: #ddd5c8;
  --midnight: #0c0f1a; --midnight-2: #141a2c; --mid-fg: #f2eee6; --mid-muted: #9aa1b5; --mid-line: rgba(242, 238, 230, 0.12);
  --ember: #ff6b3d; --ember-deep: #c8481f; --amber: #ffb547; --on-ember: #1a0a03;
  --grad: linear-gradient(90deg, #ff6b3d 0%, #ffb547 100%);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(255, 107, 61, 0.22), rgba(255, 181, 71, 0.06) 55%, transparent 75%);
  --ok: #1f8a5b; --err: #c7372f;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 8px; --r-md: 12px; --r-lg: 20px;
  --sh-md: 0 6px 18px -6px rgba(12, 15, 26, 0.12), 0 2px 4px rgba(12, 15, 26, 0.05);
  --sh-lg: 0 24px 48px -16px rgba(12, 15, 26, 0.22), 0 4px 10px rgba(12, 15, 26, 0.06);
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(255, 107, 61, 0.55); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ember); color: var(--on-ember); padding: .5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--midnight); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.hdr.scrolled { background: rgba(12, 15, 26, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--mid-line); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--mid-fg); text-decoration: none; line-height: 1; }
.brand svg { flex: none; }
.wm { display: inline-flex; align-items: baseline; gap: .28em; white-space: nowrap; font-size: 19px; }
.wm b { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }
.wm i { font-family: var(--display); font-style: normal; font-weight: 400; letter-spacing: -.02em; }
.brand-txt { display: grid; gap: 4px; }
.brand-tag { font-family: var(--display); font-weight: 500; font-size: 11.5px; letter-spacing: .01em; color: var(--mid-muted); white-space: nowrap; }
.brand-tag span { color: var(--ember); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--mid-muted); text-decoration: none; font-size: .9375rem; padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--mid-fg); }
.nav a[aria-current="page"] { color: var(--mid-fg); border-bottom-color: var(--ember); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; background: transparent; border: 1px solid var(--mid-line); color: var(--mid-fg); border-radius: 999px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.mnav { display: none; background: var(--midnight); border-top: 1px solid var(--mid-line); padding: 8px 24px 24px; }
.mnav.open { display: block; }
.mnav a { display: block; color: var(--mid-fg); text-decoration: none; font-family: var(--display); font-size: 1.75rem; padding: .45rem 0; border-bottom: 1px solid var(--mid-line); }
.mnav .btn { display: flex; margin-top: 20px; font-family: var(--sans); font-size: 1rem; border: 0; color: var(--on-ember); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 999px; padding: .8rem 1.4rem; font: 600 .9375rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: var(--on-ember); }
.btn-primary:hover { box-shadow: 0 8px 20px -8px rgba(255, 107, 61, .7); }
.btn-ghost { color: var(--amber); border-color: rgba(255, 181, 71, .5); font-weight: 500; background: transparent; }
.btn-ghost:hover { background: rgba(255, 181, 71, .08); }
.btn-outline { color: var(--fg); border-color: var(--border); background: transparent; font-weight: 500; }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.center .btns { justify-content: center; }
.arrow::after { content: "→"; font-family: var(--sans); }

/* type */
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin: 0 0 12px; }
.dark .eyebrow, .hero .eyebrow { color: var(--amber); }
.h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -.03em; max-width: 19ch; }
.h1.sm { font-size: clamp(2rem, 3.4vw, 3rem); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 24px; max-width: 26ch; }
.h1 em, .h2 em, .g { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--mid-muted); max-width: 56ch; margin-top: 24px; }
.sub { font-size: 1.125rem; line-height: 1.6; color: var(--muted); max-width: 62ch; margin: 0 0 32px; }
.dark .sub { color: var(--mid-muted); }
.fine { font-size: .8125rem; color: var(--muted); line-height: 1.55; max-width: 85ch; margin-top: 16px; }
.dark .fine { color: var(--mid-muted); }
.mono { font-family: var(--mono); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--midnight); color: var(--mid-fg); }
.glow { position: absolute; top: -30%; right: -14%; width: 74%; height: 160%; background: var(--glow); pointer-events: none; }
.hero-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 64px; }
.hero-in.img { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero.home .hero-in { padding-top: 64px; padding-bottom: 48px; }
.hero.compact .hero-in { padding-bottom: 48px; }
.crumbs { font-family: var(--mono); font-size: .75rem; color: var(--mid-muted); margin-bottom: 24px; display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a { color: var(--mid-muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.hero figure { position: relative; margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--mid-line); box-shadow: var(--sh-lg); }
.hero.home figure img { aspect-ratio: 16 / 10; }
.tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: .5rem; background: rgba(12, 15, 26, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--mid-line); border-radius: 999px; padding: .45rem .85rem; font-family: var(--mono); font-size: .75rem; color: var(--mid-fg); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 61, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 107, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 61, 0); } }
.node { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--amber); background: var(--midnight); }
.node::after { content: ""; position: absolute; width: 64px; height: 1px; top: 50%; left: 14px; background: linear-gradient(90deg, var(--amber), transparent); }
.node.a { top: -7px; left: 12%; }
.node.b { bottom: 22%; left: -7px; }
.node.b::after { left: auto; right: 14px; width: 48px; background: linear-gradient(270deg, var(--ember), transparent); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--mid-line); }
.hero .facts { margin-top: 48px; }
.strip { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px 32px; border-top: 1px solid var(--mid-line); }
.strip dd { white-space: nowrap; }  /* size columns to content so no line wraps (e.g. 'from Dec 12') */
@media (max-width: 1100px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; } .strip dd { white-space: normal; } }
.facts dt, .strip dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mid-muted); margin-bottom: .35rem; }
.facts dd, .strip dd { margin: 0; font-weight: 500; }

/* sections */
.sec { position: relative; padding: 80px 0; overflow: hidden; }
.tint { background: var(--surface); }
.dark { background: var(--midnight); color: var(--mid-fg); }
.center { text-align: center; }
.center .h2, .center .sub { margin-left: auto; margin-right: auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .pulse { animation: none; } }

/* cards and lists */
.cards { display: grid; gap: 16px; }
.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card.hi { border-color: rgba(255, 107, 61, .55); }
.dark .card { background: rgba(255, 255, 255, .03); border-color: var(--mid-line); }
.dark .card.hi { border-color: rgba(255, 181, 71, .6); background: rgba(255, 107, 61, .08); }
.card .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--midnight); color: var(--amber); margin-bottom: 8px; }
.dark .card .ic { background: rgba(255, 181, 71, .12); }
.card .ey { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-deep); }
.dark .card .ey { color: var(--amber); }
.card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.card .bd { color: var(--muted); line-height: 1.6; font-size: .9375rem; }
.dark .card .bd { color: var(--mid-muted); }
.card .bd a { color: var(--ember-deep); }
.dark .card .bd a { color: var(--amber); }
.more { display: inline-flex; align-items: center; gap: .4rem; color: var(--ember-deep); font-weight: 600; text-decoration: none; margin-top: 12px; }
.more:hover { gap: .6rem; }
.dark .more { color: var(--amber); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 1.4rem; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ember); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0 0 24px; }
.stats.stack { grid-template-columns: 1fr; }
.stats > div { border-top: 2px solid var(--ember); padding-top: 16px; }
.stats strong { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.stats p { color: var(--muted); line-height: 1.55; margin-top: 12px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split.top { align-items: start; }
.frame { margin: 0; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--sh-md); }
.detail { margin: 0; border-top: 1px solid var(--border); }
.detail > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.detail dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); padding-top: .2rem; }
.detail dd { margin: 0; line-height: 1.6; }
.lead { font-size: 1.25rem; line-height: 1.6; }

/* chart */
.chart { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.chart figcaption { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 24px; }
.chart figcaption strong { font-weight: 600; }
.chart figcaption span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 24px; height: 220px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; gap: 8px; }
.bars .v { font-family: var(--mono); font-size: .875rem; font-weight: 500; }
.bars .t { flex: 1; width: 100%; max-width: 88px; display: flex; align-items: flex-end; }
.bars .b { width: 100%; border-radius: 6px 6px 0 0; background: #4a4f60; }
.bars > div:last-child .b { background: linear-gradient(180deg, var(--amber), var(--ember)); }
.bars .l { font-family: var(--mono); font-size: .75rem; color: var(--muted); text-align: center; }
.chart .src { font-size: .75rem; color: var(--muted); line-height: 1.5; margin-top: 16px; }
.linechart svg { width: 100%; height: auto; display: block; overflow: visible; }
.linechart text { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.linechart .gl { stroke: var(--border); stroke-width: 1; }
.linechart .ann { font-family: var(--sans); font-size: 14px; font-weight: 600; fill: var(--ember-deep); }

/* home: courses */
.courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.course { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.course:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.course.hi { border-color: rgba(255, 107, 61, .55); }
.course .im { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--midnight); }
.course .im img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 16px; right: 16px; background: var(--ember); color: var(--on-ember); font-family: var(--mono); font-size: .75rem; padding: .35rem .7rem; border-radius: 999px; }
.course .bd { padding: 32px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course .bd > p { color: var(--muted); }
.course .no { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); }
.course .ticks { margin: 12px 0; }
.course .meta { font-family: var(--mono); font-size: .8125rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }

/* arc */
.arc { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.arc::before { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 1px; background: linear-gradient(90deg, var(--ember), var(--amber) 60%, var(--mid-line)); }
.arc li { position: relative; padding-top: 32px; }
.arc .dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--amber); background: var(--midnight); }
.arc .n { font-family: var(--mono); font-size: .75rem; color: var(--amber); }
.arc h3 { font-family: var(--display); font-weight: 600; font-size: 1.75rem; margin: 8px 0; }
.arc p { color: var(--mid-muted); }

/* numbered dark list */
.nlist { list-style: none; margin: 0; padding: 24px; background: var(--midnight); color: var(--mid-fg); border-radius: var(--r-lg); }
.nlist li { display: flex; gap: 16px; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--mid-line); }
.nlist li:last-child { border-bottom: 0; }
.nlist span { font-family: var(--mono); font-size: .75rem; color: var(--amber); flex: none; }
.nstats { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 24px; }
.nstats strong { display: block; font-family: var(--display); font-weight: 600; font-size: 2.75rem; line-height: 1; color: var(--ember-deep); }
.nstats span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.points { display: grid; gap: 24px; margin-top: 24px; }
.points > div { display: flex; gap: 16px; }
.points .ic { flex: none; color: var(--ember); margin-top: .2rem; }
.points h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: .25rem; }
.points p { color: var(--muted); }

/* prizes and countdown */
.prizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 32px; }
.prizes > div { border: 1px solid var(--mid-line); border-radius: var(--r-md); padding: 24px; background: rgba(255, 255, 255, .02); }
.prizes > div:first-child { border-color: rgba(255, 181, 71, .6); background: rgba(255, 107, 61, .08); }
.prizes span { display: block; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.prizes strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; margin-top: 8px; }
.prizes.light > div { background: var(--card); border-color: var(--border); padding: 32px; }
.prizes.light > div:first-child { background: var(--midnight); color: var(--mid-fg); border-color: rgba(255, 181, 71, .6); }
.prizes.light span { color: var(--ember-deep); }
.prizes.light > div:first-child span { color: var(--amber); }
.countdown { display: flex; gap: 12px; }
.countdown > div { min-width: 76px; text-align: center; border: 1px solid var(--mid-line); border-radius: var(--r); padding: 12px; }
.countdown strong { display: block; font-family: var(--mono); font-size: 1.75rem; font-weight: 500; }
.countdown span { font-family: var(--mono); font-size: .6875rem; color: var(--mid-muted); text-transform: uppercase; letter-spacing: .1em; }

/* accordion (details/summary) */
.acc { border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.acc details[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.acc .ans { padding: 0 0 20px; color: var(--muted); line-height: 1.65; max-width: 75ch; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }

/* curriculum modules */
.mods summary { display: grid; grid-template-columns: 120px 1fr auto 14px; gap: 16px; align-items: center; padding: 24px 0; font-weight: 400; }
.mods summary::after { margin-top: 0; }
.mods .mn { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-deep); }
.mods .mt { font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.15; }
.mods .md { font-family: var(--mono); font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.sessions { list-style: none; margin: 0 0 24px; padding: 0 0 0 136px; display: grid; gap: 12px; }
.session { display: grid; grid-template-columns: 110px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 24px; }
.session .sn { display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1; color: var(--ember-deep); }
.session .sd { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.session h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: .35rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.session p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.session .labs { margin-top: .4rem; color: var(--fg); }
.session .labs b { font-family: var(--mono); font-weight: 500; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); margin-right: .4rem; }
.ms { font-family: var(--mono); font-size: .6875rem; font-weight: 500; background: var(--ember); color: var(--on-ember); border-radius: 999px; padding: .2rem .55rem; white-space: nowrap; }
.week-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 0 24px 136px; }
.proj { background: var(--midnight); color: var(--mid-fg); border-radius: var(--r-md); padding: 16px 24px; align-self: start; }
.proj b { font-family: var(--mono); font-weight: 500; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.proj p { margin-top: 8px; }
.cur-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.cur-head .h2 { margin-bottom: 0; }
.seg { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: .5rem 1rem; border-radius: 999px; font: 500 .875rem var(--sans); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgba(12, 15, 26, .12); }
.seg-label { display: block; font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-bottom: 8px; }
.hackrow { display: flex; gap: 16px; align-items: center; margin-top: 24px; background: var(--midnight); color: var(--mid-fg); border-radius: var(--r-md); padding: 24px; }
.hackrow strong { display: block; }
.hackrow span { color: var(--mid-muted); font-size: .9375rem; }
.hackrow svg { color: var(--amber); flex: none; }

/* cohorts */
.cohort { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.cohort .ey { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-deep); }
.cohort h3 { font-family: var(--display); font-weight: 600; font-size: 2.2rem; margin: 8px 0; line-height: 1.05; }
.cohort .time { font-family: var(--mono); font-size: 1.125rem; }
.cohort dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cohort dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cohort dd { margin: .3rem 0 0; font-weight: 500; font-size: .9375rem; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zones span { font-family: var(--mono); font-size: .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .65rem; color: var(--muted); }
.cohort .note { font-size: .875rem; color: var(--muted); }

/* price */
.price-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.price-card { background: var(--card); border: 1px solid rgba(255, 107, 61, .55); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; }
.price { font-family: var(--display); font-size: clamp(3.5rem, 7vw, 5rem); line-height: 1; }
.price-card .ticks { margin: 24px 0 32px; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.hack-card { position: relative; overflow: hidden; background: var(--midnight); color: var(--mid-fg); border-radius: var(--r-lg); padding: 32px; }
.hack-card > * { position: relative; }
.hack-card .glow { position: absolute; }
.hack-card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.08; margin-bottom: 16px; }
.hack-card > p { color: var(--mid-muted); }

/* info sessions */
.track { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; }
.track .ey { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-deep); }
.track h3 { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.1; margin: 8px 0 12px; }
.track > p { color: var(--muted); margin-bottom: 24px; }
.agenda { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--border); }
.agenda li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.agenda .m { font-family: var(--mono); font-size: .75rem; color: var(--ember-deep); padding-top: .2rem; }
.agenda p { color: var(--muted); font-size: .9375rem; margin-top: .2rem; line-height: 1.5; }
.dates-h { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: auto 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: .6rem .9rem; cursor: pointer; color: var(--fg); font: inherit; text-align: left; }
.chip span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.chip strong { font-weight: 600; font-size: .9375rem; }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--ember); }
.chip[aria-pressed="true"] { background: #fff1ea; }
.nodates { padding: 16px; border: 1px dashed var(--border); border-radius: var(--r-md); color: var(--muted); font-size: .9375rem; }

/* forms */
.reg-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 48px; align-items: start; }
.reg-intro { position: sticky; top: 96px; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-md); }
.form { display: grid; gap: 24px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.form legend { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.0625rem; margin-bottom: 16px; padding: 0; }
.form legend span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--midnight); color: var(--amber); font-family: var(--mono); font-size: .75rem; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .lbl { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: .7rem .8rem; min-height: 44px; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 107, 61, .2); }
.help { color: var(--muted); font-size: .9375rem; margin-top: -8px; }
.pick-g { display: grid; gap: 8px; }
.pick-t { font-weight: 600; font-size: .9375rem; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: var(--r); padding: .65rem .8rem; cursor: pointer; font-family: var(--mono); font-size: .8125rem; background: var(--bg); }
.pick:has(input:checked) { border-color: var(--ember); background: #fff1ea; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check a { color: var(--ember-deep); }
input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--ember); }
.pick input[type="checkbox"], .pick input[type="radio"] { margin-top: 0; }
.pick input[type="radio"] { width: 18px; height: 18px; flex: none; accent-color: var(--ember); }
.pick-none { font-family: var(--sans); font-size: .875rem; color: var(--muted); }
.cpicks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cpick { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--border); border-radius: var(--r); padding: 1rem 1.1rem; cursor: pointer; background: var(--bg); transition: border-color .15s, background .15s; }
.cpick:hover { border-color: var(--ember); }
.cpick:has(input:checked) { border-color: var(--ember); background: #fff1ea; box-shadow: 0 0 0 1px var(--ember) inset; }
.cpick input { margin-top: .2rem; accent-color: var(--ember); }
.cpick strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.cpick small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.45; margin-top: 2px; }
.help a { color: var(--ember-deep); }
.more-dates { background: none; border: 0; padding: 0; font: inherit; color: var(--ember-deep); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.li-row { display: flex; gap: 8px; }
.li-row input { flex: 1; min-width: 0; }
.li-paste { flex: none; border: 1px solid var(--border); background: var(--bg); border-radius: var(--r); padding: 0 .9rem; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.li-paste:hover { border-color: var(--ember); }
.li-status { font-size: .8125rem; min-height: 0; margin: 0; }
.li-status:empty { display: none; }
.li-status.ok { color: #1f7a4d; }
.li-status.bad { color: #b42318; }
.li-find { justify-self: start; font-size: .8125rem; font-weight: 600; color: var(--ember-deep); }
.li-how { font-size: .8125rem; color: var(--muted); }
.li-how summary { cursor: pointer; }
.li-how ol { margin: 8px 0 6px; padding-left: 1.2rem; display: grid; gap: 4px; }
.li-how p { margin: 4px 0 0; }
.li-how code { font-family: var(--mono); font-size: .75rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: .9375rem; }
.msg.err { background: #fbecea; border: 1px solid #efc0bb; color: var(--err); border-radius: var(--r); padding: 12px 16px; }
.done { display: grid; gap: 16px; justify-items: start; }
.done .okic { color: var(--ok); }
.done h3 { font-family: var(--display); font-weight: 600; font-size: 2.2rem; }
.done p { color: var(--muted); }
.done ul { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; gap: 8px; }
.done li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--r); padding: 12px 16px; font-family: var(--mono); font-size: .8125rem; }
[hidden] { display: none !important; }

/* legal */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; align-items: start; }
.doc { max-width: 70ch; font-size: 1.0625rem; line-height: 1.7; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1.2; margin: 48px 0 12px; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 1.25rem; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--ember-deep); }
.draft { background: #fff3dc; border: 1px solid #f1cf8e; border-radius: var(--r); padding: 12px 16px; font-size: .9375rem; margin-bottom: 24px; }
mark.todo { background: #ffe2a8; color: inherit; padding: 0 .25em; border-radius: 3px; }
.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--border); padding-left: 24px; }
.aside span { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 8px; }
.aside a { text-decoration: none; }
.aside a:hover, .aside a[aria-current="page"] { color: var(--ember-deep); }

/* curriculum page blocks */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 24px; }
.tabs button { border: 0; background: transparent; padding: .6rem 1.2rem; border-radius: 999px; font: 500 .9375rem var(--sans); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--midnight); color: var(--mid-fg); }
.tabs button small { font-family: var(--mono); font-size: .6875rem; opacity: .7; margin-left: .35rem; }
#courses { overflow: clip; }  /* hidden would stop the course tabs from sticking */
.cur-tabs { position: sticky; top: 82px; z-index: 5; box-shadow: var(--sh-md); scroll-margin-top: 96px; }
[role=tabpanel] { scroll-margin-top: 140px; }
.cp-intro { max-width: 78ch; }
.cp-intro .lead { margin: 0 0 8px; }
.cp-meta { font-family: var(--mono); font-size: .8125rem; color: var(--muted); margin: 0; }
.cp-meta a { color: var(--ember-deep); }
.cp-block { margin-top: 56px; }
.cp-block > .h3 { margin: 0 0 24px; }
.arc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: arc; }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.step::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.step-n { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); }
.step h4 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; margin: 0; }
.step p { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin: 0; }
.step-ms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.arc-hack { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 24px; align-items: center; margin-top: 16px; background: var(--midnight); color: var(--mid-fg); border-radius: var(--r-md); padding: 24px 28px; }
.arc-hack .step-n { color: var(--amber); }
.arc-hack h4 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 4px 0; }
.arc-hack p { color: var(--mid-muted); margin: 0; font-size: .9375rem; }
.arc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 181, 71, .12); color: var(--amber); }
.arc-pz { display: flex; gap: 8px; }
.arc-pz > div { border: 1px solid var(--mid-line); border-radius: var(--r); padding: 10px 14px; text-align: center; min-width: 84px; }
.arc-pz > div:first-child { border-color: rgba(255, 181, 71, .6); background: rgba(255, 107, 61, .08); }
.arc-pz span { display: block; font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.arc-pz strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.pre-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; }
.pre { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; }
.pre .h3 { font-size: 1.35rem; margin: 0 0 18px; }
.tool-list { margin: 0; display: grid; gap: 14px; }
.tool-list div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.tool-list div:first-child { padding-top: 0; border-top: 0; }
.tool-list dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); padding-top: .2rem; }
.tool-list dd { margin: 0; font-size: .9375rem; }
.csteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.csteps li { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.csteps li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 38px; width: 10px; height: 10px; border-top: 2px solid var(--ember); border-right: 2px solid var(--ember); transform: rotate(45deg); z-index: 1; }
.cs-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--midnight); color: var(--amber); font-family: var(--display); font-weight: 600; margin-bottom: 14px; }
.csteps h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 6px; }
.csteps p { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin: 0; }
.cs-note { margin: 20px 0 0; font-size: .9375rem; color: var(--muted); }
.vs3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.vs3-col { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px; }
.vs3-col h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0 0 16px; }
.vs3-col .ticks { gap: 10px; font-size: .9375rem; }
.vs3-col.mid { background: var(--midnight); color: var(--mid-fg); border-color: var(--midnight); }
.vs3-col.mid .ticks li::before { border-color: var(--amber); }
@media (max-width: 1080px) { .arc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .csteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .csteps li:nth-child(2)::after { display: none; } }
@media (max-width: 960px) { .pre-grid, .vs3 { grid-template-columns: 1fr; } .arc-hack { grid-template-columns: auto minmax(0, 1fr); } .arc-pz { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .arc, .csteps { grid-template-columns: 1fr; } .csteps li::after { display: none; }
  .cur-tabs { top: 70px; display: flex; } .cur-tabs button { flex: 1; padding: .6rem .5rem; }
  .arc-hack { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; } .arc-pz > div { flex: 1; min-width: 0; padding: 10px 6px; } .arc-pz strong { font-size: 1.1rem; }
  .tool-list div { grid-template-columns: 1fr; gap: 4px; } .pre, .vs3-col { padding: 22px 20px; } .cp-block { margin-top: 44px; }
}

/* timeline */
.tl { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--border); display: grid; gap: 24px; max-width: 760px; }
.tl li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.tl li::before { content: ""; position: absolute; left: -31px; top: .35rem; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--ember); background: var(--bg); }
.tl time { font-family: var(--mono); font-size: .875rem; color: var(--ember-deep); }

/* course finder */
.finder { max-width: 820px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-md); }
.fprog { height: 6px; background: var(--surface); border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.fprog i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s ease; }
.fsteps { margin: 0; }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.fcount { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-deep); padding: 0; margin-bottom: 10px; }
.fq { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 8px; }
.fhelp { color: var(--muted); margin-bottom: 8px; }
.fopts { display: grid; gap: 10px; margin-top: 18px; }
.fopt { text-align: left; font: 500 1rem/1.4 var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.fopt:hover { border-color: var(--ember); transform: translateY(-1px); }
.fopt[aria-pressed="true"] { border-color: var(--ember); background: #fff1ea; }
.fnav { margin-top: 18px; min-height: 24px; }
.fback, .fretake { background: none; border: 0; padding: 0; font: 500 .9375rem var(--sans); color: var(--muted); cursor: pointer; }
.fback:hover, .fretake:hover { color: var(--ember-deep); }
.fresult { display: grid; gap: 14px; }
.fresult:focus { outline: none; }
.fbadge { justify-self: start; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; background: var(--midnight); color: var(--amber); padding: .35rem .7rem; border-radius: 999px; }
.ftitle { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -.03em; }
.fsub { color: var(--muted); font-size: 1.0625rem; }
.fbars { display: grid; gap: 10px; margin: 6px 0; }
.fbars > div { display: grid; grid-template-columns: 130px 1fr 48px; gap: 12px; align-items: center; font-size: .9375rem; }
.fbar { height: 10px; background: var(--surface); border-radius: 999px; overflow: hidden; }
.fbar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .6s ease; }
.fbars b { font-family: var(--mono); font-weight: 500; text-align: right; }
.fnote { background: #fff3dc; border: 1px solid #f1cf8e; border-radius: var(--r); padding: 12px 16px; font-size: .9375rem; }
.fctas { margin-top: 4px; }
.fretake { justify-self: start; }
.perks-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; padding: 14px 18px; border: 1px dashed var(--ember-deep); border-radius: var(--r-md); font-size: .9375rem; }
.perks-strip strong { font-family: var(--display); font-weight: 600; }
.perks-strip span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.perks-strip svg { color: var(--ember-deep); flex: none; }
.finder-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 24px; background: var(--midnight); color: var(--mid-fg); border-radius: var(--r-md); padding: 20px 24px; }
.finder-cta strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.finder-cta span { color: var(--mid-muted); font-size: .9375rem; }
.cmp-wrap { overflow-x: auto; }
.cmp.fmt thead th:first-child { width: 16%; }
.cmp.fmt thead th:not(:first-child) { width: 28%; }
.cmp.fmt td.us { color: var(--fg); font-weight: 600; background: color-mix(in srgb, var(--ember) 8%, transparent); }
.cmp { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; font-size: .9375rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.cmp thead th { background: var(--midnight); color: var(--mid-fg); font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.cmp { table-layout: fixed; }
.cmp thead th:first-child { width: 18%; }
.cmp thead th:not(:first-child) { width: 41%; }  /* the two courses get equal columns */
.cmp tbody th { font-weight: 600; }
.cmp td { color: var(--muted); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .finder { padding: 22px; }
  .fbars > div { grid-template-columns: 104px 1fr 44px; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp { border: 0; background: none; }
  .cmp tr { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
  .cmp tbody th { width: 100%; background: var(--surface); }
  .cmp td { border-bottom: 1px solid var(--border); }
  .cmp td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 4px; }
  .cmp tbody tr:last-child th, .cmp tbody tr td:last-child { border-bottom: 0; }
}

/* footer */
.ftr { background: var(--midnight); color: var(--mid-muted); }
.ftr-in { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 48px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.ftr-in > div > p { margin-top: 16px; max-width: 34ch; }
.ftr-tag { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; color: var(--mid-fg); }
.ftr-tag span { color: var(--ember); }
.ftr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr-base a { color: inherit; }
.ftr-base a:hover { color: var(--amber); }
.ftr-addr { font-style: normal; color: var(--mid-fg); opacity: .85; font-size: .9375rem; line-height: 1.6; padding: .3rem 0; }
.ftr h4 { margin-bottom: 12px; font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.ftr-cols a { display: block; color: var(--mid-fg); text-decoration: none; padding: .3rem 0; font-size: .9375rem; opacity: .85; }
.ftr-cols a:hover { opacity: 1; color: var(--amber); }
.ftr-base { max-width: var(--wrap); margin: 0 auto; padding: 24px; border-top: 1px solid var(--mid-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; font-family: var(--mono); }
.ftr-legal { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 32px; font-size: .75rem; line-height: 1.6; }

/* responsive */
@media (max-width: 1080px) { .c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .nav { display: none; }
  .hdr-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .hero-in.img, .split, .faq-grid, .reg-grid, .courses, .price-grid, .ftr-in { grid-template-columns: 1fr; gap: 32px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .arc::before { display: none; }
  .reg-intro { position: static; }
  .sessions, .week-body { padding-left: 0; }
  .week-body { grid-template-columns: 1fr; }
  .mods summary { grid-template-columns: 1fr auto 14px; }
  .mods .mn { grid-column: 1 / -1; }
  .legal .wrap { grid-template-columns: 1fr; }
  .aside { position: static; border-left: 0; border-top: 1px solid var(--border); padding: 24px 0 0; }
}
@media (max-width: 600px) {
  .sec { padding: 64px 0; }
  .c2, .c3, .c4, .row2, .row3, .picks, .cpicks, .prizes, .arc, .strip { grid-template-columns: 1fr; }
  .hdr-actions .btn { display: none; }
  .session { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .mods summary { grid-template-columns: 1fr 14px; }
  .mods .md { grid-column: 1; }
  .cohort, .track, .form-card, .price-card, .hack-card, .course .bd { padding: 24px; }
  .cohort dl { grid-template-columns: 1fr 1fr; }
  .detail > div { grid-template-columns: 1fr; gap: 4px; }
  .countdown > div { min-width: 0; flex: 1; }
  .tl li { grid-template-columns: 1fr; gap: 4px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
}
.row2 { align-items: start; }

/* home: format band, course cards, perk tiles, why-live-synchronous (2026-11-15) */
.fmt-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 32px; align-items: center; background: var(--grad); color: var(--on-ember); border-radius: var(--r-lg); padding: 28px 32px; margin-bottom: 28px; box-shadow: 0 18px 40px -20px rgba(255, 107, 61, .7); }
.fmt-k { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.fmt-h { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 6px; }
.fmt-s { margin-top: 10px; font-size: 1rem; line-height: 1.55; max-width: 56ch; }
.fmt-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fmt-chips li { display: flex; align-items: center; gap: 8px; background: var(--midnight); color: var(--mid-fg); border-radius: 999px; padding: .6rem 1rem; font-weight: 600; font-size: .9375rem; }
.fmt-chips svg { color: var(--amber); flex: none; }
.ccs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.ccs .cc { margin-bottom: 24px; }
@supports (grid-template-rows: subgrid) { .cc { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; } }  /* image, header and body line up across both cards */
.cc { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh-md); transition: transform .25s, box-shadow .25s; border-top: 6px solid var(--amber); }
.cc-fde { border-top-color: var(--ember); }
.cc:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cc-im { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--midnight); }
.cc-im img { width: 100%; height: 100%; object-fit: cover; }
.cc-live { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(12, 15, 26, .85); color: var(--mid-fg); font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; }
.cc-head { background: var(--midnight); color: var(--mid-fg); padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.cc-ey { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.cc-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.1; letter-spacing: -.02em; }
.cc-line { color: var(--mid-muted); font-size: 1.0625rem; line-height: 1.5; }
.cc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.cc-stats div { background: rgba(255, 255, 255, .05); border: 1px solid var(--mid-line); border-radius: var(--r-md); padding: 12px 14px; }
.cc-stats strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cc-stats span { display: block; margin-top: 6px; font-size: .8125rem; color: var(--mid-muted); line-height: 1.3; }
.cc-bd { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.cc-bd .ticks li { font-weight: 500; }
.cc-sched { display: grid; gap: 8px; }
.cc-sched div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; background: var(--surface); border-radius: var(--r); padding: 10px 14px; font-size: .9375rem; }
.cc-sched .k { font-weight: 700; }
.cc-sched .v { grid-column: 1 / -1; grid-row: 2; color: var(--muted); }
.cc-sched .d { font-family: var(--mono); font-size: .8125rem; color: var(--ember-deep); white-space: nowrap; }
.cc-hack { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ember-deep); }
.cc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cc-price strong { display: block; font-family: var(--display); font-weight: 700; font-size: 2.25rem; line-height: 1; letter-spacing: -.02em; }
.cc-price span { display: block; margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.cc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.perk-tiles { margin-top: 28px; }
.pt-k { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 12px; }
.pt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pt { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; font-size: .9375rem; line-height: 1.35; }
.pt-ic { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--on-ember); }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vs-col { border-radius: var(--r-lg); padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.vs-col h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; }
.vs-k { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.vs-no { background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.vs-no .vs-k { color: var(--muted); }
.vs-no .ticks li::before { border-color: var(--border); }
.vs-yes { background: var(--midnight); color: var(--mid-fg); box-shadow: var(--sh-lg); }
.vs-yes .vs-k { color: var(--amber); }
@media (max-width: 1080px) { .pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .fmt-band, .ccs, .vs { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .fmt-band { padding: 22px 20px; } .fmt-chips { grid-template-columns: 1fr 1fr; } .fmt-chips li { font-size: .8125rem; padding: .5rem .75rem; }
  .cc-head, .cc-bd, .vs-col { padding-left: 20px; padding-right: 20px; }
  .cc-stats strong { font-size: 1.4rem; } .cc-stats div { padding: 10px; }
  .pt-grid { grid-template-columns: 1fr; }
}
/* course finder in the hero: the first question is the first thing you see (2026-11-15) */
.finder-hero .hero-in { padding-bottom: 72px; }
.finder-wrap { margin-top: 32px; max-width: 860px; scroll-margin-top: 90px; }
.finder-hero .finder { color: var(--fg); border: 0; border-top: 6px solid var(--ember); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 181, 71, .25); }
.finder-alt { display: inline-flex; margin-top: 18px; color: var(--amber); font-weight: 500; text-decoration: none; }
.finder-alt:hover { text-decoration: underline; }
.ftap { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .875rem; font-weight: 600; color: var(--ember-deep); }
.ftap::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: pulse 2s infinite; }
.fopts { counter-reset: fopt; margin-top: 14px; }
.fopt { position: relative; display: flex; align-items: center; gap: 14px; background: var(--card); border: 2px solid var(--border); padding: 16px 48px 16px 16px; font-size: 1.0625rem; box-shadow: 0 1px 2px rgba(12, 15, 26, .05); }
.fopt::before { counter-increment: fopt; content: counter(fopt, upper-alpha); flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--fg); font: 600 .875rem/1 var(--mono); transition: background .15s, color .15s; }
.fopt::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--ember-deep); opacity: .35; transition: opacity .15s, right .15s; }
.fopt:hover, .fopt:focus-visible { border-color: var(--ember); background: #fff6f1; }
.fopt:hover::before, .fopt:focus-visible::before, .fopt[aria-pressed="true"]::before { background: var(--ember); color: var(--on-ember); }
.fopt:hover::after { opacity: 1; right: 14px; }
@media (prefers-reduced-motion: reduce) { .ftap::before { animation: none; } }
@media (max-width: 760px) { .finder-wrap { margin-top: 24px; } .fopt { font-size: 1rem; padding: 14px 40px 14px 14px; } }
/* course finder pop-up on the info-sessions form (2026-11-15) */
.fdlg { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--card); color: var(--fg); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); overflow: auto; }
.fdlg::backdrop { background: rgba(12, 15, 26, .65); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fdlg-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 14px 32px; background: var(--card); border-bottom: 1px solid var(--border); border-top: 6px solid var(--ember); }
.fdlg-head .eyebrow { margin: 0; }
.fdlg-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--fg); }
.fdlg-x:hover { border-color: var(--ember); color: var(--ember-deep); }
.fdlg .finder { max-width: none; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 600px) { .fdlg { width: 100%; max-height: 100%; height: 100%; border-radius: 0; } .fdlg-head { padding-left: 20px; } }
/* info sessions redesign (2026-11-15) */
.leave { margin-bottom: 32px; }
.leave-k { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 12px; }
.leave-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.leave-i { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; box-shadow: var(--sh-md); }
.leave-i strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.leave-i p { color: var(--muted); font-size: .9375rem; margin-top: 4px; line-height: 1.45; }
.leave-ic { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--on-ember); }
.tracks { gap: 0 24px; }
.tracks .track { margin-bottom: 24px; }
@supports (grid-template-rows: subgrid) { .tracks .track { display: grid; grid-row: span 2; grid-template-rows: subgrid; } }  /* both dark heads the same height */
.track { padding: 0; overflow: hidden; box-shadow: var(--sh-md); border-top: 6px solid var(--ember); }
.track.trk-ai { border-top-color: var(--amber); }
.track-head { background: var(--midnight); color: var(--mid-fg); padding: 28px 32px 24px; }
.track-head .ey { color: var(--amber); }
.track.trk-fde .track-head .ey { color: var(--ember); }
.track-head h3 { color: var(--mid-fg); }
.track-head > p { color: var(--mid-muted); margin: 0 0 18px; }
.abar-l { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mid-muted); margin-bottom: 8px; }
.abar { display: flex; gap: 3px; height: 30px; border-radius: 8px; overflow: hidden; }
.abar span { display: grid; place-items: center; font: 600 .75rem/1 var(--mono); color: var(--on-ember); min-width: 0; }
.abar .s0, .agenda .d0 { background: #ffd5c4; } .abar .s1, .agenda .d1 { background: #ffb08f; } .abar .s2, .agenda .d2 { background: var(--amber); }
.abar .s3, .agenda .d3 { background: var(--ember); } .abar .s4, .agenda .d4 { background: #e8582c; } .abar .s5, .agenda .d5 { background: #9aa1b5; }
.abar .s3, .abar .s4 { color: #fff; }
.track-bd { padding: 8px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.agenda .m { display: flex; align-items: center; gap: 6px; }
.agenda .m i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.fband { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 32px; align-items: center; margin-top: 32px; padding: 30px 34px; border-radius: var(--r-lg); background: var(--grad); color: var(--on-ember); box-shadow: 0 18px 40px -20px rgba(255, 107, 61, .7); scroll-margin-top: 90px; }
.fband-h { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 6px; }
.fband-s { margin-top: 10px; font-size: 1rem; line-height: 1.55; max-width: 56ch; }
.fband-r { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.btn-dark { background: var(--midnight); color: var(--mid-fg); }
.btn-dark:hover { box-shadow: 0 10px 24px -10px rgba(12, 15, 26, .7); }
.fband-c { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fband-c li { background: rgba(12, 15, 26, .12); border: 1px solid rgba(12, 15, 26, .25); border-radius: 999px; padding: .35rem .8rem; font-weight: 600; font-size: .875rem; }
.pc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pc { background: rgba(255, 255, 255, .04); border: 1px solid var(--mid-line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pc strong { font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--mid-fg); }
.pc p { color: var(--mid-muted); font-size: .9375rem; line-height: 1.5; }
.efacts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.efacts div { background: var(--grad); color: var(--on-ember); border-radius: var(--r-md); padding: 14px 16px; }
.efacts dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.efacts dd { margin: 4px 0 0; font-weight: 700; line-height: 1.35; }
@media (max-width: 1080px) { .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .efacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .leave-g, .fband, .cards.c2.tracks { grid-template-columns: 1fr; } }  /* iPad portrait: one session card per row */
@media (max-width: 600px) { .pc-grid, .efacts { grid-template-columns: 1fr; } .track-head { padding: 22px 20px 20px; } .track-bd { padding: 6px 20px 24px; } .fband { padding: 24px 20px; } .abar span { font-size: .6875rem; } }
/* touch screens (phones, iPads): every tap target at least ~44px tall (2026-11-15 audit) */
@media (pointer: coarse) {
  .nav a { padding: .75rem 0; }
  .btn-sm, .mnav .btn, .menu-btn { min-height: 44px; }
  .seg button { min-height: 44px; }
  .crumbs a { display: inline-block; padding: .65rem 0; margin: -.65rem 0; }  /* bigger tap area, same line position */
  .li-how summary { padding: .7rem 0; }
  .pick, .cpick { min-height: 48px; }
}

/* calmer "every seat" panel on the info-sessions page (replaces the gradient tiles) */
.seat { border: 1px solid var(--mid-line); border-radius: var(--r-lg); background: rgba(255, 255, 255, .025); }
.sp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp { padding: 28px 26px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--mid-line); }
.sp:first-child { border-left: 0; }
.sp-ic { color: var(--amber); margin-bottom: 4px; }
.sp strong { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--mid-fg); }
.sp p { color: var(--mid-muted); font-size: .9375rem; line-height: 1.5; }
.sfacts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--mid-line); }
.sfacts div { padding: 18px 26px; border-left: 1px solid var(--mid-line); }
.sfacts div:first-child { border-left: 0; }
.sfacts dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.sfacts dd { margin: 6px 0 0; color: var(--mid-fg); font-weight: 500; font-size: .9375rem; line-height: 1.4; }
.sfine { margin-top: 14px; font-size: .8125rem; color: var(--mid-muted); }
@media (max-width: 1080px) {
  .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp:nth-child(3) { border-left: 0; } .sp:nth-child(n+3) { border-top: 1px solid var(--mid-line); }
  .sfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfacts div { border-left: 0; border-top: 1px solid var(--mid-line); } .sfacts div:nth-child(even) { border-left: 1px solid var(--mid-line); }
  .sfacts div:first-child { border-top: 0; } .sfacts div:nth-child(2) { border-top: 0; }
  .sfacts div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sp-grid, .sfacts { grid-template-columns: 1fr; }
  .sp { border-left: 0; border-top: 1px solid var(--mid-line); padding: 22px 20px; } .sp:first-child { border-top: 0; }
  .sfacts div, .sfacts div:nth-child(even) { border-left: 0; border-top: 1px solid var(--mid-line); padding: 14px 20px; } .sfacts div:nth-child(2) { border-top: 1px solid var(--mid-line); }
}
/* brand-kit logo image (owner, 2026-11-15) */
.brand picture { display: block; line-height: 0; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-ftr { height: 52px; }
@media (max-width: 600px) { .logo-img { height: 38px; } .logo-ftr { height: 46px; } }

/* "Ask Cathy" chat (js/cathy.js; shown only when the chat is switched on) */
.cathy-btn { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px; padding: .8rem 1.2rem; min-height: 48px; font: 600 .9375rem/1.2 var(--sans); background: var(--midnight); color: var(--mid-fg); border: 1.5px solid var(--ember); box-shadow: var(--sh-lg), 0 0 0 4px rgba(255, 107, 61, .18); cursor: pointer; }
.cathy-btn::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px rgba(255, 107, 61, .25); }
.cathy-btn:hover { background: var(--midnight-2); }
.cathy-btn:focus-visible, .cathy-panel button:focus-visible, .cathy-panel a:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.cathy-panel { position: fixed; right: 20px; bottom: 84px; z-index: 60; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--card); color: var(--fg); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.cathy-panel[hidden] { display: none; }
.cathy-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; background: var(--midnight); color: var(--mid-fg); border-top: 4px solid var(--ember); }
.cathy-title b { display: block; font-family: var(--display); font-size: 1.05rem; }
.cathy-title span { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mid-muted); }
.cathy-x { border: 0; background: none; color: var(--mid-fg); font-size: 1.6rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.cathy-x:hover { background: rgba(242, 238, 230, .1); }
.cathy-log { flex: 1 1 0; min-height: 72px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cathy-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.cathy-msg p { margin: 0; white-space: pre-wrap; }
.cathy-msg p + p { margin-top: 8px; }
.cathy-them { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; }
.cathy-me { align-self: flex-end; background: var(--midnight); color: var(--mid-fg); border-bottom-right-radius: 4px; }
.cathy-msg a { color: var(--ember-deep); }
.cathy-wait p { color: var(--muted); }
.cathy-small { font-size: .8125rem; color: var(--muted); }
.cathy-thumbs { display: flex; gap: 4px; margin-top: 6px; }
.cathy-thumb { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: 2px 9px; font-size: .875rem; cursor: pointer; opacity: .7; }
.cathy-thumb[aria-pressed="true"] { opacity: 1; border-color: var(--ember); background: #fff1ea; }
.cathy-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--card); }
.cathy-form[hidden], .cathy-gate[hidden], .cathy-panel .cathy-gate [hidden] { display: none; }
.cathy-form textarea { flex: 1; resize: none; font: inherit; font-size: 1rem; color: var(--fg); border: 1px solid var(--border); border-radius: var(--r); padding: .55rem .7rem; min-height: 44px; max-height: 120px; }
.cathy-form textarea:focus, .cathy-gate input:focus, .cathy-gate select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 107, 61, .2); }
.cathy-gate { flex: 0 1 auto; min-height: 0; padding: 12px 16px; border-top: 1px solid var(--border); display: grid; gap: 8px; overflow-y: auto; }
.cathy-gate p { margin: 0; }
.cathy-gate .cathy-step1, .cathy-gate .cathy-step2 { display: grid; gap: 8px; }
.cathy-gate label { display: grid; gap: 4px; font-size: .8125rem; font-weight: 500; }
.cathy-gate input:not([type="checkbox"]), .cathy-gate select { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: .5rem .65rem; min-height: 44px; }
.cathy-gate .cathy-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); line-height: 1.45; }
.cathy-gate .cathy-check a { color: var(--ember-deep); }
.cathy-gate .cathy-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cathy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cathy-link { border: 0; background: none; padding: 0; color: var(--ember-deep); text-decoration: underline; font: inherit; font-size: .875rem; cursor: pointer; }
.cathy-err { color: var(--err); font-size: .875rem; }
.cathy-err:empty { display: none; }
.cathy-person { margin: 0; padding: 8px 16px 12px; font-size: .8125rem; color: var(--muted); background: var(--card); }
.cathy-person a { color: var(--ember-deep); }
@media (max-width: 600px) {
  .cathy-btn { right: 12px; bottom: 12px; }
  .cathy-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; max-height: 100%; border-radius: 0; border: 0; }
  .cathy-btn.cathy-open { display: none; }
}
@media print { .cathy-btn, .cathy-panel { display: none; } }
