/* ════════════════════════════════════════════════════════════════════════════
   ADDITIONS — partner strip, service pricing chip, dispatch (blog), contact
   qualifying chips. Layered on top of existing v2/* styles, doesn't override.
   ════════════════════════════════════════════════════════════════════════════ */

/* ═══════ FOOTER BRAND MARK — wraps new acclr8 SVG + wordmark ═══════ */
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 7px;
  font-size: 13px;  /* shrunk from 15px so the whole lockup fits the column on one line */
}
.footer-brand-mark .brand-mark {
  color: var(--ink);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.footer-brand-mark .brand-word {
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.footer-brand-mark .brand-eight { color: var(--accent); font-weight: 700; }
.footer-brand-mark .brand-sep {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0;
  white-space: nowrap;
  font-size: 12px;  /* slightly smaller than the word — extension reads as supporting */
}

/* Optical centering nudge — the trailing "t" has a wider right side-bearing
   than the leading "a" has on the left, so center-aligned text reads as
   visually right-shifted. A small leftward transform balances the eye. */
.footer-mega {
  transform: translateX(-1.5%);
}

/* ═══════ TIGHTEN INTER-SECTION VERTICAL RHYTHM ═══════
   Notes (03) and Contact (05) had heavy top padding while the sections
   above them ended with their own bottom padding, producing oversized
   black gaps at the 02→03 and 04→05 transitions. Halve their top padding
   to match the natural rhythm of 03→04 (notes → dispatch). */
.sec-notes   { padding-top: clamp(20px, 3vh, 40px); }
.sec-contact { padding-top: clamp(20px, 3vh, 40px); }
.sec-services { padding-bottom: clamp(20px, 3vh, 40px); }
.sec-dispatch { padding-bottom: clamp(28px, 4vh, 52px); }

/* ════════════════════════════════════════════════════════════════════════════
   BUTTON AFFORDANCE — give CTAs unmistakable "clickable" treatment.
   Lift on hover, arrow translate, subtle glow, active press-down.
   ════════════════════════════════════════════════════════════════════════════ */

/* All primary/ghost/header CTAs */
.btn, .header-cta {
  cursor: pointer;
  transition:
    transform .18s cubic-bezier(.4,0,.2,1),
    box-shadow .22s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    filter .2s ease;
  will-change: transform;
}
.btn:hover, .header-cta:hover {
  transform: translateY(-2px);
}
.btn:active, .header-cta:active {
  transform: translateY(0);
  transition-duration: .08s;
}

/* Primary: white pill on dark — add a warm halo on hover so it reads as raised */
.btn-primary {
  box-shadow:
    0 0 0 0 rgba(255, 128, 31, 0),
    0 1px 0 0 rgba(255, 255, 255, 0.4) inset;
}
.btn-primary:hover {
  box-shadow:
    0 12px 32px -10px rgba(255, 128, 31, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 1px 0 0 rgba(255, 255, 255, 0.6) inset;
  filter: brightness(1.04);
}

/* Ghost: outlined pill — accent border + faint orange wash on hover */
.btn-ghost:hover {
  background: rgba(255, 128, 31, 0.07);
  border-color: var(--accent);
  color: var(--ink);
}

/* Header CTA: match primary's halo at smaller scale */
.header-cta:hover {
  box-shadow:
    0 8px 22px -8px rgba(255, 128, 31, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  filter: brightness(1.05);
}

/* Arrow inside any CTA slides right on hover */
.btn .btn-arrow,
.dc-arrow,
.post-back .pb-arrow {
  display: inline-block;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.post-back:hover .pb-arrow { transform: translateX(-4px); }

/* Contact form submit button — was static, now matches the system */
.contact-term-btn {
  cursor: pointer;
  transition:
    transform .18s cubic-bezier(.4,0,.2,1),
    box-shadow .22s ease,
    filter .2s ease,
    background .2s ease;
}
.contact-term-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px -10px rgba(255, 128, 31, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  filter: brightness(1.08);
}
.contact-term-btn:active { transform: translateY(0); transition-duration: .08s; }

/* Contact chips — already had hover, but make active state more obvious */
.contact-chip {
  cursor: pointer;
  transition:
    transform .15s cubic-bezier(.4,0,.2,1),
    border-color .2s, color .2s, background .2s;
}
.contact-chip:hover { transform: translateY(-1px); }
.contact-chip:active { transform: translateY(0); transition-duration: .06s; }

/* Service carousel arrows — make them look like genuine controls */
.svc-arrow {
  cursor: pointer;
  transition:
    transform .18s cubic-bezier(.4,0,.2,1),
    background .2s, border-color .2s, color .2s, box-shadow .22s;
}
.svc-arrow:hover {
  background: rgba(255, 128, 31, 0.08);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 22px -10px rgba(255, 128, 31, 0.4);
  transform: scale(1.05);
}
.svc-arrow:active { transform: scale(0.96); transition-duration: .08s; }

/* Service carousel dots — bigger hit target, clearer active */
.svc-dots button {
  cursor: pointer;
  transition: transform .15s ease, background .2s, opacity .2s;
}
.svc-dots button:hover { transform: scaleY(1.4); }

/* Dispatch cards already lift — add cursor + slight shadow on hover */
.dispatch-card {
  cursor: pointer;
  transition:
    transform .25s cubic-bezier(.4,0,.2,1),
    border-color .25s, background .25s, box-shadow .25s;
}
.dispatch-card:hover {
  box-shadow: 0 18px 40px -20px rgba(255, 128, 31, 0.25);
}

/* "More from dispatch" cards on blog post pages */
.post-more-card {
  cursor: pointer;
  transition: transform .25s cubic-bezier(.4,0,.2,1), border-color .25s, box-shadow .25s;
}
.post-more-card:hover {
  box-shadow: 0 12px 28px -16px rgba(255, 128, 31, 0.25);
}

/* Footer links — give them unambiguous "clickable" affordance with a
   subtle chevron prefix that brightens to accent orange on hover. */
.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s, transform .2s;
}
.footer-col a::before {
  content: "›";
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ash);
  transition: color .2s, transform .22s cubic-bezier(.4,0,.2,1);
  display: inline-block;
  line-height: 1;
}
.footer-col a:hover {
  color: var(--ink);
  transform: translateX(2px);
}
.footer-col a:hover::before {
  color: var(--accent);
  transform: translateX(3px);
}

/* ═══════ FOOTER STARFIELD — matches the hero shader's overhead stars ═══════
   Light-weight DOM version (no canvas) — 120 absolutely-positioned span dots,
   8% with a warm tint, slow per-star twinkle. Each star gets a random delay
   + duration so the field doesn't pulse in unison.
*/
.site-footer { position: relative; overflow: hidden; }
.site-footer > * { position: relative; z-index: 2; }

/* Warm horizon glow at the top of the footer so the orange bottom-edge of
   the contact section flows continuously into the starfield instead of
   hitting a hard black seam. Fades to fully transparent before the giant
   wordmark zone, matching the hero's "horizon under stars" layering. */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 100% at 50% -10%,
      rgba(255, 138, 60, 0.22) 0%,
      rgba(255, 128, 31, 0.08) 25%,
      rgba(255, 128, 31, 0.02) 55%,
      transparent 80%),
    linear-gradient(180deg,
      rgba(255, 128, 31, 0.05) 0%,
      transparent 60%);
}
.footer-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* fade out before the giant footer wordmark so it sits on clean black */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 78%);
}
.footer-stars .star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  animation: footer-twinkle 4s ease-in-out infinite;
  will-change: opacity;
}
.footer-stars .star.warm {
  background: rgba(255, 200, 140, 0.85);
}
@keyframes footer-twinkle {
  0%, 100% { opacity: var(--star-min, 0.3); }
  50%      { opacity: var(--star-max, 1); }
}

