/* ==========================================================================
   Quantum Days 2026 - styles
   ========================================================================== */

/* Fonts are served from this site (assets/fonts, SIL Open Font License), not from Google,
   so visitors' browsers do not contact any third party. Latin-ext covers č ć đ š ž. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --navy-950: #070b1f;
  --navy-900: #0b1026;
  --navy-800: #131a3d;
  --ink: #111735;
  --ink-soft: #3a4160;
  --muted: #5a6280;
  --line: #e2e5ef;
  --surface: #f5f6fb;
  --white: #fff;
  --accent: #6366f1;
  --accent-ink: #4338ca;
  --on-dark: rgba(255, 255, 255, .78);
  --on-dark-muted: rgba(255, 255, 255, .62);
  --lilac: #a5b4fc;

  /* The four parts */
  --computing: #7c3aed;
  --computing-soft: #f2edff;
  --communication: #0e7490;
  --communication-soft: #e2f5f9;
  --sensing: #b45309;
  --sensing-soft: #fdf1e1;
  --simulation: #be185d;
  --simulation-soft: #fdeaf2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 23, 53, .05), 0 10px 30px rgba(17, 23, 53, .06);
  --container: 1120px;
  --header-h: 68px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

.track--computing { --track: var(--computing); --track-soft: var(--computing-soft); }
.track--communication { --track: var(--communication); --track-soft: var(--communication-soft); }
.track--sensing { --track: var(--sensing); --track-soft: var(--sensing-soft); }
.track--simulation { --track: var(--simulation); --track-soft: var(--simulation-soft); }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

