

:root {
  --ink: #071923;
  --navy: #082a3a;
  --deep: #031119;
  --blue: #0b6583;
  --aqua: #18a6b8;
  --cyan: #69d6df;
  --sand: #d7c39a;
  --mist: #e9f0ef;
  --white: #f8fbfa;
  --muted: #9cafb3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }
.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; z-index: 20; inset: 0 0 auto;
  height: 92px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 78px); color: white;
  border-bottom: 1px solid rgba(255,255,255,.19);
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 225px; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 20px; letter-spacing: .22em; line-height: 1; }
.brand small { margin-top: 5px; color: #a9c7ce; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.brand-mark {
  position: relative; width: 43px; height: 43px; display: grid; place-items: center;
  border: 1px solid rgba(105,214,223,.65); border-radius: 50%; overflow: hidden;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; border: 1px solid rgba(105,214,223,.28); border-radius: 50%;
}
.brand-mark::before { width: 29px; height: 29px; }
.brand-mark::after { width: 15px; height: 15px; }
.brand-mark i { position: absolute; width: 1px; height: 100%; background: rgba(105,214,223,.28); transform: rotate(38deg); }
.brand-mark b { z-index: 1; color: var(--cyan); font-family: Georgia, serif; font-size: 17px; }
nav { display: flex; align-items: center; gap: clamp(19px, 2.5vw, 42px); }
nav a { font-size: 12px; font-weight: 700; letter-spacing: .05em; }
nav a:not(.nav-cta) { color: #d6e3e5; }
.nav-cta { padding: 13px 20px; border: 1px solid rgba(105,214,223,.75); color: var(--cyan); }
.nav-cta:hover { background: var(--cyan); color: var(--ink); }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; background: white; margin: 5px 0; }

