/* ============================================================
   Quantum Logistics Corp, quantumlogisticscorp.com
   Brand: official logo kit, 2026-10-22. Chrome Q and truck, cyan
   circuit light, navy. Barlow (drawn from US highway signage) in
   two widths: Condensed for headings, regular for text.

   Cyan is light, not paint: lines, nodes, buttons, key figures.
   One motif, the route line (a hairline with stop nodes), lifted
   from the logo's circuit traces.
   ============================================================ */

:root {
  --night: #04111f;     /* page ground */
  --tile: #061a32;      /* the logo tile: nav, bands */
  --harbor: #0a2038;    /* cards, panels, form */
  --rim: #17355a;       /* hairlines and borders */
  --cyan: #08c7ff;      /* the circuit light */
  --cyan-deep: #0596cc;
  --chrome: #e3ebf2;    /* text, from the logo's chrome ramp */
  --steel: #8ba3b8;     /* secondary text */
  --hint: #6f8aa1;      /* placeholders */

  --route:
    radial-gradient(circle at center, var(--cyan) 0 2.5px, transparent 3px) 36px center / 72px 100% repeat-x,
    linear-gradient(90deg, transparent, rgba(8,199,255,.55) 10%, rgba(8,199,255,.55) 90%, transparent) center / 100% 1px no-repeat;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.2rem, 4vw, 3rem);
  --content: calc(1280px - 6rem);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  /* Legacy names, still used by inline styles in some pages. Mapped onto the new palette. */
  --ink: var(--night);
  --ink-2: var(--harbor);
  --paper: var(--chrome);
  --paper-dim: var(--steel);
  --orange: var(--cyan);
  --orange-deep: var(--cyan-deep);
  --hazard: var(--route);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--chrome);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(8,199,255,.32); color: #fff; }

a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--cyan); color: var(--night);
  padding: .6rem 1rem; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 0; }

em { font-style: normal; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  padding: .72rem 1.4rem;
  border: 1px solid rgba(227,235,242,.28);
  border-radius: var(--r-sm);
  color: var(--chrome);
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-solid { background: var(--cyan); border-color: var(--cyan); color: var(--night); }
.btn-solid:hover { background: #4fd8ff; border-color: #4fd8ff; box-shadow: 0 0 0 4px rgba(8,199,255,.16); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; }
.btn-lg { font-size: 1.06rem; padding: .9rem 1.8rem; }
.btn-full { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: .75rem max(var(--gutter), calc((100% - var(--content)) / 2));
  background: rgba(6,26,50,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rim);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--chrome); }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-name {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.5rem; line-height: .95; letter-spacing: .07em;
}
.brand-name em {
  font-family: var(--font-body);
  font-weight: 600; font-size: .52rem; letter-spacing: .38em;
  color: var(--steel); margin-top: .28rem;
}
.nav-links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav-links a {
  color: var(--steel); text-decoration: none;
  font-size: .96rem; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--chrome); }
.nav-cta { white-space: nowrap; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: auto; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--chrome); margin: 5px 0; border-radius: 2px; transition: .2s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 1.1rem;
  padding: 1.4rem max(var(--gutter), calc((100% - var(--content)) / 2));
  background: var(--tile);
  border-bottom: 1px solid var(--rim);
  position: sticky; top: 66px; z-index: 99;
}
.mobile-menu a { color: var(--chrome); text-decoration: none; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; }
.mobile-menu a.btn { font-family: var(--font-body); font-size: 1rem; align-self: flex-start; }
.mobile-menu.open { display: flex; }

/* ============ HERO (home) ============ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1280px; margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  min-height: min(76vh, 680px);
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  color: var(--cyan);
  margin-bottom: .9rem;
}
.eyebrow.light { color: var(--cyan); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: .9;
  letter-spacing: .005em;
  color: var(--chrome);
}
.hero-title span { display: block; }
.hero-sub {
  max-width: 33rem;
  margin: 1.6rem 0 2.2rem;
  color: var(--steel);
  font-size: 1.12rem;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }

/* the official artwork, with its own cyan light behind it */
.hero-art { position: relative; z-index: 1; display: grid; place-items: center; }
.hero-art::before {
  content: ""; position: absolute; inset: 6% 2% 10% 8%;
  background: radial-gradient(closest-side, rgba(8,199,255,.22), rgba(8,199,255,.06) 55%, transparent 75%);
  filter: blur(8px);
  z-index: -1;
}
.hero-art img {
  width: 100%; max-width: 600px; height: auto; display: block;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.55));
  animation: art-in 1.1s cubic-bezier(.22,1,.36,1) both .15s;
}
@keyframes art-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); filter: drop-shadow(0 24px 40px rgba(0,0,0,0)) brightness(.7); }
  to   { opacity: 1; transform: none; }
}

