/*
Theme Name: Adour Logistics
Theme URI: https://example.com/
Author: Adour Logistics
Description: Corporate theme for a freight forwarding and customs broking company. Service catalogue, network, awards, insights and careers, with a shipment-tracking entry point in the header and hero.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adour
Tags: business, logistics, custom-menu, custom-logo, featured-images, block-styles
*/

/* ==========================================================================
   1. Tokens
   Palette is drawn from the working port: hull paint, high-visibility
   safety yellow, and the cool grey-white of a customs manifest.
   ========================================================================== */

:root {
  /* Core */
  --ink:        #0E1F1C;  /* hull dark, primary surface */
  --ink-2:      #16302B;  /* raised dark surface */
  --hull:       #1E4038;  /* dark surface hairlines */
  --chart:      #E9EEEC;  /* page background, cool not cream */
  --paper:      #FFFFFF;
  --amber:      #F2B705;  /* high-vis accent, used sparingly */
  --amber-deep: #C29103;  /* darker fill, still carries --ink text at 5.8:1 */
  --amber-text: #86610C;  /* amber as text on a light surface, 4.6:1 on --paper */
  --sea:        #235E7B;  /* quiet secondary, links on light (4.5:1 on --chart) */

  /* Text */
  --text:       #10231F;
  --text-mute:  #5B6D68;
  --text-inv:   #EDF2F0;
  --text-inv-mute: #9CB2AC;

  /* Lines */
  --rule:       #CBD6D2;
  --rule-dark:  #294B43;

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Modular scale, 17px base, ratio ~1.28 */
  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-md:   1.1875rem;
  --t-lg:   1.4375rem;
  --t-xl:   1.9375rem;
  --t-2xl:  2.75rem;
  --t-3xl:  3.75rem;

  /* Space */
  --s-1: 0.5rem;
  --s-2: 0.875rem;
  --s-3: 1.25rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 7rem;

  --wrap: 1240px;
  --wrap-narrow: 780px;
}

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

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

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

body {
  margin: 0;
  background: var(--chart);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.62;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, var(--t-3xl)); }
h2 { font-size: clamp(1.75rem, 3.6vw, var(--t-2xl)); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); letter-spacing: -0.012em; }

p { margin: 0 0 var(--s-3); max-width: 68ch; }

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

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--s-3); padding-left: 1.15em; }

figure { margin: 0; }

/* Anything linked to by an anchor has to clear the sticky header. */
[id] { scroll-margin-top: 7.5rem; }

/* Keyboard focus is always visible. */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--amber);
  color: var(--ink);
  padding: var(--s-2) var(--s-3);
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

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

.section { padding-block: var(--s-6); }
.section--tight { padding-block: var(--s-5); }
.section--dark { background: var(--ink); color: var(--text-inv); }
.section--dark h2, .section--dark h3 { color: var(--text-inv); }
.section--dark a { color: var(--amber); }

/* Section heading: a short label sits beside the heading rather than above it
   in a tracked-out capital line. On narrow screens it stacks. */
.section-head {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: var(--s-4);
  align-items: start;
  margin-bottom: var(--s-5);
}
.section-head__label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--text-mute);
  padding-top: 0.55rem;
  border-top: 2px solid var(--amber);
}
.section--dark .section-head__label { color: var(--text-inv-mute); }
.section-head__body > :last-child { margin-bottom: 0; }
.section-head__body p { font-size: var(--t-md); color: var(--text-mute); }
.section--dark .section-head__body p { color: var(--text-inv-mute); }

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--ink); }

/* Outline buttons take their colours from the surface they sit on. Any dark
   section sets these three tokens once and the button follows, so a new dark
   section can never render an invisible button. */
:root {
  --btn-line-fg: var(--text);
  --btn-line-bd: var(--rule);
  --btn-line-hi: var(--ink);
}
.site-header,
.hero,
.figures,
.page-header,
.section--dark,
.quote-band,
.site-footer {
  --btn-line-fg: var(--text-inv);
  --btn-line-bd: var(--rule-dark);
  --btn-line-hi: var(--amber);
}
.btn--outline { background: transparent; color: var(--btn-line-fg); border-color: var(--btn-line-bd); }
.btn--outline:hover { color: var(--btn-line-hi); border-color: var(--btn-line-hi); }
.btn--sm { padding: 0.65rem 1rem; font-size: var(--t-xs); }

