/* =========================================================================
   CISOSE 2027 Congress — V6.0 homepage (compact) + details page composition
   Site-specific layout only. Colours, type, spacing and motion come from
   design-system/tokens.css; shared UI from shared-components/.
   ========================================================================= */

/* ======================= 1. HERO — left copy / right image ======================= */
/* V6.0: minimal hero — full logo + "CISOSE 2027" on the left; the confirmed hero image
   (assets/congress-hero-v6.*, illustrative only) on the right, bleeding to the page edge and fading
   softly into the white logo zone. The image carries its own teal light waves, so the hero has no SVG
   wave band (the footer band is unchanged). The logo PNG is opaque white: its zone stays pure white. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hero-pt: clamp(1.25rem, 0.5rem + 2vw, 2.25rem);
  --hero-pb: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding-block: var(--hero-pt) var(--hero-pb);
  /* white where the logo sits, then fading out to transparent so the bottom edge shows <main>'s own light-blue
     wash (V6.6.3: it used to end on a solid ice-50, a shade lighter than the wash at that height — a visible step) */
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-white) 68%, rgb(255 255 255 / 0) 100%);
}
.hero__grid {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0; }
}
/* Layers inside the hero: image (0) → logo + title (2). */
.hero__copy { position: relative; z-index: 2; }
/* V6.2 desktop: the logo + title group is centred vertically in the full hero height (flex, no offsets). */
@media (min-width: 62rem) {
  .hero { --hero-pb: var(--hero-pt); }   /* equal top / bottom padding: the centre of the copy row is the centre of the hero */
  .hero__copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}
/* Full shared logo, first item of the left column — no card, border or shadow; never upscaled (native 471px). */
.hero__brand { width: min(100%, 26rem); }
.hero__brand .brand-logo { display: block; width: 100%; }
.hero__title {
  margin-top: 1.25rem;
  font-size: clamp(2.75rem, 1.5rem + 3.8vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  /* V6.2: the title box hugs the capitals (no empty leading above / below), so the logo + title group is
     centred on what is actually visible. Unsupported browsers ignore it (previous rendering). */
  text-box: trim-both cap alphabetic;
}
.hero__title-main { color: var(--c-navy-900); }
.hero__title-year {
  background: linear-gradient(100deg, var(--c-teal-700) 5%, var(--c-blue-700) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero image. Stacked layouts (< 62rem): building-focused crop as a rounded panel. */
.hero__visual { position: relative; margin: 0; }
.hero__media { display: block; }
.hero__img {
  position: relative; z-index: 0;
  display: block; width: 100%; height: auto;
  aspect-ratio: 640 / 500;            /* matches the crop sources; prevents layout shift */
  object-fit: cover; object-position: 60% 50%;
  border-radius: var(--radius-lg);
}
/* V6.1 tablet (stacked, 40–62rem): a wider 3:2 frame so the hero does not dominate the first screen;
   anchored to the top so the dome stays whole (only the lower lawn is trimmed). */
@media (min-width: 40rem) and (max-width: 61.99rem) {
  .hero__img { aspect-ratio: 3 / 2; object-position: 50% 0%; }
}
@media (min-width: 62rem) {
  /* Bleed to the viewport edge (also beyond the 1360px container), from the top of the hero to its
     bottom edge. Left edge and bottom edge fade into the white page (masks intersected). */
  .hero__visual {
    margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--container-wide)) / 2 - var(--gutter))));
    margin-block: calc(-1 * var(--hero-pt)) calc(-1 * var(--hero-pb));
    align-self: stretch;
  }
  .hero__img {
    aspect-ratio: 2 / 1; height: auto;
    object-position: 100% 50%;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%), linear-gradient(180deg, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%), linear-gradient(180deg, #000 86%, transparent 100%);
    mask-composite: intersect;
  }
}

/* V6.4 — one layout frame from laptop to 34" ultra-wide (two-column hero, ≥ 62rem).
   • Frame: the shared container (same left edge as the header logo and the info cards).
   • Image: 2:1, anchored to the browser's right edge, width = the V6.0 size but capped at 90rem (1440px)
     and at 124vh (never taller than ~62% of the screen) — it no longer grows without limit on wide screens.
   • Left column = everything between the container's left edge and the image; the logo + title group is
     centred in it horizontally and vertically (grid centring, no offsets), keeping its own left alignment. */
@media (min-width: 62rem) {
  .hero {
    --hero-cw: min(100vw - 2 * var(--gutter), var(--container-wide));            /* container content width */
    --hero-bleed: calc((100vw - var(--hero-cw)) / 2);                              /* container edge → browser edge */
    --hero-img-w: min(calc(var(--hero-cw) * 0.6 + var(--hero-bleed)), 90rem, 124vh);
  }
  .hero__grid { grid-template-columns: minmax(0, 1fr) max(0px, calc(var(--hero-img-w) - var(--hero-bleed))); }
  .hero__visual { width: var(--hero-img-w); justify-self: end; margin-right: calc(-1 * var(--hero-bleed)); }
  .hero__copy {
    display: grid;
    grid-template-columns: minmax(0, max-content);
    align-content: center;      /* vertical centre (the column is stretched to the hero height) */
    justify-content: center;    /* horizontal centre of the group within the left column */
    justify-items: start;       /* logo and title keep their shared left edge */
  }
  .hero__brand { width: 26rem; max-width: 100%; }   /* same 416px logo (never upscaled), shrinks only if the column is narrower */
}
/* V6.4.4 (desktop ≥ 80rem / 1280px; tablet and phone layouts unchanged): the hero no longer uses the browser
   edge as its end. One centred frame (max 90rem / 1440px), split 45 : 55 between the logo group and the
   picture, all by grid / percentages — no pixel offsets.
   • The image stays 2:1 and unstretched. Its left 20% is the asset's own fade into white, so the image box
     reaches back under the white column by exactly that much (width 125% of the picture column, left margin
     -25%): the visible picture starts at the 45% line and ends at the frame's right edge.
   • The fade is fully transparent for its first 12% (the logo PNG is opaque white: no white box may show) and
     reaches full opacity at 28%.
   • Beyond the frame only a soft background tint remains (no building). The right edge of the picture fades
     out over its last 6% so the frame boundary never reads as a cut line. */