/* ============ TICKER: the route, cities as stops ============ */
.ticker {
  overflow: hidden;
  background: var(--tile);
  border-top: 1px solid var(--rim);
  border-bottom: 1px solid var(--rim);
  padding: .8rem 0;
}
.ticker-track {
  display: flex; gap: 1.6rem; align-items: center;
  width: max-content;
  animation: ticker 50s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .14em;
  color: var(--steel); white-space: nowrap;
}
.ticker-track i {
  font-size: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(8,199,255,.7);
  flex: 0 0 auto;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ STATS ============ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1280px; margin: 0 auto;
  border-bottom: 1px solid var(--rim);
}
.stat {
  padding: clamp(1.8rem, 3.5vw, 2.8rem) clamp(1.2rem, 4vw, 3rem);
  border-left: 1px solid var(--rim);
}
.stat:first-child { border-left: 0; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--cyan);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: .45rem; color: var(--steel); font-size: .98rem; }

/* ============ SECTIONS ============ */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.2rem, 4vw, 3rem); max-width: 1280px; margin: 0 auto; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 46rem; }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: .94;
  color: var(--chrome);
}
.section-title.light { color: var(--chrome); }

/* ============ SERVICES: one panel, ruled into cells ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rim);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc {
  position: relative;
  background: var(--harbor);
  padding: 2.1rem 1.9rem 2rem;
  transition: background .2s ease;
}
.svc:hover { background: #0d2744; }
.svc-num { display: none; }
.svc h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; line-height: 1.05; letter-spacing: .01em;
  margin-bottom: .55rem;
}
.svc p { color: var(--steel); font-size: 1rem; }

/* ============ WHY ============ */
.why { position: relative; border-top: 1px solid var(--rim); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.why-lede { color: var(--steel); margin-top: 1.3rem; font-size: 1.1rem; max-width: 34rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.7rem; }
.why-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.check {
  flex: 0 0 auto;
  width: 2rem; height: 2rem; margin-top: .15rem;
  display: grid; place-items: center;
  border: 1px solid var(--cyan); border-radius: 50%;
  color: var(--cyan);
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 0 14px rgba(8,199,255,.25);
}
.why-list strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; line-height: 1.1; letter-spacing: .01em;
  display: block;
}
.why-list p { color: var(--steel); font-size: 1rem; margin-top: .25rem; }

/* ============ COVERAGE ============ */
.coverage { border-top: 1px solid var(--rim); }
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.lane { border-left: 2px solid var(--cyan); padding: .2rem 0 .2rem 1.15rem; }
.lane span {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; letter-spacing: .01em;
  display: block; margin-bottom: .35rem;
}
.lane p { color: var(--steel); font-size: .97rem; }

/* ============ PROCESS: a real sequence, so it is numbered ============ */
.process { border-top: 1px solid var(--rim); }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.steps li {
  background: var(--harbor);
  border: 1px solid var(--rim);
  border-radius: var(--r-md);
  padding: 1.9rem 1.8rem;
  position: relative;
}
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3.4rem; line-height: 1; color: var(--cyan);
  display: block; margin-bottom: .7rem;
}
.steps h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.45rem; letter-spacing: .01em;
  margin-bottom: .45rem;
}
.steps p { color: var(--steel); font-size: .98rem; }

