/* ==========================================================================
   Kamship Global — stylesheet
   Brand: Night Navy #172D45 · Signal Blue #1F6B85 · Lane Amber #C20F15
   Type:  Plus Jakarta Sans (self-hosted variable font)
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
/* Palette taken from the Kamship Global logo:
     navy  #172D45  the wordmark and the dark orbit rings
     red   #C20F15  the globe arcs
     cyan  #2A93B4  the light orbit ring and its nodes
     grey  #606C78  the word GLOBAL
   Two of those cannot be used as-is for text. The logo cyan is only 3.5:1 on
   white, so links and buttons use a darkened version and the true cyan is kept
   for graphics. The logo red is only 2.3:1 on navy, so dark sections use a
   lifted red. Every pairing below has been checked against WCAG AA. */
:root {
  /* brand, exactly as drawn */
  --navy:        #172D45;
  --logo-red:    #C20F15;
  --logo-cyan:   #2A93B4;
  --logo-grey:   #606C78;

  /* navy family */
  --navy-deep:   #0E1F31;
  --navy-soft:   #22384F;
  --navy-line:   rgba(195, 204, 216, 0.16);

  /* red — the accent */
  --red:         #C20F15;   /* 6.2:1 on white */
  --red-deep:    #A80D12;   /* hover */
  --red-light:   #F07B80;   /* 5.2:1 on navy, for dark sections */
  --red-wash:    rgba(194, 15, 21, 0.10);

  /* cyan — links and calls to action */
  --cyan:        #2A93B4;   /* graphics only, never small text on white */
  --cyan-ink:    #1F6B85;   /* 6.0:1 on white — links, button fills */
  --cyan-deep:   #185466;   /* hover */
  --cyan-light:  #5FB8D4;   /* 6.2:1 on navy — links in dark sections */
  --cyan-wash:   rgba(42, 147, 180, 0.12);

  /* neutrals */
  --slate:       #3A4757;
  --muted:       #4D5762;
  --grey:        #606C78;
  --line:        #DFE5EC;
  --line-dark:   rgba(195, 204, 216, 0.16);
  --paper:       #F5F7FA;
  --white:       #FFFFFF;
  --soft:        #C3CCD8;
  --dim:         #93A1B2;

  /* status */
  --green:       #15803D;
  --green-light: #4ADE80;
  --red-status:  #F07B80;

  /* shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* depth */
  --shadow-sm: 0 2px 8px -2px rgba(23, 45, 69, 0.10);
  --shadow-md: 0 14px 30px -18px rgba(23, 45, 69, 0.38);
  --shadow-lg: 0 34px 70px -34px rgba(23, 45, 69, 0.58);

  /* rhythm */
  --max: 1200px;
  --gutter: 24px;
  --read: 66ch;
  --sec-y: clamp(64px, 5.2vw, 110px);

  /* type scale */
  --t--2: 0.78rem;
  --t--1: 0.875rem;
  --t-0:  1.0625rem;
  --t-1:  1.1875rem;
  --t-2:  1.4375rem;
  --t-3:  1.875rem;
  --t-4:  clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --t-5:  clamp(2.4rem, 1.5rem + 4vw, 4.4rem);

  /* motion */
  --ease: cubic-bezier(0.22, 0.75, 0.3, 1);
  --fast: 180ms;
  --slow: 620ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  /* `clip`, not `hidden`: the off-canvas nav parks off-screen to the right and
     must not widen the page, but `hidden` here would make <html> a scroll
     container and break window scrolling. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--t-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--cyan-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan-deep); }

:focus-visible {
  outline: 3px solid var(--cyan-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 10px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 12px 18px; border-radius: var(--r-xs); font-weight: 700;
}
.skip:focus { left: 14px; }

/* ------------------------------------------------------------ typography -- */
h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
}
h1 { font-size: var(--t-5); }
h2 { font-size: var(--t-4); }
h3 { font-size: var(--t-2); font-weight: 700; letter-spacing: -0.018em; line-height: 1.22; }
h4 { font-size: var(--t-1); font-weight: 700; letter-spacing: -0.012em; }

