/* Best & Fast Inc · shared blocks, loaded on every page after the page's own css.
   Dot-matrix icons, the icon row, the "on the road" list with photos, the FAQ, the work-with-us
   block and the footer. Format after unitedcarriers.com (owner, 28 Nov), colours and type ours.
   Every block reads its colours from a theme class: .k-dark (home) or .k-light (paper). */

.k-light {
  --k-bg: var(--c-f7f2e8); --k-fg: var(--c-0b3b2a); --k-mu: color-mix(in srgb, var(--c-0b3b2a) 68%, transparent); --k-dim: color-mix(in srgb, var(--c-0b3b2a) 30%, transparent);
  --k-ln: color-mix(in srgb, var(--c-0b3b2a) 14%, transparent); --k-acc: var(--c-ff7a34); --k-acc-ink: var(--c-1d0b02);
  background: var(--k-bg); color: var(--k-fg);
}
.k-h2 {
  margin: 0; font-family: var(--head); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(44px, 6.2vw, 116px); line-height: .9; letter-spacing: -.012em; color: var(--k-fg);
}
.k-h2 .dim { display: block; color: var(--k-dim); }

/* outline pill (VIEW ALL on the reference) */
.kbtn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 30px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--k-fg) 34%, transparent); color: var(--k-fg);
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease, ease), border-color .45s;
}
.kbtn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--k-fg); transform: translateY(101%); transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.kbtn:hover { color: var(--k-bg); border-color: var(--k-fg); }
.kbtn:hover::before { transform: none; }

/* ---------------- fact row: a two-line title, a readable sentence, thin dividers */
.dmrow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.dmc { position: relative; padding: 4px clamp(20px, 2.4vw, 46px) 8px; border-left: 1px solid var(--k-ln); }
.dmc h3 {
  margin: 0 0 16px; font-family: var(--head); font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(20px, 1.55vw, 27px); line-height: 1.04; letter-spacing: 0; color: var(--k-fg);
}
.dmc p { margin: 0; max-width: 34ch; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; color: var(--k-mu); }
.dmc.io:nth-child(2) { transition-delay: .08s; } .dmc.io:nth-child(3) { transition-delay: .16s; } .dmc.io:nth-child(4) { transition-delay: .24s; }
@media (max-width: 900px) {
  .dmrow { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 560px) {
  .dmrow { grid-template-columns: 1fr; row-gap: 40px; }
}

/* ---------------- home, after the film: "on the road" list, a row shows its photo or video */
.home-after { position: relative; z-index: 3; margin-top: -100vh; } /* no will-change: one 5000 px layer was not rastered in time on a fast scroll */
/* the title starts inside the cream dome, just under its rim (owner, 29 Nov: the full screen of empty cream was too much) */
.road { position: relative; min-height: 100vh; padding: calc(46vh + clamp(40px, 3vw, 70px)) 0 clamp(110px, 9vw, 180px); background: transparent; isolation: isolate; }
/* the way from the film into the site (owner, 28 Nov, after unitedcarriers' glow into their dark
   section): a dome of dusk light rises from the bottom over the last film frame as the page covers it,
   peach, orange, deep green, then the dark of the block; scrolled back up it sinks and the film returns */
.road::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100vh; z-index: -1; pointer-events: none;
  /* a crisp horizon (owner, 28 Nov: the wide glow looked like a smear over the aerial photo): a dark
     planet rises with a thin bright warm rim and a short glow outside it; inside, a faint deep green
     near the edge. The edge has a 0.3 % ramp so it is smooth, not jagged */
  background:
    radial-gradient(110% 100% at 50% 100%,
      color-mix(in srgb, var(--dome-rim) 0%, transparent) 69.55%, color-mix(in srgb, var(--dome-rim) 95%, transparent) 69.85%, color-mix(in srgb, var(--dome-edge) 85%, transparent) 70.25%,
      color-mix(in srgb, var(--dome-glow) 42%, transparent) 71%, color-mix(in srgb, var(--dome-glow) 17%, transparent) 72.6%, color-mix(in srgb, var(--dome-glow) 6%, transparent) 75.5%, color-mix(in srgb, var(--dome-glow) 0%, transparent) 79.5%),
    radial-gradient(110% 100% at 50% 100%,
      var(--c-f7f2e8) 0%, var(--c-f7f2e8) 60%, var(--c-f3ecdf) 65%, var(--c-eee5d4) 68.6%, var(--c-ebe1cf) 69.5%, color-mix(in srgb, var(--c-ebe1cf) 0%, transparent) 69.8%);
  will-change: transform;
}
/* Best & Fast (4 Dec, client: the transition still had the old peach and orange rim): the rim and its glow
   take the palette's second accent (light pink), the rim itself a light tint of it */
