/* ============================================================
   GR Classes — experience layer
   Depth under the words, motion over them, cards that fold.
   Everything here degrades to the static design without JS
   and is stilled by prefers-reduced-motion.
   ============================================================ */

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.7,.2,1) both; }

/* ---------- stacking ---------- */
body { position: relative; }
main, .site-footer { position: relative; }
.site-header { position: sticky; }
.site-header { z-index: 50; }

/* ---------- the field: drafting geometry under every page ---------- */
.drafting { position: fixed; inset: -20vh 0; z-index: 0; pointer-events: none; overflow: hidden; }
.drafting svg { position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; transform: translate(-50%, -50%) translateY(var(--py, 0)) rotate(var(--rot, 0deg)); will-change: transform; }
.drafting .fa { color: var(--ink); opacity: .055; }
.drafting .fb { color: var(--brass); opacity: .14; width: 110vmax; height: 110vmax; }
.drafting .grid-lines { opacity: .5; }
.section { position: relative; }
.section.paper { background: rgba(251, 249, 243, .72); backdrop-filter: blur(0px); }
.hero, .navy, .site-footer { background-color: var(--ink); }

/* ---------- scroll progress ---------- */
.progress-line { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--brass); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); z-index: 60; pointer-events: none; }

/* ---------- header behaviour ---------- */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header .bar { transition: min-height .3s var(--ease); }
body.scrolled .site-header .bar { min-height: 60px; }
body.scrolled .site-header { box-shadow: 0 10px 30px -18px rgba(16,24,39,.35); }

/* ---------- glyphs: mathematics floating over the words ---------- */
.glyphs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.glyph { position: absolute; font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 1; color: var(--brass); opacity: .16; mix-blend-mode: multiply; transform: translateY(var(--py, 0)); will-change: transform; user-select: none; animation: drift 14s ease-in-out infinite alternate; }
.navy .glyph, .hero .glyph { color: var(--ivory); opacity: .07; mix-blend-mode: normal; }
.glyph.outline { color: transparent; -webkit-text-stroke: 1px var(--brass); opacity: .5; }
.navy .glyph.outline, .hero .glyph.outline { -webkit-text-stroke: 1px rgba(176,141,87,.6); opacity: .8; }
@keyframes drift { from { margin-top: 0; } to { margin-top: 18px; } }
.glyphs .glyph:nth-child(2n) { animation-duration: 19s; animation-delay: -6s; }
.glyphs .glyph:nth-child(3n) { animation-duration: 23s; animation-delay: -11s; }
.section > .wrap { position: relative; z-index: 3; }
.hero .wrap { z-index: 3; }

/* ---------- word reveal ---------- */
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.words .w > span { display: inline-block; transform: translateY(115%); transition: transform .9s cubic-bezier(.2,.7,.15,1); transition-delay: calc(var(--i) * 55ms); will-change: transform; }
.words.in .w > span { transform: translateY(0); }

/* ---------- drawing strokes ---------- */
.draw path, .draw circle, .draw line, .draw rect, .draw polyline { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.2s cubic-bezier(.4,0,.2,1); }
.draw.in path, .draw.in circle, .draw.in line, .draw.in rect, .draw.in polyline { stroke-dashoffset: 0; }
.draw.in *:nth-child(2) { transition-delay: .15s; } .draw.in *:nth-child(3) { transition-delay: .3s; } .draw.in *:nth-child(4) { transition-delay: .45s; } .draw.in *:nth-child(5) { transition-delay: .6s; } .draw.in *:nth-child(6) { transition-delay: .75s; } .draw.in *:nth-child(7) { transition-delay: .9s; } .draw.in *:nth-child(8) { transition-delay: 1.05s; }
.rule-draw { height: 1px; background: linear-gradient(90deg, var(--brass), var(--brass)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease); }
.rule-draw.in { transform: scaleX(1); }

/* ---------- pictures ---------- */
.pic { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink-2); }
.pic::after { content: ""; position: absolute; inset: 0; background: var(--ivory); z-index: 3; transform: translateX(0); transition: transform 1.1s cubic-bezier(.65,0,.15,1); }
.paper .pic::after { background: var(--paper); }
.navy .pic::after, .hero .pic::after { background: var(--ink); }
.pic.in::after { transform: translateX(101%); }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.pic.in img { transform: scale(1); }
.pic:hover img { transform: scale(1.04); transition-duration: .9s; }
.pic .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); background: linear-gradient(transparent, rgba(16,24,39,.7)); }
.pic .corner { position: absolute; width: 22px; height: 22px; border: 1px solid var(--brass); z-index: 2; }
.pic .corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.pic .corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.pic.tall { aspect-ratio: 4 / 5; }
.pic.wide { aspect-ratio: 16 / 10; }
.pic.square { aspect-ratio: 1; }

/* ---------- hero ---------- */
.hero { min-height: min(calc(100vh - 72px), 880px); display: flex; align-items: center; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), rgba(176,141,87,.13), transparent 60%); transition: background .2s; }
.hero .pattern { z-index: 0; opacity: .6; }
.hero .pattern.draw { transition: none; }
.hero-grid { padding-block: clamp(3rem, 6vw, 6rem); grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.hero > .wrap { width: min(var(--w), 100% - 2 * var(--gutter)); }
.hero-aside { position: relative; }
.hero-stage { position: relative; aspect-ratio: 1 / 1; max-height: 600px; }
.hero-stage > * { position: absolute; }
.hero-stage .photo { inset: 0; border-radius: var(--r); overflow: hidden; transform: translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); }
.hero-stage .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: saturate(.85) contrast(1.05); }
.hero-stage .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,24,39,.55)); }
.hero-stage .ring { width: 58%; aspect-ratio: 1; border: 1px solid var(--brass); border-radius: 50%; left: -18%; bottom: -8%; transform: translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); }
.hero-stage .ring::before { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(176,141,87,.6); border-radius: 50%; }
.hero-stage .plate { right: -6%; top: 8%; width: 40%; padding: 1.1rem 1.2rem; background: var(--ivory); color: var(--ink); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform: translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); font-size: .82rem; line-height: 1.45; }
.hero-stage .plate strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: .2rem; }
.hero-stage .plate .tag { color: var(--brass-2); }
.hero-stage .ghost { left: -10%; top: -14%; font-family: var(--serif); font-style: italic; font-size: clamp(9rem, 22vw, 20rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(176,141,87,.35); transform: translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); pointer-events: none; }
.hero-stage .caption { left: 1rem; bottom: 1rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); z-index: 2; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-stage { aspect-ratio: 16 / 11; max-height: 360px; margin-top: 1.5rem; }
  .hero-stage .plate { width: 52%; right: 0; top: auto; bottom: -1.5rem; }
  .hero-stage .ghost { display: none; }
}
.hero-facts strong { display: inline-block; min-width: 2ch; }

