:root {
  color-scheme: light;
  --navy-950: #0b1423;
  --navy-900: #111d2f;
  --petrol-700: #176b63;
  --petrol-600: #1d7b72;
  --ivory-100: #f5f2ea;
  --ivory-50: #fbfaf7;
  --white-soft: #f8fafc;
  --text: #142033;
  --muted: #677180;
  --border: rgba(11, 20, 35, 0.14);
  --shadow-soft: 0 12px 36px rgba(11, 20, 35, 0.08);
  --header-height: 5.5rem;
  --mobile-nav-height: 4.4rem;
  --content-width: 76rem;
  --page-gutter: clamp(1rem, 3.6vw, 2rem);
  --tap-target: 2.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy-950);
  color: var(--text);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid #8ed3ca;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: max(0.5rem, env(safe-area-inset-top));
  left: max(0.5rem, env(safe-area-inset-left));
  padding: 0.65rem 0.9rem;
  border-radius: 0.45rem;
  background: var(--ivory-50);
  color: var(--navy-950);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(248, 250, 252, 0.11);
  background: rgba(11, 20, 35, 0.97);
  color: var(--white-soft);
}

.header-inner {
  width: 100%;
  max-width: var(--content-width);
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: max(var(--page-gutter), env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  min-height: var(--tap-target);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-decoration: none;
  text-align: center;
}

.brand-primary {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 4.6vw, 1.38rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.brand-secondary {
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.brand-oab {
  display: none;
}

.desktop-nav,
.header-contact {
  display: none;
}

.mobile-nav {
  position: fixed;
  z-index: 110;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
  padding-top: 0.38rem;
  padding-right: max(0.35rem, env(safe-area-inset-right));
  padding-bottom: calc(0.38rem + env(safe-area-inset-bottom));
  padding-left: max(0.35rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  background: rgba(11, 20, 35, 0.98);
  box-shadow: 0 -12px 30px rgba(11, 20, 35, 0.16);
}

.mobile-nav a {
  min-width: 0;
  min-height: 3.5rem;
  padding: 0.36rem 0.2rem;
  border-radius: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.67rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 100ms ease;
}

.mobile-nav a:first-child {
  color: var(--white-soft);
  background: rgba(23, 107, 99, 0.24);
}

.mobile-nav svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nav a:active,
.header-contact:active,
.button:active {
  transform: scale(0.96);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-950);
  color: var(--white-soft);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.8) contrast(1.06) brightness(0.66);
  transform: scale(1.045);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 20, 35, 0.38) 0%, rgba(11, 20, 35, 0.52) 52%, rgba(11, 20, 35, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 20, 35, 0.94) 0%, rgba(11, 20, 35, 0.82) 52%, rgba(11, 20, 35, 0.3) 100%);
}

.hero-inner {
  width: 100%;
  max-width: var(--content-width);
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  margin-inline: auto;
  padding-top: clamp(3rem, 10vw, 6.5rem);
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
  padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(100%, 46rem);
}

