/* AIED 2027 · Adelaide — site styles
   Palette taken from the Ridgeline A wordmark. */

:root {
  --ink: #1D4A42;          /* logo letterforms */
  --ink-deep: #163C35;
  --ink-darker: #0F2D28;
  --teal: #4F8C7B;         /* reversed ridgelines */
  --sage: #8DB8A4;         /* ridgelines */
  --sun: #E0703A;          /* sun + nodes */
  --sun-light: #F2965F;    /* sun as text on dark */
  --sun-ink: #B4511F;      /* sun as text on light */
  --cream: #F6EAD3;        /* node fill */
  --paper: #FBF7EF;
  --card: #FFFCF6;

  --text: var(--ink);
  --muted: #4D6B65;
  --line: rgba(29, 74, 66, .14);
  --line-strong: rgba(29, 74, 66, .3);
  --on-dark-muted: rgba(246, 234, 211, .78);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
p + p { margin-top: 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
}

:focus-visible {
  outline: 2.5px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.kicker {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
/* blur lives on a pseudo-element so the fixed mobile menu is not trapped */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 247, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { flex: none; border-radius: 8px; }
.brand img { height: 48px; width: auto; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-list > li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-list > li > a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 500 15px/1.6 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s;
}
.nav-list > li > a:hover,
.nav-trigger:hover,
.has-sub.open > .nav-trigger { background: rgba(29, 74, 66, .07); }
.nav-list > li > a[aria-current="page"]::after,
.nav-trigger.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  transform: translateX(-50%);
}
.nav-trigger svg { flex: none; width: 11px; height: 11px; transition: transform .25s var(--ease); }
.has-sub.open > .nav-trigger svg { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px -24px rgba(15, 45, 40, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.sub::before { /* hover bridge */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  text-decoration: none;
  transition: background-color .2s;
}
.sub a::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.6px solid var(--teal);
  background: var(--cream);
  transition: background-color .2s, border-color .2s;
}
.sub a:hover { background: var(--cream); }
.sub a[aria-current="page"] { font-weight: 600; }
.sub a[aria-current="page"]::before { background: var(--sun); border-color: var(--sun); }
.sub a:hover::before { background: var(--sun); border-color: var(--sun); }

.has-sub.open > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s, transform .25s var(--ease), visibility 0s;
}
@media (hover: hover) and (min-width: 1100px) {
  .has-sub:not(.dismissed):hover > .nav-trigger svg { transform: rotate(180deg); }
  .has-sub:not(.dismissed):hover > .sub,
  .has-sub:not(.dismissed):focus-within > .sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s, transform .25s var(--ease), visibility 0s;
  }
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 15px/1 var(--f-body);
  cursor: pointer;
}
.menu-bars { position: relative; width: 18px; height: 12px; }
.menu-bars::before, .menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-bars::before { top: 1px; }
.menu-bars::after { top: 9px; }
.nav-open .menu-bars::before { top: 5px; transform: rotate(45deg); }
.nav-open .menu-bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px var(--gutter) 48px;
    overflow-y: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .nav-open { overflow: hidden; }
  .nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin-inline: auto; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a,
  .nav-trigger {
    flex: 1;
    padding: 16px 0 !important;
    border-radius: 0;
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
  }
  .nav-list > li > a:hover,
  .nav-trigger:hover,
  .has-sub.open > .nav-trigger { background: none; }
  .nav-trigger { justify-content: space-between; }
  .nav-trigger svg { width: 14px; height: 14px; margin-right: 12px; }
  .nav-list > li > a[aria-current="page"]::after {
    position: static;
    margin-left: 4px;
    transform: translateY(-2px);
  }
  .nav-trigger.is-active::after { display: none; }
  .nav-trigger.is-active .lbl::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-radius: 50%;
    background: var(--sun);
    vertical-align: middle;
    transform: translateY(-2px);
  }
  .sub {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0 0 14px;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .sub::before { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { padding: 10px 4px; font-size: 16px; }
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 15.5px/1.2 var(--f-body);
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border-color: rgba(246, 234, 211, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 234, 211, .06); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-darker); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: var(--sun-ink); }
.on-dark .link:hover { color: var(--sun-light); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link:hover { color: var(--sun-ink); }

/* ---------- Sun (from the logo) ---------- */

.sun { overflow: visible; }
.sun circle { fill: none; stroke: var(--sun); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.sun .ring-outer { stroke-opacity: .4; }
.sun .ring-inner { stroke-opacity: .75; }
.sun .core { fill: var(--sun); stroke: none; }
.sun .ripple {
  stroke-opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .sun .ripple { animation: ripple 3.6s var(--ease) infinite; }
  .sun .ripple + .ripple { animation-delay: 1.8s; }
}
@keyframes ripple {
  0% { transform: scale(.35); stroke-opacity: 0; }
  25% { stroke-opacity: .7; }
  100% { transform: scale(1.3); stroke-opacity: 0; }
}

.pulse {
  position: relative;
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
}
@media (prefers-reduced-motion: no-preference) {
  .pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--sun);
    animation: pulse 2.4s var(--ease) infinite;
  }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- Ridgelines ---------- */

.ridge { width: 100%; pointer-events: none; }
.ridge path { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ridge.on-dark-ridge path { stroke: var(--teal); }
.ridge.on-light-ridge path { stroke: var(--sage); }
.ridge .node { stroke-width: 2.4; }
.ridge.on-dark-ridge .node { fill: var(--ink); stroke: var(--cream); }
.ridge.on-dark-ridge .node.hot { fill: var(--sun); }
.ridge.on-light-ridge .node { fill: var(--cream); stroke: var(--ink); }
.ridge.on-light-ridge .node.hot { fill: var(--sun); }
@media (prefers-reduced-motion: no-preference) {
  .ridge path, .ridge .node {
    opacity: 0;
    animation: line-in 1.4s var(--ease) forwards;
  }
  .ridge path:nth-of-type(2) { animation-delay: .12s; }
  .ridge path:nth-of-type(3) { animation-delay: .24s; }
  .ridge path:nth-of-type(4) { animation-delay: .36s; }
  .ridge .node { animation-delay: .6s; }
}
@keyframes line-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Home hero ---------- */

.hero, .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--cream);
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(141, 184, 164, .2) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 90%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: -25%;
  right: -12%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(224, 112, 58, .16), transparent 70%);
}

