:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --night: #0a151d;
  --night-soft: #0e1c26;
  --white: #eef5f7;
  --muted: #b1c0c8;
  --sky: #8acdec;
  --brand-white: #faf8f2;
  --brand-sky: #38bdf8;
  --line: rgba(184, 215, 230, .17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--night);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--night);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 72px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.045em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-accent,
.footer-brand span {
  color: var(--brand-sky);
}

.brand, .footer-brand { color: var(--brand-white); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: #cfdae0;
  font-size: 13px;
  transition: color .18s ease;
}

nav a:hover,
.scroll-link:hover {
  color: var(--sky);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(36px, 7vw, 104px);
  width: min(1360px, calc(100% - 72px));
  min-height: min(790px, max(610px, calc(100svh - 78px)));
  margin: 0 auto;
  padding: 62px 0 70px;
}

.hero-shell {
  max-width: 570px;
}

.eyebrow {
  margin: 0;
  color: var(--sky);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.hero h1,
.project-copy h2 {
  margin: 21px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(54px, 6.3vw, 84px);
}

.hero h1 em,
.project-copy h2 em {
  color: var(--sky);
  font-style: italic;
}

.hero-intro {
  max-width: 42ch;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.server-facts {
  display: flex;
  flex-wrap: wrap;
  margin: 29px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
}

.server-fact {
  margin: 0;
  padding-right: 23px;
}

.server-fact + .server-fact {
  padding-left: 23px;
  border-left: 1px solid var(--line);
}

.server-fact dt {
  margin: 0 0 8px;
  color: #9aadb7;
  font-size: 12px;
  line-height: 1.4;
}

.server-fact dd {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #e0e9ed;
  font-size: 14px;
  line-height: 1.4;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #82939c;
}

.status-dot[data-state="online"] {
  background: var(--sky);
  box-shadow: 0 0 9px rgba(138, 205, 236, .35);
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(138, 205, 236, .55);
  font-size: 13px;
  transition: color .18s ease, border-color .18s ease;
}

.scroll-link:hover {
  border-color: var(--sky);
}

.scroll-link span {
  color: var(--sky);
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}

.scroll-link:hover span {
  transform: translateY(2px);
}

.hero-art,
.project-image {
  margin: 0;
  overflow: hidden;
  background: var(--night-soft);
}

.hero-art {
  width: 100%;
  border: 1px solid var(--line);
}

.hero-art img {
  aspect-ratio: 1.19;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.project-section {
  border-top: 1px solid var(--line);
  background: var(--night-soft);
}

.project-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(45px, 8vw, 112px);
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 104px 0 112px;
}

.project-copy {
  max-width: 520px;
}

.project-copy h2 {
  margin-top: 17px;
  font-size: clamp(40px, 5vw, 63px);
}

.project-copy > p:not(.eyebrow) {
  max-width: 53ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.project-copy > p + p:not(.eyebrow) {
  margin-top: 13px;
  color: #d6e0e4;
}

.project-image img {
  aspect-ratio: 1.26;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 72px));
  min-height: 76px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.site-footer p {
  margin: 0;
  color: #9aadb7;
  font-size: 12px;
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-shell,
  .site-footer {
    width: calc(100% - 40px);
  }

  .header-shell {
    min-height: 72px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    width: calc(100% - 40px);
    min-height: auto;
    padding: 70px 0 76px;
  }

  .hero-shell {
    grid-column: 1;
    grid-row: 1;
    max-width: 640px;
  }

  .hero-art {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-art img {
    aspect-ratio: 1.55;
    object-position: center 55%;
  }

  .project-shell {
    grid-template-columns: 1fr;
    gap: 34px;
    width: calc(100% - 40px);
    padding: 78px 0 84px;
  }

  .project-copy {
    max-width: 640px;
  }

  .project-copy h2 {
    max-width: 16ch;
  }

  .project-image img {
    aspect-ratio: 1.55;
    object-position: center;
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 68px;
  }

  .header-shell,
  .site-footer,
  .hero,
  .project-shell {
    width: calc(100% - 36px);
  }

  .header-shell {
    min-height: 68px;
  }

  .brand {
    gap: 7px;
    font-size: 18px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .main-nav {
    gap: 15px;
  }

  nav a {
    font-size: 11px;
  }

  .hero {
    gap: 29px;
    padding: 61px 0 67px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero h1 {
    max-width: 12ch;
    margin-top: 17px;
    font-size: clamp(47px, 12vw, 58px);
  }

  .hero-intro {
    margin-top: 18px;
    font-size: 14px;
  }

  .server-facts {
    margin-top: 23px;
    padding-top: 14px;
  }

  .server-fact {
    padding-right: 16px;
  }

  .server-fact + .server-fact {
    padding-left: 16px;
  }

  .hero-art img {
    aspect-ratio: 1.2;
  }

  .project-shell {
    gap: 29px;
    padding: 67px 0 72px;
  }

  .project-copy h2 {
    margin-top: 14px;
    font-size: clamp(39px, 10vw, 52px);
  }

  .project-copy > p:not(.eyebrow) {
    margin-top: 17px;
    font-size: 14px;
  }

  .project-image img {
    aspect-ratio: 1.18;
  }

  .site-footer {
    min-height: 68px;
  }

  .site-footer p {
    max-width: 170px;
    font-size: 10px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