p { margin: 0 0 1.05em; max-width: var(--read); }
p:last-child { margin-bottom: 0; }

.lead { font-size: var(--t-1); line-height: 1.55; color: var(--slate); max-width: 58ch; }
.small { font-size: var(--t--1); color: var(--muted); }
.fine  { font-size: var(--t--2); color: var(--muted); }  /* --dim fails contrast on white */
.tnum  { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* Section eyebrow — a route dot, not a tracked-out caps label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t--1); font-weight: 700; color: var(--cyan-ink);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); flex: none;
  box-shadow: 0 0 0 4px rgba(194, 15, 21, 0.18);
}
.on-dark .eyebrow { color: var(--cyan-light); }

/* ---------------------------------------------------------------- layout -- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gutter) * 2), 860px); margin-inline: auto; }

section { padding: var(--sec-y) 0; position: relative; }

.on-dark { background: var(--navy); color: var(--white); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p, .on-dark li { color: var(--soft); }
.on-dark .lead { color: #DDE5EF; }
.on-dark a:not(.btn) { color: var(--cyan-light); }
.on-dark .small, .on-dark .fine { color: var(--dim); }

.on-deep { background: var(--navy-deep); }
.on-paper { background: var(--paper); }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.split.center { align-items: center; }
.split.reverse > :first-child { order: 2; }

.stack-sm > * + * { margin-top: 12px; }
.mt-l { margin-top: 40px; }
.mt-m { margin-top: 26px; }

/* --------------------------------------------------------------- header -- */
.progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan-ink), var(--red));
  z-index: 120; transition: width 90ms linear;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
.site-header.stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.topbar {
  background: var(--navy);
  color: var(--soft);
  font-size: var(--t--2);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: var(--soft); text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-contact { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-live { display: inline-flex; align-items: center; gap: 8px; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); flex: none;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  60%      { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.site-header.stuck .navbar { min-height: 66px; transition: min-height var(--fast) var(--ease); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; transition: height var(--fast) var(--ease); }
.site-header.stuck .brand img { height: 32px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li { list-style: none; position: relative; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav a, .nav button.nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-sm);
  color: var(--navy); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav a:hover, .nav button.nav-toggle:hover { background: var(--paper); color: var(--cyan-ink); }
/* .nav a is more specific than .btn-primary, so restate the button here */
.nav a.btn-primary { background: var(--cyan-ink); color: var(--white); padding: 11px 22px; }
.nav a.btn-primary:hover { background: var(--cyan-deep); color: var(--white); }
.nav a.btn { white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--cyan-ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--red); border-radius: 2px;
}
.nav .chev { width: 12px; height: 12px; flex: none; opacity: 0.6; transition: transform var(--fast) var(--ease); }
.nav-item.open .chev { transform: rotate(180deg); }

/* mega dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 620px; padding: 22px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 12px 14px; border-radius: var(--r-sm);
  text-decoration: none; color: var(--navy);
}
.dropdown a:hover { background: var(--paper); }
.dropdown strong { display: block; font-size: 0.97rem; font-weight: 700; }
.dropdown span { display: block; font-size: var(--t--2); color: var(--muted); font-weight: 400; line-height: 1.45; margin-top: 2px; }

.menu-btn {
  display: none; align-items: center; gap: 9px;
  padding: 11px 16px; min-height: 46px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); font-weight: 700; color: var(--navy); cursor: pointer;
}
.burger { width: 17px; height: 12px; position: relative; flex: none; }
.burger span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 5px; }
.burger span:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--cyan-ink); color: var(--white); box-shadow: 0 10px 24px -14px rgba(31, 107, 133, 0.9); }
.btn-primary:hover { background: var(--cyan-deep); color: var(--white); box-shadow: 0 16px 30px -14px rgba(31, 107, 133, 0.95); }

/* White on the brand red is 6.2:1; navy on red would be 2.3:1 and fail. */
.btn-accent { background: var(--red); color: var(--white); }
.btn-accent:hover { background: var(--red-deep); color: var(--white); }

.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.on-dark .btn-ghost, .hero .btn-ghost, .page-head .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55); color: var(--white);
}
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-head .btn-ghost:hover {
  background: var(--white); color: var(--navy); border-color: var(--white);
}

.btn-sm { min-height: 42px; padding: 9px 20px; font-size: 0.92rem; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform var(--fast) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: clamp(54px, 5vw, 86px) 0 clamp(64px, 6vw, 104px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(8, 15, 31, 0.6));
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.55; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 4.5vw, 64px); align-items: center;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lead { color: #DCE5F0; max-width: 54ch; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; margin-bottom: 24px;
  border: 1px solid rgba(195, 204, 216, 0.28); border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: var(--t--1); font-weight: 600; color: var(--soft);
}
.hero-badge b { color: var(--white); font-weight: 700; }

/* rotating word in the headline */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span {
  grid-area: 1 / 1; color: var(--red);
  opacity: 0; transform: translateY(0.42em);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease);
}
.rotator > span.on { opacity: 1; transform: translateY(0); }
.rotator > span.out { opacity: 0; transform: translateY(-0.42em); }

