/* ============================================================
   Buie Worldwide Logistics — stylesheet
   Aesthetic: editorial luxury, onyx + champagne, refined
   Typography: Fraunces (display), DM Sans (body), JetBrains Mono
   ============================================================ */

:root {
  /* palette — onyx, cream, champagne */
  --ink: #0d0b08;
  --ink-2: #14110c;
  --ink-3: #1c1813;
  --ink-4: #2a241c;
  --line: #3a3126;
  --line-hi: #5a4c38;
  --cream: #ece3d0;
  --cream-dim: #b9ae96;
  --cream-ghost: #7a7060;
  --champagne: #d4b585;
  --champagne-hi: #e9cf9d;
  --rust: #b46a3a;
  --moss: #5a6a3c;

  --serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --shell: min(1440px, 100vw);
  --gutter: clamp(20px, 3.6vw, 56px);
  --rule: 1px solid var(--line);
  --rule-hi: 1px solid var(--line-hi);

  --r-lg: 18px;
  --r-md: 10px;
  --r-sm: 4px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv02", "cv03";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 700px at 85% -10%, rgba(212, 181, 133, 0.11), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(180, 106, 58, 0.08), transparent 60%),
    linear-gradient(180deg, #0d0b08 0%, #0a0907 100%);
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  font-family: var(--serif);
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}
address {
  font-style: normal;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.84 0 0 0 0 0.68 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 14px var(--gutter);
  background: color-mix(in oklab, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: var(--rule);
  color: var(--cream);
}
.nav__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--champagne);
}
.nav__sigil {
  width: 32px;
  height: 32px;
}
.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__name {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.nav__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--cream-ghost);
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 36px);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
}
.nav__links a {
  position: relative;
  padding: 4px 2px;
  color: var(--cream-dim);
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover {
  color: var(--cream);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__aux {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
}
.nav__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 0 rgba(212, 181, 133, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 181, 133, 0.55); }
  60%, 100% { box-shadow: 0 0 0 8px rgba(212, 181, 133, 0); }
}
.nav__status {
  color: var(--cream-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__cta {
  margin-left: 8px;
  padding: 10px 16px;
  border: var(--rule-hi);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--champagne);
  color: var(--ink);
  border-color: var(--champagne);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 36px var(--gutter) 80px;
  border-bottom: var(--rule);
}
.hero__rule {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-ghost);
  padding-bottom: 14px;
  border-bottom: var(--rule);
  margin-bottom: 40px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 28px 48px;
  align-items: start;
}
.hero__eyebrow {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: var(--rule);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  background: color-mix(in oklab, var(--ink-3) 90%, transparent);
}
.tag--ghost {
  border-style: dashed;
  color: var(--cream-ghost);
}

/* title */
.hero__title {
  grid-column: 1 / -1;
  font-size: clamp(52px, 9.2vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--cream);
  margin: 8px 0 4px;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  animation: rise 1s var(--ease-out) forwards;
}
.hero__line--1 { animation-delay: 0.05s; }
.hero__line--2 {
  animation-delay: 0.22s;
  padding-left: clamp(40px, 10vw, 180px);
}
.hero__line--3 {
  animation-delay: 0.38s;
  padding-left: clamp(12px, 3vw, 48px);
}
.hero__line em {
  font-style: italic;
  color: var(--champagne);
  font-weight: 300;
}
.hero__ampersand {
  font-style: italic;
  font-weight: 300;
  color: var(--rust);
  font-feature-settings: "ss01";
  padding: 0 0.08em;
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* lede */
.hero__lede {
  grid-column: 1 / span 1;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cream-dim);
  border-left: 1px solid var(--line-hi);
  padding: 4px 0 4px 18px;
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.55s forwards;
}

