/* ISM11 — Style A "Flame test", dark version
   Near-black background (in line with ISM9 and ISM10), light text,
   flame-test colours as accents. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  color-scheme: dark;

  /* background and text (names kept from the light draft: paper = background, ink = text) */
  --paper: #0d0b14;
  --paper-2: #14121d;
  --card: #1a1825;
  --ink: #f5f1e8;
  --ink-2: #c2bdb0;
  --ink-3: #8f8a7d;
  --rule: #322f3f;
  --line: #6f6b78;      /* outlines of tiles and cards */
  --on-accent: #17150f; /* text on sodium yellow */

  /* flame-test colours, one per metal */
  --na: #ffc21a; /* sodium, yellow: the ISM11 signature colour (element 11) */
  --li: #ff3d6a; /* lithium, crimson */
  --ca: #ff7043; /* calcium, orange-red */
  --k: #b79cf0;  /* potassium, lilac */
  --cu: #25c9ab; /* copper, blue-green */
  --ba: #a8d41a; /* barium, apple green */
  --cs: #6f86ff; /* caesium, blue-violet */

  /* Photos. Loaded from Wikimedia Commons for now; before launch, copy the files
     into assets/img/ and point these at the local copies. Credits: assets/img/CREDITS.md */
  --img-hero: url("../img/hong-kong-harbour-night.jpg");
  --img-venue: url("../img/chong-yuet-ming-chemistry-building.jpg");

  --serif: "Fraunces", Georgia, "Times New Roman", "Songti SC", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    "PingFang HK", "Microsoft JhengHei", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration-color: var(--na);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--cs);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}
h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}
em {
  font-style: italic;
}
p {
  margin: 0 0 1em;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--c, var(--na));
}

.chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.95rem/1 var(--sans);
  padding: 15px 22px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  box-shadow: 4px 4px 0 var(--na);
}
.btn-small {
  padding: 10px 16px;
  font-size: 0.85rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-tile {
  width: 42px;
  height: 42px;
  background: var(--na);
  color: var(--on-accent);
  border-radius: 3px;
  position: relative;
  display: grid;
  place-items: end center;
  padding-bottom: 3px;
  font: 600 1.02rem/1 var(--serif);
  flex: none;
}
.brand-tile::before {
  content: "11";
  position: absolute;
  top: 3px;
  left: 4px;
  font: 600 0.56rem/1 var(--sans);
}
.brand-text {
  font-size: 0.8rem;
  line-height: 1.25;
  color: var(--ink-2);
}
.brand-text strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 3px;
}
.nav a:hover {
  background: var(--paper-2);
}
.nav .btn {
  margin-left: 10px;
}
.nav .btn:hover {
  background: var(--ink);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 9px 12px;
  font: 600 0.82rem/1 var(--sans);
  color: var(--ink);
  cursor: pointer;
}

.status {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--ink);
}
.signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink) !important;
  margin-top: 1.4em;
}
.chair h3 + .role,
.chair hr + .role {
  margin-top: 0;
}
.chair hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 20px 0;
}

/* ---------- element tiles ---------- */
.el {
  --c: var(--na);
  position: relative;
  aspect-ratio: 1;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10% 10% 16%;
  overflow: hidden;
  container-type: inline-size;
}
.el::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 9%;
  background: var(--c);
}
.el-n {
  position: absolute;
  top: 8%;
  left: 10%;
  font: 600 13cqw/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.el-s {
  font: 500 40cqw/0.95 var(--serif);
  letter-spacing: -0.02em;
}
.el-name {
  font: 500 10.5cqw/1.2 var(--sans);
  color: var(--ink-2);
  margin-top: 3%;
}
.el-ghost {
  aspect-ratio: 1;
  border: 1.5px dashed rgba(245, 241, 232, 0.28);
  border-radius: var(--radius);
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px);
  background:
    linear-gradient(to bottom, rgba(13, 11, 20, 0.3) 0%, rgba(13, 11, 20, 0.05) 40%, var(--paper) 100%),
    linear-gradient(to right, rgba(13, 11, 20, 0.92) 0%, rgba(13, 11, 20, 0.76) 46%, rgba(13, 11, 20, 0.38) 100%),
    var(--img-hero) center 40% / cover no-repeat,
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.3vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero h1 em {
  font-weight: 400;
  color: var(--na);
}
.hero-meta {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 1.12rem;
}
.hero-meta li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}
.hero-meta .v {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.hero-meta .k {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-meta strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 1vw, 10px);
  max-width: 520px;
  margin-left: auto;
  width: 100%;
}
.el-ism {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
  background: var(--na);
  border-color: var(--na);
  color: var(--on-accent);
  padding: 7% 8% 8%;
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--na) 34%, var(--paper));
}
.el-ism::after {
  display: none;
}
.el-ism .el-n {
  top: 7%;
  left: 8%;
  font-size: 13cqw;
  font-weight: 600;
}
.el-ism .el-yr {
  position: absolute;
  top: 8.5%;
  right: 8%;
  font: 600 5.6cqw/1 var(--sans);
  letter-spacing: 0.06em;
}
.el-ism .el-s {
  font-size: 37cqw;
  letter-spacing: -0.04em;
}
.el-ism .el-name {
  font-size: 7cqw;
  color: inherit;
  font-weight: 600;
  margin-top: 1.5%;
}
.el-ism .el-sub {
  font: 500 5cqw/1.3 var(--sans);
  margin-top: 1%;
}

