/*
Theme Name: Nova
Theme URI: https://gohirenova.com
Author: Nova
Description: Custom theme for Nova - staffing for US freight brokerages. Reproduces the hand-built static site exactly, with all page content editable through the block editor.
Version: 1.8.3
Requires at least: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: nova
*/

/* ==========================================================================
   Nova — staffing for US logistics brokerages
   Single stylesheet. No external fonts, no CDNs, no build step.
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #0a0e1a;
  --ink-2:      #121a2e;
  --ink-3:      #1b2540;
  --accent:     #5b8cff;
  /* --accent-dk carries every piece of small blue TEXT — links, eyebrows,
     pills. It was #3c6ae6, which cleared 4.5:1 on plain white but failed on
     both tinted grounds it actually sits on (4.49 on --bg-alt, 4.14 on
     --accent-lt). #3e67c8 clears all of them. --accent stays bright for glows,
     focus rings and the brand mark, where contrast rules don't apply. */
  --accent-dk:  #3e67c8;
  --accent-lt:  #e8efff;
  /* The button fill is a separate token from --accent-dk on purpose: text on a
     light ground and white on a filled button are different contrast problems,
     so they get different answers. #4a72d0 is the BRIGHTEST point on the
     original --accent hue that still clears 4.5:1 against white (4.56), which
     keeps the CTA as close to the original bright blue as the standard allows.
     Don't lighten it further without re-checking. */
  --accent-btn:    #4a72d0;
  --accent-btn-dk: #4062b3;
  --warm:       #ffb020;
  --warm-lt:    #fff4de;

  /* Neutrals */
  --text:       #16203a;
  --text-soft:  #55617d;
  /* #8b95ad was 3.0:1 on white and 2.8:1 on --bg-alt — below AA everywhere it
     was used as text ("(optional)" labels, form notes, post meta, pagination).
     #6a7183 clears 4.5:1 on both and is still lighter than --text-soft, so the
     three-step text hierarchy is unchanged. */
  --text-faint: #6a7183;
  --line:       #e4e9f2;
  --line-soft:  #eef1f7;
  --bg:         #ffffff;
  --bg-alt:     #f6f8fc;

  /* System */
  --radius:     14px;
  --radius-sm:  10px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg:  0 18px 50px rgba(10, 14, 26, .14);
  --wrap:       1160px;
  --gutter:     24px;

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

/* --------------------------------------------------------------- reset -- */

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 1.4rem + 3.1vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem); letter-spacing: -.026em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- layout -- */

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

.wrap--narrow { max-width: 820px; }

section { padding: clamp(56px, 7vw, 96px) 0; }
section.tight { padding: clamp(40px, 5vw, 64px) 0; }

.band-alt { background: var(--bg-alt); }
.band-line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: #93b2ff; }