/* ctas */
.hero__cta {
  grid-column: 1 / span 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.7s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--solid {
  background: var(--champagne);
  color: var(--ink);
  border: 1px solid var(--champagne);
  font-weight: 500;
}
.btn--solid:hover {
  background: var(--champagne-hi);
  border-color: var(--champagne-hi);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: var(--rule-hi);
  font-family: var(--mono);
  font-size: 13px;
}
.btn--ghost:hover {
  border-color: var(--champagne);
  color: var(--champagne);
}
.btn__arrow {
  color: var(--champagne);
}

/* dispatch panel */
.hero__dispatch {
  grid-column: 2 / span 1;
  grid-row: 3 / span 2;
  align-self: end;
  background: color-mix(in oklab, var(--ink-2) 88%, transparent);
  border: var(--rule-hi);
  border-radius: var(--r-lg);
  padding: 18px 20px 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-dim);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(233, 207, 157, 0.06);
  opacity: 0;
  animation: rise 1s var(--ease-out) 0.85s forwards;
}
.hero__dispatch header {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: var(--cream);
  padding-bottom: 12px;
  border-bottom: var(--rule);
}
.hero__dispatch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fb86a;
  animation: blink 1.8s infinite;
}
@keyframes blink {
  50% { opacity: 0.35; }
}
.hero__dispatch-clock {
  margin-left: auto;
  color: var(--cream-ghost);
}
.hero__dispatch ol {
  counter-reset: d;
}
.hero__dispatch li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed color-mix(in oklab, var(--line) 85%, transparent);
}
.hero__dispatch li:last-child {
  border-bottom: none;
}
.hero__dispatch strong {
  color: var(--champagne);
  font-weight: 500;
}
.hero__dispatch em {
  font-style: normal;
  color: var(--cream-ghost);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* truck plate */
.hero__plate {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.0s forwards;
}
.plate {
  position: relative;
  border: var(--rule-hi);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  background:
    linear-gradient(180deg, rgba(212, 181, 133, 0.06) 0%, transparent 80%),
    color-mix(in oklab, var(--ink-2) 70%, transparent);
  overflow: hidden;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(212, 181, 133, 0.04) 79px 80px);
  pointer-events: none;
}
.plate__frame {
  position: relative;
}
.plate__truck {
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.5));
  margin: 0 auto;
  animation: drift 10s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
}
.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  margin-top: 12px;
  border-top: var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream-ghost);
  text-transform: uppercase;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-bottom: var(--rule);
  padding: 18px 0;
  background: color-mix(in oklab, var(--ink-2) 80%, transparent);
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  gap: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 42px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--cream-dim);
  animation: slide 46s linear infinite;
  padding-left: 28px;
}
.marquee__dot {
  color: var(--champagne);
  font-style: normal;
}
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SHARED TYPOGRAPHY
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-ghost);
}
.eyebrow--sm {
  font-size: 10px;
  letter-spacing: 0.16em;
}
.eyebrow__num {
  display: inline-block;
  padding: 3px 8px;
  border: var(--rule);
  border-radius: 999px;
  color: var(--champagne);
  font-size: 10px;
}
.section-title {
  margin-top: 18px;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--cream);
  max-width: 22ch;
}
.section-title em {
  font-style: italic;
  color: var(--champagne);
  font-weight: 300;
}

/* ============================================================
   DOSSIER
   ============================================================ */
.dossier {
  padding: 96px var(--gutter) 96px;
  border-bottom: var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.dossier__head {
  position: sticky;
  top: 110px;
}
.dossier__copy {
  font-size: 19px;
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 54ch;
  margin-bottom: 36px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat {
  padding: 22px 20px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: color-mix(in oklab, var(--ink-2) 60%, transparent);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-ghost);
  margin-bottom: 10px;
}
.stat dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.stat__num .u {
  font-size: 0.5em;
  color: var(--champagne);
  margin-left: 2px;
  font-style: italic;
}
.stat small {
  font-size: 11px;
  color: var(--cream-ghost);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ============================================================
   FLEET
   ============================================================ */
.fleet {
  padding: 96px var(--gutter) 40px;
  border-bottom: var(--rule);
}
.fleet__head {
  max-width: 880px;
}
.fleet__copy {
  margin-top: 18px;
  font-size: 17px;
  color: var(--cream-dim);
  max-width: 60ch;
}
.fleet__list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.fleet__card {
  grid-column: span 3;
  position: relative;
  padding: 28px 26px 30px;
  background:
    linear-gradient(180deg, rgba(212, 181, 133, 0.05) 0%, transparent 80%),
    color-mix(in oklab, var(--ink-2) 75%, transparent);
  border: var(--rule-hi);
  border-radius: var(--r-lg);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.fleet__card--wide { grid-column: span 6; }
.fleet__card:hover {
  transform: translateY(-3px);
  border-color: var(--champagne);
}
.fleet__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 100% 0%, rgba(212, 181, 133, 0.09), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.fleet__card:hover::before { opacity: 1; }
.fleet__plate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--line-hi);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cream-dim);
  background:
    linear-gradient(180deg, #1e1914, #14110c);
  margin-bottom: 22px;
}
.fleet__plate span:first-child {
  color: var(--champagne);
  border-right: 1px solid var(--line);
  padding-right: 8px;
}
.fleet__card h3 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-weight: 400;
}
.fleet__card h3::first-letter {
  font-style: italic;
  color: var(--champagne);
}
.fleet__desc {
  font-size: 15.5px;
  color: var(--cream-dim);
  max-width: 46ch;
  margin-bottom: 22px;
}
.fleet__spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: var(--rule);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.fleet__spec li {
  background: var(--ink-2);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fleet__spec span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-ghost);
}
.fleet__spec em {
  font-style: normal;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 96px var(--gutter);
  border-bottom: var(--rule);
}
.services__head {
  max-width: 880px;
  margin-bottom: 56px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.service {
  position: relative;
  padding: 32px 28px 36px;
  border: var(--rule);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--ink-2) 65%, transparent);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service:hover {
  background: color-mix(in oklab, var(--ink-3) 85%, transparent);
  border-color: var(--line-hi);
}
.service--01 { grid-column: span 7; }
.service--02 { grid-column: span 5; }
.service--03 { grid-column: span 5; }
.service--04 { grid-column: span 7; }

