/* ==========================================================================
   WIDGET 27 · Components
   Shared UI used on every page. Documented in docs/spec/05-components.md.
   ========================================================================== */

/* Eyebrow / spec label ------------------------------------------------- */

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow--green { color: var(--c-green); }

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: var(--sp-2) var(--sp-5);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn--primary { background: var(--c-green); color: var(--c-green-ink); }
.btn--primary:hover { background: var(--c-green-hover); color: var(--c-green-ink); }
.btn--secondary { background: transparent; color: var(--c-text); border-color: var(--c-line); }
.btn--secondary:hover { border-color: var(--c-text); color: var(--c-text); }
.btn--sm { min-height: 36px; padding: var(--sp-1) var(--sp-4); }
.btn--lg { min-height: 52px; padding: var(--sp-3) var(--sp-6); font-size: var(--fs-body); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  text-decoration: none;
  color: var(--c-blue-text);
}
.link-arrow::after { content: "→"; transition: transform var(--t-fast); }
.link-arrow:hover::after { transform: translateX(3px); }

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

.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-7); }
.section--surface { background: var(--c-surface); }
.section--grid {
  background-color: var(--c-bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.section--paper { background: var(--c-paper); color: var(--c-paper-text); }
.section--paper .eyebrow { color: var(--c-paper-muted); }
.section--paper a { color: var(--c-paper-link); }
.section--paper .btn--secondary { color: var(--c-paper-text); border-color: var(--c-paper-line); }
.section--paper .btn--secondary:hover { border-color: var(--c-paper-text); }
.section--paper .btn--primary { color: var(--c-green-ink); }

.section-head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.section-head p { color: var(--c-muted); }
.section--paper .section-head p { color: var(--c-paper-muted); }

/* Page hero (inner pages) ---------------------------------------------- */

.page-hero { padding-block: var(--sp-8) var(--sp-7); border-bottom: 1px solid var(--c-line); }
.page-hero .container { display: grid; gap: var(--sp-4); }
.page-hero p { font-size: 1.25rem; color: var(--c-muted); }
.page-hero p.small { font-size: var(--fs-small); }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-3); }

/* Stub notice (pages not built yet) ------------------------------------ */

.stub {
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-2);
  color: var(--c-muted);
}

/* Logo -------------------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  text-decoration: none;
  flex: none;
}
.logo svg { width: 28px; height: 28px; flex: none; }
.logo__word {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo__year { color: var(--c-green); margin-left: 0.15em; }
.logo:hover { color: var(--c-text); }

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

site-header, site-footer { display: block; }
/* The utility bar (35 px) scrolls away; the main bar stays stuck to the top. */
.site-header { position: sticky; top: -35px; z-index: 50; }

.utility-bar {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); height: 34px; }
.utility-bar strong { color: var(--c-text); font-weight: 500; }
.utility-bar a { color: var(--c-muted); text-decoration: none; }
.utility-bar a:hover { color: var(--c-text); }
.utility-bar__right { display: flex; gap: var(--sp-5); }

.main-bar {
  background: color-mix(in srgb, var(--c-surface) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.main-bar .container { display: flex; align-items: center; gap: var(--sp-6); min-height: var(--header-h); }

.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link, .nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--sp-2) var(--sp-3);
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--c-muted);
  font: 500 0.9375rem/1.2 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--c-text); background: var(--c-surface-2); }
.nav__item.is-current > .nav__link, .nav__item.is-current > .nav__trigger { color: var(--c-text); }
.nav__item.is-current > .nav__link::after, .nav__item.is-current > .nav__trigger::after {
  content: ""; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: -15px; height: 2px; background: var(--c-green);
}
.nav__chevron { width: 10px; height: 10px; transition: transform var(--t-fast); }
.nav__trigger[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: calc(-1 * var(--sp-3));
  width: 340px;
  padding: var(--sp-2);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  list-style: none;
  margin: 0;
}
.dropdown[hidden] { display: none; }
.dropdown__link {
  display: grid;
  gap: 2px;
  padding: var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--c-text);
  text-decoration: none;
}
.dropdown__link:hover { background: var(--c-surface-2); color: var(--c-text); }
.dropdown__title { font-weight: 600; font-size: 0.9375rem; }
.dropdown__desc { font-size: var(--fs-small); color: var(--c-muted); line-height: 1.4; }
.dropdown__link[aria-current="page"] .dropdown__title { color: var(--c-green); }

