:root {
  --bg: #070b12;
  --bg-2: #0d1220;
  --panel: rgba(18, 24, 39, 0.74);
  --line: rgba(255,255,255,0.11);
  --text: #f4f8ff;
  --muted: rgba(244,248,255,0.74);
  --blue: #39b5ff;
  --cyan: #76f1ff;
  --violet: #8d7dff;
  --shadow: 0 24px 90px rgba(0,0,0,0.42);
  --radius: 28px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(57,181,255,0.16), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(141,125,255,0.13), transparent 28%),
    linear-gradient(180deg, #050811 0%, #0a1020 45%, #07101c 100%);
  line-height: 1.6;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.8) 0.45px, transparent 0.45px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 18, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-stack {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.logo { object-fit: contain; }
.gome-logo { height: 48px; }
.bluejays-logo { height: 44px; }
.brand-plus {
  font-weight: 800;
  color: rgba(255,255,255,0.52);
  font-size: 1.2rem;
}
.topbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.meta-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(118,241,255,0.09);
  border: 1px solid rgba(118,241,255,0.18);
  color: var(--cyan);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}
.lang-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-width: 44px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  color: rgba(244,248,255,0.72);
  font-weight: 800;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.lang-btn:hover {
  transform: translateY(-1px);
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #06111d;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.04);
}
.hero-overlay {
  background:
    linear-gradient(100deg, rgba(6,10,18,0.95) 4%, rgba(6,10,18,0.82) 38%, rgba(6,10,18,0.34) 100%),
    linear-gradient(180deg, rgba(6,10,18,0.18), rgba(6,10,18,0.82));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: center;
  padding: 86px 0 56px;
}
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.02;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 10ch; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); max-width: 13ch; }
h3 { font-size: 1.18rem; }
p {
  margin: 0 0 16px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.lead { font-size: 1.08rem; max-width: 60ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #06111d;
}
.btn-secondary { background: rgba(255,255,255,0.08); }
.btn-ghost { background: rgba(255,255,255,0.05); }

.metric-row,
.community-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.metric-card,
.metric-box {
  padding: 18px;
  border-radius: 22px;
  background: rgba(12,17,28,0.60);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
}
.metric-card strong,
.metric-box strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.metric-card span,
.metric-box span { color: var(--muted); font-size: 0.94rem; }

.hero-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}
.collage-main,
.collage-side,
.collage-bottom {
  overflow: hidden;
  min-height: 240px;
}
.collage-main {
  grid-row: span 2;
  min-height: 560px;
}
.card {
  background: linear-gradient(180deg, rgba(20,26,42,0.74), rgba(12,18,30,0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass { backdrop-filter: blur(18px); }
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.gallery-section {
  padding-top: 42px;
}
.gallery-head {
  margin-bottom: 26px;
}
.gallery-band {
  margin-top: 24px;
}
.gallery-band-alt {
  margin-top: 18px;
}
.gallery-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 14px 0;
}
.gallery-viewport::before,
.gallery-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 2;
  pointer-events: none;
}
.gallery-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7,11,18,0.96), rgba(7,11,18,0));
}
.gallery-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7,11,18,0.96), rgba(7,11,18,0));
}
.gallery-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  will-change: transform;
}
.gallery-track-a {
  animation: galleryMarquee 58s linear infinite;
}
.gallery-track-b {
  animation: galleryMarqueeReverse 74s linear infinite;
}
.gallery-band:hover .gallery-track {
  animation-play-state: paused;
}
.gallery-card {
  flex: 0 0 340px;
  height: 240px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20,26,42,0.82), rgba(12,18,30,0.94));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow);
}
.gallery-card.portrait {
  flex-basis: 220px;
  height: 320px;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-strip .mini-athlete {
  min-height: 280px;
}
.photo-strip .mini-athlete img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes galleryMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}
@keyframes galleryMarqueeReverse {
  from { transform: translateX(calc(-50% - 9px)); }
  to { transform: translateX(0); }
}

