
@property --band { syntax: "<length>"; inherits: true; initial-value: 44px; }
:root {
  --teal: #0A4A52;
  --ink: #0B1416;
  --white: #FFFFFF;
  --mist: #9ED8D2;
  --sea: #26C2AE;
  --mute: #477779;
  --display: "Ultra", Georgia, "Times New Roman", serif;
  --text: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --margin: clamp(12px, 6.5vw, 120px);
  --band: clamp(20px, 3.1vw, 44px);
  --nav-h: 92px;
  --hero-gap: clamp(14px, 2.4vw, 36px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --press: cubic-bezier(.7, 0, .2, 1);
}
html { background: var(--teal); }
body {
  background: var(--teal);
  color: var(--white);
  font-family: var(--text);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em, i { font-style: normal; }
::selection { background: var(--mist); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-family: var(--display); font-weight: 400; font-synthesis: none; letter-spacing: -0.005em; }
.cloth { width: min(1180px, calc(100% - 2 * var(--margin))); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav { height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav__side { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 15px; font-weight: 500; }
.nav__side--r { justify-content: flex-end; }
.nav__side a, .foot__links a { text-decoration: none; color: var(--mist); padding-block: 4px; transition: color .4s var(--press); }
.nav__side a:hover, .foot__links a:hover { color: var(--white); }
.nav__mark { font-family: var(--display); font-size: 25px; line-height: 1; text-decoration: none; letter-spacing: .01em; padding: 6px 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

/* ---------- Kanga ---------- */
.kanga {
  --gap: calc(var(--band) * .3);
  --padx: clamp(8px, 5.6vw, 96px);
  --pady: clamp(44px, 7vw, 112px);
  --edge: calc(var(--band) + var(--gap));
  position: relative;
  padding: calc(var(--edge) + var(--pady)) calc(var(--edge) + var(--padx)) calc(var(--edge) + clamp(30px, 3.6vw, 56px));
  text-align: center;
}
.kanga--teal { background: var(--teal); color: var(--white); --sub: var(--mist); --rule: rgba(158, 216, 210, .42); }
.kanga--white { background: var(--white); color: var(--teal); --sub: var(--mute); --rule: rgba(10, 74, 82, .38); }
.kanga > :not(.pindo) { position: relative; z-index: 1; }
.pindo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pindo .t { transform-box: fill-box; transform-origin: center; transition: opacity .14s linear, transform .6s var(--ease); }
.pindo .p-base { transition: opacity .5s ease; }
.pindo .p-dots { transition: opacity .9s ease .55s; }
.kit-js:not(.is-static) .pindo:not(.is-printed) .t { opacity: 0; transform: scale(1.55); }
.kit-js:not(.is-static) .pindo:not(.is-printed) .p-base,
.kit-js:not(.is-static) .pindo:not(.is-printed) .p-dots { opacity: 0; }
.ink-a { color: var(--white); }
.ink-b { color: var(--mist); }
.kanga--white .ink-a, .kanga--white .ink-b { color: var(--teal); }

.sec { margin-top: clamp(76px, 11vw, 176px); }
.h2 { font-size: clamp(32px, 4.3vw, 62px); line-height: 1.08; text-wrap: balance; max-width: 15em; margin-inline: auto; }
.lede { margin: clamp(18px, 2vw, 26px) auto 0; max-width: 31em; color: var(--sub); text-wrap: pretty; }
.kanga--white .lede { color: var(--teal); }

/* the saying band */
.jina { margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(26px, 3.2vw, 44px); position: relative; }
.jina::before, .jina::after { content: ""; position: absolute; left: 0; right: 0; }
.jina::before { top: 0; border-top: 2px solid var(--rule); }
.jina::after { top: 6px; border-top: 1px solid var(--rule); }
.jina__sw { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(29px, 4vw, 56px); line-height: 1.1; text-wrap: balance; color: var(--sub); }
.kanga--white .jina__sw { color: var(--teal); }
.jina__en { margin-top: 10px; font-size: 15px; font-weight: 500; letter-spacing: .01em; color: var(--sub); }

/* ---------- Buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; margin-top: clamp(30px, 3.4vw, 44px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; text-decoration: none; letter-spacing: .005em;
  transition: background-color .45s var(--press), color .45s var(--press), transform .2s var(--press);
}
.btn:active { transform: scale(.97); }
.btn--light { background: var(--white); color: var(--teal); --k-fill-ink: var(--teal); }
.btn--light:hover, .btn--light:focus-visible { background: var(--mist); }
.btn--teal { background: var(--teal); color: var(--white); --k-fill-ink: var(--white); }
.btn--teal:hover, .btn--teal:focus-visible { background: var(--ink); }
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 999px; }
.btn--light:focus-visible { outline-color: var(--white); }
.btn--teal:focus-visible { outline-color: var(--teal); }
.quiet { font-size: 16px; font-weight: 500; color: var(--sub); padding-block: 4px; }
.kanga--white .quiet { color: var(--teal); }

/* live dot: the only other place sea appears besides the route line */
.live { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--sea); opacity: 0; animation: ping 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }

/* ---------- 1. Hero ---------- */
.kanga--hero { min-height: calc(100vh - var(--nav-h) - var(--hero-gap)); min-height: calc(100svh - var(--nav-h) - var(--hero-gap)); display: flex; flex-direction: column; padding-top: calc(var(--edge) + clamp(36px, 5vw, 72px)); }
.mji--hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero__where { font-size: 15px; font-weight: 500; color: var(--mist); letter-spacing: .01em; max-width: 30em; text-wrap: balance; }
.hero__title { margin-top: clamp(20px, 2.4vw, 30px); font-size: clamp(32px, 4.8vw, 68px); line-height: 1.08; max-width: 11.6em; text-wrap: balance; }
.hero__lede { margin-top: clamp(22px, 2.4vw, 30px); max-width: 30em; color: var(--mist); text-wrap: pretty; }
.kanga--hero .jina { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- 2. Route ---------- */
.route { margin-top: clamp(48px, 6vw, 84px); }
.route__map { position: relative; height: 230px; }
.route__svg { position: absolute; left: 0; top: 0; overflow: visible; }
.route__base { fill: none; stroke: rgba(158, 216, 210, .55); stroke-width: 2; stroke-linecap: round; }
.route__done { fill: none; stroke: var(--sea); stroke-width: 4; stroke-linecap: round; }
.sd .sd-ring { fill: var(--teal); stroke: var(--mist); stroke-width: 2; transition: fill .4s ease, stroke .4s ease; }
.sd .sd-core { fill: var(--teal); transition: fill .4s ease; }
.sd.is-passed .sd-ring { fill: var(--white); stroke: var(--white); }
.sd.is-passed .sd-core { fill: var(--teal); }
.sd.is-here .sd-ring { stroke: var(--white); }
.sd.is-here .sd-core { fill: var(--sea); }
.sd > g { transform-box: fill-box; transform-origin: center; transition: opacity .3s ease, transform .5s var(--ease); }
.kit-js:not(.is-static) .sd:not(.is-on) > g { opacity: 0; transform: scale(0); }
.route__truck { color: var(--white); }
.stop {
  position: absolute; left: 0; top: 0; padding: 4px 6px; margin: 0;
  background: none; border: 0; color: inherit; font: inherit; text-align: center;
  display: grid; gap: 2px; justify-items: center; cursor: pointer;
  transition: opacity .4s ease;
}
.kit-js:not(.is-static) .stop:not(.is-on) { opacity: 0; }
.stop__name { font-size: 15px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.stop__state { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--mist); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; opacity: .78; }
.stop.is-due .stop__state { opacity: .85; }
.stop.is-done .stop__state { opacity: 1; }
.stop.is-at .stop__state { color: var(--white); opacity: 1; }
.stop .live { display: none; width: 7px; height: 7px; }
.stop.is-at .live { display: inline-block; }
.stop:hover .stop__name { color: var(--mist); }
.route.is-vertical .stop { justify-items: start; text-align: left; }

.days { position: relative; width: min(100%, 640px); height: 78px; margin: clamp(40px, 5vw, 64px) auto 0; --tw: 96px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; }
.days.is-drag { cursor: grabbing; }
.days__rail { position: absolute; left: calc(var(--tw) / 2); right: calc(var(--tw) / 2); top: 21px; height: 2px; background: rgba(158, 216, 210, .32); }
.days__fill { position: absolute; inset: 0; background: var(--white); transform-origin: 0 50%; transform: scaleX(.625); }
.days__ticks { position: absolute; left: calc(var(--tw) / 2); right: calc(var(--tw) / 2); top: 0; bottom: 0; }
.days__ticks li { position: absolute; top: 50px; transform: translateX(-50%); font-size: 13px; font-weight: 500; color: var(--mist); font-variant-numeric: tabular-nums; line-height: 1; }
.days__ticks li::before { content: ""; position: absolute; left: 50%; top: -33px; width: 2px; height: 10px; margin-left: -1px; background: rgba(158, 216, 210, .55); }
.days__thumb { position: absolute; left: 0; top: 0; width: var(--tw); height: 44px; border-radius: 999px; background: var(--white); color: var(--teal); display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; will-change: transform; transition: background-color .3s ease; }
.days:hover .days__thumb { background: var(--mist); }
.days:focus-visible .days__thumb { outline: 2px solid var(--white); outline-offset: 3px; }
.route__now { margin: 26px auto 0; max-width: 30em; min-height: 3em; color: var(--white); text-wrap: balance; }
.route__now .live { margin-right: 10px; vertical-align: 2px; }

/* ---------- 3. Paperwork ---------- */
.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 34px); margin: clamp(48px, 6vw, 84px) auto 0; max-width: 900px; }
.sheet { position: relative; background: var(--teal); padding: 1.5px; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); text-align: left; }
.sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: var(--teal); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.sheet__in { position: relative; overflow: hidden; height: 100%; background: var(--white); clip-path: polygon(0 0, calc(100% - 25.1px) 0, 100% 25.1px, 100% 100%, 0 100%); padding: 24px 22px 20px; display: flex; flex-direction: column; }
.sheet__head h3 { font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--teal); }
.sheet__no { display: block; margin-top: 3px; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.sheet__rows { margin-top: 18px; flex: 1; }
.sheet__rows > div { padding: 9px 0; border-top: 1px solid rgba(10, 74, 82, .16); }
.sheet__rows dt { font-size: 12.5px; color: var(--mute); line-height: 1.3; }
.sheet__rows dd { margin-top: 1px; font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.35; font-variant-numeric: tabular-nums; }
.sheet__foot { margin-top: 16px; padding-top: 14px; border-top: 1.5px solid var(--teal); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--teal); }
.tick { width: 30px; height: 30px; flex: none; }
.sheet__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--teal); opacity: 0; pointer-events: none; }
.kit-js:not(.is-static) .sheet dd { opacity: .22; }
.kit-js:not(.is-static) .sheet .tick { opacity: 0; transform: scale(1.6); }
.sheets__note { margin: clamp(34px, 4vw, 48px) auto 0; max-width: 30em; font-size: 16px; font-weight: 500; color: var(--mute); }

