:root {
  --blue-light: #0490EB;
  --blue-mid: #0a6ec4;
  --blue-dark: #004B79;
  --blue-deep: #003459;
  --red: #e63226;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.92);
  --white-mute: rgba(255, 255, 255, 0.7);
  --white-faint: rgba(255, 255, 255, 0.45);
  --rule: rgba(255, 255, 255, 0.18);
  --bar-bg: rgba(0, 35, 70, 0.55);

  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --pad-x-desktop: clamp(28px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; padding: 0; }
img { display: block; }

/* === Layer 0 — full-screen video === */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  background: var(--blue-dark);
}

/* === Layer 1 — DEEP BLUE glass plate (#004B79) — bottom plate, gives depth and richness === */
.bg-tint--deep {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 130% 110% at 50% 100%, rgba(0, 75, 121, 0.85) 0%, rgba(0, 75, 121, 0.45) 70%, rgba(0, 75, 121, 0.30) 100%);
  mix-blend-mode: multiply;
}

/* === Layer 2 — LIGHTER BLUE glass plate (#0490EB) — top plate, brand glow center === */
.bg-tint--light {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(4, 144, 235, 0.65) 0%, rgba(4, 144, 235, 0.30) 50%, transparent 80%);
  mix-blend-mode: overlay;
}

/* === Lang switch === */
.lang-switch {
  position: fixed;
  top: 22px;
  right: clamp(16px, 4vw, 56px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.lang-btn { color: var(--white-faint); transition: color 0.2s ease; padding: 0 4px; }
.lang-btn:hover { color: var(--white-mute); }
.lang-btn.is-active { color: var(--white); }
.lang-sep { color: var(--white-faint); font-size: 10px; }

/* === Poster: takes full vertical space above footer === */
.poster {
  position: relative;
  z-index: 3;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 6vh, 64px) var(--pad-x-desktop) clamp(20px, 3vh, 32px);
  gap: clamp(16px, 2.4vh, 28px);
  align-items: center;
}

/* === Headline === */
.headline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(18px, 2.8vw, 38px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.20);
  white-space: nowrap;
  width: 100%;
  overflow-wrap: normal;
}

.headline strong {
  font-weight: 800;
  letter-spacing: 0.42em;
}
.headline .and, .headline .in {
  font-weight: 400;
  letter-spacing: 0.42em;
}

/* === Date pill — dark frosted glass, video visible through === */
.date-pill {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  background: rgba(0, 25, 55, 0.32);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 400;
  color: var(--white-soft);
  white-space: nowrap;
  letter-spacing: 0.005em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 14px 44px rgba(0, 0, 0, 0.28);
}

.date-pill strong { font-weight: 700; color: var(--white); letter-spacing: 0.02em; }

/* === Stage: contains coming soon (back) + logos (front) === */
.stage {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* === Coming soon (red brush, behind logos, overlapping date-pill area) === */
.coming {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%) rotate(-2deg);
  width: clamp(380px, 80vw, 1080px);
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 8px 30px rgba(230, 50, 38, 0.30));
  user-select: none;
  pointer-events: none;
}

/* === Logos (front, 3 columns) === */
.logos {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
  align-items: start;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.logo-mark {
  height: clamp(96px, 13vw, 180px);
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.22));
}

/* MG image includes "Since 1924" below the octagon → needs more height to match other logos visually */
.logo-mark--mg { height: clamp(124px, 16.5vw, 230px); }
.logo-mark--asman { height: clamp(106px, 14vw, 200px); }

.logo-tag {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.45;
  max-width: 28ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.logo-tag--asman { max-width: 32ch; }

/* === Footer bar (fixed bottom panel) === */
.bar {
  position: relative;
  z-index: 5;
  background: var(--bar-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
}

.bar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad-x-desktop);
  font-size: 12px;
  font-weight: 400;
  color: var(--white-mute);
  min-height: 56px;
}

.bar-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-self: start;
}

.bar-label { color: var(--white-mute); }