.header-actions { display: flex; gap: var(--sp-2); flex: none; }

.menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: var(--sp-2);
  min-height: 40px;
  padding: var(--sp-2) var(--sp-3);
  background: none;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font: 600 var(--fs-small)/1 var(--f-body);
  cursor: pointer;
}
.menu-toggle__icon { width: 18px; height: 12px; position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after, .menu-toggle__icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--t-fast), opacity var(--t-fast);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon span { top: 5px; }
.menu-toggle__icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .container { display: grid; gap: var(--sp-2); padding-block: var(--sp-4) var(--sp-6); }
.mobile-menu details { border-bottom: 1px solid var(--c-line); }
.mobile-menu summary, .mobile-menu__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-4) 0;
  font-weight: 600; font-size: 1.0625rem;
  color: var(--c-text); text-decoration: none;
  list-style: none; cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: "+"; font-family: var(--f-mono); color: var(--c-muted); }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-menu__link { border-bottom: 1px solid var(--c-line); }
.mobile-menu ul { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: grid; }
.mobile-menu ul a { display: block; padding: var(--sp-2) 0 var(--sp-2) var(--sp-3); color: var(--c-muted); text-decoration: none; border-left: 2px solid var(--c-line); }
.mobile-menu ul a[aria-current="page"] { color: var(--c-green); border-left-color: var(--c-green); }
.mobile-menu__actions { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }

@media (max-width: 1023px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 599px) {
  /* Keep the utility bar to one line (35 px) so the sticky offset holds. */
  .utility-bar__right { display: none; }
  .utility-bar .container > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

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

.site-footer { background: var(--c-surface); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-small); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
  padding-block: var(--sp-8) var(--sp-7);
}
.footer-brand { display: grid; gap: var(--sp-4); align-content: start; }
.footer-brand p { color: var(--c-muted); }
.footer-brand .meta { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text); }
.footer-brand .actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.footer-col h2 { font-family: var(--f-mono); font-size: var(--fs-label); font-weight: 500; font-stretch: 100%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text); margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.footer-col a { color: var(--c-muted); text-decoration: none; }
.footer-col a:hover { color: var(--c-text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--c-line);
  font-size: 0.8125rem;
}
.footer-notice { max-width: 70ch; }
.footer-notice strong { color: var(--c-text); font-weight: 600; }

@media (max-width: 1023px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Form fields (basic: label + input/select). Full forms come with Register.
   ========================================================================== */

.field { display: grid; gap: var(--sp-1); }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field input,
.field select,
.field textarea {
  min-height: 44px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-surface-2);
  color: var(--c-text);
  font: inherit;
  font-size: 1rem;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 1px; border-color: var(--c-blue); }

/* ==========================================================================
   Content blocks
   Reusable page sections. Documented in docs/spec/05-components.md.
   ========================================================================== */

/* Shared helpers --------------------------------------------------------- */

.muted { color: var(--c-muted); }
.section--paper .muted { color: var(--c-paper-muted); }
.small { font-size: var(--fs-small); }
.mono { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; }
.lead { font-size: 1.25rem; color: var(--c-muted); }
.section--paper .lead { color: var(--c-paper-muted); }
.after { margin-top: var(--sp-6); }
.center { text-align: center; justify-items: center; }
.center p { margin-inline: auto; }

/* Grids: columns collapse on smaller screens */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--pair-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); } /* keep two per row on phones */
}

/* Image placeholder ------------------------------------------------------ */
/* <div class="media media--3x2" role="img" aria-label="Alt text"><span class="media__label">home/card.jpg</span></div>
   Swap for <img class="media media--3x2" src="…" alt="…"> when photography arrives. */