.hero-note { margin-top: 24px; font-size: var(--t--1); color: var(--dim); }
.hero-note b { color: var(--soft); font-weight: 600; }

/* ----------------------------------------------- operations board (hero) -- */
.board {
  background: linear-gradient(170deg, #16223B 0%, #0C1526 100%);
  border: 1px solid rgba(195, 204, 216, 0.14);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.board-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-dark);
}
.clock { display: grid; gap: 1px; }
.clock span { font-size: var(--t--2); color: var(--dim); }
.clock time { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.clock.here time { color: var(--red); }

.board table { width: 100%; border-collapse: collapse; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.board th {
  text-align: left; padding: 15px 8px 8px; font-size: var(--t--2);
  font-weight: 600; color: var(--dim);
}
.board td { padding: 12px 8px; border-top: 1px solid rgba(195, 204, 216, 0.1); vertical-align: middle; color: var(--soft); }
.board td:first-child { font-weight: 700; color: var(--white); white-space: nowrap; }

.status { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--soft); }
.status::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--red); box-shadow: 0 0 0 3px rgba(194, 15, 21, 0.18);
}
.status.done::before { background: var(--green-light); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
.status.flag::before { background: var(--red-light); box-shadow: 0 0 0 3px rgba(240,123,128,0.22); }
.status.work::before { animation: pulse 2s var(--ease) infinite; }

.board-foot { margin-top: 14px; font-size: var(--t--2); color: var(--dim); }
.flip { animation: flipin 440ms var(--ease) both; }
@keyframes flipin {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ stats band -- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark); border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: var(--navy); padding: 32px 26px; }
.on-paper .stats { background: var(--line); }
.on-paper .stat { background: var(--white); }
.stat .num {
  display: block; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.1rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--white);
}
.on-paper .stat .num { color: var(--navy); }
.stat .num i { font-style: normal; color: var(--red); }
.stat .lab { display: block; margin-top: 10px; font-size: var(--t--1); color: var(--soft); line-height: 1.45; }
.on-paper .stat .lab { color: var(--muted); }

/* ---------------------------------------------------------------- cards -- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex; flex-direction: column;
  transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease), border-color var(--slow) var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #CBD8E6; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.975rem; color: var(--slate); }
.card .arrow-link { margin-top: auto; padding-top: 18px; }

.on-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}
.on-dark .card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(195, 204, 216, 0.3); }

.card-icon {
  width: 52px; height: 52px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(31, 107, 133, 0.1); color: var(--cyan-ink);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.card-icon svg { width: 25px; height: 25px; }
.card:hover .card-icon { background: var(--cyan-ink); color: var(--white); transform: scale(1.06); }
.on-dark .card-icon { background: rgba(95, 184, 212, 0.14); color: var(--cyan-light); }
.on-dark .card:hover .card-icon { background: var(--cyan-light); color: var(--navy); }

/* pillar card — numbered only where content is genuinely a set, not a sequence */
.pillar { padding: 0; border: 0; background: none; }
.pillar:hover { transform: none; box-shadow: none; }
.pillar .card-icon { background: rgba(194, 15, 21, 0.14); color: #B47A06; }
.on-dark .pillar .card-icon { background: rgba(194, 15, 21, 0.16); color: var(--red); }

/* service card with a top rule that draws in on hover */
.svc { position: relative; overflow: hidden; }
.svc::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan-ink), var(--red));
  transition: width var(--slow) var(--ease);
}
.svc:hover::before, .svc:focus-within::before { width: 100%; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.tags li {
  font-size: var(--t--2); font-weight: 600; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}
.on-dark .tags li { background: rgba(255,255,255,0.05); border-color: var(--line-dark); color: var(--soft); }

/* ------------------------------------------------------------- checklist -- */
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(31, 107, 133, 0.12);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 0.72em;
  width: 8px; height: 4px; border-left: 2px solid var(--cyan-ink); border-bottom: 2px solid var(--cyan-ink);
  transform: rotate(-45deg);
}
.on-dark .checks li::before { background: rgba(95, 184, 212, 0.16); }
.on-dark .checks li::after { border-color: var(--cyan-light); }