@media (min-width: 80rem) {
  .hero {
    background:
      radial-gradient(42% 70% at 100% 38%, rgb(159 208 238 / 0.28), transparent 72%),
      linear-gradient(180deg, var(--c-white) 0%, var(--c-white) 68%, rgb(255 255 255 / 0) 100%);
  }
  .hero > .hero__grid { max-width: calc(90rem + 2 * var(--gutter)); }
  .hero__grid { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
  .hero__visual { width: auto; justify-self: stretch; margin-left: 0; margin-right: 0; }
  /* V6.4.5: the picture ends on the content edge used by the cards below (1360px container), not on the wider
     1440px hero frame — shifted left by half the difference of the two widths (40px when both are at their max,
     less on narrower screens). Same size, so the hero height and the logo group stay exactly where they were. */
  .hero { --hero-shift: calc((min(100vw - 2 * var(--gutter), 90rem) - var(--hero-cw)) / 2); }
  .hero__img {
    width: 125%; max-width: none; margin-left: calc(-25% - var(--hero-shift));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, #000 28%, #000 94%, transparent 100%), linear-gradient(180deg, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, #000 28%, #000 94%, transparent 100%), linear-gradient(180deg, #000 86%, transparent 100%);
  }
}

/* ======================= 1b. OVERVIEW — About · Call for Papers · Important Dates ======================= */
.overview { padding-block: var(--sp-6) var(--sp-5); }
.overview__grid { display: grid; gap: clamp(1rem, 0.6rem + 1vw, 1.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) {
  .overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov--dates { grid-column: 1 / -1; }
}
@media (min-width: 75rem) {
  .overview__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.6fr); }
  .ov--dates { grid-column: auto; }
}
.ov {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(1.25rem, 0.9rem + 0.9vw, 1.75rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  /* V6.6.2: all three info cards share one static light gradient (design-system/tokens.css --gradient-info-card),
     the same border, radius and shadow — no per-card surface overrides below. */
  background-color: var(--c-white);
  background-image: var(--gradient-info-card);
  box-shadow: inset 0 1px 0 var(--c-white), 0 1px 2px rgb(11 37 69 / 0.05), 0 16px 36px -20px rgb(15 92 153 / 0.32);
}
.ov > p { font-size: var(--fs-sm); position: relative; }
.ov__title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-xl);
}
.ov__title::before { content: ""; flex: none; width: 4px; height: 1.15em; border-radius: 2px; background: var(--c-teal-700); }
.ov--dates .ov__title::before, .ov--venue .ov__title::before { display: none; }
.ov__more { align-self: flex-start; margin-top: auto; position: relative; }
.ov__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 2.75rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}
.ov__link:hover { text-decoration: underline; }
/* V6.2 — Conference Venue (was About). V6.6.2: surface comes from the shared .ov gradient. */
/* University name (prominent) and city on its own line; long names wrap, never overflow. */
.ov__venue { position: relative; display: flex; flex-direction: column; gap: var(--sp-1); overflow-wrap: anywhere; }
.ov__venue-name { font-size: var(--fs-lg); font-weight: var(--fw-bold); line-height: var(--lh-snug); color: var(--color-heading); }
.ov__venue-city { font-size: var(--fs-sm); color: var(--color-text-muted); }
.ov__venue-date { font-size: var(--fs-sm); font-weight: var(--fw-semibold, 600); color: var(--c-teal-700); } /* confirmed congress dates */
/* V6.5 — venue image slot, in the flow between the address and the link (never behind text).
   Side by side (≥ 48rem) it takes the card's spare height, so the three cards keep one shared height;
   stacked it has a fixed banner ratio. Holds an <svg> placeholder now, an <img> once one is approved. */
.ov__media {
  position: relative;
  margin: 0;   /* the slot is a <figure> once it holds an image */
  flex: 1 1 auto;
  min-height: 6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--c-ice-100);
  overflow: hidden;
}
.ov__media-art, .ov__media-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 47.99rem) { .ov__media { flex: none; min-height: 0; aspect-ratio: 16 / 7; } }

/* V6.6.1 — Call for Papers: navy title, navy-blue body text, solid teal button. V6.6.2: surface, border, radius
   and shadow come from the shared .ov gradient card; the research data network art (with its own bloom and halo)
   keeps its cyan-teal accent (art colours in congress/index.html). */
