/* ==========================================================================
   BBM — Art pass 2026-11-08
   A bounded visual layer on top of the existing system. The job here is
   depth, not a repaint: warm paper and cool harbour ink stay the base,
   coral is the single signature, and each home section now has a clear
   background / middle-ground / foreground stack.

   Loaded after bbm-dark.css so every new surface can carry its own dark
   appearance. No new JS, fonts, claims or third-party artwork.
   ========================================================================== */

:root {
  --paper-warm: #f4ead8;
  --paper-deep: #eee0c9;
  --sand-2: #ead8bb;
  --mist-2: #dce7ee;
  --stamp-cream: #fbf3e4;
  --coral-ink: #8a3115;
  --harbour-ink: #102f4c;
  --edge-warm: rgba(16, 29, 43, .10);
  --shadow-object: 0 3px 7px rgba(16, 29, 43, .08), 0 26px 54px rgba(16, 29, 43, .16);
  --shadow-deep: 0 2px 4px rgba(16, 29, 43, .05), 0 42px 90px rgba(16, 29, 43, .20);
}

html[data-theme="dark"] {
  --paper-warm: #0e1c2a;
  --paper-deep: #10202f;
  --sand-2: #2a2418;
  --mist-2: #17303f;
  --stamp-cream: #f6ead3;
  --coral-ink: #f3a184;
  --harbour-ink: #c4dcf2;
  --edge-warm: rgba(247, 241, 229, .18);
  --shadow-object: 0 4px 10px rgba(0, 0, 0, .5), 0 30px 60px rgba(0, 0, 0, .42);
  --shadow-deep: 0 4px 12px rgba(0, 0, 0, .55), 0 50px 100px rgba(0, 0, 0, .48);
}

/* Keep the paper feel from becoming a flat fill. The texture is two very
   soft radial washes; it never sits behind form fields or body copy. */
body.page-home,
body.page-services {
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(232, 216, 187, .42), transparent 62%),
    radial-gradient(900px 420px at 2% 42%, rgba(220, 231, 238, .30), transparent 68%);
  background-repeat: no-repeat;
}

html[data-theme="dark"] body.page-home,
html[data-theme="dark"] body.page-services {
  background-image:
    radial-gradient(1000px 520px at 90% -10%, rgba(38, 58, 76, .55), transparent 64%),
    radial-gradient(760px 420px at 0% 46%, rgba(20, 44, 62, .50), transparent 70%);
}

/* ---------- Tactile controls -------------------------------------------- */
.btn,
.at-btn,
.chip,
.at-index__row,
.at-fleet__item,
.service-row,
.at-faq__item summary {
  -webkit-tap-highlight-color: transparent;
}

.btn:active,
.at-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(16, 29, 43, .16);
}

.at-btn--solid,
.btn--filled {
  box-shadow: 0 2px 3px rgba(11, 23, 35, .16), 0 12px 24px rgba(11, 23, 35, .16);
}

.at-btn--solid:hover,
.btn--filled:hover {
  box-shadow: 0 4px 8px rgba(11, 23, 35, .18), 0 18px 32px rgba(22, 67, 107, .20);
}

.chip {
  transition: background-color .2s var(--ease-standard), border-color .2s var(--ease-standard),
              color .2s var(--ease-standard), transform .2s var(--ease-out);
}
.chip:hover {
  transform: translateY(-1px);
  border-color: var(--coral);
  color: var(--coral-ink);
}

/* ==========================================================================
   HOME — HERO
   Three planes: cream room + ghost lettering, a warm printed postcard,
   the route docket, then the floating quote card.
   ========================================================================== */
.at-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 56%, var(--paper) 100%);
  padding-block: clamp(32px, 4.4vw, 58px) 0;
}

/* Background plane: oversized word, kept well below text contrast. */
.at-hero::before {
  content: "MOVE";
  position: absolute;
  z-index: -1;
  left: max(-4px, calc((100vw - 1280px) / 2 - 26px));
  top: clamp(98px, 13vw, 150px);
  font-family: var(--font-display);
  font-size: clamp(9rem, 21vw, 22rem);
  font-weight: 650;
  line-height: .76;
  letter-spacing: -.085em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(22, 67, 107, .19);
  pointer-events: none;
  user-select: none;
}

html[data-theme="dark"] .at-hero::before {
  -webkit-text-stroke-color: rgba(196, 220, 242, .075);
}

/* A quiet route line behind the left column — the same idea as the docket,
   at background depth. */
.at-hero__copy {
  position: relative;
  z-index: 1;
}
.at-hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -18px;
  top: 33%;
  width: min(112%, 620px);
  height: 2px;
  border-radius: 999px;
  background-image: repeating-linear-gradient(90deg, rgba(22, 67, 107, .24) 0 7px, transparent 7px 20px);
  background-size: 240px 2px;
  transform: rotate(-7deg);
  pointer-events: none;
  animation: at-route-flow 16s linear infinite;
}
html[data-theme="dark"] .at-hero__copy::before {
  background-image: repeating-linear-gradient(90deg, rgba(196, 220, 242, .18) 0 7px, transparent 7px 20px);
}

.at-hero__lede {
  position: relative;
  z-index: 1;
}

/* Middle / foreground plane: postcard behind the route docket. */
.at-hero__layers {
  position: relative;
  z-index: 1;
  max-width: 548px;
  margin-top: 30px;
  padding-bottom: 10px;
}

.at-hero__postcard {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 59%;
  margin: 0;
  padding: 6px 6px 7px;
  border-radius: 7px;
  background: var(--stamp-cream);
  box-shadow: var(--shadow-object);
  transform: rotate(2.4deg);
  overflow: hidden;
}
.at-hero__postcard::after {
  content: "The new place";
  display: block;
  padding: 6px 4px 1px;
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.1;
  color: rgba(16, 29, 43, .62);
  text-align: right;
}
html[data-theme="dark"] .at-hero__postcard::after { color: rgba(16, 29, 43, .70); }
.at-hero__postcard img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
}

.at-hero__layers .at-route {
  position: relative;
  z-index: 2;
  width: 84%;
  max-width: none;
  margin: 70px 0 0;
  border: 4px solid var(--stamp-cream);
  border-radius: 9px;
  box-shadow: var(--shadow-object);
  transform: rotate(-1.1deg);
}
.at-hero__layers .at-route__frame { padding: 5px 5px 0; }
.at-hero__layers .at-route__svg { border-radius: 5px 5px 0 0; }
.at-hero__layers .at-route__note {
  background: var(--navy);
  padding: 9px 12px 11px;
  font-size: 9.5px;
}
.at-hero__layers .at-route__note span { color: var(--stamp-cream); }