.road { --dome-glow: var(--c-ffc21a); --dome-edge: var(--c-ffc21a); --dome-rim: color-mix(in oklab, var(--c-ffc21a) 35%, #fff); }
/* below the dome the block is solid; over the glow and the dark a faint grain (an SVG noise tile)
   breaks the 8-bit steps a smooth dark gradient would otherwise show */
.road::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .04 0 0 0 0 .23 0 0 0 0 .16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px,
    transparent;
  bottom: auto; height: 100vh;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 22vh, #000 48vh, #000 80vh, transparent 100vh);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 22vh, #000 48vh, #000 80vh, transparent 100vh);
}
/* the block is solid from the foot of the dome down (the grain stays inside the dome) */
.road { background: linear-gradient(to bottom, color-mix(in srgb, var(--c-f7f2e8) 0%, transparent) 0, color-mix(in srgb, var(--c-f7f2e8) 0%, transparent) calc(100vh - 2px), var(--c-f7f2e8) calc(100vh - 2px)); }
/* owner, 1 Dec: on a narrow, tall screen the dome came out as a steep half-moon (its size is a share of the
   window: 110% wide on a 375 px phone is a narrow arch 70% of the screen tall). Up to 900 px it is lower and
   flatter (owner, 1 Dec, twice: "still too steep, make it smaller"): 200% wide, 75% tall, the rim at about half
   the screen with a gentle bend; the title below still starts inside the cream */
@media (max-width: 900px) {
  .road { padding-top: calc(54vh + 24px); }   /* the title under the lower rim, on the cream */
  .road::before {
    background:
      radial-gradient(200% 75% at 50% 100%,
        color-mix(in srgb, var(--dome-rim) 0%, transparent) 69.55%, color-mix(in srgb, var(--dome-rim) 95%, transparent) 69.85%, color-mix(in srgb, var(--dome-edge) 85%, transparent) 70.25%,
        color-mix(in srgb, var(--dome-glow) 42%, transparent) 71%, color-mix(in srgb, var(--dome-glow) 17%, transparent) 72.6%, color-mix(in srgb, var(--dome-glow) 6%, transparent) 75.5%, color-mix(in srgb, var(--dome-glow) 0%, transparent) 79.5%),
      radial-gradient(200% 75% at 50% 100%,
        var(--c-f7f2e8) 0%, var(--c-f7f2e8) 60%, var(--c-f3ecdf) 65%, var(--c-eee5d4) 68.6%, var(--c-ebe1cf) 69.5%, color-mix(in srgb, var(--c-ebe1cf) 0%, transparent) 69.8%);
  }
}
.road-in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 17vw, 360px); column-gap: clamp(40px, 13vw, 280px); padding-left: clamp(var(--pad), 26vw, 560px); }
.road .k-h2 { grid-column: 1; font-size: clamp(34px, 3.7vw, 76px); line-height: .92; letter-spacing: -.005em; }
.road .k-h2 .dim { white-space: nowrap; }
.road-list { grid-column: 1; list-style: none; margin: clamp(60px, 6vw, 120px) 0 0; padding: 0; }
.road-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 32px; align-items: end;
  padding: 16px 0 15px; border-bottom: 1px solid var(--k-ln); color: var(--k-fg);
}
.road-row::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--k-fg); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.road-lbl { grid-column: 1; color: var(--k-mu); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.road-t { grid-column: 1; font-size: clamp(15px, .98vw, 20px); font-weight: 500; line-height: 1.3; letter-spacing: -.005em; }
.road-tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--k-mu); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.road-row.on::after { transform: none; }
.road-row.on .road-lbl, .road-row.on .road-tag { color: var(--k-fg); }
.road-row:focus-visible { outline: 2px solid var(--k-acc); outline-offset: 4px; }
/* the photo stands still next to the list (it used to be sticky and slid against the rows) */
.road-media { grid-column: 2; grid-row: 2; align-self: start; margin-top: clamp(60px, 6vw, 120px); aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-ece5d8); }
.road-media figure { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); z-index: 1; }
.road-media { position: relative; }
.road-media figure.on { clip-path: inset(0 0 0 0); z-index: 2; }
.road-media figure.was { clip-path: inset(0 0 0 0); z-index: 1; }
.road-media img, .road-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; transform: scale(1.1); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.road-media figure.on img, .road-media figure.on video { transform: none; }
@media (max-width: 900px) {
  .road-in { grid-template-columns: 1fr; padding-left: var(--pad); } /* owner, 1 Dec: was 0, the text stuck to the left edge */
  /* owner, 1 Dec: on phones the photo stood under the list, off the screen while the rows took turns, and in a
     narrow window on a computer it was hidden (the mouse player). Up to 900 px, any pointer: the photo right
     under the title, the full width of the column, the list under it, so the lit row and its photo are on
     the screen together; less empty paper under the block */
  .road .k-h2 { order: 1; }
  .road-media { order: 2; grid-column: 1; grid-row: auto; max-width: none; width: 100%; margin-top: 26px; aspect-ratio: 16 / 9; }
  /* only the video, always the same (owner, 1 Dec: a phone has no hover, nothing should change there) */
  .road-media figure:not(:has(video)) { display: none; }
  .road-media figure:has(video) { clip-path: none; z-index: 2; }
  .road-media figure:has(video) video { transform: none; }
  .road-list { order: 3; margin-top: 14px; }
  .road { padding-bottom: 64px; }
}

