/* MicroCon — design system */

/* ---------- fonts ----------
   Self-hosted. No third-party request on any page: the site must render
   with the intended type on a connection that cannot reach a CDN.
   All three are variable fonts; the declared ranges match each file's
   fvar table. Archivo carries the wdth axis the display type needs. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  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: "Instrument Sans";
  src: url("fonts/instrument-sans-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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 {
  --paper: #f4f4f1;
  --paper-2: #ffffff;
  --ink: #15171a;
  --ink-2: #4a4d53;
  --ink-3: #7b7f86;
  --signal: #2b44ff;
  --signal-dark: #1c2fc4;
  --mark: #ffd400;
  --rule: #c9c9c4;

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --shell: 1180px;
  --gut: 32px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

h1 { font-size: clamp(44px, 7.5vw, 104px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.15; }

p { margin: 0 0 18px; }

.lede {
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 18px;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

a { color: var(--signal); }
a:hover { color: var(--signal-dark); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Anchor targets must clear the sticky nav. */
[id] { scroll-margin-top: calc(var(--nav-h) + 28px); }

.skip {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 13px 20px;
  background: var(--signal);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.skip:focus { top: 8px; color: #fff; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 241, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.stuck {
  border-bottom-color: var(--rule);
  background: rgba(244, 244, 241, 0.94);
}

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

/* The wordmark is the supplied logo. Its type styling is the fallback
   that renders the alt text if the image fails to load. */
.wordmark {
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark img {
  display: block;
  width: auto;
  height: 27px;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--signal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--signal);
  border-radius: 2px;
  background: var(--signal);
  color: #fff;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--signal-dark); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.nav-toggle { display: none; }

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

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0e1013;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-color: #0e1013;
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
}

/* The field is light. This scrim is what keeps the headline, the meta line,
   and the eyebrow above AA — do not lighten it without re-measuring. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 12, 15, 0.30) 0%,
    rgba(10, 12, 15, 0.62) 45%,
    rgba(10, 12, 15, 0.88) 100%);
}

.hero .shell { position: relative; padding-top: 120px; padding-bottom: 64px; }

.hero h1 { color: #fff; max-width: 15ch; }

.hero .eyebrow { color: var(--mark); }

.hero-meta {
  font-family: var(--mono);
  font-size: clamp(14px, 1.35vw, 17px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin: 26px 0 32px;
}

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

.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- countdown ---------- */

.countdown {
  background: var(--ink);
  color: #fff;
  padding: 30px 0;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.countdown-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 5.2vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.countdown-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
}

.countdown-state {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px);
  text-align: center;
}

/* ---------- sections ---------- */

section { padding: clamp(72px, 9vw, 124px) 0; }

section + section { border-top: 1px solid var(--rule); }

/* Interior page title block. Sits directly above its first section. */
.page-head { padding: clamp(48px, 6vw, 76px) 0 clamp(28px, 3.5vw, 44px); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 60px); }
.page-head + section { padding-top: 0; border-top: 0; }