/* location ribbon */
.ribbon { overflow: hidden; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); background: var(--ink); color: var(--ivory); padding: .85rem 0; position: relative; z-index: 2; }
.ribbon .track { display: flex; gap: 3rem; width: max-content; animation: ribbon 46s linear infinite; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.ribbon .track span { display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; }
.ribbon .track i { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); display: inline-block; }
.ribbon:hover .track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- flip cards ---------- */
.flip { perspective: 1400px; position: relative; }
.flip-inner { position: relative; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.25,.8,.25,1); min-height: 100%; }
.flip.on .flip-inner { transform: rotateY(180deg); }
.face { -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--r); }
.face.front { position: relative; }
.face.back { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; flex-direction: column; }
.flip-btn { position: absolute; right: .9rem; bottom: .9rem; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brass); background: transparent; color: var(--brass); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .5s var(--ease); z-index: 2; }
.flip-btn:hover { background: var(--brass); color: var(--ink); }
.flip.on .flip-btn { transform: rotate(180deg); }
.flip .face.back .flip-btn { color: var(--ivory); border-color: rgba(244,240,231,.5); }
.flip .face.back .flip-btn:hover { background: var(--ivory); color: var(--ink); }

/* sequence cards on home */
.seq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .seq { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .seq { grid-template-columns: 1fr; } }
.seq .flip { min-height: 250px; }
.seq .flip-inner { height: 100%; }
.seq .face { height: 100%; padding: 1.35rem 1.35rem 3.2rem; }
.seq .face.front { background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column; justify-content: space-between; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.seq .flip:hover .face.front { border-color: var(--brass); box-shadow: 0 24px 40px -30px rgba(16,24,39,.4); }
.seq .num { font-family: var(--serif); font-size: 2.6rem; color: var(--brass); line-height: 1; }
.seq h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.seq .face.back { background: var(--ink); color: var(--ivory); padding-bottom: 3.4rem; justify-content: space-between; }
.seq .face.back p { font-size: .9rem; color: rgba(244,240,231,.82); margin: .5rem 0 0; }
.seq .face.back .actions { margin-top: 1rem; }
.seq .cta-card { background: var(--aubergine); color: var(--ivory); border-radius: var(--r); padding: 1.35rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; text-decoration: none; position: relative; overflow: hidden; transition: transform .3s var(--ease); }
.seq .cta-card:hover { transform: translateY(-4px); }
.seq .cta-card .big { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.seq .cta-card .glyph { right: -1rem; bottom: -2rem; font-size: 9rem; opacity: .12; color: var(--ivory); }

/* ---------- fold-open cards (testimonials) ---------- */
.fold-wrap { perspective: 1200px; }
.fold { transform-origin: 50% 0; transform: rotateX(-72deg); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .6s; transition-delay: calc(var(--i, 0) * 120ms); }
.fold.in { transform: rotateX(0); opacity: 1; }

/* ---------- portrait flip (teachers on home) ---------- */
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 520px) { .portraits { grid-template-columns: 1fr; } }
.portrait.flip { aspect-ratio: 4 / 5; }
.portrait .flip-inner { height: 100%; }
.portrait .face { height: 100%; overflow: hidden; }
.portrait .face.front img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.9); transition: transform 1.2s var(--ease); }
.portrait:hover .face.front img { transform: scale(1.03); }
.portrait .face.front .name { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.2rem 1.1rem; background: linear-gradient(transparent, rgba(16,24,39,.85)); color: var(--ivory); }
.portrait .face.front .name strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.portrait .face.front .name span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.portrait .face.back { background: var(--ivory); color: var(--ink); padding: 1.4rem 1.4rem 3.4rem; justify-content: flex-start; gap: .6rem; font-size: .9rem; }
.portrait .face.back h3 { margin: 0; }
.portrait .face.back ul { margin: .5rem 0 0; padding-left: 1rem; color: var(--ink-2); display: grid; gap: .35rem; }
.portrait .face.back .flip-btn { color: var(--brass); border-color: var(--brass); }

/* ---------- collage ---------- */
.collage { position: relative; aspect-ratio: 5 / 4; }
.collage .pic { position: absolute; margin: 0; }
.collage .p1 { left: 0; top: 6%; width: 62%; aspect-ratio: 4 / 3; z-index: 1; }
.collage .p2 { right: 0; top: 0; width: 46%; aspect-ratio: 3 / 4; z-index: 2; }
.collage .p3 { left: 28%; bottom: 0; width: 48%; aspect-ratio: 4 / 3; z-index: 3; box-shadow: 0 40px 60px -40px rgba(16,24,39,.6); }
.collage .pic { transform: translateY(var(--py, 0)); }

/* ---------- the level finder as a flipping card ---------- */
.finder.flip { min-height: 420px; scroll-margin-top: 100px; }
.finder .flip-inner { display: grid; min-height: 420px; }
.finder .face { grid-area: 1 / 1; min-width: 0; height: auto; padding: clamp(1.25rem, 2.5vw, 2rem); }
.finder .face.front { background: var(--paper); border: 1px solid var(--line-soft); }
.finder .face.back { position: relative; inset: auto; background: var(--ink); color: var(--ivory); padding-bottom: 5rem; }
.finder .face.back .muted { color: rgba(244,240,231,.78); }
.finder .face.back .eyebrow { color: var(--brass); }
.finder .face.back .actions { margin-top: auto !important; padding-top: 1rem; }
.finder .face.back .btn { white-space: normal; text-align: center; }
.finder .face.back .meta dt { color: rgba(244,240,231,.6); }

