:root {
  --navy: #122748;      /* sampled from the official logo */
  --navy-deep: #0d1d37;
  --blue: #28b6ee;      /* sampled from the official logo */
  --white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.16);
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --frame: 1120px;                          /* shared content width */
  --gutter: max(20px, calc((100vw - var(--frame)) / 2));
  --side: 200px;                            /* right column shared by nav and contact */
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* Soft depth plus a faint band at the logo's own slant */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(-44deg, transparent 62%, rgba(255, 255, 255, 0.012) 62%, rgba(255, 255, 255, 0.012) 70%, transparent 70%),
    radial-gradient(ellipse 60% 55% at 20% 50%, #16305a 0%, transparent 70%),
    var(--navy);
}
body { background: transparent; }

a { color: inherit; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px var(--gutter);
}


.nav {
  width: var(--side);
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav a:hover, .nav a:focus-visible { color: var(--blue); border-bottom-color: var(--blue); outline: none; }

/* ---------- splash ---------- */
.splash {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr var(--side);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 0 var(--gutter) 6vh;
  animation: rise 0.9s ease-out both;
}

.splash .logo {
  width: clamp(96px, 10vw, 146px);
  height: auto;
  display: block;
}

/* hairline tying the logo to the contact block */
.splash .rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(40, 182, 238, 0.5));
}

.contact {
  font-size: 15px;
  line-height: 1.8;
}
.contact h2 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact a { text-decoration: none; transition: color 0.2s; }
.contact a:hover { color: var(--blue); }
.contact address { font-style: normal; color: var(--text-dim); }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .splash { animation: none; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-deep);
  padding: 14px var(--gutter);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  /* exactly one screen tall; dvh tracks Chrome's collapsing address bar */
  body { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
  .site-header { padding: 20px 16px; justify-content: center; }
  .nav { width: auto; font-size: 12px; letter-spacing: 0.1em; }
  /* header, logo, rule, contact and footer separated by equal gaps */
  .splash {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 0;
    padding: 0 16px;
    text-align: center;
  }
  .splash .logo { width: min(96px, 14dvh); }
  .splash .rule { width: 48px; flex: none; }
}