/* ---------------- FAQ: the question list opens one answer at a time */
.faqs { position: relative; padding: clamp(100px, 8vw, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr) minmax(200px, .6fr); gap: clamp(30px, 5vw, 100px); align-items: start; }
.faq-title { margin: 0 0 30px; font-family: var(--head); font-weight: 800; font-stretch: 125%; font-size: clamp(46px, 4.3vw, 88px); line-height: .86; letter-spacing: -.01em; color: var(--k-fg); text-transform: uppercase; }
.faq-intro p { margin: 0; max-width: 26ch; font-size: clamp(15px, 1vw, 19px); line-height: 1.4; color: var(--k-mu); }
.faq-list { border-top: 1px solid var(--k-ln); }
.faq-item { border-bottom: 1px solid var(--k-ln); }
.faq-item h3 { margin: 0; font: inherit; text-transform: none; letter-spacing: 0; }
.faq-q {
  width: 100%; display: grid; grid-template-columns: 76px minmax(0, 1fr) 24px; align-items: center; gap: 0 12px;
  padding: 26px 0; background: none; border: 0; color: var(--k-fg); text-align: left; cursor: pointer; font: inherit;
}
.faq-n { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--k-mu); }
.faq-qt { font-size: clamp(15px, 1vw, 19px); font-weight: 500; line-height: 1.3; color: var(--k-mu); transition: color .3s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.faq-q i { justify-self: end; position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--k-dim); transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .3s; }
.faq-q i::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--k-acc); transform: scale(.3); opacity: 0; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.faq-q:hover .faq-qt, .faq-q[aria-expanded="true"] .faq-qt { color: var(--k-fg); }
.faq-q:hover .faq-qt { transform: translateX(6px); }
.faq-q:hover i { background: var(--k-fg); }
.faq-q[aria-expanded="true"] i { background: var(--k-acc); }
.faq-q[aria-expanded="true"] i::after { transform: none; opacity: 1; }
.faq-q:focus-visible { outline: 2px solid var(--k-acc); outline-offset: 2px; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2, .8, .2, 1); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 36px 26px 88px; max-width: 64ch; font-size: clamp(14.5px, .9vw, 17px); line-height: 1.6; color: var(--k-mu); opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .55s cubic-bezier(.2, .8, .2, 1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: .08s; }
.faq-side p { margin: 0 0 22px; font-size: clamp(15px, 1vw, 19px); line-height: 1.4; color: var(--k-fg); max-width: 22ch; }
.faq-side a { display: block; width: max-content; margin-bottom: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--k-fg); background: linear-gradient(var(--k-acc), var(--k-acc)) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.2, .8, .2, 1); padding-bottom: 3px; }
.faq-side a:hover { background-size: 100% 1px; }
.faq-more { margin-top: 40px; height: 48px; padding: 0 24px; font-size: 12px; }
@media (max-width: 1100px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .faq-side { grid-column: 2; } }
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; } .faq-side { grid-column: auto; }
  .faq-q { grid-template-columns: 44px minmax(0, 1fr) 20px; padding: 22px 0; }
  .faq-a p { padding: 0 20px 24px 56px; }
}