/* ---------- windows (course detail) ---------- */
/* Classroom portal uses the existing ink, ivory, and brass design tokens. */
.classroom { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.classroom-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.classroom-heading .eyebrow { margin-bottom: .75rem; font-size: .875rem; }
.classroom-heading h1 { margin: 0; }
.classroom-heading .link { flex-shrink: 0; font-size: .875rem; }
.classroom-portal { display: grid; grid-template-columns: minmax(240px, 3fr) minmax(0, 8fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: 0 26px 60px -42px rgba(16,24,39,.5); }
.classroom-picker { padding: 2rem 1.5rem; display: flex; flex-direction: column; }
.classroom-label { font-size: .875rem; line-height: 1.5; margin: 0 0 1.5rem; }
.classroom-tabs { display: grid; }
.classroom-tab { display: flex; align-items: center; gap: .75rem; padding: 1.1rem .25rem; min-height: 60px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: color .2s; }
.classroom-tab:last-child { border-bottom: 1px solid var(--line); }
.classroom-number { font-size: .875rem; color: var(--slate); }
.classroom-pointer { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.classroom-tab[aria-selected="true"] { color: var(--brass-2); font-weight: 600; }
.classroom-tab[aria-selected="true"] .classroom-pointer, .classroom-tab:hover .classroom-pointer { opacity: 1; transform: none; }
.classroom-tab:hover { color: var(--brass-2); }
.classroom-resources { margin-top: auto; padding-top: 2rem; font-size: .875rem; }
.classroom-rooms { min-width: 0; background: var(--ink); color: var(--ivory); border-radius: 0 var(--r) var(--r) 0; }
.classroom-room { min-height: 420px; padding: clamp(1.5rem, 3vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.25rem, 3vw, 3rem); animation: classroom-in .35s var(--ease); }
.classroom-portrait { margin: 0; padding: 8px; border: 1px solid rgba(176,141,87,.55); border-radius: 50% 50% 2px 2px; }
.classroom-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: inherit; }
.classroom-entry .classroom-label { color: var(--brass); margin-bottom: 1rem; }
.classroom-entry h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: 2rem; }
.classroom-join { width: 100%; justify-content: space-between; gap: 1.5rem; min-height: 52px; }
.classroom-hint { font-size: .875rem; color: rgba(244,240,231,.72); margin: 1.25rem 0 0; }
.classroom-footnote { font-size: .875rem; color: var(--slate); margin: 1.25rem 0 0; }
@keyframes classroom-in { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) {
  .classroom-portal { grid-template-columns: 1fr; }
  .classroom-picker { padding: 1.25rem 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: .75rem 1.5rem; }
  .classroom-picker .classroom-label { margin: 0; }
  .classroom-tabs { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .classroom-tab { border-bottom: 1px solid var(--line); }
  .classroom-resources { margin: 0; padding: 0; }
  .classroom-rooms { border-radius: 0 0 var(--r) var(--r); }
  .classroom-room { min-height: 340px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .classroom-portrait { width: 100%; max-width: 240px; justify-self: center; }
}
@media (max-width: 520px) {
  .classroom-page .site-header .bar { flex-wrap: wrap; }
  .classroom-heading { align-items: start; flex-direction: column; gap: .75rem; }
  .classroom-picker { padding: 1rem; gap: .75rem; }
  .classroom-tabs { gap: .75rem; }
  .classroom-tab { gap: .4rem; font-size: .875rem; }
  .classroom-number { display: none; }
  .classroom-room { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem; text-align: center; }
  .classroom-portrait { max-width: 126px; }
  .classroom-entry h2 { font-size: 2rem; margin-bottom: 1.5rem; }
  .classroom-entry h2 br { display: none; }
  .classroom-entry .classroom-label { margin-bottom: .5rem; }
  .classroom-footnote { max-width: 32ch; }
}
@media (prefers-reduced-motion: reduce) { .classroom-room { animation: none; } .classroom-pointer { transition: none; } }

dialog.win { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; inset: 0; overflow: hidden; }
dialog.win::backdrop { background: rgba(16,24,39,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: bd-in .4s ease both; }
@keyframes bd-in { from { opacity: 0; } }
dialog.win .panel { position: absolute; inset: clamp(.75rem, 3vw, 2.5rem); background: var(--ivory); color: var(--ink); border-radius: 6px; overflow: hidden; transform-origin: 50% 50%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); box-shadow: 0 60px 120px -40px rgba(0,0,0,.6); }
dialog.win.opening .panel { transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .4s, clip-path .7s cubic-bezier(.2,.8,.2,1); }
dialog.win .panel .media { position: relative; background: var(--ink); min-height: 220px; }
dialog.win .panel .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); display: block; position: absolute; inset: 0; }
dialog.win .panel .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(16,24,39,.75)); }
dialog.win .panel .media .num { position: absolute; left: 1.5rem; bottom: 1.2rem; font-family: var(--serif); font-size: 5rem; color: var(--brass); line-height: 1; z-index: 1; }
dialog.win .panel .media .glyph { font-size: 22rem; right: -2rem; top: -3rem; position: absolute; color: var(--ivory); opacity: .08; }
dialog.win .panel .body { padding: clamp(1.5rem, 3.5vw, 3.5rem); overflow: auto; }
dialog.win .body > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--ease); }
dialog.win.shown .body > * { opacity: 1; transform: none; }
dialog.win.shown .body > *:nth-child(1) { transition-delay: .25s; } dialog.win.shown .body > *:nth-child(2) { transition-delay: .32s; } dialog.win.shown .body > *:nth-child(3) { transition-delay: .39s; } dialog.win.shown .body > *:nth-child(4) { transition-delay: .46s; } dialog.win.shown .body > *:nth-child(5) { transition-delay: .53s; } dialog.win.shown .body > *:nth-child(6) { transition-delay: .6s; } dialog.win.shown .body > *:nth-child(7) { transition-delay: .67s; }
dialog.win .close { position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); cursor: pointer; display: grid; place-items: center; z-index: 5; font-size: 1.2rem; transition: background .2s, transform .3s; }
dialog.win .close:hover { background: var(--ink); color: var(--ivory); transform: rotate(90deg); }
dialog.win .nav-arrows { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); font-size: .9rem; }
dialog.win .nav-arrows button { background: none; border: 0; cursor: pointer; color: var(--ink-2); font-weight: 600; padding: .4rem 0; display: inline-flex; gap: .5rem; align-items: center; }
dialog.win .nav-arrows button:hover { color: var(--brass-2); }
dialog.win .sessions { display: grid; gap: .4rem; margin: .75rem 0 0; }
dialog.win .sessions a { display: grid; grid-template-columns: 110px 1fr auto; gap: .75rem; align-items: center; padding: .6rem .8rem; border: 1px solid var(--line-soft); border-radius: var(--r); text-decoration: none; font-size: .88rem; background: var(--paper); transition: border-color .2s, transform .2s; }
dialog.win .sessions a:hover { border-color: var(--brass); transform: translateX(3px); }
dialog.win .sessions a .t { font-family: var(--serif); }
dialog.win .sessions a small { color: var(--slate); display: block; font-size: .75rem; }
@media (max-width: 820px) {
  dialog.win .panel { grid-template-columns: 1fr; grid-template-rows: 200px 1fr; inset: .5rem; }
  dialog.win .panel .media .glyph { font-size: 12rem; }
  dialog.win .sessions a { grid-template-columns: 1fr auto; }
  dialog.win .sessions a .t { grid-column: 1 / -1; }
}
body.win-open { overflow: hidden; }

/* course cards: photo header + open button */
.course-card .photo { margin: -1px -1px 0; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--r) var(--r) 0 0; position: relative; }
.course-card .photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1s var(--ease); }
.course-card:hover .photo img { transform: scale(1.05); }
.course-card .photo .open { position: absolute; right: .9rem; bottom: .9rem; background: var(--ivory); color: var(--ink); border: 0; border-radius: 999px; padding: .5rem .9rem; font-size: .78rem; font-weight: 600; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); transition: transform .25s var(--ease), background .2s; }
.course-card .photo .open:hover { transform: translateY(-2px); background: var(--brass); }
.course-card { padding-top: 0; overflow: hidden; }
.course-card .head { padding: 1.25rem 1.5rem 0; }
.course-card > p, .course-card > dl, .course-card > details, .course-card > .foot { margin-left: 1.5rem; margin-right: 1.5rem; }
.course-card > .foot { margin-bottom: 1.5rem; }
@media (max-width: 600px) { .course-card .head, .course-card > p, .course-card > dl, .course-card > details, .course-card > .foot { margin-left: 1.1rem; margin-right: 1.1rem; } .course-card .head { padding: 1.1rem 1.1rem 0; } }