/* ---------- facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.fact {
  padding: 28px 20px 26px 0;
}
.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}
.fact b {
  display: block;
  font-variant-numeric: tabular-nums;
  font: 400 clamp(2.1rem, 4vw, 3rem)/1 var(--serif);
  letter-spacing: -0.02em;
}
.fact span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- sections ---------- */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head p {
  max-width: 44ch;
  margin: 0;
  color: var(--ink-2);
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* welcome */
.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.welcome h2 {
  margin-bottom: 26px;
}
.welcome p {
  color: var(--ink-2);
  max-width: 62ch;
}
.welcome p.lede {
  color: var(--ink);
}
.chair {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 6px 6px 0 var(--na);
}
.chair-photo {
  width: 88px;
  height: 88px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font: 500 2rem/1 var(--serif);
  margin-bottom: 18px;
}
.chair .role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 6px;
}
.chair h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}
.chair p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.chair h3 + p {
  color: var(--ink-2);
}
.chair .more {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* dates */
.dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.dates li {
  padding: 22px 20px 24px;
  border-top: 6px solid var(--c);
}
.dates li + li {
  border-left: 1px solid var(--rule);
}
.dates .d {
  font: 500 1.7rem/1.05 var(--serif);
  letter-spacing: -0.02em;
  display: block;
}
.dates .y {
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  display: block;
  margin: 6px 0 14px;
}
.dates .t {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
}
.dates li.is-main {
  background: var(--na);
  color: var(--on-accent);
}
.dates li.is-main .y {
  color: inherit;
  opacity: 0.7;
}
.note {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

/* themes */
.themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.theme {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.theme:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.theme h3 {
  margin-bottom: 12px;
}
.theme p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.theme .theme-n {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.theme ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.theme li {
  padding: 5px 0;
  border-top: 1px solid var(--rule);
}

/* speakers */
.speakers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.speaker {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.speaker .ph {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border-bottom: 4px solid var(--c);
  display: grid;
  place-items: center;
  font: 400 4.5rem/1 var(--serif);
  color: var(--c);
}
.speaker .ph:not(:has(img)) {
  letter-spacing: -0.02em;
}
.speaker .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speaker figcaption {
  padding: 16px 18px 20px;
}
.speaker .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 6px;
}
.speaker b {
  display: block;
  font: 500 1.2rem/1.25 var(--serif);
}
.speaker .aff {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-2);
  margin-top: 4px;
}

/* venue */
.venue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}
.venue-plate {
  background:
    linear-gradient(to top, rgba(13, 11, 20, 0.94) 0%, rgba(13, 11, 20, 0.6) 48%, rgba(13, 11, 20, 0.25) 100%),
    var(--img-venue) center 62% / cover no-repeat,
    var(--card);
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.venue-plate .eyebrow {
  color: var(--ink);
}
.venue-plate h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.venue-plate h3 span {
  display: block;
  font-size: 0.55em;
  margin-top: 10px;
  opacity: 0.8;
  letter-spacing: 0;
}
.venue-plate address {
  font-style: normal;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 26px;
}
.info {
  display: grid;
  gap: 0;
  align-content: start;
}
.info h2 {
  margin-bottom: 22px;
}
.info-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.info-item:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.info-item .dot {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 3px;
  background: var(--c);
}
.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.info-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.info .btn {
  margin-top: 26px;
  justify-self: start;
}

/* committees (name lists, as on the ISM9 and ISM10 sites) */
.committees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 72px);
}
.committees h3 {
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--line);
}
.committees ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.committees li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.committees li b {
  color: var(--ink);
  font-weight: 600;
}
.committees ul.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: 28px;
}
@media (max-width: 960px) {
  .committees ul.cols-2 {
    display: block;
  }
}
.committees li.tba {
  color: var(--ink-3);
  font-style: italic;
}