.hero-sun {
  position: absolute;
  z-index: -1;
  top: clamp(-170px, -10vw, -60px);
  right: clamp(-150px, -6vw, -48px);
  width: clamp(240px, 34vw, 500px);
  height: auto;
  opacity: .85;
}
.hero-sun circle { stroke-width: 1.4; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(160px, 19vw, 260px);
}

.hero .kicker { color: var(--sage); max-width: 34em; line-height: 1.7; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(68px, 12vw, 160px);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.05em;
}
.hero h1 .yr { color: var(--sage); }

.hero .place {
  margin-top: 22px;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -.01em;
}
.hero .place .dot { color: var(--sun); }

.hero .lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: 18px;
  color: var(--on-dark-muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(130px, 15vw, 220px);
}

@media (prefers-reduced-motion: no-preference) {
  .rise {
    opacity: 0;
    transform: translateY(18px);
    animation: rise .9s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 90ms + 100ms);
  }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* status board */
.status {
  padding: 22px 22px 16px;
  font-family: var(--f-mono);
  font-size: 13px;
  background: rgba(15, 45, 40, .62);
  border: 1px solid rgba(246, 234, 211, .14);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(246, 234, 211, .2);
  color: var(--sage);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status-head span { display: inline-flex; align-items: center; gap: 10px; }
.status ul { list-style: none; margin: 0; padding: 0; }
.status li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(246, 234, 211, .1);
}
.status li a { text-decoration: none; color: var(--cream); }
.status li a:hover { color: var(--sun-light); }
.status .leader {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted rgba(141, 184, 164, .4);
  transform: translateY(-4px);
}
.status .state { color: var(--sun-light); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.status .state.later { color: var(--sage); }
.status .state.done { color: var(--cream); }
.status .state.done::before { content: "✓ "; color: var(--sage); }
.status-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: rgba(246, 234, 211, .62);
  font-size: 11.5px;
}

/* ---------- Facts strip ---------- */