[hidden] { display: none !important; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

a { color: var(--accent-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid #818cf8; outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: #fff; color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  box-shadow: 0 8px 24px rgba(99, 102, 241, .35);
}
.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .05);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--dark { color: #fff; background: var(--navy-900); }
.btn--small { padding: 8px 16px; font-size: .88rem; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 38, .9);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand {
  display: flex; flex: none; align-items: center; gap: 10px; margin-right: auto;
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.brand svg { width: 30px; height: 30px; stroke: none; }
.brand__name span { color: var(--lilac); font-weight: 500; }

.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-menu a:not(.btn) {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--on-dark); text-decoration: none; font-size: .9rem; font-weight: 500;
}
.nav-menu a:not(.btn):hover,
.nav-menu a.is-active { color: #fff; background: rgba(255, 255, 255, .09); }

.nav-toggle {
  display: none; flex: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  color: #fff; background: transparent;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Language switch: current language highlighted, the other one is a link. */
.lang {
  display: inline-flex; flex: none; gap: 2px; padding: 3px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
}
.lang__item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 30px; padding: 0 10px; border-radius: 999px;
  color: var(--on-dark); text-decoration: none;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
}
a.lang__item:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.lang__item.is-current { color: var(--navy-900); background: #fff; }

/* Narrow phones: brand, language switch and menu button must fit on one row. */
@media (max-width: 420px) {
  .nav { gap: 8px; }
  .brand { gap: 8px; font-size: 1rem; }
  .brand svg { width: 26px; height: 26px; }
  .lang__item { min-width: 0; padding: 0 8px; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 374px) {
  .brand__name span { display: none; }
}

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px 16px 20px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu ul { flex-direction: column; }
  .nav-menu a:not(.btn) { padding: 12px; font-size: 1rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0 clamp(150px, 17vw, 220px);
  color: #fff;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(124, 58, 237, .5), transparent 60%),
    radial-gradient(900px 520px at -12% 28%, rgba(14, 116, 144, .5), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  margin-bottom: .5rem;
  color: var(--lilac);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.hero__title {
  margin: 0 0 .35em;
  font-size: clamp(2.7rem, 8vw, 5.2rem); font-weight: 700; letter-spacing: -.035em;
}
.gradient-text {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa 30%, #c084fc 65%, #d946ef);  /* violet to purple to magenta */
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lead { max-width: 660px; color: var(--on-dark); font-size: clamp(1.05rem, 2vw, 1.22rem); }

.hero__facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  max-width: 1040px; margin: 32px 0; padding: 0; list-style: none;
}
.hero__facts li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
}
.hero__facts svg { grid-row: span 2; width: 22px; height: 22px; color: var(--lilac); }
.hero__facts strong { font-weight: 600; }
.hero__facts span { color: var(--on-dark-muted); font-size: .85rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__countdown {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 28px 0 0; color: var(--on-dark); font-size: .9rem;
}
.hero__countdown::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2);
}
.hero__countdown:empty { display: none; }

.hero__waves {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: clamp(120px, 18vw, 230px);
  pointer-events: none;
}
.wave { fill: none; stroke-width: 2; animation: wave-drift linear infinite; }
.wave--1 { stroke: #a78bfa; opacity: .8; animation-duration: 28s; }
.wave--2 { stroke: #22d3ee; opacity: .6; animation-duration: 36s; animation-direction: reverse; }
.wave--3 { stroke: #fbbf24; opacity: .45; animation-duration: 22s; }
.wave--4 { stroke: #f472b6; opacity: .5; animation-duration: 30s; animation-direction: reverse; }

@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-1200px); } }

@media (max-width: 1080px) {
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: var(--surface); }
.section--dark { color: #fff; background: var(--navy-900); }

.section__head { max-width: 760px; margin-bottom: 40px; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section__lead { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__lead { color: var(--on-dark); }

.eyebrow {
  margin-bottom: .75em;
  color: var(--accent-ink);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.section--dark .eyebrow { color: var(--lilac); }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.about p { color: var(--ink-soft); font-size: 1.05rem; text-wrap: pretty; }
.about p strong { color: var(--ink); font-weight: 600; }

/* The meeting in numbers: one big 2 and one big 4, each shared by two facts.
   The dots repeat the count; on the 4 card they use the colours of the four parts. */
.stats { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.stat {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px;
  padding: 18px 28px 18px 24px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat__num {
  min-width: .75em;
  font-family: var(--font-display); font-size: clamp(4.5rem, 8vw, 6.25rem); font-weight: 700;
  line-height: .95; letter-spacing: -.04em; text-align: center;
  background: linear-gradient(135deg, var(--accent-ink), #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat--four .stat__num {
  background-image: linear-gradient(135deg, var(--computing), var(--communication) 40%, var(--sensing) 70%, var(--simulation));
}
.stat__rows { margin: 0; padding: 0; list-style: none; }
.stat__rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0;
  color: var(--ink); font-size: 1.05rem; font-weight: 600;
}
.stat__rows li + li { border-top: 1px dashed var(--line); }
.stat__dots { display: inline-flex; flex: none; gap: 6px; }
.stat__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-ink); }
.stat__dots span:nth-child(2) { background: #22d3ee; }
.stat--four .stat__dots span:nth-child(1) { background: var(--communication); }
.stat--four .stat__dots span:nth-child(2) { background: var(--computing); }
.stat--four .stat__dots span:nth-child(3) { background: var(--sensing); }
.stat--four .stat__dots span:nth-child(4) { background: var(--simulation); }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Four parts ---------- */

.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.topic {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 24px 22px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.topic::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--track); }
.topic__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 18px;
  color: var(--track); background: var(--track-soft); border-radius: 12px;
}
.topic__icon svg { width: 26px; height: 26px; }
.topic__part {
  margin: 0 0 6px;
  color: var(--track);
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.topic h3 { font-size: 1.22rem; }
.topic p { color: var(--muted); font-size: .95rem; }
.topic .topic__when {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px;
  margin: auto 0 0; padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--ink); font-size: .86rem; font-weight: 500;
}
.topic__when a { color: var(--track); font-weight: 600; text-decoration: none; }
.topic__when a:hover { text-decoration: underline; }

@media (max-width: 1000px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }

/* ---------- Format ---------- */

.format {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin: 0; padding: 0; list-style: none;
}
.format li { padding: 28px; background: var(--surface); border-radius: var(--radius); }
.format__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.format__step { color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; }
.format__dur {
  padding: 4px 10px;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; font-weight: 600;
}
.format h3 { font-size: 1.3rem; }
.format p { margin: 0; color: var(--muted); }

@media (max-width: 860px) { .format { grid-template-columns: 1fr; } }

/* ---------- Programme ---------- */

.legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: -16px 0 24px; padding: 0; list-style: none;
  color: var(--muted); font-size: .86rem;
}
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend__dot { width: 12px; height: 12px; border-radius: 4px; background: var(--track); }
.legend__dot--public { background: #16a34a; }

.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 20px; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
.tab {
  padding: 10px 20px;
  color: var(--muted); background: transparent;
  border: 0; border-radius: 14px;
  font: inherit; font-weight: 700; text-align: left; cursor: pointer;
}
.tab small { display: block; font-size: .78rem; font-weight: 500; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: #fff; background: var(--navy-900); }
.tab[aria-selected="true"] small { color: var(--on-dark); }

.day {
  padding: clamp(18px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow);
}
.day:focus-visible { outline-offset: 4px; }
.day__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px;
  margin-bottom: 8px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.day__head h3 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.6rem); }
.day__date { margin: 0 0 4px; color: var(--muted); font-weight: 600; }
.day__meta {
  margin: 0; padding: 6px 12px;
  color: var(--ink-soft); background: var(--surface); border-radius: 999px;
  font-size: .85rem; font-weight: 500;
}

.timeline { margin: 0; padding: 0; list-style: none; }

.session {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.timeline > :first-child { border-top: 0; }
.session__time {
  padding-top: 3px;
  font-size: .9rem; font-weight: 600; white-space: nowrap;
}
.session__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.session__title {
  margin: 6px 0 2px;
  font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; line-height: 1.35;
}
.session__speaker { margin: 0; color: var(--ink-soft); font-size: .93rem; font-weight: 500; }
.session__details { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.session--overview .session__details { font-size: .82rem; }
.is-tba { color: var(--muted); font-style: italic; }
.session__link { display: inline-block; margin-top: 4px; font-size: .9rem; font-weight: 600; text-decoration: none; }

.session--break { padding: 10px 0; }
.session--break .session__time { color: var(--muted); font-weight: 500; }
.session--break .session__badges { display: none; }
.session--break .session__title { margin: 0; color: var(--muted); font-weight: 500; }

.badge {
  display: inline-block; padding: 3px 9px;
  color: #4a5272; background: #eef0f7; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase;
}
.badge--plenary { color: #3730a3; background: #e0e7ff; }
.badge--overview { color: #fff; background: var(--track); }
.badge--intro { color: var(--track); background: #fff; box-shadow: inset 0 0 0 1px var(--track); }
.badge--joint { color: #fff; background: linear-gradient(135deg, var(--track), var(--navy-900)); }
.badge--public { color: #166534; background: #dcfce7; }
.badge--social { color: #92400e; background: #fef3c7; }
.badge--tbc { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* A part groups its sessions in a tinted band; inner times line up with outer ones. */
.part {
  margin: 10px -16px;
  padding: 0 16px 6px 12px;
  background: var(--track-soft);
  border-left: 4px solid var(--track);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.timeline > .part:first-child { margin-top: 0; }
.part__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 0 6px; }
.part__label {
  color: var(--track);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.part__name { margin: 0; font-size: 1.2rem; }
.part .session { border-top-color: rgba(17, 23, 53, .08); }
.part .session--joint .session__title { color: var(--track); }

.slots { margin-top: 10px; }
.slots summary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--track, var(--accent-ink));
  font-size: .88rem; font-weight: 600;
  list-style: none; cursor: pointer;
}
.slots summary::-webkit-details-marker { display: none; }
.slots summary::before {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .15s ease;
}
.slots[open] summary::before { transform: rotate(45deg); }
.slots__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 6px;
  margin: 10px 0 0; padding: 0; list-style: none;
}
.slot {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .8); border-radius: 8px;
  font-size: .88rem;
}
.slot__time { flex: none; color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.slot__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.slot__name { font-weight: 600; }
.person__aff {
  display: inline-block; /* institution + online tag move to the next row together instead of breaking */
  color: var(--muted); font-size: .82em; font-weight: 400; line-height: 1.35;
}
.person__inst { display: inline-block; } /* the institution itself is never split across rows */
.slot__title { color: var(--ink-soft); font-size: .84rem; line-height: 1.4; overflow-wrap: anywhere; }
.part__chair { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .9rem; }
.tag-online {
  display: inline-block; margin-left: 2px; padding: 1px 7px; border-radius: 999px;
  color: #0e7490; background: #cffafe; font-size: .68rem; font-weight: 700; font-style: normal;
  letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px;
}

/* Programme while the detailed schedule is not published: two parts. */
.plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan__card {
  display: flex; flex-direction: column;
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.plan__card--public {
  color: #fff; border-color: transparent;
  background:
    radial-gradient(600px 300px at 100% 0, rgba(124, 58, 237, .45), transparent 60%),
    var(--navy-900);
}
.plan__tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin: 0 0 18px; padding: 6px 12px;
  color: var(--accent-ink); background: #eef0ff; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.plan__tag svg { width: 16px; height: 16px; }
.plan__card--public .plan__tag { color: #166534; background: #dcfce7; }
.plan__card h3 { font-size: 1.5rem; }
.plan__card > p:not(.plan__tag) { color: var(--muted); }
.plan__card--public > p:not(.plan__tag) { color: var(--on-dark); }
.plan__facts { margin: 4px 0 24px; }
.plan__facts div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.plan__card--public .plan__facts div { border-top-color: rgba(255, 255, 255, .12); }
.plan__facts dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.plan__card--public .plan__facts dt { color: var(--lilac); }
.plan__facts dd { margin: 0; font-weight: 500; }
.plan__card--public .plan__facts dd { color: #fff; }
.plan__card .btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .plan__facts div { grid-template-columns: 1fr; gap: 2px; } }

.notice { padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }

@media (max-width: 600px) {
  .session { grid-template-columns: 1fr; gap: 4px; }
  .session--break { grid-template-columns: auto 1fr; gap: 12px; }
  .part { margin-inline: -12px; padding-left: 8px; padding-right: 12px; }
  .tabs { display: flex; }
  .tab { flex: 1 1 0; padding: 10px 14px; }
}

/* ---------- Public programme ---------- */

.audience { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.audience li {
  padding: 6px 12px;
  color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  font-size: .85rem;
}

.public-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.public-card {
  display: flex; flex-direction: column;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
}
.public-card .public-card__day {
  align-self: flex-start; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px;
  color: var(--navy-900); background: var(--lilac); font-size: .85rem; font-weight: 700;
}
.public-card p { color: var(--on-dark); }
.public-card__list { margin: 0 0 1em; padding-left: 1.1em; color: var(--on-dark); }
.public-card__list li + li { margin-top: 4px; }
.public-talks { margin: 6px 0 0; padding: 0; list-style: none; }
.public-talks li { display: grid; grid-template-columns: 3.2em 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.public-talks li:first-child { padding-top: 4px; border-top: 0; }
.public-talks time { color: var(--lilac); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.public-talks b { display: block; color: #fff; font-weight: 600; line-height: 1.35; }
.public-talks span { display: block; margin-top: 2px; color: var(--on-dark-muted); font-size: .88rem; }
.public-talks__kind {
  display: block; margin-bottom: 2px; color: var(--lilac);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

@media (max-width: 960px) { .public-grid { grid-template-columns: 1fr; } }

/* ---------- Participate ---------- */

.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  color: var(--accent-ink); background: #eef0ff; border-radius: 12px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }

.register { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 20px; }
.register__main {
  padding: clamp(24px, 4vw, 36px);
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0, rgba(124, 58, 237, .45), transparent 60%),
    var(--navy-900);
  border-radius: var(--radius);
}
.register__main h3 { font-size: 1.6rem; }
.register__main p { color: var(--on-dark); }
.register__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.key-dates {
  padding: clamp(24px, 4vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.key-dates h3 { font-size: 1.2rem; }
.key-dates ul { margin: 0; padding: 0; list-style: none; }
.key-dates li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .93rem;
}
.key-dates li:last-child { border-bottom: 0; }
.key-dates li span:last-child { flex: none; font-weight: 600; text-align: right; }
.key-dates li .is-tba { font-weight: 500; }

@media (max-width: 860px) {
  .cards-2, .register { grid-template-columns: 1fr; }
}

/* ---------- Venue ---------- */

.venue { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.venue__card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(24px, 4vw, 36px);
  color: #fff;
  background:
    radial-gradient(500px 300px at 0 100%, rgba(14, 116, 144, .55), transparent 60%),
    var(--navy-900);
  border-radius: var(--radius);
}
.venue__label { margin-bottom: 8px; color: var(--lilac); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.venue__card h3 { font-size: 2rem; margin-bottom: .3em; }
.venue__card p { color: var(--on-dark); }
.venue__card address { margin: 0 0 12px; font-size: 1.1rem; font-style: normal; line-height: 1.6; }
.venue__card .venue__room { margin-bottom: 24px; color: var(--on-dark-muted); font-size: .9rem; }
.venue__card .btn { margin-top: auto; }
.venue__place { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; }
.venue__place + .venue__place { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }

.travel {
  padding: clamp(24px, 4vw, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.travel h3 { font-size: 1.2rem; }
.travel__list { margin: 0; padding: 0; list-style: none; }
.travel__list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.travel__list li:first-child { border-top: 0; padding-top: 6px; }
.travel__list svg {
  width: 40px; height: 40px; padding: 9px;
  color: var(--communication); background: var(--communication-soft); border-radius: 10px;
}
.travel__list p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 860px) { .venue { grid-template-columns: 1fr; } }

/* ---------- Committee ---------- */

/* Two cards per row on wide screens, one per row on phones */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.person {
  display: flex; align-items: center; gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.person h3 { margin: 0; font-size: 1.12rem; }
.person__info { min-width: 0; }
.person__affiliation { margin: 4px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.avatar {
  flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, #6366f1, #22d3ee);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.avatar--2 { background: linear-gradient(135deg, #7c3aed, #f472b6); }
.avatar--3 { background: linear-gradient(135deg, #0e7490, #fbbf24); }
.avatar--4 { background: linear-gradient(135deg, #be185d, #fb923c); }
.avatar--long { font-size: .9rem; } /* three initials */

@media (max-width: 640px) { .people { grid-template-columns: 1fr; } }

/* ---------- Support ---------- */

.sponsor {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, var(--computing-soft), var(--communication-soft) 55%, var(--sensing-soft));
  border: 1px solid var(--line); border-radius: 20px;
}
.sponsor > div { max-width: 640px; }
.sponsor h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.sponsor p:last-child { margin: 0; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-size: 1.05rem; font-weight: 600;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%;
  color: var(--accent-ink); font-size: 1.5rem; font-weight: 400; line-height: 1;
  transform: translateY(-50%); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 44px 20px 0; color: var(--muted); }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.contact__email {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 8px;
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.15rem, 3.2vw, 1.8rem); font-weight: 600;
  overflow-wrap: anywhere;
}
.contact__email svg { flex: none; width: 28px; height: 28px; color: var(--lilac); }
.contact__email:hover { text-decoration: underline; text-decoration-color: var(--lilac); text-underline-offset: 6px; }

.contact__facts { margin: 0; }
.contact__facts div { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact__facts div:first-child { border-top: 0; }
.contact__facts dt { color: var(--lilac); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact__facts dd { margin: 4px 0 0; color: var(--on-dark); }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Footer ---------- */

.site-footer { padding: 40px 0; color: var(--on-dark-muted); background: var(--navy-950); font-size: .9rem; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer p { margin: 0; }
.footer__brand { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__copy { flex-basis: 100%; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- Privacy page ---------- */

.legal { max-width: 800px; }
.legal h1 { margin: 0 0 16px; font-size: clamp(2.1rem, 5vw, 3rem); letter-spacing: -.02em; }
.legal h2 { margin: 2.4em 0 .6em; font-size: 1.25rem; }
.legal h3 { margin: 0 0 12px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--ink-soft); text-wrap: pretty; }
.legal ul { display: grid; gap: 6px; padding-left: 1.2em; }
.legal .section__lead { margin-bottom: 0; }

/* Key facts at the top: event, controllers, contact, date */
.legal__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px;
  margin: 28px 0 0; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.legal__facts dt { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal__facts dd { margin: 2px 0 0; color: var(--ink); font-size: .95rem; }

/* One processing activity: data, purpose, legal basis, retention */
.legal__item { padding: 20px 0; border-top: 1px solid var(--line); }
.legal__item:last-of-type { border-bottom: 1px solid var(--line); }
.legal__dl { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.legal__dl dt { color: var(--muted); font-size: .85rem; font-weight: 600; padding-top: 2px; }
.legal__dl dd { margin: 0; color: var(--ink-soft); text-wrap: pretty; }

.legal__note { padding: 14px 18px; background: var(--computing-soft); border-radius: var(--radius-sm); }
.legal__note strong { color: var(--ink); }
.legal__back { display: inline-block; margin-top: 2em; font-weight: 600; text-decoration: none; }

@media (max-width: 600px) {
  .legal__facts { grid-template-columns: 1fr; }
  .legal__dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__dl dd { margin-bottom: 10px; }
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .hero__waves, .hero__actions, .hero__countdown, .tabs, .skip-link, .lang { display: none !important; }
  .hero, .section--dark, .register__main, .venue__card { color: #000; background: none; }
  .hero__lead, .section--dark .section__lead, .public-card p, .register__main p, .venue__card p { color: #333; }
  .gradient-text { color: #000; background: none; }
  .day[hidden] { display: block !important; margin-top: 24px; }
  .day, .topic, .card, .person, .stat { box-shadow: none; }
  .section { padding: 24px 0; }
}