/* photo cards */
.photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: clamp(28px, 4vw, 48px);
}
.photo-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-2);
}
.photo-card figcaption {
  padding: 20px 22px 24px;
}
.photo-card h3 {
  margin-bottom: 6px;
}
.photo-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.photo-card .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.credits {
  font-size: 0.76rem;
  color: var(--ink-3);
  margin: 22px 0 0;
  max-width: 90ch;
}

/* sponsors */
.sponsors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.slot {
  height: 96px;
  border: 1.5px dashed var(--rule);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--card);
}

/* signup */
.signup {
  background: var(--na);
  color: var(--on-accent);
  padding: clamp(44px, 6vw, 72px) 0;
}
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.signup p {
  margin: 12px 0 0;
  max-width: 46ch;
}
.signup form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.signup label {
  position: absolute;
  left: -9999px;
}
.signup input {
  flex: 1 1 180px;
  min-width: 0;
  font: 500 1rem var(--sans);
  padding: 15px 16px;
  border: 1.5px solid var(--on-accent);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--on-accent);
  color-scheme: light;
}
.signup .btn-primary {
  background: var(--on-accent);
  border-color: var(--on-accent);
  color: #fff;
}
.signup .btn-primary:hover {
  box-shadow: 4px 4px 0 #fff;
}
.signup small {
  flex-basis: 100%;
  font-size: 0.8rem;
}

/* footer */
.site-footer {
  background: #07060b;
  color: var(--ink-2);
  padding: 52px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 {
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--na);
}
.site-footer .brand-text,
.site-footer .brand-text strong {
  color: var(--ink);
}
.footer-about {
  margin-top: 16px;
  max-width: 36ch;
}
.footer-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.flame-row {
  display: flex;
  gap: 5px;
}
.flame-row i {
  width: 18px;
  height: 6px;
  background: var(--c);
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--gutter) 18px;
    gap: 0;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--rule);
    font-size: 1rem;
  }
  .nav .btn {
    margin: 14px 0 0;
    justify-content: center;
    border-bottom: 1.5px solid var(--ink);
  }
  .themes {
    grid-template-columns: repeat(2, 1fr);
  }
  .speakers {
    grid-template-columns: repeat(2, 1fr);
  }
  .dates {
    grid-template-columns: repeat(2, 1fr);
  }
  .dates li {
    border-left: 0 !important;
    border-bottom: 1px solid var(--rule);
  }
  .dates li.is-main {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }
  .hero {
    background:
      linear-gradient(to bottom, rgba(13, 11, 20, 0.82) 0%, rgba(13, 11, 20, 0.72) 55%, var(--paper) 100%),
      var(--img-hero) 62% 40% / cover no-repeat,
      var(--paper);
  }
  .hero-grid,
  .welcome,
  .venue,
  .signup-grid {
    grid-template-columns: 1fr;
  }
  .table {
    margin: 0 auto;
    max-width: 420px;
    padding-right: 8px;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact {
    padding: 20px 12px 18px 0;
  }
  .fact + .fact {
    padding-left: 16px;
  }
  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }
  .sponsors {
    grid-template-columns: repeat(2, 1fr);
  }
  .venue-plate {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .themes,
  .photos,
  .committees {
    grid-template-columns: 1fr;
  }
  .speakers {
    gap: 12px;
  }
  .speaker .ph {
    font-size: 3rem;
  }
  .speaker figcaption {
    padding: 12px 12px 14px;
  }
  .speaker b {
    font-size: 1.02rem;
  }
  .dates {
    grid-template-columns: 1fr;
  }
  .brand-text span {
    display: none;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .theme {
    transition: none;
  }
}
