/* Weinstein 2027 — WordPress Theme Styles */

/* ── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Override browser default blue links throughout page content */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Remove default WP admin bar push-down on sticky nav */
.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.site-nav--dark {
  background: var(--bordeaux-900);
  border-bottom-color: color-mix(in oklch, white 10%, transparent);
  color: var(--on-dark);
}
.site-nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.site-nav__brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.site-nav__brand-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.6;
}
.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav__list a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 4px;
  transition: opacity 0.15s;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item a,
.site-nav__list .current_page_item a {
  opacity: 1;
}
.site-nav__list .current-menu-item a,
.site-nav__list .current_page_item a {
  border-bottom-color: currentColor;
}
.site-nav__cta {
  padding: 10px 18px !important;
  font-size: 13px !important;
}
.site-nav--dark .site-nav__cta {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--paper) !important;
}

/* Hamburger — hidden on desktop */
.site-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}
.site-nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bordeaux-900);
  color: var(--on-dark);
  padding: 80px 48px 32px;
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid color-mix(in oklch, white 12%, transparent);
}
.site-footer__brand-name {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 360px;
}
.site-footer__brand-sub {
  font-size: 14px;
  line-height: 1.4;
  color: color-mix(in oklch, white 60%, transparent);
  margin-top: 8px;
  max-width: 360px;
}
.site-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__nav li { line-height: 1.9; }
.site-footer__nav a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
}
.site-footer__nav a:hover { opacity: 1; }
.site-footer__contact {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.85;
}
.site-footer__contact a { color: inherit; }
.site-footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ── Shared section containers ───────────────────────────────────────────── */
.w-container {
  max-width: 1280px;
  margin: 0 auto;
}
.w-container--narrow {
  max-width: 1080px;
  margin: 0 auto;
}
.w-section {
  padding: var(--section-y) 48px;
  border-bottom: 1px solid var(--line);
}
.w-section--dark {
  background: var(--bordeaux-900);
  color: var(--on-dark);
}
.w-section--tinted {
  background: var(--paper-2);
}