/* Text link with a rule that grows on hover, used for "read more" style links. */
.link-more {
  display: inline-block;
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--amber);
}
.link-more:hover { color: var(--amber-text); }
.section--dark .link-more { color: var(--text-inv); }
.section--dark .link-more:hover { color: var(--amber); }

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
  background: var(--ink);
  color: var(--text-inv);
  position: sticky;
  top: 0;
  z-index: 60;
}

.utility-bar {
  border-bottom: 1px solid var(--rule-dark);
  font-size: var(--t-xs);
}
.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s-3);
  min-height: 40px;
}
.utility-bar a { color: var(--text-inv-mute); text-decoration: none; }
.utility-bar a:hover { color: var(--amber); }
.utility-bar__phone { color: var(--text-inv); font-weight: 600; margin-right: auto; text-decoration: none; }

.header-main .wrap {
  display: flex;
  align-items: stretch;
  gap: var(--s-4);
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { display: block; }
.brand__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text-inv);
  line-height: 1;
}
.brand__text span { display: block; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text-inv-mute); margin-top: 3px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }

/* --- Primary navigation and mega menu --- */

.primary-nav ul { list-style: none; margin: 0; padding: 0; }

.primary-nav { display: flex; }
.primary-nav > ul { display: flex; gap: var(--s-3); align-items: stretch; }
.primary-nav > ul > li { display: flex; }

.primary-nav > ul > li > a,
.primary-nav > ul > li > button {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-inv);
  text-decoration: none;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > button:hover,
.primary-nav > ul > li.is-open > button,
.primary-nav > ul > li.current-menu-item > a {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.primary-nav .menu-item-has-children > button::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mega {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--ink-2);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 3px solid var(--amber);
  padding-block: var(--s-4);
  display: none;
}
.primary-nav > ul > li.is-open > .mega { display: block; }

/* Scoped under .primary-nav so it outranks the `.primary-nav ul` reset above,
   which was zeroing the centring margin and the gutters and pushing the first
   column off the left edge. */
.primary-nav .mega__grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  list-style: none;
}
.mega__col-title {
  display: block; /* a span would only draw the rule under the words */
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--amber);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-dark);
}
.primary-nav .mega__col > ul { list-style: none; margin: 0; padding: 0; }
.mega li + li { margin-top: 2px; }
.mega a {
  display: block;
  font-size: var(--t-sm);
  color: var(--text-inv-mute);
  text-decoration: none;
  padding: 0.35rem 0;
}
.mega a:hover { color: var(--amber); }

/* --- Mobile navigation --- */

.nav-toggle {
  display: none;
  align-self: center;
  background: none;
  border: 2px solid var(--rule-dark);
  border-radius: 2px;
  color: var(--text-inv);
  padding: 0.6rem 0.75rem;
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  content: "";
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after  { transform: translateY(4px); }

/* Between roughly 1025 and 1180 the nav and the two buttons are tight, so the
   nav tightens up rather than wrapping. */
@media (min-width: 1025px) and (max-width: 1180px) {
  .header-main .wrap { gap: var(--s-3); }
  .primary-nav > ul { gap: var(--s-2); }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button { font-size: var(--t-xs); }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; order: 3; }
  .header-actions { order: 2; }
  .primary-nav {
    order: 4;
    flex-basis: 100%;
    display: none;
    border-top: 1px solid var(--rule-dark);
    padding-block: var(--s-2);
    max-height: 70vh;
    overflow-y: auto;
  }
  .primary-nav.is-visible { display: block; }
  .primary-nav > ul { flex-direction: column; gap: 0; }
  .primary-nav > ul > li { display: block; }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button {
    display: flex;
    justify-content: flex-start;
    padding: 0.85rem 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--rule-dark);
  }
  .mega { position: static; border: 0; padding-block: var(--s-2) var(--s-3); background: transparent; }
  .primary-nav .mega__grid { grid-template-columns: 1fr; gap: var(--s-3); padding-inline: 0; }
  .header-main .wrap { flex-wrap: wrap; align-items: center; min-height: 68px; }
}

