/* Shared logo rendering, brand installation, media section and colour studio. */
.wordmark { aspect-ratio: auto; overflow: visible; }
.wordmark::after { content: none; }
.logo-vector { display: block; width: 100%; height: auto; overflow: visible; }
.logo-accent-fill { flood-color: var(--accent); }

/* Every palette uses a foreground chosen for its actual accent colour. */
::selection { background: var(--accent); color: var(--on-accent); }
.button { color: var(--on-accent); }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.button-outline, .button-outline:hover { color: #fff; }
.button-outline:hover { background: rgba(var(--accent-rgb),.12); border-color: var(--accent); }
.button-dark { background: var(--on-accent); border-color: var(--on-accent); color: var(--accent); }
.button-dark:hover { background: var(--inverse-hover); border-color: var(--inverse-hover); color: var(--accent); }
.section-light .section-label { color: var(--accent-ink); }
.accent-dot { color: var(--accent-ink); }
.year-badge { color: var(--on-accent); }
.industry-card[open], .industry-card[open] .expand-mark { color: var(--on-accent); }
.industry-card[open] .card-overline, .industry-content p { color: var(--on-accent-muted); }
.role-list li { border-color: rgba(var(--on-accent-rgb),.28); }
.programme-tabs button[aria-selected="true"] { color: var(--on-accent); }
.booking-card { color: var(--on-accent); }
.booking-top .mono, .booking-place, .booking-note { color: var(--on-accent-muted); }
.booking-divider { background: repeating-linear-gradient(90deg,rgba(var(--on-accent-rgb),.25) 0 5px,transparent 5px 10px); }
.hero-meta, .hero-coordinate { color: #eaf0fa; }
.section-label, .header-exhibit, .programme-type, .dubai-frame figcaption .mono,
.ticket-heading .mono, .footer-top>.mono, .exhibit-card>.mono { color: var(--accent-light); }
.footer a:hover, .motion-control:hover { color: var(--accent-light); }

/* A floating three-plane installation replaces the small caption box. */
.event-installation { position: relative; isolation: isolate; height: 228px; width: 100%; max-width: 430px; margin-top: 35px; perspective: 850px; overflow: hidden; background: radial-gradient(ellipse at 50% 74%,rgba(var(--accent-rgb),.12),transparent 62%); }
.signal-floor { position: absolute; left: 10%; bottom: 20px; width: 80%; height: 26px; border-radius: 50%; background: rgba(9,11,15,.2); filter: blur(15px); animation: signal-shadow 8s ease-in-out infinite alternate; }
.signal-plane { position: absolute; top: 49%; left: 50%; width: 83%; height: 132px; border-radius: 8px; border: 1px solid rgba(255,255,255,.65); transform-style: preserve-3d; }
.signal-back { background: linear-gradient(135deg,var(--accent-soft),var(--accent)); opacity: .66; box-shadow: 0 10px 30px rgba(var(--accent-rgb),.14); animation: signal-back 8s ease-in-out infinite alternate; }
.signal-middle { background: linear-gradient(125deg,rgba(var(--accent-rgb),.18),rgba(var(--accent-rgb),.7)); border-color: rgba(var(--accent-rgb),.55); backdrop-filter: blur(10px); animation: signal-middle 8s ease-in-out infinite alternate; }
.signal-front { overflow: hidden; background: linear-gradient(130deg,var(--tone-101d3e),var(--ink-deep) 69%); border-color: rgba(255,255,255,.27); box-shadow: 0 14px 30px rgba(4,6,10,.21),inset 0 1px 0 rgba(255,255,255,.2); animation: signal-front 8s ease-in-out infinite alternate; }
.signal-front:before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg,transparent 25%,rgba(255,255,255,.09) 46%,transparent 69%); pointer-events: none; }
.signal-front:after { content: ''; position: absolute; left: 20px; right: 20px; top: 13px; height: 1px; background: linear-gradient(90deg,transparent,var(--accent),transparent); opacity: .6; }
.signal-brand { position: absolute; top: 43px; left: 12%; width: 76%; }
.signal-edition { position: absolute; left: 12%; bottom: 19px; font-size: 8px; letter-spacing: .16em; color: #bbc5d5; }
@keyframes signal-front { from { transform: translate(-50%,-44%) rotateX(8deg) rotateY(-12deg) rotateZ(-5deg); } to { transform: translate(-50%,-51%) rotateX(4deg) rotateY(-5deg) rotateZ(-2deg); } }
@keyframes signal-middle { from { transform: translate(-46%,-57%) rotateX(8deg) rotateY(-12deg) rotateZ(1deg); } to { transform: translate(-46%,-63%) rotateX(4deg) rotateY(-5deg) rotateZ(4deg); } }
@keyframes signal-back { from { transform: translate(-53%,-70%) rotateX(8deg) rotateY(-12deg) rotateZ(5deg); } to { transform: translate(-53%,-76%) rotateX(4deg) rotateY(-5deg) rotateZ(9deg); } }
@keyframes signal-shadow { from { transform: scaleX(1); opacity: .8; } to { transform: scaleX(.9); opacity: .6; } }

/* A quiet logo gallery; no moving strip or claimed event statistics. */
.media-showcase { padding: 69px 0 76px; background: var(--ink-deep); border-block: 1px solid var(--rule); }
.media-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 33px; }
.media-heading .mono { color: var(--accent-light); font-size: 9px; margin-bottom: 14px; }
.media-heading h2 { color: #fff; font-size: clamp(29px,3vw,44px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.media-heading .text-link { color: #d9e0eb; font-size: 12px; }
.media-brands { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--rule); }
.media-brand { position: relative; display: flex; justify-content: center; align-items: center; min-height: 119px; padding: 25px 28px; border-right: 1px solid var(--rule); transition: background .3s; }
.media-brand:last-child { border-right: 0; }
.media-brand:hover { background: rgba(var(--accent-rgb),.075); }
.media-brand img { display: block; max-width: 100%; width: 205px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; transition: opacity .3s; }
.media-brand:hover img { opacity: 1; }
.media-brand.insider img { width: 240px; height: 30px; }
.media-brand.nasdaq img { width: 150px; height: 43px; }
.media-brand.cmc img { width: 215px; height: 47px; }
.media-logo-fallback { display: none; color: #fff; font-weight: 700; text-align: center; font-size: 21px; letter-spacing: -.045em; }
.media-brand[data-failed="true"] img { display: none; }
.media-brand[data-failed="true"] .media-logo-fallback { display: block; }

.industry-welcome { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 30px; margin-top: 29px; }
.industry-welcome-title { color: var(--white); font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.industry-welcome-copy { color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (max-width: 700px) {
  .industry-welcome { display: block; margin-top: 25px; }
  .industry-welcome-title { font-size: 19px; }
  .industry-welcome-copy { margin-top: 8px; font-size: 13px; }
}

/* Desktop keeps the copy left and raises the second hexagon on the right. */
.industry-intro { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); align-items: center; gap: 22px 60px; }
.industry-intro-copy { min-width: 0; grid-column: 1; grid-row: 1; }
.industry-intro-side { display: contents; }
.industry-intro .body-copy { grid-column: 1; grid-row: 2; align-self: start; max-width: 410px; margin-top: 0; padding-bottom: 0; font-size: 16px; line-height: 1.7; }
.industry-atmosphere { position: relative; display: grid; grid-column: 2; grid-row: 1 / span 2; justify-self: end; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 12px; width: 100%; max-width: 390px; }
.industry-expo-photo, .industry-conversation-photo { position: relative; width: 100%; aspect-ratio: 1.1547; overflow: hidden; border: 0; border-radius: 0; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); background: var(--ink-deep); }
.industry-expo-photo { margin-top: 36px; }
.industry-conversation-photo { margin-top: 0; }
.industry-atmosphere img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; filter: saturate(.85) brightness(.96); transition: transform .7s var(--ease); }
.industry-expo-photo:after, .industry-conversation-photo:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,transparent 75%,rgba(4,6,10,.2)); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .industry-expo-photo:hover img, .industry-conversation-photo:hover img { transform: scale(1.035); }
}
@media (max-width: 1200px) {
  .industry-intro { gap: 22px 35px; }
  .industry-intro .body-copy { font-size: 15px; }
}
@media (max-width: 700px) {
  .industry-intro { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 21px 14px; margin-bottom: 28px; }
  .industry-intro-copy { align-self: center; }
  .industry-intro .display { font-size: clamp(30px,8.2vw,42px); line-height: 1.1; letter-spacing: -.055em; }
  .industry-intro-side { display: contents; }
  .industry-atmosphere { grid-column: 2; grid-row: 1; max-width: none; gap: 5px; }
  .industry-expo-photo { margin-top: 19px; }
  .industry-conversation-photo { margin-top: 0; }
  .industry-intro .body-copy { grid-column: 1 / -1; grid-row: 2; margin-top: 0; max-width: none; padding-top: 17px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.65; }
}
@media (max-width: 370px) {
  .industry-intro { column-gap: 10px; }
  .industry-intro .display { font-size: 29px; }
  .industry-atmosphere { gap: 4px; }
  .industry-expo-photo { margin-top: 15px; }
}

