/* ==========================================================================
   Oceanic Pacific Management, LLC
   styles.css - single stylesheet, no build step, no external dependencies
   --------------------------------------------------------------------------
   Contents
   1.  Design tokens (custom properties)
   2.  Reset and base elements
   3.  Utilities
   4.  Layout: containers, sections, grids
   5.  Header, navigation, mobile menu
   6.  Hero patterns
   7.  Buttons
   8.  Cards, article previews, process list
   9.  Media: logos, banners, responsive images, fallbacks
   10. Prose and article layout
   11. Breadcrumbs, badges, meta lists, notices
   12. Forms
   13. Call to action bands
   14. Footer
   15. Motion, reduced motion, print
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Color: a depth-of-water palette, ocean-derived rather than nautical */
  --c-abyss: #0a2540;
  --c-deep: #0e3a5a;
  --c-harbor: #0f5474;
  --c-teal: #1f7a78;
  --c-teal-soft: #7fc6c2;
  --c-slate: #4b5b66;
  --c-ink: #2b3a44;
  --c-mist: #f5f8f9;
  --c-shell: #eef3f5;
  --c-paper: #ffffff;
  --c-line: #dce5e9;
  --c-line-dark: rgba(255, 255, 255, 0.16);
  --c-amber: #b4703c;
  --c-amber-soft: #e3a972;

  /* Semantic color roles */
  --bg-page: var(--c-paper);
  --bg-alt: var(--c-mist);
  --bg-dark: var(--c-abyss);
  --text-body: var(--c-ink);
  --text-muted: var(--c-slate);
  --text-inverse: #eaf2f5;
  --text-inverse-muted: #b9cdd7;
  --link: var(--c-harbor);
  --link-hover: var(--c-deep);
  --focus-ring: #0f5474;
  --focus-ring-inverse: #7fc6c2;

  /* Typography: system stacks only, so there is no network font request */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", "Hoefler Text", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-utility: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono",
    "Roboto Mono", Menlo, Consolas, monospace;

  --fs-100: 0.78rem;
  --fs-200: 0.875rem;
  --fs-300: 1rem;
  --fs-400: 1.0625rem;
  --fs-500: clamp(1.15rem, 0.4vw + 1.05rem, 1.3rem);
  --fs-600: clamp(1.35rem, 0.7vw + 1.15rem, 1.6rem);
  --fs-700: clamp(1.6rem, 1.2vw + 1.25rem, 2.1rem);
  --fs-800: clamp(2rem, 2vw + 1.4rem, 2.9rem);
  --fs-900: clamp(2.3rem, 3.2vw + 1.4rem, 3.75rem);

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.7;
  --lh-loose: 1.8;
  --tracking-wide: 0.14em;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;
  --section-y: clamp(3.5rem, 6vw, 6.5rem);

  /* Containers */
  --w-narrow: 44rem;
  --w-text: 54rem;
  --w-container: 70rem;
  --w-wide: 80rem;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  /* Radii, shadows, transitions */
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow: 0 6px 20px -8px rgba(10, 37, 64, 0.16);
  --shadow-lg: 0 24px 60px -30px rgba(10, 37, 64, 0.42);
  --t-fast: 140ms ease;
  --t-base: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Breakpoint reference values (for documentation and JS parity).
     Media queries below use these same numbers literally, because
     custom properties cannot be used inside media query conditions. */
  --bp-sm: 30rem;
  --bp-md: 48rem;
  --bp-lg: 62rem;
  --bp-xl: 75rem;
}

/* ==========================================================================
   2. Reset and base elements
   ========================================================================== */

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

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

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.is-nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-abyss);
  margin: 0 0 var(--sp-4);
  line-height: var(--lh-snug);
  letter-spacing: -0.011em;
}

h1 {
  font-size: var(--fs-900);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-700);
}

h3 {
  font-size: var(--fs-600);
}

h4 {
  font-size: var(--fs-500);
}

p,
ul,
ol,
dl,
figure,
table {
  margin: 0 0 var(--sp-5);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--link-hover);
}

strong {
  font-weight: 650;
  color: var(--c-abyss);
}

img,
svg,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: var(--sp-2);
}

hr {
  border: 0;
  height: 1px;
  background: var(--c-line);
  margin: var(--sp-7) 0;
}