.ov--cfp > :not(.ov__art) { position: relative; z-index: 1; }
.ov--cfp .ov__title::before { display: none; }   /* no bar / icon: left-aligned title like Venue and Important Dates */
.ov--cfp > p { color: var(--color-text); max-width: 30ch; line-height: 1.55; }
.ov--cfp .ov__link {
  padding-inline: var(--sp-4);
  border-radius: var(--radius-pill);
  background: var(--c-teal-700);
  color: var(--c-white);
  box-shadow: 0 6px 16px -8px rgb(8 117 122 / 0.55);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.ov--cfp .ov__link:hover { background: var(--c-teal-800); color: var(--c-white); }
.ov--cfp .ov__link:focus-visible { outline: 3px solid var(--c-blue-700); outline-offset: 3px; }

/* V5.9 — homepage page background: a light blue wash behind the content (the hero and footer bands
   carry their own colour). Ends in white so the footer band starts without a seam. */
main.tech-waves-host { background: linear-gradient(180deg, var(--c-white) 0%, var(--c-ice-50) 30%, #e8f3fa 75%, var(--c-white) 100%); }
/* V6.6.3 — side contour lines start below the hero. They used to span all of <main> (top: 0) underneath the opaque
   hero, so their built-in top fade was spent hidden behind it and the lines appeared at full strength, cut straight,
   at the hero's bottom edge. <main> is now a one-column grid (sections in source order, one per row) and each
   absolutely positioned strip is placed from row 2 (the info cards) to the end: its box — and its own top fade —
   begins at the hero's bottom edge. Same sections, widths and positions; nothing else is laid out differently. */
main.tech-waves-host { display: grid; grid-template-columns: minmax(0, 1fr); }
main.tech-waves-host > .tech-waves--side { grid-row: 2 / auto; grid-column: 1; }
.ov__art { position: absolute; right: -0.5rem; bottom: -0.75rem; width: min(58%, 14rem); height: auto; pointer-events: none; }

/* ---- V6.6 CFP research data network (inside the aria-hidden .ov__art SVG; markup in congress/index.html) ----
   Breathing node glows (6 s, staggered), light dots travelling along three links (6.5 s) and a soft halo behind the
   paper (7 s). Only opacity and stroke-dashoffset animate (no filters, no layout), so scrolling and clicks are
   unaffected. Desktop: full network · tablet: drawn closer around the paper · phone: simplified (.cfp-net__x hidden). */
.cfp-net { transform-box: view-box; transform-origin: 156px 88px; }
.cfp-net__glows circle { opacity: 0.7; animation: cfp-breathe 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.75s); }
.cfp-net__flow { stroke-dashoffset: 0; animation: cfp-flow 6.5s linear infinite; animation-delay: calc(var(--i, 0) * -2.2s); }
.cfp-net__halo { opacity: 0.7; animation: cfp-halo 7s ease-in-out infinite; }
@keyframes cfp-breathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes cfp-flow { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
@keyframes cfp-halo { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }
@media (min-width: 40rem) and (max-width: 74.99rem) { .cfp-net { transform: scale(0.9); } }
@media (max-width: 39.99rem) { .cfp-net__x { display: none; } .cfp-net { transform: scale(0.94); } }
/* V6.6.1: on narrow phones the longer invitation text reaches the art's top edge — the art box is a little smaller
   there (same anchor bottom-right, same network), so text, paper and nodes never overlap and the card does not grow. */
@media (max-width: 29.99rem) { .ov--cfp .ov__art { width: min(46%, 11rem); } .ov--cfp > p { max-width: 28ch; } }
/* Reduced motion: the network stays as a static pattern (glows half-lit, one resting dot per link). */
@media (prefers-reduced-motion: reduce) {
  .cfp-net__glows circle, .cfp-net__flow, .cfp-net__halo { animation: none; }
  .cfp-net__flow { stroke-dashoffset: 30; }
}

/* Important Dates. V6.6.2: surface comes from the shared .ov gradient. */

/* ---- V6.6.3 Academic Milestone Step Chart (markup and coordinate notes in congress/index.html) ----
   One <ol> carries the content (stage + date per milestone); each <li> sets --x (time, to scale: days since Feb 1
   ÷ 150, the Feb 1 → Jul 1 window) and --y (stage row, order only). Wide cards (≥ 36rem): an X–Y chart — stage names
   form the Y axis, months the X axis, one teal node per milestone on a horizontal/vertical step line, and each date
   once, as a small tag just above its node (above-left, the first above-right: the free corner of every step).
   Phones (< 36rem): the same list as a vertical four-stage timeline. Static: no script, no animation needed. */
.ms-chart { position: relative; margin: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.ms-chart__list { list-style: none; position: relative; }
.ms__stage { color: var(--color-heading); font-weight: var(--fw-semibold); line-height: 1.25; }
.ms__date { font-weight: var(--fw-bold); color: var(--color-heading); white-space: nowrap; }
.ms__node {
  position: absolute;
  width: 0.875rem; height: 0.875rem;
  border-radius: 50%;
  background: var(--c-teal-600);
  border: 3px solid var(--c-white);
  box-shadow: 0 0 0 1.5px var(--c-teal-600), 0 2px 6px rgb(8 117 122 / 0.35);
}
/* Phones: vertical four-stage timeline (date, then stage), nodes on a teal rail. */
.ms-chart__frame { display: none; }
.ms-chart__list { display: grid; gap: var(--sp-4); margin-top: var(--sp-1); padding-left: 1.75rem; }
.ms { position: relative; display: flex; flex-direction: column; gap: 0.125rem; }
.ms .ms__date { order: -1; font-size: var(--fs-base); }
.ms .ms__stage { font-size: var(--fs-sm); font-weight: var(--fw-regular); color: var(--color-text); }
.ms .ms__node { left: -1.75rem; top: 0.3rem; }
/* rail: from each node down to the next one (none after the last) */
.ms:not(:last-child)::before { content: ""; position: absolute; left: calc(-1.75rem + 0.4375rem - 1px); top: 0.75rem; height: calc(100% + var(--sp-4)); width: 2px; background: var(--c-teal-600); }

@media (min-width: 36rem) {
  .ms-chart {
    /* plot box inside the chart: left gutter = Y-axis stage names, bottom gutter = months */
    --gl: 8.5rem; --gr: 0.5rem; --gt: 1.25rem; --gb: 1.75rem;
    min-height: 13.75rem;
  }
  .ms-chart__frame { display: block; }
  .ms-chart__plot {
    position: absolute; left: var(--gl); top: var(--gt);
    width: calc(100% - var(--gl) - var(--gr)); height: calc(100% - var(--gt) - var(--gb));
    overflow: visible;
  }
  .ms-chart__grid path { stroke: var(--c-ice-200); stroke-width: 1; }
  .ms-chart__grid .ms-chart__rows { stroke: var(--c-ice-300); stroke-dasharray: 2 5; opacity: 0.7; }
  .ms-chart__axes { stroke: var(--c-ice-300); stroke-width: 1.5; }
  .ms-chart__step { stroke: var(--c-teal-600); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
  .ms-chart__months { list-style: none; }
  .ms-chart__months li,
  .ms-chart__axis-title { position: absolute; font-size: var(--fs-xs); line-height: 1.2; color: var(--color-text-muted); white-space: nowrap; }
  .ms-chart__months li { left: calc(var(--gl) + var(--x) * (100% - var(--gl) - var(--gr))); top: calc(100% - var(--gb) + 0.375rem); transform: translateX(-50%); }
  .ms-chart__axis-title { font-weight: var(--fw-semibold); letter-spacing: 0.02em; }
  .ms-chart__axis-title--y { left: 0; top: 0; }
  .ms-chart__axis-title--x { right: calc(100% - var(--gl) + 0.75rem); top: calc(100% - var(--gb) + 0.375rem); }
  .ms-chart__axis-note { font-weight: var(--fw-regular); }

  .ms-chart__list { position: absolute; inset: 0; display: block; margin: 0; padding: 0; }
  .ms:not(:last-child)::before { content: none; }
  .ms { position: static; display: block; }
  .ms {
    --px: calc(var(--gl) + var(--x) * (100% - var(--gl) - var(--gr)));
    --py: calc(var(--gt) + var(--y) * (100% - var(--gt) - var(--gb)));
  }
  .ms .ms__node { left: var(--px); top: var(--py); margin: -0.4375rem 0 0 -0.4375rem; }
  /* Y axis: stage name, right-aligned against the axis on its row */
  .ms .ms__stage {
    position: absolute; right: calc(100% - var(--gl) + 0.75rem); top: var(--py); transform: translateY(-50%);
    width: calc(var(--gl) - 0.75rem); text-align: right;
    font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--color-heading);
  }
  /* Date tag: just above its node, ending at the node (the free upper-left corner of each step) */
  .ms .ms__date {
    position: absolute; left: var(--px); top: var(--py);
    transform: translate(calc(-100% + 0.625rem), calc(-100% - 0.75rem));
    padding: 0.125rem 0.5rem;
    border: 1px solid var(--c-ice-200);
    border-radius: var(--radius-pill);
    background: var(--c-white);
    box-shadow: var(--shadow-sm);
    font-size: var(--fs-xs); line-height: 1.35;
  }
  /* First milestone sits on the Y axis: its tag opens to the right (above its own horizontal step) */
  .ms[data-anchor="start"] .ms__date { transform: translate(-0.625rem, calc(-100% - 0.75rem)); }
}

/* ======================= 1c. SUB-CONFERENCES — eight cards ======================= */
/* V6.6.2: no visible section title — the heading is screen-reader only (.visually-hidden in index.html), so the
   cards follow the info cards directly; the top padding alone separates the two groups. */
.subconf { padding-block: var(--sp-5) var(--sp-8); }
.sc-grid { list-style: none; display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40rem) { .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .sc-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.sc-card { display: flex; }
.sc-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.sc-card__link:hover,
.sc-card__link:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-ice-300); color: inherit; }
.sc-card__art { display: block; }
.sc-card__art svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* Approved raster artwork (registry cardImage) uses the same 16:9 box as the SVG, cropped from the centre. */
.sc-card__art { background: var(--c-navy-900); overflow: hidden; }
/* Trim a light band along a source image's top edge: uniform zoom anchored at the bottom centre, so the
   top (and a sliver of each side) leaves the clipped box. Never stretched; --trim-top is a 0–0.1 fraction. */
.img-trim-top { transform-origin: 50% 100%; transform: scale(calc(1 / (1 - var(--trim-top, 0)))); }
.sc-card__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
/* V6.7: one name line per card ("IEEE JCC"): same font, weight, padding and left alignment on every card. */
.sc-card__body { padding: var(--sp-2) var(--sp-3); }
.sc-card__acr {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Card entrance animation (states switched by congress/congress.js) ----
   V6.6.3: a calm fade-up instead of the sideways converge. Each card rises 12px and fades in over 900ms on a smooth
   ease-out curve; neighbours start 150ms apart in reading order (card 8 finishes at ~1.95s). Only opacity and
   transform animate. Hidden only under .is-armed, which congress.js sets itself once it can show the cards again:
   without JavaScript, if the script fails, or without IntersectionObserver the cards are simply visible. */
.subconf { overflow-x: clip; }   /* belt and braces: nothing in flight may ever cause a horizontal scrollbar */
.sc-grid { --sc-rise: 12px; --sc-dur: 900ms; --sc-step: 150ms; --sc-ease: cubic-bezier(0.22, 0.61, 0.36, 1); }
.sc-card { --i: 0; }
.sc-card:nth-child(2) { --i: 1; } .sc-card:nth-child(3) { --i: 2; } .sc-card:nth-child(4) { --i: 3; }
.sc-card:nth-child(5) { --i: 4; } .sc-card:nth-child(6) { --i: 5; } .sc-card:nth-child(7) { --i: 6; }
.sc-card:nth-child(8) { --i: 7; }
.sc-grid[data-converge].is-armed .sc-card { opacity: 0; transform: translateY(var(--sc-rise)); }
.sc-grid[data-converge].is-armed.is-in .sc-card {
  opacity: 1;
  transform: none;
  transition: opacity var(--sc-dur) var(--sc-ease) calc(var(--i) * var(--sc-step)),
              transform var(--sc-dur) var(--sc-ease) calc(var(--i) * var(--sc-step));
}
.sc-grid[data-converge].is-armed.is-instant .sc-card { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .sc-grid[data-converge].is-armed .sc-card,
  .sc-grid[data-converge].is-armed.is-in .sc-card { opacity: 1; transform: none; transition: none; }
}
@media print { .sc-grid[data-converge].is-armed .sc-card { opacity: 1; transform: none; } }

/* ---- V6.6.4 Technology Matrix (accepted Demo B, demos/subconference-matrix-v6.6.4.html) ----
   Interaction layer on .sc-grid--matrix. Layers never fight the entrance animation: the entrance animates the
   <li> (.sc-card: opacity + translateY), the hover lift moves the inner link, and the halo / click ring are the
   <li>'s own pseudo-elements, so they follow the entrance offset and simply add to it.
   Motion is transform / opacity only; the glow is a pre-painted shadow layer that fades in (no animated
   box-shadow, no filters). Hover visuals apply only on devices that can hover (no sticky hover after a tap);
   keyboard focus gets the same look everywhere. Without JS: CSS :hover / :focus-visible still glow and scan;
   congress.js only lets a started scan finish, adds the click ring and pauses the rail off-screen. */
.sc-grid--matrix {
  --mx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mx-dur: 300ms;
  --mx-lift: -4px;
  --mx-scan: 1.2s;
  --mx-cyan: 95 210 224;    /* #5fd2e0 */
  --mx-teal: 43 196 191;    /* #2bc4bf (teal-400) */
  position: relative;
}
.sc-grid--matrix .sc-card { position: relative; }
.sc-grid--matrix .sc-card__link {
  position: relative; z-index: 1;
  transition: transform var(--mx-dur) var(--mx-ease), border-color var(--mx-dur) var(--mx-ease), box-shadow var(--mx-dur) var(--mx-ease);
}
/* 1. Lift + glowing border. Halo: a layer behind the card with its shadow already painted; only opacity / position change. */
.sc-grid--matrix .sc-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgb(var(--mx-teal) / 0.55), 0 0 18px 2px rgb(var(--mx-cyan) / 0.32), 0 12px 26px -12px rgb(15 92 153 / 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--mx-dur) var(--mx-ease), transform var(--mx-dur) var(--mx-ease);
}
.sc-grid--matrix .sc-card__link:focus-visible { transform: translateY(var(--mx-lift)); border-color: rgb(var(--mx-teal) / 0.7); box-shadow: var(--shadow-sm); }
.sc-grid--matrix .sc-card:has(.sc-card__link:focus-visible)::after { opacity: 1; transform: translateY(var(--mx-lift)); }
/* Keyboard: the shared 3px focus outline stays (clearer than colour alone). */
.sc-grid--matrix .sc-card__link:focus-visible { outline: 3px solid var(--c-blue-700); outline-offset: 3px; border-radius: var(--radius-md); }
@media (hover: hover) {
  .sc-grid--matrix .sc-card:hover .sc-card__link { transform: translateY(var(--mx-lift)); border-color: rgb(var(--mx-teal) / 0.7); box-shadow: var(--shadow-sm); }
  .sc-grid--matrix .sc-card:hover::after { opacity: 1; transform: translateY(var(--mx-lift)); }
}
/* Touch-only devices: no hover look at all (the base .sc-card__link:hover lift would stick after a tap). */
@media (hover: none) { .sc-grid--matrix .sc-card__link:hover:not(:focus-visible) { transform: none; box-shadow: var(--shadow-sm); border-color: var(--color-border); } }

/* 2. Image: slight brightening (overlay opacity, no filter) + one top-to-bottom scan band. */
.sc-grid--matrix .sc-card__art { position: relative; }
.sc-grid--matrix .sc-card__art::before,
.sc-grid--matrix .sc-card__art::after { content: ""; position: absolute; pointer-events: none; }
.sc-grid--matrix .sc-card__art::before {
  inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.10), rgb(var(--mx-cyan) / 0.06));
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity var(--mx-dur) var(--mx-ease);
}
.sc-grid--matrix .sc-card:has(.sc-card__link:focus-visible) .sc-card__art::before { opacity: 1; }
@media (hover: hover) { .sc-grid--matrix .sc-card:hover .sc-card__art::before { opacity: 1; } }
/* Scan band: 38% of the image tall, starts just above the image, ends just below it (translateY in its own height). */
.sc-grid--matrix .sc-card__art::after {
  left: 0; right: 0; top: -38%; height: 38%; z-index: 2;
  background: linear-gradient(180deg,
    rgb(var(--mx-cyan) / 0) 0%,
    rgb(var(--mx-cyan) / 0.10) 40%,
    rgb(var(--mx-teal) / 0.30) 78%,
    rgb(220 250 252 / 0.42) 88%,
    rgb(var(--mx-cyan) / 0) 100%);
  opacity: 0;
  transform: translateY(0);
}
@keyframes mx-scan {
  0%   { transform: translateY(0);    opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(363%); opacity: 0; }   /* (100% + 38%) / 38% ≈ 3.63 band heights: fully past the bottom */
}
/* Without JS: CSS hover / focus starts the scan. With JS (.is-enhanced) a class runs it once to the end, so leaving
   mid-scan lets the band finish and fade instead of snapping away, and re-entering does not restart it. */
.sc-grid--matrix:not(.is-enhanced) .sc-card__link:focus-visible .sc-card__art::after,
.sc-grid--matrix.is-enhanced .sc-card.is-scanning .sc-card__art::after { animation: mx-scan var(--mx-scan) var(--mx-ease) 1 both; }
@media (hover: hover) { .sc-grid--matrix:not(.is-enhanced) .sc-card:hover .sc-card__art::after { animation: mx-scan var(--mx-scan) var(--mx-ease) 1 both; } }

/* 3. Click / Enter feedback: a soft ring that opens and fades (~200ms); navigation is never delayed. */
.sc-grid--matrix .sc-card::before {
  content: "";
  position: absolute; inset: -3px; z-index: 2;
  border-radius: calc(var(--radius-md) + 3px);
  border: 2px solid rgb(var(--mx-teal) / 0.85);
  opacity: 0;
  pointer-events: none;
}
.sc-grid--matrix .sc-card.is-pulse::before { animation: mx-pulse 200ms ease-out 1; }
@keyframes mx-pulse {
  0%   { opacity: 0.9; transform: translateY(var(--mx-lift)) scale(0.985); }
  100% { opacity: 0;   transform: translateY(var(--mx-lift)) scale(1.035); }
}

/* 4. Decorative rail under the row — one row of eight only (hidden on tablets and phones). Absolutely placed in the
   section's bottom padding, so the page layout does not change. Visual only: it does not represent any data exchange
   between the conferences. Paused while off-screen (congress.js) so it costs nothing when not seen. */
.mx-rail { display: none; }
@media (min-width: 75rem) {
  .subconf > .container { position: relative; }
  .mx-rail {
    display: block;
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + var(--sp-5));
    height: 10px;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .mx-rail__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -0.5px; background: linear-gradient(90deg, rgb(43 196 191 / 0.15), rgb(43 196 191 / 0.55) 50%, rgb(43 196 191 / 0.15)); }
  /* A full-width runner slides from -100% to 0: the dot on its right edge crosses the rail left → right (transform only). */
  .mx-rail__run { position: absolute; inset: 0; transform: translateX(-100%); animation: mx-run 9s linear infinite; animation-delay: var(--d, 0s); }
  .mx-rail.is-paused .mx-rail__run { animation-play-state: paused; }
  .mx-rail__dot {
    position: absolute; right: 0; top: 50%;
    width: 36px; height: 4px; margin-top: -2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgb(95 210 224 / 0), rgb(95 210 224 / 0.85) 70%, rgb(230 252 252 / 0.95));
  }
  @keyframes mx-run { from { transform: translateX(-100%); } to { transform: translateX(0); } }
}

