:root {
  color-scheme: light;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #000032;
  background: #f4f6f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --navy: #000032;
  --blue: #3399ff;
  --green: #31d57c;
  --muted: #687386;
  --line: #dfe5eb;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-line {
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  display: block;
  width: 146px;
  height: auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}

.header-link span,
.contact-value span {
  color: #1684e8;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 28px 54px;
}

.maintenance {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.message {
  align-self: center;
  padding: 64px 24px 64px 68px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b8c9dd;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgb(49 213 124 / 70%);
}

h1 {
  max-width: 540px;
  margin: 22px 0 16px;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.06;
}

.intro {
  max-width: 430px;
  margin: 0;
  color: #d1d8e4;
  font-size: 17px;
  line-height: 1.65;
}

.retry-button {
  min-height: 46px;
  margin-top: 30px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  color: var(--navy);
  background: linear-gradient(100deg, #66b6ff, #72e2a7);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.retry-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.retry-button:focus-visible,
a:focus-visible {
  outline: 3px solid #72e2a7;
  outline-offset: 4px;
}

.small-note {
  margin: 15px 0 0;
  color: #9baac0;
  font-size: 12px;
}

.fiber-art {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--navy);
}

.fiber-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% center;
}

.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 50 / 55%), rgb(0 0 50 / 10%)),
    linear-gradient(0deg, rgb(0 0 50 / 50%), transparent 42%);
}

.art-label,
.art-caption {
  position: absolute;
  z-index: 2;
  left: 40px;
  margin: 0;
  color: #d7e5f4;
}

.art-label {
  top: 36px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.art-caption {
  bottom: 34px;
  color: #a8b9ce;
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.25fr;
  align-items: center;
  gap: 22px;
  padding: 34px 4px 0;
}

.contact-heading .eyebrow {
  margin-bottom: 7px;
  color: #1684e8;
}

.contact-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.contact-item {
  min-height: 49px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.contact-label {
  color: var(--muted);
  font-size: 11px;
}

.contact-value {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.site-footer {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.site-footer a {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 800px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 36px, 620px);
  }

  .maintenance {
    grid-template-columns: 1fr;
  }

  .message {
    padding: 52px 34px 42px;
  }

  h1 {
    max-width: 460px;
    font-size: 46px;
  }

  .fiber-art {
    min-height: 270px;
  }

  .fiber-photo { object-position: 70% center; }

  .art-label { top: 22px; left: 30px; }
  .art-caption { bottom: 20px; left: 30px; }

  .contact {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
    padding: 30px 0 4px;
  }

  .contact-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 76px;
  }

  .brand img {
    width: 126px;
  }

  .header-link {
    font-size: 13px;
  }

  main {
    padding-top: 14px;
    padding-bottom: 34px;
  }

  .message {
    padding: 42px 24px 34px;
  }

  h1 {
    font-size: 39px;
  }

  .intro {
    font-size: 15px;
  }

  .fiber-art {
    min-height: 240px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-heading {
    grid-column: auto;
    padding-bottom: 2px;
  }

  .site-footer {
    min-height: 62px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