/* ---------- 4. Photo ---------- */
.kanga--photo { --pady: 0px; --padx: 0px; padding-top: calc(var(--edge) + clamp(10px, 1.4vw, 18px)); padding-inline: calc(var(--edge) + clamp(10px, 1.4vw, 18px)); }
.frame { overflow: hidden; background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--port { aspect-ratio: 16 / 9; }
.kanga--photo .jina { margin-top: clamp(30px, 4vw, 52px); }
.stat__num { font-size: clamp(44px, 6.4vw, 92px); line-height: 1; color: var(--white); }
.pair { display: grid; grid-template-columns: 1.875fr 1fr; gap: clamp(16px, 3vw, 44px); width: min(940px, calc(100% - 2 * var(--margin))); margin: clamp(64px, 8vw, 128px) auto 0; align-items: start; }
.pair .frame--truck { aspect-ratio: 3 / 2; }
.pair .frame--driver { aspect-ratio: 4 / 5; }
.pair figcaption { margin-top: 14px; font-size: 15px; color: var(--mist); line-height: 1.45; max-width: 24em; }

/* ---------- 5. Owner ---------- */
.msg { width: min(100%, 620px); margin: clamp(44px, 5vw, 68px) auto 0; padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.4vw, 44px); background: var(--teal); color: var(--white); text-align: left; }
.msg__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--white); }
.msg__time { margin-left: auto; font-weight: 500; color: var(--mist); }
.msg__text { margin-top: 18px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.38; }
.msg__text span { display: block; }
.msg__note { margin: 18px auto 0; font-size: 15px; color: var(--mute); }