.section { padding: 104px 0; position: relative; }
.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.panel-grid,
.target-grid,
.integration-grid,
.models-grid {
  display: grid;
  gap: 18px;
}
.panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.target-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.integration-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.models-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.panel,
.target-card,
.integration-card,
.model-card,
.closing-card {
  padding: 24px;
  min-height: 220px;
}
.panel {
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -35px;
  bottom: -35px;
  border-radius: 50%;
  opacity: 0.22;
}
.accent-blue::after { background: radial-gradient(circle, var(--blue), transparent 70%); }
.accent-cyan::after { background: radial-gradient(circle, var(--cyan), transparent 70%); }
.accent-violet::after { background: radial-gradient(circle, var(--violet), transparent 70%); }
.panel-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(255,255,255,0.42);
}

.showroom-grid,
.addon-grid,
.community-grid,
.floorplan-grid,
.closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.showroom-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.showroom-visuals .tall { grid-column: span 2; min-height: 340px; }
.showroom-visuals .card { overflow: hidden; min-height: 220px; }
.bullet-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.bullet-list li { margin-bottom: 10px; }

.addon-visual {
  display: grid;
  gap: 16px;
}
.giant {
  min-height: 480px;
  overflow: hidden;
}
.athlete-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mini-athlete {
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0;
  background: linear-gradient(180deg, rgba(12,18,30,0.72), rgba(10,16,28,0.96));
}
.mini-athlete img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.addon-tags,
.blueprint-points,
.closing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.addon-tags span,
.blueprint-points span,
.closing-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  font-size: 0.92rem;
}

.community-visual .card,
.floorplan-visual .card,
.closing-card { overflow: hidden; }
.blueprint {
  min-height: 520px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(15,23,39,0.88), rgba(8,12,22,0.94));
}
.blueprint img { object-fit: contain; }
.closing-grid { align-items: stretch; }
.contact-link {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 700;
}
.contact-person {
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-person strong {
  display: block;
  margin-top: 8px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.08rem;
}
.contact-person-secondary {
  margin-top: 14px;
}
.contact-role,
.contact-note {
  display: inline-flex;
  color: rgba(244,248,255,0.72);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}
.contact-note {
  margin-top: 10px;
}

.footer {
  padding: 34px 0 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
}
.footer a { text-decoration: underline; text-decoration-color: rgba(118,241,255,0.36); }
.footer p { margin-top: 8px; font-size: 0.95rem; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 760ms ease, transform 760ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .showroom-grid,
  .addon-grid,
  .community-grid,
  .floorplan-grid,
  .closing-grid,
  .panel-grid,
  .target-grid,
  .integration-grid,
  .models-grid { grid-template-columns: 1fr 1fr; }
  .metric-row,
  .community-metrics { grid-template-columns: 1fr; }
  .gallery-card { flex-basis: 300px; height: 220px; }
  .gallery-card.portrait { flex-basis: 208px; height: 300px; }
}

@media (max-width: 860px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .topbar-inner {
    min-height: auto;
    padding: 10px 0 12px;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .brand-stack {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .topbar-meta {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
  .gome-logo { height: 36px; }
  .bluejays-logo { height: 34px; }
  .meta-badge { display: none; }
  .topbar-meta .btn-ghost { display: none; }
  .lang-switch { padding: 4px; margin-left: auto; }
  .lang-btn { min-width: 40px; height: 34px; }
  .hero { min-height: auto; }
  .hero-grid,
  .showroom-grid,
  .addon-grid,
  .community-grid,
  .floorplan-grid,
  .closing-grid,
  .panel-grid,
  .target-grid,
  .integration-grid,
  .models-grid,
  .showroom-visuals,
  .athlete-strip,
  .hero-collage { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  h1 { max-width: 100%; }
  h2 { max-width: 100%; }
  .collage-main,
  .collage-side,
  .collage-bottom,
  .showroom-visuals .tall,
  .showroom-visuals .card,
  .giant,
  .blueprint,
  .mini-athlete { min-height: 260px; }
  .gallery-section { padding-top: 28px; }
  .gallery-viewport { padding: 8px 0; }
  .gallery-viewport::before,
  .gallery-viewport::after { width: 32px; }
  .gallery-card { flex-basis: 240px; height: 184px; }
  .gallery-card.portrait { flex-basis: 176px; height: 248px; }
  .panel,
  .target-card,
  .integration-card,
  .model-card,
  .closing-card { min-height: auto; }
}


@media (prefers-reduced-motion: reduce) {
  .gallery-track-a,
  .gallery-track-b { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}


.gallery-tip {
  margin-top: 10px;
  font-size: 0.95rem;
  color: rgba(244,248,255,0.66);
}
.gallery-card {
  position: relative;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,11,18,0) 35%, rgba(7,11,18,0.16) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(118,241,255,0.28);
  box-shadow: 0 28px 80px rgba(0,0,0,0.48);
}
.gallery-card:hover::after,
.gallery-card:focus-visible::after {
  opacity: 1;
}
.gallery-card:focus-visible {
  outline: 2px solid rgba(118,241,255,0.6);
  outline-offset: 3px;
}
.lightbox-open {
  overflow: hidden;
}
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,6,12,0.84);
  backdrop-filter: blur(12px);
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}
.lightbox-figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(7,11,18,0.94);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 120px rgba(0,0,0,0.56);
}
.lightbox-figure img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #04070d;
}
.lightbox-caption-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 18px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(14,20,34,0.96), rgba(8,12,22,0.98));
}
.lightbox-caption {
  color: rgba(244,248,255,0.82);
}
.lightbox-counter {
  color: rgba(244,248,255,0.55);
  white-space: nowrap;
}
.lightbox-close,
.lightbox-nav {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,16,28,0.72);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(118,241,255,0.34);
}
.lightbox-close {
  position: absolute;
  top: -58px;
  right: 0;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  z-index: 2;
}
.lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}
@media (max-width: 860px) {
  .lightbox-modal {
    padding: 12px;
  }
  .lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lightbox-close {
    top: -52px;
    right: 0;
  }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    z-index: 2;
  }
  .lightbox-nav:hover {
    transform: translateY(-50%);
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-caption-wrap {
    flex-direction: column;
  }
}