/* ---------------- work with us: rings breathing out of the middle, an orange route around one,
   the title rises line by line; over the block the cursor becomes the orange "work with us" disc */
.wwu { position: relative; overflow: hidden; display: grid; place-items: center; padding: clamp(120px, 10.5vw, 210px) var(--pad); text-align: center; }
.wwu.k-light { border-top: 1px solid var(--k-ln); } /* client, 29 Nov: no dark strip; paper like the FAQ above and the footer below */
.wwu-rings { position: absolute; left: 50%; top: 50%; width: 110vw; height: 110vw; transform: translate(-50%, -50%); pointer-events: none; }
.wwu-rings circle { fill: none; stroke: var(--k-fg); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .07; animation: wwu-pulse 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.42s); }
@keyframes wwu-pulse { 0%, 100% { opacity: .05; } 50% { opacity: .16; } }
.wwu-rings .route { stroke: var(--k-acc); stroke-width: 1.6; opacity: .9; stroke-dasharray: .16 .84; stroke-linecap: round; animation: wwu-route 14s linear infinite; }
@keyframes wwu-route { to { stroke-dashoffset: -1; } }
.wwu-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.wwu-title {
  margin: 0; font-family: var(--head); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(38px, 4.2vw, 86px); line-height: .92; letter-spacing: -.005em; color: var(--k-fg);
}
.wwu-title .ln { display: block; overflow: hidden; padding: 0 .04em .05em; }
.wwu-title .ln > span { display: block; transform: translateY(108%) rotate(4deg); transform-origin: left bottom; transition: transform 1.15s cubic-bezier(.16, 1, .3, 1); }
.wwu-in.in .wwu-title .ln > span { transform: none; }
.wwu-in.in .wwu-title .ln:nth-child(2) > span { transition-delay: .09s; }
.wwu-in.in .wwu-title .ln:nth-child(3) > span { transition-delay: .18s; }
.wwu-title .o { color: var(--k-acc); }
.wwu-sub { margin: clamp(22px, 1.8vw, 34px) 0 0; max-width: 36ch; font-size: clamp(15px, 1vw, 19px); line-height: 1.45; color: var(--k-mu); opacity: 0; transform: translateY(18px); transition: opacity .9s ease .35s, transform 1s cubic-bezier(.16, 1, .3, 1) .35s; }