/* Reduced motion: no lift, scan, pulse or travelling points; the glow and brightening stay as a static highlight. */
@media (prefers-reduced-motion: reduce) {
  .sc-grid--matrix .sc-card__link,
  .sc-grid--matrix .sc-card::after,
  .sc-grid--matrix .sc-card__art::before { transition: none; }
  .sc-grid--matrix .sc-card:hover .sc-card__link,
  .sc-grid--matrix .sc-card__link:focus-visible,
  .sc-grid--matrix .sc-card:hover::after,
  .sc-grid--matrix .sc-card:has(.sc-card__link:focus-visible)::after { transform: none; }
  .sc-grid--matrix .sc-card .sc-card__art::after,
  .sc-grid--matrix .sc-card.is-pulse::before { animation: none !important; opacity: 0; }
  .mx-rail__run { animation: none; transform: translateX(-50%); }   /* one resting point in the middle */
  .mx-rail__run + .mx-rail__run { display: none; }
}
@media print { .mx-rail { display: none; } }

/* ======================= DETAILS PAGE — intro ======================= */
.page-intro {
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--sp-4);
  background: linear-gradient(180deg, var(--c-ice-50), var(--c-white));
  border-bottom: 1px solid var(--color-border);
}
.page-intro__title { margin-top: var(--sp-3); font-size: var(--fs-3xl); }
.page-intro__lead { margin-top: var(--sp-3); color: var(--color-text-muted); }
.page-intro__back { margin-top: var(--sp-2); }

