:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #111318;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #111318;
  --muted: #727781;
  --line: #e6e8eb;
  --yellow: #f0b900;
  --blue: #1786a8;
  --page-width: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 0 max(32px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  display: block;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.site-header nav a,
.year {
  color: #555b63;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--blue);
}

.year {
  color: var(--yellow);
  font-size: 12px;
}

.section-wrap {
  width: min(var(--page-width), calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100vh - 76px));
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero::before {
  position: absolute;
  top: 13%;
  right: 4%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(23, 134, 168, 0.09);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: rise-in 760ms ease-out both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: #555b63;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(240, 185, 0, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(62px, 10vw, 126px);
  font-weight: 300;
  letter-spacing: -0.095em;
  line-height: 0.98;
  animation: title-in 900ms cubic-bezier(0.18, 0.75, 0.3, 1) both;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 38px;
  color: #666d76;
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--yellow);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  color: var(--yellow);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.text-link-secondary {
  color: #176b83;
  border-bottom-color: rgba(23, 134, 168, 0.35);
}

.text-link-secondary span {
  color: var(--blue);
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: 7%;
  display: grid;
  width: clamp(210px, 28vw, 330px);
  aspect-ratio: 1;
  place-items: center;
  transform: translateY(-44%);
}

.hero-mark img {
  position: relative;
  z-index: 2;
  width: 70%;
  height: 70%;
  object-fit: contain;
  opacity: 0.9;
  filter: saturate(0.68);
}

.mark-ring {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(23, 134, 168, 0.13);
  border-radius: 50%;
}

.mark-ring-two {
  inset: -8%;
  border-color: rgba(240, 185, 0, 0.12);
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 40px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: #858b92;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.hero-index span:first-child {
  color: var(--blue);
  font-weight: 700;
}

.content-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 100px);
  padding-top: 105px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  gap: 12px;
  padding-top: 10px;
  color: #535a63;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label span:first-child {
  color: var(--yellow);
}

.section-copy {
  max-width: 820px;
}

.section-copy h2,
.contact-content h2 {
  max-width: 740px;
  margin-bottom: 26px;
  font-size: clamp(34px, 5.1vw, 64px);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.section-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #626871;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
}

.portfolio-section {
  background:
    radial-gradient(ellipse at 95% 12%, rgba(23, 134, 168, 0.055), transparent 36%),
    #f8f9fa;
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100vw - var(--page-width)) / 2));
  padding-left: max(32px, calc((100vw - var(--page-width)) / 2));
}

.accent-eyebrow {
  margin-bottom: 17px;
  color: #745800;
}

.portfolio-section .section-copy h2 {
  margin-bottom: 42px;
}

.ip-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dfe2e5;
  list-style: none;
}

.ip-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px 2px;
  border-bottom: 1px solid #dfe2e5;
  font-size: 14px;
  line-height: 1.5;
}

.ip-list li span:first-child {
  min-width: 0;
  color: #20242a;
  overflow-wrap: anywhere;
}

.ip-list li span:last-child {
  min-width: 0;
  color: #555d66;
  font-size: 14px;
  text-align: right;
  overflow-wrap: anywhere;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 42px;
}

.service-card {
  min-height: 210px;
  padding: 23px 21px;
  border: 1px solid var(--line);
  background: #fff;
}

.service-number {
  display: block;
  margin-bottom: 44px;
  color: #806100;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.service-card p {
  margin-bottom: 0;
  color: #555d66;
  font-size: 13px;
  line-height: 1.7;
}

.team-section {
  padding-bottom: 130px;
}

.contact-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 100px);
  padding-top: 82px;
  padding-bottom: 92px;
  border-top: 1px solid var(--line);
}

.contact-content h2 {
  margin-bottom: 28px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--yellow);
  color: var(--ink);
  font-size: clamp(18px, 2.5vw, 25px);
  letter-spacing: -0.045em;
  text-decoration: none;
}

.contact-email span {
  color: var(--yellow);
  font-size: 16px;
}

.location {
  margin: 22px 0 0;
  color: #777d85;
  font-size: 13px;
}

.fiber-scene {
  position: relative;
  height: 205px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(23, 134, 168, 0.16), transparent 58%),
    linear-gradient(110deg, #080d1e, #0b1228 52%, #060a18);
}

.fiber-scene::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 16px, rgba(255, 190, 50, 0.08) 17px, transparent 18px 27px);
  content: "";
  opacity: 0.55;
}

.site-footer {
  display: flex;
  min-height: 83px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px max(32px, calc((100vw - var(--page-width)) / 2));
  color: #555d66;
  font-size: 12px;
}

.footer-brand {
  font-size: 12px;
}

.back-to-top {
  text-decoration: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--blue);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .site-header {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 0 16px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .brand {
    font-size: 14px;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 13px;
  }

  .site-header nav a {
    font-size: 9px;
    white-space: nowrap;
  }

  .year {
    margin-left: auto;
  }

  .section-wrap {
    width: calc(100% - 44px);
  }

  .hero {
    min-height: 620px;
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-mark {
    top: auto;
    right: -6%;
    bottom: 55px;
    width: 190px;
    transform: none;
    opacity: 0.34;
  }

  .hero::before {
    top: auto;
    right: -15%;
    bottom: 3%;
    width: 330px;
    height: 330px;
  }

  .hero-index {
    bottom: 22px;
  }

  .content-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .section-label {
    padding-top: 0;
  }

  .portfolio-section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .ip-list li {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .ip-list li span:first-child,
  .ip-list li span:last-child {
    font-size: 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 170px;
  }

  .service-number {
    margin-bottom: 28px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 22px;
    font-size: 12px;
  }

  .site-footer > span {
    order: 3;
    width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .hero-content {
    max-width: 72%;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 72px);
  }

  .hero-mark {
    right: -2%;
    width: 245px;
    opacity: 0.25;
  }

  .ip-list li {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 12px;
  }
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 22px;
  background:
    radial-gradient(circle at 80% 25%, rgba(23, 134, 168, 0.08), transparent 30%),
    #fff;
}

.not-found-card {
  width: min(100%, 620px);
}

.not-found-code {
  margin-bottom: 18px;
  color: #745800;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.not-found-card h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 1;
}

.not-found-card p {
  max-width: 470px;
  margin-bottom: 30px;
  color: #555d66;
  font-size: 17px;
  line-height: 1.7;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
