/* Dedicated Berlin 6G Conference booth navigator. */

.booth-page {
  --booth-26: #f3ac2b;
  --booth-26-deep: #9a5c00;
  --booth-27: var(--c-violet);
  --booth-27-alt: #3ebf9b;
  --map-ink: #292242;
  background: var(--c-light);
}

.booth-page [hidden] {
  display: none !important;
}

.booth-hero {
  position: relative;
  display: flex;
  min-height: clamp(35rem, 78vh, 48rem);
  align-items: center;
  overflow: hidden;
  padding-bottom: clamp(4rem, 9vw, 8rem);
  color: var(--on-violet);
  background:
    radial-gradient(circle at 88% 20%, rgba(250, 186, 67, .2), transparent 28rem),
    linear-gradient(135deg, var(--c-violet-deep), var(--c-violet) 62%, #5a4b8d);
}

.booth-hero.page-with-solid-nav {
  padding-top: calc(var(--nav-h-mobile) + clamp(2.5rem, 7vw, 5rem));
}

.booth-hero__rings {
  position: absolute;
  right: clamp(-20rem, -12vw, -7rem);
  top: 50%;
  width: clamp(30rem, 60vw, 58rem);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: .3;
  background: repeating-radial-gradient(
    circle,
    transparent 0,
    transparent 2.4rem,
    rgba(255, 255, 255, .68) 2.45rem,
    rgba(255, 255, 255, .68) 2.58rem,
    transparent 2.63rem,
    transparent 3.15rem,
    rgba(250, 186, 67, .82) 3.2rem,
    rgba(250, 186, 67, .82) 3.32rem
  );
}

.booth-hero__inner { position: relative; z-index: 1; }

.booth-hero__eyebrow,
.booth-kicker,
.event-promo__eyebrow {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: var(--fw-bold);
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.booth-hero__eyebrow { color: #ffd98c; }

.booth-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--c-white);
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.booth-hero__lead {
  max-width: 55ch;
  margin: 1.5rem 0 0;
  color: #eeeaf7;
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.booth-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.75rem;
}

.booth-hero__facts span {
  padding: .45rem .8rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--c-white);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  backdrop-filter: blur(5px);
}

.booth-hero__jump {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2rem;
  padding: .8rem 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--c-violet-deep);
  background: var(--c-amber);
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.booth-hero__jump:hover,
.booth-hero__jump:focus {
  color: var(--c-violet-deep);
  background: #ffd06f;
}

.booth-intro { padding: var(--section-y) 0; background: var(--c-white); }

.booth-intro__copy {
  display: grid;
  grid-template-columns: minmax(12rem, .6fr) minmax(18rem, 1.4fr);
  gap: 1rem clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.booth-intro__copy .booth-kicker { grid-column: 1; color: var(--c-violet-mid); }
.booth-intro__copy h2 { grid-column: 1; margin: 0; }

.booth-intro__copy > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 58ch;
  margin: 0;
  color: var(--muted-on-light);
  font-size: var(--fs-lead);
}

.booth-navigator {
  padding: var(--section-y) 0;
  scroll-margin-top: var(--nav-h);
}

.booth-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.booth-section-heading h2,
.booth-visit h2 { margin: 0; }

.booth-kicker { color: var(--c-violet-mid); }

.booth-section-heading__hint {
  max-width: 36ch;
  margin: 0 0 .35rem;
  color: var(--muted-on-light);
  font-size: var(--fs-small);
  text-align: right;
}

.booth-controls {
  display: none;
  margin: 2rem 0 1.5rem;
  padding: .85rem 1rem;
  border: 1px solid var(--rule-on-light);
  border-radius: var(--radius-md);
  background: var(--c-white);
}

.booth-page.is-enhanced .booth-controls {
  display: flex;
  gap: .75rem 1rem;
  align-items: center;
}

.booth-controls__label {
  flex: 0 0 auto;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.booth-filters { display: flex; flex-wrap: wrap; gap: .45rem; }

.booth-filter {
  padding: .4rem .75rem;
  border: 1px solid var(--c-violet-mid);
  border-radius: 999px;
  color: var(--c-violet);
  background: transparent;
  font: inherit;
  font-size: .85rem;
  font-weight: var(--fw-medium);
  line-height: 1.3;
  transition: color .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease);
}

.booth-filter:hover,
.booth-filter:focus-visible,
.booth-filter.is-active {
  border-color: var(--c-violet);
  color: var(--c-white);
  background: var(--c-violet);
}

.booth-explorer {
  display: grid;
  grid-template-columns: minmax(22rem, 38rem) minmax(18rem, 1fr);
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
  justify-content: center;
  margin-top: 1.5rem;
}

.booth-map-wrap {
  width: 100%;
  min-width: 0;
}

.booth-map {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1318 / 1080;
  overflow: hidden;
  border: 1px solid rgba(69, 58, 117, .2);
  border-radius: calc(var(--radius-md) * 1.5);
  background-color: #eee9df;
  background-image:
    linear-gradient(rgba(69, 58, 117, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 58, 117, .055) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  box-shadow: var(--shadow-1);
}

.booth-map__rendering {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .78;
  filter: saturate(.86) contrast(.94) brightness(1.04);
}

.booth-zone {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.booth-zone span {
  color: rgba(255, 255, 255, .83);
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: var(--fw-bold);
  line-height: 1;
}

.booth-zone--26 {
  left: 1.18%; top: .31%; width: 73.71%; height: 28.65%;
  border-color: #d88e08;
  background: rgba(243, 172, 43, .48);
}

.booth-zone--27a {
  left: 43.67%; top: 42.34%; width: 27.17%; height: 55.64%;
  border-color: var(--c-violet);
  background: rgba(69, 58, 117, .52);
}

.booth-zone--27b {
  left: 71.44%; top: 42.34%; width: 25.41%; height: 57.34%;
  border-color: #279879;
  background: rgba(62, 191, 155, .5);
}

.booth-zone--5 {
  left: 76.08%; top: 1.10%; width: 8.63%; height: 27.69%;
  border-color: #279879;
  background: rgba(62, 191, 155, .5);
}

.booth-zone--27c {
  left: 86.34%; top: .45%; width: 10.51%; height: 28.92%;
  border-color: var(--c-violet);
  background: rgba(69, 58, 117, .52);
}

.booth-marker {
  --marker-accent: var(--booth-27);
  position: absolute;
  z-index: 3;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid var(--c-white);
  border-radius: 50%;
  color: var(--c-white);
  background: var(--marker-accent);
  box-shadow: 0 3px 8px rgba(31, 26, 56, .3);
  font: inherit;
  font-size: .82rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease);
}

.booth-marker[data-accent="mint"] {
  --marker-accent: var(--booth-27-alt);
  color: var(--map-ink);
}

.booth-marker[data-accent="amber"] {
  --marker-accent: var(--booth-26);
  color: var(--map-ink);
}

.booth-marker:hover,
.booth-marker:focus-visible,
.booth-marker.is-selected {
  z-index: 4;
  border-color: var(--c-white);
  box-shadow: 0 0 0 5px var(--marker-accent), var(--shadow-2);
  transform: translate(-50%, -50%) scale(1.12);
}

.booth-marker--1 { left: 13.48%; top: 5.96%; }
.booth-marker--2 { left: 31.70%; top: 4.59%; }
.booth-marker--3 { left: 47.58%; top: 4.19%; }
.booth-marker--4 { left: 65.74%; top: 6.36%; }
.booth-marker--5 { left: 80.61%; top: 8.60%; }
.booth-marker--6 { left: 45.98%; top: 45.97%; }
.booth-marker--7 { left: 49.65%; top: 59.32%; }
.booth-marker--8 { left: 64.70%; top: 69.80%; }
.booth-marker--9 { left: 65.75%; top: 94.31%; }
.booth-marker--10 { left: 95.52%; top: 94.26%; }
.booth-marker--11 { left: 91.80%; top: 64.18%; }
.booth-marker--12 { left: 89.67%; top: 43.57%; }
.booth-marker--13 { left: 88.57%; top: 19.40%; }
.booth-marker--14 { left: 92.45%; top: 6.43%; }

.booth-map__legend {
  position: absolute;
  left: 2%;
  top: 34%;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  max-width: 38%;
  gap: .8rem;
  padding: .4rem .6rem;
  border-radius: var(--radius-sm);
  color: var(--map-ink);
  background: rgba(255, 255, 255, .84);
  font-size: .74rem;
  font-weight: var(--fw-medium);
}

.legend-dot {
  display: inline-block;
  width: .65rem;
  height: .65rem;
  margin-right: .25rem;
  border-radius: 50%;
}

.legend-dot--26 { background: var(--booth-26); }
.legend-dot--27 { background: var(--booth-27); }
.legend-dot--27-alt { background: var(--booth-27-alt); }

.booth-detail {
  display: none;
  min-height: 24rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius-md) * 1.5);
  color: var(--on-violet);
  background:
    radial-gradient(circle at 100% 0, rgba(82, 201, 166, .22), transparent 16rem),
    var(--c-violet-deep);
  box-shadow: var(--shadow-2);
}