/* ---------- week grid (schedule) ---------- */
.week { display: grid; grid-template-columns: 56px repeat(6, minmax(0, 1fr)); gap: 0 .5rem; position: relative; }
.week .hd { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; padding: .5rem 0 .75rem; border-bottom: 1px solid var(--line); text-align: center; }
.week .hd.blank { border-bottom: 0; }
.week .col { position: relative; display: grid; gap: 0; border-left: 1px solid var(--line-soft); }
.week .time-col { display: grid; font-size: .68rem; color: var(--slate); text-align: right; padding-right: .5rem; }
.week .time-col span { border-top: 1px dashed var(--line-soft); padding-top: .15rem; }
.week .time-col span.gap { font-size: .6rem; color: var(--slate-2); padding-top: .4rem; }
.week .gapline { display: block; background: repeating-linear-gradient(90deg, var(--line-soft) 0 6px, transparent 6px 12px); height: 1px; align-self: center; margin: 0 .5rem; }

.week .blk { position: relative; z-index: 1; border-radius: 3px; padding: .35rem .45rem; font-size: .7rem; line-height: 1.25; color: var(--ivory); background: var(--ink); text-decoration: none; overflow: hidden; margin: 1px 0; transform-origin: 50% 0; transform: scaleY(0); opacity: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s, box-shadow .2s; transition-delay: calc(var(--i, 0) * 25ms); display: flex; flex-direction: column; justify-content: space-between; }
.week.in .blk { transform: scaleY(1); opacity: 1; }
.week .blk.online { background: var(--slate); }
.week .blk.inperson { background: var(--aubergine); }
.week .blk strong { display: block; font-weight: 600; }
.week .blk small { opacity: .8; }
.week .blk:hover { box-shadow: 0 10px 24px -12px rgba(16,24,39,.6); z-index: 2; outline: 1px solid var(--brass); }
.week .blk.dbl { grid-column: 1; }
.week .col.two { grid-template-columns: 1fr 1fr; gap: 0 2px; }
.week .col.two .blk { font-size: .64rem; padding: .3rem .35rem; }
.week-wrap { overflow-x: auto; padding-bottom: .5rem; }
.week-wrap .week { min-width: 760px; }
.week-legend { display: flex; gap: 1.25rem; font-size: .78rem; color: var(--slate); margin: 1rem 0 0; flex-wrap: wrap; }
.week-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: .4rem; }

/* ---------- misc motion ---------- */
.lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -35px rgba(16,24,39,.5); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.btn:hover::after { transform: scaleX(1); }
.btn.ghost::after, .btn.ghost-light::after { display: none; }
.steps.timeline { position: relative; }
.steps.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 1px; background: var(--brass); transform: scaleY(var(--tl, 0)); transform-origin: 50% 0; transition: transform 1.6s var(--ease); }
.steps.timeline.in::before { --tl: 1; }
.steps.timeline .step::before { background: var(--ivory); position: relative; z-index: 1; padding-right: .5rem; }
.navy .steps.timeline .step::before { background: var(--ink); }
.pathway::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease); }
.pathway.in::before { transform: scaleX(1); }
.pathway a .node { transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease); transform: scale(.6); opacity: 0; }
.pathway.in a .node { transform: scale(1); opacity: 1; }
.pathway.in a:nth-child(1) .node { transition-delay: .2s; } .pathway.in a:nth-child(2) .node { transition-delay: .4s; } .pathway.in a:nth-child(3) .node { transition-delay: .6s; } .pathway.in a:nth-child(4) .node { transition-delay: .8s; } .pathway.in a:nth-child(5) .node { transition-delay: 1s; } .pathway.in a:nth-child(6) .node { transition-delay: 1.2s; } .pathway.in a:nth-child(7) .node { transition-delay: 1.4s; }
@media (max-width: 760px) { .pathway::before { transform: scaleY(0); transform-origin: 50% 0; } .pathway.in::before { transform: scaleY(1); } }
.big-quote { position: absolute; font-family: var(--serif); font-size: clamp(14rem, 30vw, 26rem); line-height: .6; color: var(--brass); opacity: .12; left: -2%; top: 8%; pointer-events: none; z-index: 2; transform: translateY(var(--py, 0)); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .drafting svg, .glyph, .ribbon .track, .hero-stage > *, .collage .pic, .big-quote { animation: none !important; transform: none !important; transition: none !important; }
  .words .w > span, .fold, .pic::after, .pic img, .week .blk, .draw *, .rule-draw, .pathway::before, .pathway a .node, .steps.timeline::before { transition: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; stroke-dashoffset: 0 !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- hero stage with the cutout portrait ---------- */
.hero-stage .slab { inset: 6% 0 0 10%; background: var(--ink-2); border-radius: var(--r); transform: translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); box-shadow: 0 60px 90px -50px rgba(0,0,0,.7); }
.hero-stage .slab::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(176,141,87,.12) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(176,141,87,.12) 0 1px, transparent 1px 48px); border-radius: inherit; }
.hero-stage .cutout { left: 6%; right: 6%; bottom: 0; top: auto; transform: translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); z-index: 5; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.hero-stage .cutout img { width: 100%; height: auto; display: block; }
.hero-stage .ring { z-index: 4; left: -26%; bottom: 10%; width: 56%; }
.hero-stage .plate { z-index: 3; top: 10%; right: -8%; width: 48%; }
.hero-stage .ghost { z-index: 0; left: -6%; top: -10%; }
.hero-stage .rule { left: -46%; right: 40%; top: 46%; height: 1px; background: var(--brass); z-index: 3; transform: scaleX(0) translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); transform-origin: 100% 50%; transition: transform 1.6s var(--ease) .6s; }
.hero.in .hero-stage .rule, .hero-stage.in .rule { transform: scaleX(1) translate(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px)); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.4rem); position: relative; z-index: 4; }
@media (max-width: 900px) { .hero-stage .ring { left: -10%; } .hero-stage .plate { right: 0; } .hero-stage .rule { display: none; } }

/* ---------- small screens: quieter layers ---------- */
@media (max-width: 700px) {
  .glyph { font-size: 6rem !important; }
  .hero .glyph.outline { right: -4% !important; top: 2% !important; }
  .big-quote { font-size: 10rem; }
}

/* ---------- medallion portraits (the brand's circular seal) ---------- */
.medal { position: relative; background: var(--ink-2); display: grid; place-items: center; overflow: hidden; }
.medal::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(176,141,87,.12) 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, rgba(176,141,87,.12) 0 1px, transparent 1px 44px); }
.medal img { width: 78%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--brass), 0 0 0 10px var(--ink-2), 0 0 0 11px rgba(176,141,87,.45), 0 40px 60px -30px rgba(0,0,0,.7); position: relative; z-index: 1; transform: none !important; }
.medal .ring2 { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(176,141,87,.35); z-index: 1; }
.pic.medal { background: var(--ink-2); }
.pic.medal img { transform: scale(1) !important; }
.portrait .face.front.medal { background: var(--ink-2); }
.portrait .face.front.medal img { width: 72%; height: auto; margin-top: -8%; }
.portrait .face.front .name { z-index: 2; background: linear-gradient(transparent, rgba(16,24,39,.9)); }
@media (max-width: 900px) {
  .hero-stage { margin-top: 2.5rem; aspect-ratio: 1 / 1; max-height: 420px; }
  .hero-stage .cutout { left: 8%; right: 8%; bottom: 0; }
  .hero-stage .slab { inset: 8% 0 0 12%; }
  .hero-stage .ring { left: -10%; width: 48%; bottom: 4%; }
  .hero-stage .plate { right: -2%; top: 6%; width: 52%; }
}