.wwu-in.in .wwu-sub { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .wwu-rings circle, .wwu-rings .route { animation: none; }
  .wwu-title .ln > span, .wwu-sub { transform: none; opacity: 1; transition: none; }
}

/* ---------------- footer: socials, company links, how to reach us, the US map with the head office */
.ft { position: relative; z-index: 3; overflow: hidden; padding: clamp(80px, 7vw, 130px) 0 0; }
.ft a { color: inherit; }
/* footer after the unitedcarriers footer (owner 29.11): four equal columns; the links span 2 and 3,
   the tab strip and its dividers start at column 2 */
.ft-top, .ft-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 2.6vw, 48px); }
.ft-top { padding: 0 0 clamp(60px, 6vw, 110px); }
.ft-c1 { grid-column: 1; } .ft-c2 { grid-column: 2; } .ft-c3 { grid-column: 3; } .ft-c4 { grid-column: 4; }
.ft-top .ft-c2 { grid-column: 2 / span 2; }
.ft-top > *, .ft-info > * { border-top: 1px solid var(--k-ln); padding-top: clamp(28px, 2.6vw, 44px); }
.ft-lbl { display: block; margin: 0 0 14px; font-family: var(--mono); font-size: clamp(11px, .66vw, 13px); letter-spacing: .06em; text-transform: uppercase; color: var(--k-mu); }
.ft-soc { display: flex; gap: 8px; }
.ft-soc a { width: clamp(40px, 2.3vw, 46px); height: clamp(40px, 2.3vw, 46px); border-radius: 50%; border: 1px solid var(--k-ln); display: grid; place-items: center; transition: background .35s, border-color .35s, color .35s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.ft-soc a:hover { background: var(--k-fg); border-color: var(--k-fg); color: var(--k-bg); transform: translateY(-3px); }
.ft-soc svg { width: 18px; height: 18px; }
.ft-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: clamp(8px, .6vw, 12px) 0; }
.ft-nav a { font-size: clamp(15px, .96vw, 19px); font-weight: 500; line-height: 1.35; width: max-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.2, .8, .2, 1), color .3s; }
.ft-nav a:hover, .ft-nav a[aria-current="page"] { background-size: 100% 1px; }
.ft-nav a[aria-current="page"] { color: var(--k-acc); }
.ft-hire p { margin: 0; font-size: clamp(14px, .82vw, 16px); line-height: 1.45; color: var(--k-mu); max-width: 34ch; }
/* tab strip: two pills and one line of big quiet words moving to the left */
.ft-tape { margin-left: calc(25% + clamp(24px, 2.6vw, 48px) * .25); padding-bottom: clamp(26px, 2.4vw, 40px); border-bottom: 1px solid var(--k-ln); margin-bottom: clamp(50px, 4.2vw, 80px); overflow: hidden; }
.ft-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in oklab, var(--k-fg) 6%, transparent); margin-bottom: clamp(14px, 1.2vw, 22px); }
.ft-tabs button { appearance: none; border: 0; cursor: pointer; height: clamp(30px, 1.9vw, 36px); padding: 0 clamp(12px, .9vw, 18px); border-radius: 999px; background: transparent; color: var(--k-mu); font-family: var(--mono); font-size: clamp(11px, .66vw, 13px); letter-spacing: .06em; text-transform: uppercase; transition: background .3s, color .3s; }
.ft-tabs button[aria-selected="true"] { background: var(--k-bg); color: var(--k-fg); box-shadow: 0 1px 2px color-mix(in srgb, var(--c-0b3b2a) 8%, transparent); }
.ft-marq { position: relative; height: 1.3em; font-size: clamp(26px, 1.9vw, 40px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ft-marq-track { position: absolute; inset: 0; display: flex; width: max-content; opacity: 0; transition: opacity .5s ease; animation: ft-marq 38s linear infinite; }
.ft-marq-track.is-on { opacity: 1; }
.ft-marq-run { display: flex; align-items: center; flex: none; }
.ft-marq span { font-weight: 500; line-height: 1.3; white-space: nowrap; color: color-mix(in oklab, var(--k-fg) 30%, transparent); }
.ft-marq i { font-style: normal; padding: 0 .6em; color: color-mix(in oklab, var(--k-fg) 30%, transparent); }
@keyframes ft-marq { to { transform: translateX(-50%); } }
.ft-tape:hover .ft-marq-track { animation-play-state: paused; }
/* info row */
.ft-info { padding-bottom: clamp(60px, 6vw, 110px); }
.ft-info > * { border-top: 0; padding-top: 0; }
.ft-info p { margin: 0 0 clamp(30px, 2.6vw, 52px); font-size: clamp(15px, .96vw, 19px); font-weight: 500; line-height: 1.35; }
.ft-info p:last-child { margin-bottom: 0; }
.ft-info a { transition: color .3s; }
.ft-info p a:hover { color: var(--k-acc); }
.ft-pic { margin: 0; align-self: start; aspect-ratio: 337 / 214; overflow: hidden; background: #111; }
.ft-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: grayscale(1) contrast(1.08); }
.ft-map { position: relative; align-self: start; }
.ft-map canvas { display: block; width: 100%; aspect-ratio: 1000 / 620; }
.ft-map-note { position: absolute; transform: translate(-50%, calc(-100% - 18px)); white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--k-fg); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ft-marq-track { animation: none; } }
@media (max-width: 1000px) {
  .ft-top, .ft-info { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .ft-top .ft-c2 { grid-column: 1 / -1; grid-row: 2; } .ft-c4 { grid-column: 2; }
  .ft-info .ft-c2 { grid-column: 1; } .ft-info .ft-c3 { grid-column: 2; } .ft-info .ft-pic { grid-column: 1; } .ft-info .ft-map { grid-column: 2; grid-row: 1; }
  .ft-tape { margin-left: 0; }
  .ft-nav { grid-template-columns: repeat(3, max-content); column-gap: 40px; }
}
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding: 24px 0; border-top: 1px solid var(--k-ln); font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--k-mu); }
.ft-bot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ft-bot a { transition: color .3s; }
.ft-bot a:hover { color: var(--k-fg); }
.ft .footer-dots { --dot: color-mix(in oklab, var(--k-fg) 52%, transparent); }
@media (max-width: 1100px) {
}
@media (max-width: 640px) {
}