.at-hero__stamp {
  position: absolute;
  z-index: 3;
  right: -18px;
  top: 18px;
  bottom: auto;
  display: grid;
  place-content: center;
  gap: 1px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px dashed rgba(251, 243, 228, .55);
  background: var(--coral);
  color: var(--stamp-cream);
  text-align: center;
  line-height: 1;
  transform: rotate(7deg);
  box-shadow: 0 10px 20px rgba(90, 29, 9, .28);
  pointer-events: none;
}
.at-hero__stamp span {
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .9;
}
.at-hero__stamp strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--stamp-cream);
}

/* Quote card: the foreground plane. A coral/paper block sits behind it so
   the form reads as a physical sheet laid on the page, not a flat panel. */
.at-hero__form-wrap {
  position: relative;
  padding: 12px 0 0 12px;
}
.at-hero__form-wrap::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 28px -16px -16px 34px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--tone-peach) 0%, var(--coral-soft) 58%, var(--paper-deep) 100%);
  transform: rotate(.65deg);
}
html[data-theme="dark"] .at-hero__form-wrap::before {
  background: linear-gradient(135deg, #2a1b16 0%, #33201a 58%, #10202f 100%);
}
.at-hero__form {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-deep);
}
.at-hero__form .at-form__head {
  background:
    linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 100%);
}
.at-hero__form .at-form__body { background: var(--canvas); }

/* ==========================================================================
   HOME — HOW IT WORKS
   The dark card is the middle ground; the step rail is a raised panel;
   a huge ghost numeral and a coral orbit sit behind.
   ========================================================================== */
.at-story {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--canvas);
}
.at-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 340px at 12% 18%, rgba(232, 216, 187, .55), transparent 68%),
    radial-gradient(540px 300px at 92% 80%, rgba(247, 226, 215, .38), transparent 70%);
  pointer-events: none;
}
html[data-theme="dark"] .at-story::before {
  background:
    radial-gradient(620px 340px at 12% 18%, rgba(38, 55, 70, .50), transparent 68%),
    radial-gradient(540px 300px at 92% 80%, rgba(60, 35, 28, .30), transparent 70%);
}

.at-story__grid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(125deg, var(--navy) 0%, var(--navy-2) 62%, #17324a 100%);
  box-shadow: var(--shadow-deep);
}

/* Background inside the card: a route arc and a ghost "04". */
.at-story__grid::before {
  content: "04";
  position: absolute;
  z-index: -1;
  right: 12px;
  bottom: -74px;
  font-family: var(--font-display);
  font-size: clamp(12rem, 26vw, 24rem);
  font-weight: 600;
  line-height: .8;
  letter-spacing: -.08em;
  color: rgba(247, 241, 229, .06);
  pointer-events: none;
}
.at-story__grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: -150px;
  top: -160px;
  border: 1px solid rgba(247, 241, 229, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(247, 241, 229, .025),
    0 0 0 68px rgba(247, 241, 229, .018);
  pointer-events: none;
}

.at-story__intro { position: relative; z-index: 1; }
.at-story__intro h2 { font-size: clamp(2rem, 3.25vw, 2.9rem); }

/* A visible progress line, with a little depth to match the rail. */
.at-meter { position: relative; z-index: 1; }
.at-meter__top {
  align-items: baseline;
}
.at-meter__top span:first-child {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--stamp-cream);
}
.at-meter__top span:first-child::before {
  content: "Step ";
  margin-right: 7px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  vertical-align: middle;
}
.at-meter__top span:last-child {
  font-size: 11px;
  color: var(--on-dark-muted);
}
.at-meter__track {
  height: 5px;
  background: rgba(247, 241, 229, .18);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.at-meter__fill {
  position: relative;
  width: calc(var(--at-progress, .04) * 100%);
  background: linear-gradient(90deg, var(--coral), #f0a184);
  box-shadow: 0 0 12px rgba(240, 161, 132, .35);
  transition: width .35s var(--ease-out);
}
.at-meter__fill::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stamp-cream);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(240, 161, 132, .20);
}