.lede { font-size: 1.16rem; color: var(--text-soft); }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 26, .94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header .wrap {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; letter-spacing: -.02em; font-size: 1.22rem;
  text-decoration: none; flex: none;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .brand-sub {
  display: block; font-size: .62rem; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: #8fa3cc; margin-top: -3px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.nav a {
  color: #c9d4ea; font-size: .95rem; font-weight: 500;
  padding: 9px 13px; border-radius: 8px; text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; background: rgba(91, 140, 255, .18); }

.nav .btn { margin-left: 8px; }

/* `.nav a` (0,1,1) outranks `.btn-primary` (0,1,0), so it was quietly
   repainting the header CTA's label in the muted nav grey — 2.1:1 against the
   button fill, while every other button on the site is white. Give the button
   variants back their own colours inside the nav. */
.nav a.btn-primary { color: #fff; }
.nav a.btn-ghost   { color: #dfe7f7; }

.nav-toggle {
  display: none; margin-left: auto;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; border-radius: 9px; padding: 8px 12px; font: inherit; font-size: .9rem;
  cursor: pointer; align-items: center; gap: 8px;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .14); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav {
    display: none; order: 3; width: 100%; margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  font: inherit; font-size: .97rem; font-weight: 620;
  border: 1px solid transparent; border-radius: 11px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* White on the bright --accent was 3.16:1 — below AA, on the site's single
   most important control. The fill moves to --accent-btn (4.56:1); the glow
   keeps the bright accent so the button still reads as the brand blue. */
.btn-primary {
  background: var(--accent-btn); color: #fff;
  box-shadow: 0 4px 14px rgba(91, 140, 255, .35);
}
.btn-primary:hover { background: var(--accent-btn-dk); box-shadow: 0 8px 22px rgba(91, 140, 255, .42); }

.btn-ghost {
  background: transparent; color: #dfe7f7;
  border-color: rgba(255, 255, 255, .26);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.btn-line {
  background: #fff; color: var(--ink); border-color: var(--line);
  box-shadow: var(--shadow);
}
.btn-line:hover { border-color: #c9d3e6; }

.btn-sm { padding: 9px 16px; font-size: .9rem; border-radius: 9px; }
.btn-lg { padding: 15px 28px; font-size: 1.03rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

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

.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #e7edfa;
  padding: clamp(64px, 9vw, 118px) 0 clamp(60px, 8vw, 104px);
}

.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background:
    radial-gradient(52% 46% at 72% 8%, rgba(91, 140, 255, .38), transparent 68%),
    radial-gradient(40% 40% at 14% 96%, rgba(255, 176, 32, .16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero h1 { color: #fff; max-width: 15ch; }
.hero.center h1, .hero.center .hero-copy { margin-inline: auto; }
.hero.center { text-align: center; }
.hero.center h1 { max-width: 20ch; }

.hero-copy { max-width: 62ch; }
.hero-copy p { color: #b7c4de; font-size: 1.14rem; }
.hero .btn-row { margin-top: 30px; }
.hero.center .btn-row { justify-content: center; }

.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Page hero (interior pages) — shorter */
.hero.hero-page { padding: clamp(52px, 6vw, 78px) 0 clamp(48px, 6vw, 70px); }
.hero.hero-page h1 { max-width: 20ch; }

/* Two-track split card in the homepage hero */
.track-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.track-card h2 { color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.track-card p { color: #a9b8d6; font-size: .95rem; }
.track-card + .track-card { margin-top: 14px; }
.track-card .tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; margin-bottom: 10px;
}
.tag-blue { background: rgba(91, 140, 255, .2); color: #a9c4ff; }
.tag-warm { background: rgba(255, 176, 32, .16); color: #ffcd73; }

/* --------------------------------------------------------------- cards -- */

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

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: #cfdaee; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: .97rem; margin-bottom: 0; }
.card p + ul { margin-top: 12px; }
.card ul { color: var(--text-soft); font-size: .95rem; margin-bottom: 0; }

.card-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent-lt); color: var(--accent-dk);
  margin-bottom: 16px;
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon.warm { background: var(--warm-lt); color: #b5710a; }

/* Role card with meta line */
.role-card { display: flex; flex-direction: column; }
.role-meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pill {
  font-size: .78rem; font-weight: 600; color: var(--text-soft);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px;
}
.pill-accent { background: var(--accent-lt); border-color: #cddbff; color: var(--accent-dk); }

/* ---------------------------------------------------------- step lists -- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li {
  position: relative;
  padding: 0 0 30px 62px;
  margin: 0;
}
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: .95rem;
}
.steps > li::after {
  content: ""; position: absolute; left: 19.5px; top: 46px; bottom: 8px;
  width: 1px; background: var(--line);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: 5px; font-size: 1.08rem; }
.steps p { color: var(--text-soft); font-size: .98rem; margin-bottom: 0; }

/* ---------------------------------------------------------- stats band -- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.stats div { background: #fff; padding: 24px 20px; text-align: center; }
.stats .n {
  display: block; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1.1;
}
.stats .l {
  display: block; font-size: .84rem; color: var(--text-soft);
  margin-top: 6px; letter-spacing: .01em;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- table -- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
th { background: var(--bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td strong { display: block; }
td .sub { color: var(--text-soft); font-size: .9rem; }

/* ----------------------------------------------------------------- faq -- */

.faq { max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 12px;
}
.faq details[open] { border-color: #cddbff; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 19px 54px 19px 22px; position: relative;
  font-weight: 620; color: var(--ink); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--text-soft); font-size: .99rem; }
.faq .answer p:last-child { margin-bottom: 0; }

.faq-group { margin-bottom: 44px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: 1.35rem; margin-bottom: 18px; }

/* ------------------------------------------------------------- callout -- */

.callout {
  border: 1px solid #cddbff; background: var(--accent-lt);
  border-radius: var(--radius); padding: 22px 24px;
}
.callout.warm { border-color: #ffe0a8; background: var(--warm-lt); }

/* -------------------------------------------- internal links & related -- */

.role-more { margin-top: 14px; }

.link-arrow {
  font-weight: 600; color: var(--accent-dk);
  border-bottom: 1px solid transparent; transition: border-color .15s ease;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-bottom-color: currentColor; }

.nova-related { margin-top: 44px; }
.nova-related ul { list-style: none; margin: 0; padding: 0; }
.nova-related li + li { margin-top: 8px; }
.nova-related li a {
  font-weight: 600;
  border-bottom: 1px solid transparent; transition: border-color .15s ease;
}
.nova-related li a::before { content: "\2192  "; color: var(--accent); }
.nova-related li a:hover { border-bottom-color: currentColor; }
.callout h3 { font-size: 1.05rem; margin-bottom: 6px; }
.callout p { color: #3d4a68; font-size: .97rem; }

/* ------------------------------------------------------------- cta band -- */

.cta {
  background: var(--ink-2); color: #e7edfa;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 70% at 82% 20%, rgba(91, 140, 255, .3), transparent 70%);
}
.cta > .wrap { position: relative; z-index: 1; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #b3c1dc; max-width: 56ch; margin-inline: auto; font-size: 1.06rem; }
.cta .btn-row { margin-top: 26px; justify-content: center; }

/* --------------------------------------------------------------- forms -- */

.form-layout {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

label { display: block; font-size: .9rem; font-weight: 620; color: var(--ink); margin-bottom: 7px; }
label .opt { font-weight: 500; color: var(--text-faint); }

/* 16px is a hard floor, not a design choice: iOS Safari zooms the whole page
   whenever a focused field is smaller than that, which throws the layout around
   mid-form. This was .98rem (15.68px) and did exactly that on the enquiry form.
   The 0.32px difference is invisible on desktop. */
/* The password form is the whole page when a post is locked, so its heading is
   an h1 for document structure — but it sits inside a callout and must read at
   card-title size, not hero size. */
.pw-title { font-size: 1.2rem; letter-spacing: -.022em; margin-top: 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, .16);
}
textarea { min-height: 118px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b95ad' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-size: .9rem; font-weight: 620; color: var(--ink); margin-bottom: 9px; padding: 0; }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
@media (max-width: 620px) { .check-grid { grid-template-columns: 1fr; } }

.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .94rem; color: var(--text); font-weight: 500;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; cursor: pointer; margin: 0;
}
.check:hover { border-color: #c9d3e6; background: #fcfdff; }
.check input { margin: 3px 0 0; accent-color: var(--accent); flex: none; }

.check-plain {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; font-weight: 500; color: var(--text-soft);
  border: 0; padding: 0; margin: 0 0 18px; cursor: pointer;
}
.check-plain input { margin: 3px 0 0; accent-color: var(--accent); flex: none; }

.form-note { font-size: .86rem; color: var(--text-faint); margin-top: 14px; }

.form-status {
  display: none; margin-top: 18px; padding: 14px 16px;
  border-radius: var(--radius-sm); font-size: .94rem;
}
.form-status.show { display: block; }
.form-status.info { background: var(--warm-lt); border: 1px solid #ffe0a8; color: #6b4a06; }
.form-status.ok   { background: #e8f7ee; border: 1px solid #b7e5c8; color: #17603a; }
.form-status.err  { background: #fdecec; border: 1px solid #f6c8c8; color: #8f2323; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Aside next to the form */
.aside-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: var(--bg-alt);
}
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h3 { font-size: 1.03rem; }
.aside-card p, .aside-card li { color: var(--text-soft); font-size: .95rem; }
.aside-card ul { padding-left: 1.1em; margin-bottom: 0; }

.contact-line { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; font-size: .97rem; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line svg { width: 18px; height: 18px; color: var(--accent-dk); flex: none; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink); color: #9daac6;
  padding: clamp(46px, 6vw, 68px) 0 30px;
  font-size: .94rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .09);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h2 {
  color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #9daac6; }
.footer-grid a:hover { color: #fff; }
.footer-blurb { max-width: 34ch; margin-top: 14px; color: #8494b3; }
.footer-bottom {
  padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; color: #6f7d9b; font-size: .87rem;
}
.footer-bottom a { color: #6f7d9b; }

/* ------------------------------------------------------------- utility -- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 34px; }
.mb-0 { margin-bottom: 0; }
.small { font-size: .88rem; }
.muted { color: var(--text-soft); }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------- testimonials -- */

.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 20px;
  font-size: 4.4rem; line-height: 1; color: var(--accent-lt); font-family: Georgia, serif;
}
.quote-card blockquote { margin: 0 0 18px; font-size: 1rem; color: var(--text); position: relative; z-index: 1; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--ink-3); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: .95rem;
}
.quote-who strong { display: block; font-size: .95rem; }
.quote-who span { display: block; font-size: .86rem; color: var(--text-soft); }

/* Editorial warning shown on unfinished pages. Delete the element to remove. */
.placeholder-banner {
  background: #fff7e6; border: 1px dashed #e0a83a; color: #6b4a06;
  border-radius: var(--radius); padding: 16px 20px; font-size: .93rem;
  margin-bottom: 30px;
}
.placeholder-banner strong { color: #6b4a06; }

/* ------------------------------------------------------------- pricing -- */

.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 140, 255, .12); }
.price-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.price-card .model {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-dk); margin-bottom: 18px;
}
.price-card .model.warm { color: #a06309; }  /* #b5710a was 3.94:1 on white */
.price-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.price-card li {
  position: relative; padding-left: 27px; margin-bottom: 11px;
  font-size: .96rem; color: var(--text-soft);
}
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 15px; height: 9px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.price-card .price-foot { margin-top: auto; padding-top: 24px; }

/* -------------------------------------------------------------- careers -- */

.job {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 22px 24px; margin-bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.job:hover { border-color: #cfdaee; box-shadow: var(--shadow); }
.job .job-main { flex: 1 1 320px; }
.job h3 { margin-bottom: 5px; font-size: 1.08rem; }
.job p { color: var(--text-soft); font-size: .95rem; margin-bottom: 10px; }
.job .role-meta { margin: 0; padding: 0; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Print — occasionally someone prints the roles page for a meeting */
@media print {
  .site-header, .site-footer, .cta, .btn-row { display: none; }
  body { font-size: 12pt; }
  .card { break-inside: avoid; border-color: #ccc; }
}

/* ==========================================================================
   Blog and editor additions — not present on the static site, which had no
   articles. Everything below reuses the existing tokens.
   ========================================================================== */

.post-grid .post-card { display: flex; flex-direction: column; }

.post-card-media {
  display: block; margin: -26px -26px 18px; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-alt);
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }

.post-meta {
  font-size: .84rem; color: var(--text-faint); margin: 0 0 8px;
  display: flex; gap: 7px; align-items: baseline;
}
.post-card h2 { font-size: 1.1rem; margin-bottom: 8px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent-dk); }

.article-byline { color: #9fb0d0 !important; font-size: .95rem !important; }

.article-hero {
  margin: 0 0 34px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.article-hero img { width: 100%; height: auto; display: block; }

/* Long-form article body */
.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.6rem; margin: 1.9em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img, .prose figure { border-radius: var(--radius); max-width: 100%; height: auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption {
  font-size: .88rem; color: var(--text-soft); margin-top: 9px; text-align: center;
}
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent); color: var(--text-soft); font-size: 1.08rem;
}
.prose pre {
  background: var(--ink); color: #e7edfa; padding: 18px 20px;
  border-radius: var(--radius-sm); overflow-x: auto; font-size: .92rem;
}
.prose code { font-family: var(--mono); font-size: .92em; }
.prose :not(pre) > code {
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 5px;
}
.prose table { min-width: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.pagination { justify-content: center; }
.pagination .dots { align-self: center; color: var(--text-faint); }

/* WordPress core classes we still want to look right */
.alignwide { max-width: min(1100px, 100%); margin-inline: auto; }
.alignfull { width: 100%; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .screen-reader-text { font-size: .88rem; color: var(--text-soft); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Block editor: give the canvas the same ground as the front end */
.editor-styles-wrapper { background: #fff; color: var(--text); font-family: var(--sans); }

/* ------------------------------------------------------- cookie consent -- */

.consent[hidden] { display: none !important; }
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(10, 14, 26, .97);
  backdrop-filter: saturate(150%) blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #dfe7f7;
  box-shadow: 0 -12px 40px rgba(10, 14, 26, .35);
}
.consent-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px 28px; flex-wrap: wrap; padding-block: 16px;
}
.consent-text { margin: 0; font-size: .93rem; line-height: 1.5; max-width: 62ch; color: #c3cee6; }
.consent-text strong { color: #fff; }
.consent-text a { color: #93b2ff; text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { flex: none; }
.footer-bottom .consent-open { color: #6f7d9b; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom .consent-open:hover { color: #fff; }
@media (max-width: 640px) {
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; }
}