/* ======================= 2. IMPORTANT DATES — timeline rail ======================= */
.dates { background: var(--c-white); }
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--sp-4); padding-bottom: var(--sp-6); }
.timeline__item::before { /* vertical rail (mobile) */
  content: "";
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.25rem; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--c-teal-400), var(--c-ice-200));
}
.timeline__item:last-child::before { display: none; }
.timeline__marker {
  position: relative;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-teal-600);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-teal-700);
}
.timeline__item--key .timeline__marker { background: var(--c-navy-900); border-color: var(--c-navy-900); color: var(--c-white); }
.timeline__date {
  font-family: var(--font-mono);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--c-ice-300);
  letter-spacing: 0.02em;
}
.timeline__label { margin-top: var(--sp-2); font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--color-heading); }
.timeline__meta { margin-top: var(--sp-2); }

@media (min-width: 60rem) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-5); }
  .timeline__item { grid-template-columns: minmax(0, 1fr); row-gap: var(--sp-5); padding-bottom: 0; }
  .timeline__item::before { /* horizontal rail (desktop) */
    left: 2.25rem; right: calc(-1 * var(--sp-5)); top: calc(1.125rem - 1px); bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(90deg, var(--c-teal-400), var(--c-ice-200));
  }
}
.dates__footnote { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); }