.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-md);
  background-color: var(--c-surface-2);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  object-fit: cover;
  overflow: hidden;
}
.media--4x5 { aspect-ratio: 4 / 5; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media__label {
  position: absolute;
  left: var(--sp-3);
  bottom: var(--sp-3);
  right: var(--sp-3);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  color: var(--c-muted);
  overflow-wrap: anywhere;
}
.section--paper .media { background-color: var(--c-paper-line); }
.section--paper .media__label { color: var(--c-paper-muted); }

/* Video slot: where a ReelFlow player will be embedded. */
.media--video { display: grid; place-items: center; }
.media--video::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--c-muted);
  background: linear-gradient(90deg, transparent 40%, var(--c-muted) 40%, var(--c-muted) 46%, transparent 46%, transparent 54%, var(--c-muted) 54%, var(--c-muted) 60%, transparent 60%) center / 24px 22px no-repeat;
}

/* Split section (media + copy) ------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--sp-7);
  align-items: center;
}
.split--half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--copy-first { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--top { align-items: start; }
.split__copy { display: grid; gap: var(--sp-4); align-content: start; }
.split__copy p { color: var(--c-muted); }
.section--paper .split__copy p { color: var(--c-paper-muted); }
@media (max-width: 767px) {
  .split, .split--half, .split--copy-first { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split--media-last > :first-child { order: 2; }
}

/* Hero (homepage) -------------------------------------------------------- */

.hero { padding-block: var(--sp-8); border-bottom: 1px solid var(--c-line); }
.hero h1 { font-size: var(--fs-hero); }
.hero .split__copy p.lead { color: var(--c-muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }

/* Ticks list -------------------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.ticks li { position: relative; padding-left: var(--sp-6); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--c-green);
  border-bottom: 2px solid var(--c-green);
  transform: rotate(-45deg);
}
.section--paper .ticks li::before { border-color: var(--c-paper-text); }

/* Stat strip ------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--sp-5); }
.stats--3 { --cols: 3; }
.stat { display: grid; gap: var(--sp-1); align-content: start; }
.stat__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: var(--fs-h1);
  line-height: 1;
  color: var(--c-text);
}
.stat__label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-green); }
.stat__line { font-size: var(--fs-small); color: var(--c-muted); }
.stats--tiles .stat { padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg); }
.stats--inline { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); }
.stats--inline .stat__num { font-size: var(--fs-h2); }
@media (max-width: 767px) {
  .stats, .stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Cards ------------------------------------------------------------------ */
/* .card: audience, feature and reason cards. Optional media on top. */

.card {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
}
.section--surface .card { background: var(--c-bg); }
.card > .media:first-child { margin: calc(var(--sp-5) * -1) calc(var(--sp-5) * -1) var(--sp-2); width: calc(100% + var(--sp-5) * 2); border-radius: var(--r-md) var(--r-md) 0 0; }
.card p { color: var(--c-muted); }
.card .link-arrow { margin-top: var(--sp-2); }
.section--paper .card { background: var(--c-paper); border-color: var(--c-paper-line); }
.section--paper .card p { color: var(--c-paper-muted); }

.card__icon { width: 32px; height: 32px; color: var(--c-green); }
.section--paper .card__icon { color: var(--c-paper-text); }
.card__num { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--c-green); letter-spacing: 0.08em; }
.card__zone { font-family: var(--f-mono); font-size: var(--fs-h1); line-height: 1; color: var(--c-blue-text); }
.card__meta { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.section--paper .card__meta { color: var(--c-paper-muted); }

/* Sector tile: cog, name, line */
.tile { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-1) var(--sp-4); padding: var(--sp-5); border: 1px solid var(--c-paper-line); border-radius: var(--r-md); background: var(--c-paper); }
.tile svg { grid-row: span 2; width: 28px; height: 28px; color: var(--c-paper-text); }
.tile p { color: var(--c-paper-muted); font-size: var(--fs-small); }

/* Speaker card */
.speaker { display: grid; gap: var(--sp-2); align-content: start; }
.speaker .media { margin-bottom: var(--sp-2); }
.speaker h3 { font-size: 1.125rem; }
.speaker p { color: var(--c-muted); font-size: var(--fs-small); }
.speaker .mono { color: var(--c-text); }
.speaker__label { color: var(--c-green); }