.hero {
  min-height: 850px; height: 100svh; position: relative; overflow: hidden;
  display: flex; align-items: center; color: white; background: var(--deep);
}
.hero-photo {
  position: absolute; inset: 0; background: url("images/hero-diver.jpg") center 42% / cover no-repeat;
  filter: saturate(.75) contrast(1.08);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,17,25,.98) 0%, rgba(3,17,25,.87) 38%, rgba(4,28,39,.37) 72%, rgba(3,17,25,.56) 100%),
    linear-gradient(0deg, rgba(3,17,25,.85), transparent 50%);
}
.hero-grid {
  position: absolute; inset: 92px 0 0; opacity: .13;
  background-image: linear-gradient(rgba(105,214,223,.23) 1px, transparent 1px), linear-gradient(90deg, rgba(105,214,223,.23) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}
.hero-content { z-index: 2; width: min(760px, 88%); margin-left: clamp(24px, 8vw, 122px); margin-top: 10px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 24px;
  color: var(--cyan); text-transform: uppercase; letter-spacing: .24em;
  font-size: 10px; font-weight: 800;
}
.eyebrow span { width: 36px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--blue); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { margin: 0; font-size: clamp(58px, 7.2vw, 112px); line-height: .88; }
h1 em, h2 em { color: var(--cyan); font-weight: 400; }
.hero-copy { max-width: 620px; margin: 34px 0 0; color: #d1dee0; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; gap: 13px; margin-top: 36px; }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 25px;
  padding: 0 23px; font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; transition: .2s ease;
}
.button-primary { background: var(--aqua); color: var(--deep); }
.button-primary:hover { background: var(--cyan); transform: translateY(-2px); }
.button-ghost { border: 1px solid rgba(255,255,255,.32); color: white; }
.button-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-proof {
  z-index: 3; position: absolute; right: clamp(24px, 5vw, 76px); bottom: 37px;
  width: min(760px, 55vw); display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 23px;
}
.hero-proof div { display: flex; gap: 11px; align-items: flex-start; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-proof strong { font-family: Georgia, serif; color: var(--cyan); font-size: 29px; line-height: 1; }
.hero-proof span { color: #adc0c4; font-size: 10px; line-height: 1.35; text-transform: uppercase; letter-spacing: .05em; }

.section { padding: 110px clamp(24px, 7vw, 110px); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; max-width: 1330px; margin: auto; }
h2 { margin: 0; color: var(--ink); font-size: clamp(43px, 5vw, 76px); line-height: .98; }
.section-heading > p, .track-intro > p, .leader-copy > p, .academy-copy > p {
  color: #526970; font-size: 15px; line-height: 1.8;
}
.services { background: #f5f8f7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1330px; margin: 62px auto 0; border: 1px solid #d6e1e0; }
.service-card { position: relative; min-height: 385px; padding: 36px; background: #fbfdfc; border-right: 1px solid #d6e1e0; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: white; box-shadow: 0 25px 55px rgba(4,37,49,.08); z-index: 2; }
.service-number { color: #9db0b3; font-family: Georgia, serif; font-size: 14px; }
.service-icon { width: 62px; height: 62px; border: 1px solid #b7d6d9; border-radius: 50%; margin: 39px 0 28px; display: grid; place-items: center; }
.service-icon i { width: 24px; height: 24px; border: 2px solid var(--blue); border-radius: 50%; position: relative; }
.icon-01 i::after { content: ""; position: absolute; inset: 4px; border: 1px solid var(--aqua); border-radius: 50%; }
.icon-02 i { border-radius: 3px 50% 50%; transform: rotate(45deg); }
.icon-03 i { border-radius: 0; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.service-card h3 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin: 0 0 18px; }
.service-card p { color: #60767b; font-size: 14px; line-height: 1.7; }
.service-card a { position: absolute; left: 36px; bottom: 30px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-card a span { margin-left: 9px; color: var(--aqua); }
.scope-note { max-width: 1330px; margin: 20px auto 0; color: #74888c; font-size: 11px; }

.leader { background: var(--navy); color: white; display: grid; grid-template-columns: .9fr 1.1fr; padding-top: 0; padding-bottom: 0; padding-left: 0; gap: clamp(50px, 7vw, 120px); }
.leader-visual { position: relative; min-height: 760px; }
.leader-visual > img { height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(.74); }
.leader-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,30,42,.72), transparent 45%); }
.leader-caption { position: absolute; z-index: 2; left: clamp(24px, 6vw, 90px); bottom: 54px; display: flex; flex-direction: column; }
.leader-caption span { color: var(--cyan); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.leader-caption strong { font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.award-seal { position: absolute; z-index: 3; right: -52px; top: 70px; width: 112px; height: 112px; border-radius: 50%; background: var(--aqua); color: var(--deep); display: grid; place-content: center; text-align: center; box-shadow: 0 8px 30px rgba(0,0,0,.24); }
.award-seal strong { font-family: Georgia, serif; font-size: 25px; }
.award-seal span { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.leader-copy { padding: 105px clamp(24px, 7vw, 110px) 95px 0; max-width: 790px; }
.leader-copy h2, .track h2, .academy h2, .contact h2 { color: white; }
.leader-copy .lead { color: #e1ebeb; font-family: Georgia, serif; font-size: 20px; line-height: 1.55; margin-top: 32px; }
.leader-copy > p:not(.eyebrow):not(.lead) { color: #a9bec2; max-width: 690px; }
.credential-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.15); }
.credential-list span { padding: 14px 14px 14px 20px; border-bottom: 1px solid rgba(255,255,255,.12); color: #cfdddf; font-size: 11px; position: relative; }
.credential-list span::before { content: "✓"; color: var(--cyan); position: absolute; left: 0; }

.track { background: var(--deep); color: white; }
.track-intro { max-width: 850px; }
.track-intro > p:last-child { color: #94aaaf; max-width: 760px; margin-top: 30px; }
.case-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; max-width: 1370px; margin-top: 63px; border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.case { min-height: 320px; padding: 30px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); position: relative; }
.case-featured { grid-row: span 2; min-height: 640px; padding: 0; overflow: hidden; }
.case-featured img { height: 100%; object-fit: cover; }
.case-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,14,20,.95), transparent 68%); }
.case-content { position: absolute; left: 38px; right: 38px; bottom: 37px; }
.case span { color: var(--cyan); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.case h3 { font-family: Georgia, serif; font-size: 27px; font-weight: 400; margin: 20px 0 16px; }
.case p { color: #9fb1b5; font-size: 13px; line-height: 1.65; }
.case strong { position: absolute; left: 30px; bottom: 25px; color: var(--cyan); font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.case-content strong { position: static; display: flex; align-items: baseline; gap: 9px; font-size: 46px; }
.case-content strong small { color: #c5d3d5; font-family: Arial, sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.case-top { display: flex; justify-content: space-between; }
.case-top b { color: rgba(255,255,255,.2); font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.case-photo { overflow: hidden; }
.case-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(.7); z-index: 0; }
.case-photo > *:not(img) { position: relative; z-index: 1; }

.recognition { background: #f6f8f7; }
.award-grid { max-width: 1330px; margin: 65px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.award-card { min-height: 280px; display: grid; grid-template-columns: 36% 64%; background: white; border: 1px solid #dce5e4; overflow: hidden; }
.award-card img { height: 100%; object-fit: cover; filter: saturate(.78); }
.award-card > div { padding: 27px 23px; }
.award-card span { color: var(--aqua); font-family: Georgia, serif; font-size: 28px; }
.award-card h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 400; margin: 13px 0 8px; }
.award-card h4 { color: var(--blue); font-size: 9px; line-height: 1.45; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 18px; }
.award-card p { color: #6e8185; font-size: 11px; line-height: 1.6; }

.academy { background: #0b3344; color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.academy-copy { padding-left: clamp(0px, 3vw, 45px); }
.academy-copy > p:not(.eyebrow) { color: #b8cacc; max-width: 620px; }
.academy-copy .button { margin-top: 20px; }
.academy-media { position: relative; }
.academy-media img { height: 540px; object-fit: cover; }
.academy-stat { position: absolute; bottom: -28px; left: -42px; background: var(--aqua); color: var(--deep); padding: 24px 35px; display: flex; align-items: center; gap: 17px; }
.academy-stat strong { font-family: Georgia, serif; font-size: 55px; font-weight: 400; line-height: 1; }
.academy-stat span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; line-height: 1.45; }

.contact { background: var(--deep); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.contact-panel { border-left: 1px solid rgba(255,255,255,.17); padding-left: 65px; }
.contact-panel > p { color: #a5b9bd; line-height: 1.8; font-size: 14px; }
.contact-email { display: flex; justify-content: space-between; padding: 23px 0; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); color: var(--cyan); font-family: Georgia, serif; font-size: clamp(21px, 2vw, 31px); }
.contact-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 27px; }
.contact-meta span { color: #c6d3d5; font-size: 11px; }
.contact-meta small { display: block; color: #6f888e; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 7px; font-size: 8px; }
footer { padding: 45px clamp(24px, 7vw, 110px); background: #020c11; color: white; display: grid; grid-template-columns: 1fr 1.3fr .8fr auto; align-items: center; gap: 35px; }
footer > p { color: #6f858a; font-size: 10px; line-height: 1.5; max-width: 330px; }
footer > div { display: flex; gap: 22px; color: #a7b8bb; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
footer > small { color: #597077; font-size: 8px; }

@media (max-width: 1050px) {
  nav { gap: 18px; }
  nav a { font-size: 10px; }
  .hero-proof { width: 70vw; }
  .leader { grid-template-columns: 1fr; padding-right: 0; }
  .leader-visual { min-height: 670px; }
  .award-seal { right: 30px; }
  .leader-copy { padding: 80px clamp(24px, 7vw, 110px); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-featured { grid-column: span 2; grid-row: auto; min-height: 570px; }
  .award-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 76px; padding: 0 20px; }
  .brand { min-width: auto; }
  .brand strong { font-size: 17px; }
  .menu-button { display: block; position: relative; z-index: 2; }
  nav {
    display: none; position: absolute; top: 0; left: 0; right: 0; padding: 96px 25px 35px;
    background: rgba(2,17,25,.98); flex-direction: column; align-items: stretch;
  }
  nav.nav-open { display: flex; }
  nav a { padding: 12px 0; font-size: 12px; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .hero { min-height: 790px; height: auto; padding: 135px 0 210px; align-items: flex-start; }
  .hero-photo { background-position: 58% center; opacity: .62; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,17,25,.96), rgba(3,17,25,.5)), linear-gradient(0deg, rgba(3,17,25,.93), transparent); }
  .hero-content { width: auto; margin: 0 22px; }
  h1 { font-size: clamp(53px, 17vw, 76px); line-height: .9; }
  .hero-copy { font-size: 15px; line-height: 1.6; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { left: 22px; right: 22px; bottom: 25px; width: auto; grid-template-columns: 1fr 1fr; gap: 17px 0; }
  .hero-proof div { padding: 0 10px; }
  .section { padding: 78px 22px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  h2 { font-size: 46px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; border-bottom: 1px solid #d6e1e0; min-height: 355px; }
  .service-card:last-child { border-bottom: 0; }
  .leader { padding: 0; gap: 0; }
  .leader-visual { min-height: 620px; }
  .leader-copy { padding: 75px 22px; }
  .credential-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-featured { grid-column: auto; min-height: 550px; }
  .award-grid { grid-template-columns: 1fr; }
  .award-card { min-height: 250px; }
  .academy { grid-template-columns: 1fr; gap: 50px; }
  .academy-copy { padding-left: 0; }
  .academy-media img { height: 390px; }
  .academy-stat { left: 15px; bottom: -35px; }
  .contact { grid-template-columns: 1fr; gap: 45px; }
  .contact-panel { border-left: 0; padding-left: 0; }
  .contact-meta { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 280px;
}

@media (max-width: 700px) {
  .brand-logo {
    height: 46px;
    max-width: 220px;
  }
}

/* MARSAFE header branding */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin: 0;
  text-align: left;
  text-decoration: none;
}

/* Container holding MARSAFE and the descriptor */
.brand > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.brand strong {
  display: block;
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
}

.brand small {
  display: block;
  margin: 0;
  color: #7ed8ed;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-align: left;
  white-space: nowrap;
}

.brand-mark {
  flex: 0 0 auto;
}

@media (max-width: 700px) {
  .brand {
    gap: 10px;
  }

  .brand strong {
    margin-bottom: 4px;
    font-size: 1.1rem;
  }

  .brand small {
    font-size: 0.48rem;
    letter-spacing: 0.1em;
  }
}

/* Resources page */
.page-intro { background: var(--navy); color: white; padding: 200px clamp(24px, 7vw, 110px) 90px; }
.page-intro h1 { color: white; margin: 20px 0 0; font-size: clamp(43px, 5vw, 76px); line-height: .98; }
.page-intro p { color: #b8cacc; max-width: 720px; margin-top: 26px; font-size: 15px; line-height: 1.8; }

.resource-section { padding: 90px clamp(24px, 7vw, 110px); border-top: 1px solid #d6e1e0; }
.resource-heading { max-width: 1330px; margin: 0 auto 45px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.resource-heading h2 { font-size: clamp(30px, 3vw, 42px); }
.resource-heading p { color: #60767b; font-size: 13px; line-height: 1.7; max-width: 420px; margin: 0; }
.resource-grid { max-width: 1330px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.resource-card { background: white; border: 1px solid #dce5e4; padding: 30px; min-height: 210px; display: flex; flex-direction: column; }
.resource-card .tag { color: var(--aqua); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.resource-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 19px; margin: 14px 0 10px; }
.resource-card p { color: #60767b; font-size: 13px; line-height: 1.65; flex: 1; }
.resource-card a { margin-top: 16px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.resource-card a span { margin-left: 6px; color: var(--aqua); }
.resource-card .resource-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.resource-card .resource-links li a { display: block; margin-top: 0; line-height: 1.5; white-space: normal; }
.resource-empty { border-style: dashed; }

@media (max-width: 1050px) {
  .resource-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .page-intro { padding: 140px 22px 60px; }
  .resource-section { padding: 60px 22px; }
  .resource-heading { flex-direction: column; align-items: flex-start; }
  .resource-grid { grid-template-columns: 1fr; }
}