/* ═══════ PARTNER STRIP — sits between hero and interlude ═══════ */
.partner-strip {
  position: relative;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(255,128,31,0.025) 50%, rgba(0,0,0,0.0) 100%);
}
.partner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 760px) {
  .partner-inner { grid-template-columns: 1fr; gap: 16px; }
}
.partner-eyebrow {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}
.partner-eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 2px;
  box-shadow: 0 0 8px var(--accent);
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-start;
}
@media (min-width: 760px) {
  .partner-row { justify-content: flex-end; }
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.015);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  transition: border-color .25s, color .25s, background .25s;
  cursor: default;
  user-select: none;
  white-space: nowrap;
}
.partner-badge:hover {
  border-color: rgba(255,128,31,0.4);
  color: var(--ink);
  background: rgba(255,128,31,0.04);
}
.partner-badge .pb-glyph {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  opacity: 0.85;
}
.partner-badge .pb-name {
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.partner-badge .pb-tier {
  color: var(--ash);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}
.partner-badge .pb-sep { color: var(--stone); }

/* ═══════ PRICING CHIP — appears on service slides ═══════ */
.svc-price {
  display: inline-flex;
  align-self: flex-start;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  background: rgba(255,128,31,0.05);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  white-space: nowrap;
  max-width: 100%;
  flex-wrap: wrap;
}
.svc-price .svc-price-k {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.svc-price .svc-price-v {
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
}
.svc-price .svc-price-fx {
  color: var(--ash);
  font-size: 11.5px;
}
.svc-price .svc-price-cycle {
  color: var(--charcoal);
}

/* ═══════ DISPATCH (blog teaser section) ═══════ */
.sec-dispatch {
  background: var(--canvas);
  position: relative;
  padding: clamp(48px, 7vh, 80px) clamp(20px, 4vw, 48px);
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}
.sec-dispatch::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(255, 128, 31, 0.05), transparent 70%);
}
.dispatch-inner {
  position: relative; z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}
