.brand-link {
  display: inline-block;
  width: 260px;
}

.brand-logo,
.sidebar .logo img {
  display: block;
  width: 100%;
  height: auto;
}

html,
body,
img {
  max-width: 100% !important;
}

.sidebar .logo img {
  width: 220px;
  max-width: 70vw;
}

@media (max-width: 767px) {
  .sidebar {
    width: 280px;
    max-width: 80vw;
    overflow: hidden;
  }

  .sidebar .content {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: calc(40px + env(safe-area-inset-top));
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    scrollbar-width: thin;
  }

  .sidebar .content::-webkit-scrollbar {
    width: 4px;
  }

  .sidebar .content::-webkit-scrollbar-track {
    background: transparent;
  }

  .sidebar .content::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
  }

  .page-loaded.mobile.sidebarShown .simplifiedMobile .slide.selected {
    -webkit-transform: scale(0.95) !important;
    transform: scale(0.95) !important;
    opacity: 0.5 !important;
  }
}

@media (max-width: 767px) {
  html.safari.mobile body.simplifiedMobile .slide.kenBurns.selected .background {
    -webkit-animation: safariKenBurnsZoomOut 8s cubic-bezier(0.3, 0, 0.7, 1) both;
    animation: safariKenBurnsZoomOut 8s cubic-bezier(0.3, 0, 0.7, 1) both;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: center;
    transform-origin: center;
  }
}

@-webkit-keyframes safariKenBurnsZoomOut {
  from {
    -webkit-transform: scale(1.08) rotate(-0.02deg);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
  }
}

@keyframes safariKenBurnsZoomOut {
  from {
    -webkit-transform: scale(1.08) rotate(-0.02deg);
    transform: scale(1.08) rotate(-0.02deg);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.safari.mobile body.simplifiedMobile .slide.kenBurns.selected .background {
    -webkit-animation: none;
    animation: none;
  }
}

.page-eyebrow {
  margin: 0 0 12px;
  color: #f7c948;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-lead {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.slide .button.glass-cta {
  border: 1px solid transparent !important;
  border-color: transparent !important;
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.slide .button.glass-cta:hover:not(:active) {
  border-color: transparent !important;
  background-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 28px rgba(0, 0, 0, 0.1);
}

.slide .button.actionButton.glass-cta {
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 4px;
  padding: 14px 22px;
  line-height: 1.2;
}

.event-grid,
.concept-grid,
.info-grid {
  display: grid;
  gap: 14px;
  width: 100%;
}

.event-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-card,
.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.event-card {
  position: relative;
  display: flex;
  min-height: 190px;
  align-items: flex-end;
  overflow: hidden;
  padding: 18px;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.14)), var(--card-image);
  background-position: center;
  background-size: cover;
  transition: transform 260ms ease, border-color 260ms ease;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 201, 72, 0.7);
}

.event-card h2,
.event-card h3 {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.event-card[role="button"] {
  cursor: pointer;
}

.event-card[role="button"]:focus-visible {
  outline: 2px solid #f7c948;
  outline-offset: 3px;
}

.service-dialog {
  position: fixed;
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: min(420px, calc(100% - 32px));
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 0;
  color: #fff;
  background: rgba(11, 14, 20, 0.64);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-dialog::backdrop {
  background: rgba(3, 5, 9, 0.48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.service-dialog::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(5, 8, 13, 0.88), rgba(5, 8, 13, 0.58)), var(--dialog-image);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 0.42;
}

.service-dialog-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(260px, calc(100svh - 32px));
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 7vw, 56px);
}

.service-dialog-content .page-eyebrow {
  margin-bottom: 12px;
}

.service-dialog-content h2 {
  max-width: 440px;
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 300;
  line-height: 1.12;
}

.service-dialog-content p:last-child {
  max-width: 440px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.service-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.service-dialog-close:hover,
.service-dialog-close:focus-visible {
  border-color: #f7c948;
  outline: none;
}

.glass-panel {
  padding: 24px;
  text-align: left;
}

.glass-panel h2,
.glass-panel h3 {
  margin-top: 0;
}

.glass-panel p:last-child {
  margin-bottom: 0;
}

.concept-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.concept-card {
  display: grid;
  grid-template-columns: minmax(125px, 0.85fr) minmax(0, 1.15fr);
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.concept-image {
  min-height: 100%;
  background: var(--card-image) center / cover no-repeat;
}

.concept-copy {
  align-self: center;
  padding: 20px;
}

.concept-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.2;
}

.concept-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.concept-label {
  display: block;
  margin-bottom: 8px;
  color: #f7c948;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid .glass-panel {
  min-height: 150px;
}

.info-grid h3 {
  margin-bottom: 10px;
  color: #f7c948;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-grid p {
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-details strong {
  display: block;
  margin-bottom: 4px;
  color: #f7c948;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details span {
  color: #fff;
  overflow-wrap: anywhere;
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.map-note {
  margin: 10px 0 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .event-card {
    min-height: 155px;
    padding: 14px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .contact-grid .glass-panel {
    padding: 18px;
  }

  .map-frame {
    min-height: 270px;
  }
}

@media (max-width: 600px) {
  .brand-link {
    width: 210px;
  }

  .event-grid {
    gap: 8px;
  }

  .event-card {
    min-height: clamp(105px, 18svh, 150px);
    padding: 12px;
    border-radius: 10px;
  }

  .event-card h2,
  .event-card h3 {
    font-size: 16px;
  }

  .concept-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .concept-card {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 155px;
  }

  .concept-copy {
    padding: 12px;
  }

  .concept-copy h2 {
    font-size: 18px;
  }

  .concept-copy p {
    font-size: 12px;
    line-height: 1.35;
  }

  .concept-label {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .info-grid .glass-panel {
    min-height: auto;
    padding: 14px 16px;
  }

  .info-grid h3 {
    margin-bottom: 4px;
  }

  .info-grid p {
    font-size: 13px;
  }

  .contact-grid .glass-panel {
    padding: 16px;
  }

  .map-frame {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-card {
    transition: none;
  }
}
