@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap");

:root {
  --ink: #142225;
  --ink-2: #314246;
  --paper: #ffffff;
  --deep: #0e252b;
  --deep-2: #10191c;
  --blue: #045184;
  --teal: #079db1;
  --footer: #123a48;
  --muted: #637174;
  --soft: #f4f7f8;
  --soft-2: #eef4f5;
  --line: #d8e4e7;
  --gold: #cba16e;
  --shadow: 0 18px 50px rgba(14, 37, 43, 0.12);
  --shadow-soft: 0 10px 28px rgba(14, 37, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a,
button {
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 14px;
  left: 14px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--paper);
  background: var(--deep);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 22px;
  left: 50%;
  display: flex;
  width: min(1280px, calc(100% - 48px));
  min-height: 68px;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 24, 28, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.mobile-brand {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 100%;
}

.primary-nav a {
  min-height: 44px;
  padding: 0.7rem 0.78rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
}

.landing-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 26%, rgba(7, 157, 177, 0.12), transparent 32%),
    radial-gradient(circle at 23% 16%, rgba(203, 161, 110, 0.08), transparent 31%),
    linear-gradient(155deg, #091518 0%, var(--deep) 54%, #113a42 100%);
}

.landing-hero::after,
.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203, 161, 110, 0.6), transparent);
  content: "";
}

.landing-hero {
  display: grid;
  min-height: 650px;
  place-items: center;
  padding: 150px 0 96px;
}