.facts { border-bottom: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.fact { padding: 28px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { color: var(--muted); }
.fact dd {
  margin: 8px 0 0;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.fact dd small { display: block; margin-top: 4px; font-family: var(--f-body); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.fact dd.pending { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.fact dd.pending::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
}

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

.section { padding-block: clamp(72px, 10vw, 128px); }
.section.tint { background: var(--cream); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head p { max-width: 32em; color: var(--muted); }
.section-head h2 { font-size: clamp(36px, 4.8vw, 58px); letter-spacing: -.035em; margin-top: 16px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream);
}
.eyebrow::after {
  content: "";
  flex: 0 1 64px;
  height: 1.5px;
  background: var(--line-strong);
}
.on-dark .eyebrow { color: var(--sage); }
.on-dark .eyebrow::before { border-color: var(--cream); background: var(--ink); }
.on-dark .eyebrow::after { background: rgba(246, 234, 211, .25); }

/* track cards */
.tracks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 236px;
  padding: 22px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition: transform .4s var(--ease), border-color .25s, box-shadow .4s var(--ease);
}
.track:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 24px 44px -30px rgba(15, 45, 40, .55);
}
.track .num { color: var(--muted); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }
.track h3 { font-size: 22px; letter-spacing: -.015em; line-height: 1.12; }
.track p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.track .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.track .node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream);
  transition: background-color .25s;
}
.track:hover .node { background: var(--sun); }

/* host city */
.city {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.city h2 { font-size: clamp(36px, 4.8vw, 58px); letter-spacing: -.035em; margin: 16px 0 22px; }
.city p { color: var(--muted); max-width: 30em; }
.city .arrow-link { margin-top: 28px; }
.city-figure {
  margin: 0;
  padding: clamp(16px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid rgba(29, 74, 66, .12);
  border-radius: 24px;
}
.city-figure svg { width: 100%; height: auto; }
.city-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.cf-line { fill: none; stroke: var(--sage); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.cf-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink); }
.cf-label.soft { fill: var(--muted); }
.cf-axis { stroke: var(--line-strong); stroke-width: 1; }
.cf-lead { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 4; }

/* organiser band */
.org {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 44px;
  border-top: 1px solid var(--line);
}
.facts + .wrap .org { border-top: 0; }
.org-text { display: flex; align-items: center; gap: 24px; }
.org-text img { width: 64px; height: 64px; flex: none; }
.org .kicker { color: var(--muted); }
.org-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.org h2 { margin-top: 6px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }

/* ---------- Interior pages ---------- */

.page-hero .wrap {
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(108px, 12vw, 156px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--sage);
}
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(246, 234, 211, .4); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.page-hero h1 {
  max-width: 14em;
  margin-top: 20px;
  font-size: clamp(46px, 7.4vw, 92px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .94;
}
.page-hero .lead { max-width: 40em; margin-top: 22px; font-size: 18px; color: var(--on-dark-muted); }
.page-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(76px, 9vw, 118px);
}
.page-sun {
  position: absolute;
  z-index: -1;
  top: clamp(24px, 4vw, 56px);
  right: clamp(-40px, 5vw, 96px);
  width: clamp(110px, 15vw, 200px);
}

.page-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(56px, 8vw, 104px);
}

.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc .kicker { color: var(--muted); }
.toc ol {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-left: 1.5px solid var(--line);
}
.toc a {
  position: relative;
  display: block;
  padding: 7px 0 7px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s;
}
.toc a::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.6px solid var(--line-strong);
  background: var(--paper);
  transform: translateY(-50%);
  transition: background-color .2s, border-color .2s;
}
.toc a:hover { color: var(--ink); }
.toc a.active, .toc a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.toc a.active::before, .toc a[aria-current="page"]::before { background: var(--sun); border-color: var(--sun); }

.content { min-width: 0; max-width: 720px; }
.content .notice { margin-bottom: 0; }
.content > section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.content > section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.content h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.content h2 .idx {
  flex: none;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  transform: translateY(-4px);
}
.tbc { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.tbc::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.content h3 { font-size: 21px; letter-spacing: -.015em; margin: 32px 0 10px; }
.content p { max-width: 42em; }
.content p.muted, .content .muted { color: var(--muted); }
.content ul.dots { margin: 16px 0 0; padding: 0; list-style: none; max-width: 42em; }
.content ul.dots li { position: relative; padding: 6px 0 6px 24px; }
.content ul.dots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.6px solid var(--teal);
  background: var(--cream);
}