/* ── Page header (eyebrow + display title) ───────────────────────────────── */
.page-header {
  padding: 80px 48px 64px;
  border-bottom: 1px solid var(--line);
}
.page-header .display {
  font-size: clamp(56px, 8vw, 128px);
  margin: 20px 0 0;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

/* ── Countdown ───────────────────────────────────────────────────────────── */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.countdown__unit {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.countdown__digit {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.countdown__label {
  margin-top: 12px;
}

/* ── Program tabs ────────────────────────────────────────────────────────── */
.day-tabs {
  display: flex;
  gap: 0;
  align-items: flex-end;
}
.day-tab {
  flex: 1;
  text-align: left;
  padding: 24px 32px;
  background: transparent;
  color: var(--ink);
  border: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.day-tab:last-child { border-right: 1px solid var(--line); }
.day-tab[data-active="true"],
.day-tab.is-active {
  background: var(--ink);
  color: var(--paper);
  border-top-color: var(--ink);
}
.day-tab__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.day-tab__date {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.day-panel { display: none; }
.day-panel.is-active { display: block; }

/* ── Kind dot ────────────────────────────────────────────────────────────── */
.kind-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.kind-dot--opening,
.kind-dot--social,
.kind-dot--poster,
.kind-dot--closing { background: var(--accent); }
.kind-dot--session  { background: var(--ink); }
.kind-dot--break    { background: var(--line-2); }

/* ── Card grid ───────────────────────────────────────────────────────────── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--paper);
}

/* ── Two-column section ──────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.two-col--narrow { display: grid; grid-template-columns: 220px 1fr; gap: 80px; }
.two-col--sidebar { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }

/* ── List styles ─────────────────────────────────────────────────────────── */
.check-list, .plus-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li, .plus-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.check-list li::before { content: '✓'; color: var(--accent); font-family: var(--font-mono); }
.plus-list li::before  { content: '+'; color: var(--accent); font-family: var(--font-mono); }

/* ── Placeholder image ───────────────────────────────────────────────────── */
/* (defined in design-tokens.css as .placeholder-img — extended here) */

/* ── Bug fixes ───────────────────────────────────────────────────────────── */

/*
 * Bug 1 — Dark section text color:
 * design-tokens.css uses `section[style*="bordeaux-900"]` to override .display
 * color to --on-dark. PHP templates use a CSS class instead of an inline style,
 * so that selector never matches. We replicate the override here for all
 * class-based dark surfaces.
 */
.w-section--dark .display,
.w-section--dark h1,
.w-section--dark h2,
.w-section--dark h3,
.w-section--dark h4,
.w-section--dark p,
.w-section--dark li,
.w-section--dark span:not([style*="color"]),
.w-section--dark div.eyebrow {
  color: var(--on-dark);
}

/*
 * Bug 2 — External link arrows / Unicode symbols rendering as emoji:
 * Characters like ↗ (U+2197) have both a text form and an emoji form.
 * Browsers pick the emoji form when no font has the text glyph.
 * `font-variant-emoji: text` forces text presentation everywhere it is
 * supported; the HTML `&#xFE0E;` variation selector is the fallback.
 */
/* ── Travel page — Leaflet map ────────────────────────────────────────────── */
#travel-map .leaflet-tile-pane {
  filter: grayscale(0.4) contrast(0.95);
}
.travel-pin span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid var(--paper);
  box-shadow: 0 4px 10px -2px color-mix(in oklch, var(--ink) 40%, transparent);
}

.leaflet-popup-content-wrapper {
  border-radius: 0;
  border: 1px solid var(--ink);
  box-shadow: 0 12px 32px -8px color-mix(in oklch, var(--ink) 25%, transparent);
}
.leaflet-popup-tip {
  border: 1px solid var(--ink);
  box-shadow: none;
}
.leaflet-popup-content {
  margin: 16px 18px;
  font-family: var(--font-body);
}
.leaflet-popup-close-button {
  color: var(--ink-3) !important;
}
.travel-popup__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.travel-popup__name {
  font-family: var(--font-display);
  font-size: 16px;
  margin-top: 4px;
  line-height: 1.25;
}
.travel-popup__addr {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
}

.leaflet-tooltip.travel-tooltip {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 4px 10px;
  box-shadow: 0 6px 16px -4px color-mix(in oklch, var(--ink) 25%, transparent);
}
.leaflet-tooltip.travel-tooltip::before {
  display: none;
}

.btn,
.site-nav a,
a[target="_blank"] {
  font-variant-emoji: text;
}

/* ── CS prelaunch nav bar (Coming Soon / CS Travel — limited to available sections) */
.cs-navbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 64px;
  background: var(--bordeaux-900);
}
.cs-navbar .wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.cs-navbar .wordmark span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: color-mix(in oklch, white 55%, transparent);
  margin-left: 6px;
}
.cs-navbar nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.cs-navbar nav a.link {
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 4px;
}
.cs-navbar nav a.link.is-inactive { color: color-mix(in oklch, white 70%, transparent); }
.cs-navbar nav a.link.is-active { color: var(--on-dark); border-bottom-color: var(--on-dark); }

/* ── Two-column hero (description | coordinates), used on Travel-style headers */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col--sidebar { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }

  .site-nav { padding: 16px 20px; }
  .site-nav__hamburger { display: flex; }
  .site-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
    gap: 0;
  }
  .site-nav--dark .site-nav__menu { background: var(--bordeaux-900); }
  .site-nav__menu.is-open { display: flex; }
  .site-nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: flex-start;
  }
  .site-nav__list li { width: 100%; }
  .site-nav__list a { display: block; padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--line); }
  .site-nav__cta { margin-top: 16px !important; }

  .site-footer { padding: 60px 20px 24px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }

  .w-section { padding: 64px 20px; }
  .page-header { padding: 64px 20px 48px; }

  .countdown { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .countdown__digit { font-size: 40px; }

  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .two-col--narrow { grid-template-columns: 1fr; gap: 32px; }

  .day-tabs { flex-direction: column; }
  .day-tab { border-right: 1px solid var(--line); }

  .cs-navbar { padding: 16px 20px; gap: 12px; }
  .cs-navbar .wordmark { font-size: 17px; }
  .cs-navbar nav { gap: 14px; }

  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Pre-release "to be announced" note (inc/release.php) ───────────────── */
.tba-note {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 8px;
}
.tba-note p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ── Registration page: mobile overrides for inline grids ───────────────── */
@media (max-width: 768px) {
  .reg-cat-head { grid-template-columns: 1fr !important; gap: 20px !important; }
  .reg-booking  { grid-template-columns: 1fr !important; padding: 28px 24px !important; gap: 24px !important; }
}

/* ── Footer: newsletter sign-up merged into the footer (one dark block) ── */
html { scroll-behavior: smooth; }
.site-footer { position: relative; overflow: hidden; padding-top: 112px; }
.site-footer__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center top;
  pointer-events: none;
  /* bokeh visible behind the sign-up, fading into the solid footer below */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
}
.site-footer__inner { position: relative; }
.site-footer__notify {
  display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 64px; align-items: center;
  padding-bottom: 96px; margin-bottom: 64px;
  border-bottom: 1px solid color-mix(in oklch, white 12%, transparent);
}
.site-footer__notify-copy h2 {
  font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em;
  margin: 16px 0 0; color: var(--on-dark);
}
.site-footer__notify-copy p {
  margin: 24px 0 0; font-size: 17px; line-height: 1.6; max-width: 44ch;
  color: color-mix(in oklch, white 78%, transparent);
}
.notify-box {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, white 15%, transparent);
  background: #00101b;
  scroll-margin-top: 120px; /* clear the sticky nav when jumping to #notify */
}
.notify-box__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: color-mix(in oklch, white 60%, transparent);
  padding: 14px 20px 0;
}
.notify-box iframe { width: 100%; border: 0; background: #00101b; height: 280px; display: block; }
@media (max-width: 768px) {
  .site-footer { padding-top: 72px; }
  .site-footer__notify { grid-template-columns: 1fr; gap: 32px; padding-bottom: 56px; margin-bottom: 48px; }
}

/* ── About: organizing committee grid (portraits 480×600, 4:5) ──────────── */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 24px;
  margin-top: 56px;
}
.committee-member { border-top: 1px solid var(--ink); padding-top: 20px; }
.committee-member figure { margin: 0; position: relative; }
.committee-member img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.committee-member__org {
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1.5; color: var(--accent);
}
.committee-member__name { font-family: var(--font-display); font-size: 20px; line-height: 1.2; margin-top: 8px; }
.committee-member__role { font-size: 13px; line-height: 1.45; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 1024px) { .committee-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  {
  .committee-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .committee-member__name { font-size: 17px; }
}

/* ── Program: keynote lectures band (template-parts/program-keynotes.php) ── */
.kn-band {
  padding: 112px 48px;
  background: var(--bordeaux-900);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line);
}
.kn-band__head {
  display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 64px; align-items: end;
  margin-bottom: 64px;
}
.kn-band__head .display { font-size: clamp(44px, 5.5vw, 76px); color: var(--on-dark); margin: 0; line-height: 1; }
.kn-band__head p { margin: 0; font-size: 16px; line-height: 1.6; color: color-mix(in oklch, white 70%, transparent); }
.kn-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in oklch, white 30%, transparent); }
.kn-row {
  display: grid; grid-template-columns: 72px 168px 1fr auto; gap: 40px; align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid color-mix(in oklch, white 14%, transparent);
}
.kn-row__index { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.kn-row__photo { aspect-ratio: 1; overflow: hidden; background: color-mix(in oklch, white 6%, transparent); }
.kn-row__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05); transform: scale(1.02);
  transition: filter .5s ease, transform .6s ease;
}
.kn-row:hover .kn-row__photo img { filter: none; transform: scale(1.06); }
.kn-row__name {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 400;
  letter-spacing: -.015em; line-height: 1.1; margin: 0; color: var(--on-dark);
}
.kn-row__aff {
  margin-top: 12px; max-width: 62ch;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6;
  color: color-mix(in oklch, white 58%, transparent);
}
.kn-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.kn-row__slot {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid color-mix(in oklch, white 30%, transparent); padding: 6px 10px;
  color: color-mix(in oklch, white 80%, transparent);
}
.kn-row__link {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--accent); text-decoration: none; white-space: nowrap;
}
.kn-row__link:hover { color: var(--on-dark); }
@media (max-width: 1024px) {
  .kn-band__head { grid-template-columns: 1fr; gap: 24px; }
  .kn-row { grid-template-columns: 120px 1fr; gap: 20px 28px; }
  .kn-row__index { grid-column: 1 / -1; }
  .kn-row__meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; }
}
@media (max-width: 768px) {
  .kn-band { padding: 72px 20px; }
  .kn-band__head { margin-bottom: 40px; }
  .kn-row { grid-template-columns: 88px 1fr; gap: 16px 20px; padding: 24px 0; }
  .kn-row__meta { grid-column: 1 / -1; flex-wrap: wrap; }
}