.section-head { max-width: 74ch; margin-bottom: 48px; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

/* ---------- program bar ---------- */

.bar {
  display: flex;
  width: 100%;
  height: 116px;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.bar-seg {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 12px 12px 14px;
  border-right: 1px solid var(--ink);
  background: var(--paper-2);
  min-width: 0;
  transition: background 0.15s ease;
}

.bar-seg:last-child { border-right: 0; }
.bar-seg:hover { background: rgba(43, 68, 255, 0.07); }

/* The yellow appears once per page. On the program page it is the bar. */
.bar--mark .bar-seg:hover { background: var(--mark); }

.bar-seg-name {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bar-seg-min {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

.bar-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* ---------- schedule table ---------- */

.sched { width: 100%; border-collapse: collapse; }

.sched th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  padding: 0 20px 14px 0;
  border-bottom: 1px solid var(--ink);
}

.sched td {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}

.sched td:last-child, .sched th:last-child { padding-right: 0; }

.sched .t {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  white-space: nowrap;
  width: 1%;
}

.sched .item {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 19px;
}

.sched .dur {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-3);
  white-space: nowrap;
  text-align: right;
  width: 1%;
}

.sched .note {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 5px;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  padding: 28px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(21, 23, 26, 0.09);
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

.card-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--signal);
  display: block;
  margin-bottom: 16px;
}

/* ---------- guest ---------- */

.guest {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.guest-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  background:
    repeating-linear-gradient(135deg, #ecece8 0 12px, #f3f3ef 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding: 20px;
}

/* ---------- notices ---------- */

.notices { border-top: 1px solid var(--rule); }

.notice {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.notice-date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ---------- registration ---------- */

.tier {
  max-width: 460px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper-2);
  overflow: hidden;
}

.tier-head {
  padding: 26px 30px;
  border-bottom: 1px solid var(--rule);
}

.tier-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tier-price {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 10px;
}

.tier-body { padding: 26px 30px 30px; }

.tier-body ul { margin: 0 0 24px; padding-left: 20px; }
.tier-body li { margin-bottom: 8px; color: var(--ink-2); font-size: 15.5px; }

.btn-closed {
  width: 100%;
  height: 48px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #ececea;
  color: var(--ink-3);
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1;
}

/* ---------- record table ---------- */

.record { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }

.record th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--ink);
}

.record td {
  font-family: var(--mono);
  font-size: 15px;
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--rule);
}

.record td:last-child, .record th:last-child { padding-right: 0; }
.record .host { font-family: var(--body); font-size: 15.5px; }
.record .em { color: var(--signal); }

/* ---------- policy prose ---------- */

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 10px; }

/* ---------- footer ---------- */

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 76px 0 40px;
  font-size: 15px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-mark {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 26px;
  color: #fff;
  margin-bottom: 18px;
}

.foot-mark img {
  display: block;
  width: auto;
  height: 44px;
}

.foot-grid h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 16px;
}

.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  :root { --gut: 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px 20px 18px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--rule); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--signal); }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    margin-left: 10px;
    min-width: 62px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--rule);
    border-radius: 2px;
    background: transparent;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    cursor: pointer;
  }

  /* The call to action stays on screen at every width. */
  .nav .btn {
    order: 2;
    margin-left: auto;
    height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .nav .shell { gap: 0; }


  .countdown-grid { grid-template-columns: repeat(2, 1fr); }

  .two-col, .guest { grid-template-columns: minmax(0, 1fr); }
  .guest-frame { max-width: 260px; }

  .bar { height: auto; flex-direction: column; }
  .bar-seg {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
    padding: 14px;
  }
  .bar-seg:last-child { border-bottom: 0; }
  .bar-seg-name { font-size: 13px; }

  .notice { grid-template-columns: minmax(0, 1fr); gap: 6px; }

  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 640px) {
  .sched .t { font-size: 16px; }
  .sched .item { font-size: 17px; }
  .sched .dur { font-size: 12.5px; }
  .sched td { padding: 18px 12px 18px 0; }
  .sched th { padding-right: 12px; }

  .record td, .record th { padding-right: 12px; }
  .record td { font-size: 14px; }
  .record .host { font-size: 14.5px; }

  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 380px) {
  .wordmark { font-size: 17px; }
  .wordmark img { height: 22px; }
  .nav .btn { padding: 0 12px; font-size: 13px; }
  .nav-toggle { min-width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- print ---------- */

@media print {
  .nav, .skip, .hero-actions, .countdown { display: none; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { min-height: 0; background: #fff; color: #000; }
  .hero-media { display: none; }
  .hero h1 { color: #000; }
  .hero .eyebrow, .hero-meta { color: #000; }
  .hero .shell { padding-top: 0; padding-bottom: 24pt; }

  section { padding: 18pt 0; }
  .reveal { opacity: 1; transform: none; }

  a { color: #000; text-decoration: underline; }

  footer { background: #fff; color: #000; padding: 18pt 0 0; border-top: 1pt solid #000; }
  .foot-grid { display: none; }
  .foot-bar { color: #000; padding-top: 0; }

  .card, .tier, .bar-seg { break-inside: avoid; }
  tr { break-inside: avoid; }
}