.dispatch-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.dispatch-eyebrow {
  display: inline-flex; align-items: baseline; gap: 16px;
}
.dispatch-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-transform: uppercase;
}
.dispatch-meta .dm-link {
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.dispatch-meta .dm-link:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.dispatch-title {
  margin: 28px 0 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-wrap: balance;
}
.dispatch-title i {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #ff5a3c, #ff8a3c 45%, #ffbe5c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dispatch-sub {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 56ch;
  margin-top: 10px;
  letter-spacing: 0.012em;
  word-spacing: 0.02em;
  font-feature-settings: 'ss01' off, 'ss03' off;
}

/* Grid: 1 featured + 2 stacked secondary */
.dispatch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .dispatch-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
  }
}

.dispatch-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 26px 26px 24px;
  transition: border-color .25s, transform .25s, background .25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.dispatch-card:hover {
  border-color: rgba(255,128,31,0.35);
  transform: translateY(-2px);
}
.dispatch-card.is-feature {
  grid-row: span 2;
  padding: 32px 32px 28px;
  background: linear-gradient(165deg, rgba(255,128,31,0.06) 0%, var(--surface-card) 60%);
}

.dc-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.dc-meta .dc-tag {
  color: var(--accent);
}
.dc-meta .dc-sep {
  width: 1px; height: 10px; background: var(--hairline-strong); display: inline-block;
}

.dc-headline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.dispatch-card.is-feature .dc-headline {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}
.dc-headline i {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.dc-excerpt {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0 0 24px;
  max-width: 60ch;
}
.dispatch-card.is-feature .dc-excerpt {
  font-size: 16px;
}

.dc-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ash);
  text-transform: uppercase;
}
.dc-foot .dc-author {
  color: var(--charcoal);
}
.dc-foot .dc-arrow {
  color: var(--ink);
  transition: transform .2s, color .2s;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0;
}
.dispatch-card:hover .dc-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ═══════ CONTACT — qualifying chips ═══════ */
.contact-term-prompt-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
}
.contact-term-prompt-label {
  display: flex;
  gap: 12px;
  color: var(--charcoal);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.contact-term-prompt-label .ctp-prompt {
  color: var(--accent);
  flex-shrink: 0;
}
.contact-term-prompt-label .ctp-question {
  color: var(--charcoal);
}
.contact-term-prompt-label .ctp-question .ctp-hint {
  color: var(--ash);
  font-size: 11.5px;
  margin-left: 6px;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 24px;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.contact-chip:hover {
  color: var(--ink);
  border-color: rgba(255,128,31,0.35);
}
.contact-chip.is-active {
  color: var(--ink);
  background: rgba(255,128,31,0.10);
  border-color: var(--accent);
}
.contact-chip .chip-k {
  color: var(--ash);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact-chip.is-active .chip-k {
  color: var(--accent);
}
