@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-Bold-Latin1.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy-950: #07111f;
  --navy-900: #0b1829;
  --navy-800: #102540;
  --blue: #2f7ab8;
  --silver: #b8c0c8;
  --silver-light: #e7eaed;
  --ink: #17202a;
  --muted: #59636e;
  --paper: #f7f8f9;
  --white: #ffffff;
  --line: rgba(12, 28, 47, 0.16);
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #65a9df;
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(7, 17, 31, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
}

.brand {
  display: block;
  width: 166px;
  line-height: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav > a:not(.button) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav > a:not(.button):hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #23679e;
  border-color: #23679e;
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero::after {
  content: "RGN";
  position: absolute;
  right: -0.08em;
  bottom: -0.12em;
  color: rgba(78, 125, 167, 0.035);
  font-size: clamp(16rem, 30vw, 31rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
  -webkit-text-stroke: 1px rgba(184, 192, 200, 0.27);
}

.hero-lines {
  position: absolute;
  top: 108px;
  right: 6%;
  bottom: 0;
  width: 38%;
  border-inline: 1px solid rgba(255, 255, 255, 0.08);
  transform: skewX(-11deg);
}

.hero-lines::before,
.hero-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-lines::before { left: 33%; }
.hero-lines::after { right: 31%; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 8vw;
  align-items: end;
  min-height: 760px;
  padding-block: 196px 104px;
}

.eyebrow {
  margin: 0 0 22px;
  color: #8ec4ed;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #27658f;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3.5rem, 6.2vw, 6.4rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 630px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 40px;
}

.text-link {
  display: flex;
  flex-direction: column;
  color: var(--white);
  text-decoration: none;
}

.text-link span {
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link strong {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

.hero-panel {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 27, 47, 0.68);
  backdrop-filter: blur(8px);
}

.hero-panel-top {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-panel-top span {
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 4.1rem;
  line-height: 0.85;
}

.hero-panel-top p {
  max-width: 120px;
  margin: 0;
  color: var(--silver-light);
  font-size: 0.86rem;
  line-height: 1.4;
}

.hero-panel-bottom {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 22px 26px;
}

.hero-panel-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.5;
}

.status-mark {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: #64a9dc;
}

.service-band {
  color: #d9dee3;
  background: var(--navy-800);
}

.service-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-band p {
  margin: 0;
  padding: 22px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-band p:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.service-band span {
  margin-right: 20px;
  color: #7eaed1;
}

.section {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 9vw;
  align-items: end;
  margin-bottom: 68px;
}

.section h2 {
  max-width: 720px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.03;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > div {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1fr);
  gap: 60px;
  align-items: baseline;
}

.service-number {
  color: #517b99;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-list h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.about {
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
  align-items: center;
}

.about-index {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, transparent 49.8%, rgba(255, 255, 255, 0.13) 50%, transparent 50.2%),
    #0c1e34;
}

.about-index::after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-index span {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.about-index span:first-child { top: 48px; left: 48px; }
.about-index span:last-child { right: 48px; bottom: 48px; }

.about-content h2 {
  margin-bottom: 32px;
}

.about-content > p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.equipment-grid figure { margin: 0; }
.equipment-grid figure div {
  display: grid;
  min-height: 280px;
  place-items: center;
  color: #7b8791;
  border: 1px solid var(--line);
  background: #edf0f2;
}
.equipment-grid figcaption { padding-top: 15px; color: var(--muted); }

.contact {
  color: var(--white);
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10vw;
}

.contact-intro h2 {
  max-width: 700px;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 570px;
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.06rem;
}

.button-light {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.contact-details {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details dt {
  color: #8ea1b2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-details a {
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.site-footer {
  color: #afbac4;
  background: #040b14;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-brand span {
  color: #7895ad;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.92rem;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 30px;
  padding-block: 22px 38px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.76rem;
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 36px, 720px); }

  .header-inner { min-height: 92px; }
  .brand { width: 140px; }
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 92px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px;
    visibility: hidden;
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav .button { margin-top: 14px; }

  .hero, .hero-grid { min-height: 760px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
    align-content: end;
    padding-block: 166px 68px;
  }
  .hero h1 { font-size: clamp(3.25rem, 11vw, 5rem); }
  .hero-panel { max-width: 430px; }
  .hero-lines { right: 10%; width: 45%; }

  .section { padding-block: 90px; }
  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }
  .section-heading { margin-bottom: 50px; }
  .about-index { min-height: 300px; }

  .service-list article > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
  html { scroll-padding-top: 92px; }

  .hero, .hero-grid { min-height: 720px; }
  .hero-grid { padding-block: 148px 48px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-copy { margin-top: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 30px; }
  .hero-actions .button { width: 100%; }
  .hero-panel { display: none; }
  .hero::after { right: -0.18em; bottom: -0.04em; font-size: 18rem; }

  .service-band-grid { grid-template-columns: 1fr; }
  .service-band p { padding: 14px 4px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .service-band p:last-child { border-right: 0; border-bottom: 0; }

  .section { padding-block: 72px; }
  .section h2 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .section-heading { gap: 28px; margin-bottom: 42px; }

  .service-list article { grid-template-columns: 42px 1fr; gap: 14px; padding: 24px 0; }
  .service-list article > div { min-width: 0; }

  .about-index { min-height: 220px; }
  .about-index::after { inset: 22px; }
  .about-index span:first-child { top: 34px; left: 34px; }
  .about-index span:last-child { right: 34px; bottom: 34px; }

  .contact-details div { grid-template-columns: 1fr; gap: 4px; }
  .equipment-grid { grid-template-columns: 1fr; }

  .footer-top { align-items: flex-start; flex-direction: column; gap: 26px; padding-block: 42px; }
  .footer-links { flex-direction: column; gap: 8px; }
  .footer-bottom { flex-direction: column; }
}

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