/* ============================================================
   Rows: one idea per screen, text alternating left / right,
   the other half holding one living visual.
   ============================================================ */
.row { padding-block: clamp(4.5rem, 9vw, 9rem); position: relative; }
.row > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.row.alt > .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.alt .row-text { order: 2; }
.row-text h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.9rem); margin-bottom: 1rem; }
.row-text .lede { margin-bottom: 1.75rem; max-width: 30em; }
.row-text .actions { gap: 1.25rem; }
.row-visual { position: relative; min-width: 0; }
.row .glyph { z-index: 0; }
@media (max-width: 900px) {
  .row > .wrap, .row.alt > .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .row.alt .row-text { order: 0; }
}

/* the deck: one course at a time */
.deck { position: relative; max-width: 520px; margin-inline: auto; }
.deck .stack { position: absolute; inset: 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); transform: translate(14px, 14px); z-index: 0; }
.deck .stack.two { transform: translate(28px, 28px); opacity: .6; }
.deck .flip { position: relative; z-index: 1; min-height: 360px; }
.deck .flip-inner { height: 100%; min-height: 360px; }
.deck .face { height: 100%; min-height: 360px; padding: 2rem 2rem 4rem; }
.deck .face.front { background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 40px 60px -45px rgba(16,24,39,.5); }
.deck .num { font-family: var(--serif); font-size: 5rem; color: var(--brass); line-height: 1; }
.deck .num small { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-left: .5rem; }
.deck h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); margin: 0 0 .35rem; }
.deck .face.back { background: var(--ink); color: var(--ivory); padding-bottom: 4rem; justify-content: space-between; }
.deck .face.back p { color: rgba(244,240,231,.85); font-size: 1.05rem; }
.deck-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; gap: 1rem; }
.deck-nav .dots { display: flex; gap: .45rem; }
.deck-nav .dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--brass); background: transparent; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.deck-nav .dots button[aria-current="true"] { background: var(--brass); transform: scale(1.3); }
.deck-nav .arrows { display: flex; gap: .5rem; }
.deck-nav .arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 1rem; display: grid; place-items: center; transition: background .2s, color .2s; }
.deck-nav .arrows button:hover { background: var(--ink); color: var(--ivory); }
.deck .swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(18px) rotate(1deg); } }

/* one photo, one plate */
.photo-plate { position: relative; }
.photo-plate .pic { aspect-ratio: 5 / 4; }
.photo-plate .plate { position: absolute; left: -6%; bottom: -8%; background: var(--ink); color: var(--ivory); padding: 1.4rem 1.6rem; border-radius: var(--r); max-width: 62%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform: translateY(var(--py, 0)); }
.photo-plate .plate strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; display: block; line-height: 1; margin-bottom: .35rem; }
.photo-plate .plate span { font-size: .85rem; color: rgba(244,240,231,.75); }
@media (max-width: 900px) { .photo-plate .plate { left: 0; bottom: -1.5rem; max-width: 80%; } .photo-plate { margin-bottom: 2rem; } }

/* one quote at a time: bare words, and they fall one by one */
.quote-deck { position: relative; min-height: 300px; }
.quote-deck .q { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(0rem, 2vw, 1.5rem); opacity: 0; pointer-events: none; margin: 0; }
.quote-deck .q.on { position: relative; opacity: 1; pointer-events: auto; }
.quote-deck .q.leaving { opacity: 1; z-index: 2; }
.quote-deck .quote { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); line-height: 1.35; margin: 0 0 1.25rem; }
.quote-deck .quote::before, .quote-deck .quote::after { content: none; }
.quote-deck .w { display: inline-block; will-change: transform, opacity; }
.quote-deck .q.leaving .w { animation: word-drop 1.15s cubic-bezier(.35,.5,.45,1) forwards; animation-delay: calc(var(--i) * 26ms); }
@keyframes word-drop {
  0% { transform: none; opacity: 1; }
  16% { transform: translateY(calc(-10px - var(--h, 0px))) rotate(calc(var(--r, 0deg) * -.25)); opacity: 1; }
  100% { transform: translate(var(--x, 0px), var(--fall, 600px)) rotate(var(--r, 0deg)); opacity: .9; }
}
.quote-deck .q.entering .w { animation: word-rise .7s var(--ease) both; animation-delay: calc(var(--i) * 32ms + .3s); }
@keyframes word-rise { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) { .quote-deck .q.leaving { display: none; } .quote-deck .w { animation: none !important; } }

/* price */
.price-card { text-align: center; padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); position: relative; overflow: hidden; }
.price-card .big { font-family: var(--serif); font-size: clamp(4rem, 2rem + 6vw, 7.5rem); line-height: 1; color: var(--ivory); }
.price-card .big sup { font-size: .4em; vertical-align: top; margin-top: .3em; display: inline-block; color: var(--brass); }
.price-card .sub { color: rgba(244,240,231,.7); margin: .5rem 0 1.5rem; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; text-align: left; font-size: .95rem; color: rgba(244,240,231,.88); max-width: 30em; margin-inline: auto; }
.price-card ul li { padding-left: 1.4rem; position: relative; }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--brass); }
.price-card .ring-bg { position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(176,141,87,.25); left: -20%; top: -30%; pointer-events: none; }
.price-card .ring-bg.b { width: 100%; left: 0; top: -10%; }