/* The step rail becomes a raised panel at the foreground of the dark card. */
.at-story__rail {
  position: relative;
  z-index: 1;
  padding: 8px 18px 6px;
  border-radius: 12px;
  background: rgba(247, 241, 229, .045);
  border: 1px solid rgba(247, 241, 229, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.at-rail { height: 40px; }
.at-rail__line { top: 18px; height: 1px; background: rgba(247, 241, 229, .22); }
.at-rail__fill {
  top: 18px;
  height: 2px;
  width: calc(var(--at-rail-progress, .125) * 100%);
  background: linear-gradient(90deg, var(--coral), #f0a184);
  box-shadow: 0 0 10px rgba(240, 161, 132, .30);
  transition: width .4s var(--ease-out);
}
.at-rail__node {
  top: 14px;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  background: var(--navy-2);
  border-color: rgba(247, 241, 229, .50);
}
.at-rail__truck {
  top: 5px;
  left: calc(var(--at-rail-progress, .125) * 100%);
  width: 32px;
  color: var(--stamp-cream);
  filter: drop-shadow(0 0 4px rgba(251, 243, 228, .45)) drop-shadow(0 4px 6px rgba(0, 0, 0, .35));
  transition: left .4s var(--ease-out);
}

.at-scene {
  position: relative;
  padding: 22px 10px;
  border-top-color: rgba(247, 241, 229, .14);
  opacity: .68;
  transition: opacity .3s var(--ease-standard), background-color .3s var(--ease-standard);
}
.at-scene:last-child { border-bottom-color: rgba(247, 241, 229, .14); }
.at-scene.is-active {
  opacity: 1;
  background: linear-gradient(90deg, rgba(247, 241, 229, .075), rgba(247, 241, 229, .018) 64%, transparent);
  box-shadow: inset 3px 0 0 var(--coral);
}
.at-scene__num { color: #f0a184; }
.at-scene__art {
  width: 68px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(247, 241, 229, .055);
  border: 1px solid rgba(247, 241, 229, .12);
  opacity: 1;
}
.at-scene.is-active .at-scene__art {
  background: rgba(247, 241, 229, .09);
  border-color: rgba(240, 161, 132, .38);
}

/* ==========================================================================
   HOME — SERVICE INDEX
   Warm paper room, ghost index word, raised cards, and a framed scene
   thumbnail that sits proud of every row.
   ========================================================================== */
.at-index {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 46%, var(--paper-warm) 72%, var(--paper) 100%);
}
.at-index::before {
  content: "SIX";
  position: absolute;
  z-index: -1;
  right: max(-14px, calc((100vw - 1280px) / 2 - 26px));
  top: 6px;
  font-family: var(--font-display);
  font-size: clamp(9rem, 19vw, 19rem);
  font-weight: 650;
  line-height: .75;
  letter-spacing: -.09em;
  color: rgba(22, 67, 107, .075);
  pointer-events: none;
  user-select: none;
}
html[data-theme="dark"] .at-index::before { color: rgba(196, 220, 242, .05); }

.at-index .at-section-head { position: relative; z-index: 1; }

.at-index__list {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.at-index__item { border-bottom: 1px solid var(--line); }
.at-index__row {
  grid-template-columns: 46px minmax(0, .9fr) minmax(0, 1.12fr) 108px 28px;
  padding: 18px 10px;
  border-radius: 3px;
  transition: background-color .22s var(--ease-standard), padding-left .28s var(--ease-out),
              box-shadow .22s var(--ease-standard);
}
.at-index__row:hover {
  background: var(--canvas);
  padding-left: 18px;
  box-shadow: inset 3px 0 0 var(--coral), 0 14px 30px rgba(16, 29, 43, .06);
}
.at-index__num { font-size: 11px; }
.at-index__title { transition: color .2s var(--ease-standard); }
.at-index__row:hover .at-index__title { color: var(--coral-ink); }
.at-index__desc { max-width: 42ch; }
.at-index__art {
  position: relative;
  width: 108px;
  height: 80px;
  padding: 4px;
  border-radius: 7px;
  border: 1px solid rgba(16, 29, 43, .10);
  background: var(--stamp-cream);
  box-shadow:
    6px 6px 0 var(--sand-2),
    0 12px 24px rgba(16, 29, 43, .14);
  transform: rotate(-1.4deg);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-standard);
  overflow: hidden;
}
.at-index__item:nth-child(even) .at-index__art { transform: rotate(1.2deg); }
.at-index__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform .55s var(--ease-out);
}
.at-index__row:hover .at-index__art {
  transform: rotate(0deg) translateY(-3px);
  box-shadow:
    8px 10px 0 var(--coral-soft),
    0 18px 30px rgba(16, 29, 43, .18);
}
.at-index__row:hover .at-index__art img { transform: scale(1.07); }
.at-index__go { transition: transform .25s var(--ease-out), color .2s var(--ease-standard); }
.at-index__row:hover .at-index__go { transform: translateX(5px); color: var(--coral-ink); }

html[data-theme="dark"] .at-index__art {
  border-color: rgba(247, 241, 229, .14);
  background: var(--stamp-cream);
  box-shadow: 6px 6px 0 #2a2418, 0 16px 30px rgba(0, 0, 0, .40);
}
html[data-theme="dark"] .at-index__row:hover .at-index__art {
  box-shadow: 8px 10px 0 #3a2018, 0 22px 38px rgba(0, 0, 0, .45);
}

/* ==========================================================================
   HOME — FLEET
   The coral signature band, with a stack of cream fleet cards. Middle
   card sits high, each truck illustration sits in its own framed plate.
   ========================================================================== */
.at-fleet {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(760px 460px at 84% 8%, rgba(247, 241, 229, .16), transparent 62%),
    linear-gradient(155deg, #b3441f 0%, var(--coral) 44%, #8f3316 100%);
}
.at-fleet::before {
  content: "THREE";
  position: absolute;
  z-index: -1;
  left: max(-18px, calc((100vw - 1280px) / 2 - 30px));
  bottom: -32px;
  font-family: var(--font-display);
  font-size: clamp(9rem, 20vw, 20rem);
  font-weight: 650;
  line-height: .72;
  letter-spacing: -.09em;
  color: rgba(251, 243, 228, .12);
  pointer-events: none;
  user-select: none;
}
.at-fleet .at-section-head { position: relative; z-index: 1; }

.at-fleet__grid {
  position: relative;
  z-index: 1;
  align-items: start;
  counter-reset: fleet;
  padding-top: 14px;
}
.at-fleet__item {
  position: relative;
  counter-increment: fleet;
  padding: 12px 12px 24px;
  border-radius: 13px;
  background: var(--stamp-cream);
  border: 1px solid rgba(16, 29, 43, .08);
  box-shadow: var(--shadow-object);
  transform: translateY(0);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-standard);
}
.at-fleet__item:nth-child(2) { transform: translateY(-15px); }
.at-fleet__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-deep); }
.at-fleet__item:nth-child(2):hover { transform: translateY(-20px); }

.at-fleet__art {
  position: relative;
  margin: -12px -12px 18px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background:
    radial-gradient(220px 120px at 70% 10%, rgba(247, 241, 229, .65), transparent 70%),
    var(--mist);
}
.at-fleet__art::after {
  content: "0" counter(fleet);
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--stamp-cream);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(90, 29, 9, .28);
}
.at-fleet__art img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 352;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.at-fleet__item:hover .at-fleet__art img { transform: scale(1.035); }

.at-fleet__top {
  margin-bottom: 12px;
  border-bottom-color: rgba(16, 29, 43, .14);
}
.at-fleet__item h3 { font-size: 1.34rem; }
.at-fleet__item p { max-width: 34ch; }
.at-fleet__item a { text-decoration: none; }
.at-fleet__item a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   HOME — LOCAL
   A deep arch of route art, a house print peeking out, a postmark, and a
   sand field behind the whole arrangement.
   ========================================================================== */
.at-local {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(180deg, var(--canvas) 0%, var(--mist) 46%, var(--paper) 100%);
}
html[data-theme="dark"] .at-local {
  background: linear-gradient(180deg, #0a141e 0%, #101f2e 52%, #0b1622 100%);
}
.at-local::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: max(-180px, calc((100vw - 1280px) / 2 - 220px));
  top: 18%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(232, 216, 187, .68), rgba(232, 216, 187, 0) 68%);
  pointer-events: none;
}
html[data-theme="dark"] .at-local::before {
  background: radial-gradient(circle at 40% 35%, rgba(58, 45, 30, .45), rgba(58, 45, 30, 0) 68%);
}

.at-local__grid { position: relative; z-index: 1; }
.at-local__media {
  position: relative;
  overflow: visible;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  isolation: isolate;
}
.at-local__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% 8% -2% 4%;
  border: 1px solid rgba(22, 67, 107, .18);
  border-radius: 240px 240px 14px 14px;
  transform: rotate(-2.6deg);
  pointer-events: none;
}
html[data-theme="dark"] .at-local__media::before {
  border-color: rgba(196, 220, 242, .16);
}

.at-local__arch {
  position: relative;
  z-index: 1;
  padding: 10px;
  border-radius: 240px 240px 14px 14px;
  background: var(--stamp-cream);
  box-shadow: var(--shadow-object);
  overflow: hidden;
}
.at-local__arch img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 232px 232px 8px 8px;
}

