/* JERRY's HOME LOGISTIC CARGO — public design system */
/* Typography: Playfair Display (headings) + Manrope (text), self-hosted, SIL Open Font License */
@font-face { font-family: 'Playfair Display'; src: url('/assets/fonts/playfair.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/assets/fonts/playfair-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --brand: #F47724; --brand-600: #DD6413; --brand-50: #FEF1E8;
  --charcoal: #20252A; --ink: #20252A; --ink-2: #4A525B; --muted: #69717A;
  --light: #F1F3F4; --white: #FFFFFF; --line: #E2E5E8;
  --ok: #067647; --warn: #B54708; --warn-bg: #FFF6ED; --info: #175CD3;
  --radius: 14px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow: 0 12px 32px -12px rgba(16,24,40,.18), 0 4px 10px -4px rgba(16,24,40,.08);
  --shadow-lg: 0 30px 60px -20px rgba(16,24,40,.35);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --header-h: 76px;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; font-weight: 450; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 2rem; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
mark.placeholder { background: #FFF3C4; color: #7A5B00; border-radius: 4px; padding: 0 4px; font-size: .95em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 650; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; font-family: var(--font); min-height: 46px; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; min-height: 54px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(244,119,36,.65); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-light { background: rgba(255,255,255,.95); color: var(--charcoal); }
.btn-light:hover { background: #fff; color: var(--brand-600); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--charcoal); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--brand-600); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px; }
.eyebrow.light { color: #FFC59C; }

/* Announcement + header */
.announcement { background: var(--brand); color: #fff; font-size: .92rem; text-align: center; padding: 8px 0; }
.announcement a { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
/* The welcome banner turns a full 360° in 3D every few seconds, then rests so it can be read. */
.announcement { overflow: hidden; }
.ann-stage { perspective: 700px; }
.ann-spin { display: inline-block; font-weight: 600; letter-spacing: .01em; transform-style: preserve-3d; backface-visibility: visible; animation: ann-spin 7s cubic-bezier(.6,0,.25,1) 1.2s infinite; will-change: transform; }
@keyframes ann-spin {
  0%, 62% { transform: rotateY(0) scale(1); }
  70% { transform: rotateY(120deg) scale(1.06); }
  80% { transform: rotateY(250deg) scale(1.06); }
  90%, 100% { transform: rotateY(360deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .ann-spin { animation: none; } }
@media print { .ann-spin { animation: none; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(32,37,42,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { height: 40px; width: auto; max-width: min(272px, 52vw); object-fit: contain; display: block; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; }
.footer-logo img { width: 240px; height: auto; display: block; }
.footer-name { color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: .01em; margin: 14px 0 0; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.02rem; letter-spacing: .01em; line-height: 1.1; max-width: 15ch; }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand-600); background: var(--brand-50); }
.caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .caret { transform: rotate(-135deg) translateY(-1px); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); width: min(720px, 92vw); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; border: 1px solid var(--line); }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--light); }
.mega a .icon { color: var(--brand); margin-top: 2px; }
.mega strong { display: block; font-size: .95rem; }
.mega small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; gap: 18px; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden; pointer-events: none; }
  .site-nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; opacity: 1; visibility: visible; }
  .has-menu.open .mega { display: block; transform: none; }
  .mega ul { grid-template-columns: 1fr; }
  .nav-cta { flex-direction: column; }
  .nav-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  /* The blur effect would trap the fixed menu inside the header bar on phones: use a solid header. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-nav { bottom: auto; height: calc(100dvh - var(--header-h)); overscroll-behavior: contain; }
  /* All services as photo tiles, shown straight away when the menu opens */
  .has-menu .menu-toggle { pointer-events: none; font-family: var(--display); font-size: 1.3rem; font-weight: 700; padding: 6px 4px 10px; }
  .has-menu .menu-toggle .caret { display: none; }
  .has-menu .mega, .has-menu.open .mega { display: block; padding: 0; perspective: 1000px; }
  .mega ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  @media (min-width: 640px) { .mega ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .mega li { transform-style: preserve-3d; }
  .mega a { flex-direction: column; gap: 0; padding: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px -18px rgba(16,24,40,.45); height: 100%; }
  .mega a:hover { background: #fff; }
  .mega a .mega-thumb, .mega a > .icon { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; object-fit: cover; }
  body.nav-open .help-dock { display: none; }
  .mega a > .icon { padding: 26%; background: var(--brand-50, #FEF1E8); margin: 0; }
  .mega a > span { padding: 10px 12px 12px; }
  .mega strong { font-size: .92rem; line-height: 1.25; }
  .mega small { display: none; }
  .nav-list > li:not(.has-menu) { border-top: 1px solid var(--line); }
}
@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .site-nav.open .mega li { animation: menu-flip .65s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 55ms + 80ms); transform-origin: 50% 0; }
  .site-nav.open .nav-list > li:not(.has-menu) { animation: hero-in .5s ease both; animation-delay: .35s; }
}
@keyframes menu-flip { from { opacity: 0; transform: rotateX(-75deg) translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .brand-logo { height: 30px; } }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #B0B6BC; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-600); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: 28px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--charcoal); color: #E9ECEF; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .feature-body p, .section-dark .ticks { color: #C9CED3; }
.section-dark .btn-outline { border-color: #fff; color: #fff; }
.section-dark .btn-outline:hover { background: #fff; color: var(--charcoal); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-title { margin-bottom: 14px; }
.section-title.small { font-size: 1.5rem; }
.section-lead { font-size: 1.12rem; color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }

/* Home hero — full-bleed photograph (editable in Admin → Pages → Home) */
.home-hero { position: relative; isolation: isolate; color: #fff; background: var(--charcoal); overflow: hidden; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 85% 10%, rgba(244,119,36,.22), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 72px; }
.home-hero.has-photo::before { background: linear-gradient(90deg, rgba(16,19,22,.88) 0%, rgba(16,19,22,.62) 45%, rgba(16,19,22,.25) 100%), linear-gradient(0deg, rgba(16,19,22,.55), transparent 40%); z-index: -1; }
.home-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; padding-block: clamp(72px, 12vw, 152px) clamp(48px, 7vw, 88px); }
.home-hero-copy { min-width: 0; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.3rem); line-height: 1.04; letter-spacing: .005em; font-weight: 700; text-wrap: balance; margin-bottom: 22px; }
.hero-lead { color: #E3E7EA; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 54ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.hero-track { background: rgba(255,255,255,.97); color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); min-width: 0; }
.hero-track h2 { font-size: 1.3rem; margin-bottom: 6px; }
.hero-track p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.hero-track .track-form { box-shadow: none; border: 1.5px solid var(--line); max-width: none; }
.mode-bar { border-top: 1px solid rgba(255,255,255,.12); background: rgba(16,19,22,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mode-bar-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mode-bar a { display: flex; gap: 14px; align-items: center; padding: 20px 16px; color: #fff; text-decoration: none; border-left: 1px solid rgba(255,255,255,.1); transition: background .2s; }
.mode-bar a:first-child { border-left: 0; }
.mode-bar a:hover { background: rgba(244,119,36,.16); color: #fff; }
.mode-bar .icon { color: var(--brand); width: 28px; height: 28px; }
.mode-bar strong { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: .02em; }
.mode-bar small { display: block; color: #AEB5BC; font-size: .8rem; }
@media (max-width: 960px) { .home-hero-grid { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 640px) { .mode-bar-inner { grid-template-columns: 1fr 1fr; } .mode-bar a:nth-child(3) { border-left: 0; } .mode-bar a { border-top: 1px solid rgba(255,255,255,.1); } .mode-bar small { display: none; } }

/* Photo slots: an empty slot is a plain branded panel, never a stand-in picture */
div.photo-empty { display: grid; place-items: center; background: var(--light); color: var(--brand); border: 1px solid var(--line); }
.photo-empty-icon { width: 44px; height: 44px; opacity: .55; stroke-width: 1.4; }
.section-light .photo-empty { background: #E7EAEC; border-color: #DCE0E3; }
.section-dark .photo-empty { background: #2A3036; border-color: #343B42; }
.service-photo .photo-empty { border: 0; border-bottom: 1px solid var(--line); height: 100%; }
.feature .photo-empty { aspect-ratio: 16 / 9; box-shadow: none; }

/* Gallery (Admin → Settings → Homepage gallery) */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.gallery li { grid-column: span 4; min-width: 0; }
.gallery-1 li { grid-column: span 12; } .gallery-2 li { grid-column: span 6; } .gallery-4 li { grid-column: span 6; } .gallery-5 li:nth-child(-n+2) { grid-column: span 6; }
.gallery figure { margin: 0; }
.gallery-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; background: var(--light); }
.gallery-1 .gallery-img { aspect-ratio: 21 / 9; }
.gallery figcaption { font-size: .88rem; color: var(--muted); padding-top: 8px; }
@media (max-width: 760px) { .gallery li { grid-column: span 12 !important; } }

/* Track form */
.track-form { position: relative; display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 14px; box-shadow: var(--shadow); max-width: 560px; align-items: center; }
.track-form .track-icon { position: absolute; left: 18px; color: var(--muted); }
.track-form input { flex: 1; min-width: 0; border: 0; font-size: 1.02rem; padding: 12px 12px 12px 44px; border-radius: 10px; font-family: inherit; color: var(--ink); background: transparent; text-transform: uppercase; }
.track-form input::placeholder { text-transform: none; color: #8A9199; }
.track-form input:focus { outline: none; }
.track-form:focus-within { box-shadow: 0 0 0 3px rgba(244,119,36,.45), var(--shadow); }
.track-form.compact { box-shadow: none; border: 1px solid var(--line); }

/* Services */
.service-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s; }
.service-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); color: var(--ink); }
.service-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--light); }
.service-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.service-card:hover .service-img { transform: scale(1.04); }
.service-text { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.service-text h3 { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 1.2rem; }
.service-text h3 .icon { color: var(--brand); }
.service-text p { color: var(--ink-2); font-size: .96rem; flex: 1; margin: 0 0 6px; }
.service-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .service-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-grid.compact .service-photo { aspect-ratio: 16 / 9; }
.service-grid.compact .service-text { padding: 14px 16px; }
.service-grid.compact h3 { font-size: 1rem; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.section-head.split .section-lead { margin: 0; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; gap: 8px; } }

/* Feature rows */
.features { display: grid; gap: clamp(48px, 7vw, 96px); }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); background: var(--light); display: block; }
.feature-media { min-width: 0; }
.feature-body { min-width: 0; }
.feature-body h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.feature-body p { color: var(--ink-2); font-size: 1.05rem; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: var(--ink-2); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--brand); margin-top: 3px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-media { order: 0; } }

/* Steps / why */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.section-light .step { border-color: transparent; box-shadow: var(--shadow-sm); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); color: #fff; font-weight: 700; font-family: var(--display); font-size: 1.1rem; margin-bottom: 16px; }
.step p { color: var(--ink-2); margin: 0; }
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.why p { color: var(--ink-2); margin: 0; }
.why-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--charcoal); color: var(--brand); margin-bottom: 16px; }

/* Reviews */
.review-grid { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review blockquote { margin: 0; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.review blockquote p { font-size: 1.04rem; flex: 1; }
.review footer { display: flex; flex-direction: column; font-size: .92rem; }
.review footer span { color: var(--muted); }
.stars { display: flex; gap: 2px; margin-bottom: 10px; }
.star { width: 18px; height: 18px; color: #D0D5DD; }
.star.on { color: #F5A524; fill: #F5A524; }
.empty-card { background: var(--light); border: 1px dashed #C8CDD2; border-radius: var(--radius); padding: 36px; text-align: center; color: var(--ink-2); }
.empty-card p { max-width: 54ch; margin: 0 auto 16px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.sort { display: flex; gap: 6px; }
.sort a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; }
.sort a[aria-current] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 22px; cursor: pointer; font-weight: 650; font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--brand-50); position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--brand); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 22px 18px; color: var(--ink-2); }
.faq-body p { margin: 0; }
.section-light .faq { border-color: transparent; }

/* Contact strip */
.contact-strip { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-list li { display: flex; gap: 14px; background: #fff; border-radius: 12px; padding: 18px; box-shadow: var(--shadow-sm); align-items: flex-start; }
.contact-list li > .icon { color: var(--brand); margin-top: 2px; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list.stacked { grid-template-columns: 1fr; }
.contact-list.stacked li { box-shadow: none; background: var(--light); }
@media (max-width: 860px) { .contact-strip { grid-template-columns: 1fr; } .contact-list { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: radial-gradient(1200px 400px at 10% 0%, rgba(244,119,36,.35), transparent 60%), var(--charcoal); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #C9CED3; margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero */
.page-hero { position: relative; background: var(--charcoal); color: #fff; padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--brand); }
.page-hero.has-image { min-height: 460px; display: flex; align-items: flex-end; }
.page-hero-img, .track-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.track-hero:has(.track-hero-img)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,28,.9), rgba(20,24,28,.55)); z-index: 1; }
.track-hero .container { position: relative; z-index: 2; }
.page-hero.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,28,.88) 0%, rgba(20,24,28,.55) 50%, rgba(20,24,28,.2) 100%); z-index: 1; }
.page-hero-inner { position: relative; z-index: 2; max-width: 780px; margin-left: max(20px, calc((100vw - var(--container)) / 2)); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #D6DBE0; margin: 0; }
.page-hero .eyebrow { color: #FFC59C; }

/* Service detail */
.service-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.benefits { background: var(--light); border-radius: 18px; padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.benefits h2 { font-size: 1.3rem; }
.benefits ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.benefits li { display: flex; gap: 14px; }
.benefits li > .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.benefits h3 { font-size: 1rem; margin: 0 0 2px; }
.benefits p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.inline-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 900px) { .service-intro { grid-template-columns: 1fr; } .benefits { position: static; } }

/* Prose */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose .note { background: var(--warn-bg); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 8px; margin: 1em 0 1.5em; color: var(--ink-2); }

/* Forms */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.two-col.wide-left { grid-template-columns: 1.7fr 1fr; }
@media (max-width: 900px) { .two-col, .two-col.wide-left { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 1.4rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 700; font-family: var(--display); margin-bottom: 12px; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: .92rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #D0D5DA; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(244,119,36,.2); }
.field [aria-invalid="true"] { border-color: #D92D20; }
.field .err { color: #B42318; font-weight: 500; font-size: .85rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: var(--ok); background: #ECFDF3; padding: 14px 16px; border-radius: 10px; }
.form-status.err { color: #B42318; background: #FEF3F2; padding: 14px 16px; border-radius: 10px; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.side-note h2 { font-size: 1.2rem; }
.mini-steps { padding-left: 1.2em; color: var(--ink-2); }
.mini-steps li { margin-bottom: 8px; }
.contact-card h2 { font-size: 1.2rem; }
.contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

/* Help search */
.help-search { position: relative; display: flex; gap: 8px; border: 1.5px solid #D0D5DA; border-radius: 14px; padding: 6px; align-items: center; background: #fff; }
.help-search .icon { position: absolute; left: 18px; color: var(--muted); }
.help-search input { flex: 1; border: 0; padding: 12px 12px 12px 44px; font: inherit; font-size: 1.05rem; min-width: 0; }
.help-search input:focus { outline: none; }
.help-search:focus-within { border-color: var(--brand); }

/* Journal */
.post-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card div { padding: 22px; }
.post-card time { color: var(--muted); font-size: .85rem; }
.post-card h2 { font-size: 1.25rem; margin: 6px 0; }

/* Footer */
.site-footer { background: #15191D; color: #B8BEC4; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0; max-width: 36ch; }
.footer-title { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-family: var(--font); }
.footer-col ul, .footer-contact, .footer-legal { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.site-footer a { color: #D4D9DE; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact .icon { color: var(--brand); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #2A3036; padding: 22px 0 28px; flex-wrap: wrap; font-size: .87rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.error-page h1 { margin-bottom: 12px; }
.preview-banner { position: sticky; top: var(--header-h); z-index: 40; background: #FFF3C4; color: #7A5B00; text-align: center; font-weight: 700; padding: 10px; }

/* ---------------------------------------------------------------- Tracking page */
.track-page { background: var(--light); min-height: 70vh; padding-bottom: 80px; }
.track-hero { background: var(--charcoal); padding: 56px 0 96px; color: #fff; position: relative; overflow: hidden; }
.track-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--brand); }
.track-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.track-hero p { color: #C9CED3; }
.track-body { margin-top: -64px; position: relative; z-index: 2; display: grid; gap: 20px; }
.t-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.t-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.t-number { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; }
.t-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.t-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.t-status.tone-info { background: #EFF8FF; color: #175CD3; }
.t-status.tone-success { background: #ECFDF3; color: var(--ok); }
.t-status.tone-warn { background: var(--warn-bg); color: var(--warn); }
.t-status.tone-neutral { background: var(--light); color: var(--ink); }
.t-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.t-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.t-sentence { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 650; font-family: var(--display); margin: 18px 0 6px; }
.t-message { background: var(--light); border-radius: 12px; padding: 14px 16px; margin: 14px 0 0; color: var(--ink-2); }
.t-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 22px; }
.t-facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.t-facts strong { display: block; font-size: 1rem; }
.hold-banner { display: flex; gap: 16px; background: var(--warn-bg); border: 1px solid #FEC84B; border-left: 6px solid #F79009; border-radius: 14px; padding: 20px; }
.hold-banner h2 { font-size: 1.15rem; color: var(--warn); margin: 0 0 6px; }
.hold-banner p { margin: 0 0 6px; color: var(--ink-2); }
.hold-banner .icon { color: #F79009; width: 28px; height: 28px; }
.hold-banner .need { font-weight: 700; color: var(--ink); }
.stages { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.stages::before { content: ''; position: absolute; top: 15px; left: 10%; right: 10%; height: 4px; background: var(--line); border-radius: 4px; }
.stages .bar { position: absolute; top: 15px; left: 10%; height: 4px; background: var(--brand); border-radius: 4px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.stage { position: relative; text-align: center; font-size: .85rem; color: var(--muted); font-weight: 600; padding: 0 4px; }
.stage .dot { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 10px; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; position: relative; z-index: 1; transition: all .4s; }
.stage.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.stage.current .dot { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(244,119,36,.18); }
.stage.current { color: var(--ink); }
.stage.done { color: var(--ink-2); }
.stages.held .stage.current .dot { border-color: #F79009; box-shadow: 0 0 0 6px rgba(247,144,9,.2); }
.stage.skipped .dot { border-style: dashed; background: #fff; }
.stage.skipped { color: var(--muted); }
.stage-note { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.info-banner { background: #EEF4FF; border: 1px solid #C7D7FE; color: #1D2939; border-radius: 14px; padding: 18px 22px; margin-bottom: 18px; }
.info-banner h2 { font-size: 1.15rem; margin: 0 0 4px; }
.info-banner p { margin: 0; color: var(--ink-2); }
.tone-danger { background: #FEF3F2; color: #B42318; }
@media (max-width: 600px) { .stage span { font-size: .72rem; display: block; line-height: 1.2; } .stage .dot { width: 28px; height: 28px; } .stages::before, .stages .bar { top: 12px; } }
.t-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } }
.map-panel { min-height: 380px; position: relative; border-radius: 14px; overflow: hidden; background: #E9EEF2; }
.map-panel .mapboxgl-map, .map-canvas { position: absolute; inset: 0; }
.map-svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); }
.route-list { list-style: none; padding: 0; margin: 0; }
.route-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; position: relative; }
.route-list li::before { content: ''; position: absolute; left: 13px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.route-list li:last-child::before { display: none; }
.route-list li.completed::before { background: var(--brand); }
.r-dot { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); background: #fff; z-index: 1; }
.route-list li.completed .r-dot { background: var(--brand); border-color: var(--brand); }
.route-list li.held .r-dot { background: #F79009; border-color: #F79009; }
.route-list li.current .r-dot { box-shadow: 0 0 0 6px rgba(244,119,36,.2); }
.route-list strong { display: block; }
.route-list small { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 16px; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--muted); font-size: .9rem; }
.timeline strong { display: block; }
.timeline p { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }
.t-empty { text-align: center; padding: 48px 20px; }
.t-refresh { font-size: .82rem; color: var(--muted); }
.toast-pub { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--charcoal); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; box-shadow: var(--shadow-lg); }
.skeleton { background: linear-gradient(90deg, #EEF1F3 25%, #F7F8F9 50%, #EEF1F3 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; height: 18px; margin: 10px 0; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Review showcase — a 3D ring of cards turning through 360° (cards are reused as it turns) */
.review-ring { --card-w: 520px; --card-h: 330px; position: relative; max-width: 1100px; margin: 0 auto 30px; outline: none; }
.review-ring:focus-visible .ring-viewport { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: 22px; }
.ring-viewport { position: relative; height: calc(var(--card-h) + 40px); perspective: 1600px; perspective-origin: 50% 40%; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring { list-style: none; margin: 0; padding: 0; position: absolute; left: 50%; top: 20px; width: var(--card-w); height: var(--card-h); margin-left: calc(var(--card-w) / -2); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.22,.8,.25,1); }
.ring.no-anim, .ring.no-anim .ring-face { transition: none; }
.ring-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity .6s, filter .6s; opacity: .38; filter: saturate(.6); }
.ring-face.is-front { opacity: 1; filter: none; }
.ring-face blockquote { box-sizing: border-box; height: 100%; margin: 0; background: #fff; border-radius: 20px; padding: clamp(22px, 3.2vw, 38px); box-shadow: var(--shadow-lg); border-top: 4px solid var(--brand); text-align: center; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.ring-face .stars { justify-content: center; }
.ring-text { font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.55; color: var(--ink); text-wrap: pretty; margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ring-face footer, .review footer { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 14px; }
.review footer { align-items: flex-start; }
.ring-face footer span { color: var(--muted); font-size: .92rem; }
.review-src { color: var(--muted); font-size: .8rem; }
.review-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ring-more { margin-top: 8px; font-size: .85rem; font-weight: 600; }
.review-ring.is-flat .ring { transform: none !important; }
.review-ring.is-flat .ring-face { transform: none !important; opacity: 1; filter: none; }
@media (max-width: 640px) { .review-ring { --card-h: 340px; } .ring-text { -webkit-line-clamp: 7; } }
.spin-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; }
.spin-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: border-color .2s, color .2s; }
.spin-btn:hover { border-color: var(--brand); color: var(--brand-600); }
.spin-btn[data-spin-pause] { font-size: .72rem; letter-spacing: -1px; }
.spin-count { min-width: 72px; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .ring, .ring-face { transition: none; } }
.review-links { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 4px 0 16px; }
.check-line input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 2px; flex: none; }
.review-form h2 { font-size: 1.5rem; }

/* ------------------------------------------------------------------ Phones & small tablets
   Images keep landscape proportions (never stretched to fill), long lists become swipeable
   rows, small cards sit two per row, and spacing tightens so pages stay short and tidy. */
.swipe-hint { display: none; }
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .container, .narrow { width: min(100% - 32px, var(--container)); }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .section-lead { font-size: 1rem; }
  h2 { font-size: 1.75rem; }
  .eyebrow { font-size: .72rem; margin-bottom: 10px; }

  /* Hero */
  .home-hero-grid { padding-block: 44px 28px; gap: 24px; }
  .hero-title { font-size: 2.15rem; line-height: 1.08; margin-bottom: 14px; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { padding: 12px 10px; font-size: .95rem; }
  .hero-track { padding: 18px; border-radius: 16px; }
  .hero-track h2 { font-size: 1.15rem; }
  .hero-track p { font-size: .88rem; margin-bottom: 12px; }
  .mode-bar a { padding: 14px 12px; gap: 10px; }
  .mode-bar strong { font-size: .98rem; }

  /* Home photo: a landscape banner at the top that fades into the dark background (never blown up) */
  .home-hero.has-photo .home-hero-img { height: 66vw; bottom: auto; }
  .home-hero.has-photo::before { background: linear-gradient(180deg, rgba(16,19,22,.30) 0, rgba(16,19,22,.10) 18vw, rgba(16,19,22,.78) 48vw, var(--charcoal) 66vw); }
  .home-hero.has-photo .home-hero-grid { padding-top: 40vw; }

  /* Inner page headers: shorter, photo shown at its natural scale */
  .page-hero { padding: 44px 0 30px; }
  .page-hero.has-image { min-height: 0; padding-top: 150px; }
  .page-hero-inner { margin-left: 16px; margin-right: 16px; }
  .page-hero .lead { font-size: 1rem; }

  /* Track form fits any width */
  .track-form { max-width: 100%; }
  .track-form input { width: 100%; font-size: 16px; padding-left: 40px; }
  .track-form .btn { padding: 10px 16px; min-height: 42px; }

  /* Swipeable rows: services and gallery */
  .service-grid, .gallery {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .service-grid::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
  .service-grid > li, .gallery li { scroll-snap-align: start; grid-column: auto !important; min-width: 0; }
  .service-grid.compact { grid-auto-columns: 62%; }
  .service-photo { aspect-ratio: 16 / 10; }
  .service-text { padding: 16px 18px 18px; }
  .service-text h3 { font-size: 1.08rem; }
  .service-text p { font-size: .92rem; }
  .service-card:hover { transform: none; }
  .gallery { grid-auto-columns: 72%; }
  .gallery-img, .gallery-1 .gallery-img { aspect-ratio: 4 / 3; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin: 2px 0 0; letter-spacing: .04em; }
  .swipe-hint::after { content: ''; width: 34px; height: 2px; background: linear-gradient(90deg, var(--brand), transparent); border-radius: 2px; }

  /* Feature rows: landscape photo on top, compact text */
  .features { gap: 44px; }
  .feature { gap: 18px; }
  .feature-img { aspect-ratio: 16 / 10; border-radius: 14px; }
  .feature-body h3 { font-size: 1.4rem; }
  .feature-body p { font-size: .98rem; }
  .ticks { gap: 8px; font-size: .94rem; margin-top: 12px; }
  .feature-actions { margin-top: 16px; gap: 14px; }

  .features .ticks { display: none; } /* full details stay on each service page */

  /* Two per row: why-us and how-it-works */
  .why-grid, .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why, .step { padding: 16px; border-radius: 12px; }
  .why h3, .step h3 { font-size: 1rem; margin-bottom: 6px; }
  .why p, .step p { font-size: .86rem; line-height: 1.5; }
  .step-num { width: 32px; height: 32px; margin-bottom: 10px; font-size: .95rem; }

  /* Contact strip and tracking card never overflow */
  .contact-strip { gap: 22px; }
  .contact-strip > * { min-width: 0; }
  .contact-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-list li { padding: 14px; gap: 10px; flex-direction: column; }
  .card.contact-card { padding: 18px; }

  /* Calls to action */
  .cta-inner { flex-direction: column; align-items: stretch; text-align: left; gap: 18px; }
  .cta-inner .hero-actions { margin-top: 0; }

  /* Footer: brand on top, link columns two per row */
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo img { width: 180px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-legal { gap: 10px 16px; }

  /* Inner pages */
  .page-hero h1 { font-size: 1.9rem; }
  .benefits { padding: 18px; }
}
@media (max-width: 380px) {
  .hero-actions { grid-template-columns: 1fr; }
  .why-grid, .steps { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ Track & Help support dock */
.help-dock { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font); pointer-events: none; }
.help-dock > * { pointer-events: auto; }
.help-fab { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 12px 26px 12px 18px; border: 0; cursor: pointer; color: #fff; background: var(--charcoal); border-radius: 14px 4px 14px 14px; box-shadow: 0 14px 30px -10px rgba(16,19,22,.55); transition: transform .2s, box-shadow .2s; text-align: left; }
.help-fab::after { content: ''; position: absolute; top: 0; right: 0; width: 8px; height: 100%; background: var(--brand); border-radius: 0 4px 14px 0; transform: skewX(-8deg); transform-origin: top; }
.help-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(16,19,22,.6); }
.help-fab .icon { color: var(--brand); width: 26px; height: 26px; }
.help-fab strong { display: block; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; line-height: 1.15; }
.help-fab small { display: flex; align-items: center; gap: 6px; color: #C9CED3; font-size: .76rem; }
.help-fab small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.help-dock.is-open .help-fab { background: #2B3137; }

.help-panel { width: 340px; max-width: calc(100vw - 32px); background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(16,24,40,.45), 0 0 0 1px rgba(16,24,40,.06); overflow: hidden; transform-origin: bottom right; animation: help-in .22s cubic-bezier(.2,.8,.3,1) both; }
@keyframes help-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.help-head { position: relative; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; background: var(--charcoal); color: #fff; padding: 18px 18px 16px 20px; overflow: hidden; }
.help-head::after { content: ''; position: absolute; right: 46px; top: -10px; width: 6px; height: calc(100% + 20px); background: var(--brand); transform: skewX(-14deg); opacity: .9; }
.help-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; }
.help-sub { margin: 4px 0 0; color: #C9CED3; font-size: .84rem; }
.help-close { position: relative; z-index: 1; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; flex: none; }
.help-close:hover { background: rgba(255,255,255,.2); }
.help-track { display: flex; border-bottom: 1px solid var(--line); }
.help-track input { flex: 1; min-width: 0; border: 0; padding: 15px 16px; font: inherit; font-size: 16px; color: var(--ink); text-transform: uppercase; background: #fff; }
.help-track input::placeholder { text-transform: none; color: #8A9199; }
.help-track input:focus { outline: none; background: var(--brand-50); }
.help-track button { border: 0; background: var(--brand); color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; padding: 0 20px; cursor: pointer; font-family: inherit; }
.help-track button:hover { background: var(--brand-600); }
.help-links { list-style: none; margin: 0; padding: 6px 0; }
.help-link { display: flex; gap: 14px; align-items: center; width: 100%; padding: 12px 18px; background: none; border: 0; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; font: inherit; }
.help-link:hover { background: var(--light); color: var(--ink); }
.help-link .icon { color: var(--brand); width: 22px; height: 22px; flex: none; }
.help-link strong { display: block; font-size: .95rem; color: var(--charcoal); }
.help-link small { display: block; color: var(--muted); font-size: .8rem; word-break: break-word; }
.help-panel { display: flex; flex-direction: column; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); }
.help-panel[hidden] { display: none; }
.help-panel:focus { outline: none; }
.help-head, .help-track { flex: none; }
.help-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.help-backdrop { display: none; }
@media (max-height: 520px) and (min-width: 761px) { .help-panel { max-height: calc(100dvh - 96px); } }
@media (max-width: 760px) {
  .help-dock { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); left: auto; }
  .help-fab { padding: 10px 22px 10px 14px; gap: 10px; }
  .help-fab strong { font-size: .82rem; }
  /* Bottom sheet */
  .help-backdrop { display: block; position: fixed; inset: 0; background: rgba(16,19,22,.45); animation: help-fade .2s both; }
  .help-backdrop[hidden] { display: none; }
  .help-panel { position: fixed; left: 0; right: 0; bottom: var(--kb, 0px); width: 100%; max-width: none; border-radius: 18px 18px 0 0;
    max-height: calc(var(--vvh, 100dvh) - 48px); padding-bottom: env(safe-area-inset-bottom); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
    transform-origin: bottom center; animation: help-sheet-in .26s cubic-bezier(.2,.8,.3,1) both; }
  .help-head { padding-top: 22px; }
  .help-head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255,255,255,.35); }
  .help-dock.is-open .help-fab { visibility: hidden; }
  .help-link { padding: 14px 20px; min-height: 52px; }
  html.help-sheet-open, html.help-sheet-open body { overflow: hidden; }
}
@keyframes help-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes help-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .help-panel, .help-backdrop { animation: none; } .help-fab { transition: none; } }
@media print { .help-dock { display: none; } }

/* Verified shipment details on the tracking page */
.verify-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.verify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-row input { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; }
.verify-row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(244,119,36,.2); }
.details-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.t-sub { font-size: 1.05rem; margin: 22px 0 10px; }
.ship-gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ship-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--light); }
.ship-gallery small { display: block; margin-top: 6px; font-size: .82rem; }
.ship-docs { padding-left: 18px; }

/* Real GPS vehicle on the tracking map */
.vehicle-marker { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); cursor: pointer; }
.vehicle-status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; font-size: .92rem; }
.vehicle-status .vdot { width: 10px; height: 10px; border-radius: 50%; background: var(--charcoal); }
.vehicle-status.state-moving .vdot { background: var(--brand); box-shadow: 0 0 0 4px rgba(244,119,36,.2); }
.vehicle-status.state-stale .vdot, .vehicle-status.state-offline .vdot { background: #98A2B3; }
.vehicle-status.state-stale, .vehicle-status.state-offline { color: var(--warn); }

/* Homepage hero: headline + two actions only */
.home-hero-grid { grid-template-columns: minmax(0, 820px); }
.hero-btn { text-transform: uppercase; letter-spacing: .06em; font-weight: 750; }

/* Additional services */
.extra-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.extra-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 20px; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.extra-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.extra-card > .icon:first-child { color: var(--brand); width: 28px; height: 28px; }
.extra-card strong { display: block; font-family: var(--display); font-size: 1.08rem; }
.extra-card small { display: block; color: var(--ink-2); font-size: .9rem; margin-top: 2px; }

/* Service requirements */
.req-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.req-grid li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.req-grid .icon { color: var(--brand); margin-top: 3px; }
.req-grid h3 { font-size: 1.05rem; margin: 0 0 4px; }
.req-grid p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .req-grid { grid-template-columns: 1fr; } .req-grid li { padding: 16px; } .extra-card { padding: 16px; } }

/* Carriers & payment methods */
.info-banner:has(> .icon) { display: flex; gap: 12px; align-items: flex-start; }
.info-banner > .icon { flex: none; width: 22px; height: 22px; color: #3559c7; margin-top: 2px; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; margin: 18px 0; }
.listing-card { background: #fff; border: 1px solid var(--line, #e4e7ec); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.listing-card h2 { font-size: 1.2rem; margin: 0 0 4px; }
.listing-card p { margin: 0; }
.listing-head { display: flex; gap: 14px; align-items: center; }
.listing-logo { width: 72px; height: 48px; object-fit: contain; border-radius: 10px; background: #f6f7f9; flex: none; }
.listing-logo-text { display: grid; place-items: center; font-weight: 700; color: var(--ink-2, #475467); }
.listing-card .badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: #f2f4f7; color: #344054; }
.listing-card .badge-ok { background: #e7f6ec; color: #136c34; }
.listing-facts { margin: 0; display: grid; gap: 6px; }
.listing-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.listing-facts dt { color: var(--ink-2, #475467); font-size: .85rem; }
.listing-facts dd { margin: 0; overflow-wrap: anywhere; }
.listing-instructions { overflow-wrap: anywhere; font-size: .95rem; }
.listing-note { margin-top: 18px; }
@media (max-width: 520px) { .listing-facts div { grid-template-columns: 1fr; gap: 0; } }

/* Page videos */
.page-video { margin: 0; }
.page-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #101316; border-radius: 16px; box-shadow: var(--shadow-lg); }
.page-video figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; text-align: center; }
.home-hero-video { object-fit: cover; }
video.gallery-img { background: #101316; object-fit: cover; }
.parcel-marker { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand, #F47724); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(244,119,36,.25), 0 2px 8px rgba(0,0,0,.35); cursor: pointer; animation: parcel-pulse 2.2s ease-out infinite; }
@keyframes parcel-pulse { 0% { box-shadow: 0 0 0 0 rgba(244,119,36,.45), 0 2px 8px rgba(0,0,0,.35); } 70% { box-shadow: 0 0 0 14px rgba(244,119,36,0), 0 2px 8px rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 0 rgba(244,119,36,0), 0 2px 8px rgba(0,0,0,.35); } }
@media (prefers-reduced-motion: reduce) { .parcel-marker { animation: none; } }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); }
.map-legend li { display: flex; align-items: center; gap: 6px; }
.map-legend .lg-done { width: 22px; height: 4px; background: var(--brand, #F47724); border-radius: 2px; }
.map-legend .lg-todo { width: 22px; height: 0; border-top: 2px dashed #6B7280; }
.map-legend .lg-parcel { width: 12px; height: 12px; border-radius: 50%; background: var(--brand, #F47724); box-shadow: 0 0 0 3px rgba(244,119,36,.3); }

/* Homepage partner & carrier logos */
.center-head { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.partner-logos { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.partner-logos li { display: flex; }
.partner-logos a, .partner-logos li > span { flex: 1; display: grid; place-items: center; min-height: 92px; padding: 14px 18px; background: #fff; border: 1px solid var(--line, #E4E7EC); border-radius: 14px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.partner-logos a:hover { border-color: var(--brand, #F47724); box-shadow: 0 10px 24px -14px rgba(16,24,40,.35); transform: translateY(-2px); }
.partner-logos img { max-width: 100%; height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.partner-logos a:hover img, .partner-logos a:focus-visible img { filter: none; opacity: 1; }
.partner-name { font-weight: 800; letter-spacing: .02em; color: var(--ink, #20252A); text-align: center; }
@media (max-width: 520px) { .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .partner-logos a, .partner-logos li > span { min-height: 76px; padding: 10px; } }
.pay-details { border: 1.5px dashed var(--brand, #F47724); background: #FFF8F2; border-radius: 12px; padding: 12px 14px; }
.pay-details-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9A4A12; }
.pay-details pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; color: var(--ink, #20252A); }
.listing-instructions h3 { font-size: 1rem; margin: 6px 0 4px; }
.listing-logo { background: #fff; border: 1px solid var(--line, #E4E7EC); }

/* ================================================================== Motion: explore coverflow */
.mega-thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.explore { overflow-x: clip; }
.cf-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 18px; }
.cf-tabs button { font: inherit; font-weight: 700; font-size: .9rem; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.cf-tabs button small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.cf-tabs button:hover { border-color: var(--brand); transform: translateY(-1px); }
.cf-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cf-tabs button[aria-selected="true"] small { color: rgba(255,255,255,.85); }
.cf-card, .cf-card img { -webkit-user-drag: none; }
.cf-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 24px 50px -24px rgba(16,24,40,.45), 0 0 0 1px rgba(16,24,40,.06); }
.cf-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #E9ECEF; }
.cf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s ease; }
.cf-body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.cf-body strong { font-family: var(--display); font-size: 1.15rem; line-height: 1.25; }
.cf-body small { color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cf-badge { justify-self: start; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600, #DD6413); background: var(--brand-50, #FEF1E8); border-radius: 999px; padding: 3px 10px; }
.cf-go { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-600, #DD6413); font-weight: 700; font-size: .9rem; }
.cf-controls { margin-top: 14px; }
/* Without JavaScript / reduced motion: a swipeable row of photo cards */
.cf-track { list-style: none; margin: 0; padding: 4px 2px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.cf-item { scroll-snap-align: start; }
.cf-item.is-filtered { display: none; }
.cf:not(.cf-ready) .cf-controls { display: none; }
/* With JavaScript: 3D coverflow */
.cf-ready .cf-stage { position: relative; height: calc(var(--cf-h, 400px) + 40px); perspective: 1500px; perspective-origin: 50% 40%; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cf-ready .cf-track { display: block; position: relative; height: 100%; overflow: visible; padding: 0; transform-style: preserve-3d; pointer-events: none; }
.cf-ready .cf-item { pointer-events: auto; }
.cf-ready .cf-item { position: absolute; top: 18px; left: 50%; width: var(--cf-w, 340px); height: var(--cf-h, 400px); margin-left: calc(var(--cf-w, 340px) / -2); transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .55s ease, filter .55s ease; will-change: transform; }
.cf-ready .cf-item.is-away { opacity: 0; pointer-events: none !important; }
.cf-ready .cf-item:not(.is-active) .cf-card { filter: saturate(.75) brightness(.96); }
.cf-ready .cf-item.is-active .cf-photo img { transform: scale(1.06); }
.cf-ready .cf-track.is-spinning { animation: cf-spin 1s cubic-bezier(.3,.7,.2,1); }
@keyframes cf-spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* ================================================================== Motion: scroll reveal (vertical, horizontal, 3D, 360°) */
.rv { opacity: 0; transition: opacity .8s ease, transform .95s cubic-bezier(.2,.75,.25,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.rv-up { transform: translateY(46px); }
.rv-left { transform: translateX(-70px); }
.rv-right { transform: translateX(70px); }
.rv-flip { transform: perspective(900px) rotateX(32deg) translateY(36px); transform-origin: 50% 100%; }
.rv-zoom { transform: scale(.86); }
.rv-turn { transform: perspective(900px) rotateY(-55deg) translateX(-30px); transform-origin: 0 50%; }
.rv-spin { transform: none; }
.rv.rv-in { opacity: 1; transform: none; }
.rv-spin.rv-in { animation: spin360 1.1s cubic-bezier(.3,.7,.2,1) var(--d, 0s) both; }
.why.rv-in .why-icon, .step.rv-in .step-num { animation: spin360 1s cubic-bezier(.3,.7,.2,1) calc(var(--d, 0s) + .25s) both; }
@keyframes spin360 { from { transform: perspective(700px) rotateY(-360deg) scale(.7); opacity: 0; } 60% { opacity: 1; } to { transform: perspective(700px) rotateY(0) scale(1); opacity: 1; } }
.section, .cta-band, .site-footer { overflow-x: clip; }

/* 3D tilt (mouse) */
.tilt { transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .25s ease; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.015); box-shadow: 0 30px 60px -28px rgba(16,24,40,.5); }

/* Hero: slow zoom and text entrance */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-img:not(video), .page-hero-img, .track-hero-img { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
  .home-hero-copy > *, .page-hero-inner > * { animation: hero-in .9s cubic-bezier(.2,.8,.2,1) both; }
  .home-hero-copy > :nth-child(2), .page-hero-inner > :nth-child(2) { animation-delay: .12s; }
  .home-hero-copy > :nth-child(3), .page-hero-inner > :nth-child(3) { animation-delay: .24s; }
  .home-hero-copy > :nth-child(4) { animation-delay: .36s; }
  .mode-bar a { animation: hero-in .8s cubic-bezier(.2,.8,.2,1) both; }
  .mode-bar a:nth-child(2) { animation-delay: .1s; } .mode-bar a:nth-child(3) { animation-delay: .2s; } .mode-bar a:nth-child(4) { animation-delay: .3s; }
  .mode-bar a .icon { transition: transform .6s cubic-bezier(.3,.7,.2,1); }
  .mode-bar a:hover .icon { transform: rotateY(360deg); }
}
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Page-to-page: 3D page turn (browsers that support view transitions) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  .help-dock { view-transition-name: help-dock; }
  ::view-transition-old(root) { animation: vt-out .42s cubic-bezier(.4,0,.2,1) both; }
  ::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes vt-out { to { opacity: 0; transform: perspective(1600px) rotateY(-14deg) translateX(-7%) scale(.95); } }
@keyframes vt-in { from { opacity: 0; transform: perspective(1600px) rotateY(14deg) translateX(7%) scale(.95); } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .tilt.is-tilting { transform: none; }
  .cf-ready .cf-item { transition: none; }
}

/* ================================================================== Cinematic review wall */
.review-stage { position: relative; isolation: isolate; overflow: clip; padding: clamp(56px, 8vw, 96px) 0; color: #fff; background: radial-gradient(120% 70% at 50% 0%, #4A2E1B 0%, #1E2328 55%, #121519 100%); }
.review-stage::before { content: ''; position: absolute; inset: -20% -10%; z-index: -1; background: conic-gradient(from 200deg at 50% 0%, transparent 0deg, rgba(244,119,36,.18) 25deg, transparent 60deg, transparent 300deg, rgba(255,255,255,.07) 330deg, transparent 360deg); animation: stage-sweep 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes stage-sweep { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
.review-stage .section-title { color: #fff; }
.review-stage .eyebrow { color: #FDBA8C; }
.review-stage .sort a { color: #E4E7EC; }
.review-stage .sort a[aria-current] { color: #fff; border-color: var(--brand); }
.review-stage .toolbar { justify-content: center; }
.review-wall { perspective: 1400px; gap: 26px; }
.review-wall .review blockquote { box-shadow: 0 26px 50px -28px rgba(0,0,0,.75); border-color: rgba(255,255,255,.08); transform-style: preserve-3d; backface-visibility: visible; color: var(--ink); }
.review-wall .review footer strong { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .review-wall .review blockquote { animation: wall-float var(--fdur, 6s) ease-in-out var(--fd, 0s) infinite; }
  .review-wall .review blockquote.is-hop { animation: wall-hop .9s cubic-bezier(.3,.7,.3,1) 1; }
  .review-wall .review blockquote.is-spin { animation: wall-float var(--fdur, 6s) ease-in-out var(--fd, 0s) infinite, wall-spin 1.3s cubic-bezier(.45,.05,.25,1) 1; }
  .review-wall .review:hover blockquote, .review-wall .review:focus-within blockquote { animation-play-state: paused; scale: 1.03; transition: scale .25s ease; }
}
@keyframes wall-float { 0%, 100% { translate: 0 0; rotate: x 0deg; } 50% { translate: 0 -12px; rotate: x 5deg; } }
@media (max-width: 760px) {
  @keyframes wall-float { 0%, 100% { translate: 0 0; rotate: x 0deg; } 25% { translate: 0 -16px; rotate: x 7deg; } 50% { translate: 0 0; rotate: x 0deg; } 70% { translate: 0 -7px; rotate: x 3deg; } }
  .review-wall { perspective: 900px; gap: 30px; }
}
@keyframes wall-hop { 0% { translate: 0 0; scale: 1; } 25% { translate: 0 -34px; scale: 1.03; } 50% { translate: 0 0; scale: .98; } 68% { translate: 0 -12px; scale: 1.01; } 84% { translate: 0 0; } 92% { translate: 0 -4px; } 100% { translate: 0 0; scale: 1; } }
@keyframes wall-spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* ================================================================== Tracking: clear status card */
.t-summary { padding-top: 26px; }
.t-status-top { display: flex; gap: 16px; align-items: flex-start; }
.t-status-icon { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--brand); box-shadow: 0 12px 24px -12px rgba(244,119,36,.8); }
.t-summary.tone-success .t-status-icon { background: #12B76A; box-shadow: 0 12px 24px -12px rgba(18,183,106,.8); }
.t-summary.tone-warn .t-status-icon, .t-summary.tone-danger .t-status-icon { background: #F79009; box-shadow: 0 12px 24px -12px rgba(247,144,9,.8); }
.t-summary.tone-neutral .t-status-icon { background: var(--charcoal); box-shadow: none; }
.t-status-text { min-width: 0; }
.t-status-text .t-label { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.t-status-text .t-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; letter-spacing: .04em; color: var(--ink); text-transform: none; }
.t-status-title { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; margin: 4px 0 6px; color: var(--ink); }
.t-summary .t-sentence { margin: 0; font-size: 1.02rem; color: var(--ink-2); font-family: var(--font); font-weight: 500; }
.t-eta { margin: 18px 0 4px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; background: var(--brand-50, #FEF1E8); border-radius: 12px; padding: 12px 16px; }
.t-eta span { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9A4A12; }
.t-eta strong { font-size: 1.15rem; }
.t-eta small { color: var(--muted); }
.t-route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin: 18px 0 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.t-route > div:last-child { text-align: right; }
.t-route strong { display: block; font-size: 1.02rem; }
.t-route-arrow { font-size: 1.4rem; color: var(--brand); }
.t-summary .t-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .t-summary .t-facts { grid-template-columns: 1fr 1fr; } .t-status-icon { width: 50px; height: 50px; border-radius: 14px; } }
.t-message { margin: 14px 0 0; padding: 12px 14px; background: var(--light, #F1F3F4); border-radius: 12px; font-size: .97rem; }
.t-message span { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.t-actions-row { display: flex; justify-content: flex-end; margin-top: 16px; }

/* ---------------------------------------------------------------- fast, smooth loading */
/* Photos sit on a soft placeholder and fade in when they arrive. */
.service-photo, .cf-photo, .page-hero, .home-hero, .post-card, .mega-thumb { background-color: #E9EDF1; }
img.img-wait { opacity: 0; }
main img, .mega img { transition: opacity .35s ease; }
/* Moving between pages cross-fades instead of flashing white (supporting browsers). */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  main img, .mega img { transition: none; }
}