.checks.accent li::before { background: var(--red-wash); }
.checks.accent li::after { border-color: var(--red); }
.on-dark .checks.accent li::after { border-color: var(--red-light); }

/* ------------------------------------------------------------ desk tabs -- */
.tabs { margin-top: 36px; }
.tablist {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  margin-bottom: 30px; max-width: 100%; overflow-x: auto;
}
.on-dark .tablist { background: rgba(255,255,255,0.05); border-color: var(--line-dark); }
.tablist button {
  border: 0; background: none; cursor: pointer; white-space: nowrap;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; color: var(--muted);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.tablist button:hover { color: var(--navy); }
.on-dark .tablist button { color: var(--soft); }
.tablist button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.on-dark .tablist button[aria-selected="true"] { background: var(--white); color: var(--navy); }

.tabpanel[hidden] { display: none; }
.tabpanel { animation: fadeUp 460ms var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------- step track -- */
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding-top: 68px; }
.steps li::before {
  content: counter(st); position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; font-size: 1.22rem;
  box-shadow: 0 0 0 6px rgba(194, 15, 21, 0.16);
}
.steps li::after {
  content: ""; position: absolute; top: 23px; left: 62px; right: -22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.steps li:last-child::after { display: none; }
.on-dark .steps li::after { background: repeating-linear-gradient(90deg, rgba(195,204,216,0.3) 0 7px, transparent 7px 14px); }

/* --------------------------------------------------------------- marquee -- */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px; font-weight: 700; font-size: 1.05rem;
  color: var(--slate); white-space: nowrap;
}
.on-dark .marquee-item { color: var(--soft); }
.marquee-item::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none;
}

/* ----------------------------------------------------------------- table -- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white);
}
.on-dark .table-wrap { border-color: var(--line-dark); background: rgba(255,255,255,0.03); }
table.data { width: 100%; border-collapse: collapse; min-width: 540px; font-variant-numeric: tabular-nums; }
table.data th, table.data td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--paper); font-weight: 700; font-size: 0.93rem; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background var(--fast) var(--ease); }
table.data tbody tr:hover { background: var(--paper); }
.on-dark table.data th { background: rgba(255,255,255,0.06); color: var(--white); border-color: var(--line-dark); }
.on-dark table.data td { color: var(--soft); border-color: var(--line-dark); }
.on-dark table.data tbody tr:hover { background: rgba(255,255,255,0.04); }

/* --------------------------------------------------------------- pricing -- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price.featured { border-color: var(--navy); border-width: 2px; box-shadow: var(--shadow-md); }
.price .flag {
  position: absolute; top: -13px; left: 30px;
  background: var(--red); color: var(--navy);
  font-size: var(--t--2); font-weight: 800; padding: 5px 14px; border-radius: 999px;
}
.price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .amount sup { font-size: 1.1rem; font-weight: 700; top: -0.85em; }
.price .per { font-size: var(--t--1); color: var(--muted); margin-top: 6px; }
.price .checks { flex: 1; }
.price .btn { margin-top: 26px; width: 100%; }

/* --------------------------------------------------------------- quotes -- */
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; position: relative;
}
.quote::before {
  content: ""; position: absolute; top: 28px; left: 34px;
  width: 36px; height: 3px; background: var(--red); border-radius: 2px;
}
.quote blockquote { margin: 26px 0 22px; font-size: var(--t-1); line-height: 1.5; color: var(--navy); }
.quote figcaption { font-size: var(--t--1); color: var(--muted); }
.quote figcaption b { display: block; color: var(--navy); font-size: 1rem; }