.at-local__peek {
  position: absolute;
  z-index: 2;
  right: -22px;
  bottom: 42px;
  width: 43%;
  padding: 5px;
  border-radius: 8px;
  background: var(--stamp-cream);
  border: 1px solid rgba(16, 29, 43, .10);
  box-shadow: var(--shadow-object);
  transform: rotate(4deg);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.at-local__stamp {
  position: absolute;
  z-index: 3;
  left: -20px;
  top: 24%;
  display: grid;
  place-content: center;
  gap: 2px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px dashed rgba(251, 243, 228, .58);
  background: var(--harbour);
  color: var(--stamp-cream);
  text-align: center;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.1;
  transform: rotate(-8deg);
  box-shadow: 0 14px 26px rgba(11, 23, 35, .24);
  pointer-events: none;
}
.at-local__stamp strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--stamp-cream);
}
.at-local__stamp-sub {
  display: block;
  margin-top: 1px;
  font-size: 7.5px;
  letter-spacing: .22em;
  color: rgba(251, 243, 228, .72);
}
html[data-theme="dark"] .at-local__stamp { background: var(--coral); }

.at-local__media figcaption {
  position: relative;
  z-index: 3;
  padding: 12px 10px 0;
}
.at-local__media figcaption span { color: var(--coral-ink); }

/* ==========================================================================
   HOME — FAQ
   A cream ledger on warm paper, with a coral spine and a ghost query mark.
   ========================================================================== */
.at-faq {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.at-faq::before {
  content: "?";
  position: absolute;
  z-index: -1;
  right: max(8px, calc((100vw - 1280px) / 2 + 10px));
  top: 4%;
  font-family: var(--font-serif);
  font-size: clamp(16rem, 34vw, 32rem);
  line-height: .7;
  color: rgba(22, 67, 107, .060);
  pointer-events: none;
  user-select: none;
}
html[data-theme="dark"] .at-faq::before { color: rgba(196, 220, 242, .045); }

.at-faq__panel {
  position: relative;
  background: var(--stamp-cream);
  border: 0;
  border-left: 4px solid var(--coral);
  border-radius: 15px;
  box-shadow:
    13px 13px 0 var(--sand-2),
    var(--shadow-soft);
}
html[data-theme="dark"] .at-faq__panel {
  background: #12222f;
  box-shadow:
    13px 13px 0 #0a141e,
    inset 0 0 0 1px #22384a;
}
.at-faq__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 0;
  border-radius: 4px;
  background: var(--coral);
  opacity: .9;
}
.at-faq__item summary { padding: 19px 4px; }
.at-faq__item summary:hover .at-faq__q { color: var(--coral-ink); }
.at-faq__q { transition: color .2s var(--ease-standard); }
.at-faq__panel .at-faq__item { border-bottom-color: rgba(16, 29, 43, .13); }
html[data-theme="dark"] .at-faq__panel .at-faq__item { border-bottom-color: #2a3d4e; }

/* ==========================================================================
   HOME — CLOSING BAND
   A blue field with a printed new-home postcard, a route wash, and the
   oversized BBM watermark in the far background.
   ========================================================================== */
.at-cta {
  background:
    radial-gradient(700px 380px at 88% 12%, rgba(93, 154, 199, .30), transparent 64%),
    linear-gradient(120deg, var(--harbour-deep) 0%, var(--harbour) 55%, #1b547e 100%);
}
.at-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -14%;
  bottom: -95%;
  width: 80%;
  height: 190%;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 229, .10);
  box-shadow:
    0 0 0 48px rgba(247, 241, 229, .025),
    0 0 0 96px rgba(247, 241, 229, .018);
  pointer-events: none;
}
.at-cta__postcard {
  display: block;
  position: absolute;
  z-index: 0;
  right: max(24px, calc((100vw - 1280px) / 2));
  top: 50%;
  width: clamp(300px, 27vw, 430px);
  padding: 8px 8px 10px;
  border-radius: 8px;
  background: var(--stamp-cream);
  box-shadow: 0 34px 70px rgba(4, 18, 31, .38);
  transform: translateY(-50%) rotate(3.2deg);
  pointer-events: none;
}
.at-cta__postcard::after {
  content: "Route 01 · A new place";
  display: block;
  padding: 7px 4px 1px;
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.1;
  color: rgba(16, 29, 43, .62);
  text-align: right;
}
.at-cta__postcard img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
}
html[data-theme="dark"] .at-cta__postcard { background: var(--stamp-cream); }

/* Keep text above the postcard and watermark. */
.at-cta__inner { z-index: 2; }
.at-cta__title { text-wrap: balance; }

/* ==========================================================================
   INNER PAGE HEROES (shared)
   A paper room with a dot grid and ghost word behind, an offset coral
   mount, and an art plate that reads as an object on the page.
   ========================================================================== */
.page-hero--art {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(120deg, var(--paper) 0%, var(--paper-warm) 62%, var(--paper) 100%);
}
html[data-theme="dark"] .page-hero--art {
  background: linear-gradient(120deg, var(--paper) 0%, #10202f 62%, var(--paper) 100%);
}
.page-hero--art::before {
  content: "MOVE";
  position: absolute;
  z-index: 0;
  left: max(-10px, calc((100vw - 1280px) / 2 - 30px));
  bottom: -22px;
  font-family: var(--font-display);
  font-size: clamp(8rem, 17vw, 16rem);
  font-weight: 650;
  line-height: .72;
  letter-spacing: -.09em;
  color: rgba(22, 67, 107, .075);
  pointer-events: none;
  user-select: none;
}
html[data-theme="dark"] .page-hero--art::before { color: rgba(196, 220, 242, .045); }
.page-hero--art::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(22, 67, 107, .19) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  opacity: .6;
  pointer-events: none;
}
html[data-theme="dark"] .page-hero--art::after {
  background-image: radial-gradient(circle, rgba(196, 220, 242, .13) 1px, transparent 1.2px);
}
.page-hero--art > .shell { z-index: 2; }
.page-hero__art {
  z-index: 1;
  border: 7px solid var(--stamp-cream);
  border-radius: 13px;
  box-shadow:
    17px 17px 0 var(--coral-soft),
    var(--shadow-deep);
  transform: rotate(.65deg);
}
.page-hero__art::after {
  box-shadow: inset 0 0 0 1px rgba(16, 29, 43, .10);
}
.page-hero__stamp {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 10px 13px;
  border-radius: 5px;
  background: var(--stamp-cream);
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(16, 29, 43, .24);
  line-height: 1;
}
.page-hero__stamp span {
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.page-hero__stamp strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
}
html[data-theme="dark"] .page-hero__stamp { background: var(--stamp-cream); }
html[data-theme="dark"] .page-hero__stamp strong { color: #0b1723; }

.page-hero__rule { width: 92px; height: 4px; box-shadow: 10px 0 0 rgba(176, 67, 31, .22); }

/* ==========================================================================
   SERVICE PAGE
   ========================================================================== */
.page-services .section--tight {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 52%, var(--paper) 100%);
}
.page-services .section--tight::before {
  content: "SIX";
  position: absolute;
  z-index: 0;
  right: max(-10px, calc((100vw - 1280px) / 2 - 20px));
  top: 12px;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 17rem);
  font-weight: 650;
  line-height: .75;
  letter-spacing: -.09em;
  color: rgba(22, 67, 107, .05);
  pointer-events: none;
  user-select: none;
}
html[data-theme="dark"] .page-services .section--tight::before { color: rgba(196, 220, 242, .045); }
.page-services .section--tight > .shell { position: relative; z-index: 1; }