/* Testimonial card */
.quote-card { position: relative; display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-6) var(--sp-5) var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg); }
.quote-card::before { content: "\201C"; font-family: var(--f-display); font-size: 4rem; line-height: 0.6; color: var(--c-green); }
.quote-card blockquote { margin: 0; font-size: 1.125rem; }
.quote-card footer { display: grid; gap: 2px; font-size: var(--fs-small); color: var(--c-muted); }
.quote-card footer strong { color: var(--c-text); }

/* Big quote */
.big-quote { margin: 0 auto; max-width: 52rem; display: grid; gap: var(--sp-5); text-align: center; }
.big-quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: var(--fs-h2); line-height: var(--lh-snug); text-wrap: balance; }
.big-quote blockquote::before { content: "\201C"; color: var(--c-green); }
.big-quote blockquote::after { content: "\201D"; color: var(--c-green); }
.big-quote figcaption { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }

/* Inline quote (inside copy) */
.pull-quote { margin: 0; padding-left: var(--sp-4); border-left: 3px solid var(--c-green); display: grid; gap: var(--sp-2); }
.pull-quote blockquote { margin: 0; font-size: 1.125rem; color: var(--c-text); }
.pull-quote figcaption { font-size: var(--fs-small); color: var(--c-muted); }

/* Award card */
.award { display: grid; gap: var(--sp-2); align-content: start; padding: var(--sp-5); border: 1px solid var(--c-paper-line); border-top: 3px solid var(--c-paper-text); border-radius: var(--r-md); background: var(--c-paper); }
.award p { color: var(--c-paper-muted); }

/* Price card: passes, stands, sponsorship packages */
.price-card { position: relative; display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.price-card__price { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: var(--fs-h2); line-height: 1; }
.price-card__price small { font-family: var(--f-body); font-weight: 400; font-size: var(--fs-small); color: var(--c-muted); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); font-size: var(--fs-small); color: var(--c-muted); }
.price-card ul li { padding-left: var(--sp-4); position: relative; }
.price-card ul li::before { content: "·"; position: absolute; left: var(--sp-1); }
.price-card .btn { justify-self: start; }
.price-card--featured { border-top: 3px solid var(--c-green); }
.price-card__badge { position: absolute; top: var(--sp-4); right: var(--sp-4); padding: 2px var(--sp-2); border-radius: var(--r-sm); background: var(--c-green); color: var(--c-green-ink); font-family: var(--f-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; }
.section--paper .price-card { background: var(--c-paper); border-color: var(--c-paper-line); }
.section--paper .price-card--featured { border-top-color: var(--c-paper-text); }
.section--paper .price-card ul, .section--paper .price-card__price small { color: var(--c-paper-muted); }
.section--paper .price-card__badge { background: var(--c-paper-text); color: var(--c-paper); }

/* Exhibitor card */
.exhibitor { display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-2) var(--sp-4); align-content: start; padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.exhibitor[hidden] { display: none; }
.exhibitor__logo { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--c-surface-2); font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.25rem; }
.exhibitor h3 { font-size: 1.125rem; }
.exhibitor__body { grid-column: 1 / -1; display: grid; gap: var(--sp-3); }
.exhibitor__body p { color: var(--c-muted); }
.badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.badge { padding: 2px var(--sp-2); border: 1px solid var(--c-line); border-radius: var(--r-sm); font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text); }
.badge--green { border-color: var(--c-green); color: var(--c-green); }
.badge--blue { border-color: var(--c-blue-text); color: var(--c-blue-text); }

/* Name row (exhibitor names as text) */
.name-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3) 0; list-style: none; margin: 0; padding: 0; }
.name-row li { padding-inline: var(--sp-5); border-left: 1px solid var(--c-line); font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 1.125rem; color: var(--c-muted); }
.name-row li:first-child { border-left: 0; }

/* Bar list --------------------------------------------------------------- */

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-2) var(--sp-4); align-items: center; }
.bars__label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.bars__value { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.25rem; }
.bars__track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--c-surface-2); overflow: hidden; }
.bars__fill { display: block; height: 100%; width: var(--value); background: var(--c-blue); border-radius: 4px; }

