/* Shared header and footer — 9T9 Exhibitions
   Brand palette can be adjusted in one place below. */
:root {
  --9t9-blue: #2b52b4;
  --9t9-ink: #121317;
  --9t9-muted: #6f7279;
  --9t9-paper: #f5f2ed;
  --9t9-white: #ffffff;
  --9t9-line: #ded9d2;
  --9t9-footer: #15171d;
  --9t9-footer-muted: #c4c5cb;
}

.site-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--9t9-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
  color: var(--9t9-ink);
  text-decoration: none;
}

.site-brand__logo {
  display: block;
  width: 126px;
  height: 76px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}


.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 26px);
}

.site-navigation > a:not(.site-button) {
  color: var(--9t9-ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.site-navigation > a:not(.site-button):hover,
.site-navigation > a.is-current {
  color: var(--9t9-blue);
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.site-button:hover { transform: translateY(-2px); }

.site-button--header {
  background: var(--9t9-blue);
  color: var(--9t9-white);
}

.site-button--header:hover { background: #1e3f8f; }

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--9t9-line);
  border-radius: 12px;
  background: var(--9t9-white);
  color: var(--9t9-ink);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 68px 0 0;
  background: var(--9t9-footer);
  color: var(--9t9-white);
  border-top: 4px solid var(--9t9-blue);
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -230px;
  right: -80px;
  border-radius: 50%;
  background: rgba(43, 82, 180, .12);
  pointer-events: none;
}

.site-footer > .site-container { position: relative; z-index: 1; }

.site-footer__main {
  display: grid;
  grid-template-columns: 1.2fr .72fr 1fr 1.08fr;
  gap: 34px;
  padding-bottom: 48px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  min-height: 142px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  max-height: 128px;
  object-fit: contain;
}

.site-footer__brand > p:not(.site-footer__eyebrow) {
  max-width: 330px;
  margin: 20px 0;
  color: var(--9t9-footer-muted);
  font-size: .93rem;
  line-height: 1.85;
}

.site-footer__eyebrow {
  margin: 0;
  color: #32b9e8;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.site-footer__column h2,
.site-footer__cta h2 {
  margin: 3px 0 22px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.site-footer__column h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  border-radius: 4px;
  background: var(--9t9-blue);
}

.site-footer__column ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column a {
  color: var(--9t9-footer-muted);
  font-size: .9rem;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

.site-footer__column ul a:hover,
.site-contact-item a:hover,
.site-footer__bottom a:hover { color: #32b9e8; }

.site-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.site-contact-item__icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(43, 82, 180, .38);
  border-radius: 11px;
  background: rgba(43, 82, 180, .12);
  color: #32b9e8;
}

.site-contact-item__label {
  display: block;
  margin-bottom: 3px;
  color: #a9aab2;
  font-size: .75rem;
}

.site-contact-item p,
.site-contact-item a {
  display: block;
  margin: 0;
  color: #fff;
  font-size: .87rem;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__cta {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(145deg, #24262e, #1b1d24);
}

.site-footer__cta h2 {
  margin: 13px 0 12px;
  max-width: 100%;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.site-footer__cta p {
  margin: 0 0 20px;
  color: #c4c5cb;
  font-size: 0.9rem;
  line-height: 1.75;
}

.site-button--footer {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #2b52b4;
  color: #ffffff;
}

.site-button--footer:hover {
  background: #31bceb;
  color: #121317;
}

.site-button--footer i {
  flex-shrink: 0;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.site-footer__bottom p {
  margin: 0;
  color: #a9aab2;
  font-size: .8rem;
}

.site-footer__bottom a {
  color: var(--9t9-footer-muted);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-component-error {
  margin: 12px;
  padding: 12px;
  border: 1px solid #b91c1c;
  color: #991b1b;
  background: #fef2f2;
  font: 14px/1.5 sans-serif;
}

/* Responsive header/footer */
@media (max-width: 1050px) {
  .site-header__inner { min-height: 86px; }
  .site-menu-toggle { display: inline-flex; flex: 0 0 auto; }
  .site-navigation {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--9t9-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(18, 19, 23, .14);
  }
  .site-header.is-menu-open .site-navigation { display: flex; }
  .site-navigation > a:not(.site-button) { padding: 12px; }
  .site-navigation .site-button { margin-top: 8px; }
  .site-footer__main { grid-template-columns: 1.2fr .8fr 1fr; }
  .site-footer__cta { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-container { width: min(100% - 28px, 1180px); }
  .site-brand__logo { width: 112px; height: 68px; }
  .site-footer { padding-top: 46px; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .site-footer__brand, .site-footer__cta { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .site-brand { gap: 8px; }
  .site-brand__logo { width: 98px; height: 60px; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__brand, .site-footer__cta { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-footer *, .site-header *::before, .site-footer *::before {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
