:root {
  --background: #102b46;
  --foreground: #f7f9fc;
  --primary: #00cbea;
  --primary-foreground: #062337;
  --accent: #00cbea;
  --accent-foreground: #062337;
  --border: #ffffff30;
  --ring: #00cbea;
  --page-pad: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px), clamp(1rem, 5vw, 6.25rem));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 2px; }

.company-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  padding: env(safe-area-inset-top, 0px) var(--page-pad) env(safe-area-inset-bottom, 0px);
  background: #173c5d;
}
.page-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.company-page::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(9 33 59 / 47%), rgb(13 37 60 / 15%) 65%, rgb(4 19 34 / 10%)),
    linear-gradient(0deg, rgb(5 23 42 / 83%), transparent 33%, rgb(6 24 42 / 15%));
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  padding: 28px 0 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand-symbol { width: 52px; height: 56px; flex-shrink: 0; }
.brand span {
  font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2.375rem);
  font-weight: 300;
  letter-spacing: -.035em;
  white-space: nowrap;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 46px);
  flex-shrink: 0;
}
nav a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  transition: color .2s;
}
@media (hover: hover) {
  nav a:hover { color: #58e4ff; }
}

.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vh, 110px) 0 clamp(48px, 10vh, 160px);
}
.eyebrow {
  margin: 0 0 22px;
  font-size: clamp(11px, 0.6rem + 0.3vw, 13px);
  letter-spacing: .21em;
  text-transform: uppercase;
  color: #d3e5f5;
}
h1 {
  font-size: clamp(1.7rem, 1rem + 3.8vw, 5.125rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.027em;
  margin: 0;
  max-width: 100%;
  text-wrap: balance;
}
.title-line { display: block; }
.accent-line {
  display: block;
  height: 2px;
  width: 54px;
  background: #00cbea;
  margin: clamp(22px, 3vh, 35px) 0 clamp(18px, 2.5vh, 26px);
  flex-shrink: 0;
}
.company-description {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.4375rem);
  line-height: 1.55;
  letter-spacing: .02em;
  font-weight: 300;
  margin: 0;
  max-width: 38em;
  color: #edf3fb;
  text-wrap: pretty;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid rgb(222 239 255 / 22%);
}
.copyright { margin: 0; font-size: 13px; color: #cad8e8; }
.contact-block { margin-left: auto; text-align: right; }
.contact-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #bed1e5;
  margin-bottom: 8px;
}
address { font-size: 15px; font-style: normal; line-height: 1.65; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 24px;
  transform: translateY(-200%);
  padding: 12px;
  background: #102b46;
  z-index: 2;
}
.skip-link:focus { transform: none; }

@media (min-width: 1200px) {
  .brand { gap: 23px; }
  .brand-symbol { width: 62px; height: 66px; }
  nav a { font-size: 14px; }
}

@media (min-width: 1600px) {
  .hero { padding-top: 10vh; }
}

@media (max-width: 899px) {
  .page-bg img { object-position: 72% center; }
}

@media (max-width: 719px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    padding: 18px 0 10px;
    gap: 4px 16px;
  }
  .brand { gap: 12px; }
  .brand-symbol { width: 42px; height: 45px; }
  .brand span { font-size: clamp(1.25rem, 5.4vw, 1.6rem); }
  nav {
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: 28px;
  }
  nav a { font-size: 12px; letter-spacing: .12em; }
  .hero { padding: 28px 0 56px; justify-content: flex-start; }
  .company-description { max-width: none; letter-spacing: .01em; line-height: 1.6; }
  .page-bg img { object-position: 78% 42%; }
  .company-page::after {
    background:
      linear-gradient(90deg, rgb(8 28 50 / 68%), rgb(8 28 50 / 28%) 70%, rgb(8 28 50 / 12%)),
      linear-gradient(0deg, rgb(5 23 42 / 92%), transparent 58%);
  }
}

@media (max-width: 559px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .contact-block { margin-left: 0; text-align: left; order: -1; }
  address { font-size: 14px; }
}

@media (max-width: 379px) {
  .brand span { white-space: normal; }
}

@media (max-height: 540px) and (orientation: landscape) {
  .site-header { padding: 12px 0 8px; }
  .hero { padding: 16px 0 28px; justify-content: flex-start; }
  .eyebrow { margin-bottom: 12px; }
  .accent-line { margin: 14px 0 12px; }
  h1 { font-size: clamp(1.5rem, 6vh, 2.4rem); }
  .site-footer { padding: 14px 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none !important; }
}