.placeholder-note {
  border: 2px dashed var(--line); border-radius: var(--r-lg);
  padding: 30px; background: var(--paper); color: var(--muted);
}
.placeholder-note h3 { color: var(--navy); }

/* ------------------------------------------------------------ accordion -- */
.acc { border-top: 1px solid var(--line); }
.on-dark .acc { border-color: var(--line-dark); }
.acc details { border-bottom: 1px solid var(--line); }
.on-dark .acc details { border-color: var(--line-dark); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 700; font-size: var(--t-1); cursor: pointer;
  list-style: none; transition: color var(--fast) var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--cyan-ink); }
.acc .plus { position: relative; width: 20px; height: 20px; flex: none; }
.acc .plus::before, .acc .plus::after {
  content: ""; position: absolute; background: var(--cyan-ink); border-radius: 2px;
  transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease);
}
.acc .plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.acc .plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
.acc details[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.acc .acc-body { padding-bottom: 24px; animation: fadeUp 340ms var(--ease) both; }
.acc .acc-body p { color: var(--slate); }
.on-dark .acc .acc-body p { color: var(--soft); }

/* ----------------------------------------------------------- page header -- */
.page-head {
  background: var(--navy); color: var(--white);
  padding: clamp(52px, 5vw, 84px) 0 clamp(46px, 4.5vw, 70px);
  position: relative; overflow: hidden;
}
.page-head .hero-bg { opacity: 0.4; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 20ch; }
.page-head .lead { color: #DCE5F0; }
.crumb { font-size: var(--t--1); color: var(--dim); margin-bottom: 16px; }
.crumb a { color: var(--dim); text-decoration: none; }
.crumb a:hover { color: var(--white); text-decoration: underline; }
.crumb span { margin: 0 8px; }

/* --------------------------------------------------------------- article -- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--t-3); margin-top: 1.7em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; max-width: var(--read); }
.prose li { margin-bottom: 0.45em; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 26px;
  border-left: 4px solid var(--red); font-size: var(--t-1); color: var(--slate);
}

/* ----------------------------------------------------------------- forms -- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: var(--t--2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; min-height: 50px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 1rem; color: var(--navy); background: var(--white);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(31, 107, 133, 0.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: var(--t--2); color: var(--muted); margin-top: 16px; }

.contact-tile {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.on-dark .contact-tile { border-color: var(--line-dark); }
.contact-tile:last-child { border-bottom: 0; }
.contact-tile .card-icon { margin-bottom: 0; width: 46px; height: 46px; }
.contact-tile b { display: block; font-size: 1.05rem; }
.contact-tile a { font-weight: 600; text-decoration: none; }

/* --------------------------------------------------------------- cta band -- */
.cta-band { background: linear-gradient(135deg, #0B1526 0%, #14233F 55%, #0B1526 100%); position: relative; overflow: hidden; }
.cta-band .hero-bg { opacity: 0.4; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 19ch; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy-deep); color: var(--soft); padding: 72px 0 36px; font-size: 0.95rem; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px; }
.foot-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-logo { height: 36px; width: auto; margin-bottom: 18px; }
.foot-grid p { color: var(--dim); }
.foot-base {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: var(--t--2); color: var(--dim);
}
.foot-base a { color: var(--dim); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07); color: var(--soft);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.social-row a:hover { background: var(--cyan-ink); color: var(--white); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

/* back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast), background var(--fast) var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cyan-ink); }
.to-top svg { width: 19px; height: 19px; }

/* --------------------------------------------------------- scroll reveal -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"]  { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="zoom"]  { transform: scale(0.96); }
[data-reveal].in { transform: none; }

/* hero entrance (one orchestrated moment) */
.hero [data-enter] { opacity: 0; transform: translateY(16px); }
.hero.ready [data-enter] {
  animation: enter 760ms var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes enter { to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1060px) {
  .nav-list { gap: 0; }
  .nav a, .nav button.nav-toggle { padding: 10px 10px; font-size: 0.9rem; }
  .dropdown { min-width: 520px; }
}

@media (max-width: 940px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding-top: 0; padding-left: 70px; min-height: 48px; }
  .steps li::after { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .menu-btn { display: inline-flex; }
  /* backdrop-filter makes the header a containing block for fixed-position
     descendants, which would trap the off-canvas nav inside the header box. */
  .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: var(--white);
  }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: var(--white); z-index: 150;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 90px 22px 34px; overflow-y: auto;
    box-shadow: -20px 0 60px -30px rgba(23, 45, 69, 0.6);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 340ms var(--ease), visibility 340ms;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav > li, .nav-list > li { width: 100%; }
  .nav a, .nav button.nav-toggle { width: 100%; justify-content: space-between; padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 20px; border-bottom: 0; justify-content: center; }
  .dropdown {
    position: static; translate: none; min-width: 0; width: 100%;
    grid-template-columns: 1fr; padding: 4px 0 10px;
    border: 0; box-shadow: none; background: var(--paper);
    border-radius: var(--r-sm);
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-item.open .dropdown { display: grid; }
  .dropdown a { border-bottom: 0; padding: 11px 14px; }
  /* Below .site-header (z-index 100), because the nav panel lives inside the
     header's stacking context — a higher z-index here would paint the scrim
     over the menu and swallow every tap meant for it. */
  .nav-scrim {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(8, 15, 31, 0.5); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity var(--fast) var(--ease), visibility var(--fast);
  }
  .nav-scrim.on { opacity: 1; visibility: visible; }

  .g-3, .g-4, .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .board { padding: 16px; }
  .board td:nth-child(2), .board th:nth-child(2) { display: none; }
  .board td:first-child { white-space: normal; }
  .clock time { font-size: 1.1rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; min-height: 0; padding-block: 8px; }
  .topbar-live { display: none; }
  .to-top { right: 14px; bottom: 14px; }
}

/* --------------------------------------------------------- reduced motion */
@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;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero [data-enter] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .rotator > span { opacity: 0; }
  .rotator > span.on { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .site-header, .topbar, .to-top, .cta-band, .site-footer, .hero-bg { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ==========================================================================
   Jobs board, application form and form messaging
   ========================================================================== */

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* honeypot — off-screen rather than display:none, which some bots detect */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ jobs bar --- */
.jobs-bar {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  align-items: center; justify-content: space-between;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper);
}
.jobs-count { margin: 0; font-size: 0.97rem; color: var(--slate); }
.jobs-count b { color: var(--navy); font-variant-numeric: tabular-nums; }
.jobs-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.jobs-filter select {
  padding: 10px 14px; min-height: 42px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); font: inherit; font-size: 0.93rem; color: var(--navy);
}
.jobs-filter select:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(31,107,133,0.16); }

/* ----------------------------------------------------------- job cards --- */
.job-list { display: grid; gap: 18px; }

.job-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px;
  padding: 30px; background: var(--white);
  border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--slow) var(--ease), box-shadow var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.job-card:hover { border-color: #CBD8E6; border-left-color: var(--cyan-ink); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-card.featured { border-left-color: var(--red); }

.job-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.job-card h2 { font-size: var(--t-2); margin: 0; letter-spacing: -0.018em; line-height: 1.22; }
.job-card h2 a { color: var(--navy); text-decoration: none; }
.job-card h2 a:hover { color: var(--cyan-ink); }
.job-sum { font-size: 0.99rem; color: var(--slate); margin-bottom: 16px; max-width: 62ch; }

.chip {
  font-size: var(--t--2); font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.chip-accent { background: rgba(194,15,21,0.16); border-color: rgba(194,15,21,0.4); color: #8E0B10; }

.job-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.job-meta li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--t--1); color: var(--muted); font-weight: 600;
}
.job-meta svg { color: var(--cyan-ink); flex: none; }

.job-side {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 8px; padding-left: 28px; border-left: 1px solid var(--line);
}
.job-pay { font-weight: 700; color: var(--navy); font-size: 0.97rem; margin: 0; }
.job-side .btn { margin-top: 8px; }

/* ------------------------------------------------------- job fact list --- */
.job-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.job-facts dt { font-weight: 700; font-size: var(--t--1); color: var(--muted); }
.job-facts dd { margin: 0; font-size: 0.97rem; }
.job-facts .btn { margin-top: 24px; }

/* ---------------------------------------------------------- mini steps --- */
.mini-steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: ms; display: grid; gap: 16px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 46px; }
.mini-steps li::before {
  content: counter(ms); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.mini-steps b { display: block; font-size: 1rem; }
.mini-steps span { display: block; }

/* ------------------------------------------------------ form messaging --- */
.form-errors {
  background: #FEF2F2; border: 1px solid #FCA5A5; border-left: 4px solid #DC2626;
  border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 24px; color: #7F1D1D;
}
.form-errors b { display: block; margin-bottom: 8px; }
.form-errors ul { margin: 0; padding-left: 1.2em; }
.form-errors li { margin-bottom: 4px; }

.field input[type="file"] {
  padding: 11px 14px; background: var(--paper); cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  font: inherit; font-weight: 700; font-size: 0.9rem;
  margin-right: 14px; padding: 8px 16px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-xs);
  background: var(--white); color: var(--navy);
}
.field input[type="file"]::file-selector-button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 860px) {
  .job-card { grid-template-columns: 1fr; gap: 20px; }
  .job-side {
    padding-left: 0; padding-top: 20px;
    border-left: 0; border-top: 1px solid var(--line);
    align-items: stretch;
  }
  .job-side .btn { width: 100%; }
}
@media (max-width: 760px) {
  .jobs-bar { flex-direction: column; align-items: stretch; padding: 18px; }
  .jobs-filter { width: 100%; }
  .jobs-filter select { flex: 1 1 140px; }
  .job-card { padding: 24px 20px; }
  .job-facts dl { grid-template-columns: 1fr; gap: 2px 0; }
  .job-facts dt { margin-top: 10px; }
}

/* ==========================================================================
   Blog: category filter, post cards with images, pagination, draft notice
   ========================================================================== */

.blog-filter { display: flex; flex-wrap: wrap; gap: 9px; }
.blog-filter a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--navy);
  font-size: 0.91rem; font-weight: 600; text-decoration: none;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.blog-filter a:hover { border-color: var(--cyan-ink); color: var(--cyan-ink); }
.blog-filter a.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.blog-filter span { font-variant-numeric: tabular-nums; opacity: 0.55; font-weight: 700; }

.post-card { padding: 0; overflow: hidden; }
.post-card > :not(.post-thumb) { margin-left: 26px; margin-right: 26px; }
.post-card > .eyebrow { margin-top: 22px; }
.post-card > .arrow-link { margin-bottom: 26px; }
.post-card:not(:has(.post-thumb)) > .eyebrow { margin-top: 26px; }

.post-thumb { display: block; margin: 0; background: var(--paper); }
.post-thumb img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  transition: transform var(--slow) var(--ease);
}
.post-card:hover .post-thumb img { transform: scale(1.03); }

.post-meta { margin-bottom: 10px; font-variant-numeric: tabular-nums; }

.post-hero { margin: 0 0 34px; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

.post-byline {
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--t--1); color: var(--muted);
}

.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 46px; }
.pager a {
  min-width: 44px; min-height: 44px; padding: 10px 15px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); color: var(--navy);
  text-decoration: none; font-weight: 700; font-size: 0.93rem;
}
.pager a:hover { border-color: var(--cyan-ink); color: var(--cyan-ink); }
.pager a.on { background: var(--navy); border-color: var(--navy); color: var(--white); }

.draft-bar {
  background: var(--red-wash); border-bottom: 2px solid var(--red);
  color: var(--navy); padding: 13px var(--gutter); text-align: center;
  font-size: var(--t--1); font-weight: 600;
}
.draft-bar a { color: var(--red); margin-left: 8px; }

@media (max-width: 760px) {
  .post-card > :not(.post-thumb) { margin-left: 20px; margin-right: 20px; }
}