/* ---------- 6. Footer ---------- */
.foot { margin-top: clamp(96px, 13vw, 196px); padding-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.strip { position: relative; height: var(--band); }
.foot__in { padding-top: clamp(64px, 8vw, 116px); display: grid; justify-items: center; }
.foot__kanga { width: min(300px, 76%); }
.foot__kanga .frame { aspect-ratio: 16 / 9; }
.foot__kanga figcaption { margin-top: 12px; font-size: 14px; color: var(--mist); }
.foot__mark { margin-top: clamp(52px, 6vw, 80px); font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.foot__line { margin-top: 14px; max-width: 30em; color: var(--mist); text-wrap: balance; }
.foot__links { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; font-size: 15px; font-weight: 500; }
.foot__small { margin-top: clamp(48px, 6vw, 72px); font-size: 13px; color: var(--mist); opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sheets { grid-template-columns: 1fr; max-width: 420px; }
  .sheet__rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 72px; }
  .nav { grid-template-columns: 1fr; justify-items: center; }
  .nav__side { display: none; }
  .nav__mark { font-size: 23px; }
}
@media (max-width: 600px) {
  .pair { grid-template-columns: 1fr; width: calc(100% - 2 * var(--margin)); }
  .pair__b { width: 72%; justify-self: end; }
  .days { --tw: 84px; }
  .route__now { font-size: 16px; }
  .msg__text { font-size: 19px; }
  .sheet__in { padding: 20px 18px 18px; }
}