/* ============ QUOTE ============ */
.quote {
  max-width: none;
  background: var(--tile);
  position: relative;
}
.quote::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: var(--route);
}
.quote-grid {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.quote-copy p { max-width: 30rem; font-size: 1.08rem; margin-top: 1.3rem; color: var(--steel); }
.quote-contact { margin-top: 2rem; display: flex; flex-direction: column; gap: .3rem; }
.quote-contact a {
  color: var(--cyan); font-weight: 600; font-size: 1.15rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.quote-contact span { font-size: .95rem; color: var(--steel); }

.quote-form {
  background: var(--harbor);
  color: var(--chrome);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.65);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.quote-form label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .9rem; font-weight: 600;
  color: var(--steel);
}
.quote-form input, .quote-form select, .quote-form textarea {
  background: var(--night);
  border: 1px solid var(--rim);
  border-radius: var(--r-sm);
  color: var(--chrome);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .72rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.quote-form ::placeholder { color: var(--hint); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8,199,255,.18);
}
.quote-form textarea { resize: vertical; }
.form-note { font-size: .92rem; color: var(--cyan); min-height: 1.2em; }
.form-note.ok { color: #6ee7a0; }
.form-note.err { color: #fb8c8c; }
.form-note.err a { color: #fb8c8c; font-weight: 700; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--rim);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 3rem) 0;
}
.footer-grid {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-name { font-size: 1.7rem; }
.footer-brand p { color: var(--steel); font-size: .98rem; margin-top: 1rem; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: .02em;
  color: var(--chrome); margin-bottom: .35rem;
}
.footer-col a, .footer-col span { color: var(--steel); text-decoration: none; font-size: .98rem; }
.footer-col a:hover { color: var(--chrome); }
.footer-bar {
  max-width: var(--content); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--rim);
  color: var(--steel); font-size: .88rem;
}
/* a footer with only the bar (the 404) already has the footer's own top rule */
.footer > .footer-bar:first-child { border-top: 0; }
.footer-credit a { color: var(--steel); }
.footer-credit a:hover { color: var(--cyan); }

/* ============ PRICING (Carrier Services) ============ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column;
  background: var(--harbor);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
}
.price-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 24px 60px -20px rgba(8,199,255,.28);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: var(--night);
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  padding: .28rem .85rem; border-radius: 999px; white-space: nowrap;
}
.price-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; letter-spacing: .01em;
}
.price-amount {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3.4rem; line-height: 1; color: var(--cyan);
  margin: .6rem 0 .2rem;
}
.price-amount sup { font-size: 1.4rem; vertical-align: super; }
.price-for { color: var(--steel); font-size: .95rem; margin-bottom: 1.2rem; }
.price-list { list-style: none; margin: 0 0 1.6rem; padding: 0; flex: 1; }
.price-list li {
  padding: .5rem 0 .5rem 1.7rem; position: relative;
  color: var(--steel); font-size: .98rem;
  border-bottom: 1px solid rgba(23,53,90,.7);
}
.price-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.price-note { text-align: center; color: var(--steel); font-size: .9rem; margin-top: 1.4rem; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* trust bar (carrier services) */
.trust-bar {
  max-width: 1280px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
}
.trust-item {
  background: var(--harbor);
  border: 1px solid var(--rim);
  padding: 1.2rem 1rem;
  text-align: center;
}
.trust-item:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
.trust-item:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
.trust-item strong {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.8rem; color: var(--cyan); line-height: 1.1;
}
.trust-item span { display: block; margin-top: .25rem; color: var(--steel); font-size: .9rem; }
@media (max-width: 760px) {
  .trust-bar { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .trust-item, .trust-item:first-child, .trust-item:last-child { border-radius: var(--r-md); }
}

/* 4-column steps variant (carrier services) */
.steps-4 { grid-template-columns: repeat(4, 1fr); }

/* testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial {
  background: var(--harbor);
  border: 1px solid var(--rim);
  border-radius: var(--r-md);
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.testimonial blockquote { margin: 0; color: var(--steel); font-size: 1.02rem; line-height: 1.65; }
.testimonial blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: .6; color: var(--cyan); margin-bottom: .6rem; }
.testimonial cite { font-style: normal; margin-top: auto; }
.testimonial cite strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.testimonial cite span { color: var(--steel); font-size: .9rem; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* homepage carrier strip */
.carrier-strip {
  position: relative;
  background: var(--tile);
  padding: clamp(2.8rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3rem);
}
.carrier-strip::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: var(--route);
}
.carrier-strip-inner {
  max-width: var(--content); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap;
}
.carrier-strip h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1;
}
.carrier-strip p { color: var(--steel); margin-top: .6rem; max-width: 36rem; }

/* ============ BLOG ============ */
.blog-hero {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  max-width: 1280px; margin: 0 auto;
}
.post-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.post-card {
  display: flex; flex-direction: column;
  background: var(--harbor);
  border: 1px solid var(--rim);
  border-radius: var(--r-md);
  text-decoration: none; color: var(--chrome);
  transition: border-color .2s ease;
  overflow: hidden;
}
.post-card:hover { border-color: rgba(8,199,255,.6); }
.post-card-top { height: 8px; background: var(--route); margin-top: 1rem; }
.post-card-body { padding: 1.4rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.post-tag { font-size: .88rem; font-weight: 600; color: var(--cyan); }
.post-card h2, .post-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.55rem; line-height: 1.08; letter-spacing: .005em;
}
.post-card p { color: var(--steel); font-size: .98rem; flex: 1; }
.post-meta { font-size: .88rem; color: var(--steel); }

/* article page */
.article { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 2rem) clamp(4rem, 7vw, 6rem); }
.crumbs { font-size: .9rem; color: var(--steel); margin-bottom: 1.3rem; }
.crumbs a { color: var(--cyan); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: .98;
  margin-bottom: 1rem;
}
.article-meta { color: var(--steel); font-size: .92rem; margin-bottom: 2.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rim); }
.prose p { color: #c3d1dd; margin-bottom: 1.15rem; font-size: 1.06rem; line-height: 1.7; }
.prose h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1.1;
  letter-spacing: .005em; color: var(--chrome);
  margin: 2.4rem 0 .9rem;
  padding-left: .9rem; border-left: 3px solid var(--cyan);
}
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1.15rem 1.4rem; color: #c3d1dd; }
.prose li { margin-bottom: .45rem; }
.prose strong { color: var(--chrome); }
.prose a { color: var(--cyan); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.3rem; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border: 1px solid var(--rim); color: var(--steel); }
.prose th { color: var(--chrome); font-weight: 600; background: var(--harbor); }