/* Consistent, always-visible focus treatment */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.section--dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible {
  outline-color: var(--focus-ring-inverse);
}

::selection {
  background: var(--c-teal-soft);
  color: var(--c-abyss);
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--c-abyss);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--fs-200);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.eyebrow {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-teal);
  margin: 0 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 500;
}

/* Signature motif: a waterline rule that trails every section eyebrow */
.eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 5.5rem;
  background: linear-gradient(
    to right,
    var(--c-amber) 0%,
    var(--c-teal-soft) 60%,
    transparent 100%
  );
}

.section--dark .eyebrow,
.hero .eyebrow {
  color: var(--c-amber-soft);
}

.section--dark .eyebrow::after,
.hero .eyebrow::after {
  background: linear-gradient(
    to right,
    var(--c-amber-soft) 0%,
    var(--c-teal-soft) 60%,
    transparent 100%
  );
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  display: none;
}

.lede {
  font-size: var(--fs-500);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: var(--w-text);
}

.section--dark .lede {
  color: var(--text-inverse-muted);
}

.text-center {
  text-align: center;
}

.measure {
  max-width: var(--w-text);
}

.waterline {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    to right,
    transparent,
    var(--c-line) 15%,
    var(--c-line) 85%,
    transparent
  );
}

/* ==========================================================================
   4. Layout: containers, sections, grids
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--w-narrow);
}

.container--text {
  max-width: var(--w-text);
}

.container--wide {
  max-width: var(--w-wide);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.62);
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
  background-image: radial-gradient(
    120% 90% at 12% 0%,
    #123c5c 0%,
    var(--c-abyss) 58%,
    #071a2e 100%
  );
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark a {
  color: var(--c-teal-soft);
}

.section--dark a:hover {
  color: #fff;
}

.section--dark strong {
  color: #fff;
}

.section__head {
  max-width: var(--w-text);
  margin-bottom: var(--sp-8);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

.split {
  display: grid;
  gap: var(--sp-7);
  align-items: start;
}

@media (min-width: 48rem) {
  .grid {
    gap: var(--sp-6);
  }

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

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

@media (min-width: 62rem) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--sp-9);
  }

  .split--media-first > .split__media {
    order: -1;
  }
}

/* ==========================================================================
   5. Header, navigation, mobile menu
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Deep header: the supplied logo artwork is drawn in light ink and needs a
     dark surface. On the homepage this also runs straight into the hero. */
  background: rgba(9, 32, 55, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header :focus-visible {
  outline-color: var(--focus-ring-inverse);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  /* Tall enough to seat the doubled logo with breathing room */
  min-height: 7rem;
  padding-block: var(--sp-2);
}

/* --- Brand and logo lockup --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: #fff;
  /* Allowed to shrink so the menu button always fits, down to 320px wide */
  flex: 0 1 auto;
  min-width: 0;
}

.brand:hover {
  color: #fff;
  opacity: 0.88;
}

/* Shown only if a logo file is missing, so the header always names the site */
.brand__fallback {
  display: none;
  align-items: center;
  gap: var(--sp-3);
}

.brand__logo-wrap.is-fallback .brand__fallback {
  display: flex;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand__name-main {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.brand__name-sub {
  font-family: var(--font-utility);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-inverse-muted);
  margin-top: 2px;
}

/* Reusable logo classes.
   .logo--mark   = the isolated emblem; legible on light or dark surfaces
   .logo--lockup = the full horizontal lockup, whose script wordmark is drawn
                   in light ink and therefore needs a dark surface behind it
   .logo--dark / .logo--light remain available if true ink variants are ever
   supplied for the artwork. */
.logo {
  display: block;
  width: auto;
  object-fit: contain;
}

/* Header logo at double the original height. The lockup is 2.8:1, so 5.8rem tall
   is about 260px wide; on narrow screens the width cap below takes over so the
   menu button always has room. */
.logo--horizontal {
  height: 5.8rem;
  width: auto;
  max-width: 100%;
}

/* Below the desktop breakpoint the logo competes with the menu button, so it is
   capped by width and lets height follow the aspect ratio. */
@media (max-width: 61.9375rem) {
  .logo--horizontal {
    height: auto;
    width: clamp(10rem, 46vw, 16.25rem);
  }
}

.logo--mark {
  height: 2.6rem;
  width: auto;
}

.logo--lockup {
  width: min(13rem, 100%);
  height: auto;
}

.logo--about {
  width: min(15rem, 100%);
  height: auto;
}

.logo--dark,
.logo--light {
  /* Variant selection is done in the markup; these hooks exist so a single
     supplied file can be restyled without editing every page. */
  background: transparent;
}

/* Contained tile for a future initiative logo. The pattern is available in
   CSS so it can be reused later; nothing on the site renders it today. */
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: var(--sp-5);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.logo-tile img {
  max-height: 4.5rem;
  width: auto;
  object-fit: contain;
}

/* --- Primary navigation --- */
.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.4vw, 1.1rem);
  margin: 0;
  padding: 0;
}