.placeholder { padding-block: clamp(56px, 8vw, 96px) clamp(80px, 11vw, 136px); }
.placeholder .notice { max-width: 680px; margin-bottom: 0; }

.notice {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  padding: 22px 26px 22px 22px;
  background: var(--cream);
  border: 1px solid rgba(29, 74, 66, .12);
  border-radius: var(--r);
}
.notice .sun { flex: none; width: 52px; height: 52px; }
.notice-title { font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.notice p + p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }

.tba {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 11px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--ink);
  white-space: nowrap;
}
.tba.is-set { border-style: solid; border-color: rgba(29, 74, 66, .45); background: var(--cream); font-weight: 500; }
.tba::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
}

.tba.is-set::before { background: var(--ink); }

.spec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.spec > div { padding: 14px 16px 16px; border-left: 1px solid var(--line); }
.spec > div:first-child { border-left: 0; }
.spec dt { color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.spec dd { margin: 8px 0 0; }

.track-block + .track-block { margin-top: 40px; padding-top: 40px; border-top: 1px dashed var(--line); }
.track-block h3 { margin-top: 0; font-size: 24px; display: flex; align-items: center; gap: 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.track-block h3::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream);
}

.table-scroll { overflow-x: auto; margin-top: 8px; }
.dates { width: 100%; border-collapse: collapse; }
.dates th, .dates td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.dates th:first-child, .dates td:first-child { padding-left: 0; }
.dates thead th { color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.dates td:first-child { font-weight: 500; }
.dates td small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.dates tr.key td { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.dates tr.group th {
  padding-top: 32px;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.role {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.role .avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed var(--line-strong);
  background: radial-gradient(circle at center, var(--cream) 0 7px, transparent 7.5px);
}
.role strong { display: block; font-size: 15px; line-height: 1.3; }
.role span { color: var(--muted); font-family: var(--f-mono); font-size: 12px; }

.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.mini {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.mini h3 { margin: 0 0 8px; font-size: 18px; }
.mini p { color: var(--muted); font-size: 15px; }
.mini .tba { margin-top: 14px; }

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

.site-footer { position: relative; background: var(--ink-deep); color: var(--cream); }
.footer-ridge { height: 96px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-block: 36px 48px;
}
.footer-brand img { height: 70px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--on-dark-muted); font-size: 15px; max-width: 18em; }
.site-footer h2 { color: var(--sage); font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 16px 0 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 4px 0; color: var(--on-dark-muted); font-size: 15px; text-decoration: none; }
.site-footer li a:hover { color: var(--cream); }
.ack p { margin-top: 16px; color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.6; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(246, 234, 211, .12);
  color: rgba(246, 234, 211, .66);
  font-family: var(--f-mono);
  font-size: 12px;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */

.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost h1 { font-size: clamp(56px, 10vw, 120px); font-weight: 800; letter-spacing: -.05em; }
.lost p { margin: 16px auto 32px; color: var(--muted); max-width: 26em; }

/* ---------- Responsive ---------- */

@media (max-width: 1099px) {
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .status { max-width: 520px; }
  .section-head { grid-template-columns: 1fr; }
  .city { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-body { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
  .toc a::before { display: none; }
  .toc a.active, .toc a[aria-current="page"] { border-color: var(--ink); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-sun { top: -130px; right: -120px; width: 290px; opacity: .6; }
  .page-sun { top: -40px; right: -50px; opacity: .6; }
  .brand img { height: 42px; }
  .hero .lead, .page-hero .lead { font-size: 16.5px; }
  .tracks { grid-template-columns: 1fr; }
  .track { min-height: 0; }
  .facts dl { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; padding-block: 18px; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .spec { grid-template-columns: 1fr; }
  .spec > div { border-left: 0; }
  .spec > div + div { border-top: 1px solid var(--line); }
  .roles, .cards-2 { grid-template-columns: 1fr; }
  .notice { align-items: flex-start; padding: 18px; gap: 16px; }
  .notice .sun { width: 40px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .org-text { align-items: flex-start; }
  .org-text img { width: 48px; height: 48px; }
}