/* in-article CTA */
.cta-banner {
  margin: 2.4rem 0;
  background: var(--tile);
  border: 1px solid var(--rim);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-md);
  padding: 1.5rem 1.7rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
}
.cta-banner strong { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; display: block; }
.cta-banner span { font-size: .98rem; color: var(--steel); }
.cta-banner .btn { background: var(--cyan); border-color: var(--cyan); color: var(--night); white-space: nowrap; }
.cta-banner .btn:hover { background: #4fd8ff; border-color: #4fd8ff; }

/* FAQ */
.faq details {
  border: 1px solid var(--rim);
  border-radius: var(--r-md);
  background: var(--harbor);
  margin-bottom: .6rem;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 600; color: var(--chrome);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--steel); margin: 0; }

/* related posts */
.related { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--rim); }
.related h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; margin-bottom: 1rem; }
.related a { display: block; color: var(--cyan); text-decoration: none; margin-bottom: .5rem; font-weight: 600; }
.related a:hover { text-decoration: underline; }

@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .post-grid { grid-template-columns: 1fr; } }

/* ============ CALCULATORS ============ */
.calc-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.calc-card {
  background: var(--harbor);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.calc-card label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .9rem; font-weight: 600;
  color: var(--steel);
}
.calc-card input, .calc-card select {
  background: var(--night);
  border: 1px solid var(--rim);
  border-radius: var(--r-sm);
  color: var(--chrome);
  font-family: var(--font-body); font-size: 1rem;
  padding: .72rem .85rem;
}
.calc-card input:focus, .calc-card select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8,199,255,.18); }
.calc-results { display: flex; flex-direction: column; gap: .8rem; }
.calc-result {
  background: var(--harbor);
  border: 1px solid var(--rim);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
  padding: 1.05rem 1.35rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.calc-result span { color: var(--steel); font-size: .95rem; font-weight: 500; }
.calc-result strong {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cyan); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-note { color: var(--steel); font-size: .9rem; }
.calc-error { color: #fb8c8c; font-size: .95rem; min-height: 1.2em; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

/* ============ COOKIE NOTICE ============ */
.cookie-bar {
  position: fixed;
  left: 50%; bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 500;
  width: min(680px, calc(100vw - 2rem));
  display: flex; align-items: center; gap: 1.4rem;
  background: var(--harbor);
  border: 1px solid var(--rim);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.4rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  animation: cookie-in .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
[hidden] { display: none !important; } /* the hidden attribute must beat display:flex on calc results and the cookie bar */
.cookie-bar p { font-size: .95rem; color: var(--steel); }
.cookie-bar strong { color: var(--chrome); }
.cookie-actions { display: flex; gap: .6rem; flex: 0 0 auto; }
.cookie-actions .btn { font-size: .95rem; padding: .55rem 1.1rem; }
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* ============ MOTION ============
   One orchestrated moment: the hero arrives on load. Everything else is simply there. */
.reveal { opacity: 1; transform: none; }
.hero .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.hero .reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .42s; }
.d5 { transition-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .reveal { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .services-grid, .steps, .steps-4 { grid-template-columns: 1fr 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 440px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .services-grid, .steps, .steps-4, .coverage-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rim); }
  .hero-title { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .hero-art img { max-width: 340px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