/* ---------------- inner pages: the page's own colours feed the blocks; icons where numbers were */
body.theme-day {
  --k-bg: var(--paper); --k-fg: var(--deep); --k-mu: var(--muted); --k-dim: color-mix(in srgb, var(--c-0b3b2a) 30%, transparent);
  --k-ln: var(--line); --k-acc: var(--orange-hot); --k-acc-ink: var(--c-1d0b02);
}
.pg-sec .dmrow { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(40px, 4vw, 64px) 0 clamp(36px, 3.6vw, 56px); }
.pg-sec .dmrow .dmc:first-child { border-left: 0; padding-left: 0; }
.pg-guide .pg-svc { grid-template-columns: minmax(0, 1fr); }
.why2-item h3 { margin-top: clamp(20px, 2vw, 34px); }

.page-faq .faqs { padding-top: clamp(150px, 13vw, 230px); }

.home .site-header::before { transition: background-color .35s ease, opacity .35s ease; }

/* the road block measures against the window like the reference, not the 1680 px column */
.road .wrap.road-in { max-width: none; }

/* ---------------- header: slides up out of view on the way down, back on the way up (desktop),
   as on unitedcarriers.com: translateY(-101%), 0.35 s, cubic-bezier(.445, .05, .55, .95) */
@media (min-width: 769px) {
  .site-header { transition: transform .35s cubic-bezier(.445, .05, .55, .95); }
  .hdr-fixed .site-header, .home.hdr-fixed .site-header { animation: none; }
  .hdr-hide .site-header { transform: translateY(-101%); pointer-events: none; }
  .hdr-snap .site-header { transition: none; }
  /* inner pages: over the last 90 px before the top the compact bar grows into the page's own header
     (--hm 1 -> 0 from js/common.js): its padding 14 -> 26 px, the paper and the line under it fade out */
  .inner.hdr-fixed .site-header { padding-top: calc(26px - 12px * var(--hm, 1)); padding-bottom: calc(26px - 12px * var(--hm, 1)); }
  .inner.theme-day.hdr-fixed .site-header { background: color-mix(in srgb, var(--c-f7f2e8) calc(calc(.95 * var(--hm, 1)) * 100%), transparent); border-bottom-color: color-mix(in srgb, var(--line) calc(var(--hm, 1) * 100%), transparent); }
}