/* Timeline --------------------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--items, 6), minmax(0, 1fr)); gap: var(--sp-4); }
.timeline li { position: relative; display: grid; gap: var(--sp-2); align-content: start; padding-top: var(--sp-6); }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; right: calc(var(--sp-4) * -1); height: 2px; background: var(--c-line); }
.timeline li:last-child::before { right: 0; }
.timeline li::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--c-bg); border: 2px solid var(--c-blue); }
.section--surface .timeline li::after { background: var(--c-surface); }
.timeline__when { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-blue-text); }
.timeline__what { font-size: var(--fs-small); color: var(--c-muted); }
.timeline .is-current::after { background: var(--c-green); border-color: var(--c-green); }
.timeline .is-current .timeline__when { color: var(--c-green); }
.timeline .is-current .timeline__what { color: var(--c-text); }
/* Vertical on mobile (default), or its own sideways scroll with .timeline--scroll */
@media (max-width: 767px) {
  .timeline { grid-template-columns: 1fr; gap: var(--sp-5); }
  .timeline li { padding-top: 0; padding-left: var(--sp-6); }
  .timeline li::before { top: 14px; bottom: calc(var(--sp-5) * -1); left: 6px; right: auto; width: 2px; height: auto; }
  .timeline li:last-child::before { display: none; }
  .timeline--scroll { grid-template-columns: repeat(var(--items, 6), 160px); overflow-x: auto; padding-bottom: var(--sp-3); }
  .timeline--scroll li { padding-left: 0; padding-top: var(--sp-6); }
  .timeline--scroll li::before { top: 6px; bottom: auto; left: 0; right: calc(var(--sp-4) * -1); width: auto; height: 2px; }
  .timeline--scroll li:last-child::before { display: block; right: 0; }
}

/* Comparison table ------------------------------------------------------- */

.table-wrap { position: relative; min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--c-paper-line); border-radius: var(--r-md); background: var(--c-paper); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-small); }
.compare th, .compare td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-paper-line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-paper-muted); font-weight: 500; }
.compare tbody th { font-weight: 600; }
.compare tr:last-child > * { border-bottom: 0; font-weight: 700; }
.compare .yes { color: var(--c-paper-text); font-weight: 700; }
.compare .no { color: var(--c-paper-muted); }

/* FAQ accordion ---------------------------------------------------------- */

.faq { display: grid; border-top: 1px solid var(--c-line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--c-green); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: var(--sp-4); color: var(--c-muted); }

/* Fact tiles ------------------------------------------------------------- */

.facts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--sp-4); margin: 0; }
.facts--4 { --cols: 4; }
.facts--2 { --cols: 2; }
.fact { display: grid; gap: var(--sp-1); align-content: start; padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.fact dt { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-green); }
.fact dd { margin: 0; }
.section--surface .fact { background: var(--c-bg); }
.section--paper .fact { background: var(--c-paper); border-color: var(--c-paper-line); }
.section--paper .fact dt { color: var(--c-paper-muted); }
.facts--plain .fact { padding: 0; border: 0; background: none; }
@media (max-width: 1023px) { .facts--4 { --cols: 2; } }
@media (max-width: 767px) { .facts { --cols: 1; } .facts--4 { --cols: 2; } }

/* Filter chips + search -------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { min-height: 36px; padding: var(--sp-1) var(--sp-4); border: 1px solid var(--c-line); border-radius: 999px; background: transparent; color: var(--c-text); font: 500 var(--fs-small)/1 var(--f-body); cursor: pointer; }
.chip:hover { border-color: var(--c-text); }
.chip[aria-pressed="true"] { background: var(--c-green); border-color: var(--c-green); color: var(--c-green-ink); }
.search { display: flex; gap: var(--sp-3); align-items: center; }
.search input { min-height: 40px; min-width: 240px; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface-2); color: var(--c-text); font: inherit; font-size: 1rem; }
@media (max-width: 599px) { .search, .search input { width: 100%; min-width: 0; } .search { flex-wrap: wrap; } }

/* Floor plan ------------------------------------------------------------- */