.gallery-mobile-hint {
  display: none;
}

@media (max-width: 860px) {
  .gallery-band {
    margin-top: 20px;
  }
  .gallery-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 8px 10px 14px;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    cursor: grab;
  }
  .gallery-viewport:active {
    cursor: grabbing;
  }
  .gallery-viewport::-webkit-scrollbar {
    display: none;
  }
  .gallery-viewport::before,
  .gallery-viewport::after {
    width: 18px;
  }
  .gallery-track {
    gap: 14px;
    width: max-content;
    padding-right: 18px;
  }
  .gallery-track-a,
  .gallery-track-b {
    animation: none;
  }
  .gallery-card {
    flex: 0 0 82vw;
    max-width: 82vw;
    height: 220px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .gallery-card.portrait {
    flex-basis: 58vw;
    max-width: 58vw;
    height: 300px;
  }
  .gallery-tip {
    max-width: 34ch;
  }
  .lightbox-dialog {
    width: 100%;
  }
  .lightbox-figure img {
    max-height: 72vh;
  }
  .lightbox-close,
  .lightbox-nav {
    background: rgba(7,11,18,0.82);
    backdrop-filter: blur(10px);
  }
}


.mobile-fullscreen-gallery {
  display: none;
}
.mobile-gallery-header {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.mobile-gallery-copy {
  margin: 10px 0 0;
  max-width: 42ch;
}
.mobile-gallery-meta {
  display: grid;
  gap: 10px;
}
.mobile-gallery-counter {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(244,248,255,0.88);
}
.mobile-gallery-progress {
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.10);
}
.mobile-gallery-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0.08);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: inherit;
}
.mobile-gallery-shell {
  position: relative;
}
.mobile-gallery-nav {
  display: none;
}
.mobile-gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 8px;
}
.mobile-gallery-caption strong {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 6px 26px rgba(0,0,0,0.48);
}
.mobile-gallery-badge {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(7,11,18,0.56);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(244,248,255,0.88);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

@media (max-width: 860px) {
  .mobile-fullscreen-gallery {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 20px;
    padding: 0 0 8px;
  }
  .gallery-band {
    display: none;
  }
  .gallery-tip {
    max-width: 34ch;
  }
  .mobile-gallery-header {
    padding: 0 16px;
  }
  .mobile-gallery-shell {
    width: 100%;
  }
  .mobile-gallery-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
  }
  .mobile-gallery-viewport::-webkit-scrollbar {
    display: none;
  }
  .mobile-gallery-track {
    display: flex;
    gap: 0;
    width: max-content;
  }
  .mobile-gallery-slide {
    position: relative;
    flex: 0 0 100vw;
    width: 100vw;
    height: min(78svh, 720px);
    max-width: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-shadow: none;
  }
  .mobile-gallery-slide::after {
    opacity: 1;
    background: linear-gradient(180deg, rgba(7,11,18,0.06) 28%, rgba(7,11,18,0.72) 100%);
  }
  .mobile-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mobile-gallery-nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(7,11,18,0.58);
    color: #fff;
    backdrop-filter: blur(12px);
    font-size: 1.8rem;
    line-height: 1;
  }
  .mobile-gallery-nav:disabled {
    opacity: 0.34;
  }
  .mobile-gallery-prev {
    left: 12px;
  }
  .mobile-gallery-next {
    right: 12px;
  }
  .gallery-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 8px 10px 14px;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    cursor: grab;
  }
  .gallery-track-a,
  .gallery-track-b {
    animation: none;
  }
}