.landing-center {
  position: relative;
  z-index: 2;
  max-width: min(1120px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.05rem;
  color: inherit;
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-size: clamp(3rem, 4.75vw, 4.85rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.landing-center h1 {
  white-space: nowrap;
}

.page-hero h1 {
  max-width: 18ch;
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h2 {
  margin-bottom: 0.85rem;
  color: inherit;
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.32;
}

.lead {
  max-width: 710px;
  margin: 0 auto 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.36rem;
  font-weight: 400;
  line-height: 1.55;
}

.hero-phone {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.hero-phone:hover,
.hero-phone:focus-visible {
  border-color: rgba(203, 161, 110, 0.72);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.section {
  padding: 86px 0;
}

.compact-section {
  padding: 84px 0 52px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.landing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.landing-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.landing-card:hover,
.landing-card:focus-visible {
  border-color: rgba(4, 81, 132, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.landing-card h2 {
  margin: 0 0 1rem;
  color: #092f3c;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
}

.landing-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.65;
}

.contract-download {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.contract-download a,
.resource-list a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 62px;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(203, 161, 110, 0.32);
  border-radius: 8px;
  color: var(--paper);
  background: linear-gradient(135deg, #122328, #1c3b43);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.contract-download a {
  width: min(560px, 100%);
}

.contract-download a:hover,
.contract-download a:focus-visible,
.resource-list a:hover,
.resource-list a:focus-visible {
  border-color: rgba(203, 161, 110, 0.78);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contract-download span,
.resource-list span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.75rem;
  font-weight: 700;
}

.water-divider {
  position: relative;
  height: 76px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    url("assets/hero-water.jpg") center top / auto 85px repeat-x;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.55);
}

.water-divider::before,
.water-divider::after {
  position: absolute;
  inset: 0;
  content: "";
}

.water-divider::before {
  background: linear-gradient(90deg, rgba(244, 247, 248, 0.82), transparent 18%, transparent 82%, rgba(244, 247, 248, 0.82));
}

.water-divider::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 34%, rgba(255, 255, 255, 0.18));
  mix-blend-mode: screen;
}

.join-section {
  padding: 74px 0 50px;
  background: var(--paper);
}

.join-panel {
  max-width: 900px;
  padding: 2.3rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.join-panel p {
  max-width: 760px;
  margin: 0 auto 1rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.62;
}

.join-panel p:first-child {
  color: var(--ink);
  font-size: 1.08rem;
}

.join-panel a {
  color: var(--blue);
}

.join-panel a:hover,
.join-panel a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--teal);
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-weight: 800;
}

.video-section {
  padding: 0 0 56px;
  background: var(--paper);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
}

.video-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10191c;
  box-shadow: var(--shadow-soft);
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.logo-section {
  padding: 4px 0 10px;
  background: var(--paper);
}

.logo-section .container {
  display: flex;
  justify-content: center;
}

.logo-section img {
  width: min(470px, 80vw);
  opacity: 0.96;
}

.contact-section {
  color: var(--paper);
  background: linear-gradient(155deg, #123845, var(--footer));
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  gap: 48px;
}

.footer-contact-grid > div {
  min-width: 0;
}

.footer-contact-grid h2 {
  margin-bottom: 1.35rem;
  color: var(--paper);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-contact-grid p {
  margin-bottom: 1.25rem;
}

.footer-contact-grid p,
.footer-contact-grid a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-contact-grid a:hover,
.footer-contact-grid a:focus-visible,
.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #ffffff;
}

.footer-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 0.55rem;
  padding: 0.68rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-button:hover,
.footer-button:focus-visible {
  border-color: rgba(203, 161, 110, 0.72);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.site-footer {
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0f303b;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  margin-left: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
  text-decoration: none;
}

.page-hero {
  padding: 150px 0 92px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.page-hero .lead {
  margin-inline: 0;
}

.page-summary {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.page-summary span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-weight: 800;
}

.page-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.content-card,
.article-card,
.split-panel,
.requirement-panel,
details,
.case-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.content-card {
  padding: 1.65rem;
}

.accent-card {
  color: var(--paper);
  background: linear-gradient(155deg, #123845, var(--footer));
  border-color: rgba(255, 255, 255, 0.1);
}

.accent-card p {
  color: rgba(255, 255, 255, 0.84);
}

.inline-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible {
  border-color: rgba(4, 81, 132, 0.34);
  color: #053b5f;
  transform: translateY(-1px);
}

.check-list,
.compact-list {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.compact-list li {
  position: relative;
  padding-left: 1.15rem;
}

.check-list li::before,
.compact-list li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.gallery {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.gallery.four {
  grid-template-columns: repeat(4, 1fr);
}

.gallery.three {
  grid-template-columns: repeat(3, 1fr);
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.muted {
  background: var(--soft);
}

.article-stack {
  display: grid;
  gap: 18px;
}

.article-card {
  position: relative;
  padding: 1.55rem 1.55rem 1.55rem 5.1rem;
}

.article-number {
  position: absolute;
  top: 1.55rem;
  left: 1.55rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--soft-2);
  font-size: 1.1rem;
  font-weight: 800;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 34px;
  padding: 1.65rem;
  margin-bottom: 28px;
}

.requirement-panel {
  padding: 1.65rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.58rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.accordion-list,
.case-list {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
}

details summary {
  position: relative;
  min-height: 58px;
  padding: 1rem 2.9rem 1rem 1.1rem;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  position: absolute;
  top: 50%;
  right: 1.1rem;
  color: var(--teal);
  content: "+";
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "-";
}

.detail-body {
  padding: 0 1.1rem 1.1rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.case-list article {
  padding: 1.15rem;
}

blockquote {
  margin: 0 0 1.6rem;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fbf7f0;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 66px;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(10, 26, 30, 0.96);
    transform: none;
  }

  .mobile-brand {
    display: inline-flex;
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .mobile-brand img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
  }

  .menu-toggle span:not(.visually-hidden) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    border-radius: 999px;
    background: #fff;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 26, 30, 0.98);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.2);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    text-align: left;
  }

  .landing-hero {
    min-height: auto;
    padding: 108px 0 76px;
  }

  .page-hero {
    padding: 86px 0 72px;
  }

  .landing-cards,
  .footer-contact-grid,
  .page-hero-grid,
  .content-grid,
  .split-panel,
  .two-column {
    grid-template-columns: 1fr;
  }

  .landing-cards {
    gap: 18px;
  }

  .video-grid,
  .gallery.four,
  .gallery.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(1.66rem, 7.1vw, 2.1rem);
  }

  h2 {
    font-size: 1.36rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .section,
  .join-section {
    padding: 58px 0;
  }

  .compact-section {
    padding: 48px 0 34px;
  }

  .landing-card,
  .join-panel,
  .content-card,
  .split-panel,
  .requirement-panel {
    padding: 1.2rem;
  }

  .join-panel {
    text-align: left;
  }

  .join-panel p {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .join-panel p:first-child,
  .join-panel .text-link {
    text-align: center;
  }

  .join-panel .text-link {
    display: flex;
    justify-content: center;
  }

  .article-card {
    padding: 1.25rem;
  }

  .article-number {
    position: static;
    margin-bottom: 0.9rem;
  }

  .footer-grid {
    display: grid;
  }

  .footer-grid a {
    display: inline-flex;
    margin: 0 1rem 0.4rem 0;
  }
}
