/* Wave 2 Communications — static site stylesheet */

:root {
  --navy: #0f2d4e;
  --navy-deep: #0a1f36;
  --blue: #1b5e9e;
  --aqua: #16a7c9;
  --aqua-dark: #0f8aa8;
  --ink: #1e2a35;
  --muted: #5b6b7a;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --line: #dbe4ec;
  --max: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--aqua-dark); text-decoration: underline; }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
strong { color: var(--navy); }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 45, 78, .04);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 1.5rem;
}
.brand img { height: 56px; width: auto; }
.brand:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--navy); border-radius: 6px;
  color: var(--navy); font: inherit; font-weight: 600; padding: .45rem .8rem; cursor: pointer;
}
.nav-toggle span { display: inline-block; margin-left: .4rem; }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav li { position: relative; }
.site-nav a {
  display: block; padding: .7rem .95rem; color: var(--navy); font-weight: 600;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { text-decoration: none; color: var(--aqua-dark); }
.site-nav > ul > li.current > a { border-bottom-color: var(--aqua); }

.site-nav .has-sub > a::after {
  content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-.2em) rotate(45deg);
}
.site-nav ul ul {
  list-style: none; margin: 0; padding: .4rem 0;
  position: absolute; left: 0; top: 100%; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--aqua);
  box-shadow: 0 10px 30px rgba(15, 45, 78, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.site-nav ul ul a { padding: .55rem 1.1rem; font-weight: 500; border: 0; }
.site-nav ul ul a:hover { background: var(--bg-alt); }
.site-nav li:hover > ul,
.site-nav li:focus-within > ul,
.site-nav li.open > ul { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(15,45,78,.12); }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; padding: .5rem 0; }
  .site-nav a { padding: .8rem 1.5rem; border-bottom: 0; border-left: 3px solid transparent; }
  .site-nav > ul > li.current > a { border-left-color: var(--aqua); }
  .site-nav ul ul { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--line); margin-left: 1.5rem; padding: 0; display: none; }
  .site-nav li.open > ul { display: block; }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 100%);
  color: #fff;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(5rem, 12vw, 9rem);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -2px 0; height: 160px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%2316a7c9' fill-opacity='.35' d='M0 70c160-40 320-40 480 0s320 40 480 0 320-40 480 0v90H0z'/%3E%3Cpath fill='%23ffffff' d='M0 110c160-40 320-40 480 0s320 40 480 0 320-40 480 0v50H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.hero .wrap { max-width: 820px; }
.hero h1 { color: #fff; letter-spacing: .04em; margin-bottom: .5rem; font-size: clamp(1.7rem, 6.5vw, 3rem); overflow-wrap: anywhere; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.88); max-width: 60ch; }

/* ---------- Page banner (inner pages) ---------- */

.page-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, var(--blue));
  color: #fff; padding: 2.6rem 0 2.4rem;
  border-bottom: 4px solid var(--aqua);
}
.page-banner h1 { color: #fff; margin: 0; }
.breadcrumb { font-size: .92rem; color: rgba(255,255,255,.75); margin-bottom: .5rem; }
.breadcrumb a { color: #fff; }
.breadcrumb span::before { content: "/"; margin: 0 .5rem; color: rgba(255,255,255,.45); }

/* ---------- Content sections ---------- */

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.alt { background: var(--bg-alt); }

.two-col { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col.equal { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .two-col, .two-col.equal { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.prose li { margin: .25em 0; }
.prose ul.sub { margin: .25em 0 .5em; list-style: "– "; }
.prose .read-more { font-weight: 600; display: inline-block; margin-bottom: 1.6rem; }

.figure-stack { display: grid; gap: 1.5rem; }
.figure-stack img { border-radius: 8px; width: 100%; box-shadow: 0 12px 30px rgba(15, 45, 78, .14); }

.intro { max-width: 70ch; }
.intro h2 { margin-bottom: .8rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.features h3 { padding-top: .9rem; border-top: 3px solid var(--aqua); }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* Glossary */
dl.glossary { margin: 0; max-width: 72ch; }
dl.glossary dt { font-weight: 700; color: var(--navy); margin-top: 1.4rem; }
dl.glossary dd { margin: .3rem 0 0; }

/* Contact */
.contact-card { background: var(--bg-alt); border-left: 4px solid var(--aqua); padding: 1.4rem 1.6rem; border-radius: 0 8px 8px 0; }
.contact-card p { margin: 0 0 .9em; }
.contact-card p:last-child { margin-bottom: 0; }
address { font-style: normal; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--aqua); color: #fff; padding: 2.4rem 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.btn {
  display: inline-block; padding: .8rem 1.7rem; border-radius: 6px; font-weight: 700;
  background: var(--navy); color: #fff; border: 2px solid var(--navy);
}
.btn:hover { background: #fff; color: var(--navy); text-decoration: none; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }

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

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); }
.footer-contact { padding: 3rem 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-contact h4 { color: var(--aqua); margin-bottom: .4rem; }
.footer-contact p { margin: 0; }
.footer-contact a { color: #fff; }
@media (max-width: 700px) { .footer-contact { grid-template-columns: 1fr; } }

.footer-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0; font-size: .92rem; }
.footer-bar a { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav ul ul { transition: none; }
}