.bar-value {
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.bar-center {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-self: center;
}

.bar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.bar-link:hover { color: var(--white); }

.bar-link svg { flex-shrink: 0; opacity: 0.85; }

.bar-sep { color: var(--white-faint); font-weight: 300; }

.bar-right { justify-self: end; color: var(--white-mute); }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Laptop (1024 → 1279) */
@media (max-width: 1279px) {
  .poster { padding: clamp(36px, 6vh, 56px) clamp(24px, 4vw, 48px) 24px; gap: 20px; }
  .headline { font-size: clamp(16px, 2.6vw, 28px); letter-spacing: 0.34em; }
  .headline strong, .headline .and, .headline .in { letter-spacing: 0.34em; }
  .date-pill { padding: 13px 26px; font-size: clamp(15px, 1.4vw, 18px); }
  .coming { width: clamp(360px, 78vw, 920px); transform: translate(-50%, -55%) rotate(-2deg); }
  .logo-mark { height: clamp(86px, 12vw, 150px); }
  .logo-mark--mg { height: clamp(112px, 15.5vw, 195px); }
  .logo-mark--asman { height: clamp(96px, 13vw, 170px); }
  .logo-tag { font-size: 13px; }
}

/* Tablet portrait (768 → 1023) */
@media (max-width: 1023px) {
  .poster { padding: 60px 24px 22px; gap: 18px; }
  .headline { font-size: 18px; letter-spacing: 0.28em; }
  .headline strong, .headline .and, .headline .in { letter-spacing: 0.28em; }
  .date-pill { padding: 12px 22px; font-size: 16px; }
  .coming { width: 86vw; transform: translate(-50%, -50%) rotate(-2deg); }
  .logos { gap: 24px; }
  .logo-mark { height: 100px; }
  .logo-mark--mg { height: 130px; }
  .logo-mark--asman { height: 112px; }
  .logo-tag { font-size: 13px; max-width: 26ch; }

  .bar-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
    padding: 12px 24px;
    min-height: auto;
  }
  .bar-left, .bar-center, .bar-right {
    justify-self: center;
  }
  .bar-center { gap: 12px; flex-wrap: wrap; }
}

/* Mobile (480 → 767) */
@media (max-width: 767px) {
  .lang-switch { top: 14px; right: 14px; padding: 6px 10px; font-size: 10px; }
  .lang-btn { padding: 0 3px; }

  .poster {
    padding: 56px 18px 18px;
    gap: 16px;
  }

  .headline {
    font-size: 13px;
    letter-spacing: 0.20em;
    white-space: normal;
    line-height: 1.4;
  }
  .headline strong, .headline .and, .headline .in { letter-spacing: 0.22em; }

  .date-pill {
    padding: 10px 18px;
    font-size: 14px;
    letter-spacing: 0.005em;
    gap: 6px;
  }

  .stage {
    flex: 1;
    min-height: 320px;
  }

  .coming {
    top: 0;
    width: 96vw;
    transform: translate(-50%, -30%) rotate(-2deg);
  }

  .logos {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 6px 0;
  }

  .logo-block { gap: 12px; }
  .logo-mark { height: 78px; }
  .logo-mark--mg { height: 102px; }
  .logo-mark--asman { height: 88px; }
  .logo-tag { font-size: 13px; max-width: 26ch; }
  .logo-tag--asman { max-width: 30ch; }

  .bar-inner {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 18px 14px;
    font-size: 11px;
  }
  .bar-left, .bar-right { justify-self: center; }
  .bar-center { gap: 10px; font-size: 11px; flex-wrap: wrap; justify-content: center; }
  .bar-link { font-size: 11px; }
}

/* Small phones (≤ 479) */
@media (max-width: 479px) {
  .poster { padding: 52px 14px 16px; gap: 14px; }
  .headline { font-size: 12px; letter-spacing: 0.16em; }
  .headline strong, .headline .and, .headline .in { letter-spacing: 0.18em; }
  .date-pill { padding: 9px 16px; font-size: 13px; }
  .coming { width: 102vw; transform: translate(-50%, -25%) rotate(-2deg); }
  .logo-mark { height: 70px; }
  .logo-mark--mg { height: 92px; }
  .logo-mark--asman { height: 78px; }
  .logo-tag { font-size: 12.5px; }
  .bar-inner { padding: 10px 14px 12px; font-size: 10.5px; }
  .bar-center { gap: 8px; }
}

/* Very small phones (≤ 359) */
@media (max-width: 359px) {
  .headline { font-size: 11px; }
  .coming { width: 108vw; }
  .logo-mark { height: 64px; }
  .logo-mark--mg { height: 84px; }
  .logo-mark--asman { height: 72px; }
}