/* ======================= 3. ABOUT — editorial split ======================= */
.about__grid { display: grid; gap: var(--sp-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .about__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--sp-9); } }
.about__statement {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-heading);
  max-width: 22ch;
}
.about__statement em { font-style: normal; color: var(--c-teal-700); }
.about__body { --stack-gap: var(--sp-4); }
.about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--sp-7);
  border-top: 1px solid var(--color-border);
}
.about__fact { padding: var(--sp-5) var(--sp-4) var(--sp-5) 0; border-bottom: 1px solid var(--color-border); }
.about__fact:nth-child(odd) { border-right: 1px solid var(--color-border); }
.about__fact:nth-child(even) { padding-left: var(--sp-5); }
.about__fact dt { font-size: var(--fs-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-muted); font-weight: var(--fw-semibold); }
.about__fact dd { margin-top: var(--sp-2); font-size: var(--fs-xl); font-weight: var(--fw-bold); color: var(--color-heading); }
.about__fact dd .tbc { font-size: var(--fs-xs); }

/* ======================= 4. CALL FOR PAPERS — light split ======================= */
.cfp { position: relative; overflow: hidden; }
.cfp::after { /* soft glow */
  content: "";
  position: absolute;
  width: 40rem; height: 40rem;
  right: -12rem; top: -14rem;
  background: radial-gradient(circle, rgb(43 196 191 / 0.12), transparent 65%);
  pointer-events: none;
}
.cfp__grid { position: relative; z-index: 1; display: grid; gap: var(--sp-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .cfp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); align-items: start; } }