.nav__list li + li {
  margin-top: 0;
}

.nav__link {
  display: inline-block;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-200);
  font-weight: 550;
  letter-spacing: 0.01em;
  color: #dceaf0;
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Current page is marked with both a rule and bolder ink, never color alone */
.nav__link[aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: -2px;
  height: 2px;
  background: var(--c-amber-soft);
  border-radius: var(--radius-pill);
}

.nav__cta {
  margin-left: var(--sp-3);
}

/* --- Mobile toggle --- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: var(--fs-200);
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-toggle__icon {
  display: block;
  position: relative;
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
}

.nav-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast), top var(--t-base);
}

.nav-toggle__icon span:nth-child(1) {
  top: 0;
}

.nav-toggle__icon span:nth-child(2) {
  top: 5px;
}

.nav-toggle__icon span:nth-child(3) {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* Mobile layout for the menu. Without JavaScript the menu list stays in the
   document and remains reachable, so navigation never depends on scripting. */
@media (max-width: 61.9375rem) {
  /* Anchored to the bottom edge of the header rather than a fixed offset, so
     the panel stays aligned if the header grows taller on a narrow screen. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #092037;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    max-height: 78vh;
    overflow-y: auto;
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav__link {
    display: block;
    padding: var(--sp-4) var(--sp-2);
    font-size: var(--fs-400);
    border-radius: 0;
  }

  .nav__link[aria-current="page"]::after {
    left: var(--sp-2);
    right: auto;
    width: 1.75rem;
    bottom: 0.65rem;
  }

  .nav__cta {
    margin: var(--sp-5) var(--sp-2) 0;
    display: block;
  }

  .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* JS adds .nav--collapsible once it can control the menu */
  .nav--collapsible[hidden] {
    display: none;
  }
}

/* Very narrow phones: drop the secondary line so the lockup stays on one row */
@media (max-width: 26rem) {
  .brand__name-sub {
    display: none;
  }

  .brand__name-main {
    font-size: 1rem;
  }
}

@media (min-width: 62rem) {
  .nav-toggle {
    display: none;
  }

  .nav[hidden] {
    display: flex !important;
  }
}

/* ==========================================================================
   6. Hero patterns
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  color: var(--text-inverse);
  background-color: var(--c-abyss);
  /* Depth gradient stands in for a photograph. If assets/images/hero-ocean.jpg
     is present it layers on top of this; if it is missing, the gradient alone
     renders and nothing appears broken. */
  background-image: linear-gradient(
    180deg,
    rgba(10, 37, 64, 0.72) 0%,
    rgba(10, 37, 64, 0.9) 55%,
    rgba(6, 22, 38, 0.97) 100%
  ),
  radial-gradient(140% 120% at 78% 8%, #1c5f7e 0%, #0d3251 42%, #071a2e 100%);
  background-size: cover;
  background-position: center;
  padding-block: clamp(4rem, 9vw, 8.5rem);
}

.hero--with-photo {
  background-image: linear-gradient(
      180deg,
      rgba(10, 37, 64, 0.78) 0%,
      rgba(10, 37, 64, 0.88) 55%,
      rgba(6, 22, 38, 0.96) 100%
    ),
    url("assets/images/hero-ocean.jpg"),
    radial-gradient(140% 120% at 78% 8%, #1c5f7e 0%, #0d3251 42%, #071a2e 100%);
}

.hero--page {
  padding-block: clamp(3rem, 6vw, 5.25rem);
}

.hero h1 {
  color: #fff;
  max-width: 22ch;
}

.hero--page h1 {
  max-width: 30ch;
}

.hero__lede {
  font-size: var(--fs-500);
  line-height: 1.6;
  color: var(--text-inverse-muted);
  max-width: 58ch;
  margin-bottom: var(--sp-7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* Thin horizon line at the base of every hero */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--c-teal-soft) 30%,
    var(--c-amber-soft) 70%,
    transparent
  );
  opacity: 0.55;
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 0.8rem 1.4rem;
  min-height: 2.85rem;
  font-family: var(--font-body);
  font-size: var(--fs-200);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
    border-color var(--t-fast), transform var(--t-fast);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--c-harbor);
  color: #fff;
  border-color: var(--c-harbor);
}

