/* Nautilus Bridge — one-page site
   ------------------------------------------------------------------ */

:root {
  --navy: #143349;
  --navy2: #1a4059;
  --teal: #15938b;
  --sea: #8bd1c1;
  --mist: #dff3ed;
  --white: #f7fbfa;
  --ink: #122b39;
  --line: rgba(139, 209, 193, .22);

  --gutter: clamp(24px, 7vw, 120px);
  --gutter-tight: clamp(24px, 5vw, 80px);
  --header-h: 92px;

  --display: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (min-width: 1600px) {
  :root { --gutter: 8vw; }
}

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

html {
  scroll-behavior: smooth;
  /* keep anchored sections clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 1px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--sea);
  color: var(--navy);
  font: 600 .85rem var(--display);
  transform: translateY(-160%);
  transition: transform .2s;
}

.skip-link:focus-visible { transform: none; }

/* Buttons --------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  padding: 15px 30px;
  border-radius: 2px;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .01em;
  transition: background .25s, transform .25s;
}

.button:hover { background: #1aa79e; transform: translateY(-2px); }
.button:active { transform: none; }

.button-small { padding: 11px 20px; }

.text-link {
  position: relative;
  font-size: .88rem;
  color: #c9d8da;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(139, 209, 193, .35);
  transition: color .25s, border-color .25s;
}

.text-link:hover { color: var(--white); border-color: var(--sea); }

/* Header ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

.site-header.is-scrolled {
  background: rgba(20, 51, 73, .88);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(139, 209, 193, .3);
}

.header-inner {
  height: var(--header-h);
  padding: 0 var(--gutter-tight);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 .84rem/1 var(--display);
  letter-spacing: .16em;
  flex-shrink: 0;
}

.brand img { width: 54px; height: 36px; object-fit: contain; }
.brand b { font-weight: 400; color: var(--sea); }

.nav-desktop {
  display: flex;
  gap: 38px;
  font-size: .82rem;
  color: #bdd2d2;
  margin-left: auto;
}

.nav-desktop a {
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--sea);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.nav-desktop a:hover { color: #fff; }
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="true"]::after { transform: scaleX(1); }
.nav-desktop a[aria-current="true"] { color: #fff; }

.nav-cta { margin-left: 34px; }

/* Mobile nav ------------------------------------------------------ */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.nav-toggle-box {
  display: block;
  position: relative;
  width: 24px;
  height: 12px;
  margin: 0 auto;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 0;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s ease, opacity .2s ease;
}

.nav-toggle-bar { top: 5px; }
.nav-toggle-bar::before { content: ""; top: -6px; }
.nav-toggle-bar::after { content: ""; top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: var(--navy);
  padding: 40px var(--gutter-tight) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}

.nav-panel[hidden] { display: none; }
.nav-panel.is-open { opacity: 1; transform: none; }

.nav-panel nav {
  display: flex;
  flex-direction: column;
}

.nav-panel nav a {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font: 500 1.4rem var(--display);
  letter-spacing: -.02em;
}

.nav-panel nav a:last-child { color: var(--sea); }

.nav-panel-foot {
  margin: 40px 0 0;
  color: #7f9ba0;
  font-size: .84rem;
}

body.nav-open { overflow: hidden; }

/* Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vh, 96px) var(--gutter) 44px;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 840px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 64px);
  background:
    radial-gradient(circle at 72% 46%, rgba(19, 132, 126, .18), transparent 28%),
    linear-gradient(135deg, #143349 0%, #163a52 72%, #15354b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(#000, transparent 85%);
  mask-image: linear-gradient(#000, transparent 85%);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--sea);
  font: 600 .72rem/1.2 var(--display);
  letter-spacing: .18em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  flex: 0 0 26px;
  height: 1px;
  background: var(--teal);
}

h1 {
  margin: 32px 0 30px;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 5.3rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.h1-a,
.h1-b { display: block; }

.h1-a { font-weight: 400; }

.h1-b {
  display: inline-block;
  font-weight: 600;
  letter-spacing: -.07em;
  padding-bottom: .1em;
  border-bottom: 1px solid var(--teal);
}

.lead {
  max-width: 58ch;
  color: #b9cbcf;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 38px;
}

.hero-art {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin-right: calc(var(--gutter) * -.4);
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 35px 60px rgba(0, 0, 0, .26));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(129, 205, 189, .18);
  border-radius: 50%;
  transform: rotate(-16deg);
  pointer-events: none;
}

.orbit-one { width: 112%; aspect-ratio: 2 / 1; }
.orbit-two { width: 85%; aspect-ratio: 2 / 1; }

.coord {
  position: absolute;
  font: 500 .62rem var(--display);
  letter-spacing: .15em;
  color: rgba(184, 218, 211, .45);
}

.coord-one { top: 6%; right: 2%; }
.coord-two { bottom: 6%; left: 4%; }

.hero-foot {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: #8da6aa;
  font-size: .84rem;
}

.hero-foot p { margin: 0; }
.hero-foot strong { color: #d9e7e7; font-weight: 500; }

.regions {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.regions li {
  border: 1px solid var(--line);
  padding: 6px 12px;
  color: #bad0cf;
  font: 600 .68rem var(--display);
  letter-spacing: .12em;
}

/* Statement ------------------------------------------------------- */

.statement {
  background: var(--mist);
  color: var(--ink);
  padding: clamp(72px, 10vw, 115px) var(--gutter);
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 34px;
}

.statement .section-label {
  color: #147d78;
  padding-top: .55em;
}

.statement h2 {
  grid-column: 2;
  max-width: 830px;
  margin-bottom: 34px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  line-height: 1.16;
  letter-spacing: -.04em;
}

.statement > p:not(.section-label) {
  grid-column: 2;
  max-width: 58ch;
  margin: 0;
  color: #4c676e;
  font-size: 1.05rem;
}

/* Expertise ------------------------------------------------------- */

.expertise {
  background: #f6faf8;
  color: var(--ink);
  padding: clamp(72px, 9vw, 110px) var(--gutter);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  margin-bottom: 62px;
}

.coverage .section-label { margin-bottom: 18px; }

.expertise h2,
.coverage h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.service-list { border-top: 1px solid #bed0cc; }

.service-list article {
  position: relative;
  padding: 33px 0;
  border-bottom: 1px solid #cad9d6;
  transition: padding-left .3s ease, color .3s ease;
}

/* the hairline draws across on hover — the bridge deck in the mark */
.service-list article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.service-list article:hover,
.service-list article:focus-within {
  padding-left: 12px;
  color: #0b746e;
}

.service-list article:hover::after,
.service-list article:focus-within::after { transform: scaleX(1); }

.service-list h3 {
  margin-bottom: 8px;
  font: 600 1.3rem var(--display);
  letter-spacing: -.01em;
}

.service-list p {
  max-width: 72ch;
  margin: 0;
  color: #61777b;
}

/* Approach -------------------------------------------------------- */

.approach {
  background: #1a4560;
  padding: clamp(72px, 9vw, 105px) var(--gutter);
}

.approach-card {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 75px);
  background: linear-gradient(135deg, #0d766f, #0b5557);
  border: 1px solid rgba(255, 255, 255, .13);
}

.approach-card::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -170px;
  top: -240px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}

.approach-card .section-label { position: relative; }

.approach-card h2 {
  position: relative;
  margin: 26px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.approach-lead {
  position: relative;
  max-width: 62ch;
  margin: 0;
  color: #d3e8e5;
  font-size: 1.05rem;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, .16);
}

.steps li {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 28px;
  background: #0d6966;
}

.step-num {
  margin-bottom: 38px;
  font: 500 .72rem var(--display);
  letter-spacing: .1em;
  color: var(--sea);
}

.steps strong { font: 600 1.05rem var(--display); }

.step-text {
  margin-top: 8px;
  font-size: .86rem;
  color: #c4ddda;
}

/* Coverage -------------------------------------------------------- */

.coverage {
  background: var(--navy);
  padding: clamp(72px, 9vw, 110px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 70px;
}

.coverage h2 { margin-bottom: 0; }

.coverage > p {
  max-width: 58ch;
  padding-top: 33px;
  margin: 0;
  color: #a7bdc0;
}

.coverage-map {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 62px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.coverage-map li {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  min-height: 160px;
  padding: 26px;
  border-right: 1px solid var(--line);
  color: #8ea8aa;
}

.coverage-map li:last-child { border-right: 0; }

.coverage-map b {
  font: 500 2.3rem var(--display);
  line-height: 1;
  color: var(--sea);
}

/* Contact --------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--sea);
  color: var(--navy);
  padding: clamp(80px, 10vw, 120px) var(--gutter);
}

.contact img {
  position: absolute;
  width: 500px;
  max-width: 120%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: .065;
  pointer-events: none;
}

.contact > :not(img) { position: relative; z-index: 1; }

.contact .section-label { color: #0b625f; }

.contact h2 {
  margin: 30px 0 22px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.contact p { color: #315c62; }

.button-light {
  margin-top: 25px;
  background: #1d4763;
  min-width: 280px;
}

.button-light:hover { background: #245781; }

/* address + registry numbers, centered under the email button */
.company-details {
  margin-top: 40px;
  color: #315c62;
  font-size: .88rem;
  line-height: 1.6;
}

.company-details address { font-style: normal; }

.company-details dl {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.company-details dl div {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 0 18px;
}

.company-details dl div + div { border-left: 1px solid rgba(20, 51, 73, .25); }

.company-details dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--navy);
}

@media (max-width: 560px) {
  .company-details dl { flex-direction: column; gap: 4px; }
  .company-details dl div { justify-content: center; }
  .company-details dl div + div { border-left: 0; }
}

/* Footer ---------------------------------------------------------- */

footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  gap: 25px;
  padding: 38px var(--gutter-tight);
  background: var(--navy);
  color: #8fa8ac;
  font-size: .74rem;
}

footer .brand img { width: 58px; height: 38px; }
footer p { margin: 0; text-align: center; }
footer p:last-child { text-align: right; }

/* Responsive ------------------------------------------------------ */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 40px;
    align-items: start;
    min-height: 0;
    padding-top: 56px;
  }

  .hero-copy { grid-column: 1; grid-row: 1; }

  .hero-art {
    grid-column: 1;
    grid-row: 2;
    width: min(460px, 88%);
    margin: 0 auto;
  }

  .hero-foot { grid-row: 3; }
}

@media (max-width: 820px) {
  :root { --header-h: 76px; }

  .nav-desktop,
  .nav-cta { display: none; }

  .nav-toggle { display: block; }

  .statement { grid-template-columns: 1fr; }
  .statement h2 { max-width: none; }
  .statement h2,
  .statement > p:not(.section-label) { grid-column: 1; }
  .statement .section-label { padding-top: 0; margin-bottom: 18px; }

  .section-head { display: block; margin-bottom: 40px; }
  .section-head h2 { margin-top: 24px; }

  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .step-num { margin-bottom: 20px; }

  .coverage {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .coverage > p { padding-top: 0; }
  .coverage-map { grid-template-columns: 1fr; margin-top: 40px; }

  .coverage-map li {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .coverage-map li:last-child { border-bottom: 0; }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer p:last-child { text-align: center; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .text-link { align-self: flex-start; }

  .hero-foot { flex-direction: column; align-items: flex-start; gap: 20px; }

  .coord { display: none; }
  .orbit { display: none; }

  .coverage-map b { font-size: 1.7rem; }

  .button-light { min-width: 0; width: 100%; }
}

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

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