/* ── Nav: midnight bar that fades into the heart's red/orange; heart mark dissolves into it ── */
.site-nav--glow {
  background:
    radial-gradient(120px 90px at 70px 50%, oklch(0.30 0.07 230 / .55), transparent 70%),
    linear-gradient(90deg,
      var(--bordeaux-900) 0%,
      var(--bordeaux-900) 38%,
      oklch(0.20 0.06 255) 58%,
      oklch(0.27 0.09 20) 80%,
      oklch(0.40 0.13 42) 100%);
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-nav--glow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, oklch(0.50 0.12 250 / .5) 35%, oklch(0.58 0.17 25) 70%, oklch(0.75 0.13 60) 100%);
}
.site-nav--glow .site-nav__list a { opacity: .78; }
.site-nav--glow .site-nav__list a:hover,
.site-nav--glow .site-nav__list .current-menu-item a,
.site-nav--glow .site-nav__list .current_page_item a { opacity: 1; }

.site-nav__brand { align-items: center; gap: 10px; }
.site-nav__brand-text { display: flex; align-items: baseline; gap: 12px; }
.site-nav__brand-mark {
  display: block; width: 52px; height: 52px; margin: -8px 0 -8px -10px; flex-shrink: 0;
  object-fit: cover;
  /* soft edge: the icon's midnight background melts into the bar */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 48%, transparent 71%);
          mask-image: radial-gradient(circle at 50% 50%, #000 48%, transparent 71%);
  transition: transform .4s ease, filter .4s ease;
}
.site-nav__brand:hover .site-nav__brand-mark { transform: scale(1.08) rotate(-3deg); filter: brightness(1.15); }

