@font-face {
  font-family: 'Georama';
  src: url('fonts/georama-bold.ttf') format('truetype');
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Swiss 721';
  src: url('fonts/swiss-721-bt.ttf') format('truetype');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --institutional-brown: #683916;
  --institutional-brown-deep: #4f2910;
  --portal-navy: #06104f;
  --portal-navy-deep: #030a35;
  --portal-blue: #1356b8;
  --portal-cyan: #10b8e4;
  --portal-cyan-soft: #8ae8fb;
  --portal-white: #f7fbff;
  --portal-muted: #b9c7df;
  --panel-border: rgb(255 255 255 / 15%);
  --panel-fill: rgb(7 20 91 / 72%);
  color-scheme: dark;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--portal-navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--portal-white);
  background: var(--portal-navy-deep);
  font-family: 'Swiss 721', Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.institutional-header {
  position: relative;
  z-index: 10;
  display: grid;
  height: 70px;
  place-items: center;
  padding: 8px 16px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 3%), transparent 32%, rgb(255 255 255 / 3%)),
    linear-gradient(110deg, var(--institutional-brown), var(--institutional-brown-deep));
  box-shadow: 0 1px 0 rgb(255 255 255 / 12%);
}

.institutional-header__inner {
  width: min(440px, 100%);
}

.institutional-header img {
  width: 100%;
  height: auto;
}

.construction {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 6vw, 96px);
  background:
    radial-gradient(circle at 78% 28%, rgb(16 184 228 / 18%), transparent 24rem),
    linear-gradient(132deg, var(--portal-navy-deep) 0%, var(--portal-navy) 54%, #0c237d 100%);
}

.construction::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: '';
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000 26%, #000 88%, transparent);
}

.world-map {
  position: absolute;
  z-index: -2;
  top: 50%;
  right: -12%;
  width: min(78vw, 1120px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.12;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.light-beam {
  position: absolute;
  z-index: -1;
  width: 42vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--portal-cyan), transparent);
  opacity: 0.34;
  transform: rotate(-32deg);
}

.light-beam--one {
  top: 24%;
  right: -8%;
}

.light-beam--two {
  right: 10%;
  bottom: 16%;
  width: 26vw;
  opacity: 0.18;
}

.construction-card {
  display: grid;
  width: min(1180px, 100%);
  min-height: 470px;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: var(--panel-fill);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 10%),
    0 24px 70px rgb(0 4 36 / 38%);
  backdrop-filter: blur(12px);
}