.stats-band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 2rem 0; }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats-band strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem); font-weight: 500; line-height: 1; }
.stats-band > .wrap > div > span { font-size: .8rem; color: var(--slate); display: block; margin-top: .4rem; letter-spacing: .04em; }
@media (max-width: 700px) { .stats-band .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- row hygiene ---------- */
.row { overflow: hidden; }
.btn { white-space: nowrap; flex-shrink: 0; }
.deck-nav { margin-top: 3rem; position: relative; z-index: 2; }
@media (max-width: 600px) {
  .deck .stack { transform: translate(8px, 8px); }
  .deck .stack.two { transform: translate(16px, 16px); }
  .deck { margin-right: 16px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .hero-stage { max-height: 440px; aspect-ratio: 1 / 1; }
  .hero-stage .cutout { left: 0; right: 26%; }
  .hero-stage .plate { right: 0; top: 0; width: 56%; font-size: .78rem; }
  .hero-stage .plate strong { font-size: 1.25rem; }
  .hero-stage .slab { inset: 10% 6% 0 10%; }
  .hero-stage .ring { left: -8%; width: 44%; bottom: 8%; }
}

/* ---------- the hand and the fan ---------- */
#sequence > .wrap { position: relative; }
.hand-area { min-height: 380px; }
#sequence .row-text { transition: opacity .45s var(--ease), transform .6s var(--ease); }
#sequence.spread .row-text { opacity: 0; transform: translateX(24px); pointer-events: none; }
.fan { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .9rem; align-content: center; z-index: 3; }
.fan .mini { display: flex; flex-direction: column; justify-content: space-between; min-height: min(300px, 70%); padding: 1.1rem 1rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: 0 30px 50px -36px rgba(16,24,39,.55); transform: translate(var(--dx, 0), var(--dy, 0)) scale(var(--sc, .72)) rotate(var(--rot, 0deg)); transition: transform .8s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; transition-delay: calc(var(--i) * 40ms); will-change: transform; }
#sequence.spread .fan .mini { transform: none; }
.fan .mini .num { font-family: var(--serif); font-size: 2.4rem; color: var(--brass); line-height: 1; }
.fan .mini h3 { font-size: 1.05rem; margin: 0 0 .3rem; line-height: 1.2; }
.fan .mini .tag { font-size: .62rem; }
.fan .mini .go { font-size: .75rem; font-weight: 600; color: var(--brass-2); margin-top: .75rem; display: inline-flex; gap: .3rem; opacity: 0; transition: opacity .3s; }
#sequence.spread .fan .mini .go { opacity: 1; }
#sequence.spread .fan .mini:hover { border-color: var(--brass); transform: translateY(-6px); transition-delay: 0s; }
#sequence.spread .fan .mini:hover .num { color: var(--ink); }
@media (max-width: 1100px) { .fan { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; } .fan .mini { min-height: 170px; } }
@media (hover: none), (max-width: 900px) {
  .hand-area { display: none; }
  .fan { position: static; grid-template-columns: 1fr 1fr; gap: .75rem; }
  .fan .mini { transform: none !important; min-height: 150px; }
  .fan .mini .go { opacity: 1; }
  #sequence.spread .row-text { opacity: 1; transform: none; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .fan .mini, #sequence .row-text { transition: none; } }

/* ---------- quotes: the old one jumps, falls out of the section ---------- */
.quote-deck .card.leaving { position: absolute; inset: 0; opacity: 1; pointer-events: none; z-index: 2; animation: quote-drop 1.15s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes quote-drop {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  22% { transform: translateY(-46px) rotate(-2.5deg); opacity: 1; }
  100% { transform: translateY(var(--fall, 600px)) rotate(9deg); opacity: .9; }
}
.quote-deck .card.entering { animation: quote-in .7s var(--ease) .25s both; }
@keyframes quote-in { from { opacity: 0; transform: translateY(-28px) scale(.98); } }
.quote-deck .card { transition: none; }
@media (prefers-reduced-motion: reduce) { .quote-deck .card.leaving, .quote-deck .card.entering { animation: none; } .quote-deck .card.leaving { display: none; } }

/* ---------- rows on the inner pages ---------- */
.row .row-text h1 { font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.2rem); margin-bottom: 1rem; }
.row.head { padding-top: clamp(3rem, 6vw, 6rem); }
.pathway.ladder { grid-template-columns: 1fr; gap: .25rem; margin: 0 0 0 .25rem; max-width: 380px; }
.pathway.ladder::before { left: 14px; right: auto; top: 14px; bottom: 14px; width: 1px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
.pathway.ladder.in::before { transform: scaleY(1); }
.pathway.ladder a { grid-template-columns: 29px 1fr; justify-items: start; text-align: left; align-items: center; padding: .55rem 0; gap: 1rem; font-size: 1.05rem; }
.pathway.ladder a .grade { grid-column: 2; margin-top: -.55rem; font-size: .75rem; }
.pathway.ladder a:hover { color: var(--brass-2); }
.loc-list { display: grid; gap: .5rem; }
.loc-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: center; padding: .9rem 1.1rem; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--paper); text-decoration: none; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.loc-list a:hover { border-color: var(--brass); transform: translateX(6px); box-shadow: 0 20px 40px -32px rgba(16,24,39,.5); }
.loc-list strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; display: block; }
.loc-list small { color: var(--slate); font-size: .8rem; }
.loc-list .days { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; text-align: right; }
.band { padding-block: clamp(2.5rem, 4vw, 4rem); }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.band-head h2 { font-size: 1.6rem; margin: 0; }
.partner-card { padding: clamp(1.5rem, 3vw, 2.5rem); }
.partner-card .big { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.15; margin: .5rem 0 1rem; }

/* ---------- live cards: they wake up under the pointer ---------- */
.live { position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 42%, rgba(176,141,87,.16) 50%, transparent 58%); transform: translateX(-130%); transition: transform .8s var(--ease); pointer-events: none; }
.live:hover { transform: translateY(-6px); border-color: var(--brass); box-shadow: 0 34px 56px -38px rgba(16,24,39,.55); }
.live:hover::after { transform: translateX(130%); }
.live .num { transition: transform .4s var(--ease), color .3s; display: inline-block; }
.live:hover .num { transform: translateX(6px); color: var(--ink); }
.card.ink.live:hover .num { color: var(--ivory); }

/* flip tiles (enroll pricing) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 1100px) { .tiles { grid-template-columns: 1fr; } .tile.flip { min-height: 160px; } }
.tile.flip { min-height: 220px; }
.tile .flip-inner { height: 100%; min-height: inherit; }
.tile .face { height: 100%; min-height: inherit; padding: 1.25rem 1.2rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; }
.tile .face.front { background: var(--paper); border: 1px solid var(--line-soft); transition: border-color .3s; }
.tile:hover .face.front { border-color: var(--brass); }
.tile .big { font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem); line-height: 1; }
.tile .big small { font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); display: block; margin-top: .5rem; }
.tile .face.back { background: var(--ink); color: var(--ivory); font-size: .9rem; }
.tile .face.back p { color: rgba(244,240,231,.85); margin: 0; }
.tile .face.back .tag { color: var(--brass); }

/* quick tiles (current students) */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .quick { grid-template-columns: 1fr; } }
.quick a { display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; min-height: 150px; padding: 1.1rem 1.1rem 1rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.quick a .num { font-family: var(--serif); font-size: 1.9rem; color: var(--brass); line-height: 1; }
.quick a strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.quick a span.muted { font-size: .82rem; }

/* programs (scholarships) */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .programs { grid-template-columns: 1fr; } }
.programs .card { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; }
.programs strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }

/* contact card */
.contact-card { display: grid; gap: 1.25rem; }
.contact-card .phone { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); line-height: 1; text-decoration: none; letter-spacing: .01em; display: block; }
.contact-card .phone small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; font-size: .95rem; }
.contact-card dt { color: rgba(244,240,231,.6); }
.contact-card dd { margin: 0; }

/* calendar coming-up card */
.upnext { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.upnext h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem); }
.month.live { cursor: default; }

/* toc as a card list */
.toc-cards { display: grid; gap: .5rem; }
.toc-cards a { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--line-soft); background: var(--paper); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 500; }
.toc-cards a .num { font-family: var(--serif); color: var(--brass); }
.prose-band .prose { max-width: 70ch; }

