/* Shared spacing for the rooms. Each room keeps its own visual language and
   the loader only supplies a quiet failure state when a module is unavailable. */

[data-exhibit-slot] {
  min-width: 0;
  width: 100%;
}

.county-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;
}

.county-home [data-exhibit-slot] {
  margin: 0 auto;
}

.exhibit-load-fallback {
  max-width: 36rem;
  margin: 28px auto;
  padding: 18px 20px;
  border: 3px solid var(--county-line, #2b2b27);
  border-radius: 16px;
  background: var(--county-yellow, #d7b459);
  color: var(--county-ink-on-color, #171816);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

html[data-theme="dark"] .exhibit-load-fallback {
  border-color: var(--county-line, #f5ead0);
}

@media (max-width: 760px) {
  [data-exhibit-slot] { overflow-wrap: anywhere; }
  .exhibit-load-fallback { margin: 20px 0; }
}

/* The home route is an authored walk through the expo. The first two rooms
   carry the production, then the Kaspa booth and back hall widen the floor. */
.county-home .county-opening-section {
  padding-top: clamp(42px, 6vw, 86px);
  padding-bottom: clamp(38px, 5vw, 72px);
}

.county-opening-intro {
  max-width: 900px;
  margin-bottom: clamp(26px, 4vw, 48px);
}

.county-opening-intro h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--county-ink);
  font-family: Inter, "SF Pro Display", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.25rem, 8vw, 7rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .91;
}

.county-opening-lede {
  max-width: 40rem;
  margin: 22px 0 0;
  color: var(--county-muted);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
}

.county-ensemble-invitation {
  padding-top: clamp(42px, 5vw, 74px);
  padding-bottom: clamp(42px, 5vw, 74px);
  border-top: 3px solid var(--county-line);
  border-bottom: 3px solid var(--county-line);
}

.county-ensemble-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}

.county-ensemble-invitation > .county-visually-hidden + [data-dating-press-line] {
  margin-top: 0;
}

.county-ensemble-chip {
  min-width: 0;
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 13px 11px;
  border: 3px solid var(--county-line);
  border-radius: 14px;
  background: var(--county-paper-deep);
  color: var(--county-ink);
  box-shadow: 4px 4px 0 var(--county-shadow);
}

.county-ensemble-chip b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: .06em;
}

.county-ensemble-chip span {
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.county-ensemble-chip--veteran { background: var(--county-yellow); }
.county-ensemble-chip--brilliant { background: var(--county-lilac); }
.county-ensemble-chip--hardware { background: var(--county-teal); }
.county-ensemble-chip--reviewer { background: var(--county-blue); color: var(--county-ink-on-blue); }
.county-ensemble-chip--planner { background: var(--county-pink); }
.county-ensemble-chip--concierge { background: var(--county-coral); }
.county-ensemble-chip--kaspa { background: var(--county-teal-dark); color: var(--county-ink-on-blue); }

.county-ensemble-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
}

.county-ensemble-reaction {
  max-width: 37rem;
  margin: 0;
  color: var(--county-muted);
  font-size: 15px;
  font-weight: 750;
}

.county-memecoin-section {
  padding-top: clamp(46px, 6vw, 86px);
  padding-bottom: clamp(42px, 5vw, 76px);
}

.county-kaspa-booth {
  padding-top: clamp(44px, 6vw, 86px);
  padding-bottom: clamp(44px, 6vw, 86px);
  border-top: 3px solid var(--county-line);
}

.county-kaspa-booth .county-guided-scene { margin-bottom: 34px; }

.county-kaspa-learning-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px 36px;
  margin: 28px 0 34px;
  padding: 20px 24px;
  border: 3px solid var(--county-line);
  border-radius: 16px;
  background: var(--county-teal);
  color: var(--county-ink);
  box-shadow: 5px 5px 0 var(--county-shadow);
}

.county-kaspa-learning-cta h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.county-kaspa-learning-cta p:not(.county-kicker) {
  max-width: 42rem;
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.county-kaspa-learning-cta .county-button { flex: 0 0 auto; }

.county-kaspa-stage { margin-top: 24px; }

.county-industry-door {
  padding-top: clamp(34px, 5vw, 66px);
  padding-bottom: clamp(42px, 6vw, 82px);
}

.county-industry-door-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px 48px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 4px solid var(--county-line);
  border-radius: 25px;
  background: var(--county-yellow);
  color: var(--county-ink);
  box-shadow: 8px 8px 0 var(--county-shadow);
}