/* ---------------- cursor over a phone number or an email: a small disc saying COPY; on click it
   stretches into an orange pill, the letters of COPIED rise one by one and a tick draws itself */
.cursor.copy, .cursor.copied { mix-blend-mode: normal; }
/* the copy / copied states of the cursor live in style.css (.cur-tk-label on the trailer) */

/* FAQ on the same grid as the photos list above it (owner, 28 Nov): the questions start and end
   exactly under the rows (from 26 vw), the side note stands under the photo, F.A.Q in the left margin */
@media (min-width: 1101px) {
  .faqs .wrap.faq-grid {
    max-width: none; column-gap: 0;
    grid-template-columns: calc(clamp(var(--pad), 26vw, 560px) - var(--pad)) minmax(0, 1fr) calc(clamp(40px, 13vw, 280px) + clamp(240px, 17vw, 360px));
  }
  .faqs .faq-intro { padding-right: clamp(20px, 2vw, 40px); }
  .faqs .faq-side { padding-left: clamp(40px, 13vw, 280px); }
}

/* the photos list and the FAQ list stand in the middle of the page (owner, 28 Nov): equal margins of
   26 vw on both sides, the lists from 26 vw to 74 vw; the photo and the FAQ note sit at the right
   edge of the right margin, F.A.Q in the left one */
@media (min-width: 1101px) {
  .road .wrap.road-in, .faqs .wrap.faq-grid {
    max-width: none; padding-left: var(--pad); padding-right: var(--pad); column-gap: 0;
    grid-template-columns: calc(26vw - var(--pad)) minmax(0, 1fr) calc(26vw - var(--pad));
  }
  .road .k-h2, .road-list { grid-column: 2; }
  .road-media { grid-column: 3; justify-self: end; width: 17vw; }
  .faqs .faq-side { grid-column: 3; justify-self: end; width: 17vw; padding-left: 0; }
}

