
.home-photo-album[data-v-2f66b2bf] { display:grid; grid-template-columns:40px minmax(0,1fr) 40px; align-items:center; gap:16px;
}
.home-photo-album > button[data-v-2f66b2bf] { display:grid; place-items:center; width:40px; height:48px; padding:0; border:0; background:transparent; color:#111;
}
.home-photo-album > button[data-v-2f66b2bf]:disabled { opacity:.25; cursor:default;
}
.home-photo-columns[data-v-2f66b2bf] { display:grid; gap:20px; min-height:0; align-items:start;
}
.home-photo-column[data-v-2f66b2bf] { display:flex; flex-direction:column; justify-content:space-between; aspect-ratio:2/3; min-width:0; overflow:hidden; border-radius:8px;
}
.home-photo-column img[data-v-2f66b2bf] { display:block; width:100%; height:auto; aspect-ratio:2/3; object-fit:cover;
}
.home-photo-column img.is-landscape[data-v-2f66b2bf] { aspect-ratio:3/2;
}
.home-photo-column.is-single-landscape img[data-v-2f66b2bf] { height:100%; aspect-ratio:auto;
}
@media(max-width:600px) {
.home-photo-album[data-v-2f66b2bf] { gap:6px; grid-template-columns:30px minmax(0,1fr) 30px;
}
.home-photo-album > button[data-v-2f66b2bf] { width:30px;
}
}