@media (max-width: 768px) {
  .site-nav--glow {
    background:
      radial-gradient(90px 70px at 40px 50%, oklch(0.30 0.07 230 / .55), transparent 70%),
      linear-gradient(90deg, var(--bordeaux-900) 0%, var(--bordeaux-900) 30%, oklch(0.24 0.08 20) 75%, oklch(0.36 0.12 40) 100%);
  }
  .site-nav--glow .site-nav__menu { background: var(--bordeaux-900); border-bottom-color: color-mix(in oklch, white 10%, transparent); }
  .site-nav--glow .site-nav__list a { border-bottom-color: color-mix(in oklch, white 10%, transparent); }
  .site-nav__brand-mark { width: 44px; height: 44px; margin: -6px 0 -6px -8px; }
}

/* Hamburger on the dark/gradient bar: buttons don't inherit text colour */
.site-nav__hamburger { color: inherit; border: 0; -webkit-appearance: none; appearance: none; }
.site-nav__hamburger:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

/* ── Mobile: home hero + countdown strip + registration (inline styles → !important) ── */
@media (max-width: 768px) {
  .hero, .hero__inner { min-height: 0 !important; }
  .hero__inner { padding: 28px 20px 48px !important; gap: 40px; }
  .hero__spacer { min-height: 64px !important; }
  .hero__mpi { top: 24px !important; right: 20px !important; height: 72px !important; }
  .hero__heart {
    width: 92% !important; right: -22% !important; top: 46% !important; opacity: .55;
  }
  .hero__title { font-size: clamp(34px, 9.4vw, 56px) !important; max-width: none !important; }
  .hero__title img { margin-left: 8px !important; }
  .hero__info { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero__info > div:first-child > div:first-child { font-size: 19px !important; }
  .hero__committee { text-align: left !important; }

  .countdown-strip { padding: 36px 20px !important; }
  .countdown-strip__grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  .reg-strip { padding: 20px !important; }
  .reg-awards { padding: 88px 20px !important; }
}

/* ── Mobile footer: Navigate + Hosts side by side, compact Contact below ── */
@media (max-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 40px; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .site-footer__grid > :nth-child(3) { grid-column: 1 / -1; order: 2; }
  .site-footer__brand-name { font-size: 26px; }
  .site-footer__grid .eyebrow { margin-bottom: 10px !important; font-size: 11px; }
  .site-footer__nav li { line-height: 1.75; }
  .site-footer__nav a { font-size: 13px; }
  .site-footer__contact { font-size: 12px; line-height: 1.5; }
}

/* Touch devices have no hover → keynote portraits always in colour */
@media (hover: none) {
  .kn-row__photo img { filter: none; transform: none; }
}