/* ---------------- the photos list on a computer (wider than 900 px): the card under the mouse is the player */
.road-fine .road-media { display: none; }
.cursor.media { opacity: 0 !important; } /* the photo card follows the mouse instead of the cursor */
.road-float { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(360px, 32vw, 640px); aspect-ratio: 3 / 2; pointer-events: none; will-change: transform; transform: translate3d(-999px, -999px, 0); }
.road-float-in {
  position: absolute; inset: 0; overflow: hidden; border-radius: 10px; background: var(--c-ece5d8);
  clip-path: inset(46% 46% 46% 46% round 10px); transform: scale(.6); opacity: 0;
  transition: clip-path .62s cubic-bezier(.16, 1, .3, 1), transform .62s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
.road-float.open .road-float-in { clip-path: inset(0 0 0 0 round 10px); transform: none; opacity: 1; }
/* one picture in front (on), the one it covers (was) under it, the rest hidden; the front one's layer
   slides up from below: a transform on its own layer, so a fast sweep costs no repaints */
.road-float figure { position: absolute; inset: 0; margin: 0; overflow: hidden; visibility: hidden; z-index: 1; }
.road-float figure.on, .road-float figure.was { visibility: visible; }
.road-float figure.on { z-index: 2; }
.road-float .rf { position: absolute; inset: 0; transform: translate3d(0, 101%, 0); will-change: transform; }
.road-float figure.was .rf { transform: none; }
.road-float figure.on .rf { transform: none; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.road-float img, .road-float video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; transform: scale(1.1); will-change: transform; }
.road-float figure.on img, .road-float figure.on video { transform: none; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .road-float-in, .road-float .rf, .road-float img, .road-float video { transition-duration: .01s !important; } }

/* ---------------- phones, inner pages only (owner, 30 Nov; the home page is not touched): links and
   buttons a finger can hit (40 px tall and more; they were 17-30), nothing smaller than 11 px */
@media (max-width: 600px) {
  .inner .ft-nav { row-gap: 0; }
  .inner .ft-nav a { padding: 10px 0; }
  .inner .ft-tabs button { height: 40px; padding: 0 16px; }
  .inner .ft-bot nav { gap: 0 26px; }
  .inner .ft-bot nav a { display: inline-block; padding: 11px 0; }
  .inner .faq-side a { padding: 10px 0; margin-bottom: 2px; }
  .inner .pg-svc .more { padding: 12px 0; margin-top: 8px; }
  .inner a.ct-v { padding: 8px 0; }
  .inner .legal-toc { gap: 0; }
  .inner .legal-toc a { display: block; padding: 11px 0; }
  .inner .ct-k, .inner .tv-cap { font-size: 11px; }
  /* Privacy policy: the list of chapters stayed stuck to the screen and lay over the text while reading */
  .inner .legal-toc { position: static; }
  .inner .legal { padding-top: 124px; }
  .inner .legal-top h1 { font-size: clamp(38px, 13.5vw, 56px); }
}

/* owner, 1 Dec: on phones the footer links stand in three columns (two rows), not two, to save height */
@media (max-width: 600px) {
  .ft-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; column-gap: 14px; }
  .ft-nav a { width: auto; justify-self: start; }
}

/* owner, 1 Dec: the footer's top line was pieces (one over each column: gaps between them and short of both
   screen edges) and stood 80-130 px below the end of the block above. Now, on every screen, one line across the
   whole width right where the block above ends (the call block's rings end on it); the columns start under it
   as far down as they used to start under their own lines */
.ft { padding-top: clamp(28px, 2.6vw, 44px); border-top: 1px solid var(--k-ln); }
.ft-top > .ft-c1, .ft-top > .ft-c4 { border-top: 0; padding-top: 0; }
/* side by side with the others above 1000 px; below it the company links take their own row, under a line */
@media (min-width: 1001px) { .ft-top > .ft-c2 { border-top: 0; padding-top: 0; } }

/* phones with the page's own scroll box (js/common.js, html.has-scroller): a screen of the story is the visible
   height (--vp-h), not 100vh (on an iPhone 100vh is the full screen, taller than the visible area). The block after
   the story slid in over the live scene too early (it was pulled up by 100vh while the story's last screen is
   --vp-h), and the dome's cream ended at 100vh (owner, 1 Dec: the "On the road" list over the truck). Every
   100vh of the hand-off is --vp-h here. */
html.has-scroller .home-after { margin-top: calc(-1 * var(--vp-h, 100svh)); }
html.has-scroller .road {
  min-height: var(--vp-h, 100svh);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--c-f7f2e8) 0%, transparent) 0, color-mix(in srgb, var(--c-f7f2e8) 0%, transparent) calc(var(--vp-h, 100svh) - 2px), var(--c-f7f2e8) calc(var(--vp-h, 100svh) - 2px));
}
html.has-scroller .road::before, html.has-scroller .road::after { height: var(--vp-h, 100svh); }
@media (max-width: 900px) {
  html.has-scroller .road { padding-top: calc(var(--vp-h, 100svh) * .54 + 24px); }
}
/* edge to edge (viewport-fit=cover): the footer's last row keeps clear of a phone's gesture bar */
@media (max-width: 768px) { .ft { padding-bottom: env(safe-area-inset-bottom, 0px); } }
