/* ── FONTS ── */
@font-face {
  font-family: 'ABCBingo';
  src: url('ABCBingoCondensed-Regular-Trial.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  --bg: #f9faea;
  --menu-width: 320px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  background-color: var(--bg);
  /* smooth color crossfade */
  transition: background-color 1.2s ease;
  overflow-x: hidden;
  font-family: "lingua", sans-serif;
}

body.is-home {
  height: 100%;
  overflow: hidden;
}

/* ── NAV — hamburger ── */
.menu-btn {
  position: fixed;
  top: 20px; left: 20px;
  z-index: 200;
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column;
  gap: 5px; padding: 8px;
}
.menu-btn span {
  display: block; width: 28px; height: 2px;
  background: #312f2f;
  transition: transform .35s ease, opacity .35s ease, background-color .35s ease;
}
body.is-home .menu-btn span {
  background: #f9faea;
}
body.menu-open .menu-btn span {
  background: #312f2f;
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV — drawer ── */
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: var(--menu-width); max-width: 90vw;
  height: 100%;
  background: #f9faea;
  color: #312f2f;
  z-index: 150;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.77,0,.175,1);
  display: flex; flex-direction: column;
  padding: 80px 36px 40px;
}
body.menu-open .drawer { transform: translateX(0); }

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 140;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
body.menu-open .drawer-overlay { opacity: 1; pointer-events: all; }

.drawer h2 {
  font-family: "lingua", sans-serif;
  font-weight: 550;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(113, 105, 105, 0.696);
  margin-bottom: 32px;
}

.drawer nav a {
  display: block;
  font-family: 'ABCBingo', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(18px, 4vw, 22px);
  color: #312f2f;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1.3px solid rgba(113, 105, 105, 0.356);
  transition: color .2s, letter-spacing .2s;
}
.drawer nav a:hover,
.drawer nav a.active { letter-spacing: .04em; }

.drawer-footer {
  margin-top: auto;
  font-family: "lingua", sans-serif;
  font-weight: 550;
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(113, 105, 105, 0.696);
  padding-bottom: 24px;
}

/* ── HOMEPAGE — stage ── */
.page-home {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
}

/* ── TICKER ROWS ── */
.ticker-wrap {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 0;
}

.ticker-row {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

@media (min-width: 601px) {
  .ticker-row {
    max-height: 13vh;
  }
}

@media (max-width: 600px) {
  .ticker-wrap {
    justify-content: space-around;
    overflow: hidden;
    gap: 0;
  }
  .ticker-row {
    flex: 1 0 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible;
  }
}

.ticker-track {
  display: inline-flex;
  align-items: center;
}

/* All rows white */
.ticker-track { color: #f9faea; }

.ticker-word {
  font-family: "fig-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, 6vw, 50px);
  letter-spacing: .02em;
  padding: 0;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

/* single-space separator between repeated phrases */
.ticker-sep {
  font-family: "fig-sans", sans-serif;
  font-size: clamp(18px, 4vw, 42px);
  user-select: none;
  white-space: pre;
}

/* mobile font size override — must come after base rules */
@media (max-width: 600px) {
  .ticker-word,
  .ticker-sep {
    font-size: 11vw !important;
    line-height: 1;
  }
}

/* ── RESIST OVERLAY ── */
.resist-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* no z-index — avoids creating a stacking context that blocks blend mode */
}

.resist-letters {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resist-row {
  font-family: 'ABCBingo', sans-serif;
  font-weight: normal;
  font-size: clamp(80px, 23vw, 230px);
  letter-spacing: .05em;
  color: #fff;
  line-height: .88;
  padding: 0 6px;
  mix-blend-mode: soft-light;
}
 
@media (max-width: 600px) {
  .resist-row {
    font-size: 58vw;
    line-height: .82;
  }
  .resist-wrap {
    align-items: center;
    padding-bottom: 12vh;
  }
}

/* ── EXHIBITOR PAGES ── */
.page-wrap {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 60px;
}

.exhibitor-name {
  font-family: 'ABCBingo', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: clamp(36px, 8vw, 80px);
  color: #312f2f;
  letter-spacing: -.01em;
}

.page-label {
  position: fixed;
  bottom: 28px; right: 28px;
  font-family: "lingua", sans-serif;
  font-weight: 550;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(113, 105, 105, 0.356);
  pointer-events: none;
}

/* ── EXHIBITOR PAGES ── */
.page-wrap {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  display: block;
}
 
/* Hero header */
.exhibitor-header {
  width: 100%;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 6vw, 80px) clamp(32px, 5vw, 60px);
  border-bottom: 1px solid rgba(49, 47, 47, 0.15);
}
 
.exhibitor-name {
  font-family: 'ABCBingo', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: clamp(48px, 12vw, 130px);
  color: #312f2f;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: .88;
  margin-bottom: clamp(12px, 2vw, 24px);
}
 
.exhibitor-word {
  font-family: "fig-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(28px, 6.2vw, 100px);
  color: #312f2f;
  letter-spacing: .01em;
}
 
/* Body content */
.exhibitor-body {
  width: 100%;
  padding: clamp(40px, 7vw, 100px) clamp(24px, 6vw, 80px) clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
 
@media (max-width: 700px) {
  .exhibitor-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .exhibitor-section {
    padding: clamp(32px, 6vw, 60px) 0;
    border-bottom: 1px solid rgba(49, 47, 47, 0.15);
  }
  .exhibitor-section:last-child {
    border-bottom: none;
  }
}

.exhibitor-section--full {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(49, 47, 47, 0.15);
  padding-bottom: clamp(32px, 5vw, 60px);
  margin-bottom: clamp(8px, 2vw, 20px);
}
 
.exhibitor-section-label {
  font-family: "lingua", sans-serif;
  font-weight: 550;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(49, 47, 47, 0.4);
  margin-bottom: 16px;
}
 
.exhibitor-section p {
  font-family: "lingua", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: #312f2f;
}
 
.exhibitor-section p + p {
  margin-top: 1em;
}
 
.section-more p:first-child {
  margin-top: 1em;
}
 
.read-more-btn {
  margin-top: 16px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(49, 47, 47, 0.35);
  padding: 0 0 2px 0;
  font-family: "lingua", sans-serif;
  font-weight: 550;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(49, 47, 47, 0.5);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
 
.read-more-btn:hover {
  color: #312f2f;
  border-color: #312f2f;
}
 
.page-label {
  position: fixed;
  bottom: 28px; right: 28px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(49, 47, 47, 0.25);
  pointer-events: none;
}

/* ── EXHIBITOR NAVIGATION ── */
.exhibitor-pagination {
  width: 100%;
  padding: 0 clamp(24px, 6vw, 80px) 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.exhibitor-pagination a {
  font-family: 'ABCBingo', sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  color: #312f2f;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .2s ease, transform .2s ease;
}

.exhibitor-pagination a:hover {
  opacity: 0.6;
}

.exhibitor-pagination .next-link {
  margin-left: auto;
}

@media (max-width: 600px) {
  .exhibitor-pagination {
    padding-bottom: 120px;
  }

  .exhibitor-pagination a {
    font-size: 18px;
  }
}
