/* symposium.jopro.org series landing page (index.html) and the series 404.
   Event pages keep their own styles (site.css for WMU, dxd.css for Data x Direction).
   Type is the series mark's own family, none of it shared with the WMU page:
   Inter (mark line 1) for display, IBM Plex Sans (mark line 2) for text,
   IBM Plex Serif for the lede, IBM Plex Mono for labels.
   Fonts are subset to Latin (Basic, Latin-1, Extended-A) plus common punctuation. */
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-700-latin.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600-latin.woff") format("woff"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-400-latin.woff") format("woff"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-600-latin.woff") format("woff"); }
@font-face { font-family: "IBM Plex Serif"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-serif-400-latin.woff") format("woff"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-normal-latin.woff2") format("woff2"); }

:root {
  --display: "Inter", "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1200px;
  --paper: #f4f2ed; --ink: #17191c; --mute: #5d6168; --rule: #17191c; --accent: #c4472d;
  --night: #121512; --cream: #ece6d6; --sun: #e2b04a;
  /* Event colors, taken from each event's own page */
  --wmu: #336640; --wmu-sun: #e2b04a;
  --dxd: #182b49; --dxd-gold: #ffcd00;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); line-height: 1.55; background: var(--paper); color: var(--ink); overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 8px 14px; background: var(--paper); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* Header */
.top { border-bottom: 1px solid var(--rule); }
.top-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 16px; }
.mark img { width: 101px; height: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 600; font-size: .9375rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--accent); }

/* Dark hero with the network field; header sits inside it */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: min(84vh, 720px); background: var(--night); color: var(--cream); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 21, 18, .94) 0, rgba(18, 21, 18, .6) 52%, rgba(18, 21, 18, .12)); }
.hero .top { position: relative; z-index: 1; border-bottom: 1px solid rgba(236, 230, 214, .16); }
.hero .top nav a { color: #c9c3b3; }
.hero .top nav a:hover { color: #fff; }
.hero a:focus-visible { outline-color: var(--sun); }
.intro { position: relative; z-index: 1; margin-top: auto; padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); }
.kicker { font: 500 .8125rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-bottom: 20px; }
.intro h1 { max-width: 13em; font: 700 clamp(2.5rem, 6.6vw, 5.4rem)/1 var(--display); letter-spacing: -.035em; }
.intro h1 em { font-style: normal; color: var(--sun); }
.lede { max-width: 36em; margin-top: 26px; font: 400 clamp(1.05rem, 1.6vw, 1.25rem)/1.55 var(--serif); color: #d6d0c0; }

/* Next strip */
.next-strip { display: flex; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 22px; margin-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); font-size: 1rem; }
.next-strip .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--wmu); box-shadow: 0 0 0 5px rgba(51, 102, 64, .18); }
.next-strip a { color: var(--accent); font-weight: 600; }

/* The index: a numbered list of symposia. Each row carries its event's own colors. */
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--rule); }
.list-head h2 { font: 600 .875rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.list-head span { font: .8125rem var(--mono); color: var(--mute); }

.index { margin-bottom: clamp(64px, 10vw, 120px); }
.index li { border-bottom: 1px solid var(--rule); }
.ev-wmu { --c: var(--wmu); --c2: var(--wmu-sun); }
.ev-dxd { --c: var(--dxd); --c2: var(--dxd-gold); }
.index a {
  display: grid; grid-template-columns: 88px 14px minmax(0, 1fr) 230px 150px; gap: 20px; align-items: center;
  padding: 26px 12px; text-decoration: none; transition: background .25s, color .25s;
}
.no { font: .8125rem var(--mono); color: var(--mute); }
.chip { width: 14px; height: 52px; background: linear-gradient(var(--c) 0 70%, var(--c2) 70%); }
.name strong { display: block; font: 600 clamp(1.35rem, 2.5vw, 1.9rem)/1.15 var(--display); letter-spacing: -.02em; }
.index li:first-child .name strong { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.name em { font-style: normal; }
.name small, .when small { display: block; margin-top: 4px; font-size: .9375rem; color: var(--mute); }
.when { font-weight: 600; font-size: .9375rem; }
.state { justify-self: end; font: .8125rem var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.state.next { color: var(--accent); }

.index li:not(.open) a:hover { background: var(--c); color: #fff; }
.index li:not(.open) a:hover :is(.no, small, .state) { color: rgba(255, 255, 255, .85); }
.index li:not(.open) a:hover .chip { background: var(--c2); }

.open .chip { background: none; border: 1.5px dashed var(--ink); }
.open .name strong { color: #4a4d52; }
.open a:hover { background: #e9e5dc; }

/* Footer */
.s-foot { padding: 48px 0 28px; font-size: .9375rem; border-top: 2px solid var(--rule); }
.s-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px 28px; }
.s-foot h2 { font: 600 .75rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; color: var(--accent); }
.s-foot li a { display: inline-block; padding: 3px 0; text-decoration: none; }
.s-foot li a:hover { text-decoration: underline; }
.s-foot-brand img { width: 101px; height: auto; margin-bottom: 10px; }
.s-foot-brand p { max-width: 22em; }
.s-foot-base { margin-top: 36px; padding-top: 14px; border-top: 1px solid currentColor; font-size: .8125rem; opacity: .8; }

/* 404 */
.lost { min-height: 100vh; }
.lost .intro { margin-top: 0; padding-top: clamp(64px, 12vw, 160px); }
.lost-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; font-weight: 600; }
.lost-links a { color: var(--sun); }

@media (max-width: 860px) {
  .index a { grid-template-columns: 14px minmax(0, 1fr); gap: 6px 16px; padding: 22px 4px; }
  .no { grid-column: 2; order: -1; }
  .chip { grid-row: 1 / span 4; height: 100%; }
  .when, .state { grid-column: 2; justify-self: start; }
  .s-foot-grid { grid-template-columns: repeat(3, 1fr); }
  .s-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .hero::after { background: rgba(18, 21, 18, .75); } }
@media (max-width: 540px) { .s-foot-grid { grid-template-columns: repeat(2, 1fr); } }

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