/* On a narrow phone both header actions move to their own full-width row
   rather than one of them being dropped. Tracking is the commonest reason a
   customer opens the site on a phone, and requesting a rate is the commonest
   reason a prospect does, so neither is a safe thing to hide. */
@media (max-width: 560px) {
  .header-actions {
    order: 4;
    flex-basis: 100%;
    margin-left: 0;
    padding-bottom: 0.75rem;
  }
  .header-actions .btn { flex: 1 1 0; padding: 0.7rem 0.5rem; }
  .primary-nav { order: 5; }
}

@media (max-width: 620px) {
  .utility-bar a:not(.utility-bar__phone) { display: none; }
  .utility-bar .wrap { justify-content: flex-start; min-height: 34px; }
}

/* ==========================================================================
   6. Hero
   The tracking field is the hero's centrepiece: for a freight customer the
   most common reason to open the site is "where is my cargo".
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  color: var(--text-inv);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14,31,28,.96) 0%, rgba(14,31,28,.86) 45%, rgba(14,31,28,.55) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 6.5vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s-6);
  align-items: center;
}
.hero h1 { color: var(--text-inv); margin-bottom: var(--s-3); max-width: 15ch; }
.hero__lede {
  font-size: var(--t-md);
  color: var(--text-inv-mute);
  max-width: 46ch;
  margin-bottom: var(--s-4);
}

.track {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--rule-dark);
  border-left: 3px solid var(--amber);
  padding: var(--s-3);
  max-width: 540px;
}
.track__label {
  display: block;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-inv);
  margin-bottom: 0.5rem;
}
.track--on-light .track__label {
  color: var(--text);
}
.track__row { display: flex; gap: 0; }
.track__input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  padding: 0.9rem 0.85rem;
  background: var(--paper);
  color: var(--text);
  border: 2px solid var(--paper);
  border-right: 0;
  border-radius: 2px 0 0 2px;
}
.track__input::placeholder { color: #93A5A0; }
.track .btn { border-radius: 0 2px 2px 0; }
.track__hint { font-size: var(--t-xs); color: var(--text-inv-mute); margin: 0.65rem 0 0; }
.track__hint a { color: var(--amber); }

/* Right column: stencilled route strip, a nod to container markings. */
.hero__routes-title {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--amber);
  margin: 0 0 0.6rem;
}
.hero__routes { border-top: 1px solid var(--rule-dark); padding-top: 0.9rem; }
.hero__route {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: var(--t-sm);
}
.hero__route span:first-child { color: var(--text-inv); font-weight: 600; }
.hero__route span:last-child { color: var(--text-inv-mute); font-family: var(--font-mono); font-size: var(--t-xs); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero__routes { display: none; }
}
@media (max-width: 480px) {
  .track__row { flex-direction: column; }
  .track__input { border-right: 2px solid var(--paper); border-radius: 2px; }
  .track .btn { border-radius: 2px; margin-top: 0.5rem; }
}

/* ==========================================================================
   7. Figures band
   Numbers are rendered in the HTML and counted up from zero by script only
   when motion is allowed, so they are readable without JavaScript.
   ========================================================================== */

.figures { background: var(--ink-2); color: var(--text-inv); }
.figures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--rule-dark);
}
.figure {
  padding: var(--s-4) var(--s-3);
  border-right: 1px solid var(--rule-dark);
}
.figure__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
  display: block;
}
.figure__unit { font-size: var(--t-sm); font-weight: 600; color: var(--text-inv); display: block; margin-top: 0.4rem; }
.figure__label { font-size: var(--t-xs); color: var(--text-inv-mute); display: block; margin-top: 0.25rem; }

@media (max-width: 820px) { .figures__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .figures__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. About
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--s-6);
  align-items: center;
}
.about__media img,
.about__media svg { border-radius: 2px; display: block; width: 100%; height: auto; }
.about__media figcaption { font-size: var(--t-xs); color: var(--text-mute); margin-top: 0.6rem; }
.about__points { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-4); }
.about__points li {
  padding: 0.75rem 0 0.75rem 1.6rem;
  border-top: 1px solid var(--rule);
  position: relative;
  font-size: var(--t-sm);
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.28rem;
  width: 8px; height: 8px;
  background: var(--amber);
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ==========================================================================
   9. Services
   Four working groups rather than sixteen equal tiles, so a visitor who does
   not already speak freight can find the right door.
   ========================================================================== */

.svc-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.svc-group { padding: var(--s-3) var(--s-3) var(--s-4); border-right: 1px solid var(--rule); }
.svc-group:last-child { border-right: 0; }
.svc-group__title { font-size: var(--t-md); margin-bottom: 0.35rem; }
.svc-group__note { font-size: var(--t-xs); color: var(--text-mute); margin-bottom: var(--s-2); }
.svc-group ul { list-style: none; padding: 0; margin: 0; }
.svc-group li { border-top: 1px solid var(--rule); }
.svc-group a {
  display: block;
  padding: 0.7rem 0;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: padding-left .14s ease, color .14s ease;
}
.svc-group a:hover { color: var(--amber-text); padding-left: 6px; }

@media (max-width: 980px) {
  .svc-groups { grid-template-columns: repeat(2, 1fr); }
  .svc-group:nth-child(2n) { border-right: 0; }
  .svc-group:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .svc-groups { grid-template-columns: 1fr; }
  .svc-group { border-right: 0; }
  .svc-group + .svc-group { border-top: 1px solid var(--rule); }
}

/* Services index: each group is a band, each service a row with its
   description. Sixteen identical cards said nothing that the names did not. */
.svc-band + .svc-band { margin-top: var(--s-5); }
.svc-band__head {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: var(--s-4);
  align-items: baseline;
  padding-bottom: var(--s-2);
  border-bottom: 2px solid var(--ink);
}
.svc-band__head h2 { font-size: var(--t-lg); margin: 0; }
.svc-band__head p { font-size: var(--t-sm); color: var(--text-mute); margin: 0; }

.svc-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-5); }
.svc-row {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
}
.svc-row h3 { font-size: var(--t-base); margin: 0; }
.svc-row h3 a { color: var(--text); text-decoration: none; }
.svc-row h3 a:hover { color: var(--amber-text); }
.svc-row p { font-size: var(--t-sm); color: var(--text-mute); margin: 0; }

@media (max-width: 1100px) {
  .svc-rows { grid-template-columns: 1fr; column-gap: 0; }
}
@media (max-width: 720px) {
  .svc-band__head { grid-template-columns: 1fr; gap: var(--s-1); }
  .svc-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ==========================================================================
   10. Network
   ========================================================================== */

.network__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.network__item { border-top: 2px solid var(--amber); padding-top: var(--s-2); }
.network__item h3 { font-size: var(--t-base); margin-bottom: 0.4rem; }
.network__item p { font-size: var(--t-sm); color: var(--text-inv-mute); margin: 0; }
@media (max-width: 760px) { .network__grid { grid-template-columns: 1fr; gap: var(--s-3); } }

/* ==========================================================================
   11. Awards and credentials
   ========================================================================== */

.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.award {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s-2);
  align-items: start;
}
.award__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-md);
  color: var(--amber-text);
  line-height: 1;
  padding-top: 0.2rem;
}
.award h3 { font-size: var(--t-base); margin-bottom: 0.2rem; }
.award p { font-size: var(--t-sm); color: var(--text-mute); margin: 0; }
@media (max-width: 860px) { .awards { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. Careers call to action
   ========================================================================== */

.careers {
  background: var(--amber);
  color: var(--ink);
}
.careers__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: center;
  padding-block: var(--s-5);
}
.careers h2 { color: var(--ink); margin-bottom: 0.5rem; }
.careers p { color: #4A3B00; margin: 0; max-width: 56ch; }
.careers .btn { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.careers .btn:hover { background: #000; border-color: #000; }
@media (max-width: 760px) { .careers__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   13. Posts
   ========================================================================== */

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.post-card { display: flex; flex-direction: column; }
.post-card__media {
  aspect-ratio: 16 / 10;
  background: var(--hull);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(242,183,5,.07) 0 10px,
    transparent 10px 20px
  );
  overflow: hidden;
  margin-bottom: var(--s-2);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { font-size: var(--t-xs); color: var(--text-mute); margin-bottom: 0.35rem; }
.post-card h3 { font-size: var(--t-base); line-height: 1.25; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--amber-text); }
.post-card p { font-size: var(--t-sm); color: var(--text-mute); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ==========================================================================
   14. Quote band
   ========================================================================== */

.quote-band { background: var(--ink); color: var(--text-inv); }
.quote-band__inner {
  padding-block: var(--s-5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: center;
}
.quote-band h2 { color: var(--text-inv); margin-bottom: 0.5rem; }
.quote-band p { color: var(--text-inv-mute); margin: 0; }
.quote-band__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
@media (max-width: 760px) { .quote-band__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   15. Page furniture
   ========================================================================== */

.page-header {
  background: var(--ink);
  color: var(--text-inv);
  padding-block: var(--s-5) var(--s-4);
}
.page-header h1 { color: var(--text-inv); margin-bottom: 0.75rem; }
.page-header p { color: var(--text-inv-mute); font-size: var(--t-md); margin: 0; }

.breadcrumbs { font-size: var(--t-xs); color: var(--text-inv-mute); margin-bottom: var(--s-3); }
.breadcrumbs a { color: var(--text-inv-mute); text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber); }
.breadcrumbs span { margin-inline: 0.4rem; }

.entry-content { max-width: 72ch; }
.entry-content h2 { margin-top: var(--s-4); }
.entry-content h3 { margin-top: var(--s-3); }
.entry-content img { margin-block: var(--s-3); }
.entry-content blockquote {
  margin: var(--s-3) 0;
  padding-left: var(--s-3);
  border-left: 3px solid var(--amber);
  font-size: var(--t-md);
}

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: var(--s-6); }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

.sidebar-box {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--amber);
  padding: var(--s-3);
  margin-bottom: var(--s-3);
}
.sidebar-box h3 { font-size: var(--t-base); }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { border-top: 1px solid var(--rule); }
.sidebar-box li:first-child { border-top: 0; }
.sidebar-box a { display: block; padding: 0.55rem 0; font-size: var(--t-sm); color: var(--text); text-decoration: none; }
.sidebar-box a:hover { color: var(--amber-text); }

.pagination { margin-top: var(--s-5); display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--text);
  font-size: var(--t-sm);
}
.pagination .page-numbers.current { background: var(--ink); color: var(--text-inv); border-color: var(--ink); }

/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: var(--text-inv-mute); padding-block: var(--s-5) var(--s-3); font-size: var(--t-sm); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-4); }
.footer__blurb { max-width: 40ch; }
.site-footer h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--t-sm); color: var(--text-inv); margin-bottom: var(--s-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { color: var(--text-inv-mute); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer__bottom {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
  font-size: var(--t-xs);
}
.social { display: flex; gap: var(--s-2); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   17. Motion
   One page-load reveal in the hero, and the counters. Nothing else moves on
   its own. Everything is switched off when the visitor asks for less motion.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise .6s cubic-bezier(.2,.7,.3,1) backwards; }
  .hero__inner > *:nth-child(2) { animation-delay: .1s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   18. WordPress core classes
   ========================================================================== */

.alignleft { float: left; margin: 0 var(--s-3) var(--s-2) 0; }
.alignright { float: right; margin: 0 0 var(--s-2) var(--s-3); }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: var(--t-xs); color: var(--text-mute); }
.sticky { border-left: 3px solid var(--amber); padding-left: var(--s-3); }

/* Column headings inside the mega menu must beat the generic .mega a rule. */
.mega a.mega__col-title { color: var(--amber); text-decoration: none; display: block; }
.mega a.mega__col-title:hover { color: var(--paper); }
.mega__col > ul { margin-top: 0; }


/* ==========================================================================
   19. Print
   Rate requests and service pages get printed and faxed more often than
   anyone building a website expects.
   ========================================================================== */

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

  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 0.75rem; }
  .hero::after { display: none; }
  .hero, .section--dark, .figures { background: #fff !important; color: #000 !important; }
  .hero h1, .section--dark h2, .section--dark h3 { color: #000 !important; }
  .figure__value { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .svc-groups, .network__grid, .awards, .posts { display: block; }
}