.btn--primary:hover {
  background: var(--c-deep);
  border-color: var(--c-deep);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--c-harbor);
  border-color: var(--c-line);
}

.btn--ghost:hover {
  border-color: var(--c-harbor);
  background: var(--c-mist);
  color: var(--c-deep);
}

.btn--light {
  background: #fff;
  color: var(--c-abyss);
  border-color: #fff;
}

.btn--light:hover {
  background: var(--c-shell);
  color: var(--c-abyss);
  border-color: var(--c-shell);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn[aria-disabled="true"],
.btn:disabled {
  background: var(--c-shell);
  color: var(--c-slate);
  border-color: var(--c-line);
  cursor: not-allowed;
  opacity: 1;
}

.btn[aria-disabled="true"]:hover,
.btn:disabled:hover {
  background: var(--c-shell);
  color: var(--c-slate);
  transform: none;
}

/* ==========================================================================
   8. Cards, article previews, process list
   ========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base),
    transform var(--t-base);
}

.card > *:last-child {
  margin-bottom: 0;
}

.card__title {
  font-size: var(--fs-500);
  margin-bottom: var(--sp-3);
}

.card__text {
  color: var(--text-muted);
  font-size: var(--fs-300);
  margin-bottom: 0;
}

.card__marker {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-teal);
  display: block;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-line);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--c-line-dark);
  box-shadow: none;
}

.section--dark .card__text {
  color: var(--text-inverse-muted);
}

.section--dark .card__marker {
  color: var(--c-teal-soft);
  border-color: var(--c-line-dark);
}

/* --- Article preview cards --- */
.article-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-teal);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base),
    transform var(--t-base);
}

.article-card:hover,
.article-card:focus-within {
  border-color: var(--c-slate);
  border-top-color: var(--c-amber);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.article-card__topic {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.article-card__title {
  font-size: var(--fs-500);
  margin: 0;
}

.article-card__title a {
  color: var(--c-abyss);
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--c-harbor);
  text-decoration: underline;
}

.article-card__excerpt {
  color: var(--text-muted);
  font-size: var(--fs-300);
  margin: 0;
}

.article-card__more {
  margin: auto 0 0;
  padding-top: var(--sp-4);
  font-size: var(--fs-200);
  font-weight: 650;
}

.article-card__more a {
  text-decoration: none;
}

.article-card__more a:hover {
  text-decoration: underline;
}

.article-card__more a::after {
  content: " \2192";
}

/* --- Process list: an ordered sequence, so numbering carries meaning --- */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: stage;
  display: grid;
  gap: 0;
}

.process__item {
  counter-increment: stage;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: var(--sp-4);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--c-line);
  margin: 0;
}

.process__item:last-child {
  border-bottom: 1px solid var(--c-line);
}

.process__item::before {
  content: counter(stage, decimal-leading-zero);
  font-family: var(--font-utility);
  font-size: var(--fs-200);
  color: var(--c-teal);
  letter-spacing: 0.06em;
  padding-top: 0.28rem;
}

.process__item h3 {
  font-size: var(--fs-500);
  margin-bottom: var(--sp-2);
}

.process__item p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 62rem) {
  .process__item {
    grid-template-columns: 3.25rem minmax(0, 15rem) minmax(0, 1fr);
    align-items: baseline;
    gap: var(--sp-5);
  }

  .process__item h3 {
    margin-bottom: 0;
  }
}

/* --- Definition-style capability list --- */
.capability {
  padding-top: var(--sp-7);
  margin-top: var(--sp-7);
  border-top: 1px solid var(--c-line);
}

.capability:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.capability h3 {
  margin-bottom: var(--sp-4);
}

