/* Marea Strategy Group. Tokens and rules from MAREA Brand Guidelines v1.0 (2026-08-19).
   Hairlines instead of boxes, no shadows, one accent per view, left-aligned, ~65ch measure. */
:root {
  --navy: #001642;         /* headlines, logo, footer */
  --channel: #2C7FBF;      /* accents, rules */
  --channel-deep: #2670A8; /* links, buttons, blue text under 18px */
  --aqua: #189FAF;         /* numerals, top tide line; never body text */
  --paper: #FBFCFD;        /* page ground */
  --white: #FFFFFF;        /* alternating band */
  --body: #3D4A5C;         /* running text */
  --hairline: #E3E9EF;     /* dividers */
  --font-display: 'Jost', 'Questrial', 'Century Gothic', sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 16.5px/1.7 var(--font-body);
}
::selection { background: rgba(24, 159, 175, .18); }
img, svg { display: block; max-width: 100%; }

a { color: var(--channel-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--channel-deep); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--white); padding: 6px 10px; z-index: 10; }

/* Logo: classes carry the approved colors in the approved roles. */
.logo .t1 { stroke: var(--aqua); }
.logo .t2 { stroke: var(--channel); }
.logo .t3, .logo .ring, .logo .wm { stroke: var(--navy); }
.logo.rev .t1, .logo.rev .t2, .logo.rev .t3, .logo.rev .ring, .logo.rev .wm { stroke: #fff; }
.logo .tile { fill: var(--navy); }

/* Type */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  margin: 0;
}
.display { font-weight: 300; font-size: clamp(34px, 5vw, 44px); line-height: 1.18; letter-spacing: .005em; max-width: 18ch; }
h2 { font-size: clamp(26px, 3.4vw, 32px); line-height: 1.25; max-width: 28ch; }
h3 { font: 600 18px/26px var(--font-body); color: var(--navy); margin: 0 0 6px; letter-spacing: .01em; }
p { margin: 0 0 1em; max-width: 65ch; }
.eyebrow, .lines, .role, .contact dt, .toggle {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow { color: var(--channel-deep); margin: 0 0 14px; }
.lead, .intro { font-size: 18px; line-height: 1.65; margin-top: 22px; }

/* Draft markers: only in draft builds. */
.draftbar { margin: 0; max-width: none; padding: 8px var(--gutter); background: var(--hairline); color: var(--navy); font-size: 13.5px; }
.ph { outline: 1px dashed var(--channel-deep); outline-offset: 2px; padding: 0 4px; background: rgba(44, 127, 191, .06); color: var(--navy); }

/* Header */
.top { border-bottom: 1px solid var(--hairline); }
.top__row { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.top__brand { display: block; width: 168px; padding: 12px 0; }
.top__nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.top__nav a { color: var(--body); text-decoration: none; }
.top__nav a:hover { color: var(--channel-deep); }
.toggle { display: flex; align-items: center; margin: 0; }
.toggle > * { padding: 6px 10px; }
.toggle > * + * { border-left: 1px solid var(--hairline); }
.toggle > :last-child { padding-right: 0; }
.toggle span { color: var(--navy); text-decoration: underline; text-decoration-color: var(--channel); text-underline-offset: 6px; }
.toggle a { text-decoration: none; }

/* Bands */
.band { padding: 96px 0; }
.band--white { background: var(--white); }
.hero { padding: 104px 0 88px; }
.hero .button { margin-top: 12px; }
.lines { color: var(--channel-deep); margin: 48px 0 0; max-width: none; }
.tide { height: 12px; background: url(/assets/wave.svg) repeat-x center / 24px 12px; }

.button {
  display: inline-block;
  padding: 13px 22px;
  background: var(--channel-deep);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}
.button:hover { background: var(--navy); color: #fff; }

/* Services: numbered rows on hairlines. */
.services { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0 56px; }
.services li { border-top: 1px solid var(--hairline); padding: 28px 0 20px; }
.services .num { display: block; font: 300 28px/1 var(--font-display); color: var(--aqua); margin-bottom: 14px; }
.services p { margin: 0; }

/* Principles: the channel rule is this view's one accent. */
.principles { list-style: none; margin: 36px 0 0; padding: 0; max-width: 65ch; }
.principles li { position: relative; padding: 18px 0 18px 32px; border-top: 1px solid var(--hairline); }
.principles li::before { content: ''; position: absolute; left: 0; top: 31px; width: 16px; height: 2px; background: var(--channel); }
.principles strong { color: var(--navy); font-weight: 600; }

/* About */
.about { display: grid; gap: 40px; align-items: start; }
.portrait { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; margin: 0; }
.portrait--tile figcaption { margin-top: 10px; font-size: 13.5px; }
.role { color: var(--body); margin: 8px 0 24px; }
.stats { display: grid; gap: 0 32px; margin: 32px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; border-top: 1px solid var(--hairline); padding: 18px 0; }
.stats dd { margin: 0 0 4px; font: 300 36px/1.1 var(--font-display); color: var(--aqua); }
.stats dt { font-size: 15px; }

/* Contact */
.contact { margin: 36px 0 0; max-width: 65ch; }
.contact div { display: grid; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--hairline); }
.contact dt { color: var(--channel-deep); padding-top: 4px; }
.contact dd { margin: 0; font-size: 18px; color: var(--navy); }

/* Footer: navy ground, reversed mark. */
.foot { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 48px 0; font-size: 14.5px; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.foot .logo { width: 150px; }
.foot p { margin: 0; }
.foot a { color: #fff; }
.foot__row p:last-child { margin-left: auto; }

.notfound { min-height: 70vh; }
.notfound .top__brand { margin-bottom: 48px; }
.notfound .display { margin-bottom: 20px; }

@media (min-width: 760px) {
  .services { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 280px 1fr; gap: 64px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .contact div { grid-template-columns: 180px 1fr; }
}
@media (max-width: 759px) {
  :root { --gutter: 16px; }
  .top__nav { display: none; }
  .toggle { margin-left: auto; }
  .top__brand { width: 148px; }
  .band { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .portrait { max-width: 200px; }
  .foot__row p:last-child { margin-left: 0; }
}