.service-row {
  box-shadow: var(--shadow-soft);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-standard);
}
.service-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.service-row__media {
  border: 5px solid var(--stamp-cream);
  border-radius: 9px;
  box-shadow: 10px 10px 0 var(--coral-soft);
  transition: box-shadow .28s var(--ease-standard), transform .28s var(--ease-out);
}
.service-row:nth-child(even) .service-row__media {
  box-shadow: -10px 10px 0 var(--coral-soft);
}
.service-row:hover .service-row__media {
  box-shadow: 13px 13px 0 var(--sand-2);
}
.service-row:nth-child(even):hover .service-row__media {
  box-shadow: -13px 13px 0 var(--sand-2);
}
.service-row__media img { transition: transform .6s var(--ease-out); }
.service-row:hover .service-row__media img { transform: scale(1.035); }
.service-row__num {
  top: 16px;
  left: 16px;
  box-shadow: 0 6px 16px rgba(16, 29, 43, .18);
}
.service-row__body h2 { color: var(--ink); }
.share-box {
  border-left: 3px solid var(--coral);
  border-radius: 0 8px 8px 0;
  background: var(--paper-warm);
}
html[data-theme="dark"] .share-box { background: #12222f; }
.service-row__actions .btn--filled { box-shadow: var(--shadow-button); }

/* Shared cards elsewhere in the site get a little more physical presence. */
.card {
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-standard);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.section--stage { position: relative; isolation: isolate; overflow: clip; }
.section--stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -140px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 229, .10);
  box-shadow: 0 0 0 44px rgba(247, 241, 229, .02);
  pointer-events: none;
}
.section--stage > .shell { position: relative; z-index: 1; }

/* The light CTA band on inner pages gains an offset edge. */
.cta-band {
  box-shadow:
    12px 12px 0 var(--paper-deep),
    var(--shadow-soft);
}
html[data-theme="dark"] .cta-band {
  box-shadow:
    12px 12px 0 #071019,
    var(--shadow-soft);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .at-index__row {
    grid-template-columns: 40px minmax(0, .9fr) minmax(0, 1.1fr) 94px 24px;
  }
  .at-index__art { width: 94px; height: 72px; }
  .at-cta__postcard { width: 330px; right: 24px; }
}

@media (max-width: 1023px) {
  .at-hero::before { top: 120px; opacity: .8; }
  .at-index__row {
    grid-template-columns: 38px minmax(0, 1fr) 84px 22px;
  }
  .at-index__desc { display: none; }
  .at-index__art { width: 84px; height: 64px; box-shadow: 5px 5px 0 var(--sand-2), 0 10px 20px rgba(16, 29, 43, .12); }
  .at-fleet__item:nth-child(2) { transform: none; }
  .at-fleet__item:nth-child(2):hover { transform: translateY(-5px); }
  .page-hero__art { transform: none; border-width: 5px; box-shadow: 10px 10px 0 var(--coral-soft), var(--shadow-soft); }
  .at-cta__postcard { display: none; }
  .page-hero--art::after { width: 70%; opacity: .4; }
}