.capability p:last-child {
  margin-bottom: 0;
}

.capability__label {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-teal);
  display: block;
  margin-bottom: var(--sp-2);
}

/* ==========================================================================
   9. Media: banners, responsive images, fallbacks
   ========================================================================== */

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Wide initiative banner. The frame owns the aspect ratio so the image can
   never stretch, and object-fit keeps the artwork proportional. */
.initiative-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  background: linear-gradient(150deg, #0e3a5a 0%, #12557a 45%, #1f7a78 100%);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.section--dark .initiative-banner,
.initiative-banner--on-dark {
  border-color: var(--c-line-dark);
}

.initiative-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fallback treatment: applied by script.js when the banner file is absent.
   A calm gradient plate with a label, rather than a broken image icon. */
.initiative-banner.is-fallback .initiative-banner__img {
  display: none;
}

.initiative-banner.is-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  /* The first layer is a scrim that keeps the caption above 4.5:1 against
     every stop of the gradient plate underneath it. */
  background-image: linear-gradient(
      180deg,
      rgba(7, 26, 46, 0.42) 0%,
      rgba(7, 26, 46, 0.58) 100%
    ),
    radial-gradient(
      circle at 68% 26%,
      rgba(227, 169, 114, 0.4) 0%,
      rgba(227, 169, 114, 0) 42%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07) 0 1px,
      rgba(255, 255, 255, 0) 1px 14px
    );
}

.initiative-banner__caption {
  display: none;
}

.initiative-banner.is-fallback .initiative-banner__caption {
  display: flex;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  text-align: center;
  padding: var(--sp-6);
  color: #fff;
}

.initiative-banner__caption strong {
  font-family: var(--font-display);
  font-size: var(--fs-600);
  font-weight: 600;
  color: #fff;
}

.initiative-banner__caption span {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

/* If a logo file fails to load, the company name is shown as text. No invented
   placeholder artwork is used anywhere on this site. */
.brand__logo-wrap {
  display: flex;
  align-items: center;
}

.brand__logo-wrap.is-fallback .logo {
  display: none;
}

.about-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5) var(--sp-6);
  padding: var(--sp-6);
  /* Deep plate: the supplied lockup is drawn in light ink, so it needs a dark
     surface to read against. */
  background: var(--c-abyss);
  background-image: radial-gradient(
    120% 130% at 20% 0%,
    #14506b 0%,
    var(--c-abyss) 62%,
    #071a2e 100%
  );
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: var(--sp-7);
}

.about-logo p {
  margin: 0;
  flex: 1 1 14rem;
  font-size: var(--fs-200);
  line-height: 1.65;
  color: var(--text-inverse-muted);
}

/* ==========================================================================
   10. Prose and article layout
   ========================================================================== */

.prose {
  max-width: var(--w-text);
}

.prose > h2 {
  margin-top: var(--sp-8);
  padding-top: var(--sp-2);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose > h3 {
  margin-top: var(--sp-7);
}

.prose p,
.prose li {
  font-size: var(--fs-400);
  line-height: var(--lh-loose);
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li::marker {
  color: var(--c-teal);
}

.prose blockquote {
  margin: var(--sp-7) 0;
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  border-left: 3px solid var(--c-amber);
  font-family: var(--font-display);
  font-size: var(--fs-500);
  color: var(--c-deep);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.article-header {
  padding-bottom: var(--sp-6);
  margin-bottom: var(--sp-7);
  border-bottom: 1px solid var(--c-line);
}

.article-header h1 {
  font-size: var(--fs-800);
  max-width: 34ch;
}

.article-header .lede {
  margin-bottom: 0;
}

.article-topic {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: var(--sp-4);
}

.article-related {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: var(--c-mist);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.article-related h2 {
  font-size: var(--fs-500);
  margin-bottom: var(--sp-4);
}

.article-related ul {
  margin: 0;
  padding-left: 1.15rem;
}

.callout {
  margin: var(--sp-7) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--c-mist);
  border-left: 3px solid var(--c-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout > *:last-child {
  margin-bottom: 0;
}

.callout h3 {
  font-size: var(--fs-500);
  margin-bottom: var(--sp-3);
}

/* ==========================================================================
   11. Breadcrumbs, badges, meta lists, notices
   ========================================================================== */

.breadcrumbs {
  padding-block: var(--sp-5) 0;
  font-size: var(--fs-200);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}

.breadcrumbs li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--c-line);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-ink);
  font-weight: 600;
}

/* Status badge carries a shape and a word, so meaning never rests on color */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.7rem 0.3rem 0.55rem;
  border: 1px solid var(--c-amber);
  border-radius: var(--radius-pill);
  background: rgba(180, 112, 60, 0.08);
  color: #8a5225;
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.status-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex: 0 0 auto;
}

.section--dark .status-badge,
.hero .status-badge {
  color: var(--c-amber-soft);
  border-color: var(--c-amber-soft);
  background: rgba(227, 169, 114, 0.12);
}

.meta-list {
  margin: 0 0 var(--sp-6);
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

.meta-list div {
  display: grid;
  gap: 2px;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}

.meta-list dt {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--c-abyss);
}

@media (min-width: 48rem) {
  .meta-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-5);
  }
}

