@font-face {
  font-family: "Google Sans";
  src: url("/fonts/google-sans-latin-400-normal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src: url("/fonts/google-sans-latin-500-normal.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src: url("/fonts/google-sans-latin-600-normal.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cooper Hewitt";
  src: url("/fonts/cooper-hewitt-latin-600-normal.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cooper Hewitt";
  src: url("/fonts/cooper-hewitt-latin-700-normal.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cooper Hewitt";
  src: url("/fonts/cooper-hewitt-latin-800-normal.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0e101c;
  --bg-live: #110f1b;
  --surface: #181a2c;
  --plate: #141828;
  --paper: #f6edea;
  --paper-82: rgba(246, 237, 234, 0.82);
  --paper-68: rgba(246, 237, 234, 0.68);
  --paper-64: rgba(246, 237, 234, 0.64);
  --paper-55: rgba(246, 237, 234, 0.55);
  --paper-48: rgba(246, 237, 234, 0.48);
  --paper-45: rgba(246, 237, 234, 0.45);
  --paper-28: rgba(246, 237, 234, 0.28);
  --paper-22: rgba(246, 237, 234, 0.22);
  --paper-16: rgba(246, 237, 234, 0.16);
  --paper-14: rgba(246, 237, 234, 0.14);
  --paper-12: rgba(246, 237, 234, 0.12);
  --paper-10: rgba(246, 237, 234, 0.1);
  --paper-08: rgba(246, 237, 234, 0.08);
  --paper-06: rgba(246, 237, 234, 0.06);
  --paper-04: rgba(246, 237, 234, 0.04);
  --paper-03: rgba(246, 237, 234, 0.03);
  --paper-025: rgba(246, 237, 234, 0.025);
  --rim: rgba(246, 237, 234, 0.14);
  --soft: #9aa6d8;
  --overlay: rgba(14, 16, 28, 0.96);
  --tile-bg: #0a0b14;
  --read: var(--paper);
  --read-secondary: rgba(246, 237, 234, 0.92);
  --read-muted: var(--paper-64);
  --sans: "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Cooper Hewitt", var(--sans);
}

/*
  Light — Bloomberg editorial: white field, near-black ink, cool gray
  hairlines and plates. Not an inverted cream/navy swap.
*/
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-live: #f7f7f5;
    --surface: #f4f4f2;
    --plate: #f2f2f0;
    --paper: #121212;
    --paper-82: rgba(18, 18, 18, 0.82);
    --paper-68: rgba(18, 18, 18, 0.68);
    --paper-64: rgba(18, 18, 18, 0.64);
    --paper-55: rgba(18, 18, 18, 0.55);
    --paper-48: rgba(18, 18, 18, 0.48);
    --paper-45: rgba(18, 18, 18, 0.45);
    --paper-28: rgba(18, 18, 18, 0.28);
    --paper-22: rgba(18, 18, 18, 0.22);
    --paper-16: rgba(18, 18, 18, 0.16);
    --paper-14: rgba(18, 18, 18, 0.14);
    --paper-12: rgba(18, 18, 18, 0.12);
    --paper-10: rgba(18, 18, 18, 0.1);
    --paper-08: rgba(18, 18, 18, 0.08);
    --paper-06: rgba(18, 18, 18, 0.06);
    --paper-04: rgba(18, 18, 18, 0.04);
    --paper-03: rgba(18, 18, 18, 0.03);
    --paper-025: rgba(18, 18, 18, 0.025);
    --rim: rgba(18, 18, 18, 0.12);
    --soft: #5c5c5c;
    --overlay: rgba(255, 255, 255, 0.97);
    --tile-bg: #0a0b14;
    --read: #121212;
    --read-secondary: rgba(18, 18, 18, 0.72);
    --read-muted: rgba(18, 18, 18, 0.48);
  }
}


* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  min-width: 320px;
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 220ms ease, color 220ms ease;
}

@media (prefers-color-scheme: light) {
  body {
    -webkit-font-smoothing: auto;
  }
}

body[data-event-state="live"] {
  background: var(--bg-live);
}

/* Live workshop takes the viewport; marketing chrome is hidden via workshop.css */
body.workshop-active {
  background: var(--bg-live);
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-color: var(--paper-48);
}

a:hover {
  text-decoration-color: var(--paper);
}

.masthead {
  width: min(100% - 40px, 1120px);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 32px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--rim);
  box-sizing: border-box;
  overflow: visible;
}

.masthead-stack {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  gap: 14px;
}

.masthead-stack .wordmark {
  flex: 0 0 auto;
  align-self: center;
  max-width: 100%;
}

body.home-page .masthead-stack .wordmark {
  align-self: stretch;
  width: 100%;
}

.masthead-stack .home-articles-cta {
  flex: 0 0 auto;
  align-self: center;
}

.masthead-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.masthead-design-cta[aria-current="page"] {
  color: var(--paper);
}

.home-articles-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper-68);
  font-family: var(--label);
  font-size: clamp(12px, 1.7vw, 14px);
  font-weight: 600;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

