:root {
  --ink: #172b49;
  --muted: #435675;
  --blue: #3f54d1;
  --blue-ink: #294385;
  --sky: #3ca9f8;
  --green: #2c603c;
  --lime: #a3f141;
  --line: #d4e1ee;
  --wash: #eef5fb;
  --wash-green: #eff6e9;
  --surface: #fff;
  --paper: #f8fbff;
  --forest: #1b402a;
  --gutter: clamp(16px, 4.5vw, 72px);
  --radius: 18px;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 "Segoe UI", Arial, sans-serif;
  scroll-padding-top: 94px;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-160%); background: white; padding: 10px 14px; }
.skip:focus { transform: none; }

.header { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid var(--line); background: #fbfdfff5; backdrop-filter: blur(14px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 75px; gap: 18px; }
.brand { flex: none; display: block; }
.brand img { width: 111px; height: auto; }
.header nav { display: flex; gap: clamp(12px, 2vw, 33px); align-items: center; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.header nav a:hover, .header nav a[aria-current] { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 6px; }
.header-action, .header-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 7px 14px; border: 1px solid #becfe5; border-radius: 13px; background: white; color: var(--blue-ink); font-size: .88rem; font-weight: 750; text-decoration: none; }
.header-action { border-color: transparent; background: var(--lime); color: #172b20; }
.header-action:hover, .header-action[aria-current] { background: #c2f888; }
.header-toggle:hover, .header-toggle[aria-expanded="true"] { background: var(--wash); border-color: var(--blue); }
.header .header-toggle { display: none; }
.menu-icon { width: 15px; height: 10px; border-block: 2px solid currentColor; }

h1, h2, h3 { font-weight: 740; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.9vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.65rem); }
h3 { font-size: clamp(1.19rem, 2vw, 1.63rem); }
.kicker { color: var(--green); font-size: .75rem; font-weight: 780; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.button, .text-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 11px 19px; border: 1px solid transparent; border-radius: 14px;
  font-size: .94rem; line-height: 1.25; font-weight: 740; text-decoration: none; text-align: center;
}
.primary { color: white; background: linear-gradient(140deg, var(--blue), #2b3fa5); box-shadow: 0 3px 9px #253fa328; }
.primary:hover { background: #273c9e; box-shadow: 0 6px 15px #253fa336; }
.light { color: #172b20; background: var(--lime); box-shadow: 0 3px 12px #10271b35; }
.light:hover { background: #c2f888; }
.secondary, .text-link { border-color: #bed0e7; background: #edf4ff; color: var(--blue-ink); }
.secondary:hover, .text-link:hover { border-color: #7a96cc; background: #e0edfc; }
.outline { color: white; border-color: #dbe9ffb3; background: #142b4aa6; }
.outline:hover { background: #243e66e0; }
.opening-frame :focus-visible, .contact-band :focus-visible { outline-color: var(--lime); }
.text-link { align-self: start; width: fit-content; min-height: 44px; padding: 8px 13px; font-size: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  :is(.button, .text-link, .header-action, .header-toggle, .home-card, .process-tabs button, .route-tabs button) {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  @media (hover: hover) {
    :is(.button, .text-link, .header-action):hover { transform: translateY(-2px); }
  }
  :is(.button, .text-link, .header-action):active { transform: translateY(0) scale(.985); }
}

.opening { padding: clamp(10px, 2vw, 30px) clamp(10px, 2vw, 30px) 24px; background: linear-gradient(130deg, #e9f3ff, #f1f7ee); }
.opening-frame { position: relative; isolation: isolate; overflow: hidden; max-width: 1580px; margin-inline: auto; border: 1px solid #31536a; border-radius: clamp(17px, 2.1vw, 32px); background: #132d45; color: white; }
.opening-photo, .opening-frame::after { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.opening-photo { z-index: -2; object-fit: cover; object-position: 66% 50%; }
.opening-frame::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0d1c40fa 0%, #10284aed 25%, #173c4ebf 44%, #194a354d 69%, #203f2909 100%); }
.opening-inner { width: min(1280px, 100%); min-height: clamp(460px, 58svh, 635px); display: flex; align-items: center; margin-inline: auto; padding: 42px clamp(24px, 4.1vw, 65px); }
.opening-copy { min-width: 0; max-width: 720px; }
.opening-tag { display: flex; align-items: center; gap: 11px; color: #e2eeff; }
.opening-tag > span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #a3f14132; }
.opening h1 { margin-block: 16px 18px; font-size: clamp(2.45rem, 5.65vw, 5.25rem); letter-spacing: -.063em; text-wrap: initial; }
.opening h1 span { color: #b8f56f; }
.opening-intro { max-width: 48ch; margin-bottom: 26px; color: #edf5ff; font-size: clamp(1rem, 1.4vw, 1.24rem); line-height: 1.5; }
.opening-facts { width: min(1280px, calc(100% - 28px)); margin: 16px auto 0; }
.home-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.home-card { display: flex; flex-direction: column; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: white; text-decoration: none; }
.home-card:hover { border-color: #8eaed4; box-shadow: 0 8px 30px #1f4b7622; }
.card-photo { height: clamp(130px, 18vw, 215px); object-fit: cover; border-radius: 9px; background: var(--wash); }
.opening-facts .card-photo { height: clamp(92px, 8.4vw, 140px); }
img[src="assets/air-cargo.webp"] { object-position: center 58%; }
.opening-facts .card-photo[src="assets/air-cargo.webp"] { object-position: center 75%; }
.card-caption { display: flex; flex: 1; align-items: start; justify-content: space-between; gap: 8px; padding: 13px 8px 8px; }
.card-caption h3 { margin-top: 5px; }
.card-caption p:not(.kicker) { color: var(--muted); font-size: .9rem; margin-top: 6px; }

.section { padding-block: clamp(43px, 6.3vw, 92px); }
.top-section { padding-top: clamp(27px, 4.2vw, 62px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .9fr); align-items: end; gap: 14px 35px; margin-bottom: clamp(22px, 3.3vw, 42px); }
.section-heading h2 { text-wrap: initial; }
.section-heading .kicker { margin-bottom: 8px; }
.section-heading > p { max-width: 44ch; color: var(--muted); }
.home-process { border-block: 1px solid var(--line); background: linear-gradient(150deg, #edf5ff, var(--wash-green)); }
.process-board { padding: clamp(13px, 2.1vw, 27px); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.process-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.process-tabs button { min-height: 48px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); font-weight: 700; text-align: left; }
.process-tabs button:hover { border-color: var(--blue); }
.process-tabs button[aria-selected="true"] { background: var(--blue); color: white; border-color: var(--blue); }
.process-panel { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 24px); align-items: center; padding-top: 18px; }
.process-panel img { height: 130px; object-fit: cover; border-radius: 9px; background: var(--wash); }
.process-panel p { max-width: 59ch; margin-top: 6px; color: var(--muted); }

.page-cover { border-bottom: 1px solid var(--line); background: linear-gradient(124deg, #eaf3ff 12%, #eff7ed 84%); }
.page-cover-inner { display: grid; gap: 22px; align-items: center; padding-block: clamp(32px, 6.4vw, 88px); }
.page-cover-inner.has-photo { grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr); }
.page-cover h1 { max-width: 15ch; margin: 9px 0 12px; text-wrap: initial; }
.page-cover p:not(.kicker) { max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.22rem); }
.cover-photo { height: clamp(175px, 24vw, 310px); object-fit: cover; border-radius: var(--radius); background: white; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.detail-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.detail-card:target { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.detail-photo { height: clamp(142px, 15vw, 210px); object-fit: cover; background: var(--wash); }
.detail-copy { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 9px; padding: clamp(14px, 1.7vw, 23px); }
.detail-copy h2, .sheet h2 { font-size: clamp(1.34rem, 2.25vw, 1.82rem); text-wrap: initial; }
.detail-copy p:not(.kicker), .plain-grid p, .request-aside p { color: var(--muted); }
.detail-copy .text-link:first-of-type { margin-top: auto; }
.plain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.plain-grid article, .sheet { min-width: 0; padding: clamp(16px, 2.5vw, 31px); border: 1px solid var(--line); border-radius: var(--radius); background: #f5f9fd; }
.plain-grid p { margin-top: 10px; }

.contact-band { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: clamp(22px, 4vw, 54px); color: white; background: linear-gradient(120deg, #142e60, #24523c); border-radius: var(--radius); }
.contact-band h2 { font-size: clamp(1.9rem, 3.6vw, 3.12rem); text-wrap: initial; }
.contact-band p { margin-top: 7px; color: #eef5ff; }
.contact-band .button { flex: none; }
.contact-grid, .request-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.contact-details { margin-block: 15px; }
.contact-details div { padding-block: 9px; border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: .85rem; }
.contact-details a, .request-aside a:not(.button) { color: var(--blue-ink); font-weight: 680; text-underline-offset: 3px; overflow-wrap: anywhere; }
.request-form .field-note { margin-block: 10px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form-grid label { display: grid; align-content: start; gap: 5px; font-weight: 650; font-size: .94rem; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid :is(input, select, textarea) { display: block; min-width: 0; width: 100%; min-height: 45px; padding: 8px 10px; border: 1px solid #9eb4cc; border-radius: 7px; font-weight: 400; background: white; }
.form-grid textarea { resize: vertical; }
.form-grid :is(input, select, textarea):focus-visible { outline-offset: 1px; }
.field-note { color: var(--muted); font-size: .9rem; }
.request-aside p, .request-aside ul { margin-top: 9px; }
.request-aside ul { padding-left: 19px; }
#request-summary { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; font: inherit; font-size: .94rem; white-space: pre-wrap; overflow-wrap: anywhere; }
#request-status:empty { display: none; }

.footer { border-top: 1px solid var(--line); background: #eaf3fa; }
.footer-inner { display: flex; align-items: center; gap: 22px; padding-block: 18px; }
.footer-inner > div:first-of-type p { color: var(--muted); font-size: .88rem; }
.footer .brand img { width: 92px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px 20px; margin-left: auto; }
.footer-links a { display: flex; align-items: center; min-height: 44px; color: var(--blue-ink); font-size: .92rem; font-weight: 690; text-underline-offset: 3px; }

@media (max-width: 1040px) {
  :root { scroll-padding-top: 81px; }
  .header-inner { min-height: 66px; flex-wrap: wrap; }
  .header .header-toggle { display: inline-flex; margin-left: auto; }
  .header nav { order: 3; flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 2px 17px; }
  .header nav[data-collapsible] { display: none; position: absolute; inset: 100% 0 auto; padding: 9px var(--gutter) 14px; border-bottom: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - 75px); overflow-y: auto; box-shadow: 0 12px 24px #1e34531f; }
  .header nav[data-collapsible][data-open] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-cover h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); }
  .footer-inner { flex-wrap: wrap; gap: 10px 18px; }
  .footer-links { flex-basis: 100%; justify-content: start; margin-left: 0; }
}
@media (max-width: 640px) {
  .header-inner { gap: 8px; }
  .brand img { width: 92px; }
  .header-toggle, .header-action { padding-inline: 9px; gap: 6px; }
  .opening { padding-bottom: 15px; }
  .opening-inner { align-items: end; min-height: clamp(445px, 107vw, 535px); padding: 21px clamp(14px, 4vw, 26px) 25px; }
  .opening-photo { object-position: 67% 20%; }
  .opening-frame::after { background: linear-gradient(0deg, #10233e 4%, #132f42f2 31%, #163b4494 64%, #254d3015 100%); }
  .opening h1 { font-size: clamp(1.9rem, 7.75vw, 3.15rem); margin-block: 12px; }
  .desktop-break { display: none; }
  .opening-intro { margin-bottom: 17px; }
  .opening-facts { width: 100%; }
  .opening-facts .home-card { display: grid; grid-template-columns: minmax(78px, .95fr) minmax(0, 2fr); gap: 8px; align-items: center; }
  .opening-facts .card-photo { height: 100%; min-height: 88px; }
  .opening-facts .card-caption { padding: 5px 0; }
  .home-card-grid, .section-heading, .detail-grid, .plain-grid, .contact-grid, .request-grid { grid-template-columns: minmax(0, 1fr); }
  .card-photo { height: clamp(120px, 38vw, 215px); }
  .process-tabs { grid-template-columns: 1fr 1fr; }
  .process-panel { grid-template-columns: minmax(0, 1fr); }
  .page-cover-inner.has-photo { grid-template-columns: minmax(0, 1fr); }
  .cover-photo { height: clamp(145px, 37vw, 220px); }
  .contact-band { align-items: start; flex-direction: column; }
  .contact-band .button { flex: auto; }
  .footer-links a { min-height: 40px; }
}
@media (max-width: 380px) {
  .opening .actions .button { padding-inline: 10px; font-size: .87rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Documents, route maps and project stories */
.docs-highlight { padding-top: 0; }
.document-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .77fr); align-items: center; gap: clamp(20px, 5vw, 74px); padding: clamp(24px, 5vw, 67px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, #e9f2ff, #eaf3df); }
.document-promo h2 { margin-block: 8px 12px; text-wrap: initial; }
.document-promo p:not(.kicker) { max-width: 49ch; margin-bottom: 18px; color: var(--muted); }
.document-preview { display: grid; gap: 8px; list-style: none; padding: 0; }
.document-preview li { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #cbdcec; border-radius: 12px; background: #fbfdff; box-shadow: 0 2px 7px #1e426012; font-weight: 700; }
.document-preview li::before { content: ""; display: block; flex: none; width: 19px; height: 23px; border: 1px solid #92b682; border-radius: 4px 8px 4px 4px; background: linear-gradient(#a5c597, #a5c597) 4px 8px / 9px 1px no-repeat, linear-gradient(#a5c597, #a5c597) 4px 12px / 8px 1px no-repeat, #e4efda; }
.documents-grid, .demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.document-card { display: flex; flex-direction: column; align-items: start; gap: 12px; padding: clamp(17px, 2.4vw, 31px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.document-card p:not(.kicker), .document-card ul, .source-note { color: var(--muted); }
.document-card ul { display: grid; gap: 7px; padding-left: 20px; }
.document-card .button { margin-top: auto; }
.document-heading { display: flex; align-items: start; gap: 8px 10px; flex-wrap: wrap; width: 100%; }
.document-heading h3 { flex: 1 1 12ch; min-width: 0; text-wrap: initial; }
.document-type { flex: none; padding: 4px 7px; border: 1px solid #bfd2ed; border-radius: 7px; background: #e8f1ff; color: var(--blue-ink); font-size: .68rem; font-weight: 800; letter-spacing: .07em; }
.source-note { margin-top: 18px; font-size: .9rem; }

.route-board { padding: clamp(12px, 2.2vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.route-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.route-tabs button { min-height: 46px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); font-weight: 700; line-height: 1.25; }
.route-tabs button:hover { border-color: var(--blue); }
.route-tabs button[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: white; box-shadow: inset 0 -3px var(--sky); }
.route-panel + .route-panel { margin-top: 18px; }
.route-panel[role="tabpanel"] { margin-top: 0; }
.route-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.route-figure { margin: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #edf7ff; }
.route-figure img { flex: 1; object-fit: contain; }
.route-figure figcaption { padding: 8px 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.map-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 12px; }
.map-caption span::before { content: ""; display: inline-block; width: 19px; margin-right: 6px; border-top: 2px dashed var(--blue); vertical-align: middle; }
.map-caption a { color: var(--blue-ink); white-space: nowrap; }
.route-nodes { display: none; list-style: none; padding: 0 0 8px; }
.route-nodes li { display: flex; align-items: center; gap: 5px; padding: 3px 6px; border: 1px solid #c7d9e8; border-radius: 7px; background: white; color: var(--ink); font-size: .81rem; font-weight: 670; }
.route-nodes li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1px solid #2a4b50; background: var(--lime); }
.route-context { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.route-context .route-photo { height: clamp(135px, 16vw, 226px); object-fit: cover; }
.route-context > div { padding: 15px; }
.route-context h3 { margin-block: 6px 8px; }
.route-context p:not(.kicker), .route-steps p { color: var(--muted); }
.route-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 15px 0 0; list-style: none; counter-reset: route-step; }
.route-steps li { display: flex; gap: 10px; align-items: start; padding: 12px; border-radius: 12px; background: var(--wash-green); counter-increment: route-step; }
.route-steps li::before { content: counter(route-step); display: grid; flex: none; width: 28px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #d3e8c9; color: #203f29; font-size: .83rem; font-weight: 800; }
.route-steps p { margin-top: 3px; font-size: .9rem; line-height: 1.44; }
.transport-grid .text-link { margin-top: 12px; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.case-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 5px 22px #243d1c0c; }
.case-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.case-media { overflow: hidden; min-width: 0; background: var(--wash); }
.case-photo { width: 100%; height: clamp(158px, 19vw, 264px); object-fit: cover; object-position: center; }
:is(.detail-photo, .case-photo)[src="assets/loading.webp"] { object-position: 75% center; }
.case-feature .case-media { position: relative; min-height: clamp(325px, 27vw, 410px); }
.case-feature .case-photo { position: absolute; inset: 0; height: 100%; object-position: center 61%; }
.case-content { display: flex; flex-direction: column; align-items: start; flex: 1; gap: 10px; padding: clamp(16px, 2.6vw, 36px); }
.case-content h3 { font-size: clamp(1.35rem, 2.25vw, 2.05rem); text-wrap: initial; }
.case-feature h3 { font-size: clamp(1.55rem, 3vw, 2.8rem); }
.case-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.case-kind { border-radius: 7px; padding: 3px 7px; background: #e6effd; color: var(--blue-ink); font-size: .77rem; font-weight: 740; }
.case-content > p:not(.kicker) { color: var(--muted); }
.case-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 16px; width: 100%; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.case-facts dt { color: var(--muted); font-size: .8rem; }
.case-facts dd { font-weight: 700; line-height: 1.35; }
.demo-grid .case-photo { height: clamp(150px, 14vw, 206px); }
.demo-grid .case-content h3 { font-size: clamp(1.25rem, 1.8vw, 1.8rem); }
.case-content .case-route { margin-top: auto; font-weight: 700; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .case-photo { transition: transform .35s ease; }
  .case-card:hover .case-photo { transform: scale(1.035); }
}

.story-intro { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(18px, 5vw, 65px); }
.story-intro h2 { margin-top: 7px; }
.story-intro p:not(.kicker) { max-width: 61ch; margin-bottom: 13px; color: var(--muted); }
.story-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 54px); align-items: stretch; }
.story-photo { height: 100%; min-height: 240px; object-fit: cover; border-radius: var(--radius); }
.story-timeline { display: grid; gap: 14px; padding: 0 0 0 21px; margin: 0; list-style: none; border-left: 2px solid #afc8a4; }
.story-timeline li { position: relative; }
.story-timeline li::before { content: ""; position: absolute; top: .49em; left: -27px; width: 10px; height: 10px; border: 2px solid #477a47; border-radius: 50%; background: var(--lime); }
.story-timeline p { margin-top: 6px; color: var(--muted); }

@media (max-width: 810px) {
  .documents-grid, .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-layout { grid-template-columns: minmax(0, 1fr); }
  .route-nodes { display: flex; flex-wrap: wrap; gap: 4px; }
  .route-context { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .route-context .route-photo { height: 100%; min-height: 140px; }
}
@media (max-width: 640px) {
  .document-promo, .documents-grid, .route-context, .route-steps, .case-grid, .case-feature, .demo-grid, .story-intro, .story-layout { grid-template-columns: minmax(0, 1fr); }
  .route-context .route-photo { height: clamp(138px, 37vw, 210px); min-height: 0; }
  .case-feature .case-media { min-height: 0; }
  .case-feature .case-photo { position: static; height: clamp(175px, 48vw, 290px); }
  .demo-grid .case-photo { height: clamp(150px, 42vw, 220px); }
  .story-photo { height: clamp(165px, 50vw, 260px); min-height: 0; }
}
@media (max-width: 640px) {
  .route-tabs { gap: 4px; margin-bottom: 10px; }
  .route-tabs button { min-height: 54px; padding-inline: 4px; font-size: .8rem; overflow-wrap: anywhere; }
  .document-card .button { width: 100%; }
}

/* Compact entrances to the maps, cases and document resources. */
.page-cover--compact .page-cover-inner { padding-block: clamp(24px, 3vw, 44px); }
.page-cover--compact h1 { max-width: none; font-size: clamp(2.15rem, 4.4vw, 4rem); }
.page-jumps { margin-top: 14px; }
.page-jumps .button { min-height: 44px; padding: 8px 13px; font-size: .88rem; }
.resource-section.top-section { padding-top: clamp(23px, 3.1vw, 45px); }
.resource-section .section-heading { margin-bottom: clamp(16px, 2.3vw, 30px); }
.resource-section .section-heading h2 { font-size: clamp(1.84rem, 3.55vw, 3.2rem); }
@media (max-width: 640px) {
  .page-cover--compact .page-cover-inner { gap: 12px; }
  .page-cover--compact h1 { margin-bottom: 8px; }
  .resource-section .section-heading { gap: 8px; }
}

.route-heading { align-items: center; }
.route-heading .text-link { justify-self: end; }
.route-estimate-link { margin-top: 12px; }

.calculator-section { background: linear-gradient(145deg, #eaf3ff, var(--wash-green)); border-block: 1px solid var(--line); }
.estimate-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 22px); align-items: start; }
.estimate-form, .estimate-empty, .estimate-result { background: var(--surface); }
.estimate-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estimate-form button { margin-top: 16px; }
.estimate-empty p { color: var(--muted); margin-top: 7px; }
.estimate-result { background: linear-gradient(145deg, #fff, #f3f8ed); }
.estimate-result:focus { scroll-margin-top: 12px; }
.estimate-result h3 { margin-block: 5px 9px; }
.estimate-route { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 720; }
.estimate-cargo { color: var(--muted); margin-top: 3px; }
.estimate-sort { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; color: var(--muted); font-size: .9rem; font-weight: 690; }
.estimate-sort select { min-height: 44px; min-width: 118px; max-width: 100%; padding: 6px 10px; border: 1px solid #9eb4cc; border-radius: 8px; background: var(--surface); }
.estimate-choices { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.estimate-choices legend { padding: 0; font-size: .9rem; font-weight: 700; }
#estimate-options { display: grid; gap: 7px; margin-top: 6px; }
.estimate-option { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 8px; min-height: 54px; padding: 8px 10px; border: 1px solid #c3d6e8; border-radius: 10px; background: #fff; cursor: pointer; }
.estimate-option:has(input:checked) { border-color: var(--blue); background: #edf4ff; }
.estimate-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.estimate-option-copy { display: grid; line-height: 1.3; }
.estimate-option-copy span { color: var(--muted); font-size: .88rem; }
.estimate-badges { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 5px; }
.estimate-option-copy .estimate-badge { padding: 2px 6px; border-radius: 6px; font-size: .73rem; font-weight: 720; }
.estimate-option-copy .badge-price { background: #e4f2db; color: #28583a; }
.estimate-option-copy .badge-duration { background: #e0edfd; color: var(--blue-ink); }
.estimate-option-total { max-width: 13ch; color: var(--blue-ink); text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.estimate-actions { margin-top: 15px; }
#estimate-copy-status:not(:empty), #estimate-copy-fallback { margin-top: 8px; }
.estimate-details { margin-top: 12px; border-top: 1px solid var(--line); }
.estimate-details summary { min-height: 44px; padding-block: 10px 6px; color: var(--blue-ink); font-weight: 710; cursor: pointer; }
.estimate-details > p { margin-bottom: 8px; color: var(--muted); }
.estimate-details dl > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding-block: 5px; border-top: 1px solid var(--line); }
.estimate-details dt { color: var(--muted); }
.estimate-details dd { font-weight: 700; }
.request-estimate { margin-top: 12px; padding: 10px 13px; border: 1px solid #c3d6e8; border-radius: 10px; background: var(--wash); }
.request-estimate p + p { margin-top: 4px; }
.request-estimate a { display: inline-flex; align-items: center; min-height: 36px; color: var(--blue-ink); text-underline-offset: 3px; font-weight: 690; }
@media (max-width: 640px) {
  .route-heading .text-link { justify-self: start; }
  .estimate-panel { grid-template-columns: minmax(0, 1fr); }
  .estimate-form button, .estimate-result .button { width: 100%; }
  .estimate-details dd { overflow-wrap: anywhere; }
}