.hero-image-frame[data-v-d2d8e95f] { position: relative; overflow: hidden;
}
.hero-image-frame > img[data-v-d2d8e95f] { position: absolute; top: 50%; left: 50%; display: block; max-width: none; object-fit: cover; transform-origin: center;
}
@font-face {
  font-family: Poppins;
  src: url('/fonts/optimized/poppins-regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('/fonts/optimized/poppins-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Heavitas;
  src: url('/fonts/optimized/heavitas.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  font-family: Poppins, Arial, sans-serif;
  color: #080808;
  background: #fff;
  --red: #d11d1d;
  --light: #e7e7e7;
  --black: #050505;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3, strong { letter-spacing: 0; }
h2, h3 { font-family: Heavitas, Poppins, sans-serif; }
.keep-together { white-space: nowrap; }
.site-shell { min-height: 100vh; overflow: hidden; }
.page-padding { margin-inline: auto; width: min(1240px, calc(100% - 64px)); }

.topbar {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  isolation: isolate;
  height: 104px;
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  align-items: center;
  padding: 0 36px;
  color: #fff;
}
.brand { display: block; width: 220px; height: 64px; padding: 0; border: 0; background: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; opacity: 1; filter: none; }
.main-nav {
  position: relative;
  isolation: isolate;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 96% 4%, rgba(255, 255, 255, .34), rgba(255, 255, 255, .12) 18%, transparent 43%),
    radial-gradient(ellipse at 14% 50%, rgba(255, 255, 255, .11), transparent 40%),
    linear-gradient(135deg, transparent 56%, rgba(255, 255, 255, .1) 74%, transparent 88%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 45%, rgba(0, 0, 0, .08)),
    linear-gradient(90deg, rgba(35, 0, 0, .46), rgba(255, 255, 255, .06) 48%, rgba(122, 0, 0, .26)),
    rgba(86, 8, 8, .44);
  box-shadow:
    inset -1px 1px 1px rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(255, 255, 255, .09),
    inset 14px 0 28px rgba(255, 255, 255, .035),
    inset -22px 0 42px rgba(88, 0, 0, .32),
    0 16px 30px rgba(30, 0, 0, .25);
  backdrop-filter: blur(16px) saturate(190%) contrast(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(190%) contrast(1.08);
  transform: translateY(8px);
}
.main-nav a {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: #0a0a0a;
  background: rgba(250,250,250,.94);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .28s ease, background-color .28s ease;
}
.main-nav a.active { color: #fff; background: var(--red); }
.interface-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .28s ease, stroke .28s ease;
}
.main-nav svg { width: 22px; height: 22px; }
.main-nav a.active svg,
.main-nav a:hover svg { fill: none; stroke: currentColor; }
.main-nav a:not(.active):hover { color: #fff; background: var(--red); }
.main-nav a > img { width: 21px; height: 21px; flex: 0 0 21px; object-fit: contain; }
.main-nav a.active > img { filter: brightness(0) invert(1); }
.main-nav a:not(.active):hover > img { filter: brightness(0) invert(1); }
.mobile-menu, .mobile-nav-backdrop { display: none; }
.mobile-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-wrap { position: relative; justify-self: end; }
.account { display: flex; align-items: center; gap: 11px; padding: 0; border: 0; color: #fff; background: none; font-size: 15px; font-weight: 700; }
.account img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #d4d4d4; }
.account-popover { position: absolute; top: 56px; right: 0; padding: 10px; border-radius: 8px; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.account-popover button, .logout { padding: 11px 20px; border: 0; border-radius: 999px; color: #fff; background: var(--red); white-space: nowrap; font-weight: 700; }

.hero {
  position: relative;
  isolation: isolate;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: rgba(0,0,0,.14); }
.hero-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; opacity: 1; backface-visibility: hidden; transform-origin: center; will-change: opacity; }
.hero-crossfade-enter-active,
.hero-crossfade-leave-active { transition: opacity 420ms cubic-bezier(.4, 0, .2, 1); }
.hero-crossfade-enter-from,
.hero-crossfade-leave-to { opacity: 0; }
.home-hero { height: 100svh; min-height: 620px; overflow: hidden; contain: paint; color: #fff; background: linear-gradient(115deg, #090000 0%, #5d0808 52%, #c91c1c 100%); }

.brand,
.brand img,
.home-title,
.home-title span,
.home-title strong,
.stacked-title,
.stacked-title span,
.stacked-title strong {
  opacity: 1;
  mix-blend-mode: normal;
}
.brand img { filter: none !important; }
.home-title span,
.home-title strong,
.stacked-title span,
.stacked-title strong { filter: none !important; }
.home-title {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(900px, calc(100% - 64px));
  text-align: center;
  font-family: Heavitas, Poppins, sans-serif;
  filter: none;
  isolation: isolate;
  margin: 0;
}
.home-title span { position: relative; z-index: 2; margin-bottom: -22px; padding: 13px 30px 9px; font-size: clamp(30px, 3.8vw, 58px); line-height: 1; white-space: nowrap; text-shadow: 0 5px 5px rgba(0, 0, 0, .42); transform: rotate(-1.5deg) translateY(-2px); transform-origin: center bottom; }
.home-title strong { width: 76%; padding: 31px 46px; background: linear-gradient(105deg, #160000, #d01d1d); color: #fff; font-size: clamp(54px, 7.2vw, 108px); line-height: .9; }
.hero-arrows { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.hero-arrows button { width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.28); pointer-events: auto; }
.hero-arrows button:hover { color: #fff; background: var(--red); }

.home-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 56px; align-items: stretch; padding-block: 72px 56px; }
.home-featured-event { padding-top: 72px; }
.home-group h2, .album h2, .event-detail h2, .group-content h2, .contact-page h2 { margin: 0 0 34px; font-size: clamp(30px, 2.7vw, 43px); line-height: 1.04; }
.event-detail h2, .group-content h2, .contact-page h2 { font-size: clamp(28px, 2.25vw, 37px); }
.home-group p, .group-content p, .contact-page p, .event-detail > p { margin: 0; font-size: 17px; line-height: 1.55; }
.home-group-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  justify-self: end;
}
.home-group-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  transform: scale(1.03);
}
.home-group p,
.group-content p,
.contact-page p,
.contact-banner p { white-space: pre-line; }
.pill-button, .red-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.pill-button { color: #111; background: var(--light); }
.red-button { color: #fff; background: var(--red); }
.pill-button svg, .red-button svg { width: 22px; height: 22px; }
.action-link { transition: color .28s ease, background-color .28s ease; }
.action-link svg { fill: none; stroke: currentColor; transition: color .28s ease, stroke .28s ease; }
.action-link:hover { color: #fff; background: var(--red); }
.red-button .button-icon { width: 21px; height: 21px; flex: 0 0 21px; object-fit: contain; filter: brightness(0) invert(1); }

.album { padding-block: 20px 78px; }
.album h2 { margin-bottom: 38px; }
.album-empty { margin: 0; }
.album-frame {
  height: 455px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  padding: 28px 16px;
  border: 4px solid #111;
  border-radius: 15px;
  background: #fff;
}
.album-frame > button { width: 52px; height: 76px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #000; }
.album-frame > button:hover { background: var(--red); color: #fff; }
.album-frame > button svg { width: 52px; height: 52px; stroke-width: 4; }
.album-grid { height: 100%; display: grid; grid-template-columns: 1.12fr .95fr 1fr 1.08fr; grid-template-rows: 1fr 1fr; gap: 24px; overflow: hidden; }
.album-grid img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; background: #ddd; }
.album-grid .photo-0, .album-grid .photo-3, .album-grid .photo-4 { grid-row: span 2; }
.album-grid .photo-1 { grid-column: 2; grid-row: 1; }
.album-grid .photo-2 { grid-column: 2; grid-row: 2; }

.contact-banner { padding-bottom: 78px; }
.contact-banner > div { padding: 36px 34px; border-radius: 12px; color: #fff; background: linear-gradient(105deg, #060000 0%, #5d0808 45%, #d31f1f 100%); }
.contact-banner h2 { margin: 0 0 28px; font-size: clamp(30px, 2.8vw, 43px); }
.contact-banner p { max-width: 1120px; margin: 0; font-size: 17px; line-height: 1.55; }
.contact-banner .pill-button { margin-top: 34px; background: #fff; }
.contact-banner .pill-button:hover { color: #fff; background: var(--red); }

.page-hero { height: 75vh; min-height: 540px; max-height: 780px; color: #fff; }
.page-hero-media { position: absolute !important; inset: 0; z-index: -2; width: 100%; height: 100%; }
.events-hero { background-image: url('/assets/hero-event-1-upright.webp'); }
.group-hero { background-image: url('/assets/group-stage.webp'); }
.contact-hero { background-image: url('/assets/hero-contact.webp'); }
.stacked-title {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Heavitas, Poppins, sans-serif;
  filter: none;
  isolation: isolate;
  margin: 0;
}
.stacked-title span { position: relative; z-index: 2; margin-bottom: -11px; padding: 16px 32px 13px; border-radius: 8px; background: #050505; font-size: clamp(28px, 3.35vw, 48px); line-height: 1; transform: rotate(-1.5deg) translateY(-2px); transform-origin: center bottom; }
.stacked-title strong { padding: 29px 49px; background: linear-gradient(105deg, #150000, #d21e1e); color: #fff; font-size: clamp(50px, 6.7vw, 96px); line-height: .9; white-space: nowrap; }

.public-events { display: grid; gap: 78px; padding-block: 82px; }
.public-events-section { display: grid; gap: 30px; }
.public-events-section > h2 { margin: 0; text-align: left; font-size: 30px; line-height: 1.15; }
.public-events-section > .empty { margin: 0; text-align: left; }
.event-list { display: grid; gap: 62px; }
.event-card { position: relative; width: 100%; aspect-ratio: 8 / 3; min-height: 0; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: linear-gradient(115deg, #120000, #9f1515); }
.event-card-media { position: absolute; z-index: 0; inset: 0; display: block; background-position: center; background-repeat: no-repeat; background-size: cover; transform: scale(1); transform-origin: center; transition: transform 520ms cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.event-card::before { content: ''; position: absolute; z-index: 1; inset: 0; background: rgba(0,0,0,.27); transition: background-color 420ms ease; }
.event-card-content { position: relative; z-index: 2; width: min(1020px, 82%); color: #fff; text-align: center; }
.event-card-content h2 { margin: 0 0 24px; font-size: clamp(36px, 4.5vw, 64px); line-height: .98; text-shadow: 0 2px 5px rgba(0,0,0,.62); }
.event-card-content p { margin: 0 auto; padding: 20px 28px; border-radius: 8px; background: rgba(0,0,0,.62); font-size: 16px; line-height: 1.5; }
.event-card-content .red-button { margin-top: 28px; }
@media (hover: hover) and (pointer: fine) {
  .event-card:hover .event-card-media { transform: scale(1.045); }
  .event-card:hover::before { background: rgba(0,0,0,.4); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-crossfade-enter-active,
  .hero-crossfade-leave-active,
  .event-card-media,
  .event-card::before { transition: none; }
}
.empty { padding: 65px; border-radius: 8px; background: var(--light); text-align: center; font-weight: 700; }

.event-detail-hero { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 8 / 3; display: grid; place-items: end center; padding-bottom: 70px; background: linear-gradient(115deg, #120000, #9f1515); }
.single-title { width: min(1100px, 88%); margin: 0; padding: 25px 38px 30px; color: #fff; background: linear-gradient(105deg, #170000, #d21e1e); text-align: center; font-family: Heavitas, Poppins, sans-serif; font-size: clamp(40px, 5.7vw, 82px); line-height: .98; }
.event-detail { padding-block: 75px 86px; }
.event-detail > p { max-width: 1180px; margin-bottom: 105px; }
.event-album { margin-top: 50px; }

.event-page-sections {
  display: grid;
  gap: 86px;
}

.event-public-section {
  min-width: 0;
}

.event-public-section h2 {
  margin-bottom: 34px;
}

.event-description-section p {
  max-width: 1180px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  white-space: pre-line;
}

.event-practical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.event-practical-grid article {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 8px;
  background: var(--light);
}

.event-practical-grid svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  stroke-width: 2.4;
}

.event-practical-grid article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.event-practical-grid span,
.event-practical-grid small {
  color: #595959;
  font-size: 14px;
}

.event-practical-grid strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.event-video-frame {
  width: min(900px, 100%);
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .13);
  aspect-ratio: 16 / 9;
}

.event-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.event-gallery-section .event-album {
  margin-top: 0;
}

.group-content, .contact-page { padding-block: 78px 88px; }
.group-content h2:not(:first-child), .contact-page h2:not(:first-child) { margin-top: 80px; }
.group-content p, .contact-page p { max-width: 1260px; }
.members { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.members article { min-width: 0; display: grid; justify-items: center; padding: 22px 20px 28px; border-radius: 8px; background: var(--light); text-align: center; }
.members img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; background: #d2d2d2; }
.members strong { max-width: 100%; margin-top: 18px; overflow-wrap: anywhere; font-size: 19px; }
.members span { margin-top: 7px; }

.request-form { margin-top: 54px; padding: 40px 44px; border-radius: 8px; background: var(--light); }
.request-form h3 { margin: 0 0 22px; font-size: 23px; }
.request-form h3:not(:first-child) { margin-top: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.request-form input, .request-form textarea { width: 100%; border: 0; background: #fff; font-size: 16px; }
.request-form input { height: 54px; padding: 0 22px; border-radius: 999px; }
.request-form textarea { min-height: 250px; margin-top: 26px; padding: 24px 26px; border-radius: 28px; resize: vertical; }
.field-title { display: block; margin-top: 40px; font-weight: 700; }
.type-picker { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.type-picker button { min-height: 46px; padding: 0 25px; border: 0; border-radius: 999px; background: #c5c5c5; }
.type-picker button:hover { color: #fff; background: var(--red); }

/* Public page builder output. */
.public-builder-page { display: grid; }
.public-builder-section { padding-block: 42px; }
.public-builder-section:first-child { padding-top: 72px; }
.public-builder-section:last-child { padding-bottom: 82px; }
.public-builder-columns { display: grid; gap: 54px; align-items: center; }
.public-builder-columns.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-builder-column { min-width: 0; display: grid; gap: 28px; align-content: center; }
.public-builder-heading { margin: 0; font-family: Heavitas, Poppins, sans-serif; line-height: 1.08; }
h1.public-builder-heading { font-size: clamp(40px, 5.2vw, 76px); }
h2.public-builder-heading { font-size: clamp(30px, 2.7vw, 43px); }
h3.public-builder-heading { font-size: clamp(23px, 2vw, 31px); }
.public-builder-text { max-width: 1200px; margin: 0; font-size: 17px; line-height: 1.65; white-space: pre-line; }
.public-builder-button { width: fit-content; margin-top: 0; }
.public-builder-image { width: 100%; min-height: 280px; overflow: hidden; margin: 0; border-radius: 8px; }
.public-builder-image img { display: block; width: 100%; height: 100%; min-height: 280px; aspect-ratio: 4 / 3; object-fit: cover; }
.public-builder-photo-grid { display: grid; gap: 18px; }
.public-builder-photo-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-builder-photo-grid.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.public-builder-photo-grid.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-builder-photo-grid img { width: 100%; height: 100%; min-height: 180px; aspect-ratio: 4 / 3; border-radius: 7px; object-fit: cover; }
.public-builder-media { display: grid; gap: 24px; }
.public-builder-media h2 { margin: 0; }
.public-builder-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #111; }
.public-builder-contact { padding: 0; }
.public-builder-contact > div { padding: 36px 34px; }
.public-builder-contact h2 { margin: 0 0 28px; }
.page-padding-reset { padding: 0; }
.public-builder-section .featured-event { padding-top: 0; }
.public-builder-section .public-events-section { gap: 30px; }
.public-builder-section .members { margin-top: 0; }
.members--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.members--compact article { justify-items: start; padding: 20px 24px; text-align: left; }
.members--compact strong { margin-top: 0; }
.public-builder-section .request-form { margin-top: 0; }
.public-builder-section .event-description-section p { margin: 0; }
.public-builder-section .event-gallery-section h2,
.public-builder-section .event-video-section h2,
.public-builder-section .event-description-section h2 { margin: 0 0 34px; font-size: clamp(28px, 2.25vw, 37px); }

@media (max-width: 800px) {
  .public-builder-columns.columns-2 { grid-template-columns: 1fr; gap: 30px; }
  .public-builder-section { padding-block: 32px; }
  .public-builder-section:first-child { padding-top: 55px; }
  .public-builder-section:last-child { padding-bottom: 68px; }
  .public-builder-photo-grid.count-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .public-builder-column { gap: 22px; }
  .public-builder-text { font-size: 15px; }
  .public-builder-photo-grid.count-2,
  .public-builder-photo-grid.count-3,
  .public-builder-photo-grid.count-4,
  .members--compact { grid-template-columns: 1fr; }
  .public-builder-contact > div { padding: 32px 24px; }
}
.type-picker button.active { color: #fff; background: var(--red); }
.send-button { display: flex; margin: 32px auto 0; }
.notice { text-align: center; font-weight: 700; }
.empty-page { min-height: 70vh; padding-block: 220px 100px; text-align: center; }

footer {
  min-height: 450px;
  position: relative;
  display: grid;
  grid-template-columns: 390px 1px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0 48px;
  padding: 58px 52px 24px;
  color: #fff;
  background: linear-gradient(105deg, #030303 0%, #4b0505 45%, #d21f1f 100%);
}
.footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding-inline: 8px 24px; }
.footer-brand > img { width: 235px; height: 235px; object-fit: contain; }
.socials { display: flex; flex-direction: column; gap: 20px; }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; }
.socials img { width: 26px; height: 26px; display: block; object-fit: contain; filter: brightness(0) invert(1); }
footer::before { content: ''; grid-column: 2; grid-row: 1; width: 1px; height: 250px; background: rgba(255,255,255,.9); }
.quote { grid-column: 3; grid-row: 1; font-family: Heavitas, Poppins, sans-serif; font-size: clamp(38px, 4.6vw, 65px); line-height: 1.12; }
footer small { grid-column: 1 / -1; grid-row: 2; text-align: center; }
footer a { color: inherit; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.72); }
.switcher { position: relative; width: min(1660px, 96vw); max-height: 94vh; overflow: auto; padding: 34px 46px 28px; border-radius: 28px; color: #fff; background: linear-gradient(110deg, #080000, #c91c1c); }
.switcher .close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; }
.switcher-logo { display: block; width: 390px; height: 145px; margin: 0 auto 30px; object-fit: contain; }
.switch-user { position: absolute; top: 28px; left: 34px; }
.switch-user > button:first-child { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; color: #fff; background: none; }
.switch-user img { width: 52px; height: 52px; border: 0; border-radius: 50%; object-fit: cover; }
.switch-user .logout { position: absolute; top: 64px; left: 0; }
.switch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.switch-grid a { min-height: 350px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 22px; border: 1px solid #555; border-radius: 8px; color: #fff; background: #0b0b0b; text-decoration: none; }
.switch-grid b { font-family: Heavitas, Poppins, sans-serif; font-size: 26px; }
.switch-grid span { margin-top: 8px; color: #cfcfcf; font-weight: 700; }
.switcher > small { display: block; margin-top: 24px; text-align: center; }

@media (max-width: 1050px) {
  .page-padding { width: min(100% - 48px, 900px); }
  .topbar { height: 104px; grid-template-columns: 230px 1fr 70px; padding: 0 24px; }
  .brand { width: 215px; height: 68px; }
  .mobile-menu { justify-self: end; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; color: #111; background: #fff; }
  .main-nav { position: absolute; top: 92px; left: 24px; right: 24px; display: none; flex-direction: column; border-radius: 16px; transform: none; }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; justify-content: center; }
  .account-wrap { grid-column: 3; grid-row: 1; margin-right: 65px; }
  .account span { display: none; }
  .home-group { grid-template-columns: 1fr; }
  .home-group-photo { grid-row: 1; width: 100%; justify-self: stretch; }
  .album-grid { grid-template-columns: 1fr 1fr; }
  .album-grid .photo-3, .album-grid .photo-4 { display: none; }
  .members { grid-template-columns: 1fr 1fr; }
  .switch-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 310px 1px 1fr; gap: 0 35px; padding-inline: 35px; }
  .footer-brand > img { width: 235px; }
}

@media (max-width: 680px) {
  .page-padding { width: calc(100% - 32px); }
  .topbar { grid-template-columns: 168px 1fr 52px; padding-inline: 16px; }
  .brand { width: 158px; }
  .account-wrap { margin-right: 56px; }
  .account img { width: 44px; height: 44px; }
  .home-hero { height: 100svh; min-height: 0; }
  .home-title { bottom: 44px; width: calc(100% - 32px); }
  .home-title span { font-size: clamp(22px, 7vw, 38px); white-space: normal; }
  .home-title strong { width: 100%; font-size: clamp(50px, 16vw, 82px); padding-inline: 10px; }
  .hero-arrows { padding: 0 8px; }
  .hero-arrows button { width: 42px; height: 42px; }
  .home-group, .group-content, .contact-page, .event-detail { padding-block: 62px; }
  .event-page-sections { gap: 62px; }
  .event-practical-grid { grid-template-columns: 1fr; }
  .event-practical-grid article { min-height: 96px; padding: 20px; }
  .home-group { gap: 38px; }
  .home-group h2, .album h2, .event-detail h2, .group-content h2, .contact-page h2 { margin-bottom: 28px; font-size: 31px; }
  .home-group p, .group-content p, .contact-page p, .event-detail > p { font-size: 16px; }
  .album { padding-bottom: 68px; }
  .album-frame { height: 430px; grid-template-columns: 34px 1fr 34px; padding: 18px 6px; }
  .album-frame > button, .album-frame > button svg { width: 34px; }
  .album-grid { grid-template-columns: 1fr; gap: 0; }
  .album-grid img:not(.photo-0) { display: none; }
  .contact-banner { padding-bottom: 68px; }
  .contact-banner > div { padding: 34px 25px; }
  .contact-banner h2 { margin-bottom: 24px; font-size: 31px; }
  .contact-banner p { font-size: 15px; }
  .page-hero { min-height: 500px; height: 75vh; max-height: none; }
  .stacked-title { bottom: 48px; max-width: calc(100% - 32px); }
  .stacked-title span { font-size: 34px; }
  .stacked-title strong { max-width: 100%; padding-inline: 18px; font-size: clamp(48px, 16vw, 76px); white-space: normal; overflow-wrap: anywhere; }
  .public-events { gap: 58px; padding-block: 65px; }
  .public-events-section { gap: 24px; }
  .public-events-section > h2 { font-size: 25px; }
  .event-list { gap: 42px; }
  .event-card { min-height: 0; }
  .event-detail-hero { height: auto; min-height: 0; aspect-ratio: 8 / 3; }
  .event-card-content { width: 90%; }
  .event-card-content h2 { font-size: 46px; }
  .event-card-content p { padding: 20px; font-size: 15px; }
  .single-title { padding-inline: 18px; font-size: 45px; overflow-wrap: anywhere; }
  .members { grid-template-columns: 1fr; }
  .request-form { padding: 34px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  footer { min-height: 620px; display: flex; flex-direction: column; justify-content: center; gap: 25px; padding: 50px 28px 24px; }
  .footer-brand > img { width: 230px; height: 230px; }
  footer::before { width: 80%; height: 1px; }
  .quote { font-size: 39px; text-align: center; }
  .switcher { padding: 80px 20px 24px; }
  .switcher-logo { width: 250px; height: 100px; }
  .switch-user { top: 20px; left: 20px; }
  .switch-grid { grid-template-columns: 1fr; }
  .switch-grid a { min-height: 170px; }
}

/* Responsive navigation and layout hardening. */
@media (max-width: 1050px) {
  .topbar {
    height: 96px;
    grid-template-columns: minmax(190px, 230px) 1fr auto auto;
    gap: 12px;
    padding: 0 24px;
  }

  .mobile-menu {
    position: relative;
    z-index: 62;
    grid-column: 4;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    color: #111;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 28px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform .22s ease, background-color .22s ease;
  }

  .mobile-menu:active { transform: scale(.94); }
  .mobile-menu svg { width: 25px; height: 25px; }

  .mobile-nav-backdrop {
    position: fixed;
    z-index: 59;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(42,42,42,.52);
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .topbar { grid-template-columns: minmax(190px, 230px) 1fr auto; }
  .mobile-actions { grid-column: 3; }
  .main-nav {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(370px, calc(100vw - 42px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 108px 28px 36px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.2);
    border-radius: 28px 0 0 28px;
    background:
      radial-gradient(circle at 100% 0, rgba(255,255,255,.19), transparent 35%),
      linear-gradient(155deg, rgba(16,0,0,.96), rgba(117,8,8,.95) 62%, rgba(207,29,29,.97));
    box-shadow: -22px 0 55px rgba(0,0,0,.34), inset 1px 0 0 rgba(255,255,255,.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.22,.8,.25,1), visibility .3s;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .main-nav a {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    padding-inline: 22px;
    font-size: 17px;
  }

  .main-nav a .interface-icon { width: 24px; height: 24px; flex-basis: 24px; }
}

@media (max-width: 680px) {
  .page-padding { width: calc(100% - 32px); }
  .topbar { height: 88px; grid-template-columns: minmax(145px, 168px) 1fr auto auto; gap: 8px; padding-inline: 16px; }
  .brand { width: 158px; }
  .mobile-menu { width: 46px; height: 46px; }
  .main-nav { width: min(340px, calc(100vw - 28px)); padding: 94px 20px 30px; border-radius: 24px 0 0 24px; }
  .main-nav a { min-height: 50px; }

  .home-hero { height: 100svh; min-height: 0; }
  .home-title { bottom: max(28px, env(safe-area-inset-bottom)); width: calc(100% - 32px); }
  .home-title span { margin-bottom: -12px; padding: 9px 8px 7px; font-size: clamp(20px, 6.4vw, 31px); white-space: normal; }
  .home-title strong { width: 100%; padding: 24px 8px; font-size: clamp(46px, 15vw, 72px); }

  .album-frame { height: min(105vw, 430px); padding-block: 14px; }
  .page-hero { min-height: 470px; height: 72svh; max-height: 650px; }
  .stacked-title { bottom: 38px; width: calc(100% - 28px); max-width: 540px; }
  .stacked-title span { margin-bottom: -8px; padding: 12px 22px 10px; font-size: clamp(25px, 8vw, 34px); }
  .stacked-title strong { max-width: 100%; padding: 25px 15px; font-size: clamp(35px, 10.5vw, 55px); white-space: nowrap; overflow-wrap: normal; }

  .event-card { min-height: 440px; aspect-ratio: auto; padding-block: 44px; }
  .event-detail-hero { height: 54svh; min-height: 390px; aspect-ratio: auto; padding-bottom: 40px; }
  .event-card-content { width: calc(100% - 32px); }
  .event-card-content h2 { margin-bottom: 20px; font-size: clamp(31px, 10vw, 43px); }
  .event-card-content p { padding: 18px; font-size: 14px; }
  .event-card-content .red-button { margin-top: 22px; }
  .single-title { width: calc(100% - 28px); padding: 20px 16px 23px; font-size: clamp(31px, 10vw, 44px); overflow-wrap: anywhere; }

  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .members article { padding: 14px 12px 18px; }
  .members strong { margin-top: 13px; font-size: 16px; }
  .members span { font-size: 14px; }

  footer { min-height: 0; padding: 48px 24px 22px; }
  .footer-brand { width: min(320px, 100%); justify-content: center; gap: 34px; padding: 0; }
  .footer-brand > img { width: 180px; height: 180px; }
  .socials { gap: 16px; }
  .quote { font-size: clamp(29px, 9vw, 39px); }
}

@media (max-width: 460px) {
  .page-padding { width: calc(100% - 24px); }
  .topbar { grid-template-columns: minmax(132px, 150px) 1fr auto auto; padding-inline: 12px; }
  .brand { width: 145px; }
  .home-group, .group-content, .contact-page, .event-detail { padding-block: 52px; }
  .home-group h2, .album h2, .event-detail h2, .group-content h2, .contact-page h2, .contact-banner h2 { font-size: 27px; }
  .event-practical-grid article { align-items: flex-start; }
  .public-events { padding-block: 54px; }
  .empty { padding: 38px 22px; }
  .members { grid-template-columns: 1fr; }
  .request-form { margin-top: 42px; padding: 28px 16px; }
  .request-form textarea { min-height: 210px; border-radius: 20px; }
  .type-picker { gap: 10px; }
  .type-picker button { padding-inline: 18px; }
}

/* Final responsive pass: one source of truth for real mobile browsers. */
footer {
  min-height: 450px;
  grid-template-columns: 235px 28px 1px minmax(320px, 650px);
  grid-template-rows: 1fr auto;
  justify-content: center;
  justify-items: center;
  column-gap: clamp(32px, 3.2vw, 58px);
  row-gap: 0;
  padding: 58px 40px 24px;
}
.footer-brand {
  display: contents;
}
.footer-brand > img { grid-column: 1; grid-row: 1; }
.footer-brand .socials { grid-column: 2; grid-row: 1; }
footer::before {
  grid-column: 3;
  grid-row: 1;
  width: 1px;
  height: 250px;
  align-self: center;
}
.quote {
  grid-column: 4;
  grid-row: 1;
  align-self: center;
  justify-self: stretch;
  text-align: left;
}
footer small { grid-column: 1 / -1; grid-row: 2; }

@media (max-width: 1050px) {
  .main-nav {
    width: min(300px, 66vw);
    gap: 10px;
    padding: 100px 16px 30px;
    border: 1px solid rgba(255,255,255,.24);
    border-right: 0;
    border-radius: 20px 0 0 20px;
    background:
      radial-gradient(ellipse at 100% 0, rgba(255,255,255,.22), transparent 34%),
      linear-gradient(145deg, rgba(20,0,0,.84), rgba(86,6,6,.78) 58%, rgba(181,20,20,.82));
    box-shadow: -18px 0 46px rgba(0,0,0,.34), inset 1px 1px 0 rgba(255,255,255,.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .main-nav.open {
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .main-nav a {
    width: 100%;
    min-height: 48px;
    padding-inline: 15px;
  }
}

@media (max-width: 680px) {
  .home-hero {
    height: 100dvh;
    min-height: 100svh;
  }
  .topbar { grid-template-columns: minmax(132px, 158px) 1fr auto; }
  .mobile-actions {
    grid-column: 3;
    display: flex;
    height: 46px;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
  }
  .mobile-actions > .topbar-account,
  .mobile-actions > .mobile-menu {
    align-self: center;
    margin: 0;
    transform: none !important;
  }
  .mobile-actions .topbar-account-trigger,
  .mobile-actions .mobile-menu {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    line-height: 1;
  }
  .mobile-actions .topbar-account-trigger img { display: block; margin: 0; }
  .page-hero {
    overflow: hidden;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: scroll !important;
  }
  .main-nav { width: min(270px, 66vw); padding: 92px 13px 26px; }
  .main-nav a { min-height: 46px; padding-inline: 13px; font-size: 15px; }
  .main-nav a .interface-icon { width: 22px; height: 22px; flex-basis: 22px; }

  .event-card {
    min-height: 0;
    aspect-ratio: 11 / 5;
    padding: 10px;
  }
  .event-card-content { width: calc(100% - 20px); }
  .event-card-content h2 {
    margin-bottom: 10px;
    font-size: clamp(21px, 7.2vw, 30px);
    line-height: 1;
  }
  .event-card-content p { display: none; }
  .event-card-content .red-button {
    min-height: 36px;
    margin-top: 0;
    padding: 0 15px;
    font-size: 13px;
  }
  .event-card-content .red-button svg { width: 18px; height: 18px; }

  footer {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px auto auto;
    justify-items: center;
    gap: 24px;
    padding: 46px 22px 20px;
  }
  .footer-brand {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    justify-content: center;
    width: 100%;
    gap: 30px;
    padding: 0;
  }
  .footer-brand > img { width: 170px; height: 170px; }
  .socials { flex-direction: column; gap: 15px; }
  footer::before {
    grid-column: 1;
    grid-row: 2;
    width: min(360px, 92%);
    height: 1px;
  }
  .quote { grid-column: 1; grid-row: 3; text-align: center; }
  footer small { grid-column: 1; grid-row: 4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.topbar-account {
  position: relative;
  z-index: 40;
  justify-self: end;
  align-self: center;
  transform: translateY(8px);
}

.topbar-account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 44px;
  padding: 3px 4px 3px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 600 0.98rem/1 Poppins, sans-serif;
  transition: background-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.topbar-account-trigger:hover,
.topbar-account-trigger:focus-visible,
.topbar-account.is-open .topbar-account-trigger {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

.topbar-account-avatar {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #e5e5e5;
}

.topbar-account-avatar img,
.site-switcher-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.topbar-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  padding: 9px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.topbar-account.is-open .topbar-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.topbar-account-menu button,
.site-switcher-account-menu button {
  width: max-content;
  min-height: 36px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 600 0.9rem/1 Poppins, sans-serif;
  white-space: nowrap;
}

.topbar-account-menu button:hover,
.topbar-account-menu button:focus-visible,
.site-switcher-account-menu button:hover,
.site-switcher-account-menu button:focus-visible {
  background: var(--red);
}

.site-switcher-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-switcher-modal {
  position: relative;
  width: min(1380px, calc(100vw - 40px));
  height: min(820px, calc(100vh - 48px));
  min-height: 0;
  max-height: calc(100vh - 48px);
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 34px 42px 28px;
  overflow: auto;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.9) 0%, rgba(77, 0, 0, 0.94) 38%, rgba(207, 29, 34, 0.98) 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.site-switcher-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font: 800 1.35rem/1 Poppins, sans-serif;
}

.site-switcher-logo {
  justify-self: center;
  width: min(460px, 72vw);
  height: 150px;
  object-fit: contain;
}

.site-switcher-account {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 3;
}

.site-switcher-account-chip {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 700 20px/1 Poppins, sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.site-switcher-account-chip:hover,
.site-switcher-account-chip:focus-visible {
  background: transparent;
  color: #fff;
}

.site-switcher-avatar {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  border-radius: 50%;
  background: #e5e5e5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.site-switcher-account-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  width: max-content;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-switcher-account.is-open .site-switcher-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-switcher-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.site-switcher-tile {
  min-width: 0;
  height: fit-content;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(14, 14, 14, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.site-switcher-tile:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.98), rgba(16, 16, 16, 0.98));
}

.site-switcher-title {
  margin-top: 3px;
  overflow: hidden;
  color: #fff;
  font: 800 clamp(1.08rem, 1.32vw, 1.48rem)/1.05 Heavitas, Poppins, sans-serif;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-switcher-subtitle {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font: 700 0.88rem/1.2 Poppins, sans-serif;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-switcher-powered {
  align-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-switcher-powered a { color: #fff; }

@media (max-width: 1050px) {
  .site-switcher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-switcher-modal { height: calc(100vh - 32px); max-height: calc(100vh - 32px); padding: 76px 26px 26px; }
  .topbar-account { transform: none; }
  .topbar-account-trigger strong { display: none; }
  .topbar-account-trigger {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 4px;
    border-radius: 50%;
  }
  .topbar-account-avatar { width: 40px; height: 40px; flex-basis: 40px; }
}

@media (max-width: 640px) {
  .site-switcher-backdrop {
    align-items: center;
    padding: 8px;
  }
  .site-switcher-grid { grid-template-columns: 1fr; gap: 12px; }
  .site-switcher-modal {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    grid-template-rows: auto auto auto;
    gap: 16px;
    padding: 66px 14px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 22px;
    scrollbar-width: none;
  }
  .site-switcher-modal::-webkit-scrollbar { display: none; }
  .site-switcher-logo { width: min(240px, 60vw); height: 72px; }
  .site-switcher-account { top: 14px; left: 14px; }
  .site-switcher-close { top: 14px; right: 14px; }
  .site-switcher-account-chip strong { display: none; }
  .site-switcher-tile { gap: 8px; padding: 12px; border-radius: 16px; }
  .site-switcher-title { font-size: 1.05rem; }
  .site-switcher-subtitle { font-size: .78rem; }
  .mobile-actions .topbar-account {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
  }
  .mobile-actions .topbar-account-trigger {
    box-sizing: border-box;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 3px !important;
    gap: 0 !important;
    justify-content: center;
    border-radius: 50%;
  }
  .mobile-actions .topbar-account-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin: 0;
  }
  .topbar-account-trigger:hover,
  .topbar-account-trigger:focus-visible,
  .topbar-account.is-open .topbar-account-trigger {
    border-radius: 50%;
  }
}

/* Keep the public switcher aligned with the admin switcher. */
@media (min-width: 1051px) {
  .site-switcher-backdrop {
    padding: 32px;
  }

  .site-switcher-modal {
    width: min(1380px, calc(100vw - 40px));
    height: min(780px, calc(100vh - 40px));
    min-height: min(780px, calc(100vh - 40px));
    max-height: calc(100vh - 40px);
    grid-template-rows: 150px minmax(0, 1fr) auto;
    align-content: stretch;
    padding: 34px 42px 28px;
    gap: 22px;
  }

  .site-switcher-grid {
    align-self: center;
    gap: 20px;
  }

  .site-switcher-powered {
    align-self: end;
  }
}

.site-switcher-modal .site-switcher-avatar,
.site-switcher-modal .site-switcher-avatar img {
  border: 0 !important;
  outline: 0 !important;
}

.site-switcher-modal .site-switcher-avatar {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22) !important;
}

.site-switcher-modal .site-switcher-avatar img {
  box-shadow: none !important;
}
/* Definitive ecosystem switcher layout. Loaded after the legacy stylesheet. */
.site-switcher-modal .site-switcher-preview {
  display: grid !important;
  grid-template-rows: 34px minmax(0, 1fr) !important;
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #000 !important;
  box-sizing: border-box !important;
}

.site-switcher-modal .site-switcher-preview::before,
.site-switcher-modal .site-switcher-preview::after {
  content: none !important;
  display: none !important;
}

.site-switcher-modal .ecosystem-mini-header {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 34px !important;
  padding: 0 46px !important;
  background: linear-gradient(90deg, #191919 0%, #b7191d 65%, #d51d22 100%) !important;
  box-sizing: border-box !important;
}

.site-switcher-modal .ecosystem-mini-lights {
  position: absolute !important;
  left: 13px !important;
  top: 50% !important;
  display: flex !important;
  gap: 6px !important;
  transform: translateY(-50%) !important;
}

.site-switcher-modal .ecosystem-mini-lights i {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #ef443b !important;
}

.site-switcher-modal .ecosystem-mini-lights i:nth-child(2) {
  background: #f4c84b !important;
}

.site-switcher-modal .ecosystem-mini-lights i:nth-child(3) {
  background: #4ac66d !important;
}

.site-switcher-modal .ecosystem-mini-logo {
  display: block !important;
  width: auto !important;
  max-width: 106px !important;
  height: auto !important;
  max-height: 14px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.site-switcher-modal .site-switcher-tile--public .ecosystem-mini-logo {
  max-width: 58px !important;
  max-height: 16px !important;
}

.site-switcher-modal .ecosystem-mini-canvas {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 20px !important;
  overflow: hidden !important;
  background: #000 !important;
  box-sizing: border-box !important;
}

.site-switcher-modal .ecosystem-mini-canvas *,
.site-switcher-modal .ecosystem-mini-canvas *::before,
.site-switcher-modal .ecosystem-mini-canvas *::after {
  box-sizing: border-box !important;
}

.site-switcher-modal .mini-slide,
.site-switcher-modal .mini-admin-shell,
.site-switcher-modal .mini-public-slider,
.site-switcher-modal .mini-intranet-shell {
  position: static !important;
  display: flex !important;
  width: min(78%, 250px) !important;
  height: 126px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 11px !important;
  overflow: hidden !important;
  background: #181818 !important;
  transform: none !important;
}

/* Slides: a projected lyric slide with a chord line. */
.site-switcher-modal .mini-slide {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
}

.site-switcher-modal .mini-slide-title {
  display: block !important;
  width: 58% !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

.site-switcher-modal .mini-slide-chord {
  display: block !important;
  width: 32% !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #f6d619 !important;
}

.site-switcher-modal .mini-slide-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 68% !important;
  gap: 5px !important;
}

.site-switcher-modal .mini-slide-copy i {
  display: block !important;
  width: 100% !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
}

.site-switcher-modal .mini-slide-copy i:last-child {
  width: 70% !important;
}

/* Admin: compact dashboard navigation and two stable rows. */
.site-switcher-modal .mini-admin-shell {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 10px !important;
}

.site-switcher-modal .mini-admin-nav {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}

.site-switcher-modal .mini-admin-nav i {
  display: block !important;
  width: 22% !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #454545 !important;
}

.site-switcher-modal .mini-admin-nav i:first-child {
  background: #d51d22 !important;
}

.site-switcher-modal .mini-admin-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
}

.site-switcher-modal .mini-admin-heading i:first-child {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.site-switcher-modal .mini-admin-heading i:last-child {
  display: block !important;
  width: 48% !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.64) !important;
}

.site-switcher-modal .mini-admin-rows {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.site-switcher-modal .mini-admin-rows i {
  display: block !important;
  width: 100% !important;
  height: 15px !important;
  border-left: 4px solid #d51d22 !important;
  border-radius: 5px !important;
  background: #383838 !important;
}

.site-switcher-modal .mini-admin-rows i:last-child {
  border-left-color: #48be6a !important;
}

/* Public: a centered hero carousel with navigation and two actions. */
.site-switcher-modal .mini-public-slider {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-inline: 14px !important;
}

.site-switcher-modal .mini-public-arrow {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  color: #fff !important;
  font: 700 17px/1 Arial, sans-serif !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

.site-switcher-modal .mini-public-content {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 9px !important;
}

.site-switcher-modal .mini-public-title {
  display: block !important;
  width: 72% !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

.site-switcher-modal .mini-public-copy {
  display: flex !important;
  width: 82% !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
}

.site-switcher-modal .mini-public-copy i {
  display: block !important;
  width: 100% !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.3) !important;
}

.site-switcher-modal .mini-public-copy i:last-child {
  width: 72% !important;
}

.site-switcher-modal .mini-public-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}

.site-switcher-modal .mini-public-actions i {
  display: block !important;
  width: 38px !important;
  height: 13px !important;
  border-radius: 999px !important;
  background: #d51d22 !important;
}

.site-switcher-modal .mini-public-actions i:last-child {
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
}

/* Intranet: menu, event summary and documents. */
.site-switcher-modal .mini-intranet-shell {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 9px !important;
}

.site-switcher-modal .mini-intranet-nav {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}

.site-switcher-modal .mini-intranet-nav i {
  display: block !important;
  width: 27% !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #424242 !important;
}

.site-switcher-modal .mini-intranet-nav i:first-child {
  background: #d51d22 !important;
}

.site-switcher-modal .mini-intranet-event {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 9px 11px !important;
  border-radius: 7px !important;
  background: #333 !important;
}

.site-switcher-modal .mini-intranet-icon {
  display: block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.site-switcher-modal .mini-intranet-event > span {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.site-switcher-modal .mini-intranet-event > span i {
  display: block !important;
  width: 72% !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.68) !important;
}

.site-switcher-modal .mini-intranet-event > span i:last-child {
  width: 48% !important;
  background: rgba(255, 255, 255, 0.3) !important;
}

.site-switcher-modal .mini-intranet-docs {
  display: flex !important;
  gap: 6px !important;
}

.site-switcher-modal .mini-intranet-docs i {
  display: block !important;
  flex: 1 1 0 !important;
  height: 13px !important;
  border-radius: 5px !important;
  background: #3a3a3a !important;
}

.site-switcher-modal .site-switcher-preview-body {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  background: #000 !important;
}

.site-switcher-modal .site-switcher-preview-body::before,
.site-switcher-modal .site-switcher-preview-body::after {
  content: none !important;
  display: none !important;
}

.site-switcher-modal .site-switcher-preview-body > .switcher-slides-screen,
.site-switcher-modal .site-switcher-preview-body > .switcher-admin-hero,
.site-switcher-modal .site-switcher-preview-body > .switcher-public-slider,
.site-switcher-modal .site-switcher-preview-body > .switcher-intranet-event {
  position: static !important;
  inset: auto !important;
  width: 68% !important;
  height: 94px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 12px !important;
  background: #181818 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  overflow: hidden !important;
  transform: none !important;
  box-shadow: none !important;
}

.site-switcher-modal .site-switcher-preview-body > .switcher-slides-screen > span:nth-child(n),
.site-switcher-modal .site-switcher-preview-body > .switcher-admin-hero > span:nth-child(n),
.site-switcher-modal .site-switcher-preview-body > .switcher-public-slider > span:nth-child(n),
.site-switcher-modal .site-switcher-preview-body > .switcher-intranet-event > span:nth-child(n) {
  position: static !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.site-switcher-modal .site-switcher-preview-body > .switcher-slides-screen > span::before,
.site-switcher-modal .site-switcher-preview-body > .switcher-slides-screen > span::after,
.site-switcher-modal .site-switcher-preview-body > .switcher-admin-hero > span::before,
.site-switcher-modal .site-switcher-preview-body > .switcher-admin-hero > span::after,
.site-switcher-modal .site-switcher-preview-body > .switcher-public-slider > span::before,
.site-switcher-modal .site-switcher-preview-body > .switcher-public-slider > span::after,
.site-switcher-modal .site-switcher-preview-body > .switcher-intranet-event > span::before,
.site-switcher-modal .site-switcher-preview-body > .switcher-intranet-event > span::after {
  content: none !important;
  display: none !important;
}

.site-switcher-modal .switcher-slides-title {
  width: 62% !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

.site-switcher-modal .switcher-slides-line {
  width: 46% !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
}

.site-switcher-modal .switcher-slides-line.is-short {
  width: 34% !important;
  height: 16px !important;
  background: #f6d619 !important;
}

.site-switcher-modal .switcher-admin-hero > span:first-child {
  width: 68% !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

.site-switcher-modal .switcher-admin-hero > span:last-child {
  width: 43% !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
}

.site-switcher-modal .switcher-admin-hero::after {
  content: "" !important;
  position: static !important;
  flex: 0 0 auto !important;
  width: 32% !important;
  height: 15px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #d51d22 !important;
  transform: none !important;
  box-shadow: none !important;
}

.site-switcher-modal .switcher-public-slider > span {
  display: none !important;
}

.site-switcher-modal .switcher-public-slider > .switcher-public-slide.is-main,
.site-switcher-modal .switcher-public-slider > .switcher-public-copy,
.site-switcher-modal .switcher-public-slider > .switcher-public-button {
  display: block !important;
}

.site-switcher-modal .switcher-public-slider::before,
.site-switcher-modal .switcher-public-slider::after {
  content: none !important;
  display: none !important;
}

.site-switcher-modal .switcher-public-slide.is-main {
  width: 72% !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

.site-switcher-modal .switcher-public-copy {
  width: 58% !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
}

.site-switcher-modal .switcher-public-button {
  width: 32% !important;
  height: 15px !important;
  border-radius: 999px !important;
  background: #d51d22 !important;
}

.site-switcher-modal .switcher-intranet-event > span:first-child {
  width: 70% !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

.site-switcher-modal .switcher-intranet-event > span:nth-child(2) {
  width: 48% !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
}

.site-switcher-modal .switcher-intranet-event > span:nth-child(3) {
  width: 32% !important;
  height: 15px !important;
  border-radius: 999px !important;
  background: #d51d22 !important;
}

/* Footer participates in page layout instead of covering scrollable content. */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app > .auth-page,
#app > .access-wait-page,
#app > .app {
  flex: 1 0 auto;
  width: 100%;
  min-height: 0;
  height: auto;
}

.ecosystem-footer {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  flex: 0 0 auto;
  width: 100%;
  min-height: 24px;
  margin-top: auto;
  padding: 5px 12px 7px;
  color: rgba(0, 0, 0, 0.62) !important;
  background: #ffffff;
  mix-blend-mode: normal !important;
}

.ecosystem-footer a {
  color: #000000 !important;
}

#app:has(> .auth-page) > .ecosystem-footer {
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
}

#app:has(> .auth-page) > .ecosystem-footer a {
  color: #ffffff !important;
}

#app:has(> .auth-page) {
  background: linear-gradient(90deg, #000000 0%, #cf1d21 100%);
}

#app > .auth-page {
  min-height: calc(100vh - 24px);
  background: transparent !important;
}

#app:has(> .auth-page) {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

#app > .auth-page {
  height: calc(100dvh - 24px);
  min-height: 0;
  overflow: hidden;
}

#app:has(> .auth-page) > .ecosystem-footer {
  min-height: 24px;
  padding: 3px 12px 5px;
  background: transparent !important;
}

.auth-page--password-reset .password-reset-card {
  width: min(700px, calc(100vw - 40px));
  padding-inline: 38px;
}

.auth-page--password-reset .password-reset-card h1 {
  white-space: nowrap;
}

.auth-page--password-reset .password-reset-card--success p {
  max-width: none;
}

@media (max-width: 720px) {
  .auth-page--password-reset .password-reset-card {
    width: min(100%, calc(100vw - 24px));
    padding-inline: 24px;
  }

  .auth-page--password-reset .password-reset-card h1 {
    white-space: normal;
  }
}

.auth-page .brand-modal-trigger,
.auth-page .brand-modal-trigger:hover,
.auth-page .brand-modal-trigger:focus-visible {
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.auth-page .brand-modal-trigger img,
.auth-page .brand-modal-trigger:hover img {
  filter: none !important;
}

.auth-page--register {
  gap: 20px;
  padding-block: 10px;
}

.auth-page--register .auth-brand img {
  max-height: 74px;
}

.auth-page--register .auth-card {
  width: min(430px, 100%);
  gap: 9px;
  padding: 20px 28px;
}

.auth-page--register .auth-card h1 {
  white-space: nowrap;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}

.auth-page--register .auth-card input {
  min-height: 44px;
  padding-block: 9px;
}

.auth-page--register .password-policy {
  margin-block: -2px 0;
  font-size: 0.72rem;
}
/* Keep the public mobile header aligned with the intranet interaction model. */
.public-mobile-account-menu {
  position: fixed;
  z-index: 100;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  contain: paint;
  overflow: hidden;
  clip-path: inset(0 round 12px);
  outline: none;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  transition: none;
  animation: none;
  -webkit-tap-highlight-color: transparent;
}

.public-mobile-account-menu button {
  display: block;
  min-height: 36px;
  max-width: 100%;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 600 0.9rem/1 Poppins, sans-serif;
  white-space: nowrap;
}

.public-mobile-account-menu button:hover {
  background: var(--red);
}

.public-mobile-account-menu button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

@media (max-width: 1050px) {
  .topbar {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 220px;
    margin-right: auto;
  }

  .mobile-actions {
    position: relative;
    z-index: 64;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .mobile-actions .topbar-account {
    position: relative;
    z-index: 64;
    display: block;
    width: auto !important;
    max-width: 168px;
    min-width: 0;
    height: auto;
    flex: 0 1 auto !important;
    margin: 0;
    transform: none;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-actions .topbar-account-trigger {
    display: inline-flex;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: flex-end;
    gap: 7px !important;
    padding: 4px 5px 4px 9px !important;
    border-color: transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-actions .topbar-account-trigger:hover,
  .mobile-actions .topbar-account-trigger:active,
  .mobile-actions .topbar-account-trigger:focus,
  .mobile-actions .topbar-account-trigger:focus-visible,
  .mobile-actions .topbar-account.is-open .topbar-account-trigger {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-actions .topbar-account-avatar,
  .mobile-actions .topbar-account-avatar img {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-actions .topbar-account-trigger strong {
    display: block;
    max-width: 110px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-actions .topbar-account-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .mobile-menu {
    position: relative;
    z-index: 65;
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 220ms ease;
  }

  .mobile-menu span {
    display: block;
    width: 23px;
    height: 3px;
    border-radius: 999px;
    background: #111;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .mobile-menu.is-open span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.is-open span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-nav-backdrop {
    background: rgba(42, 42, 42, 0.52) !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .main-nav {
    width: min(340px, calc(100vw - 32px));
    gap: 11px;
    padding: 104px 22px 32px;
    border-radius: 26px 0 0 26px;
    background:
      radial-gradient(circle at 100% 0, #4b2525 0, transparent 35%),
      linear-gradient(155deg, #100000, #750808 62%, #cf1d1d);
    box-shadow: -22px 0 55px rgba(0, 0, 0, 0.34), inset 1px 0 0 rgba(255, 255, 255, 0.15);
    filter: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .main-nav.open {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-shell.menu-is-open,
  .site-shell.menu-is-open > main,
  .site-shell.menu-is-open > footer,
  .site-shell.menu-is-open .hero,
  .site-shell.menu-is-open .hero-background {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-shell.menu-is-open * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .main-nav a {
    min-height: 48px;
    gap: 12px;
    padding: 0 18px;
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  .topbar {
    display: flex;
    gap: 8px;
  }

  .brand {
    width: 100%;
    max-width: 158px;
    flex: 1 1 158px;
  }

  .mobile-actions {
    height: 46px;
  }

  .mobile-actions .topbar-account {
    width: auto !important;
    max-width: 132px;
    flex: 0 1 auto !important;
  }

  .mobile-actions .topbar-account-trigger {
    height: 46px;
    min-height: 46px;
  }

  .mobile-actions .topbar-account-trigger strong {
    max-width: 74px;
    font-size: 13px;
  }

  .mobile-actions .topbar-account-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .mobile-menu {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .main-nav {
    width: min(300px, calc(100vw - 24px));
    padding: 92px 14px 26px;
  }

  .main-nav a {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 15px;
  }
}

.site-switcher-modal .site-switcher-avatar {
  overflow: hidden;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: circle(50%);
}

.site-switcher-modal .site-switcher-avatar img {
  width: 100%;
  height: 100%;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: scale(1.04);
}

/* Public controls share the same measured hover motion as the rest of Resucito. */
:root {
  --ecosystem-hover-duration: 240ms;
  --ecosystem-hover-ease: cubic-bezier(.2, .75, .2, 1);
}

:is(button:not(:disabled), a[href]) {
  transition:
    background-color var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    color var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    border-color var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    box-shadow var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    transform var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    opacity var(--ecosystem-hover-duration) var(--ecosystem-hover-ease);
}

:is(button:not(:disabled), a[href]) :is(span, small, strong, i, svg) {
  transition:
    color var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    background-color var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    border-color var(--ecosystem-hover-duration) var(--ecosystem-hover-ease),
    stroke var(--ecosystem-hover-duration) var(--ecosystem-hover-ease);
}

:is(button:not(:disabled), a[href]) :is(img.button-icon, img[src*="/figma-assets/"], .main-nav img) {
  transition: filter var(--ecosystem-hover-duration) var(--ecosystem-hover-ease);
}

@media (prefers-reduced-motion: reduce) {
  :root { --ecosystem-hover-duration: 0.01ms; }
}