body.home-page .home-articles-cta {
  gap: 10px;
  font-size: clamp(15px, 2.2vw, 18px);
  letter-spacing: 1.6px;
}

.home-articles-cta:hover,
.home-articles-cta:focus-visible {
  color: var(--paper);
  outline: none;
}

.home-articles-cta:focus-visible {
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-articles-cta-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 18%, transparent);
  font-family: var(--label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

body.home-page .home-articles-cta-count {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  font-size: 11px;
}

.wordmark {
  display: block;
  width: 100%;
  max-width: none;
  color: var(--paper);
  font-family: "Cooper Hewitt", var(--sans);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  word-spacing: 0.02em;
}

/*
  Light mode: only the wordmark and home hero quote run the tri-color cycle.
  Series pages and cards fade black ↔ deeper series ink (article.css / home.css).
*/
@media (prefers-color-scheme: light) {
  .wordmark,
  .home-hero-quote p {
    color: #0a1020;
    animation: wordmark-ink-shift 27s ease-in-out infinite;
  }
}

@keyframes wordmark-ink-shift {
  0%,
  100% {
    color: #0a1020;
  }
  33.333% {
    color: #161028;
  }
  66.666% {
    color: #280e1a;
  }
}

/* Black ↔ series accent. --accent-ink is set per series on the target. */
@keyframes series-ink-fade {
  from {
    color: #07080f;
  }
  to {
    color: var(--accent-ink);
  }
}

@keyframes series-tile-fade {
  from {
    background-color: #07080f;
  }
  to {
    background-color: var(--accent-ink);
  }
}

.eyebrow,
.card-label,
.section-label {
  margin: 0;
  color: var(--soft);
  font-family: var(--label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.3;
  text-transform: uppercase;
}

main {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) 0 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  margin: 0;
  border-radius: 20px;
}

.hero::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(232, 90, 58, 0.04);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

body[data-event-state="live"] .hero::after {
  opacity: 1;
}

.event-hero {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rim);
  border-radius: 20px;
  transition: border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

body[data-event-state="live"] .event-hero {
  box-shadow: 0 20px 70px rgba(232, 90, 58, 0.025);
  filter: saturate(1.03);
}

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

.event-grid {
  margin-top: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.event-brief {
  padding-top: 20px;
  border-top: 1px solid var(--rim);
}

.event-brief p {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--paper-82);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.join-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(154, 166, 216, 0.42);
  border-radius: 20px;
  background: var(--surface);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.join-card[data-event-state="live"] {
  border-color: #e85a3a;
  background: #29151e;
  box-shadow: 0 0 0 1px rgba(232, 90, 58, 0.16), 0 18px 60px rgba(232, 90, 58, 0.12);
}

.join-card[data-event-state="live"] .card-label {
  color: #ff795c;
}

.join-card[data-event-state="live"] .primary-action {
  background: #e85a3a;
  color: #fff;
}

.join-card[data-event-state="after"] {
  border-color: var(--rim);
  background: rgba(24, 26, 44, 0.58);
}

.live-dot {
  display: none;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #e85a3a;
  box-shadow: 0 0 0 0 rgba(232, 90, 58, 0.55);
  vertical-align: 1px;
}

.join-card[data-event-state="live"] .live-dot {
  display: inline-block;
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(232, 90, 58, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 90, 58, 0);
  }
}

.join-card h2,
.detail-section h2,
.dial-in h2 {
  margin: 12px 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.event-time {
  margin: 8px 0 0;
  color: var(--paper-68);
  font-size: 1.08rem;
}

.countdown {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.countdown span {
  min-width: 0;
  padding: 13px 6px 11px;
  border: 1px solid var(--rim);
  border-radius: 10px;
  text-align: center;
}

.countdown strong,
.countdown small {
  display: block;
}

.countdown strong {
  color: var(--paper);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.countdown small {
  margin-top: 8px;
  color: var(--paper-48);
  font-family: var(--label);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.9px;
  line-height: 1;
  text-transform: uppercase;
}

.state-message {
  margin: 20px 0 0;
  color: var(--paper-68);
  font-size: 0.95rem;
  line-height: 1.5;
}

.primary-action,
.secondary-action,
.disabled-action {
  min-height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-action {
  margin-top: 30px;
  background: var(--paper);
  color: var(--bg);
}

.primary-action:hover {
  background: #fff;
}

.action-note {
  margin: 10px 4px 0;
  color: var(--paper-48);
  font-size: 0.82rem;
  text-align: center;
}

/* Quiet alternate RSVP (e.g. Luma) — does not compete with primary. */
.alt-rsvp {
  margin: 14px 0 0;
  display: block;
  text-align: center;
  font-family: var(--label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--paper-48);
  text-decoration: none;
}

.alt-rsvp:hover {
  color: var(--paper-82);
}

.secondary-action {
  margin-top: 20px;
  border: 1px solid var(--rim);
  color: var(--paper-82);
}

.secondary-action:hover {
  border-color: var(--paper-48);
}

.disabled-action {
  margin-top: 26px;
  border: 1px solid var(--rim);
  color: var(--paper-48);
  cursor: not-allowed;
}

.dial-in,
.event-recap {
  margin-top: clamp(64px, 10vw, 112px);
  padding: 30px 0;
  border-top: 1px solid var(--rim);
  border-bottom: 1px solid var(--rim);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.event-recap .event-brief {
  margin: 0;
}

.dial-details p {
  margin: 0 0 6px;
  color: var(--paper-82);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--soft);
  font-family: var(--label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

footer {
  margin-top: auto;
  padding-top: 42px;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  color: var(--paper-48);
  font-family: var(--label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 1.5;
  text-transform: uppercase;
}

footer a {
  color: var(--paper-68);
  text-decoration: none;
}

footer a:hover {
  color: var(--paper);
}

.footer-wordmark {
  color: var(--paper-68);
  font-family: "Cooper Hewitt", var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-wordmark:hover {
  color: var(--paper);
}

.footer-links {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 2px;
  margin-left: auto;
  max-width: 100%;
}

.footer-links a {
  display: inline-block;
  padding: 4px 7px;
  white-space: nowrap;
}

.event-state-admin {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 14px;
  width: 164px;
  padding: 14px;
  border: 1px solid var(--paper-16);
  border-radius: 14px;
  background: var(--overlay);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
  backdrop-filter: blur(16px);
}

.event-state-admin p {
  margin: 0 0 10px;
  color: var(--paper-48);
  font-family: var(--label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.event-state-admin button {
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--rim);
  border-radius: 8px;
  background: transparent;
  color: var(--paper-68);
  cursor: pointer;
  font-family: var(--label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-align: left;
  text-transform: uppercase;
}

.event-state-admin button:hover {
  border-color: var(--paper-48);
  color: var(--paper);
}

.event-state-admin button[aria-pressed="true"] {
  border-color: var(--soft);
  background: rgba(154, 166, 216, 0.14);
  color: var(--paper);
}

.event-state-admin button[data-workshop-reset] {
  margin-top: 12px;
  border-color: rgba(232, 90, 58, 0.45);
  color: var(--paper-82);
}

.event-state-admin button[data-workshop-reset]:hover {
  border-color: rgba(232, 90, 58, 0.8);
  color: var(--paper);
}

.event-state-admin button[data-workshop-download] {
  margin-top: 6px;
}

.workshop-export-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(8px);
}

.workshop-export-overlay[hidden] {
  display: none;
}

.workshop-export-panel {
  width: min(720px, 100%);
  max-height: min(84dvh, 900px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--paper-16);
  border-radius: 14px;
  background: #12151f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.workshop-export-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--paper-10);
  flex-shrink: 0;
}

.workshop-export-title {
  margin: 0;
  color: var(--paper-55);
  font-family: var(--label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.workshop-export-actions {
  display: flex;
  gap: 8px;
}

.workshop-export-actions button {
  min-height: 36px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--paper-22);
  border-radius: 8px;
  background: transparent;
  color: var(--paper-82);
  font-family: var(--label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
}

.workshop-export-actions button:hover {
  border-color: var(--paper-45);
  color: var(--paper);
}

.workshop-export-actions button.is-copied {
  border-color: rgba(122, 146, 240, 0.55);
  color: #7a92f0;
}

.workshop-export-body {
  margin: 0;
  padding: 16px 18px 24px;
  overflow: auto;
  color: var(--paper-82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.events-index-intro {
  margin: 0 0 clamp(28px, 5vw, 40px);
  display: grid;
  gap: 22px;
}

.events-index-intro h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.event-type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-filter-chip {
  appearance: none;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid var(--rim);
  border-radius: 999px;
  background: transparent;
  color: var(--paper-68);
  cursor: pointer;
  font-family: var(--label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.event-filter-chip:hover {
  border-color: var(--paper-48);
  color: var(--paper);
}

.event-filter-chip[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--chip-accent, var(--paper)) 55%, transparent);
  background: color-mix(in srgb, var(--chip-accent, var(--paper)) 16%, transparent);
  color: var(--chip-accent, var(--paper));
}

.event-filter-chip[data-type-filter="all"][aria-pressed="true"],
.event-filter-chip[data-series-filter="all"][aria-pressed="true"] {
  border-color: var(--paper-48);
  background: var(--paper-10);
  color: var(--paper);
}

.event-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.event-tile {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.event-tile-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--rim);
  border-radius: 12px;
  background: var(--tile-bg);
}

.event-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-tile-placeholder {
  pointer-events: none;
}

.event-tile-placeholder .event-tile-media {
  border-color: transparent;
  background: var(--tile-bg);
}

/* Placeholders removed from the live index; keep styles for any legacy markup. */

.event-tile-meta {
  margin: 0;
  color: var(--paper-48);
  font-family: var(--label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.1px;
  line-height: 1.3;
  text-transform: uppercase;
}

.event-type {
  color: inherit;
}

.meta-gap {
  display: inline-block;
  width: 1.1em;
}

.event-tile-static {
  cursor: default;
}

.event-tile-static:hover .event-tile-title,
.event-tile-static:focus-visible .event-tile-title {
  color: var(--paper-82);
}

.event-grid-empty {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: var(--paper-48);
  font-size: 0.98rem;
  line-height: 1.45;
}

.events-index-admin {
  width: 168px;
}

.events-admin-section {
  margin-top: 14px !important;
}

.events-admin-status {
  margin: 0 0 4px !important;
  color: var(--paper-48);
  font-family: var(--label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1.35;
  text-transform: none;
}

.events-admin-status[data-state="ok"] {
  color: var(--paper-68);
}

.events-admin-status[data-state="error"] {
  color: #ff8f8f;
}

.events-admin-status[data-state="warn"] {
  color: var(--paper-48);
}

.event-tile-title {
  margin: 0;
  color: var(--paper-82);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.event-tile:hover .event-tile-title,
.event-tile:focus-visible .event-tile-title {
  color: var(--paper);
}

.event-tile:focus-visible {
  outline: 1px solid var(--paper-48);
  outline-offset: 6px;
}

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

  .event-brief {
    padding-top: 0;
    border-top: 0;
  }

  .event-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-tile-placeholder:last-child {
    display: none;
  }
}

@media (max-width: 540px) {
  .masthead,
  main {
    width: min(100% - 32px, 1120px);
  }

  main {
    padding-top: 28px;
  }

  .masthead {
    min-height: 0;
    padding: clamp(20px, 4.5vw, 28px) 0;
  }

  .hero,
  .event-hero,
  .join-card {
    border-radius: 14px;
  }

  .event-grid-list {
    grid-template-columns: 1fr;
  }

  .event-tile-placeholder {
    display: none;
  }

  .dial-in,
  .event-recap {
    grid-template-columns: 1fr;
  }

  .event-state-admin {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    transform: none;
  }

  .event-state-admin p {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .event-state-admin button {
    margin-top: 0;
    padding: 6px;
    text-align: center;
  }
}

/* When the link row can't sit beside the wordmark, drop it under — still one line. */
@media (max-width: 420px) {
  .footer-links {
    flex: 1 0 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

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

  .live-dot,
  .wordmark,
  .home-hero-quote p,
  .home-hero-dek,
  .home-edition-hit h1,
  .home-edition-hit .article-dek,
  .article-header h1,
  .article-dek,
  .article-pullquote p,
  .abridgment h2,
  .article-body h2,
  .article-close p,
  .event-tile-title,
  .article-mark-art,
  .article-title-art,
  .event-tile-media,
  .home-rail-pull {
    animation: none !important;
  }
}