.steps { list-style: none; counter-reset: step; display: grid; gap: var(--sp-2); }
.steps__item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--color-border);
}
.steps__item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-teal-700);
}
.steps__title { font-size: var(--fs-lg); color: var(--color-heading); }
.steps__text { margin-top: var(--sp-1); color: var(--color-text-muted); font-size: var(--fs-sm); }

.spec {
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.spec__title { font-size: var(--fs-xl); color: var(--color-heading); } /* explicit: card may sit inside an inverse section */
.spec__list { margin-top: var(--sp-5); display: grid; }
.spec__row { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: var(--sp-4) 0; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.spec__row dt { font-weight: var(--fw-semibold); color: var(--color-heading); }
.spec__note { margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--color-text-muted); }
.spec .btn { margin-top: var(--sp-5); width: 100%; white-space: normal; text-align: center; }
.cfp .tbc { background: var(--c-amber-50); }

/* ======================= 5. EIGHT CONFERENCES — seamless mosaic ======================= */
.confs__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-white);
}
@media (min-width: 48rem) { .confs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.conf {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-height: 12.5rem;
  padding: var(--sp-5);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--c-white);
  transition: background-color var(--dur-base) var(--ease-out);
}
.conf::before { /* accent bar grows on hover */
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--c-teal-400), var(--c-blue-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.conf:hover { background: var(--c-ice-50); }
.conf:hover::before { transform: scaleX(1); }
.conf__index { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-text-muted); }
.conf__acronym { margin-top: auto; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: var(--fw-bold); letter-spacing: -0.01em; line-height: 1; color: var(--color-heading); }
.conf__name { font-size: var(--fs-sm); }
.conf__name [lang="zh-CN"] { white-space: nowrap; }
.conf__status { margin-top: var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--color-text-muted); display: inline-flex; align-items: center; gap: var(--sp-2); }
.conf__status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 1.5px solid var(--c-teal-600); }
@media (max-width: 30rem) { .conf { min-height: 10rem; padding: var(--sp-4); } }