.construction-copy {
  display: flex;
  padding: clamp(40px, 6vw, 80px);
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--portal-cyan-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 740px;
  margin: 0;
  color: var(--portal-white);
  font-family: 'Georama', Arial, Helvetica, sans-serif;
  font-size: clamp(2.65rem, 5.6vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.intro {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--portal-muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.status {
  display: flex;
  margin-top: 36px;
  align-items: center;
  gap: 16px;
}

.status__signal {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
}

.status__wave,
.status__core {
  position: absolute;
  border-radius: 50%;
}

.status__wave {
  width: 36px;
  height: 36px;
  border: 1px solid var(--portal-cyan);
  animation: signal-pulse 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.status__core {
  width: 10px;
  height: 10px;
  background: var(--portal-cyan);
  box-shadow: 0 0 0 6px rgb(16 184 228 / 15%);
}

.status strong,
.status small {
  display: block;
}

.status strong {
  margin-bottom: 5px;
  font-family: 'Georama', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.status small {
  color: var(--portal-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.brand-stage {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid rgb(255 255 255 / 9%);
  background: linear-gradient(145deg, rgb(16 184 228 / 8%), rgb(255 255 255 / 2%));
}

.brand-stage__glow {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgb(16 184 228 / 14%);
  filter: blur(44px);
}

.brand-stage__orbit {
  position: absolute;
  border: 1px solid rgb(138 232 251 / 20%);
  border-radius: 50%;
}

.brand-stage__orbit--outer {
  width: 390px;
  height: 390px;
}

.brand-stage__orbit--inner {
  width: 285px;
  height: 285px;
  border-style: dashed;
  animation: orbit-spin 28s linear infinite;
}

.brand-stage__logo {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgb(0 8 58 / 36%));
  animation: logo-float 5s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate;
}

.brand-stage__caption {
  position: absolute;
  right: 32px;
  bottom: 28px;
  left: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--portal-cyan-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-stage__caption span {
  display: flex;
  align-items: center;
}

.brand-stage__caption span + span::before {
  width: 28px;
  height: 1px;
  margin: 0 14px;
  content: '';
  background: rgb(138 232 251 / 32%);
}

.site-footer {
  display: flex;
  min-height: 56px;
  padding: 14px clamp(20px, 5vw, 72px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ccd5e8;
  background: #02082e;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.site-footer p {
  margin: 0;
}

@keyframes signal-pulse {
  0% {
    transform: scale(0.65);
    opacity: 0;
  }
  35% {
    opacity: 0.85;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logo-float {
  from {
    transform: translateY(-7px);
  }
  to {
    transform: translateY(7px);
  }
}

@media (max-width: 880px) {
  .construction {
    min-height: 760px;
    padding: 40px 24px;
  }

  .construction-card {
    grid-template-columns: 1fr;
  }

  .construction-copy {
    padding: 48px;
  }

  .brand-stage {
    min-height: 300px;
    border-top: 1px solid rgb(255 255 255 / 9%);
    border-left: 0;
  }

  .brand-stage__logo {
    width: 140px;
    height: 180px;
  }

  .brand-stage__orbit--outer {
    width: 270px;
    height: 270px;
  }

  .brand-stage__orbit--inner {
    width: 205px;
    height: 205px;
  }
}

@media (min-width: 881px) and (max-height: 700px) {
  .institutional-header {
    height: 56px;
    padding-block: 6px;
  }

  .institutional-header__inner {
    width: min(360px, 100%);
  }

  .construction {
    min-height: 0;
    padding: 16px 22px;
  }

  .construction-card {
    height: 100%;
    min-height: 0;
  }

  .construction-copy {
    padding: 28px clamp(36px, 5vw, 60px);
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(3rem, 5.3vw, 4rem);
  }

  .intro {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.4;
  }

  .status {
    margin-top: 20px;
    gap: 12px;
  }

  .status__signal {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-stage {
    min-height: 0;
  }

  .brand-stage__logo {
    width: 155px;
    height: 185px;
  }

  .brand-stage__orbit--outer {
    width: 300px;
    height: 300px;
  }

  .brand-stage__orbit--inner {
    width: 220px;
    height: 220px;
  }

  .brand-stage__caption {
    bottom: 18px;
  }

  .site-footer {
    min-height: 42px;
    padding-block: 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 560px) {
  .institutional-header {
    height: 70px;
    padding: 8px 14px;
  }

  .construction {
    min-height: 0;
    padding: 24px 16px;
  }

  .construction-card {
    min-height: 0;
    border-radius: 16px;
  }

  .construction-copy {
    padding: 38px 26px 34px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 0.98;
  }

  .intro {
    margin-top: 22px;
    font-size: 1rem;
  }

  .status {
    margin-top: 28px;
    align-items: flex-start;
    gap: 10px;
  }

  .status__signal {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-stage {
    min-height: 250px;
  }

  .brand-stage__logo {
    width: 112px;
    height: 150px;
  }

  .brand-stage__orbit--outer {
    width: 220px;
    height: 220px;
  }

  .brand-stage__orbit--inner {
    width: 168px;
    height: 168px;
  }

  .brand-stage__caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    font-size: 0.62rem;
  }

  .brand-stage__caption span + span::before {
    width: 14px;
    margin: 0 8px;
  }

  .site-footer {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .construction-card {
    background: #08165d;
    backdrop-filter: none;
  }
}