@media (max-width: 767px) {
  body.page-home,
  body.page-services {
    background-image:
      radial-gradient(600px 300px at 100% -2%, rgba(232, 216, 187, .35), transparent 65%);
  }
  html[data-theme="dark"] body.page-home,
  html[data-theme="dark"] body.page-services {
    background-image:
      radial-gradient(600px 300px at 100% -2%, rgba(38, 58, 76, .45), transparent 65%);
  }

  /* The layer stack is an editorial aside on mobile, not the opening beat:
     keep the headline and the form first. */
  .at-hero__copy > .at-hero__layers { order: 5; }

  .at-hero { padding-block: 26px 0; }
  .at-hero::before {
    top: 88px;
    font-size: 27vw;
    opacity: .62;
  }
  .at-hero__copy::before { display: none; }

  .at-hero__layers { margin-top: 22px; }
  .at-hero__postcard { width: 55%; }
  .at-hero__layers .at-route { width: 90%; margin-top: 50px; }
  .at-hero__stamp {
    width: 66px;
    height: 66px;
    right: -12px;
    top: 8px;
    bottom: auto;
  }
  .at-hero__stamp strong { font-size: 21px; }
  .at-hero__stamp span { font-size: 7.5px; }

  .at-hero__form-wrap { padding: 0; }
  .at-hero__form-wrap::before { inset: 14px -6px -8px 14px; border-radius: 12px; }

  .at-story__grid { border-radius: 13px; }
  .at-story__grid::after { display: none; }
  .at-story__rail { padding: 5px 12px 3px; }
  .at-rail { height: 36px; }
  .at-rail__line, .at-rail__fill { top: 16px; }
  .at-rail__node { top: 12px; }
  .at-rail__truck { top: 3px; width: 27px; }
  .at-scene {
    grid-template-columns: minmax(0, 1fr) 58px;
    padding: 19px 8px;
  }
  .at-scene__art { width: 56px; padding: 7px; }
  .at-scene h3 { font-size: 1.12rem; }

  .at-index::before { top: 18px; }
  .at-index__row {
    grid-template-columns: 32px minmax(0, 1fr) 76px 20px;
    gap: 12px;
    padding: 14px 4px;
  }
  .at-index__row:hover { padding-left: 10px; }
  .at-index__art { display: block; width: 76px; height: 58px; padding: 3px; }
  .at-index__title { font-size: 1.18rem; }
  .at-index__go svg { width: 18px; height: 18px; }

  .at-fleet::before { font-size: 25vw; }
  .at-fleet__grid { padding-top: 4px; }
  .at-fleet__item { padding: 10px 10px 22px; }
  .at-fleet__art { margin: -10px -10px 16px; }
  .at-fleet__item:nth-child(2) { transform: none; }
  .at-fleet__item:hover, .at-fleet__item:nth-child(2):hover { transform: translateY(-3px); }
  .at-fleet__item h3 { font-size: 1.24rem; }

  .at-local__media { max-width: 440px; margin-inline: auto; }
  .at-local__peek { right: -4px; bottom: 34px; width: 42%; }
  .at-local__stamp { left: -6px; top: 20%; width: 74px; height: 74px; font-size: 8px; }
  .at-local__stamp strong { font-size: 20px; }
  .at-local__media::before { inset: 6% 5% 0 2%; }

  .at-faq__panel { box-shadow: 8px 8px 0 var(--sand-2), var(--shadow-soft); }
  .at-faq__panel::before { left: -5px; width: 3px; }
  html[data-theme="dark"] .at-faq__panel { box-shadow: 8px 8px 0 #0a141e, inset 0 0 0 1px #22384a; }

  .page-hero--art::before { bottom: -8px; font-size: 25vw; }
  .page-hero--art::after { width: 100%; opacity: .32; }
  .page-hero__art { border-width: 4px; border-radius: 10px; box-shadow: 6px 6px 0 var(--coral-soft), var(--shadow-soft); }
  .page-hero__stamp { left: 10px; bottom: 10px; padding: 8px 10px; }
  .page-hero__stamp strong { font-size: 21px; }

  .service-row { padding: 12px; box-shadow: var(--shadow-soft); }
  .service-row__media { border-width: 4px; box-shadow: 6px 6px 0 var(--coral-soft); }
  .service-row:hover .service-row__media,
  .service-row:nth-child(even):hover .service-row__media { box-shadow: 8px 8px 0 var(--sand-2); }
  .share-box { border-radius: 0 7px 7px 0; }
  .cta-band { box-shadow: 6px 6px 0 var(--paper-deep), var(--shadow-soft); }
}

@media (max-width: 380px) {
  .at-hero__layers .at-route { width: 94%; }
  .at-hero__postcard { width: 52%; }
  .at-index__row { grid-template-columns: 28px minmax(0, 1fr) 68px 18px; gap: 9px; }
  .at-index__art { width: 68px; height: 52px; }
  .at-index__title { font-size: 1.08rem; }
  .at-local__stamp { width: 66px; height: 66px; left: -2px; }
  .at-local__stamp strong { font-size: 18px; }
  .at-scene { grid-template-columns: minmax(0, 1fr) 48px; }
  .at-scene__art { width: 46px; }
}

/* ==========================================================================
   MOTION
   A small set of visible, purposeful loops around — never inside — the
   quote form. All of it is decorative, pauses for reduced motion, and
   leaves the static composition complete without CSS animation support.
   ========================================================================== */
@keyframes at-route-flow {
  to { background-position: 240px 0; }
}
@keyframes at-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
@keyframes at-ping {
  0% { transform: scale(.72); opacity: .62; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .at-hero__postcard { animation: at-float 8s ease-in-out infinite; }
  .at-cta__postcard { animation: at-float 9.5s ease-in-out infinite; }
  .at-route__ping {
    transform-box: fill-box;
    transform-origin: center;
    animation: at-ping 3.6s ease-out infinite;
  }
  .at-route__dash { animation-duration: 9s; animation-play-state: paused; }
  .at-route__ping { animation-play-state: paused; }
  .at-marquee__track { animation-duration: 102s; animation-play-state: paused; }
  .at-marquee.at-motion-running .at-marquee__track { animation-play-state: running; }
  .at-rail__line {
    background-image: repeating-linear-gradient(90deg, rgba(247, 241, 229, .25) 0 6px, transparent 6px 15px);
    background-size: 150px 1px;
    animation: at-route-flow 11s linear infinite;
  }
  .at-cta::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: 30px;
    height: 1px;
    background-image: repeating-linear-gradient(90deg, rgba(247, 241, 229, .22) 0 9px, transparent 9px 22px);
    background-size: 260px 1px;
    animation: at-route-flow 14s linear infinite;
    pointer-events: none;
  }
  .at-cta__postcard { z-index: 1; }
}

/* ---------- Reduced motion / no-JS safety ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .at-scene { opacity: 1; }
  .at-hero__postcard,
  .at-cta__postcard,
  .at-route__ping,
  .at-route__dash,
  .at-hero__copy::before,
  .at-rail__line,
  .at-marquee__track,
  .at-cta::after { animation: none !important; }
  .at-index__row,
  .at-index__art,
  .at-index__art img,
  .at-fleet__item,
  .at-fleet__art img,
  .service-row,
  .service-row__media,
  .service-row__media img,
  .card,
  .btn,
  .at-btn,
  .chip,
  .at-rail__truck,
  .at-rail__fill,
  .at-meter__fill {
    transition: none !important;
  }
  .at-rail__truck { transition: none !important; }
}

/* No JS: the static route and rail are complete. Never let a reveal gate
   hide content that has no observer attached. */
html:not(.js) .at-scene { opacity: 1; }
html:not(.js) [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* On very short phones, tighten the hero preamble so the three required
   fields sit above the fixed quick-nav rather than behind it. */
@media (max-width: 359px) {
  .at-hero { padding-block: 10px 0; }
  .at-kicker__aside { display: none; }
  .at-display { margin-top: 8px; font-size: 2.35rem; }
  .at-hero__form .at-form__head { padding: 7px 14px; }
  .at-form__body { padding: 10px 14px 12px; }
  .at-form__sub { margin-top: 4px; font-size: 13px; line-height: 1.4; }
  .at-form__preview { margin-top: 5px; padding: 6px 10px; font-size: 12px; }
  .at-form__grid { gap: 6px 10px; }
  .at-form .field input { min-height: 42px; }
  .noscript-nav__summary { min-height: 30px; padding-block: 4px; }
  /* Without scripting the collapsed menu adds height above the hero; trim
     that back so Name, Phone and Email stay clear of the dock at 320px. */
  html:not(.js) .at-hero { padding-block: 0; }
  html:not(.js) .at-hero__form .at-form__head { padding-block: 5px; }
  html:not(.js) .at-form__body { padding-top: 6px; }
  html:not(.js) .at-form__preview { margin-top: 2px; }
  html:not(.js) .at-form { margin-top: 6px; }
}

/* ==========================================================================
   MOTION PASS — "The Move Plays Out"
   Three paper planes, one rig, one route. Movement is transform-only, every
   start state is visible, and the quote form is excluded by name: it never
   moves, fades, tilts or waits. Scroll-linked rules live behind
   @supports (animation-timeline), and every timed rule behind
   prefers-reduced-motion: no-preference, so unsupported or reduced contexts
   keep the finished static composition.
   ========================================================================== */

:root {
  --m-rig: 5800ms;
  --m-draw: 620ms;
  --m-set: 560ms;
  --m-lift: 240ms;
  --m-stagger: 70ms;
  --ease-road: cubic-bezier(.55, .06, .18, 1);
  --ease-set: cubic-bezier(.22, 1, .36, 1);
}

/* --- Hero diorama: three planes on one desk ------------------------------- */
/* The static rotations move from transform to the individual rotate
   property so load, pointer and scroll values can compose without a later
   rule flattening the art direction. */
.at-hero__postcard { transform: none; rotate: 2.4deg; }
.at-hero__layers .at-route { transform: none; rotate: -1.1deg; }
.at-hero__stamp { transform: none; rotate: 7deg; }

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .at-hero__layers {
    transform: perspective(1000px) rotateX(var(--at-tilt-x, 0deg)) rotateY(var(--at-tilt-y, 0deg));
    transform-origin: 50% 42%;
    transition: transform .16s linear;
    will-change: transform;
  }
}

@keyframes at-plane-postcard {
  from { translate: 0 14px -34px; rotate: 4.2deg; }
  to { translate: 0 0 -34px; rotate: 2.4deg; }
}
@keyframes at-plane-route {
  from { translate: 0 22px 0; rotate: -2.3deg; }
  to { translate: 0 0 0; rotate: -1.1deg; }
}
@keyframes at-plane-stamp {
  from { translate: 0 -6px 42px; rotate: 11deg; scale: 1.12; }
  to { translate: 0 0 42px; rotate: 7deg; scale: 1; }
}
@keyframes at-stamp-arrive {
  0% { translate: 0 0 42px; rotate: 7deg; scale: 1.06; }
  100% { translate: 0 0 42px; rotate: 7deg; scale: 1; }
}
@keyframes at-key-ping {
  0% { scale: .7; opacity: .75; }
  100% { scale: 2.3; opacity: 0; }
}
@keyframes at-cargo-bob {
  0%, 100% { translate: 0 0; }
  48% { translate: 0 -1.2px; }
}

.at-route__ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .at-hero__postcard { animation: at-plane-postcard var(--m-set) var(--ease-set) both; }
  .at-hero__layers .at-route { animation: at-plane-route var(--m-set) var(--ease-set) both; }
  .at-hero__stamp { animation: at-plane-stamp var(--m-set) var(--ease-set) both; }

  .at-hero__layers.is-arrived .at-hero__stamp {
    animation: at-stamp-arrive 460ms var(--ease-set) both;
  }
  .at-route.is-arrived .at-route__ring {
    animation: at-key-ping 620ms var(--ease-set) both;
  }
  .at-rig__cargo { transform-box: fill-box; transform-origin: center bottom; }
  .at-route.is-driving .at-rig__cargo {
    animation:
      at-cargo-bob .9s var(--ease-standard) 2.6s 1,
      at-cargo-bob .9s var(--ease-standard) 4.5s 1;
  }
}