/* The review controls stay neutral so the page palette can be judged clearly. */
.theme-launcher { position: fixed; z-index: 45; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; padding: 0 15px; border: 1px solid #4c5360; border-radius: 10px; background: #141922; color: #f2f4f8; box-shadow: 0 6px 24px rgba(0,0,0,.25); font: 600 11px/1.3 var(--sans); cursor: pointer; }
.theme-launcher:hover { border-color: #98a5bb; }
.theme-launcher i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.theme-launcher[hidden] { display: none; }
.theme-launcher:focus-visible, .theme-chooser button:focus-visible, .theme-chooser input:focus-visible { outline: 2px solid #bbcaff; outline-offset: 3px; }
.theme-chooser { position: fixed; z-index: 46; inset: auto 20px 20px auto; width: 398px; max-width: calc(100% - 28px); max-height: min(750px,80dvh); margin: 0; padding: 0; overflow: auto; border: 1px solid #455061; border-radius: 15px; background: #111722; color: #eef2f9; box-shadow: 0 18px 75px rgba(0,0,0,.45); font-family: var(--sans); }
.theme-chooser[open] { animation: studio-enter .23s var(--ease); }
.theme-chooser-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 20px 15px; background: #111722; border-bottom: 1px solid #2e3847; }
.theme-chooser-head .mono { color: #b0bed3; font-size: 8px; margin-bottom: 6px; }
.theme-chooser h2 { font-size: 22px; font-weight: 500; letter-spacing: -.035em; line-height: 1.3; }
.theme-minimize { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid #455061; border-radius: 6px; background: #1b2431; color: #e3eaf4; }
.theme-minimize:hover { background: #2a3546; }
.theme-current { display: flex; justify-content: space-between; gap: 15px; padding: 14px 20px; font-size: 12px; }
.theme-current output { color: #b5c2d7; font: 10px/1.6 var(--mono); }
.theme-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0 20px 17px; }
.theme-option { position: relative; display: block; min-height: 71px; padding: 8px; text-align: left; border: 1px solid #354052; border-radius: 7px; background: #18202c; color: #dce4ef; font-size: 10px; font-weight: 500; }
.theme-option:hover { border-color: #8f9fba; background: #232e3e; }
.theme-option[aria-pressed="true"] { border-color: #d6e2f7; box-shadow: inset 0 0 0 1px #d6e2f7; color: #fff; }
.theme-swatch { display: grid; grid-template-columns: 2.6fr 1fr 1fr; height: 27px; margin-bottom: 8px; overflow: hidden; border-radius: 3px; }
.theme-swatch i { display: block; }
.theme-option[aria-pressed="true"]:after { content: ''; position: absolute; width: 5px; height: 5px; right: 9px; bottom: 11px; border-radius: 50%; background: #fff; }
.theme-custom { display: grid; grid-template-columns: 1fr 36px 81px; align-items: center; gap: 10px; margin: 0 20px; padding: 16px 0; border-top: 1px solid #354052; }
.theme-custom label { color: #c7d1e2; font-size: 10px; }
.theme-custom input[type="color"] { display: block; width: 36px; height: 32px; padding: 2px; border: 1px solid #53617a; border-radius: 5px; background: transparent; cursor: pointer; }
.theme-custom input[type="text"] { width: 81px; min-width: 0; height: 32px; padding: 0 7px; border: 1px solid #53617a; border-radius: 5px; background: #1a2433; color: #e0e7f3; font: 10px var(--mono); }
.theme-custom input[aria-invalid="true"] { border-color: #e9999f; }
.theme-chooser-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px 18px; border-top: 1px solid #354052; }
.theme-reset { border: 0; background: none; padding: 4px 0; color: #d7e2f5; text-decoration: underline; text-underline-offset: 4px; font-size: 10px; }
.theme-chooser-foot>span { color: #9dabbe; font-size: 9px; }
.menu-open .theme-launcher { visibility: hidden; }
@keyframes studio-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 960px) {
  .media-brand { padding-inline: 18px; }
  .event-installation { height: 205px; margin-top: 27px; }
}
@media (max-width: 700px) {
  .event-installation { height: 210px; margin-top: 26px; max-width: none; }
  .signal-plane { height: 125px; }
  .signal-brand { top: 42px; }
  .signal-edition { font-size: 7px; bottom: 19px; }
  .media-showcase { padding: 43px 0 46px; }
  .media-heading { gap: 20px; align-items: flex-start; margin-bottom: 27px; }
  .media-heading h2 { font-size: 29px; max-width: 220px; }
  .media-heading .mono { font-size: 8px; margin-bottom: 12px; }
  .media-heading .text-link { font-size: 9px; margin-top: 27px; white-space: nowrap; }
  .media-brands { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .media-brand { min-height: 100px; padding: 22px 15px; }
  .media-brand:nth-child(2) { border-right: 0; }
  .media-brand:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .media-brand img { width: 150px; height: 32px; }
  .media-brand.insider img { width: 150px; height: 24px; }
  .media-brand.nasdaq img { width: 128px; height: 37px; }
  .media-brand.cmc img { width: 145px; height: 40px; }
  .media-logo-fallback { font-size: 17px; }
  .theme-launcher { right: 13px; bottom: calc(16px + env(safe-area-inset-bottom)); min-height: 42px; padding-inline: 12px; font-size: 10px; transition: bottom .3s; }
  body:has(.mobile-booking.visible) .theme-launcher { bottom: 98px; }
  .theme-chooser { inset: auto 12px calc(16px + env(safe-area-inset-bottom)) 12px; width: auto; max-width: none; max-height: min(650px,75dvh); border-radius: 13px; }
  body:has(.mobile-booking.visible) .theme-chooser { bottom: 94px; max-height: calc(85dvh - 94px); }
  .theme-chooser-head { padding: 17px 17px 14px; }
  .theme-chooser h2 { font-size: 21px; }
  .theme-current { padding-inline: 17px; }
  .theme-options { padding-inline: 17px; gap: 7px; }
  .theme-option { font-size: 10px; }
  .theme-custom { margin-inline: 17px; }
  .theme-chooser-foot { padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .signal-plane, .signal-floor, .theme-chooser[open] { animation: none !important; }
  .signal-front { transform: translate(-50%,-47%) rotateY(-8deg) rotateZ(-3deg); }
  .signal-middle { transform: translate(-46%,-60%) rotateY(-8deg) rotateZ(3deg); }
  .signal-back { transform: translate(-53%,-73%) rotateY(-8deg) rotateZ(7deg); }
}