.hero-clause {
  margin-bottom: clamp(1.7rem, 5vw, 2.6rem);
  display: grid;
  grid-template-columns: auto minmax(2.5rem, 6rem) auto;
  align-items: center;
  gap: 0.8rem;
  color: rgba(248, 250, 252, 0.58);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-clause-number {
  color: var(--petrol-600);
}

.hero-clause-line {
  width: 100%;
  height: 1px;
  background: rgba(248, 250, 252, 0.3);
}

.hero-eyebrow {
  margin: 0 0 1rem;
  color: rgba(248, 250, 252, 0.76);
  font-size: clamp(0.72rem, 2.5vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 10.7vw, 4.9rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 40rem;
  margin: clamp(1.25rem, 4vw, 1.75rem) 0 0;
  color: rgba(248, 250, 252, 0.76);
  font-size: clamp(0.98rem, 3.3vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: clamp(1.8rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.button {
  min-height: 3.2rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 100ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  border-color: var(--petrol-600);
  background: var(--petrol-700);
  color: var(--white-soft);
}

.button-secondary {
  border-color: rgba(248, 250, 252, 0.38);
  background: rgba(11, 20, 35, 0.62);
  color: var(--white-soft);
}

@supports (backdrop-filter: blur(4px)) {
  .button-secondary {
    background: rgba(11, 20, 35, 0.22);
    backdrop-filter: blur(4px);
  }
}

.hero-scroll {
  display: none;
}

.section-anchor {
  height: 1px;
  background: var(--ivory-100);
  scroll-margin-top: var(--header-height);
}

@keyframes hero-drift {
  from {
    transform: scale(1.045) translate3d(-0.35%, 0, 0);
  }

  to {
    transform: scale(1.095) translate3d(0.8%, -0.5%, 0);
  }
}

@supports (height: 100dvh) {
  .hero,
  .hero-inner {
    min-height: calc(100dvh - var(--header-height));
  }
}

@media (max-width: 22rem) {
  :root {
    --header-height: 5rem;
    --mobile-nav-height: 4.15rem;
    --page-gutter: 0.85rem;
  }

  .brand-primary {
    font-size: 1.08rem;
  }

  .brand-secondary {
    max-width: 15rem;
    font-size: 0.62rem;
    letter-spacing: 0.075em;
  }

  .mobile-nav a {
    min-height: 3.25rem;
    font-size: 0.61rem;
  }

  .mobile-nav svg {
    width: 1.08rem;
    height: 1.08rem;
  }

  .hero-inner {
    padding-top: 2.5rem;
    padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
  }

  .hero-clause {
    grid-template-columns: auto minmax(2rem, 1fr) auto;
    gap: 0.58rem;
    font-size: 0.6rem;
    letter-spacing: 0.11em;
  }

  .hero-eyebrow {
    font-size: 0.69rem;
    letter-spacing: 0.065em;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11.2vw, 2.55rem);
    line-height: 1;
  }

  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .button {
    padding-inline: 0.8rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 57.99rem) and (max-height: 44rem) {
  .hero-inner {
    align-items: flex-start;
    padding-top: clamp(1.8rem, 5vh, 2.8rem);
    padding-bottom: calc(5.35rem + env(safe-area-inset-bottom));
  }

  .hero-clause {
    margin-bottom: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8.7vw, 3.2rem);
    line-height: 1;
  }

  .hero-lead {
    margin-top: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }
}

@media (max-width: 57.99rem) and (orientation: landscape) and (max-height: 36rem) {
  :root {
    --header-height: 4.4rem;
    --mobile-nav-height: 3.8rem;
  }

  .brand-primary {
    font-size: 1rem;
  }

  .brand-secondary {
    font-size: 0.58rem;
  }

  .mobile-nav a {
    min-height: 2.95rem;
    flex-direction: row;
    gap: 0.35rem;
  }

  .hero-inner {
    padding-top: 1.5rem;
    padding-bottom: calc(4.7rem + env(safe-area-inset-bottom));
  }

  .hero-clause {
    margin-bottom: 0.9rem;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 5.7vw, 3rem);
  }

  .hero-lead {
    max-width: 34rem;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 1rem;
    flex-direction: row;
  }

  .button {
    min-height: 2.8rem;
  }
}

@media (min-width: 36rem) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .button {
    min-width: 12rem;
  }
}

@media (min-width: 58rem) {
  :root {
    --header-height: 7rem;
  }

  body {
    padding-bottom: 0;
  }

  .header-inner {
    justify-content: space-between;
    gap: clamp(2rem, 3vw, 3rem);
  }

  .brand {
    flex: 0 0 auto;
    align-items: flex-start;
    text-align: left;
    gap: 0.12rem;
  }

  .brand-primary {
    font-size: 1.58rem;
    line-height: 1;
  }

  .brand-secondary {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .brand-oab {
    display: inline;
    margin-top: 0.2rem;
    color: var(--petrol-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.35rem, 2.2vw, 2.35rem);
  }

  .desktop-nav a {
    position: relative;
    min-height: var(--tap-target);
    padding: 0.72rem 0;
    display: inline-flex;
    align-items: center;
    color: rgba(248, 250, 252, 0.8);
    font-size: 0.88rem;
    font-weight: 650;
    letter-spacing: 0.005em;
    text-decoration: none;
    transition: color 160ms ease;
  }

  .desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.24rem;
    left: 0;
    height: 1px;
    background: var(--petrol-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
  }

  .desktop-nav a:hover,
  .desktop-nav a:focus-visible {
    color: var(--white-soft);
  }

  .desktop-nav a:hover::after,
  .desktop-nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .header-contact {
    min-height: 3rem;
    padding: 0.78rem 1.18rem;
    border: 1px solid rgba(29, 123, 114, 0.92);
    border-radius: 0.42rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 107, 99, 0.14);
    color: var(--white-soft);
    box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.02);
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 100ms ease;
  }

  .header-contact:hover,
  .header-contact:focus-visible {
    border-color: var(--petrol-600);
    background: var(--petrol-700);
  }

  .mobile-nav {
    display: none;
  }

  .hero-media img {
    object-position: center 54%;
    filter: saturate(0.82) contrast(1.08) brightness(0.72);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 20, 35, 0.2) 0%, rgba(11, 20, 35, 0.42) 70%, rgba(11, 20, 35, 0.78) 100%),
      linear-gradient(90deg, rgba(11, 20, 35, 0.97) 0%, rgba(11, 20, 35, 0.88) 37%, rgba(11, 20, 35, 0.56) 61%, rgba(11, 20, 35, 0.16) 100%);
  }

  .hero-inner {
    position: relative;
    padding-top: clamp(4rem, 7vw, 7rem);
    padding-bottom: clamp(4rem, 7vw, 7rem);
  }

  .hero-copy {
    width: min(57%, 47rem);
  }

  .hero-clause {
    grid-template-columns: auto minmax(4rem, 7rem) auto;
    margin-bottom: 2.5rem;
    font-size: 0.7rem;
  }

  .hero-eyebrow {
    font-size: 0.78rem;
  }

  .hero h1 {
    max-width: 12.5ch;
    font-size: clamp(4rem, 5.4vw, 5.7rem);
  }

  .hero-lead {
    max-width: 35rem;
    font-size: 1.08rem;
  }

  .hero-actions {
    margin-top: 2.4rem;
  }

  .button {
    min-height: 3.35rem;
    padding-inline: 1.3rem;
  }

  .button-primary:hover,
  .button-primary:focus-visible {
    border-color: var(--petrol-600);
    background: var(--petrol-600);
  }

  .button-secondary:hover,
  .button-secondary:focus-visible {
    border-color: rgba(248, 250, 252, 0.7);
    background: rgba(248, 250, 252, 0.08);
  }

  .hero-scroll {
    position: absolute;
    right: max(var(--page-gutter), env(safe-area-inset-right));
    bottom: 1.65rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(248, 250, 252, 0.48);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .hero-scroll-line {
    width: 3.5rem;
    height: 1px;
    background: rgba(248, 250, 252, 0.3);
  }
}

@media (min-width: 100rem) {
  :root {
    --content-width: 88rem;
  }

  .hero-copy {
    width: min(54%, 49rem);
  }

  .hero h1 {
    font-size: 5.9rem;
  }
}

@media (prefers-contrast: more) {
  .site-header,
  .mobile-nav {
    background: var(--navy-950);
  }

  .hero-overlay {
    background: rgba(11, 20, 35, 0.76);
  }

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

@media (forced-colors: active) {
  .hero-media,
  .hero-overlay {
    display: none;
  }

  .button,
  .header-contact,
  .mobile-nav a {
    forced-color-adjust: auto;
  }
}

@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;
  }

  .hero-media img {
    transform: scale(1.045);
  }
}