.county-industry-door-card h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.06em;
  line-height: .96;
}

.county-industry-door-card p:not(.county-kicker) {
  max-width: 42rem;
  margin: 15px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

/* Back hall composition. The rooms remain visually distinct while the signs
   make the sequence easy to scan and return to. */
.industry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .46fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(48px, 7vw, 98px) 0 clamp(34px, 5vw, 62px);
}

.industry-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--county-ink);
  font-family: Inter, "SF Pro Display", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.3rem, 8vw, 7rem);
  font-weight: 760;
  letter-spacing: -.08em;
  line-height: .9;
}

.industry-hero .county-lede {
  max-width: 44rem;
  margin: 24px 0 0;
  color: var(--county-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.4;
}

.industry-hero-card {
  display: grid;
  gap: 12px;
  padding: 23px;
  border: 3px solid var(--county-line);
  border-radius: 18px;
  background: var(--county-coral);
  color: var(--county-ink);
  box-shadow: 7px 7px 0 var(--county-shadow);
}

.industry-hero-card strong { font-size: 24px; line-height: 1.05; }
.industry-hero-card p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }

.industry-stamp {
  color: inherit;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.industry-room-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 21px 0 27px;
  border-top: 3px solid var(--county-line);
  border-bottom: 3px solid var(--county-line);
}

.industry-room-nav a {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 11px;
  align-items: center;
  padding: 16px;
  border: 3px solid var(--county-line);
  border-radius: 14px;
  background: var(--county-paper-deep);
  color: var(--county-ink);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--county-shadow);
}

.industry-room-nav a:hover { background: var(--county-teal); color: var(--county-ink); }
.industry-room-nav b { grid-row: span 2; font-size: 12px; }
.industry-room-nav span { font-size: 15px; font-weight: 900; line-height: 1.1; }
.industry-room-nav small { color: var(--county-muted); font-size: 12px; font-weight: 700; line-height: 1.25; }

.industry-room {
  padding: clamp(48px, 7vw, 100px) 0;
  border-bottom: 3px solid var(--county-line);
  scroll-margin-top: 90px;
}

.industry-room--bridge { background: color-mix(in srgb, var(--county-paper-deep) 35%, transparent); }
.industry-room--yield { padding-bottom: clamp(52px, 8vw, 110px); }

.industry-exit {
  display: flex;
  justify-content: space-between;
  gap: 24px 44px;
  align-items: end;
  padding: clamp(48px, 6vw, 84px) 0 20px;
}

.industry-exit h2 { max-width: 14ch; margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.055em; line-height: .96; }
.industry-exit p:not(.county-kicker) { max-width: 40rem; margin: 16px 0 0; color: var(--county-muted); font-weight: 700; }
.industry-exit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

@media (max-width: 980px) {
  .county-ensemble-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .industry-hero { grid-template-columns: 1fr; align-items: start; }
  .industry-hero-card { max-width: 30rem; }
}

@media (max-width: 620px) {
  .county-home .county-opening-section { padding-top: 31px; }
  .county-opening-intro { margin-bottom: 24px; }
  .county-opening-intro h1 { max-width: 11ch; font-size: clamp(3rem, 14vw, 5.3rem); }
  .county-opening-lede { margin-top: 16px; font-size: 1.05rem; }
  .county-ensemble-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .county-ensemble-chip { min-height: 76px; padding: 11px 9px; }
  .county-ensemble-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .county-ensemble-actions .county-button { width: 100%; }
  .county-industry-door-card { grid-template-columns: 1fr; gap: 22px; }
  .county-industry-door-card .county-button { width: 100%; }
  .county-kaspa-learning-cta { align-items: stretch; flex-direction: column; margin-block: 24px 30px; padding: 18px; }
  .county-kaspa-learning-cta .county-button { width: 100%; }
  .industry-hero { padding-top: 36px; }
  .industry-hero h1 { max-width: 11ch; font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .industry-hero-card { padding: 18px; }
  .industry-room-nav { grid-template-columns: 1fr; gap: 9px; }
  .industry-room { padding: 49px 0; }
  .industry-exit { display: block; }
  .industry-exit-actions { margin-top: 24px; align-items: stretch; flex-direction: column; }
  .industry-exit-actions .county-button,
  .industry-exit-actions .county-inline-link { width: 100%; justify-content: center; }
}