/* ---------- catalog: hover a card, it turns over and fills the section ---------- */
#course-cards { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { #course-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #course-cards { grid-template-columns: 1fr; } }
.course-card { transition: transform .55s var(--ease), opacity .45s, filter .45s, box-shadow .35s; transform-origin: 50% 50%; }
.course-card .meta, .course-card details { display: none; }
.course-card > p { font-size: .92rem; color: var(--ink-2); }
#course-cards.focused .course-card:not(.turning) { transform: scale(.9); opacity: .4; filter: saturate(.5); pointer-events: none; }
.course-card.turning { transform: perspective(1200px) rotateY(88deg); opacity: 0; transition-duration: .35s; }
.expand { position: absolute; z-index: 6; background: var(--ivory); border-radius: 6px; box-shadow: 0 60px 120px -40px rgba(16,24,39,.55), 0 0 0 1px var(--line-soft); overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); transform: perspective(1400px) rotateY(-80deg); opacity: 0; transition: top .75s var(--ease), left .75s var(--ease), width .75s var(--ease), height .75s var(--ease), transform .75s var(--ease), opacity .35s; will-change: transform, width, height; }
.expand.open { transform: none; opacity: 1; }
.expand.closing { transform: perspective(1400px) rotateY(60deg) scale(.96); opacity: 0; transition-duration: .4s; }
.expand .media { position: relative; background: var(--ink); min-height: 200px; }
.expand .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); display: block; }
.expand .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(16,24,39,.75)); }
.expand .media .num { position: absolute; left: 1.5rem; bottom: 1.2rem; font-family: var(--serif); font-size: 5rem; color: var(--brass); line-height: 1; z-index: 1; }
.expand .media .glyph { font-size: 20rem; right: -2rem; top: -3rem; position: absolute; color: var(--ivory); opacity: .08; }
.expand .body { padding: clamp(1.5rem, 3vw, 3rem); overflow: auto; }
.expand .body > * { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .5s var(--ease); }
.expand.open .body > * { opacity: 1; transform: none; }
.expand.open .body > *:nth-child(1) { transition-delay: .35s; } .expand.open .body > *:nth-child(2) { transition-delay: .42s; } .expand.open .body > *:nth-child(3) { transition-delay: .49s; } .expand.open .body > *:nth-child(4) { transition-delay: .56s; } .expand.open .body > *:nth-child(5) { transition-delay: .63s; } .expand.open .body > *:nth-child(6) { transition-delay: .7s; } .expand.open .body > *:nth-child(7) { transition-delay: .77s; }
.expand .sessions { display: grid; gap: .4rem; margin: .75rem 0 0; }
.expand .sessions a { display: grid; grid-template-columns: 110px 1fr auto; gap: .75rem; align-items: center; padding: .55rem .8rem; border: 1px solid var(--line-soft); border-radius: var(--r); text-decoration: none; font-size: .88rem; background: var(--paper); transition: border-color .2s, transform .2s; }
.expand .sessions a:hover { border-color: var(--brass); transform: translateX(3px); }
.expand .sessions a .t { font-family: var(--serif); }
.expand .sessions a small { color: var(--slate); display: block; font-size: .75rem; }
.expand .nav-arrows { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: .9rem; }
.expand .nav-arrows button { background: none; border: 0; cursor: pointer; color: var(--ink-2); font-weight: 600; padding: .4rem 0; }
.expand .nav-arrows button:hover { color: var(--brass-2); }
.expand .hint { position: absolute; top: .9rem; right: 1rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); z-index: 2; }
@media (hover: none), (max-width: 900px) { .expand { display: none; } #course-cards.focused .course-card { transform: none; opacity: 1; filter: none; pointer-events: auto; } }
@media (prefers-reduced-motion: reduce) { .expand, .course-card { transition: none; } }

/* ============================================================
   Enrollment tray and drawer (Courses page)
   ============================================================ */
.tray { position: sticky; top: 72px; z-index: 40; background: rgba(16,24,39,.96); color: var(--ivory); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(176,141,87,.35); }
body.scrolled .tray { top: 60px; }
.tray .bar { display: flex; align-items: center; gap: 1rem; min-height: 56px; }
.tray .who { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; color: rgba(244,240,231,.85); background: none; border: 0; cursor: pointer; padding: .4rem 0; }
.tray .who .avatar { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--brass); display: grid; place-items: center; font-family: var(--serif); font-size: .85rem; color: var(--brass); }
.tray .who strong { color: var(--ivory); font-weight: 600; }
.tray .students { display: flex; gap: .4rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tray .students::-webkit-scrollbar { display: none; }
.tray .students button { flex: 0 0 auto; background: transparent; border: 1px solid rgba(244,240,231,.25); color: rgba(244,240,231,.85); border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; transition: background .2s, border-color .2s; }
.tray .students button[aria-current="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.tray .students button .n { font-family: var(--serif); color: var(--brass); }
.tray .students button[aria-current="true"] .n { color: var(--brass-2); }
.tray .students .add { border-style: dashed; }
.tray .total { font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.tray .total small { font-family: var(--sans); font-size: .72rem; color: rgba(244,240,231,.6); margin-left: .35rem; }
.tray .btn.light { padding: .55rem 1rem; font-size: .85rem; }
@media (max-width: 760px) { .tray .bar { flex-wrap: wrap; gap: .5rem .75rem; padding: .5rem 0; } .tray .students { order: 3; flex-basis: 100%; } .tray .total { display: none; } }

/* header badge */
.nav .btn .badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px; background: var(--brass); color: var(--ink); font-size: .7rem; font-weight: 700; margin-left: .3rem; }
.nav .btn .badge:empty { display: none; }

/* drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(16,24,39,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--ivory); z-index: 71; transform: translateX(104%); transition: transform .55s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: auto auto 1fr auto; box-shadow: -40px 0 80px -40px rgba(0,0,0,.5); }
.drawer.open { transform: none; }
.drawer .head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line-soft); }
.drawer .head h2 { font-size: 1.4rem; margin: 0; }
.drawer .close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.1rem; transition: background .2s, transform .3s; }
.drawer .close:hover { background: var(--ink); color: var(--ivory); transform: rotate(90deg); }
.drawer .progress { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: .9rem 1.4rem 0; gap: .4rem; }
.drawer .progress button { font-size: .68rem; padding-top: .5rem; }
.drawer .progress button span { font-size: .85rem; margin-bottom: 0; }
.drawer .panes { overflow: auto; padding: 1.25rem 1.4rem 2rem; }
.drawer .pane h3 { font-size: 1.15rem; margin: 0 0 .25rem; }
.drawer .foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 1.4rem; border-top: 1px solid var(--line-soft); background: var(--paper); }
.drawer .foot .sum { font-family: var(--serif); font-size: 1.15rem; }
.drawer .foot .sum small { font-family: var(--sans); font-size: .72rem; color: var(--slate); display: block; }
.student-block { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); margin-bottom: 1rem; overflow: hidden; }
.student-block .sb-head { display: grid; grid-template-columns: 1fr 100px auto; gap: .5rem; align-items: center; padding: .8rem .9rem; background: var(--ink); color: var(--ivory); }
.student-block .sb-head input, .student-block .sb-head select { font: inherit; font-size: .9rem; padding: .45rem .6rem; border-radius: var(--r); border: 1px solid rgba(244,240,231,.3); background: rgba(244,240,231,.08); color: var(--ivory); min-width: 0; }
.student-block .sb-head select option { color: var(--ink); }
.student-block .sb-head .rm { background: none; border: 0; color: rgba(244,240,231,.6); cursor: pointer; font-size: 1rem; }
.student-block .sb-head .rm:hover { color: var(--ivory); }
.student-block .sb-courses { padding: .4rem .9rem; }
.student-block .sb-course { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.student-block .sb-course:last-child { border-bottom: 0; }
.student-block .sb-course strong { display: block; }
.student-block .sb-course select { font: inherit; font-size: .8rem; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; max-width: 220px; }
.student-block .sb-course .rm { background: none; border: 0; color: var(--slate); cursor: pointer; }
.student-block .sb-course .rm:hover { color: var(--aubergine); }
.student-block .empty-line { padding: .9rem 0; color: var(--slate); font-size: .88rem; }
.add-student { width: 100%; padding: .9rem; border: 1px dashed var(--line); background: transparent; border-radius: var(--r); cursor: pointer; font-weight: 600; color: var(--ink-2); }
.add-student:hover { border-color: var(--brass); color: var(--brass-2); }
.signed { display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line-soft); background: var(--paper); border-radius: var(--r); margin-bottom: 1rem; font-size: .9rem; }
.signed .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--brass); display: grid; place-items: center; font-family: var(--serif); }
.signed button { margin-left: auto; background: none; border: 0; color: var(--slate); cursor: pointer; font-size: .8rem; text-decoration: underline; }

/* add buttons on cards and in the expanded panel */
.course-card .add, .expand .add-course { display: inline-flex; align-items: center; gap: .4rem; }
.course-card .add.on, .expand .add-course.on { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.expand .sessions .pick-sec { background: var(--ink); color: var(--ivory); border: 0; border-radius: 999px; padding: .35rem .7rem; font-size: .72rem; font-weight: 600; cursor: pointer; }
.expand .sessions .pick-sec:hover { background: var(--brass); color: var(--ink); }
.expand .sessions .pick-sec.on { background: var(--brass); color: var(--ink); }
.toast { z-index: 90; }

@media (max-width: 520px) {
  .student-block .sb-course { grid-template-columns: 1fr auto; }
  .student-block .sb-course select { grid-column: 1 / -1; max-width: none; width: 100%; }
}

/* ---------- schedule: one concise page ---------- */
.sched-head { padding: clamp(2.5rem, 4vw, 4rem) 0 1.5rem; }
.sched-head .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.sched-head h1 { margin: 0 0 .5rem; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.sched-head .lede { margin: 0; max-width: 46em; }
.upnext-chip { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1rem; background: var(--ink); color: var(--ivory); border-radius: var(--r); font-size: .85rem; max-width: 100%; }
@media (max-width: 600px) { .upnext-chip { width: 100%; } .sched-head .top { gap: 1rem; } }
.upnext-chip .eyebrow { margin: 0; color: var(--brass); font-size: .62rem; }
.upnext-chip .eyebrow::before { width: 16px; }
.upnext-chip strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.year-strip { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: 1.5rem 0 0; }
.year-strip .lbl { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; margin-right: .4rem; }
.year-strip .yc { display: inline-flex; flex-direction: column; padding: .45rem .75rem; border: 1px solid var(--line-soft); background: var(--paper); border-radius: var(--r); font-size: .8rem; line-height: 1.25; }
.year-strip .yc b { font-family: var(--serif); font-weight: 500; font-size: .95rem; }
.year-strip .yc small { color: var(--slate); font-size: .7rem; }
.year-strip .yc.term { border-color: var(--brass); }
.year-strip .yc.past { opacity: .45; }
.year-strip .yc.next { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.year-strip .yc.next small { color: rgba(244,240,231,.65); }
.loc-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; margin-top: 1.5rem; }
@media (max-width: 1000px) { .loc-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .loc-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.loc-strip a { display: block; padding: .7rem .8rem; border: 1px solid var(--line-soft); background: var(--paper); border-radius: var(--r); text-decoration: none; color: var(--ink); font-size: .78rem; line-height: 1.35; }
.loc-strip a b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1rem; }
.loc-strip a small { color: var(--slate); display: block; }
.loc-strip a .days { color: var(--brass-2); font-weight: 600; letter-spacing: .06em; font-size: .68rem; }

/* ---------- the arming outline: gold line draws around a card, then it opens ---------- */
.course-card .arm { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.course-card .arm rect { fill: none; stroke: var(--brass); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s ease; }
.course-card.arming .arm rect { stroke-dashoffset: 0; transition: stroke-dashoffset var(--arm, 4.5s) linear; }
.course-card.arming { box-shadow: 0 30px 50px -35px rgba(16,24,39,.45); }
@media (hover: none), (max-width: 900px) { .course-card .arm { display: none; } }
@media (prefers-reduced-motion: reduce) { .course-card .arm rect { transition: none; } }

/* ============================================================
   Phone audit fixes
   ============================================================ */
@media (max-width: 900px) {
  /* text always leads on a phone; the visual follows */
  .row .row-text { order: 0; }
  .row .row-visual { order: 1; }
  /* hero portrait a little larger */
  .hero-stage .cutout { left: 0; right: 22%; }
}
@media (max-width: 760px) {
  /* one-line tray */
  .tray { top: 60px; }
  .tray .bar { flex-wrap: nowrap; gap: .5rem; min-height: 52px; padding: 0; }
  .tray .who span:not(.avatar) { display: none; }
  .tray .students { order: 0; flex: 1; }
  .tray .students button { padding: .3rem .65rem; font-size: .75rem; }
  .tray .btn.light { padding: .5rem .8rem; font-size: .78rem; white-space: nowrap; }
}
@media (max-width: 700px) {
  /* schedule: compact list rows, two filters per line, readable strips */
  .filters label { flex: 1 1 45%; }
  .session { grid-template-columns: 1fr auto; gap: .15rem .75rem; padding: .8rem 0; align-items: center; }
  .session .time { grid-column: 1; font-size: .95rem; }
  .session .course { grid-column: 1; }
  .session .course small { display: inline; margin-left: .35rem; }
  .session .loc { grid-column: 1; font-size: .85rem; }
  .session .loc small { display: inline; margin-left: .35rem; }
  .session .fmt { grid-column: 1; }
  .session .act { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .session .act .btn { width: auto; }
  .upnext-chip .eyebrow { white-space: nowrap; font-size: .68rem; }
  .loc-strip a small, .loc-strip a .days { font-size: .78rem; }
  .fan .mini .tag { font-size: .74rem; }
}
/* touch: comfortable targets */
@media (hover: none) {
  .link { display: inline-block; padding: .45rem 0; }
  .flip-btn { width: 42px; height: 42px; }
  .crumbs a { display: inline-block; padding: .35rem 0; }
}