.service__index {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  line-height: 1;
  color: var(--champagne);
  opacity: 0.75;
  margin-bottom: 14px;
}
.service h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service p {
  color: var(--cream-dim);
  font-size: 15.5px;
  margin-bottom: 20px;
  max-width: 48ch;
}
.service ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: var(--rule);
}
.service ul li {
  padding: 6px 12px;
  border: 1px dashed var(--line-hi);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
}

/* ============================================================
   CONCIERGE
   ============================================================ */
.concierge {
  padding: 104px var(--gutter) 96px;
  border-bottom: var(--rule);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(212, 181, 133, 0.07), transparent 70%),
    color-mix(in oklab, var(--ink-2) 55%, transparent);
}
.concierge__head {
  max-width: 920px;
  margin-bottom: 48px;
}
.concierge__copy {
  margin-top: 20px;
  font-size: 17px;
  color: var(--cream-dim);
  max-width: 70ch;
  line-height: 1.6;
}
.concierge__panel {
  margin: 0 auto;
  max-width: 860px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  border: var(--rule-hi);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--ink) 90%, transparent);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(233, 207, 157, 0.07);
  overflow: hidden;
}
.concierge__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: var(--rule);
  background: color-mix(in oklab, var(--ink-2) 85%, transparent);
}
.concierge__who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.concierge__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--champagne), var(--rust));
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset;
}
.concierge__who strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: var(--cream);
}
.concierge__who small {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--cream-ghost);
  letter-spacing: 0.06em;
}
.concierge__ping {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fb86a;
  box-shadow: 0 0 8px rgba(143, 184, 106, 0.6);
}
.concierge__status {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.concierge__thread {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-hi) transparent;
}
.concierge__thread::-webkit-scrollbar { width: 6px; }
.concierge__thread::-webkit-scrollbar-thumb { background: var(--line-hi); border-radius: 3px; }

.msg {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  max-width: 85%;
}
.msg--bot { align-self: flex-start; }
.msg--user {
  align-self: flex-end;
  grid-template-columns: 1fr auto;
  text-align: right;
}
.msg__who {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-ghost);
  padding-top: 10px;
}
.msg--user .msg__who {
  order: 2;
  color: var(--champagne);
}
.msg__who--hidden { visibility: hidden; }
.msg p {
  padding: 12px 16px;
  border-radius: 14px;
  border: var(--rule);
  background: color-mix(in oklab, var(--ink-3) 60%, transparent);
  color: var(--cream);
  font-size: 14.5px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.msg--user p {
  background: color-mix(in oklab, var(--champagne) 88%, transparent);
  color: var(--ink);
  border-color: var(--champagne);
  order: 1;
  text-align: left;
}
.msg--bot p em {
  font-style: italic;
  color: var(--champagne);
}
.msg--chips .chips {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 14px;
  border: 1px dashed var(--line-hi);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--cream-dim);
  font-family: var(--sans);
  transition: all 0.3s var(--ease);
}
.chip:hover {
  border-style: solid;
  border-color: var(--champagne);
  color: var(--champagne);
  background: color-mix(in oklab, var(--champagne) 10%, transparent);
}