/* Dashes and the pickup ring flow only while the rig is actually driving,
   and only while the docket is on screen. Arrival stops both. */
.at-route__dash,
.at-route__ping { animation-play-state: paused; }
.at-route.is-driving.at-motion-running .at-route__dash,
.at-route.is-driving.at-motion-running .at-route__ping { animation-play-state: running; }
.at-route.is-arrived .at-route__dash,
.at-route.is-arrived .at-route__ping { animation-play-state: paused; }

/* The thin ambient rules wait with their sections instead of painting
   behind the rest of the page. */
.at-hero__copy::before { animation-play-state: paused; }
.at-hero.at-motion-running .at-hero__copy::before { animation-play-state: running; }
.at-rail__line { animation-play-state: paused; }
.at-story.at-motion-running .at-rail__line { animation-play-state: running; }

/* The closing band waits with its section too, instead of painting a float
   and a moving rule behind a viewport that cannot see them. */
.at-cta__postcard,
.at-cta::after { animation-play-state: paused; }
.at-cta.at-motion-running .at-cta__postcard,
.at-cta.at-motion-running::after { animation-play-state: running; }

/* --- Replay: a quiet text control, never a second boxed CTA -------------- */
.at-hero__replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: none;
  color: var(--harbour);
  font: inherit;
  font-size: 13px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease;
}
.at-hero__replay:hover { color: var(--coral-ink); }
.at-hero__replay:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  color: var(--coral-ink);
}
.at-hero__replay[hidden] { display: none; }
html[data-theme="dark"] .at-hero__replay { color: var(--cream); }
html[data-theme="dark"] .at-hero__replay:hover,
html[data-theme="dark"] .at-hero__replay:focus-visible { color: #f3a184; }

/* --- Story manifest: a cream docket laid on the navy desk ----------------- */
.at-rail__truck {
  top: 1px;
  width: 40px;
  transition: left 140ms linear;
}
.at-rail__truck::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 3px;
  width: 11px;
  height: 8px;
  background: var(--coral);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.at-rail__fill { transition: width 140ms linear; }
.at-meter__fill { transition: width 140ms linear; }

.at-scene {
  opacity: .62;
  z-index: 1;
  transition:
    opacity .3s var(--ease-standard),
    background-color .42s var(--ease-set),
    translate .42s var(--ease-set),
    box-shadow .42s var(--ease-set),
    color .42s var(--ease-set);
}
.at-scene.is-active {
  background: var(--stamp-cream);
  color: var(--navy);
  translate: 0 -6px;
  margin-inline: -10px;
  padding-inline: 20px;
  border-color: transparent;
  border-radius: 9px;
  box-shadow:
    inset 3px 0 0 var(--coral),
    0 16px 34px rgba(11, 23, 35, .28);
  z-index: 2;
}
.at-scene.is-active h3 { color: var(--navy); }
.at-scene.is-active .at-scene__copy > p:last-child { color: #40505e; }
.at-scene.is-active .at-scene__num { color: #852e12; }
.at-scene.is-active .at-scene__num span { color: #4d616f; }
.at-scene.is-active .at-scene__art {
  color: var(--navy);
  background: rgba(22, 67, 107, .06);
  border-color: rgba(22, 67, 107, .18);
}

/* --- Section set-downs (scroll-driven, no JS, still without support) ------ */
.at-section-head { position: relative; }
.at-section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 96px;
  height: 2px;
  background: var(--coral);
  transform-origin: left center;
  pointer-events: none;
}
.at-fleet .at-section-head::after { background: var(--stamp-cream); }

@keyframes at-section-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes at-set-down {
  from { translate: 0 16px; }
  to { translate: 0 0; }
}
@keyframes at-art-peek {
  from { translate: -12px 2px; scale: 1.05; }
  to { translate: 0 0; scale: 1; }
}
@keyframes at-fleet-park {
  from { translate: 0 22px; rotate: var(--bay-from, 0deg); }
  to { translate: 0 0; rotate: 0deg; }
}
@keyframes at-arch-drift {
  from { translate: 0 10px; }
  to { translate: 0 -6px; }
}
@keyframes at-peek-drift {
  from { translate: 0 6px; }
  to { translate: 0 -10px; }
}
@keyframes at-stamp-press {
  from { scale: 1.12; }
  to { scale: 1; }
}

.at-fleet__item { --bay-from: -1.2deg; }
.at-fleet__item:nth-child(2) { --bay-from: 0deg; }
.at-fleet__item:nth-child(3) { --bay-from: 1.2deg; }

@media (prefers-reduced-motion: no-preference) {
  .at-index__row:focus-visible {
    background: var(--canvas);
    padding-left: 18px;
    box-shadow: inset 3px 0 0 var(--coral), 0 14px 30px rgba(16, 29, 43, .06);
    outline: 2px solid var(--coral);
    outline-offset: -2px;
  }
  .at-index__row:focus-visible .at-index__title { color: var(--coral-ink); }
  .at-index__row:focus-visible .at-index__art { transform: rotate(0deg) translateY(-3px); }
  .at-index__row:focus-visible .at-index__art img { transform: scale(1.07); }
  .at-index__row:focus-visible .at-index__go { transform: translateX(5px); color: var(--coral-ink); }

  .at-fleet__item:focus-within { transform: translateY(-5px); box-shadow: var(--shadow-deep); }
  .at-fleet__item:focus-within .at-fleet__art img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .at-fleet__item:nth-child(2):focus-within { transform: translateY(-20px); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .at-section-head::after {
      animation: at-section-rule 620ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .at-index__item {
      animation: at-set-down 560ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .at-index__art img {
      animation: at-art-peek 620ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 50%;
    }
    .at-fleet__item {
      animation: at-fleet-park 620ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .at-fleet__item:nth-child(2) { animation-range: entry 8% entry 68%; }
    .at-fleet__item:nth-child(3) { animation-range: entry 16% entry 76%; }
    .at-local__arch {
      animation: at-arch-drift 620ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .at-local__peek {
      animation: at-peek-drift 620ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .at-local__stamp {
      animation: at-stamp-press 520ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

/* --- Hero ghost word: camera lag behind the paper stack ------------------- */
@keyframes at-ghost-drift { from { translate: 0 0; } to { translate: 0 8px; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .at-hero::before {
      animation: at-ghost-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 700px;
    }
  }
}

/* --- Inner-page plate settle (never on the quote hero) ------------------- */
@keyframes at-plate-set {
  from { translate: 0 16px; scale: 1.015; }
  to { translate: 0 0; scale: 1; }
}
@keyframes at-plate-drift { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes at-ghost-lag { from { translate: 0 0; } to { translate: 0 8px; } }

@media (prefers-reduced-motion: no-preference) {
  .page-hero--art:not(.page-hero--quote):not(.quote-hero) .page-hero__art picture {
    animation: at-plate-set 700ms var(--ease-set) both;
  }
  .page-hero--art:not(.page-hero--quote):not(.quote-hero) .page-hero__stamp {
    animation: at-stamp-press 520ms var(--ease-set) both;
  }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .page-hero--art:not(.page-hero--quote):not(.quote-hero) .page-hero__art {
      animation: at-plate-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 700px;
    }
    .page-hero--art:not(.page-hero--quote):not(.quote-hero)::before {
      animation: at-ghost-lag linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 700px;
    }
  }
}

/* --- Narrow screens: keep depth but drop the heavy tilt ------------------ */
@media (max-width: 1023px) {
  .at-hero__layers { transform: none; transition: none; }
  .at-rail__truck { width: 34px; }
}
@media (max-width: 767px) {
  .at-rail__truck { width: 32px; }
  .at-fleet__item { --bay-from: 0deg; }
  @supports (animation-timeline: view()) {
    .at-fleet__item {
      animation-name: at-set-down;
    }
  }
  .at-scene.is-active { margin-inline: -6px; padding-inline: 16px; }
}

/* --- Reduced motion: no new movement, static composition remains --------- */
@media (prefers-reduced-motion: reduce) {
  .at-hero__layers { transform: none; transition: none; }
  .at-hero__replay { transition: none; }
  .at-scene { transition: none; translate: none; }
  .at-rail__truck, .at-rail__fill, .at-meter__fill { transition: none; }
}

/* ==========================================================================
   MOBILE DOCK CLEARANCE
   The quick-nav is fixed to the bottom edge. Phones wider than 359px get a
   tighter hero/form rhythm so the whole quote card — including the privacy
   link — finishes above the dock at 390x844. Short phones (<=359px) keep
   their existing compact block and scroll; focused controls are brought
   clear by bbm-mobile-quote-form.js. No type is made smaller.
   ========================================================================== */
@media (min-width: 360px) and (max-width: 767px) {
  .at-hero { padding-block: 4px 0; }
  .at-hero__form .at-form__head { padding: 10px 18px; }
  .at-form__body { padding: 12px 18px 10px; }
  .at-form__preview { margin-top: 4px; }
  .at-form { margin-top: 6px; }
  .at-form__grid { gap: 6px 12px; }
  .at-form .field { gap: 5px; }
  .at-form .at-btn--block { margin-top: 8px; }
  .at-form__note { margin-top: 5px; }
}

/* Without scripting the collapsed menu adds its own bar above the hero.
   Give the narrow-phone no-JS view back that height so the privacy link
   stays clear even with a 34px iPhone safe-area inset. */
@media (min-width: 360px) and (max-width: 430px) {
  html:not(.js) .noscript-nav__summary { min-height: 30px; padding-block: 4px; }
  html:not(.js) .at-hero { padding-block: 0; }
  html:not(.js) .at-hero__form .at-form__head { padding-block: 5px; }
  html:not(.js) .at-form__body { padding-top: 6px; }
  html:not(.js) .at-form__preview { margin-top: 2px; }
}

/* ==========================================================================
   SHORT DESKTOP VIEWPORTS
   Best effort at 1280x720: trim the card's breathing room without shrinking
   body or input text. At 720px the submit and privacy note fit; taller
   laptops (768px+) keep the standard rhythm.
   ========================================================================== */
@media (min-width: 1024px) and (max-height: 740px) {
  .at-hero { padding-block: 24px 0; }
  .at-hero__lede { margin-top: 12px; }
  .at-hero__form .at-form__head { padding-block: 12px; }
  .at-form__body { padding: 10px 18px 8px; }
  .at-form__title { font-size: 1.55rem; line-height: 1.1; }
  .at-form__sub { margin-top: 2px; }
  .at-form__preview { margin-top: 6px; padding: 5px 10px; }
  .at-form { margin-top: 10px; }
  .at-form__grid { gap: 4px 14px; }
  .at-form .field label { line-height: 1.2; }
  .at-form .field input { min-height: 42px; }
  .at-form .at-btn--block { margin-top: 8px; }
  .at-form__note { margin-top: 2px; }
}