.notice {
  padding: var(--sp-5);
  background: var(--c-mist);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-slate);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--fs-300);
  color: var(--text-muted);
}

.notice > *:last-child {
  margin-bottom: 0;
}

.notice strong {
  color: var(--c-abyss);
}

.notice--legal {
  margin-bottom: var(--sp-7);
}

.policy-meta {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

/* ==========================================================================
   12. Forms
   ========================================================================== */

.form {
  display: grid;
  gap: var(--sp-5);
  max-width: 38rem;
}

.field {
  display: grid;
  gap: var(--sp-2);
}

.field__label {
  font-size: var(--fs-200);
  font-weight: 650;
  color: var(--c-abyss);
}

.field__hint {
  font-size: var(--fs-100);
  color: var(--text-muted);
}

.field__req {
  color: #8a5225;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: var(--fs-300);
  color: var(--c-ink);
  background: var(--c-paper);
  border: 1px solid var(--c-slate);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--c-harbor);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--c-harbor);
  box-shadow: 0 0 0 3px rgba(15, 84, 116, 0.14);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

.form__status {
  font-size: var(--fs-200);
  color: var(--c-ink);
  background: var(--c-shell);
  border-left: 3px solid var(--c-harbor);
  padding: var(--sp-3) var(--sp-4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.form__status:empty {
  display: none;
}

/* ==========================================================================
   13. Call to action bands
   ========================================================================== */

.cta-band {
  background: var(--c-abyss);
  background-image: linear-gradient(
    115deg,
    #0a2540 0%,
    #0e3a5a 55%,
    #14506b 100%
  );
  color: var(--text-inverse);
  padding-block: clamp(3rem, 5vw, 4.75rem);
}

.cta-band h2 {
  color: #fff;
  max-width: 26ch;
}

.cta-band p {
  color: var(--text-inverse-muted);
  max-width: 52ch;
}

.cta-band__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

.cta-band__inner > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.cta-band p:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 62rem) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: var(--sp-9);
  }
}

/* ==========================================================================
   14. Footer
   ========================================================================== */

.site-footer {
  background: #071a2e;
  color: var(--text-inverse-muted);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: var(--fs-300);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer a {
  color: #cfe1e9;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--c-line-dark);
}

@media (min-width: 48rem) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    gap: var(--sp-8);
  }
}

.footer__about p {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-200);
  line-height: 1.65;
  max-width: 34ch;
}

.footer__heading {
  font-family: var(--font-utility);
  font-size: var(--fs-100);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
  font-weight: 500;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-200);
}

.footer__list li + li {
  margin-top: var(--sp-3);
}

.footer__bottom {
  display: grid;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  font-size: var(--fs-200);
}

.footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin: 0;
  padding: 0;
}

.footer__legal li {
  margin: 0;
}

.footer__copyright {
  margin: 0;
  color: #9fb7c4;
}

@media (min-width: 48rem) {
  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ==========================================================================
   15. Motion, reduced motion, print
   ========================================================================== */

/* Scroll reveal is opt-in and only activates once JS confirms support. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }

  .article-card:hover {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .card,
  .article-card,
  input,
  select,
  textarea {
    border-color: var(--c-ink);
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  a {
    color: #000;
  }

  .hero {
    background: none !important;
    color: #000;
    padding-block: 0;
  }

  .hero h1,
  .hero__lede {
    color: #000;
  }
}