/* typing dots */
.msg--typing p {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 52px;
}
.msg--typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--champagne);
  animation: dot 1.2s infinite ease-in-out;
}
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.concierge__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 14px;
  border-top: var(--rule);
  background: color-mix(in oklab, var(--ink) 65%, transparent);
}
.concierge__form textarea {
  padding: 12px 14px;
  background: color-mix(in oklab, var(--ink-2) 80%, transparent);
  border: var(--rule);
  border-radius: var(--r-md);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  min-height: 46px;
  max-height: 140px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.concierge__form textarea:focus {
  border-color: var(--champagne);
}
.concierge__form textarea::placeholder {
  color: var(--cream-ghost);
}
.concierge__send {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: var(--champagne);
  color: var(--ink);
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.concierge__send:hover { background: var(--champagne-hi); transform: translateY(-1px); }
.concierge__send:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.concierge__fine {
  padding: 10px 18px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--cream-ghost);
  text-align: center;
  border-top: var(--rule);
  background: color-mix(in oklab, var(--ink-2) 80%, transparent);
}

/* ============================================================
   LEDGER / CONTACT
   ============================================================ */
.ledger {
  padding: 96px var(--gutter);
}
.ledger__head {
  max-width: 800px;
  margin-bottom: 56px;
}
.ledger__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: color-mix(in oklab, var(--ink-2) 60%, transparent);
}
.ledger__card {
  padding: 28px 26px;
  border-right: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ledger__card:last-child { border-right: 0; }
.ledger__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-ghost);
}
.ledger__value {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--cream);
  line-height: 1.15;
  transition: color 0.25s var(--ease);
}
a.ledger__value:hover { color: var(--champagne); }
.ledger__value--addr {
  font-size: 18px;
  line-height: 1.4;
  font-style: italic;
}
.ledger__value--hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
}
.ledger__value--hours span { color: var(--cream-ghost); }
.ledger__value--hours em { font-style: normal; color: var(--cream); justify-self: end; }
.ledger__card p {
  color: var(--cream-dim);
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: auto;
}

.ledger__coi {
  margin-top: 36px;
  padding: 20px 24px;
  border: 1px dashed var(--line-hi);
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
}
.ledger__coi p { max-width: 80ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 80px var(--gutter) 36px;
  border-top: var(--rule);
  background: color-mix(in oklab, var(--ink) 92%, transparent);
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: var(--rule);
}
.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--champagne);
}
.foot__sigil { width: 40px; height: 40px; }
.foot__brand p {
  color: var(--cream-dim);
  max-width: 40ch;
  font-size: 14px;
}
.foot__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__col span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-ghost);
  margin-bottom: 6px;
}
.foot__col a,
.foot__col p {
  color: var(--cream-dim);
  font-size: 14px;
  transition: color 0.25s var(--ease);
}
.foot__col a:hover { color: var(--champagne); }
.foot__rule {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--cream-ghost);
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__lede, .hero__cta, .hero__dispatch { grid-column: 1 / -1; grid-row: auto; }
  .hero__line--2 { padding-left: 48px; }
  .dossier { grid-template-columns: 1fr; }
  .dossier__head { position: static; }
  .fleet__list { grid-template-columns: 1fr 1fr; }
  .fleet__card, .fleet__card--wide { grid-column: span 1; }
  .services__grid { grid-template-columns: 1fr; }
  .service--01, .service--02, .service--03, .service--04 { grid-column: span 1; }
  .ledger__grid { grid-template-columns: 1fr 1fr; }
  .ledger__card:nth-child(2) { border-right: 0; }
  .ledger__card:nth-child(-n+2) { border-bottom: var(--rule); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }
  html { scroll-padding-top: 64px; }
  .nav { grid-template-columns: auto auto; gap: 8px; padding: 10px 18px; }
  .nav__links { display: none; }
  .nav__aux .nav__status, .nav__aux .nav__pulse { display: none; }
  .nav__cta { padding: 8px 12px; font-size: 12px; }
  .nav__tag { display: none; }
  .hero { padding: 24px 18px 60px; }
  .hero__rule { flex-wrap: wrap; font-size: 9.5px; gap: 6px; }
  .hero__title { font-size: clamp(44px, 12vw, 72px); }
  .hero__line--2 { padding-left: 18px; }
  .hero__line--3 { padding-left: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .fleet__list { grid-template-columns: 1fr; }
  .ledger__grid { grid-template-columns: 1fr; }
  .ledger__card { border-right: 0; border-bottom: var(--rule); }
  .ledger__card:last-child { border-bottom: 0; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .concierge { padding: 56px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__line, .hero__lede, .hero__cta, .hero__dispatch, .hero__plate { animation: none; opacity: 1; transform: none; }
  .marquee__track, .plate__truck, .nav__pulse, .hero__dispatch-dot, .concierge__ping { animation: none !important; }
}
