/* The Wave Management Limited — site styles. No external fonts, no third-party requests. */
:root {
  --navy: #0e2238;
  --navy-deep: #091726;
  --ink: #1f2a35;
  --muted: #55636f;
  --paper: #f5f7f8;
  --surface: #ffffff;
  --line: #d5dce2;
  --teal: #1f7a87;
  --teal-bright: #4fb3bf;
  --on-navy: #eef3f6;
  --on-navy-muted: #a9b9c6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #e6ecf0;
    --muted: #a3b2be;
    --paper: #0b1b2c;
    --surface: #10263d;
    --line: #25405a;
    --teal: #6cc4cf;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 0.6rem 1rem; border-radius: 4px;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep); color: var(--on-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--on-navy); text-decoration: none; }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.05; letter-spacing: 0.01em; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.24em; color: var(--on-navy-muted); margin-top: 0.2rem; }
.nav ul { display: flex; gap: 1.75rem; }
.nav a { color: var(--on-navy); text-decoration: none; font-size: 0.95rem; padding: 0.4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--teal-bright); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--on-navy);
  font: inherit; font-size: 0.95rem; padding: 0.4rem 0.85rem; border-radius: 4px; cursor: pointer;
}
@media (max-width: 47.99rem) {
  .js .nav-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; padding-block: 0.6rem; }
  .nav { width: 100%; }
  .js .nav { display: none; }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-bottom: 0.5rem; }
  .nav li + li { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .nav a { display: block; padding: 0.85rem 0; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, #123049 100%); color: var(--on-navy); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(4rem, 12vw, 8rem) clamp(11rem, 26vw, 17rem); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); max-width: 12ch; }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 38rem; margin: 1.75rem 0 2.25rem; color: var(--on-navy-muted); }
@keyframes swell { from { transform: scaleY(0.86); } to { transform: scaleY(1.06); } }
.hero-waves { transform-origin: bottom; animation: swell 11s ease-in-out infinite alternate; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(11rem, 30vw, 21rem); object-fit: fill; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn {
  display: inline-block; padding: 0.8rem 1.4rem; border-radius: 3px; text-decoration: none;
  font-weight: 600; font-size: 1rem; border: 1px solid var(--teal-bright); transition: background-color 0.15s, color 0.15s;
}
.btn-solid { background: var(--teal-bright); color: var(--navy-deep); }
.btn-solid:hover { background: #7fcbd4; }
.btn-line { color: var(--on-navy); }
.btn-line:hover { background: rgba(79, 179, 191, 0.15); }

/* Sections */
.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.glance + .section { border-top: 0; }
.section h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); max-width: 22ch; }
.lede { font-size: 1.2rem; max-width: 42rem; color: var(--muted); margin-top: 1.25rem; }
.split { display: grid; gap: 2rem 4rem; }
@media (min-width: 56rem) { .split { grid-template-columns: 5fr 7fr; } }
.prose { max-width: 40rem; }
.prose p:last-child { margin-bottom: 0; }

.values { display: grid; gap: 1.5rem 2.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .values { grid-template-columns: repeat(4, 1fr); } }
.values h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.values p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* At a glance */
.glance { background: var(--surface); border-bottom: 1px solid var(--line); }
.glance dl { display: grid; margin: 0; }
.glance dl > div { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.glance dl > div:first-child { border-top: 0; }
@media (min-width: 40rem) {
  .glance dl { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
  .glance dl > div:nth-child(2) { border-top: 0; }
}
@media (min-width: 64rem) {
  .glance dl { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .glance dl > div { border-top: 0; padding-block: 1.5rem; }
}
.glance dt { font-size: 0.85rem; color: var(--muted); }
.glance dd { margin: 0.1rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.glance a { color: inherit; }

/* Services */
.services { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 52rem) { .services { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.service {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--teal);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.service-icon { width: 2.75rem; height: 2.75rem; margin-bottom: 1.5rem; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.55rem; margin-bottom: 0.75rem; }
.service p { color: var(--muted); }
.ticks { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.25rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.9rem; height: 1px; background: var(--teal); }

/* Statement band */
.section.band { background: var(--navy-deep); color: var(--on-navy); border-top: 0; }
.statement { font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.3; max-width: 26em; margin: 0; padding-left: clamp(1rem, 3vw, 2rem); border-left: 2px solid var(--teal-bright); }
.band + .section { border-top: 0; }

/* Approach */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 3rem; }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; padding: 1.5rem 1.5rem 1.5rem 0; border-top: 1px solid var(--ink); }
@media (min-width: 60rem) { .steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); } }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2rem; color: var(--teal); display: block; line-height: 1; margin-bottom: 0.9rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.steps p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Contact */
.contact { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.contact .wrap { position: relative; z-index: 1; padding-bottom: clamp(3rem, 9vw, 6rem); }
.contact-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(7rem, 16vw, 11rem); object-fit: fill; opacity: 0.45; transform: scaleX(-1); }
.section.contact { border-top: 0; }
.contact .lede { color: var(--on-navy-muted); }
.contact a { color: var(--teal-bright); }
.contact-mail { font-family: var(--serif); font-size: clamp(1.4rem, 4.2vw, 2.2rem); overflow-wrap: anywhere; display: inline-block; margin-bottom: 1.5rem; }
address { font-style: normal; }
.contact address { color: var(--on-navy-muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 0.93rem; padding-block: 3rem 2rem; }
.site-footer a { color: var(--on-navy); }
.footer-grid { display: grid; gap: 2rem 3rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer strong { color: var(--on-navy); font-weight: 600; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-head { color: var(--on-navy); font-weight: 600; margin-bottom: 0.6rem; }
.copyright { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* Legal page */
.page-head { background: var(--navy); color: var(--on-navy); padding-block: clamp(3rem, 8vw, 5rem); }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.page-head p { color: var(--on-navy-muted); max-width: 40rem; margin: 1rem 0 0; }
.legal { display: grid; gap: 3rem; padding-block: clamp(2.5rem, 7vw, 4.5rem); }
@media (min-width: 56rem) { .legal { grid-template-columns: 14rem 1fr; } }
.toc { align-self: start; }
@media (min-width: 56rem) { .toc { position: sticky; top: 6rem; } }
.toc li { margin-bottom: 0.5rem; }
.legal-body { max-width: 44rem; }
.legal-body section + section { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.legal-body h3 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal-body ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.legal-body li { margin-bottom: 0.35rem; }
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 0.15rem 1.5rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 36rem) { .facts div { grid-template-columns: 13rem 1fr; } }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.updated { color: var(--muted); font-size: 0.95rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }
