@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap");

/* Al Rashid Shipping & Logistics — "the cargo document" design system.
   One stylesheet for Arabic (rtl) and English (ltr): logical properties only. */

:root {
  /* palette */
  --hull: #0B2140;
  --gulf: #133D6B;
  --lane: #4A6E96;
  --signal: #F26B1D;
  --steel: #D3DCE6;
  --quay: #F4F7FA;
  --paper: #FFFFFF;
  --manifest: #53647A;

  /* type */
  --font-head: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Cairo", system-ui, sans-serif;
  --font-code: "IBM Plex Mono", ui-monospace, monospace;
  --fs-display: clamp(2rem, 1.15rem + 4.2vw, 3.9rem);
  --fs-h2: clamp(1.55rem, 1.1rem + 2.1vw, 2.55rem);
  --fs-h3: clamp(1.15rem, 1.02rem + .6vw, 1.4rem);
  --fs-figure: clamp(2.6rem, 1.5rem + 4.6vw, 4.6rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;

  /* space & shape */
  --wrap: 75rem;
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --section: clamp(3.5rem, 2.4rem + 5vw, 7rem);
  --radius: 3px;
  --rule: 1px solid var(--steel);
  --hazard: repeating-linear-gradient(-45deg, var(--signal) 0 10px, var(--hull) 10px 20px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--hull);
  background: var(--quay);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.3;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--hull);
}
h1 { font-size: var(--fs-display); font-weight: 900; line-height: 1.22; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
a { color: var(--gulf); text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--hull); text-decoration-color: var(--signal); }
ul, ol { padding-inline-start: 1.25rem; }
[dir="ltr"] { unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); border-block: var(--rule); }
.section__head { max-width: 46rem; margin-block-end: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--manifest); max-width: 42rem; }
.muted { color: var(--manifest); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--signal); color: var(--hull); font-weight: 600;
  padding: .6rem 1rem; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* mono codes: tracking numbers, cargo codes, location tag */
.code, .tag {
  font-family: var(--font-code);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  direction: ltr;
  unicode-bidi: isolate;
}
.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gulf); margin-block-end: 1rem;
}
.tag::before { content: ""; width: .6rem; height: .6rem; background: var(--signal); }
.hazard { display: block; height: 8px; background: var(--hazard); }

/* ---------- header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-block-end: var(--rule);
}
.site-header::before { content: ""; display: block; height: 6px; background: var(--hazard); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem 1.5rem; min-height: 4.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--hull); text-decoration: none;
}
.brand:hover { color: var(--hull); }
.brand__mark { width: 2.6rem; height: 2.6rem; color: var(--gulf); flex: none; }
.brand__arrow { stroke: var(--signal); }
.brand__name {
  display: flex; flex-direction: column;
  font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; line-height: 1.1;
}
.brand__sub { font-weight: 600; font-size: .78rem; color: var(--manifest); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .95rem var(--font-body); color: var(--hull);
  background: transparent; border: 2px solid var(--hull); border-radius: var(--radius);
  padding: .45rem .8rem; cursor: pointer; white-space: nowrap;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.15rem; height: 2px; background: currentColor; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: none; flex-basis: 100%; padding-block: .5rem 1.25rem; border-block-start: var(--rule); }
.site-nav[data-open="true"] { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: .7rem .25rem; border-block-end: var(--rule);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--hull); text-decoration: none;
}
.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
.site-nav__actions { display: flex; align-items: center; gap: 1rem; margin-block-start: 1rem; }
.lang-switch {
  font-family: var(--font-code); font-weight: 600; font-size: .85rem; letter-spacing: .08em;
  color: var(--gulf); text-decoration: none;
  border: 1px solid var(--steel); border-radius: var(--radius); padding: .35rem .6rem;
}
.lang-switch:hover { border-color: var(--gulf); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .6rem 1.4rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--signal { background: var(--signal); color: var(--hull); border-color: var(--signal); }
.btn--signal:hover { background: var(--hull); color: var(--paper); border-color: var(--hull); }
.btn--navy { background: var(--gulf); color: var(--paper); border-color: var(--gulf); }
.btn--navy:hover { background: var(--hull); color: var(--paper); border-color: var(--hull); }
.btn--line { background: transparent; color: var(--hull); border-color: var(--hull); }
.btn--line:hover { background: var(--hull); color: var(--paper); }
.btn--sm { min-height: 2.5rem; padding: .35rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn__arrow { font-family: var(--font-body); font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.band--navy .btn--line { color: var(--paper); border-color: var(--paper); }
.band--navy .btn--line:hover { background: var(--paper); color: var(--hull); }

/* ---------- hero with waybill ---------- */
.hero {
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  background-color: var(--quay);
  background-image:
    linear-gradient(rgba(74, 110, 150, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 110, 150, .09) 1px, transparent 1px);
  background-size: 48px 48px;
  border-block-end: var(--rule);
}
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); max-width: 38rem; }
.hero .btn-row { margin-block-start: 1.75rem; }

.waybill {
  background: var(--paper);
  border: 2px solid var(--hull);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 rgba(19, 61, 107, .12);
}
[dir="rtl"] .waybill { box-shadow: -10px 10px 0 rgba(19, 61, 107, .12); }
.waybill::before { content: ""; display: block; height: 12px; background: var(--hazard); }
.waybill__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 1.5rem; border-block-end: 2px solid var(--hull);
}
.waybill__head h2, .waybill__head h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin: 0; }
.waybill__body { padding: 1.5rem; }
.waybill__foot {
  padding: .9rem 1.5rem; border-block-start: 1px dashed var(--steel);
  font-size: var(--fs-small); color: var(--manifest);
}

/* ---------- forms ---------- */
.form__grid { display: grid; gap: 1.1rem; }
.form__field { display: grid; gap: .35rem; }
.form__label { font-weight: 600; font-size: .95rem; color: var(--hull); }
.form__hint { font-size: .82rem; color: var(--manifest); margin: 0; }
.form__input {
  width: 100%; min-height: 3rem;
  font: 500 1rem/1.5 var(--font-body); color: var(--hull);
  background: var(--quay);
  border: 1px solid var(--steel); border-block-end: 2px solid var(--gulf);
  border-radius: var(--radius); padding: .65rem .85rem;
}
.form__input:hover { border-color: var(--lane); }
.form__input:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; background: var(--paper); }
.form__input[dir="ltr"] { text-align: left; font-family: var(--font-code); letter-spacing: .04em; }
textarea.form__input { min-height: 8rem; resize: vertical; }
select.form__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gulf) 50%), linear-gradient(135deg, var(--gulf) 50%, transparent 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: left 1.1rem center, left .75rem center; padding-inline-end: 2.2rem; }
html[dir="ltr"] select.form__input { background-position: right .75rem center, right 1.1rem center; }
.form__field[data-state="error"] .form__input { border-color: var(--signal); border-width: 2px; background: #FFF4EC; }
.form__field[data-state="error"] .form__label::after { content: " *"; color: var(--signal); }
.form__status { margin: .5rem 0 0; font-weight: 600; min-height: 1.5em; }
.form__status[data-state="error"], .form__status[data-state="sent"] {
  padding: .7rem 1rem; background: var(--quay);
  border-inline-start: 4px solid var(--signal);
}
.form__status[data-state="sent"] { border-inline-start-color: var(--gulf); }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- route chart ---------- */
.routes__grid { display: grid; gap: 2rem; }
.route-map {
  background: var(--paper); border: var(--rule); border-radius: var(--radius);
  padding: clamp(.5rem, .2rem + 1vw, 1rem);
}
.route-map svg { display: block; width: 100%; height: auto; }
.rm-dot { fill: var(--steel); }
.rm-grat { fill: none; stroke: var(--steel); stroke-width: 1; }
.rm-lane {
  fill: none; stroke: var(--gulf); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 10 7;
  animation: rm-drift 4s linear infinite;
}
.rm-lane--long { stroke-width: 2; }
.rm-arrow { fill: var(--signal); }
.rm-node { fill: var(--paper); stroke: var(--gulf); stroke-width: 3; }
.rm-hub { fill: var(--signal); stroke: var(--hull); stroke-width: 3; }
.rm-hub-ring { fill: none; stroke: var(--signal); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: rm-pulse 2.6s ease-out infinite; }
.rm-label { font-family: var(--font-head); font-weight: 800; font-size: 19px; fill: var(--hull); }
.rm-label--hub { font-size: 21px; font-weight: 900; }
.rm-sub { font-family: var(--font-code); font-weight: 600; font-size: 11px; letter-spacing: .1em; fill: var(--lane); }
@keyframes rm-drift { to { stroke-dashoffset: -34; } }
@keyframes rm-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }

.modes { list-style: none; margin: 0; padding: 0; border-block-start: 2px solid var(--hull); }
.mode {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: .25rem 1rem; align-items: start;
  padding-block: 1.1rem; border-block-end: var(--rule);
}
.mode h3 { margin: 0; font-size: 1.15rem; }
.mode p { margin: 0; grid-column: 2; color: var(--manifest); font-size: .98rem; }
.icon { width: 3.25rem; height: 3.25rem; grid-row: span 2; color: var(--gulf); }
.icon * { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .icon__accent { stroke: var(--signal); }

/* ---------- manifest ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-block-start: 2px solid var(--hull); }
.ledger__row {
  display: grid; gap: .5rem 1.5rem;
  padding-block: 1.4rem; border-block-end: var(--rule);
}
.ledger__row .code {
  justify-self: start; align-self: start;
  background: var(--hull); color: var(--paper);
  padding: .3rem .6rem; border-inline-end: 4px solid var(--signal);
}
.ledger__row h3 { margin: 0 0 .25rem; }
.ledger__row p { margin: 0; color: var(--manifest); max-width: 40rem; }
.ledger__link {
  align-self: center; justify-self: start;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.ledger__link:hover { text-decoration: underline; }

/* ---------- data plate ---------- */
.plate-wrap { display: grid; gap: 2.5rem; align-items: start; }
.plate {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--hull);
  border-radius: 4px;
  padding: 1.75rem 1.25rem 1.25rem;
  background-image:
    radial-gradient(circle, var(--lane) 3px, transparent 3.5px),
    radial-gradient(circle, var(--lane) 3px, transparent 3.5px),
    radial-gradient(circle, var(--lane) 3px, transparent 3.5px),
    radial-gradient(circle, var(--lane) 3px, transparent 3.5px);
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: 6px 6px, calc(100% - 6px) 6px, 6px calc(100% - 6px), calc(100% - 6px) calc(100% - 6px);
}
.plate__title {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  padding-block-end: .75rem; margin: 0 0 .25rem; border-block-end: 2px solid var(--hull);
}
.plate__grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.plate__cell {
  display: flex; flex-direction: column-reverse; justify-content: flex-end;
  padding: 1rem .5rem; border-block-end: var(--rule);
}
.plate__cell:nth-child(odd) { border-inline-end: var(--rule); }
.plate__cell dt { font-weight: 600; color: var(--manifest); font-size: .92rem; }
.plate__cell dd { margin: 0; }
.plate__figure {
  display: block;
  font-family: var(--font-head); font-weight: 900; font-size: var(--fs-figure);
  line-height: 1.05; color: var(--hull); font-variant-numeric: tabular-nums;
  direction: ltr; unicode-bidi: isolate; text-align: start;
}
.plate__pre { display: block; font-weight: 600; font-size: .85rem; color: var(--gulf); }
.plate__stamp {
  display: flex; align-items: center; gap: 1rem;
  margin-block-start: 1rem; padding: .9rem 1rem;
  border: 2px dashed var(--gulf); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.plate__stamp svg { width: 2.75rem; height: 2.75rem; flex: none; color: var(--gulf); }

/* ---------- navy band (one per page) ---------- */
.band--navy { background: var(--gulf); color: var(--paper); position: relative; }
.band--navy::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 8px; background: var(--hazard); }
.band--navy h2, .band--navy h3 { color: var(--paper); }
.band--navy .lead, .band--navy p { color: #DCE5EF; }
.band--navy a:not(.btn) { color: var(--paper); }
.band__grid { display: grid; gap: 2rem; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contact-list li { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.contact-list__k { font-weight: 600; min-width: 6rem; opacity: .85; }
.contact-list a { font-weight: 600; }

/* ---------- inner page patterns ---------- */
.page-head {
  background: var(--paper); border-block-end: var(--rule);
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) 0;
}
.page-head .lead { margin-block-end: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.page-head::after { content: ""; display: block; height: 8px; background: var(--hazard); }
.split { display: grid; gap: 2rem; }
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--fs-h3); margin-block-start: 2rem; }
.fact-list { list-style: none; margin: 0; padding: 0; border-block-start: 2px solid var(--hull); }
.fact-list li { padding-block: .8rem; border-block-end: var(--rule); }

/* ---------- footer ---------- */
.site-footer { background: var(--hull); color: #C9D5E3; padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--signal); }
.site-footer .brand { color: var(--paper); }
.site-footer .brand__mark { color: var(--paper); }
.site-footer .brand__sub { color: #C9D5E3; }
.footer__grid { display: grid; gap: 2rem; }
.footer__title { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--paper); margin: 0 0 .75rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-block-start: 2.5rem; padding-block-start: 1.25rem;
  border-block-start: 1px solid rgba(211, 220, 230, .25); font-size: .85rem;
}

/* ---------- style guide helpers ---------- */
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }
.sg-swatch { border: var(--rule); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.sg-swatch__chip { height: 5.5rem; border-block-end: var(--rule); }
.sg-swatch__meta { padding: .75rem; font-size: .88rem; }
.sg-swatch__meta strong { display: block; font-family: var(--font-head); }
.swatch--hull { background: var(--hull); }
.swatch--gulf { background: var(--gulf); }
.swatch--lane { background: var(--lane); }
.swatch--signal { background: var(--signal); }
.swatch--steel { background: var(--steel); }
.swatch--quay { background: var(--quay); }
.swatch--paper { background: var(--paper); }
.swatch--manifest { background: var(--manifest); }
.swatch--hazard { background: var(--hazard); }
.sg-type { display: grid; gap: 1.25rem; }
.sg-type__row { display: grid; gap: .25rem; padding-block-end: 1rem; border-block-end: var(--rule); }
.sg-type__row .code { color: var(--manifest); }
.sg-type__sample--h2 { font-family: var(--font-head); font-size: var(--fs-h2); font-weight: 800; line-height: 1.3; }
.sg-type__sample--h3 { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; }
.sg-type__sample--figure { font-family: var(--font-head); font-size: var(--fs-figure); font-weight: 900; line-height: 1.05; }
.sg-type__sample--display { font-family: var(--font-head); font-size: var(--fs-display); font-weight: 900; line-height: 1.22; }
.sg-block { background: var(--paper); border: var(--rule); border-radius: var(--radius); padding: clamp(1rem, .5rem + 2vw, 2rem); }
.sg-stack { display: grid; gap: 2rem; }

/* ---------- breakpoints ---------- */
@media (min-width: 600px) {
  .form__grid--2 { grid-template-columns: 1fr 1fr; }
  .form__field--full { grid-column: 1 / -1; }
  .ledger__row { grid-template-columns: 10rem 1fr; }
  .ledger__link { grid-column: 2; }
  .plate { padding: 2rem 1.75rem 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: 1.75rem;
    flex-basis: auto; padding: 0; border: 0;
  }
  .site-nav__list { display: flex; gap: 1.4rem; }
  .site-nav__list a { border: 0; padding: .4rem 0; font-size: .98rem; }
  .site-nav__list a:hover { box-shadow: inset 0 -2px 0 var(--steel); }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
  .site-nav__actions { margin: 0; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .routes__grid { grid-template-columns: 1.7fr 1fr; align-items: center; }
  .ledger__row { grid-template-columns: 10rem 1fr auto; }
  .ledger__link { grid-column: auto; }
  .plate-wrap { grid-template-columns: .8fr 1.2fr; }
  .band__grid { grid-template-columns: 1.3fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1200px) {
  .plate__grid { grid-template-columns: repeat(4, 1fr); }
  .plate__cell:nth-child(odd) { border-inline-end: 0; }
  .plate__cell:not(:last-child) { border-inline-end: var(--rule); }
  .plate__cell { padding-inline: 1rem; border-block-end: 0; }
  .plate-wrap { grid-template-columns: 1fr; }
  .site-nav__list { gap: 1.8rem; }
}

@media (max-width: 380px) {
  .brand__sub { display: none; }
  .btn { padding-inline: 1.1rem; }
  .waybill__head, .waybill__body, .waybill__foot { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rm-hub-ring { opacity: 0; }
}

@media print {
  .site-header, .nav-toggle, .band--navy, .site-footer { display: none; }
  body { background: #FFFFFF; }
}

/* === network: full-width route chart with mode legend in a row === */
.route-map--wide { margin-block-end: 2rem; }
@media (min-width: 900px) {
  .modes--row { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
}

/* === warehousing: two-cell data plate === */
@media (min-width: 1200px) {
  .plate__grid--2 { grid-template-columns: 1fr 1fr; }
  .plate-wrap--side { grid-template-columns: .8fr 1.2fr; }
}

/* === contact: keyed fact list === */
.fact-list--keyed li { display: grid; gap: .1rem 1rem; align-items: baseline; }
.fact-list__k { font-weight: 600; font-size: var(--fs-small); color: var(--manifest); }
.fact-list--keyed a { font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 600px) {
  .fact-list--keyed li { grid-template-columns: 8rem 1fr; }
}

/* === services / about: section stack inside a split column === */
.split__col > :last-child { margin-block-end: 0; }
.split .tag { margin-block-end: .5rem; }
.split__col .plate__stamp + .fact-list { margin-block-start: 1.5rem; }

/* === imprint: prose section title === */
.prose > h2:first-child { font-size: var(--fs-h2); margin-block-start: 0; }