.plan-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background-color: var(--c-bg); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 20px 20px; }
.plan { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-4); min-width: 760px; padding: var(--sp-6); }
.plan__hall { position: relative; display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-4); border: 2px solid var(--c-blue); border-radius: var(--r-sm); }
.plan__hall-name { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-blue-text); }
.plan__zone { position: relative; display: grid; gap: var(--sp-3); align-content: start; min-height: 190px; padding: var(--sp-4); border: 1px dashed var(--c-blue-text); border-radius: var(--r-sm); }
.plan__zone h3 { font-size: 1rem; padding-right: var(--sp-8); }
.plan__zone-letter { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--c-green); letter-spacing: 0.08em; }
.plan__stands { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.plan__stand { padding: var(--sp-1) var(--sp-2); border: 1px solid var(--c-line); font-family: var(--f-mono); font-size: var(--fs-label); color: var(--c-muted); }
.plan__entrance { position: absolute; left: -2px; bottom: var(--sp-5); transform: translateX(-50%) rotate(-90deg); transform-origin: center; padding: 2px var(--sp-2); background: var(--c-green); color: var(--c-green-ink); font-family: var(--f-mono); font-size: var(--fs-label); text-transform: uppercase; white-space: nowrap; }
.plan__feature { display: inline-flex; gap: var(--sp-2); align-items: center; font-family: var(--f-mono); font-size: var(--fs-label); text-transform: uppercase; color: var(--c-text); }
.plan-legend { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-4); font-family: var(--f-mono); font-size: var(--fs-label); text-transform: uppercase; color: var(--c-muted); }
.plan-legend span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.key { display: inline-block; width: 14px; height: 14px; flex: none; }
.key--zone { border: 1px dashed var(--c-blue-text); }
.key--stand { border: 1px solid var(--c-line); }
.key--entrance { background: var(--c-green); }
.key--stage { background: var(--c-blue); }
.key--cafe { border-radius: 50%; border: 2px solid var(--c-text); }
.plan-hint { display: none; margin-top: var(--sp-3); }
@media (max-width: 799px) { .plan-hint { display: block; } }

/* Forms ------------------------------------------------------------------ */

.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }
.field .req { color: var(--c-green); }
.field .optional { font-weight: 400; color: var(--c-muted); }
.field textarea { min-height: 120px; resize: vertical; }
.choices { display: grid; gap: var(--sp-2); border: 0; margin: 0; padding: 0; }
.choices legend { padding: 0; margin-bottom: var(--sp-1); font-size: var(--fs-small); font-weight: 600; }
.choice { display: flex; gap: var(--sp-3); align-items: center; font-size: 0.9375rem; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--c-green); }
.section--paper .field input, .section--paper .field select, .section--paper .field textarea { background: var(--c-paper); border-color: var(--c-paper-line); color: var(--c-paper-text); }
.section--paper .field .req { color: var(--c-paper-link); }
.section--paper .field .optional { color: var(--c-paper-muted); }
.section--paper .choice input { accent-color: var(--c-paper-text); }

.confirm { display: grid; gap: var(--sp-2); padding: var(--sp-5); border: 1px solid var(--c-green); border-radius: var(--r-md); background: var(--c-surface); }
.confirm[hidden] { display: none; }
.confirm h3 { color: var(--c-text); }
.section--paper .confirm { background: var(--c-paper); border-color: var(--c-paper-text); }
.section--paper .confirm h3 { color: var(--c-paper-text); }

/* Contact panel */
.panel { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-6); border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.section--paper .panel { background: var(--c-paper); border-color: var(--c-paper-line); }

/* Gallery mosaic --------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.gallery > :first-child { grid-column: span 2; grid-row: span 2; }
.gallery .media { aspect-ratio: 1 / 1; }
@media (max-width: 767px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-3); }
  .gallery > * { flex: 0 0 75%; scroll-snap-align: start; }
}

/* Closing call to action band -------------------------------------------- */

.cta-band .container { display: grid; gap: var(--sp-4); justify-items: center; text-align: center; }
.cta-band p { color: var(--c-muted); margin-inline: auto; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-2); }