.mobile-gallery-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mobile-gallery-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  transition: transform 180ms ease, background 180ms ease, width 180ms ease, opacity 180ms ease;
  opacity: 0.9;
}
.mobile-gallery-dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.mobile-gallery-onboarding {
  display: none;
}
.mobile-gallery-onboarding.is-mobile {
  display: none;
}
.mobile-gallery-onboarding.is-hidden {
  opacity: 0;
  transform: translate(-50%, -8px) scale(0.98);
  pointer-events: none;
}
.mobile-gallery-caption {
  left: 14px;
  right: 14px;
  bottom: 14px;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8,12,22,0.16), rgba(8,12,22,0.72));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
}
.mobile-gallery-caption strong {
  font-size: 1.08rem;
  line-height: 1.15;
}
.mobile-gallery-hint {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: rgba(244,248,255,0.76);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.mobile-gallery-hint::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: radial-gradient(circle at 50% 50%, rgba(118,241,255,0.82) 0 18%, transparent 24%);
}

@media (max-width: 860px) {
  .mobile-gallery-header {
    gap: 16px;
  }
  .mobile-gallery-meta {
    gap: 12px;
  }
  .mobile-gallery-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
  }
  .mobile-gallery-dots {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .mobile-gallery-dots::-webkit-scrollbar {
    display: none;
  }
  .mobile-gallery-shell {
    isolation: isolate;
  }
  .mobile-gallery-onboarding {
    position: absolute;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    z-index: 3;
    width: min(calc(100% - 32px), 360px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(8,12,22,0.78), rgba(8,12,22,0.54));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 22px 50px rgba(0,0,0,0.34);
    backdrop-filter: blur(14px);
    transition: opacity 240ms ease, transform 240ms ease;
  }
  .mobile-gallery-onboarding.is-mobile {
    display: grid;
  }
  .mobile-gallery-onboarding-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #06111d;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .mobile-gallery-onboarding-copy {
    display: grid;
    gap: 4px;
    color: rgba(244,248,255,0.88);
  }
  .mobile-gallery-onboarding-copy strong {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.94rem;
    line-height: 1.1;
  }
  .mobile-gallery-onboarding-copy span {
    font-size: 0.8rem;
    color: rgba(244,248,255,0.72);
    line-height: 1.35;
  }
  .mobile-gallery-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .mobile-gallery-badge {
    background: rgba(7,11,18,0.48);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  }
}


/* Partner-page cleanup: remove UX explainer copy from visible mobile gallery UI */
.gallery-tip,
.mobile-gallery-copy,
.mobile-gallery-onboarding,
.mobile-gallery-hint {
  display: none !important;
}

.mobile-gallery-header {
  margin-bottom: 14px;
}

.mobile-gallery-meta {
  justify-items: start;
}

@media (max-width: 860px) {
  .mobile-gallery-header {
    padding: 0 16px 4px;
  }
  .mobile-gallery-meta {
    gap: 10px;
  }
}


@media (max-width: 520px) {
  .topbar-inner {
    padding: 8px 0 10px;
    row-gap: 8px;
  }
  .brand-stack {
    gap: 8px;
  }
  .gome-logo { height: 31px; }
  .bluejays-logo { height: 29px; }
  .brand-plus {
    font-size: 1rem;
  }
  .lang-switch {
    transform: scale(0.96);
    transform-origin: right center;
  }
}