.booth-detail[data-accent="mint"] {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, .16), transparent 16rem),
    #176f5c;
}

.booth-page.is-enhanced .booth-detail { display: flex; flex-direction: column; }

.booth-detail__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.booth-detail__number {
  color: var(--c-amber);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1;
}

.booth-detail__booth {
  padding: .25rem .6rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: var(--fw-medium);
}

.booth-detail__theme {
  margin: 2rem 0 .55rem;
  color: var(--c-mint);
  font-size: .75rem;
  font-weight: var(--fw-bold);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.booth-detail h3 { margin: 0; color: var(--c-white); }

.booth-detail [data-detail-description] {
  margin: 1rem 0 0;
  color: var(--muted-on-violet);
  font-size: var(--fs-small);
}

.booth-detail__video {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  color: var(--c-white);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.booth-page .booth-detail__video:visited,
.booth-page .booth-detail__video:focus {
  border-color: rgba(255, 255, 255, .45);
  color: var(--c-white);
}

.booth-page .booth-detail__video:hover,
.booth-page .booth-detail__video:focus-visible {
  border-color: var(--c-amber);
  color: var(--c-amber);
}

.booth-page .booth-detail__video:active {
  border-color: var(--c-white);
  color: var(--c-white);
}

.booth-detail__video:not([hidden]) + .booth-detail__all {
  margin-top: .85rem;
  padding-top: 0;
}

.booth-detail__all {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 2rem;
  color: var(--c-white);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.booth-detail__all:hover,
.booth-detail__all:focus { color: var(--c-amber); }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.demo-grid > li {
  --demo-accent: var(--booth-27);
  display: flex;
  min-width: 0;
}

.demo-grid > li[data-accent="amber"] {
  --demo-accent: var(--booth-26);
}

.demo-grid > li[data-accent="mint"] {
  --demo-accent: var(--booth-27-alt);
}

.demo-card {
  display: flex;
  width: 100%;
  min-height: 16rem;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--rule-on-light);
  border-top: 4px solid var(--demo-accent);
  border-radius: var(--radius-md);
  color: var(--on-light);
  background: var(--c-white);
  box-shadow: var(--shadow-1);
  font: inherit;
  text-align: left;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              border-color .2s var(--ease);
}

.demo-card:hover,
.demo-card:focus-visible,
.demo-card.is-selected {
  border-color: var(--demo-accent);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.demo-card.is-selected {
  box-shadow: 0 0 0 4px var(--demo-accent), var(--shadow-2);
}

.demo-card__top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.demo-card__number {
  color: var(--c-violet);
  font-size: 1.55rem;
  font-weight: var(--fw-bold);
  line-height: 1;
}

.demo-card__booth {
  padding: .18rem .5rem;
  border-radius: 999px;
  color: var(--c-violet);
  background: var(--c-violet-pale);
  font-size: .72rem;
  font-weight: var(--fw-medium);
}

[data-booth="26"] > .demo-card .demo-card__booth { background: #fff0cb; }

[data-accent="mint"] > .demo-card .demo-card__number { color: #247d68; }

[data-accent="mint"] > .demo-card .demo-card__booth {
  color: #176f5c;
  background: #d8f5ed;
}

.demo-card__title {
  font-size: 1.06rem;
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}

.demo-card__description {
  margin-top: .75rem;
  color: var(--muted-on-light);
  font-size: .88rem;
  line-height: 1.5;
}

.demo-card__video {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--muted-on-light);
  font-size: .72rem;
  font-weight: var(--fw-medium);
  letter-spacing: .03em;
}

.demo-card__video::before {
  margin-right: .35rem;
  content: "▶";
  font-size: .65em;
}

.booth-visit { padding: var(--section-y) 0; background: var(--c-white); }

.booth-visit__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  gap: 2rem clamp(2rem, 7vw, 6rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius-md) * 1.5);
  color: var(--on-violet);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 45%),
    var(--c-violet);
  box-shadow: var(--shadow-2);
}

.booth-visit h2 { color: var(--c-white); }

.booth-visit p { max-width: 54ch; margin: 1rem 0 0; }
.booth-visit .booth-kicker { margin-top: 0; color: var(--c-mint); }
.booth-visit__support { color: var(--muted-on-violet); font-size: var(--fs-small); }
.booth-visit__facts { margin: 0; }

.booth-visit__facts div {
  padding: .75rem 0;
  border-bottom: 1px solid var(--rule-on-violet);
}

.booth-visit__facts div:first-child { padding-top: 0; }

.booth-visit__facts dt {
  color: var(--c-violet-light);
  font-size: .72rem;
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.booth-visit__facts dd {
  margin: .25rem 0 0;
  color: var(--c-white);
  font-weight: var(--fw-medium);
}

.booth-visit__cta {
  grid-column: 1 / -1;
  justify-self: start;
  padding: .8rem 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--c-violet-deep);
  background: var(--c-amber);
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.booth-visit__cta:hover,
.booth-visit__cta:focus { color: var(--c-violet-deep); background: #ffd06f; }

/* Homepage event entry point. */

.event-promo {
  color: var(--on-violet);
  background: linear-gradient(110deg, var(--c-violet-deep), var(--c-violet) 70%, #5b4c91);
}

.event-promo__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.event-promo__date {
  display: flex;
  min-width: 6rem;
  flex-direction: column;
  padding-right: clamp(1rem, 3vw, 2.25rem);
  border-right: 1px solid var(--rule-on-violet);
  color: var(--c-white);
  line-height: 1;
}

.event-promo__date span { font-size: 1.65rem; font-weight: var(--fw-bold); }

.event-promo__date small {
  margin-top: .35rem;
  color: var(--c-amber);
  font-size: .7rem;
  font-weight: var(--fw-bold);
  letter-spacing: .12em;
}

.event-promo__copy h2 {
  margin: 0;
  color: var(--c-white);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
}

.event-promo__eyebrow { color: var(--c-mint); }

.event-promo__copy > p:last-child {
  max-width: 62ch;
  margin: .35rem 0 0;
  color: var(--muted-on-violet);
  font-size: .9rem;
  line-height: 1.45;
}

.event-promo__cta {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius-sm);
  color: var(--c-white);
  font-size: .9rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
  white-space: nowrap;
}

.event-promo__cta:hover,
.event-promo__cta:focus {
  border-color: var(--c-amber);
  color: var(--c-violet-deep);
  background: var(--c-amber);
}

@media (min-width: 1400px) {
  .booth-hero.page-with-solid-nav { padding-top: calc(var(--nav-h) + 5rem); }
}

@media (max-width: 991.98px) {
  .booth-hero { min-height: 39rem; }
  .booth-hero__rings { right: -22rem; opacity: .2; }
  .booth-intro__copy { display: block; }
  .booth-intro__copy h2 { margin-bottom: 1rem; }
  .booth-explorer { grid-template-columns: 1fr; }
  .booth-map-wrap { max-width: 38rem; justify-self: center; }
  .booth-detail { min-height: 18rem; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-promo__inner { grid-template-columns: auto minmax(0, 1fr); }
  .event-promo__cta { grid-column: 2; justify-self: start; }
}

@media (max-width: 575.98px) {
  .booth-hero { min-height: 36rem; }
  .booth-hero__facts { align-items: flex-start; flex-direction: column; }
  .booth-section-heading { display: block; }
  .booth-section-heading__hint { margin-top: .75rem; text-align: left; }
  .booth-page.is-enhanced .booth-controls { align-items: flex-start; flex-direction: column; }
  .booth-marker { width: 1.8rem; height: 1.8rem; border-width: 1px; font-size: .66rem; }
  .booth-zone { border-width: 2px; }
  .booth-map__legend { left: 3%; right: auto; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card { min-height: auto; }
  .booth-visit__card { grid-template-columns: 1fr; }
  .booth-visit__cta { width: 100%; justify-content: center; text-align: center; }
  .event-promo__inner { grid-template-columns: 1fr; }
  .event-promo__date {
    width: max-content;
    padding: 0 0 .75rem;
    border-right: 0;
    border-bottom: 1px solid var(--rule-on-violet);
  }
  .event-promo__cta { grid-column: 1; width: 100%; }
}

@media print {
  .booth-hero {
    min-height: auto;
    padding: 2rem 0;
    color: var(--c-violet);
    background: var(--c-white);
  }
  .booth-hero__rings,
  .booth-hero__jump,
  .booth-controls,
  .booth-detail,
  .booth-visit__cta { display: none !important; }
  .booth-hero h1,
  .booth-hero__eyebrow,
  .booth-hero__lead,
  .booth-hero__facts span { color: var(--c-violet); }
  .booth-explorer { display: block; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-card { min-height: auto; box-shadow: none; break-inside: avoid; }
  .booth-visit__card {
    color: var(--c-violet);
    background: var(--c-white);
    box-shadow: none;
    border: 1px solid var(--c-violet);
  }
  .booth-visit h2,
  .booth-visit__facts dd { color: var(--c-violet); }
}