/* ======================= 6. COMMITTEES — sticky heading + role rows ======================= */
.committees__grid { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) {
  .committees__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-9); }
  .committees__head { position: sticky; top: calc(var(--header-h) + var(--sp-6)); align-self: start; margin-bottom: 0; }
}
.roles { list-style: none; border-top: 1px solid var(--color-border); }
.role {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--color-border);
}
.role__name { font-size: var(--fs-lg); }
.role__members { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; color: var(--color-text-muted); font-size: var(--fs-sm); }
.avatars { display: inline-flex; }
.avatars span {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1.5px dashed var(--c-ice-300);
  background: var(--c-ice-50);
  margin-left: -0.5rem;
}
.avatars span:first-child { margin-left: 0; }

/* ======================= 7. PROGRAM — schedule matrix ======================= */
.program__frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.program__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--color-border); background: var(--c-ice-50); }
.program__bar-title { font-size: var(--fs-base); }
.program__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.program__scroll:focus-visible { outline-offset: -3px; }
.schedule { width: 100%; min-width: 48rem; border-collapse: separate; border-spacing: 6px; font-size: var(--fs-sm); padding: var(--sp-2); }
.schedule th, .schedule td { text-align: left; vertical-align: middle; }
.schedule thead th { padding: var(--sp-2) var(--sp-3); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--color-text-muted); font-weight: var(--fw-semibold); }
.schedule tbody th { width: 7.5rem; padding: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-text-muted); font-weight: var(--fw-medium); white-space: nowrap; }
.slot { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); background: var(--c-ice-50); border: 1px dashed var(--c-ice-300); color: var(--color-text); }
/* Placeholder cells: names describe shape only, never a session type. */
.slot--wide { background: var(--c-navy-900); border: 0; color: var(--c-white); font-weight: var(--fw-semibold); }
.slot--cell { background: var(--c-teal-50); border-color: #a6dedb; text-align: center; font-weight: var(--fw-semibold); color: var(--c-teal-800); font-size: var(--fs-xs); line-height: 1.35; padding-inline: var(--sp-2); }
.slot--group { background: var(--c-ice-100); border-style: solid; border-color: var(--c-ice-200); font-weight: var(--fw-semibold); color: var(--color-heading); }
.program__note { max-width: none; padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--color-border); font-size: var(--fs-xs); color: var(--color-text-muted); }
.program__hint { display: none; }
@media (max-width: 50rem) { .program__hint { display: block; padding: var(--sp-3) var(--sp-5) 0; font-size: var(--fs-xs); color: var(--color-text-muted); } }

/* ======================= 8. REGISTRATION — fee table + aside ======================= */
.reg__grid { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .reg__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--sp-7); align-items: start; } }
/* Native table semantics at every width; narrow screens scroll the table inside its own region. */
.fees-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.fees-scroll:focus-visible { outline-offset: 2px; }
.fees { width: 100%; min-width: 18rem; border-collapse: collapse; }
.fees caption { text-align: left; caption-side: top; padding: var(--sp-4) var(--sp-5) var(--sp-3); font-size: var(--fs-sm); color: var(--color-text-muted); }
.fees th, .fees td { padding: var(--sp-4) var(--sp-5); text-align: left; border-bottom: 1px solid var(--color-border); }
.fees thead th { background: var(--c-navy-900); color: var(--c-white); font-size: var(--fs-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; font-weight: var(--fw-semibold); }
.fees tbody th { font-weight: var(--fw-semibold); color: var(--color-heading); }
.fees tbody tr:last-child > * { border-bottom: 0; }
.fees tbody tr:hover > * { background: var(--c-ice-50); }
@media (max-width: 36rem) {
  .fees th, .fees td { padding: var(--sp-3) var(--sp-3); }
  .fees th:first-child, .fees td:first-child { padding-left: var(--sp-4); }
  .fees thead th { letter-spacing: 0.06em; }
}
.reg__aside { padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--c-white); border: 1px solid var(--color-border); }
.reg__aside h3 { font-size: var(--fs-lg); }
.checklist { list-style: none; margin-top: var(--sp-4); display: grid; gap: var(--sp-3); }
.checklist li { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; padding-bottom: var(--sp-3); border-bottom: 1px dashed var(--color-border); }
.checklist li:last-child { border-bottom: 0; }
.reg__aside .btn { margin-top: var(--sp-5); width: 100%; white-space: normal; text-align: center; }

/* ======================= 9. VENUE — map split ======================= */
.venue__grid { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 60rem) { .venue__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-8); } }
.map {
  position: relative;
  min-height: 20rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-ice-100);
  border: 1px solid var(--color-border);
}
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__caption {
  position: absolute;
  left: var(--sp-4); bottom: var(--sp-4); right: var(--sp-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.92);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
}
.venue__list { display: grid; gap: 0; border-top: 1px solid var(--c-ice-300); }
.venue__item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--c-ice-300); }
.venue__icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--c-white); color: var(--c-teal-700); }
.venue__icon svg { width: 1.25rem; height: 1.25rem; }
.venue__item h3 { font-size: var(--fs-base); }
.venue__item p { margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--color-text-muted); display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }
