
/* === PORTED closing/contact form bundle === */
.closing {
  background: var(--ink); color: var(--cream);
  padding: var(--xl) 0 var(--lg);
  position: relative; overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 70% at 80% 30%, rgba(225,31,38,0.12) 0%, transparent 60%);
}
.closing-bull {
  position: absolute; right: -8%; top: 10%;
  width: 56%; max-width: 760px;
  max-height: 80%;
  opacity: 0.24; pointer-events: none;
  filter: brightness(1.5) contrast(1.05) saturate(0.9) drop-shadow(0 18px 36px rgba(0,0,0,0.5));
}
.closing-bull img {
  width: 100%; height: 100%; object-fit: contain; object-position: right top;
  clip-path: inset(0 0 38% 0);
}
.closing-inner { position: relative; z-index: 2; }
.closing-display {
  font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 700;
  font-size: clamp(44px, 6.2vw, 104px); line-height: 0.9;
  letter-spacing: -0.04em;
}
.closing-display .line { display: block; }
.closing-display .gold {
  background: var(--gold-metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.closing-row {
  margin-top: clamp(18px, 2.2vw, 36px);
  padding-top: 24px;
  border-top: 1px solid var(--cream-20);
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.closing-pitch { display: flex; flex-direction: column; gap: 22px; }
.closing-blurb {
  font-size: clamp(17px, 1.3vw, 21px); line-height: 1.35; color: var(--cream-60);
  max-width: 540px;
}
.closing-blurb strong { color: var(--cream); font-weight: 600; }
.closing-promise { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.closing-promise li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13px; letter-spacing: 0.04em;
  color: var(--cream);
}
.closing-promise li::before {
  content: ""; width: 18px; height: 2px; background: var(--miami);
  flex-shrink: 0;
}

/* === Contact form === */
.contact-form {
  background: rgba(244,231,210,0.04);
  border: 1px solid rgba(244,231,210,0.18);
  padding: clamp(20px, 2vw, 30px);
  display: flex; flex-direction: column; gap: 11px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  position: relative;
}
.contact-form::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg,
    var(--miami) 0%,
    var(--gold-base) 25%,
    var(--pink) 50%,
    var(--red) 75%,
    var(--miami) 100%);
  background-size: 200% 100%;
  animation: cfRainbow 5s linear infinite, cfPulse 2.6s ease-in-out infinite;
}
@keyframes cfRainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes cfPulse {
  0%, 100% { opacity: 0.55; height: 2px; }
  50% { opacity: 1; height: 3px; }
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-label {
  font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-60);
}
.cf-label em { color: var(--miami-light); font-style: normal; margin-left: 2px; }
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 500; font-size: 14px;
  padding: 10px 14px;
  background: rgba(11,9,7,0.55);
  color: var(--cream);
  border: 1px solid rgba(244,231,210,0.18);
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  width: 100%; box-sizing: border-box;
  cursor: none;
}
.cf-field textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(244,231,210,0.35); }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  border-color: var(--miami);
  background: rgba(11,9,7,0.7);
  box-shadow: 0 0 0 3px rgba(0,183,212,0.18);
}
.cf-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream-60) 50%), linear-gradient(135deg, var(--cream-60) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.cf-consent {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 12px; line-height: 1.4;
  color: var(--cream-60);
  cursor: none;
}
.cf-consent em { font-style: italic; color: var(--cream); }
.cf-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  background: rgba(11,9,7,0.55);
  border: 1.5px solid var(--cream-40);
  display: grid; place-items: center;
  cursor: none;
  margin: 2px 0 0;
  transition: border-color .2s ease, background .2s ease;
}
.cf-consent input[type="checkbox"]:checked {
  background: var(--miami);
  border-color: var(--miami);
}
.cf-consent input[type="checkbox"]:checked::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) translate(1px, -1px);
}
.cf-submit {
  margin-top: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 22px;
  font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--miami); color: var(--ink);
  border: 2px solid var(--miami);
  cursor: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.cf-submit svg { width: 16px; height: 9px; }
.cf-submit:hover {
  background: var(--red); border-color: var(--red); color: var(--cream);
  transform: translateY(-1px);
}
.cf-fine {
  margin: 0; padding-top: 4px;
  font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-40); text-align: center;
}
@media (max-width: 900px) {
  .closing-row { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
}


/* === BATCH2 lane number + grey bar === */
/* Lane num top-glyph clipping fix */
.lane-num { padding-top: 0.12em !important; overflow: visible !important; }
.lane-inner { overflow: visible !important; }
/* Homepage hero -> nav grey bar divider */
.hero-topbar { height: 44px; background: #1A1817; border-bottom: 1px solid rgba(191,191,191,0.22); display: block; width: 100%; }




  

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-forma-djr-text), "DJR Text", -apple-system, system-ui, sans-serif; overflow-x: hidden; cursor: none; }
  @media (hover: none), (max-width: 900px) { body { cursor: auto; } }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; }

  body::before { content: ""; position: fixed; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 28px, rgba(60,40,15,0.025) 28px 29px), radial-gradient(ellipse at 30% 20%, rgba(180,140,60,0.06) 0%, transparent 55%); pointer-events: none; z-index: 0; opacity: 0.6; }

  .container { width: min(1340px, 94vw); margin: 0 auto; position: relative; z-index: 2; }

  /* Cursor */
  .cursor-bullseye { position: fixed; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
  .cursor-bullseye .bull-ring { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; border: 1.5px solid var(--miami); border-radius: 50%; transform: translate(-50%, -50%); transition: width .25s, height .25s, border-color .25s; }
  .cursor-bullseye .bull-ring.r2 { width: 16px; height: 16px; }
  .cursor-bullseye .bull-ring.r3 { width: 6px; height: 6px; background: var(--miami); }
  .cursor-bullseye.is-hover .bull-ring.r1 { width: 56px; height: 56px; border-color: var(--red); }
  .cursor-bullseye.is-hover .bull-ring.r2 { width: 36px; height: 36px; border-color: var(--red); }
  .cursor-bullseye.is-hover .bull-ring.r3 { background: var(--gold-bright); border-color: var(--gold-bright); }
  @media (hover: none), (max-width: 900px) { .cursor-bullseye { display: none; } }

  /* Masthead */
  .masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 24px clamp(28px, 4vw, 64px); background: var(--ink); color: var(--cream); border-bottom: 1px solid rgba(244,231,210,0.08); }
  .masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--miami) 30%, var(--pink) 70%, transparent); opacity: 0.5; }
  .mast-mark img { height: 56px; transition: transform .3s; }
  .mast-mark:hover img { transform: rotate(-3deg); }
  .mast-nav { display: flex; align-items: center; gap: 36px; }
  .mast-link { font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); position: relative; transition: color .25s; }
  .mast-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: linear-gradient(90deg, var(--miami), var(--pink)); transition: right .3s; }
  .mast-link:hover, .mast-link.is-current { color: var(--miami-light); }
  .mast-link:hover::after, .mast-link.is-current::after { right: 0; }
  .btn-blue { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; background: var(--miami); color: var(--ink); border: 2px solid var(--miami); font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .25s; }
  .btn-blue:hover { background: var(--red); border-color: var(--red); color: var(--cream); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(225,31,38,0.36); }
  .btn-blue svg { width: 14px; height: 8px; }

  /* ============= NEWS TICKER (service-themed) ============= */
  .ticker {
    margin-top: 92px;
    background: var(--ink); color: var(--cream);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    overflow: hidden; position: relative; z-index: 3; padding: 12px 0;
  }
  .ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
  .ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
  .ticker::after { right: 0; background: linear-gradient(90deg, transparent, var(--ink)); }
  .ticker-track {
    display: inline-flex; gap: 36px; white-space: nowrap;
    animation: ticker-roll 48s linear infinite;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 11px;
    letter-spacing: 0.32em; text-transform: uppercase; color: var(--cream-60);
  }
  .ticker-track .dot { color: var(--gold-bright); }
  .ticker-track strong { color: var(--miami-light); }
  .ticker-track em { color: var(--red); font-style: normal; }
  @keyframes ticker-roll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* ============= LANE BAR (breadcrumb) ============= */
  .lane-bar { padding: 14px 0; background: var(--paper-deep); border-bottom: 1px solid var(--ink-15); }
  .lane-bar-inner {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-60);
  }
  .lane-bar-inner .pill {
    padding: 4px 10px; background: rgba(225,31,38,0.08);
    border: 1px solid var(--red); color: var(--red);
  }
  .lane-bar-inner a { color: var(--miami-deep); transition: color .25s; }
  .lane-bar-inner a:hover { color: var(--red); }
  .lane-bar-inner strong { color: var(--ink); }
  .lane-bar-inner .siblings {
    display: inline-flex; gap: 10px; margin-left: auto; flex-wrap: wrap;
  }
  .lane-bar-inner .siblings .sib { color: var(--ink-60); }
  .lane-bar-inner .siblings .sib:hover { color: var(--red); }

  /* ============= HERO ============= */
  .cs-hero { padding: 60px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--ink-15); }
  .cs-status {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 6px 14px; background: rgba(225,31,38,0.08);
    border: 1px solid var(--red);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--red); margin-bottom: 22px;
  }
  .cs-status::before {
    content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 50%;
    box-shadow: 0 0 12px var(--red); animation: pulse 1.5s ease-in-out infinite;
  }
  @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }
  .cs-hero-kicker {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--ink-60); margin-bottom: 12px;
  }
  .cs-hero-title {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(44px, 6.2vw, 96px); line-height: 0.96; letter-spacing: -0.03em;
    margin: 0 0 22px; color: var(--ink);
    max-width: 1100px;
  }
  .cs-hero-title em { font-style: italic; font-weight: 700; color: var(--ink-60); }
  .cs-hero-title .gold { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .cs-hero-title .accent-red { color: var(--red); }
  .cs-hero-lede {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: clamp(15px, 1.05vw, 19px);
    line-height: 1.6; color: var(--ink); margin: 0 0 28px; max-width: 720px;
  }
  .cs-hero-lede strong { color: var(--red); }
  .cs-hero-ctas { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .cs-hero-ctas .meta {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-60);
  }
  .cs-hero-ctas .meta strong { color: var(--red); }

  /* ============= SECTION COMMON ============= */
  .cs-section { padding: clamp(60px, 7vh, 100px) 0; position: relative; }
  .cs-section-eyebrow {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 12px;
  }
  .cs-section-eyebrow::before { content: "§"; color: var(--gold-base); font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900; }
  .cs-section-h {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(34px, 4.6vw, 68px); line-height: 0.98; letter-spacing: -0.025em;
    margin: 0 0 22px; color: var(--ink);
  }
  .cs-section-h em { font-style: italic; font-weight: 400; color: var(--ink-60); }
  .cs-section-h .accent-red { color: var(--red); }
  .cs-section-h .gold { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .cs-section-deck {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.6; color: var(--ink); max-width: 720px; margin: 0 0 38px;
  }
  .cs-section-deck strong { color: var(--red); }

  .cs-section--ink { background: var(--ink); border-top: 1px solid var(--line); }
  .cs-section--ink .cs-section-eyebrow { color: var(--miami-light); }
  .cs-section--ink .cs-section-eyebrow::before { color: var(--gold-bright); }
  .cs-section--ink .cs-section-h { color: var(--cream); }
  .cs-section--ink .cs-section-h em { color: var(--cream-40); }
  .cs-section--ink .cs-section-deck { color: var(--cream-90); }
  .cs-section--ink .cs-section-deck strong { color: var(--gold-bright); }

  /* ============= DELIVERABLES (mirror of SEO compound pillars) ============= */
  .cs-deliv { border-top: 1px solid var(--ink-15); background: var(--paper); }
  .cs-deliv-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px;
  }
  .cs-deliv-card {
    position: relative; padding: 28px 24px 24px;
    background: var(--ink); color: var(--cream);
    border: 1px solid var(--ink);
    transition: transform .35s, border-color .35s, box-shadow .35s;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }
  .cs-deliv-card::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-base) 100%); }
  .cs-deliv-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 22px 50px rgba(11,9,7,0.22); }
  .cs-deliv-ix {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: 54px; line-height: 0.9; letter-spacing: -0.03em;
    background: var(--gold-metal);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
  }
  .cs-deliv-tag {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--miami-light); margin-bottom: 8px;
  }
  .cs-deliv-name {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 26px; line-height: 1.1;
    color: var(--cream); margin: 0 0 10px;
  }
  .cs-deliv-desc {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 14px; line-height: 1.55;
    color: var(--cream-90); margin: 0 0 16px;
  }
  .cs-deliv-list {
    list-style: none; padding: 0; margin: 14px 0 0;
    padding-top: 14px; border-top: 1px solid rgba(244,231,210,0.18);
  }
  .cs-deliv-list li {
    padding: 7px 0;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13px; line-height: 1.45;
    color: var(--cream-90);
    display: flex; align-items: center; gap: 10px;
  }
  .cs-deliv-list li::before { content: "▸"; color: var(--gold-bright); font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900; }
  @media (max-width: 900px) { .cs-deliv-grid { grid-template-columns: 1fr; } }

  /* ============= RECEIPTS STRIP ============= */
  .cs-rec-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px;
  }
  .cs-rec {
    padding: 26px 24px;
    background: linear-gradient(180deg, rgba(11,9,7,0.85) 0%, var(--ink) 100%);
    border: 1px solid rgba(244,220,142,0.35);
    transition: transform .35s, border-color .35s, box-shadow .35s;
    display: flex; flex-direction: column;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }
  .cs-rec:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 22px 50px rgba(225,31,38,0.22); }
  .cs-rec-tag {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 14px; border-bottom: 1px solid rgba(244,220,142,0.25);
    margin-bottom: 18px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
  }
  .cs-rec-tag .ix { color: var(--gold-bright); }
  .cs-rec-tag .ch { color: var(--miami-light); }
  .cs-rec-name {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 22px; line-height: 1.1; color: var(--cream); margin: 0 0 14px;
  }
  .cs-rec-big {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(40px, 4vw, 60px); line-height: 0.95;
    background: var(--gold-metal);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    margin-bottom: 4px; font-variant-numeric: tabular-nums;
  }
  .cs-rec-bigl {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10px;
    letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--cream-60); margin-bottom: 18px;
  }
  .cs-rec-blurb {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13.5px; line-height: 1.55;
    color: var(--cream-90); margin: 0 0 20px; flex: 1;
  }
  /* Placeholder slot variant */
  .cs-rec--ph {
    background: rgba(244,231,210,0.04);
    border: 1px dashed rgba(244,220,142,0.45);
  }
  .cs-rec--ph .cs-rec-name,
  .cs-rec--ph .cs-rec-blurb { color: var(--cream-60); }
  .cs-rec--ph .cs-rec-big { -webkit-text-fill-color: var(--cream-40); color: var(--cream-40); background: none; }
  @media (max-width: 900px) { .cs-rec-grid { grid-template-columns: 1fr; } }

  /* ============= BENCH ============= */
  .cs-bench { background: var(--paper); border-top: 1px solid var(--ink-15); }
  .cs-bench-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-top: 28px; }
  .cs-bench-photo {
    position: relative; width: 100%; aspect-ratio: 4 / 3;
    background: var(--ink); border: 1px solid var(--ink);
    overflow: hidden; box-shadow: 0 20px 50px rgba(11,9,7,0.18);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  }
  .cs-bench-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
  .cs-bench-photo .tag {
    position: absolute; bottom: 14px; left: 16px;
    padding: 5px 12px; background: var(--cream); color: var(--ink);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10px;
    letter-spacing: 0.3em; text-transform: uppercase;
  }
  .cs-bench-body h3 {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -0.025em;
    margin: 0 0 16px; color: var(--ink);
  }
  .cs-bench-body h3 em { font-style: italic; font-weight: 400; color: var(--ink-60); }
  .cs-bench-body h3 .accent-red { color: var(--red); }
  .cs-bench-body p {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 15.5px; line-height: 1.6;
    color: var(--ink); margin: 0 0 14px;
  }
  .cs-bench-body p strong { color: var(--red); }
  .cs-bench-promises {
    list-style: none; padding: 0; margin: 24px 0 0;
    border-top: 1px solid var(--ink-15);
  }
  .cs-bench-promises li {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px dashed var(--ink-15);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 14px; line-height: 1.5; color: var(--ink);
  }
  .cs-bench-promises li:last-child { border-bottom: none; }
  .cs-bench-promises li::before {
    content: "▸"; color: var(--red); font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: 16px; flex-shrink: 0;
  }
  .cs-bench-promises li strong { color: var(--red); }
  @media (max-width: 1000px) { .cs-bench-grid { grid-template-columns: 1fr; } }

  /* ============= FAQ ============= */
  .cs-faq { background: var(--paper-deep); border-top: 1px solid var(--ink-15); }
  .faq-list { border-top: 1px solid var(--ink); margin-top: 28px; }
  .faq-row { position: relative; border-bottom: 1px solid var(--ink-08); cursor: none; }
  .faq-summary {
    display: grid; grid-template-columns: 60px 1fr 30px;
    gap: 24px; padding: clamp(22px, 2.4vw, 32px) 0;
    align-items: center; transition: padding .35s var(--ease-out);
  }
  .faq-row:hover .faq-summary { padding-left: 14px; }
  .faq-row .ix { font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 700; font-size: 14px; color: var(--red); }
  .faq-row .q {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 700;
    font-size: clamp(18px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -0.018em;
    color: var(--ink);
  }
  .faq-row .plus {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 300; font-size: 24px;
    color: var(--ink-50); justify-self: end;
    transition: color .3s ease, transform .35s var(--ease-out);
  }
  .faq-row:hover .plus { color: var(--ink); }
  .faq-row.is-open .plus { transform: rotate(45deg); color: var(--red); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease-out); }
  .faq-row.is-open .faq-answer { max-height: 400px; }
  .faq-answer-inner {
    padding: 0 0 clamp(24px, 2.6vw, 36px) 84px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 15.5px; line-height: 1.6; color: var(--ink);
    max-width: 760px;
  }
  @media (max-width: 700px) {
    .faq-summary { grid-template-columns: 36px 1fr 24px; gap: 16px; }
    .faq-answer-inner { padding-left: 52px; }
  }

  /* ============= CLOSING ============= */
  .cs-close {
    padding: 90px 0 110px;
    background: radial-gradient(ellipse at center, #1a130a 0%, var(--ink) 70%);
    text-align: center; position: relative; overflow: hidden;
    border-top: 1px solid rgba(244,220,142,0.3);
  }
  .cs-close::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(212,162,58,0.16) 0%, transparent 55%); }
  .cs-close-inner { position: relative; max-width: 760px; margin: 0 auto; }
  .cs-close h2 {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(40px, 5vw, 80px); line-height: 0.96; letter-spacing: -0.025em;
    color: var(--cream); margin: 0 0 18px;
  }
  .cs-close h2 .gold { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .cs-close h2 .accent-red { color: var(--red); }
  .cs-close p {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 17px; line-height: 1.6;
    color: var(--cream-90); margin: 0 auto 32px; max-width: 580px;
  }
  .cs-close-cta {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 18px 34px; background: var(--miami); color: var(--ink);
    border: 2px solid var(--miami);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 12px;
    letter-spacing: 0.24em; text-transform: uppercase; cursor: none;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .25s;
  }
  .cs-close-cta:hover { background: var(--red); border-color: var(--red); color: var(--cream); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(225,31,38,0.42); }
  .cs-close-cta svg { width: 16px; height: 9px; }

  .cs-foot { background: var(--ink); padding: 32px 0; border-top: 1px solid var(--line); color: var(--cream-60); font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
  .cs-foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
  .cs-foot-inner strong { color: var(--cream); }
  .cs-foot-inner a { color: var(--miami-light); transition: color .25s; }
  .cs-foot-inner a:hover { color: var(--red); }

  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: translateY(0); }
  .reveal-1 { transition-delay: .08s; }
  .reveal-2 { transition-delay: .16s; }
  .reveal-3 { transition-delay: .24s; }

/* === Responsive baseline + hero font fallback === */
  img, svg { max-width: 100%; height: auto; }
  @media (max-width: 600px) {
    .ib-hero-title { font-size: clamp(40px, 11vw, 56px); }
    .ib-section-h, .ib-close h2 { font-size: clamp(30px, 9vw, 42px); }
    .ib-bench-body h3 { font-size: clamp(26px, 8vw, 38px); }
    .ib-rec-big { font-size: clamp(36px, 11vw, 52px); }
  }
  @media (max-width: 380px) {
    .ib-hero-title { font-size: 38px; }
  }
/* === IMAGE QUALITY SAFEGUARDS === */
/* Optimize rendering for raster images on retina */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
/* Force smooth interpolation for explicitly sized photos */
img[src*="storyblok"], img[src*="webp"], img[src*=".jpg"], img[src*=".png"] {
  image-rendering: auto;
}
/* Object-position defaults so portraits don't get face-cropped */
img.headshot, [class*="-headshot"] img, [class*="team-card"] img, [class*="ds-team"] img, [class*="ds-roster"] img {
  object-fit: cover;
  object-position: center top;
}



/* Cap image display sizes proportional to Storyblok source resolution so upscale-blur stops */
img[src*="storyblok.com/f/1023744/380x640/"] { max-width: 570px; }
img[src*="storyblok.com/f/1023744/262x357/"] { max-width: 393px; }
img[src*="storyblok.com/f/1023744/600x918/"] { max-width: 900px; }
img[src*="storyblok.com/f/1023744/1083x747/"] { max-width: 1625px; }
img[src*="storyblok.com/f/1023744/1137x762/"] { max-width: 1705px; }
img[src*="storyblok.com/f/1023744/381623/"] { max-width: 100%; }
@media (min-width: 1101px) {
  .work-grid { max-width: 1140px; margin: 0 auto; }
}

/* migrated from body_html inline <style> (pre/post main) */

/* === Mega menu === */
.mm-host { z-index: 60; }
.mm-item { position: relative; display: inline-flex; }
.mast-nav .mm-trigger { background: transparent; border: 0; cursor: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.mm-trigger:focus-visible { outline: 2px solid var(--miami, #3A8DDE); outline-offset: 4px; border-radius: 2px; }
.mm-chev { width: 8px; height: 5px; opacity: .55; transition: transform .18s ease, opacity .18s ease; }
.mm-trigger[aria-expanded="true"] .mm-chev { transform: rotate(180deg); opacity: 1; color: var(--red, #E11F26); }
.mm-trigger:hover { color: var(--red, #E11F26); }
.mm-trigger:hover .mm-chev { opacity: 1; color: var(--red, #E11F26); }

.mm-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream, #F4E7D2); color: var(--ink, #0B0907); border-top: 1px solid rgba(11,9,7,.08); box-shadow: 0 28px 60px -20px rgba(11,9,7,.22); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 55; }
.mm-panel[data-open] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mm-panel[hidden] { display: block; visibility: hidden; }
.mm-panel[data-open] { visibility: visible; }
.mm-panel-inner { max-width: 1320px; margin: 0 auto; padding: 32px 48px 36px; }

.mm-eyebrow { font-family: 'DJR Text', 'Inter', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red, #E11F26); margin-bottom: 10px; }
.mm-headline { font-family: 'DJR Display', Georgia, serif; font-size: 32px; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 24px; }
.mm-mini-h { font-family: 'DJR Display', Georgia, serif; font-size: 20px; line-height: 1.1; margin: 0 0 16px; }

.mm-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mm-svc-card { background: #FFFCF5; border: 1px solid rgba(11,9,7,.08); border-radius: 6px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink, #0B0907); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; min-height: 158px; }
.mm-svc-card:hover { transform: translateY(-2px); border-color: rgba(58,141,222,.55); box-shadow: 0 14px 30px -16px rgba(11,9,7,.18); }
.mm-svc-num { font-family: 'DJR Text', monospace; font-size: 10px; letter-spacing: .14em; color: rgba(11,9,7,.5); }
.mm-svc-name { font-family: 'DJR Display', Georgia, serif; font-size: 18px; font-weight: 600; line-height: 1.1; }
.mm-svc-tag { font-family: 'DJR Text', sans-serif; font-size: 11px; letter-spacing: .06em; color: var(--red, #E11F26); text-transform: uppercase; }
.mm-svc-desc { font-family: 'DJR Text', sans-serif; font-size: 12.5px; line-height: 1.4; color: rgba(11,9,7,.7); }
.mm-svc-cta { font-family: 'DJR Text', sans-serif; font-size: 12px; letter-spacing: .04em; color: var(--miami, #3A8DDE); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: color .18s ease; }
.mm-svc-cta svg { width: 12px; height: 6px; transition: transform .18s ease; }
.mm-svc-card:hover .mm-svc-cta { color: var(--red, #E11F26); }
.mm-svc-card:hover .mm-svc-cta svg { transform: translateX(2px); }

.mm-panel-foot { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(11,9,7,.08); }
.mm-foot-link { font-family: 'DJR Text', sans-serif; font-size: 13px; color: var(--ink, #0B0907); text-decoration: none; transition: color .18s ease; }
.mm-foot-link:hover { color: var(--red, #E11F26); }

.mm-panel--mini { left: auto; right: auto; width: clamp(280px, 32vw, 360px); border-radius: 0 0 4px 4px; overflow: hidden; }
.mm-panel--mini .mm-panel-inner { padding: 22px 26px 24px; }
.mm-panel--align-work { left: 11vw; right: auto; }
.mm-panel--align-blog { left: 32vw; right: auto; }
.mm-panel--align-contact { left: auto; right: 8vw; }

.mm-mini-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.mm-mini-list a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink, #0B0907); padding: 8px 10px; margin: -8px -10px; border-radius: 4px; transition: background .15s ease, color .15s ease; }
.mm-mini-list a:hover { background: rgba(58,141,222,.07); color: var(--red, #E11F26); }
.mm-mini-list--rich a strong { font-family: 'DJR Display', Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1.1; }
.mm-mini-list--rich a span { font-family: 'DJR Text', sans-serif; font-size: 12px; color: rgba(11,9,7,.6); }
.mm-mini-list--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin-bottom: 14px; }
.mm-mini-list--cols a { padding: 6px 10px; margin: 0; font-family: 'DJR Text', sans-serif; font-size: 14px; }

.mm-mini-cta { display: inline-flex; align-items: center; gap: 6px; font-family: 'DJR Text', sans-serif; font-size: 13px; color: var(--miami, #3A8DDE); text-decoration: none; transition: color .18s ease; }
.mm-mini-cta:hover { color: var(--red, #E11F26); }
.mm-mini-cta svg { width: 12px; height: 6px; }

.mm-hamburger { display: none; background: transparent; border: 0; padding: 8px; cursor: inherit; color: inherit; }
.mm-hamburger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .18s ease, opacity .18s ease; }
.mm-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mm-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mm-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .mast-nav .mm-item,
  .mast-nav > a.mast-link,
  .mast-nav .btn-blue { display: none; }
  .mm-hamburger { display: inline-flex; flex-direction: column; align-self: center; margin-left: auto; }
  .mm-panel { left: 0; right: 0; width: auto; max-height: calc(100vh - 80px); overflow-y: auto; }
  .mm-panel--mini, .mm-panel--align-work, .mm-panel--align-blog, .mm-panel--align-contact { width: auto; left: 0; right: 0; }
  .mm-services-grid { grid-template-columns: 1fr 1fr; }
  .mm-panel-inner { padding: 22px 18px 28px; }
  .mm-headline { font-size: 24px; margin-bottom: 16px; }
  .mast-nav.mm-mobile-open { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream, #F4E7D2); padding: 18px 20px; gap: 8px; box-shadow: 0 20px 40px -20px rgba(11,9,7,.2); border-top: 1px solid rgba(11,9,7,.08); }
  .mast-nav.mm-mobile-open .mm-item,
  .mast-nav.mm-mobile-open > a.mast-link,
  .mast-nav.mm-mobile-open .btn-blue { display: flex; }
  .mast-nav.mm-mobile-open .mm-trigger { width: 100%; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(11,9,7,.06); }
  .mast-nav.mm-mobile-open > a.mast-link { padding: 10px 0; border-bottom: 1px solid rgba(11,9,7,.06); }
}

@media (max-width: 600px) {
  .mm-services-grid { grid-template-columns: 1fr; }
  .mm-svc-card { min-height: 0; }
}

/* === CANONICAL FOOTER (ported from imprint-redesign-v5.html homepage) ============
   Self-contained: scoped under .foot, ships its own CSS variables so it renders
   identically regardless of host-page tokens. Do not edit without porting back. */
.foot {
  --foot-ink-mid: #1A1612;
  --foot-cream: #F4E7D2;
  --foot-cream-60: rgba(244,231,210,0.6);
  --foot-cream-40: rgba(244,231,210,0.38);
  --foot-pink: #FF66B2;
  --foot-silver-text: linear-gradient(180deg, #D4D4D4 0%, #BFBFBF 55%, #A8A8A8 100%);
  --foot-gold-text: linear-gradient(180deg, #E8C271 0%, #C99634 50%, #8E6920 100%);
  background: var(--foot-ink-mid); color: var(--foot-cream-60);
  padding: clamp(56px, 5vw, 92px) 0 24px;
  font-family: "DJR Text", system-ui, sans-serif;
}
.foot .container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.foot-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 3.5vw, 64px);
  padding-bottom: clamp(48px, 5vw, 72px);
  position: relative;
}
.foot-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #8A8A8A 22%, #BFBFBF 50%, #8A8A8A 78%, transparent 100%);
  opacity: 0.7;
}
.foot-brand { display: flex; flex-direction: column; gap: 22px; max-width: 380px; }
.foot-mark { display: flex; align-items: center; gap: 12px; }
.foot-mark img { height: 72px; width: auto; }
.foot-name {
  font-family: "DJR Display", "DJR Text", system-ui, sans-serif; font-weight: 700;
  color: var(--foot-cream); font-size: 15px; letter-spacing: -0.01em;
}
.foot-brand p { font-size: 13px; line-height: 1.6; margin: 0; }

.foot-badges {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: center;
  padding-bottom: clamp(40px, 4vw, 64px);
  margin-bottom: clamp(40px, 4vw, 64px);
  position: relative;
}
.foot-badges::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #8A8A8A 22%, #BFBFBF 50%, #8A8A8A 78%, transparent 100%);
  opacity: 0.7;
}
.foot .trust-badge {
  display: grid; place-items: center;
  padding: 22px 18px;
  background: linear-gradient(180deg, #FAF5EB 0%, #EFE3CD 100%);
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: initial; color: initial;
  border: 3px solid var(--foot-pink);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  min-height: 124px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(120,90,40,0.22),
    0 0 0 4px rgba(230,107,161,0.22),
    0 0 28px rgba(244,231,210,0.22),
    0 12px 28px rgba(11,9,7,0.75);
}
.foot .trust-badge img {
  max-width: 100%;
  max-height: 76px;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}
.foot .trust-badge:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF0DA 100%);
  transform: translateY(-3px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(120,90,40,0.3),
    0 0 0 4px rgba(230,107,161,0.45),
    0 14px 30px rgba(11,9,7,0.7),
    0 0 32px rgba(244,231,210,0.32);
}
.foot .trust-badge:hover img { transform: scale(1.05); }
@media (max-width: 1280px) { .foot-badges { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .foot-badges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .foot-badges { grid-template-columns: repeat(2, 1fr); } }

.foot-social { display: flex; gap: 10px; align-items: center; }
.foot-social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: linear-gradient(160deg, rgba(242,244,247,0.08) 0%, rgba(86,88,96,0.05) 100%);
  border: 2px solid var(--foot-pink);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.foot-social a img {
  width: 19px; height: 19px;
  filter: brightness(0) invert(1);
  transition: filter .25s ease;
}
.foot-social a:hover {
  background: rgba(230,107,161,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(230,107,161,0.4), 0 0 0 1px rgba(230,107,161,0.45);
}
.foot-social a:hover img {
  filter: brightness(0) saturate(100%) invert(57%) sepia(36%) saturate(1230%) hue-rotate(297deg) brightness(96%) contrast(94%);
}
.foot-label {
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--foot-cream-40); margin-bottom: 18px; font-weight: 600;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.foot a {
  font-size: 13px; letter-spacing: 0.02em;
  background: var(--foot-silver-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  transition: filter .25s ease;
  position: relative;
  text-decoration: none;
}
.foot a:hover {
  background: var(--foot-gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: brightness(1.15);
}
.foot-bottom {
  margin-top: clamp(32px, 3.5vw, 56px);
  padding-top: 22px;
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--foot-cream-40); font-weight: 600;
}
.foot-bottom::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #8A8A8A 22%, #BFBFBF 50%, #8A8A8A 78%, transparent 100%);
  opacity: 0.7;
}
@media (max-width: 1100px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-bottom { font-size: 9px; flex-direction: column; align-items: flex-start; gap: 8px; } }
/* === /CANONICAL FOOTER ============================================== */

/* v5 polish · cream grain */
.section--cream, [class*="--cream"], .cs-hero-photo--cream, .mm-panel--mega, .ledger-section {
  position: relative;
}
.section--cream::before, [class*="--cream"]::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-radial-gradient(circle at 25% 30%, rgba(96,72,30,0.012) 0px, transparent 1px),
    repeating-radial-gradient(circle at 75% 70%, rgba(180,140,60,0.015) 0px, transparent 1.5px);
  background-size: 5px 5px, 7px 7px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}
.section--cream > *, [class*="--cream"] > * { position: relative; z-index: 2; }

/* v5 polish · case study card corner fold */
.cs-card, .cs-flagship-card, .au-rec, .cp-rec, .fd-rec, .ib-rec, .bp-rec, .tx-rec, .pr-rec, .work-tile, .lg-flag-card {
  position: relative;
}
.cs-card::after, .cs-flagship-card::after, .au-rec::after, .cp-rec::after, .fd-rec::after, .ib-rec::after, .bp-rec::after, .tx-rec::after, .pr-rec::after, .work-tile::after, .lg-flag-card::after {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 0 0;
  border-color: transparent transparent transparent transparent;
  transition: border-width .35s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
  z-index: 5;
}
.cs-card:hover::after, .cs-flagship-card:hover::after, .au-rec:hover::after, .cp-rec:hover::after, .fd-rec:hover::after, .ib-rec:hover::after, .bp-rec:hover::after, .tx-rec:hover::after, .pr-rec:hover::after, .work-tile:hover::after, .lg-flag-card:hover::after {
  border-width: 18px 18px 0 0;
  border-color: var(--miami, #ff4d8d) transparent transparent transparent;
}


/* v5 polish · animated section dividers */
.section-divider,
.au-section + .au-section,
.cp-section + .cp-section,
.fd-section + .fd-section,
[class*="-section"] + [class*="-section"] {
  position: relative;
}
.section-divider::before,
.au-section + .au-section::before,
.cp-section + .cp-section::before,
.fd-section + .fd-section::before,
[class*="-section"] + [class*="-section"]::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--miami, #00B7D4) 30%,
    var(--gold-base, #D4A23A) 50%,
    var(--red, #E11F26) 70%,
    transparent 100%);
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.section-divider.is-visible::before,
.au-section.is-visible + .au-section::before,
.cp-section.is-visible + .cp-section::before,
.fd-section.is-visible + .fd-section::before,
[class*="-section"].is-visible + [class*="-section"]::before {
  opacity: 0.4;
}


/* v5 polish · trust badge color tint */
.foot-badges .trust-badge,
.trust-badge {
  transition: filter .3s ease, transform .3s ease;
  filter: brightness(0.85) saturate(0.6);
}
.foot-badges .trust-badge:hover,
.trust-badge:hover {
  filter: brightness(1.15) saturate(1.1);
  transform: translateY(-2px);
}
.foot-badges .trust-badge:nth-child(1):hover { filter: hue-rotate(0deg)   brightness(1.15) saturate(1.2); }
.foot-badges .trust-badge:nth-child(2):hover { filter: hue-rotate(20deg)  brightness(1.15); }
.foot-badges .trust-badge:nth-child(3):hover { filter: hue-rotate(-20deg) brightness(1.15); }
.foot-badges .trust-badge:nth-child(4):hover { filter: hue-rotate(180deg) brightness(1.15) saturate(1.2); }
.foot-badges .trust-badge:nth-child(5):hover { filter: hue-rotate(40deg)  brightness(1.2); }
.foot-badges .trust-badge:nth-child(6):hover { filter: hue-rotate(-40deg) brightness(1.2); }
.foot-badges .trust-badge:nth-child(7):hover { filter: hue-rotate(60deg)  brightness(1.2); }
/* v5 polish · eyebrow pulse */
.section-kicker::before,
.section-eyebrow::before,
.mm-eyebrow::before,
.hero-eyebrow::before,
.guarantee-eyebrow::before,
.fv-eyebrow::before,
.feat-eyebrow::before,
.lead-eyebrow::before,
.cta-eyebrow::before,
.metric-eyebrow::before,
.side-eyebrow::before,
.tldr-eyebrow::before,
.callout-eyebrow::before,
.restore-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--miami, #00B7D4);
  margin-right: 10px;
  box-shadow: 0 0 0 0 rgba(11,211,211,0.5);
  animation: v5EyebrowPulse 2.4s ease-in-out infinite;
  vertical-align: middle;
}

/* Preserve existing glyph; add pulse via ::after */
.ib-section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--miami, #00B7D4);
  margin-left: 10px;
  box-shadow: 0 0 0 0 rgba(11,211,211,0.5);
  animation: v5EyebrowPulse 2.4s ease-in-out infinite;
  vertical-align: middle;
}

/* On cream-background sections use red for contrast */
.section--cream .section-kicker::before,
.section--cream .mm-eyebrow::before,
.section--cream .section-eyebrow::before,
.section--paper .section-kicker::before,
.section--paper .mm-eyebrow::before,
.paper-section .section-kicker::before {
  background: var(--red, #E11F26);
  box-shadow: 0 0 0 0 rgba(225,31,38,0.5);
  animation-name: v5EyebrowPulseRed;
}
@keyframes v5EyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11,211,211,0.5); opacity: 1; }
  50%      { box-shadow: 0 0 0 6px rgba(11,211,211,0); opacity: 0.6; }
}
@keyframes v5EyebrowPulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,31,38,0.5); opacity: 1; }
  50%      { box-shadow: 0 0 0 6px rgba(225,31,38,0); opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .section-kicker::before, .section-eyebrow::before, .mm-eyebrow::before,
  [class$="-eyebrow"]::before, [class$="-eyebrow"]::after {
    animation: none;
  }
}

/* v5 polish · masthead CTA + trigger no-wrap fix */
.masthead .btn-blue, .masthead .btn-blue span, .mast-nav .mm-trigger, .mast-nav > a.mast-link { white-space: nowrap; }

/* v5 polish · masthead compaction (Alex 2026-06-28: nav row was floating in 460px dead zone — force explicit height; the mega/mini panels inside the <header> were inflating the natural height) */
.masthead { padding-top: 14px !important; padding-bottom: 14px !important; height: 108px !important; min-height: 0 !important; max-height: 108px !important; overflow: visible !important; }
.masthead .mast-mark img { height: 80px !important; }
.masthead.is-stuck { padding-top: 10px !important; padding-bottom: 10px !important; height: 80px !important; max-height: 80px !important; }
.masthead.is-stuck .mast-mark img { height: 60px !important; }
/* Mega/mini panels are absolutely positioned children of <header> — make sure they don't contribute to masthead box flow */
.masthead .mm-panel { position: absolute !important; }


/* v5 polish · matrix mode toggle */
.matrix-toggle {
  position: fixed; bottom: 24px; left: 24px; z-index: 9998;
  width: 44px; height: 44px;
  background: rgba(11,9,7,0.92);
  border: 1.5px solid rgba(244,231,210,0.25);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.matrix-toggle:hover { transform: scale(1.08); border-color: #00FF41; box-shadow: 0 0 24px rgba(0,255,65,0.4); }
.matrix-toggle svg { width: 22px; height: 22px; stroke: #F4E7D2; transition: stroke .25s; }
.matrix-toggle:hover svg { stroke: #00FF41; }
body.is-matrix .matrix-toggle { border-color: #00FF41; background: rgba(0,0,0,0.92); }
body.is-matrix .matrix-toggle svg { stroke: #00FF41; }
@media (max-width: 600px) { .matrix-toggle { bottom: 16px; left: 16px; width: 38px; height: 38px; } }

/* CRT static glitch overlay */
.matrix-glitch {
  position: fixed; inset: 0; z-index: 9997;
  pointer-events: none; opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.6) 80%);
  mix-blend-mode: screen;
}
.matrix-glitch.active {
  opacity: 1;
  animation: matrixGlitch 1.2s ease-out forwards;
}
@keyframes matrixGlitch {
  0%   { opacity: 0; filter: hue-rotate(0deg) contrast(1); transform: translateX(0); }
  10%  { opacity: 0.9; transform: translateX(-3px); filter: hue-rotate(40deg) contrast(2); }
  20%  { opacity: 1; transform: translateX(3px); filter: hue-rotate(-40deg) contrast(2.4) brightness(1.3); }
  30%  { opacity: 0.95; transform: translateX(-2px); filter: hue-rotate(100deg) contrast(3); }
  40%  { opacity: 1; transform: translateX(2px); filter: hue-rotate(120deg) contrast(2); }
  55%  { opacity: 0.8; transform: translateX(0); filter: hue-rotate(80deg) contrast(1.6); }
  75%  { opacity: 0.4; filter: hue-rotate(40deg) contrast(1.2); }
  100% { opacity: 0; transform: translateX(0); filter: hue-rotate(0deg) contrast(1); }
}

/* Matrix code rain canvas — sits behind content, translucent so photos stay visible */
.matrix-rain {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0;
  transition: opacity .8s ease;
  display: none;
}
body.is-matrix .matrix-rain { display: block; opacity: 0.25; }

/* In Matrix mode kill ONLY literal video tags + YouTube/Vimeo iframes — photo elements with -video in class name (e.g. video-card thumbnails) must stay visible */
body.is-matrix video,
body.is-matrix iframe[src*="youtube"],
body.is-matrix iframe[src*="vimeo"],
body.is-matrix .hero-video {
  display: none !important;
}
/* Hero gets a dark overlay so green text stays legible, but the photo/video container stays in place */
body.is-matrix .hero::before, body.is-matrix [class*="-hero"]::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  pointer-events: none; z-index: 1;
}
body.is-matrix .hero, body.is-matrix [class*="-hero"] { position: relative; }

/* MATRIX THEME — applies when body.is-matrix */
body.is-matrix {
  --ink: #000000; --ink-15: rgba(0,255,65,0.15); --ink-60: rgba(0,255,65,0.6); --ink-70: rgba(0,255,65,0.7);
  --cream: #00FF41; --cream-90: rgba(0,255,65,0.9); --cream-60: rgba(0,255,65,0.6); --cream-40: rgba(0,255,65,0.4); --cream-20: rgba(0,255,65,0.2);
  --paper: #000000; --paper-deep: #0a0f0a;
  --red: #00FF41; --red-deep: #00CC34;
  --miami: #00FF41; --miami-deep: #00CC34; --miami-light: #66FF8A;
  --pink: #00FF41;
  --gold-base: #00FF41; --gold-bright: #66FF8A;
  --gold-metal: linear-gradient(180deg, #B6FFC4 0%, #66FF8A 28%, #00FF41 68%, #00CC34 100%);
  --line: rgba(0,255,65,0.18);
  background: #000 !important;
  color: #00FF41 !important;
  font-family: "JetBrains Mono", "Courier New", monospace !important;
}
body.is-matrix * {
  font-family: "JetBrains Mono", "Courier New", monospace !important;
  text-shadow: 0 0 4px rgba(0,255,65,0.35);
  border-color: rgba(0,255,65,0.3) !important;
}
body.is-matrix img,
body.is-matrix iframe,
body.is-matrix video,
body.is-matrix svg path[fill]:not([fill="none"]):not([fill="transparent"]) {
  filter: hue-rotate(80deg) saturate(2) brightness(0.7) contrast(1.2);
}
body.is-matrix .masthead { background-color: #000 !important; border-bottom-color: rgba(0,255,65,0.3) !important; }
body.is-matrix .btn-blue, body.is-matrix .btn-red, body.is-matrix [class*="btn-"] {
  background-color: rgba(0,255,65,0.12) !important;
  color: #00FF41 !important;
  border: 1.5px solid #00FF41 !important;
}
body.is-matrix .btn-blue:hover, body.is-matrix [class*="btn-"]:hover {
  background: #00FF41 !important;
  color: #000 !important;
  box-shadow: 0 0 22px rgba(0,255,65,0.6);
}
body.is-matrix .mm-svc-card, body.is-matrix [class*="-rec"], body.is-matrix .cs-card, body.is-matrix .work-tile, body.is-matrix .svc-card {
  background-color: rgba(0,255,65,0.04) !important;
  border-color: rgba(0,255,65,0.3) !important;
}
body.is-matrix .accent-red, body.is-matrix em, body.is-matrix strong { color: #66FF8A !important; }
@media (prefers-reduced-motion: reduce) {
  .matrix-glitch.active { animation-duration: 0.2s; }
  body.is-matrix .matrix-rain { display: none; }
}


/* === MATRIX MODE — FULL LEGIBILITY SWEEP === */
/* Force every text-bearing element to green on black, regardless of hard-coded color */
body.is-matrix,
body.is-matrix h1, body.is-matrix h2, body.is-matrix h3, body.is-matrix h4, body.is-matrix h5, body.is-matrix h6,
body.is-matrix p, body.is-matrix span, body.is-matrix a, body.is-matrix li, body.is-matrix td, body.is-matrix th,
body.is-matrix strong, body.is-matrix em, body.is-matrix small, body.is-matrix sup, body.is-matrix sub,
body.is-matrix label, body.is-matrix figcaption, body.is-matrix blockquote, body.is-matrix code,
body.is-matrix button, body.is-matrix input, body.is-matrix textarea, body.is-matrix select {
  color: #00FF41 !important;
  text-shadow: 0 0 4px rgba(0,255,65,0.35), 0 0 8px rgba(0,255,65,0.15);
}

/* Force the brighter green for accents (was gold / red / etc.) */
body.is-matrix [class*="gold"], body.is-matrix [class*="-bright"],
body.is-matrix [style*="color: #D"], body.is-matrix [style*="color: gold"],
body.is-matrix em, body.is-matrix strong, body.is-matrix .accent-red,
body.is-matrix [class*="-stat"], body.is-matrix [class*="-num"], body.is-matrix [class*="-big"],
body.is-matrix [class*="-rec-big"], body.is-matrix [class*="hero-display"] {
  color: #66FF8A !important;
  text-shadow: 0 0 6px rgba(102,255,138,0.5), 0 0 12px rgba(102,255,138,0.25);
}

/* Backgrounds — force black/very-dark across every section */
body.is-matrix section, body.is-matrix article, body.is-matrix header, body.is-matrix footer, body.is-matrix main, body.is-matrix aside,
body.is-matrix div, body.is-matrix nav,
body.is-matrix [class*="section"], body.is-matrix [class*="-section"],
body.is-matrix [class*="hero"], body.is-matrix [class*="-bar"], body.is-matrix [class*="-band"],
body.is-matrix [class*="--cream"], body.is-matrix [class*="--paper"], body.is-matrix [class*="--ink"] {
  background-color: transparent !important;
}
/* But ensure body itself stays black */
body.is-matrix { background: #000 !important; }
/* Section eyebrow / kicker / tag chips */
body.is-matrix [class*="eyebrow"], body.is-matrix [class*="kicker"], body.is-matrix [class*="-tag"],
body.is-matrix [class*="-label"], body.is-matrix [class*="-chip"], body.is-matrix .pill {
  color: #00FF41 !important;
  background-color: rgba(0,255,65,0.08) !important;
  border-color: rgba(0,255,65,0.5) !important;
}

/* Card / tile / panel surfaces — light overlay so they still feel like cards */
body.is-matrix [class*="-card"], body.is-matrix [class*="-tile"], body.is-matrix [class*="-panel"],
body.is-matrix [class*="-cell"], body.is-matrix [class*="-rec"], body.is-matrix .mm-panel,
body.is-matrix .work-tile, body.is-matrix .svc-card, body.is-matrix .au-rec,
body.is-matrix .cs-card, body.is-matrix .cs-flagship-card, body.is-matrix .lg-flag-card,
body.is-matrix .mm-svc-card {
  background-color: rgba(0,255,65,0.04) !important;
  border: 1px solid rgba(0,255,65,0.35) !important;
  color: #00FF41 !important;
}

/* Borders / hairlines / dividers everywhere */
body.is-matrix * {
  border-color: rgba(0,255,65,0.3) !important;
}

/* All CTAs / buttons / links styled as buttons */
body.is-matrix .btn-blue, body.is-matrix .btn-red, body.is-matrix .btn-silver, body.is-matrix [class*="btn-"],
body.is-matrix .au-bid-cta, body.is-matrix .ds-cta, body.is-matrix [class*="-cta"] {
  background-color: rgba(0,255,65,0.12) !important;
  color: #00FF41 !important;
  border: 1.5px solid #00FF41 !important;
  text-shadow: 0 0 6px rgba(0,255,65,0.6) !important;
}
body.is-matrix .btn-blue:hover, body.is-matrix [class*="btn-"]:hover {
  background: #00FF41 !important;
  color: #000 !important;
  box-shadow: 0 0 28px rgba(0,255,65,0.7) !important;
}

/* Form fields */
body.is-matrix input, body.is-matrix textarea, body.is-matrix select {
  background-color: rgba(0,255,65,0.05) !important;
  border: 1px solid rgba(0,255,65,0.45) !important;
  color: #00FF41 !important;
}
body.is-matrix input::placeholder, body.is-matrix textarea::placeholder {
  color: rgba(0,255,65,0.5) !important;
}

/* Images / iframes / video — hue-rotate to green tint */
body.is-matrix img, body.is-matrix iframe, body.is-matrix video {
  filter: hue-rotate(80deg) saturate(2) brightness(0.65) contrast(1.3) !important;
}

/* Gradient backgrounds — kill gold / metal gradients, replace with green pulse */
body.is-matrix [style*="gradient"], body.is-matrix [class*="-metal"], body.is-matrix [class*="-foil"] {
  background-image: linear-gradient(180deg, #66FF8A 0%, #00FF41 50%, #00CC34 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Masthead — solid black, green underline */
body.is-matrix .masthead { background-color: #000 !important; border-bottom: 1px solid rgba(0,255,65,0.4) !important; }

/* Anything still ink/cream via inline style */
body.is-matrix [style*="color: #F4E7D2"],
body.is-matrix [style*="color: #FFFCF5"],
body.is-matrix [style*="color: var(--cream)"],
body.is-matrix [style*="color: rgba(244"] { color: #00FF41 !important; }
body.is-matrix [style*="background: #0B0907"],
body.is-matrix [style*="background-color: #0B0907"],
body.is-matrix [style*="background: var(--ink)"] { background: #000 !important; }

/* Reduce halo on body copy (small text) so it stays readable */
body.is-matrix p, body.is-matrix li, body.is-matrix td, body.is-matrix label,
body.is-matrix small, body.is-matrix [class*="-deck"], body.is-matrix [class*="-lede"] {
  text-shadow: 0 0 2px rgba(0,255,65,0.2) !important;
}
/* Strong halo only on display headings */
body.is-matrix h1, body.is-matrix h2, body.is-matrix [class*="-h1"], body.is-matrix [class*="hero-display"],
body.is-matrix [class*="display"] {
  text-shadow: 0 0 8px rgba(0,255,65,0.5), 0 0 16px rgba(0,255,65,0.25) !important;
}
/* === END MATRIX LEGIBILITY SWEEP === */


/* MATRIX · keep background-image photos visible with a green tint */
body.is-matrix .work-tile,
body.is-matrix .work-tile-img,
body.is-matrix [class*="-photo"],
body.is-matrix [class*="-thumb"],
body.is-matrix [class*="-bg-img"],
body.is-matrix [class*="hero-image"],
body.is-matrix [class*="cs-hero"],
body.is-matrix [class*="rs-bench"],
body.is-matrix [class*="ds-card"],
body.is-matrix [class*="team-card"],
body.is-matrix [class*="team-featured"],
body.is-matrix [class*="team-rest"] {
  filter: hue-rotate(80deg) saturate(1.6) brightness(0.78) contrast(1.25) !important;
}
/* Card surfaces that ALSO hold a photo — don't paint a flat green over them */
body.is-matrix .work-tile,
body.is-matrix .work-tile-img,
body.is-matrix [class*="-photo"]:not(p):not(span) {
  background-color: transparent !important;
}
/* IMG tags get a slightly stronger tint */
body.is-matrix img {
  filter: hue-rotate(80deg) saturate(1.8) brightness(0.8) contrast(1.2) !important;
}

/* === v5 FINAL OVERRIDES — corner-tag positioning + bullseye over iframe === */
.section .corner-tag,
section .corner-tag,
.corner-tag {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: 200px;
  white-space: nowrap;
  z-index: 5 !important;
}
.cursor-bullseye {
  z-index: 99999 !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.cursor-bullseye .bull-ring,
.cursor-bullseye .bull-dot {
  transform: translate(-50%, -50%) translateZ(0) !important;
}
/* Bullseye must clear YouTube/Vimeo iframes (which can sit on a higher composition layer) */
.hero-video iframe,
iframe[src*="youtube"],
iframe[src*="vimeo"] {
  pointer-events: none !important;
  z-index: 0 !important;
}


/* === MATRIX v2 miami blue accent for legibility === */
/* CTAs / buttons — miami blue outline that hovers to solid fill (kills unreadable green-on-green) */
body.is-matrix .btn-blue,
body.is-matrix .btn-red,
body.is-matrix .btn-silver,
body.is-matrix [class*="btn-"],
body.is-matrix [class*="-cta"],
body.is-matrix a.btn,
body.is-matrix button.btn {
  background-color: transparent !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.5) !important;
  box-shadow: 0 0 12px rgba(0,217,255,0.15), inset 0 0 8px rgba(0,217,255,0.08) !important;
}
body.is-matrix .btn-blue:hover,
body.is-matrix [class*="btn-"]:hover,
body.is-matrix [class*="-cta"]:hover {
  background-color: #00D9FF !important;
  color: #000 !important;
  box-shadow: 0 0 24px rgba(0,217,255,0.7) !important;
}

/* Nav menu — miami blue with strong contrast */
body.is-matrix .masthead,
body.is-matrix .mast-nav,
body.is-matrix .mast-link,
body.is-matrix .mm-trigger {
  color: #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.4) !important;
}
body.is-matrix .mast-link:hover,
body.is-matrix .mm-trigger:hover { color: #66E9FF !important; }

/* Team bench "The Team Los Angeles CO" — legible pill on black */
body.is-matrix [class*="bench-photo"] .tag,
body.is-matrix [class*="bench"] [class*="tag"],
body.is-matrix .rs-bench-photo .tag,
body.is-matrix [class*="loveland"],
body.is-matrix [class*="-team"] [class*="tag"] {
  background-color: rgba(0,217,255,0.15) !important;
  color: #00D9FF !important;
  border: 1px solid #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.5) !important;
}

/* Footer social icons — recolor filter to make them visible */
body.is-matrix footer img,
body.is-matrix .foot-social img,
body.is-matrix [class*="social"] img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(96%) saturate(2500%) hue-rotate(158deg) brightness(103%) contrast(101%) drop-shadow(0 0 4px rgba(0,217,255,0.5)) !important;
  opacity: 1 !important;
}
body.is-matrix footer,
body.is-matrix footer a,
body.is-matrix .foot-link,
body.is-matrix [class*="foot"] a {
  color: #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.4) !important;
}

/* Cursor bullseye — force miami blue and always visible */
body.is-matrix .cursor-bullseye {
  z-index: 99999 !important;
  filter: drop-shadow(0 0 6px rgba(0,217,255,0.8)) !important;
}
body.is-matrix .cursor-bullseye .bull-ring {
  border-color: #00D9FF !important;
  background-color: transparent !important;
}
body.is-matrix .cursor-bullseye .bull-dot { background-color: #00D9FF !important; }

/* Hero video — SHOW instead of hide, apply green hue rotate + dark overlay */
body.is-matrix .hero-video { display: block !important; opacity: 0.45 !important; }
body.is-matrix .hero-video iframe {
  display: block !important;
  filter: hue-rotate(80deg) saturate(1.5) brightness(0.65) contrast(1.4) !important;
}
body.is-matrix .hero-video::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.85) 100%) !important;
}

/* Kill the random eyebrow-dot artifacts in hero */
body.is-matrix .section-kicker::before,
body.is-matrix .section-eyebrow::before,
body.is-matrix .mm-eyebrow::before,
body.is-matrix .hero-eyebrow::before,
body.is-matrix [class*="-eyebrow"]::before {
  animation: none !important;
  background: transparent !important;
  box-shadow: none !important;
  content: none !important;
  display: none !important;
}

/* Case studies + work tiles — miami blue border + lift on hover */
body.is-matrix .work-tile,
body.is-matrix .cs-card,
body.is-matrix .lg-flag-card,
body.is-matrix [class*="-rec"],
body.is-matrix .mm-svc-card,
body.is-matrix .svc-card,
body.is-matrix .cs-flagship-card {
  border-color: rgba(0,217,255,0.4) !important;
}
body.is-matrix .work-tile:hover,
body.is-matrix .cs-card:hover,
body.is-matrix [class*="-rec"]:hover,
body.is-matrix .mm-svc-card:hover,
body.is-matrix .svc-card:hover,
body.is-matrix .cs-flagship-card:hover {
  border-color: #00D9FF !important;
  background-color: rgba(0,217,255,0.06) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 0 28px rgba(0,217,255,0.45) !important;
}

/* Card body text still green; miami blue for accent labels */
body.is-matrix .accent-red,
body.is-matrix .gold,
body.is-matrix [class*="gold-"] { color: #66E9FF !important; }

/* Matrix rain — consistent visibility */
body.is-matrix .matrix-rain {
  display: block !important;
  opacity: 0.28 !important;
}

/* Read All Reviews On Google style dark-fill buttons — force miami blue outline */
body.is-matrix a[href*="google.com/reviews"],
body.is-matrix a[href*="/reviews"],
body.is-matrix .review-cta,
body.is-matrix [class*="google-review"] {
  background-color: transparent !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
}


/* === MATRIX v3 fix: logo hue, mascot, video, sticky-cta, cards, hero text === */

/* === 1. LOGO not pink: exempt the cyan lockup image from the global hue-rotate === */
body.is-matrix .mast-mark img,
body.is-matrix .foot-mark img,
body.is-matrix .mm-host header img {
  filter: none !important;
  opacity: 1 !important;
}

/* === 2. MASCOT bull (floating logo bottom-right): recolor red bull to cyan === */
body.is-matrix .mascot img,
body.is-matrix #mascot img {
  filter: hue-rotate(180deg) saturate(2.5) brightness(1.15) drop-shadow(0 0 8px rgba(0,217,255,0.6)) !important;
  opacity: 1 !important;
}

/* === 3. HERO VIDEO actually visible: bump opacity, lift z-index, thin the overlay === */
body.is-matrix .hero-video {
  display: block !important;
  opacity: 0.75 !important;
  z-index: 0 !important;
}
body.is-matrix .hero-video iframe {
  display: block !important;
  filter: hue-rotate(80deg) saturate(1.4) brightness(0.85) contrast(1.3) !important;
  opacity: 1 !important;
}
body.is-matrix .hero-video::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%) !important;
}
/* Thin the global hero dark overlay so video shows through */
body.is-matrix .hero::before,
body.is-matrix [class*="-hero"]::before {
  background: rgba(0,0,0,0.28) !important;
  z-index: 1 !important;
}

/* === 4. STICKY CTA (floating bottom-right ribbon): full miami blue + legible text === */
body.is-matrix .sticky-cta {
  background: #000 !important;
  background-color: #000 !important;
  border: 1.5px solid #00D9FF !important;
  box-shadow: 0 0 20px rgba(0,217,255,0.45), inset 0 0 12px rgba(0,217,255,0.12) !important;
  color: #00D9FF !important;
}
body.is-matrix .sticky-cta,
body.is-matrix .sticky-cta *,
body.is-matrix .sticky-cta-copy,
body.is-matrix .sticky-cta-copy strong,
body.is-matrix .sticky-cta-copy .lbl,
body.is-matrix .sticky-cta-meta,
body.is-matrix .sticky-cta-meta .stars {
  color: #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.55) !important;
}
body.is-matrix .sticky-cta:hover {
  background: #00D9FF !important;
  background-color: #00D9FF !important;
  color: #000 !important;
}
body.is-matrix .sticky-cta:hover *,
body.is-matrix .sticky-cta:hover .sticky-cta-copy strong,
body.is-matrix .sticky-cta:hover .sticky-cta-copy .lbl,
body.is-matrix .sticky-cta:hover .sticky-cta-meta,
body.is-matrix .sticky-cta:hover .sticky-cta-meta .stars {
  color: #000 !important;
  text-shadow: none !important;
}

/* === 5. HOMEPAGE CASE STUDY / WORK-TILE cards: force text legibility === */
body.is-matrix .work-tile,
body.is-matrix .cs-card,
body.is-matrix .cs-flagship-card,
body.is-matrix .lg-flag-card {
  background-color: rgba(0, 15, 12, 0.85) !important;
  color: #00D9FF !important;
}
body.is-matrix .work-tile *,
body.is-matrix .cs-card *,
body.is-matrix .cs-flagship-card *,
body.is-matrix .lg-flag-card * {
  color: #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.4) !important;
}
body.is-matrix .work-tile [class*="metric"],
body.is-matrix .work-tile [class*="stat"],
body.is-matrix .cs-card [class*="metric"],
body.is-matrix .cs-card [class*="stat"] {
  color: #66E9FF !important;
}
/* Card client-photo background: dim it so overlaying text is legible */
body.is-matrix .work-tile::before,
body.is-matrix .cs-card::before {
  background-color: rgba(0,0,0,0.55) !important;
}

/* === 6. "READ ALL REVIEWS ON GOOGLE" and any dark-fill button: force cyan outline === */
body.is-matrix a[href*="google.com"],
body.is-matrix a[href*="reviews"],
body.is-matrix a[href*="review"],
body.is-matrix .review-cta,
body.is-matrix .reviews-cta,
body.is-matrix [class*="google-review"],
body.is-matrix [class*="review-btn"],
body.is-matrix a.btn-ink,
body.is-matrix a.btn-black,
body.is-matrix a.btn-dark {
  background-color: transparent !important;
  background: transparent !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.5) !important;
}
body.is-matrix a[href*="google.com"]:hover,
body.is-matrix a[href*="reviews"]:hover,
body.is-matrix .review-cta:hover,
body.is-matrix a.btn-ink:hover,
body.is-matrix a.btn-black:hover {
  background: #00D9FF !important;
  background-color: #00D9FF !important;
  color: #000 !important;
}

/* === 7. HERO TEXT visibility across all pages (services hub, lanes, etc.) === */
body.is-matrix .hero,
body.is-matrix [class*="-hero"],
body.is-matrix .lg-hero,
body.is-matrix .lane-hero,
body.is-matrix .svc-hero {
  background-color: #000 !important;
}
body.is-matrix .hero-kicker,
body.is-matrix .hero-eyebrow,
body.is-matrix .hero-title,
body.is-matrix .hero-headline,
body.is-matrix .hero-lede,
body.is-matrix .hero-sub,
body.is-matrix .hero-copy,
body.is-matrix .lane-eyebrow,
body.is-matrix .lane-title,
body.is-matrix .lane-num,
body.is-matrix .lane-lede,
body.is-matrix .lg-hero-eyebrow,
body.is-matrix .lg-hero-title,
body.is-matrix .lg-hero-lede,
body.is-matrix .svc-hero-eyebrow,
body.is-matrix .svc-hero-title,
body.is-matrix .svc-hero-lede,
body.is-matrix [class*="hero-"] h1,
body.is-matrix [class*="hero-"] h2,
body.is-matrix [class*="hero-"] p,
body.is-matrix [class*="hero-"] span {
  color: #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.4) !important;
  position: relative;
  z-index: 2;
}

/* Ensure hero inner content sits above the ::before overlay */
body.is-matrix .hero > *:not(.hero-video):not(::before),
body.is-matrix [class*="-hero"] > *:not(.hero-video):not(::before) {
  position: relative;
  z-index: 2;
}


/* === MATRIX v3.1 gold-gradient buttons -> cyan outline === */
body.is-matrix .btn-gold,
body.is-matrix [class*="btn-gold"],
body.is-matrix .btn-metal,
body.is-matrix [class*="gold-metal"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.5) !important;
  box-shadow: 0 0 12px rgba(0,217,255,0.2) !important;
}
body.is-matrix .btn-gold:hover,
body.is-matrix [class*="btn-gold"]:hover {
  background: #00D9FF !important;
  background-color: #00D9FF !important;
  background-image: none !important;
  color: #000 !important;
}


/* === MATRIX v3.2 trust badges unfiltered === */
body.is-matrix .trust-badge,
body.is-matrix .foot-badges .trust-badge {
  background: #F4E7D2 !important;
  background-color: #F4E7D2 !important;
}
body.is-matrix .trust-badge img,
body.is-matrix .foot-badges img,
body.is-matrix .badge-strip img {
  filter: none !important;
  opacity: 1 !important;
}



/* Cap image display sizes proportional to Storyblok source resolution so upscale-blur stops */
img[src*="storyblok.com/f/1023744/380x640/"] { max-width: 570px; }
img[src*="storyblok.com/f/1023744/262x357/"] { max-width: 393px; }
img[src*="storyblok.com/f/1023744/600x918/"] { max-width: 900px; }
img[src*="storyblok.com/f/1023744/1083x747/"] { max-width: 1625px; }
img[src*="storyblok.com/f/1023744/1137x762/"] { max-width: 1705px; }
img[src*="storyblok.com/f/1023744/381623/"] { max-width: 100%; }
@media (min-width: 1101px) {
  .work-grid { max-width: 1140px; margin: 0 auto; }
}

/* migrated from body_html inline <style> (pre/post main) */

/* === Mega menu === */
.mm-host { z-index: 60; }
.mm-item { position: relative; display: inline-flex; }
.mast-nav .mm-trigger { background: transparent; border: 0; cursor: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.mm-trigger:focus-visible { outline: 2px solid var(--miami, #3A8DDE); outline-offset: 4px; border-radius: 2px; }
.mm-chev { width: 8px; height: 5px; opacity: .55; transition: transform .18s ease, opacity .18s ease; }
.mm-trigger[aria-expanded="true"] .mm-chev { transform: rotate(180deg); opacity: 1; color: var(--red, #E11F26); }
.mm-trigger:hover { color: var(--red, #E11F26); }
.mm-trigger:hover .mm-chev { opacity: 1; color: var(--red, #E11F26); }

.mm-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream, #F4E7D2); color: var(--ink, #0B0907); border-top: 1px solid rgba(11,9,7,.08); box-shadow: 0 28px 60px -20px rgba(11,9,7,.22); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 55; }
.mm-panel[data-open] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mm-panel[hidden] { display: block; visibility: hidden; }
.mm-panel[data-open] { visibility: visible; }
.mm-panel-inner { max-width: 1320px; margin: 0 auto; padding: 32px 48px 36px; }

.mm-eyebrow { font-family: 'DJR Text', 'Inter', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red, #E11F26); margin-bottom: 10px; }
.mm-headline { font-family: 'DJR Display', Georgia, serif; font-size: 32px; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 24px; }
.mm-mini-h { font-family: 'DJR Display', Georgia, serif; font-size: 20px; line-height: 1.1; margin: 0 0 16px; }

.mm-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mm-svc-card { background: #FFFCF5; border: 1px solid rgba(11,9,7,.08); border-radius: 6px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink, #0B0907); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; min-height: 158px; }
.mm-svc-card:hover { transform: translateY(-2px); border-color: rgba(58,141,222,.55); box-shadow: 0 14px 30px -16px rgba(11,9,7,.18); }
.mm-svc-num { font-family: 'DJR Text', monospace; font-size: 10px; letter-spacing: .14em; color: rgba(11,9,7,.5); }
.mm-svc-name { font-family: 'DJR Display', Georgia, serif; font-size: 18px; font-weight: 600; line-height: 1.1; }
.mm-svc-tag { font-family: 'DJR Text', sans-serif; font-size: 11px; letter-spacing: .06em; color: var(--red, #E11F26); text-transform: uppercase; }
.mm-svc-desc { font-family: 'DJR Text', sans-serif; font-size: 12.5px; line-height: 1.4; color: rgba(11,9,7,.7); }
.mm-svc-cta { font-family: 'DJR Text', sans-serif; font-size: 12px; letter-spacing: .04em; color: var(--miami, #3A8DDE); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: color .18s ease; }
.mm-svc-cta svg { width: 12px; height: 6px; transition: transform .18s ease; }
.mm-svc-card:hover .mm-svc-cta { color: var(--red, #E11F26); }
.mm-svc-card:hover .mm-svc-cta svg { transform: translateX(2px); }

.mm-panel-foot { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(11,9,7,.08); }
.mm-foot-link { font-family: 'DJR Text', sans-serif; font-size: 13px; color: var(--ink, #0B0907); text-decoration: none; transition: color .18s ease; }
.mm-foot-link:hover { color: var(--red, #E11F26); }

.mm-panel--mini { left: auto; right: auto; width: clamp(280px, 32vw, 360px); border-radius: 0 0 4px 4px; overflow: hidden; }
.mm-panel--mini .mm-panel-inner { padding: 22px 26px 24px; }
.mm-panel--align-work { left: 11vw; right: auto; }
.mm-panel--align-blog { left: 32vw; right: auto; }
.mm-panel--align-contact { left: auto; right: 8vw; }

.mm-mini-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.mm-mini-list a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink, #0B0907); padding: 8px 10px; margin: -8px -10px; border-radius: 4px; transition: background .15s ease, color .15s ease; }
.mm-mini-list a:hover { background: rgba(58,141,222,.07); color: var(--red, #E11F26); }
.mm-mini-list--rich a strong { font-family: 'DJR Display', Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1.1; }
.mm-mini-list--rich a span { font-family: 'DJR Text', sans-serif; font-size: 12px; color: rgba(11,9,7,.6); }
.mm-mini-list--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin-bottom: 14px; }
.mm-mini-list--cols a { padding: 6px 10px; margin: 0; font-family: 'DJR Text', sans-serif; font-size: 14px; }

.mm-mini-cta { display: inline-flex; align-items: center; gap: 6px; font-family: 'DJR Text', sans-serif; font-size: 13px; color: var(--miami, #3A8DDE); text-decoration: none; transition: color .18s ease; }
.mm-mini-cta:hover { color: var(--red, #E11F26); }
.mm-mini-cta svg { width: 12px; height: 6px; }

.mm-hamburger { display: none; background: transparent; border: 0; padding: 8px; cursor: inherit; color: inherit; }
.mm-hamburger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .18s ease, opacity .18s ease; }
.mm-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mm-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mm-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .mast-nav .mm-item,
  .mast-nav > a.mast-link,
  .mast-nav .btn-blue { display: none; }
  .mm-hamburger { display: inline-flex; flex-direction: column; align-self: center; margin-left: auto; }
  .mm-panel { left: 0; right: 0; width: auto; max-height: calc(100vh - 80px); overflow-y: auto; }
  .mm-panel--mini, .mm-panel--align-work, .mm-panel--align-blog, .mm-panel--align-contact { width: auto; left: 0; right: 0; }
  .mm-services-grid { grid-template-columns: 1fr 1fr; }
  .mm-panel-inner { padding: 22px 18px 28px; }
  .mm-headline { font-size: 24px; margin-bottom: 16px; }
  .mast-nav.mm-mobile-open { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream, #F4E7D2); padding: 18px 20px; gap: 8px; box-shadow: 0 20px 40px -20px rgba(11,9,7,.2); border-top: 1px solid rgba(11,9,7,.08); }
  .mast-nav.mm-mobile-open .mm-item,
  .mast-nav.mm-mobile-open > a.mast-link,
  .mast-nav.mm-mobile-open .btn-blue { display: flex; }
  .mast-nav.mm-mobile-open .mm-trigger { width: 100%; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(11,9,7,.06); }
  .mast-nav.mm-mobile-open > a.mast-link { padding: 10px 0; border-bottom: 1px solid rgba(11,9,7,.06); }
}

@media (max-width: 600px) {
  .mm-services-grid { grid-template-columns: 1fr; }
  .mm-svc-card { min-height: 0; }
}

/* === CANONICAL FOOTER (ported from imprint-redesign-v5.html homepage) ============
   Self-contained: scoped under .foot, ships its own CSS variables so it renders
   identically regardless of host-page tokens. Do not edit without porting back. */
.foot {
  --foot-ink-mid: #1A1612;
  --foot-cream: #F4E7D2;
  --foot-cream-60: rgba(244,231,210,0.6);
  --foot-cream-40: rgba(244,231,210,0.38);
  --foot-pink: #FF66B2;
  --foot-silver-text: linear-gradient(180deg, #D4D4D4 0%, #BFBFBF 55%, #A8A8A8 100%);
  --foot-gold-text: linear-gradient(180deg, #E8C271 0%, #C99634 50%, #8E6920 100%);
  background: var(--foot-ink-mid); color: var(--foot-cream-60);
  padding: clamp(56px, 5vw, 92px) 0 24px;
  font-family: "DJR Text", system-ui, sans-serif;
}
.foot .container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.foot-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 3.5vw, 64px);
  padding-bottom: clamp(48px, 5vw, 72px);
  position: relative;
}
.foot-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #8A8A8A 22%, #BFBFBF 50%, #8A8A8A 78%, transparent 100%);
  opacity: 0.7;
}
.foot-brand { display: flex; flex-direction: column; gap: 22px; max-width: 380px; }
.foot-mark { display: flex; align-items: center; gap: 12px; }
.foot-mark img { height: 72px; width: auto; }
.foot-name {
  font-family: "DJR Display", "DJR Text", system-ui, sans-serif; font-weight: 700;
  color: var(--foot-cream); font-size: 15px; letter-spacing: -0.01em;
}
.foot-brand p { font-size: 13px; line-height: 1.6; margin: 0; }

.foot-badges {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: center;
  padding-bottom: clamp(40px, 4vw, 64px);
  margin-bottom: clamp(40px, 4vw, 64px);
  position: relative;
}
.foot-badges::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #8A8A8A 22%, #BFBFBF 50%, #8A8A8A 78%, transparent 100%);
  opacity: 0.7;
}
.foot .trust-badge {
  display: grid; place-items: center;
  padding: 22px 18px;
  background: linear-gradient(180deg, #FAF5EB 0%, #EFE3CD 100%);
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: initial; color: initial;
  border: 3px solid var(--foot-pink);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  min-height: 124px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(120,90,40,0.22),
    0 0 0 4px rgba(230,107,161,0.22),
    0 0 28px rgba(244,231,210,0.22),
    0 12px 28px rgba(11,9,7,0.75);
}
.foot .trust-badge img {
  max-width: 100%;
  max-height: 76px;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}
.foot .trust-badge:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF0DA 100%);
  transform: translateY(-3px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(120,90,40,0.3),
    0 0 0 4px rgba(230,107,161,0.45),
    0 14px 30px rgba(11,9,7,0.7),
    0 0 32px rgba(244,231,210,0.32);
}
.foot .trust-badge:hover img { transform: scale(1.05); }
@media (max-width: 1280px) { .foot-badges { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .foot-badges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .foot-badges { grid-template-columns: repeat(2, 1fr); } }

.foot-social { display: flex; gap: 10px; align-items: center; }
.foot-social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: linear-gradient(160deg, rgba(242,244,247,0.08) 0%, rgba(86,88,96,0.05) 100%);
  border: 2px solid var(--foot-pink);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.foot-social a img {
  width: 19px; height: 19px;
  filter: brightness(0) invert(1);
  transition: filter .25s ease;
}
.foot-social a:hover {
  background: rgba(230,107,161,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(230,107,161,0.4), 0 0 0 1px rgba(230,107,161,0.45);
}
.foot-social a:hover img {
  filter: brightness(0) saturate(100%) invert(57%) sepia(36%) saturate(1230%) hue-rotate(297deg) brightness(96%) contrast(94%);
}
.foot-label {
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--foot-cream-40); margin-bottom: 18px; font-weight: 600;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.foot a {
  font-size: 13px; letter-spacing: 0.02em;
  background: var(--foot-silver-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  transition: filter .25s ease;
  position: relative;
  text-decoration: none;
}
.foot a:hover {
  background: var(--foot-gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: brightness(1.15);
}
.foot-bottom {
  margin-top: clamp(32px, 3.5vw, 56px);
  padding-top: 22px;
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--foot-cream-40); font-weight: 600;
}
.foot-bottom::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #8A8A8A 22%, #BFBFBF 50%, #8A8A8A 78%, transparent 100%);
  opacity: 0.7;
}
@media (max-width: 1100px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-bottom { font-size: 9px; flex-direction: column; align-items: flex-start; gap: 8px; } }
/* === /CANONICAL FOOTER ============================================== */

/* v5 polish · cream grain */
.section--cream, [class*="--cream"], .cs-hero-photo--cream, .mm-panel--mega, .ledger-section {
  position: relative;
}
.section--cream::before, [class*="--cream"]::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-radial-gradient(circle at 25% 30%, rgba(96,72,30,0.012) 0px, transparent 1px),
    repeating-radial-gradient(circle at 75% 70%, rgba(180,140,60,0.015) 0px, transparent 1.5px);
  background-size: 5px 5px, 7px 7px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}
.section--cream > *, [class*="--cream"] > * { position: relative; z-index: 2; }

/* v5 polish · case study card corner fold */
.cs-card, .cs-flagship-card, .au-rec, .cp-rec, .fd-rec, .ib-rec, .bp-rec, .tx-rec, .pr-rec, .work-tile, .lg-flag-card {
  position: relative;
}
.cs-card::after, .cs-flagship-card::after, .au-rec::after, .cp-rec::after, .fd-rec::after, .ib-rec::after, .bp-rec::after, .tx-rec::after, .pr-rec::after, .work-tile::after, .lg-flag-card::after {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 0 0;
  border-color: transparent transparent transparent transparent;
  transition: border-width .35s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
  z-index: 5;
}
.cs-card:hover::after, .cs-flagship-card:hover::after, .au-rec:hover::after, .cp-rec:hover::after, .fd-rec:hover::after, .ib-rec:hover::after, .bp-rec:hover::after, .tx-rec:hover::after, .pr-rec:hover::after, .work-tile:hover::after, .lg-flag-card:hover::after {
  border-width: 18px 18px 0 0;
  border-color: var(--miami, #ff4d8d) transparent transparent transparent;
}


/* v5 polish · animated section dividers */
.section-divider,
.au-section + .au-section,
.cp-section + .cp-section,
.fd-section + .fd-section,
[class*="-section"] + [class*="-section"] {
  position: relative;
}
.section-divider::before,
.au-section + .au-section::before,
.cp-section + .cp-section::before,
.fd-section + .fd-section::before,
[class*="-section"] + [class*="-section"]::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--miami, #00B7D4) 30%,
    var(--gold-base, #D4A23A) 50%,
    var(--red, #E11F26) 70%,
    transparent 100%);
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.section-divider.is-visible::before,
.au-section.is-visible + .au-section::before,
.cp-section.is-visible + .cp-section::before,
.fd-section.is-visible + .fd-section::before,
[class*="-section"].is-visible + [class*="-section"]::before {
  opacity: 0.4;
}


/* v5 polish · trust badge color tint */
.foot-badges .trust-badge,
.trust-badge {
  transition: filter .3s ease, transform .3s ease;
  filter: brightness(0.85) saturate(0.6);
}
.foot-badges .trust-badge:hover,
.trust-badge:hover {
  filter: brightness(1.15) saturate(1.1);
  transform: translateY(-2px);
}
.foot-badges .trust-badge:nth-child(1):hover { filter: hue-rotate(0deg)   brightness(1.15) saturate(1.2); }
.foot-badges .trust-badge:nth-child(2):hover { filter: hue-rotate(20deg)  brightness(1.15); }
.foot-badges .trust-badge:nth-child(3):hover { filter: hue-rotate(-20deg) brightness(1.15); }
.foot-badges .trust-badge:nth-child(4):hover { filter: hue-rotate(180deg) brightness(1.15) saturate(1.2); }
.foot-badges .trust-badge:nth-child(5):hover { filter: hue-rotate(40deg)  brightness(1.2); }
.foot-badges .trust-badge:nth-child(6):hover { filter: hue-rotate(-40deg) brightness(1.2); }
.foot-badges .trust-badge:nth-child(7):hover { filter: hue-rotate(60deg)  brightness(1.2); }
/* v5 polish · eyebrow pulse */
.section-kicker::before,
.section-eyebrow::before,
.mm-eyebrow::before,
.hero-eyebrow::before,
.guarantee-eyebrow::before,
.fv-eyebrow::before,
.feat-eyebrow::before,
.lead-eyebrow::before,
.cta-eyebrow::before,
.metric-eyebrow::before,
.side-eyebrow::before,
.tldr-eyebrow::before,
.callout-eyebrow::before,
.restore-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--miami, #00B7D4);
  margin-right: 10px;
  box-shadow: 0 0 0 0 rgba(11,211,211,0.5);
  animation: v5EyebrowPulse 2.4s ease-in-out infinite;
  vertical-align: middle;
}

/* Preserve existing glyph; add pulse via ::after */
.ib-section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--miami, #00B7D4);
  margin-left: 10px;
  box-shadow: 0 0 0 0 rgba(11,211,211,0.5);
  animation: v5EyebrowPulse 2.4s ease-in-out infinite;
  vertical-align: middle;
}

/* On cream-background sections use red for contrast */
.section--cream .section-kicker::before,
.section--cream .mm-eyebrow::before,
.section--cream .section-eyebrow::before,
.section--paper .section-kicker::before,
.section--paper .mm-eyebrow::before,
.paper-section .section-kicker::before {
  background: var(--red, #E11F26);
  box-shadow: 0 0 0 0 rgba(225,31,38,0.5);
  animation-name: v5EyebrowPulseRed;
}
@keyframes v5EyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11,211,211,0.5); opacity: 1; }
  50%      { box-shadow: 0 0 0 6px rgba(11,211,211,0); opacity: 0.6; }
}
@keyframes v5EyebrowPulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,31,38,0.5); opacity: 1; }
  50%      { box-shadow: 0 0 0 6px rgba(225,31,38,0); opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .section-kicker::before, .section-eyebrow::before, .mm-eyebrow::before,
  [class$="-eyebrow"]::before, [class$="-eyebrow"]::after {
    animation: none;
  }
}

/* v5 polish · masthead CTA + trigger no-wrap fix */
.masthead .btn-blue, .masthead .btn-blue span, .mast-nav .mm-trigger, .mast-nav > a.mast-link { white-space: nowrap; }

/* v5 polish · masthead compaction (Alex 2026-06-28: nav row was floating in 460px dead zone — force explicit height; the mega/mini panels inside the <header> were inflating the natural height) */
.masthead { padding-top: 14px !important; padding-bottom: 14px !important; height: 108px !important; min-height: 0 !important; max-height: 108px !important; overflow: visible !important; }
.masthead .mast-mark img { height: 80px !important; }
.masthead.is-stuck { padding-top: 10px !important; padding-bottom: 10px !important; height: 80px !important; max-height: 80px !important; }
.masthead.is-stuck .mast-mark img { height: 60px !important; }
/* Mega/mini panels are absolutely positioned children of <header> — make sure they don't contribute to masthead box flow */
.masthead .mm-panel { position: absolute !important; }


/* v5 polish · matrix mode toggle */
.matrix-toggle {
  position: fixed; bottom: 24px; left: 24px; z-index: 9998;
  width: 44px; height: 44px;
  background: rgba(11,9,7,0.92);
  border: 1.5px solid rgba(244,231,210,0.25);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.matrix-toggle:hover { transform: scale(1.08); border-color: #00FF41; box-shadow: 0 0 24px rgba(0,255,65,0.4); }
.matrix-toggle svg { width: 22px; height: 22px; stroke: #F4E7D2; transition: stroke .25s; }
.matrix-toggle:hover svg { stroke: #00FF41; }
body.is-matrix .matrix-toggle { border-color: #00FF41; background: rgba(0,0,0,0.92); }
body.is-matrix .matrix-toggle svg { stroke: #00FF41; }
@media (max-width: 600px) { .matrix-toggle { bottom: 16px; left: 16px; width: 38px; height: 38px; } }

/* CRT static glitch overlay */
.matrix-glitch {
  position: fixed; inset: 0; z-index: 9997;
  pointer-events: none; opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.6) 80%);
  mix-blend-mode: screen;
}
.matrix-glitch.active {
  opacity: 1;
  animation: matrixGlitch 1.2s ease-out forwards;
}
@keyframes matrixGlitch {
  0%   { opacity: 0; filter: hue-rotate(0deg) contrast(1); transform: translateX(0); }
  10%  { opacity: 0.9; transform: translateX(-3px); filter: hue-rotate(40deg) contrast(2); }
  20%  { opacity: 1; transform: translateX(3px); filter: hue-rotate(-40deg) contrast(2.4) brightness(1.3); }
  30%  { opacity: 0.95; transform: translateX(-2px); filter: hue-rotate(100deg) contrast(3); }
  40%  { opacity: 1; transform: translateX(2px); filter: hue-rotate(120deg) contrast(2); }
  55%  { opacity: 0.8; transform: translateX(0); filter: hue-rotate(80deg) contrast(1.6); }
  75%  { opacity: 0.4; filter: hue-rotate(40deg) contrast(1.2); }
  100% { opacity: 0; transform: translateX(0); filter: hue-rotate(0deg) contrast(1); }
}

/* Matrix code rain canvas — sits behind content, translucent so photos stay visible */
.matrix-rain {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0;
  transition: opacity .8s ease;
  display: none;
}
body.is-matrix .matrix-rain { display: block; opacity: 0.25; }

/* In Matrix mode kill ONLY literal video tags + YouTube/Vimeo iframes — photo elements with -video in class name (e.g. video-card thumbnails) must stay visible */
body.is-matrix video,
body.is-matrix iframe[src*="youtube"],
body.is-matrix iframe[src*="vimeo"],
body.is-matrix .hero-video {
  display: none !important;
}
/* Hero gets a dark overlay so green text stays legible, but the photo/video container stays in place */
body.is-matrix .hero::before, body.is-matrix [class*="-hero"]::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  pointer-events: none; z-index: 1;
}
body.is-matrix .hero, body.is-matrix [class*="-hero"] { position: relative; }

/* MATRIX THEME — applies when body.is-matrix */
body.is-matrix {
  --ink: #000000; --ink-15: rgba(0,255,65,0.15); --ink-60: rgba(0,255,65,0.6); --ink-70: rgba(0,255,65,0.7);
  --cream: #00FF41; --cream-90: rgba(0,255,65,0.9); --cream-60: rgba(0,255,65,0.6); --cream-40: rgba(0,255,65,0.4); --cream-20: rgba(0,255,65,0.2);
  --paper: #000000; --paper-deep: #0a0f0a;
  --red: #00FF41; --red-deep: #00CC34;
  --miami: #00FF41; --miami-deep: #00CC34; --miami-light: #66FF8A;
  --pink: #00FF41;
  --gold-base: #00FF41; --gold-bright: #66FF8A;
  --gold-metal: linear-gradient(180deg, #B6FFC4 0%, #66FF8A 28%, #00FF41 68%, #00CC34 100%);
  --line: rgba(0,255,65,0.18);
  background: #000 !important;
  color: #00FF41 !important;
  font-family: "JetBrains Mono", "Courier New", monospace !important;
}
body.is-matrix * {
  font-family: "JetBrains Mono", "Courier New", monospace !important;
  text-shadow: 0 0 4px rgba(0,255,65,0.35);
  border-color: rgba(0,255,65,0.3) !important;
}
body.is-matrix img,
body.is-matrix iframe,
body.is-matrix video,
body.is-matrix svg path[fill]:not([fill="none"]):not([fill="transparent"]) {
  filter: hue-rotate(80deg) saturate(2) brightness(0.7) contrast(1.2);
}
body.is-matrix .masthead { background-color: #000 !important; border-bottom-color: rgba(0,255,65,0.3) !important; }
body.is-matrix .btn-blue, body.is-matrix .btn-red, body.is-matrix [class*="btn-"] {
  background-color: rgba(0,255,65,0.12) !important;
  color: #00FF41 !important;
  border: 1.5px solid #00FF41 !important;
}
body.is-matrix .btn-blue:hover, body.is-matrix [class*="btn-"]:hover {
  background: #00FF41 !important;
  color: #000 !important;
  box-shadow: 0 0 22px rgba(0,255,65,0.6);
}
body.is-matrix .mm-svc-card, body.is-matrix [class*="-rec"], body.is-matrix .cs-card, body.is-matrix .work-tile, body.is-matrix .svc-card {
  background-color: rgba(0,255,65,0.04) !important;
  border-color: rgba(0,255,65,0.3) !important;
}
body.is-matrix .accent-red, body.is-matrix em, body.is-matrix strong { color: #66FF8A !important; }
@media (prefers-reduced-motion: reduce) {
  .matrix-glitch.active { animation-duration: 0.2s; }
  body.is-matrix .matrix-rain { display: none; }
}


/* === MATRIX MODE — FULL LEGIBILITY SWEEP === */
/* Force every text-bearing element to green on black, regardless of hard-coded color */
body.is-matrix,
body.is-matrix h1, body.is-matrix h2, body.is-matrix h3, body.is-matrix h4, body.is-matrix h5, body.is-matrix h6,
body.is-matrix p, body.is-matrix span, body.is-matrix a, body.is-matrix li, body.is-matrix td, body.is-matrix th,
body.is-matrix strong, body.is-matrix em, body.is-matrix small, body.is-matrix sup, body.is-matrix sub,
body.is-matrix label, body.is-matrix figcaption, body.is-matrix blockquote, body.is-matrix code,
body.is-matrix button, body.is-matrix input, body.is-matrix textarea, body.is-matrix select {
  color: #00FF41 !important;
  text-shadow: 0 0 4px rgba(0,255,65,0.35), 0 0 8px rgba(0,255,65,0.15);
}

/* Force the brighter green for accents (was gold / red / etc.) */
body.is-matrix [class*="gold"], body.is-matrix [class*="-bright"],
body.is-matrix [style*="color: #D"], body.is-matrix [style*="color: gold"],
body.is-matrix em, body.is-matrix strong, body.is-matrix .accent-red,
body.is-matrix [class*="-stat"], body.is-matrix [class*="-num"], body.is-matrix [class*="-big"],
body.is-matrix [class*="-rec-big"], body.is-matrix [class*="hero-display"] {
  color: #66FF8A !important;
  text-shadow: 0 0 6px rgba(102,255,138,0.5), 0 0 12px rgba(102,255,138,0.25);
}

/* Backgrounds — force black/very-dark across every section */
body.is-matrix section, body.is-matrix article, body.is-matrix header, body.is-matrix footer, body.is-matrix main, body.is-matrix aside,
body.is-matrix div, body.is-matrix nav,
body.is-matrix [class*="section"], body.is-matrix [class*="-section"],
body.is-matrix [class*="hero"], body.is-matrix [class*="-bar"], body.is-matrix [class*="-band"],
body.is-matrix [class*="--cream"], body.is-matrix [class*="--paper"], body.is-matrix [class*="--ink"] {
  background-color: transparent !important;
}
/* But ensure body itself stays black */
body.is-matrix { background: #000 !important; }
/* Section eyebrow / kicker / tag chips */
body.is-matrix [class*="eyebrow"], body.is-matrix [class*="kicker"], body.is-matrix [class*="-tag"],
body.is-matrix [class*="-label"], body.is-matrix [class*="-chip"], body.is-matrix .pill {
  color: #00FF41 !important;
  background-color: rgba(0,255,65,0.08) !important;
  border-color: rgba(0,255,65,0.5) !important;
}

/* Card / tile / panel surfaces — light overlay so they still feel like cards */
body.is-matrix [class*="-card"], body.is-matrix [class*="-tile"], body.is-matrix [class*="-panel"],
body.is-matrix [class*="-cell"], body.is-matrix [class*="-rec"], body.is-matrix .mm-panel,
body.is-matrix .work-tile, body.is-matrix .svc-card, body.is-matrix .au-rec,
body.is-matrix .cs-card, body.is-matrix .cs-flagship-card, body.is-matrix .lg-flag-card,
body.is-matrix .mm-svc-card {
  background-color: rgba(0,255,65,0.04) !important;
  border: 1px solid rgba(0,255,65,0.35) !important;
  color: #00FF41 !important;
}

/* Borders / hairlines / dividers everywhere */
body.is-matrix * {
  border-color: rgba(0,255,65,0.3) !important;
}

/* All CTAs / buttons / links styled as buttons */
body.is-matrix .btn-blue, body.is-matrix .btn-red, body.is-matrix .btn-silver, body.is-matrix [class*="btn-"],
body.is-matrix .au-bid-cta, body.is-matrix .ds-cta, body.is-matrix [class*="-cta"] {
  background-color: rgba(0,255,65,0.12) !important;
  color: #00FF41 !important;
  border: 1.5px solid #00FF41 !important;
  text-shadow: 0 0 6px rgba(0,255,65,0.6) !important;
}
body.is-matrix .btn-blue:hover, body.is-matrix [class*="btn-"]:hover {
  background: #00FF41 !important;
  color: #000 !important;
  box-shadow: 0 0 28px rgba(0,255,65,0.7) !important;
}

/* Form fields */
body.is-matrix input, body.is-matrix textarea, body.is-matrix select {
  background-color: rgba(0,255,65,0.05) !important;
  border: 1px solid rgba(0,255,65,0.45) !important;
  color: #00FF41 !important;
}
body.is-matrix input::placeholder, body.is-matrix textarea::placeholder {
  color: rgba(0,255,65,0.5) !important;
}

/* Images / iframes / video — hue-rotate to green tint */
body.is-matrix img, body.is-matrix iframe, body.is-matrix video {
  filter: hue-rotate(80deg) saturate(2) brightness(0.65) contrast(1.3) !important;
}

/* Gradient backgrounds — kill gold / metal gradients, replace with green pulse */
body.is-matrix [style*="gradient"], body.is-matrix [class*="-metal"], body.is-matrix [class*="-foil"] {
  background-image: linear-gradient(180deg, #66FF8A 0%, #00FF41 50%, #00CC34 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Masthead — solid black, green underline */
body.is-matrix .masthead { background-color: #000 !important; border-bottom: 1px solid rgba(0,255,65,0.4) !important; }

/* Anything still ink/cream via inline style */
body.is-matrix [style*="color: #F4E7D2"],
body.is-matrix [style*="color: #FFFCF5"],
body.is-matrix [style*="color: var(--cream)"],
body.is-matrix [style*="color: rgba(244"] { color: #00FF41 !important; }
body.is-matrix [style*="background: #0B0907"],
body.is-matrix [style*="background-color: #0B0907"],
body.is-matrix [style*="background: var(--ink)"] { background: #000 !important; }

/* Reduce halo on body copy (small text) so it stays readable */
body.is-matrix p, body.is-matrix li, body.is-matrix td, body.is-matrix label,
body.is-matrix small, body.is-matrix [class*="-deck"], body.is-matrix [class*="-lede"] {
  text-shadow: 0 0 2px rgba(0,255,65,0.2) !important;
}
/* Strong halo only on display headings */
body.is-matrix h1, body.is-matrix h2, body.is-matrix [class*="-h1"], body.is-matrix [class*="hero-display"],
body.is-matrix [class*="display"] {
  text-shadow: 0 0 8px rgba(0,255,65,0.5), 0 0 16px rgba(0,255,65,0.25) !important;
}
/* === END MATRIX LEGIBILITY SWEEP === */


/* MATRIX · keep background-image photos visible with a green tint */
body.is-matrix .work-tile,
body.is-matrix .work-tile-img,
body.is-matrix [class*="-photo"],
body.is-matrix [class*="-thumb"],
body.is-matrix [class*="-bg-img"],
body.is-matrix [class*="hero-image"],
body.is-matrix [class*="cs-hero"],
body.is-matrix [class*="rs-bench"],
body.is-matrix [class*="ds-card"],
body.is-matrix [class*="team-card"],
body.is-matrix [class*="team-featured"],
body.is-matrix [class*="team-rest"] {
  filter: hue-rotate(80deg) saturate(1.6) brightness(0.78) contrast(1.25) !important;
}
/* Card surfaces that ALSO hold a photo — don't paint a flat green over them */
body.is-matrix .work-tile,
body.is-matrix .work-tile-img,
body.is-matrix [class*="-photo"]:not(p):not(span) {
  background-color: transparent !important;
}
/* IMG tags get a slightly stronger tint */
body.is-matrix img {
  filter: hue-rotate(80deg) saturate(1.8) brightness(0.8) contrast(1.2) !important;
}

/* === v5 FINAL OVERRIDES — corner-tag positioning + bullseye over iframe === */
.section .corner-tag,
section .corner-tag,
.corner-tag {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: 200px;
  white-space: nowrap;
  z-index: 5 !important;
}
.cursor-bullseye {
  z-index: 99999 !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.cursor-bullseye .bull-ring,
.cursor-bullseye .bull-dot {
  transform: translate(-50%, -50%) translateZ(0) !important;
}
/* Bullseye must clear YouTube/Vimeo iframes (which can sit on a higher composition layer) */
.hero-video iframe,
iframe[src*="youtube"],
iframe[src*="vimeo"] {
  pointer-events: none !important;
  z-index: 0 !important;
}


/* === MATRIX v2 miami blue accent for legibility === */
/* CTAs / buttons — miami blue outline that hovers to solid fill (kills unreadable green-on-green) */
body.is-matrix .btn-blue,
body.is-matrix .btn-red,
body.is-matrix .btn-silver,
body.is-matrix [class*="btn-"],
body.is-matrix [class*="-cta"],
body.is-matrix a.btn,
body.is-matrix button.btn {
  background-color: transparent !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.5) !important;
  box-shadow: 0 0 12px rgba(0,217,255,0.15), inset 0 0 8px rgba(0,217,255,0.08) !important;
}
body.is-matrix .btn-blue:hover,
body.is-matrix [class*="btn-"]:hover,
body.is-matrix [class*="-cta"]:hover {
  background-color: #00D9FF !important;
  color: #000 !important;
  box-shadow: 0 0 24px rgba(0,217,255,0.7) !important;
}

/* Nav menu — miami blue with strong contrast */
body.is-matrix .masthead,
body.is-matrix .mast-nav,
body.is-matrix .mast-link,
body.is-matrix .mm-trigger {
  color: #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.4) !important;
}
body.is-matrix .mast-link:hover,
body.is-matrix .mm-trigger:hover { color: #66E9FF !important; }

/* Team bench "The Team Los Angeles CO" — legible pill on black */
body.is-matrix [class*="bench-photo"] .tag,
body.is-matrix [class*="bench"] [class*="tag"],
body.is-matrix .rs-bench-photo .tag,
body.is-matrix [class*="loveland"],
body.is-matrix [class*="-team"] [class*="tag"] {
  background-color: rgba(0,217,255,0.15) !important;
  color: #00D9FF !important;
  border: 1px solid #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.5) !important;
}

/* Footer social icons — recolor filter to make them visible */
body.is-matrix footer img,
body.is-matrix .foot-social img,
body.is-matrix [class*="social"] img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(96%) saturate(2500%) hue-rotate(158deg) brightness(103%) contrast(101%) drop-shadow(0 0 4px rgba(0,217,255,0.5)) !important;
  opacity: 1 !important;
}
body.is-matrix footer,
body.is-matrix footer a,
body.is-matrix .foot-link,
body.is-matrix [class*="foot"] a {
  color: #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.4) !important;
}

/* Cursor bullseye — force miami blue and always visible */
body.is-matrix .cursor-bullseye {
  z-index: 99999 !important;
  filter: drop-shadow(0 0 6px rgba(0,217,255,0.8)) !important;
}
body.is-matrix .cursor-bullseye .bull-ring {
  border-color: #00D9FF !important;
  background-color: transparent !important;
}
body.is-matrix .cursor-bullseye .bull-dot { background-color: #00D9FF !important; }

/* Hero video — SHOW instead of hide, apply green hue rotate + dark overlay */
body.is-matrix .hero-video { display: block !important; opacity: 0.45 !important; }
body.is-matrix .hero-video iframe {
  display: block !important;
  filter: hue-rotate(80deg) saturate(1.5) brightness(0.65) contrast(1.4) !important;
}
body.is-matrix .hero-video::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.85) 100%) !important;
}

/* Kill the random eyebrow-dot artifacts in hero */
body.is-matrix .section-kicker::before,
body.is-matrix .section-eyebrow::before,
body.is-matrix .mm-eyebrow::before,
body.is-matrix .hero-eyebrow::before,
body.is-matrix [class*="-eyebrow"]::before {
  animation: none !important;
  background: transparent !important;
  box-shadow: none !important;
  content: none !important;
  display: none !important;
}

/* Case studies + work tiles — miami blue border + lift on hover */
body.is-matrix .work-tile,
body.is-matrix .cs-card,
body.is-matrix .lg-flag-card,
body.is-matrix [class*="-rec"],
body.is-matrix .mm-svc-card,
body.is-matrix .svc-card,
body.is-matrix .cs-flagship-card {
  border-color: rgba(0,217,255,0.4) !important;
}
body.is-matrix .work-tile:hover,
body.is-matrix .cs-card:hover,
body.is-matrix [class*="-rec"]:hover,
body.is-matrix .mm-svc-card:hover,
body.is-matrix .svc-card:hover,
body.is-matrix .cs-flagship-card:hover {
  border-color: #00D9FF !important;
  background-color: rgba(0,217,255,0.06) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 0 28px rgba(0,217,255,0.45) !important;
}

/* Card body text still green; miami blue for accent labels */
body.is-matrix .accent-red,
body.is-matrix .gold,
body.is-matrix [class*="gold-"] { color: #66E9FF !important; }

/* Matrix rain — consistent visibility */
body.is-matrix .matrix-rain {
  display: block !important;
  opacity: 0.28 !important;
}

/* Read All Reviews On Google style dark-fill buttons — force miami blue outline */
body.is-matrix a[href*="google.com/reviews"],
body.is-matrix a[href*="/reviews"],
body.is-matrix .review-cta,
body.is-matrix [class*="google-review"] {
  background-color: transparent !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
}


/* === MATRIX v3 fix: logo hue, mascot, video, sticky-cta, cards, hero text === */

/* === 1. LOGO not pink: exempt the cyan lockup image from the global hue-rotate === */
body.is-matrix .mast-mark img,
body.is-matrix .foot-mark img,
body.is-matrix .mm-host header img {
  filter: none !important;
  opacity: 1 !important;
}

/* === 2. MASCOT bull (floating logo bottom-right): recolor red bull to cyan === */
body.is-matrix .mascot img,
body.is-matrix #mascot img {
  filter: hue-rotate(180deg) saturate(2.5) brightness(1.15) drop-shadow(0 0 8px rgba(0,217,255,0.6)) !important;
  opacity: 1 !important;
}

/* === 3. HERO VIDEO actually visible: bump opacity, lift z-index, thin the overlay === */
body.is-matrix .hero-video {
  display: block !important;
  opacity: 0.75 !important;
  z-index: 0 !important;
}
body.is-matrix .hero-video iframe {
  display: block !important;
  filter: hue-rotate(80deg) saturate(1.4) brightness(0.85) contrast(1.3) !important;
  opacity: 1 !important;
}
body.is-matrix .hero-video::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%) !important;
}
/* Thin the global hero dark overlay so video shows through */
body.is-matrix .hero::before,
body.is-matrix [class*="-hero"]::before {
  background: rgba(0,0,0,0.28) !important;
  z-index: 1 !important;
}

/* === 4. STICKY CTA (floating bottom-right ribbon): full miami blue + legible text === */
body.is-matrix .sticky-cta {
  background: #000 !important;
  background-color: #000 !important;
  border: 1.5px solid #00D9FF !important;
  box-shadow: 0 0 20px rgba(0,217,255,0.45), inset 0 0 12px rgba(0,217,255,0.12) !important;
  color: #00D9FF !important;
}
body.is-matrix .sticky-cta,
body.is-matrix .sticky-cta *,
body.is-matrix .sticky-cta-copy,
body.is-matrix .sticky-cta-copy strong,
body.is-matrix .sticky-cta-copy .lbl,
body.is-matrix .sticky-cta-meta,
body.is-matrix .sticky-cta-meta .stars {
  color: #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.55) !important;
}
body.is-matrix .sticky-cta:hover {
  background: #00D9FF !important;
  background-color: #00D9FF !important;
  color: #000 !important;
}
body.is-matrix .sticky-cta:hover *,
body.is-matrix .sticky-cta:hover .sticky-cta-copy strong,
body.is-matrix .sticky-cta:hover .sticky-cta-copy .lbl,
body.is-matrix .sticky-cta:hover .sticky-cta-meta,
body.is-matrix .sticky-cta:hover .sticky-cta-meta .stars {
  color: #000 !important;
  text-shadow: none !important;
}

/* === 5. HOMEPAGE CASE STUDY / WORK-TILE cards: force text legibility === */
body.is-matrix .work-tile,
body.is-matrix .cs-card,
body.is-matrix .cs-flagship-card,
body.is-matrix .lg-flag-card {
  background-color: rgba(0, 15, 12, 0.85) !important;
  color: #00D9FF !important;
}
body.is-matrix .work-tile *,
body.is-matrix .cs-card *,
body.is-matrix .cs-flagship-card *,
body.is-matrix .lg-flag-card * {
  color: #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.4) !important;
}
body.is-matrix .work-tile [class*="metric"],
body.is-matrix .work-tile [class*="stat"],
body.is-matrix .cs-card [class*="metric"],
body.is-matrix .cs-card [class*="stat"] {
  color: #66E9FF !important;
}
/* Card client-photo background: dim it so overlaying text is legible */
body.is-matrix .work-tile::before,
body.is-matrix .cs-card::before {
  background-color: rgba(0,0,0,0.55) !important;
}

/* === 6. "READ ALL REVIEWS ON GOOGLE" and any dark-fill button: force cyan outline === */
body.is-matrix a[href*="google.com"],
body.is-matrix a[href*="reviews"],
body.is-matrix a[href*="review"],
body.is-matrix .review-cta,
body.is-matrix .reviews-cta,
body.is-matrix [class*="google-review"],
body.is-matrix [class*="review-btn"],
body.is-matrix a.btn-ink,
body.is-matrix a.btn-black,
body.is-matrix a.btn-dark {
  background-color: transparent !important;
  background: transparent !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
  text-shadow: 0 0 4px rgba(0,217,255,0.5) !important;
}
body.is-matrix a[href*="google.com"]:hover,
body.is-matrix a[href*="reviews"]:hover,
body.is-matrix .review-cta:hover,
body.is-matrix a.btn-ink:hover,
body.is-matrix a.btn-black:hover {
  background: #00D9FF !important;
  background-color: #00D9FF !important;
  color: #000 !important;
}

/* === 7. HERO TEXT visibility across all pages (services hub, lanes, etc.) === */
body.is-matrix .hero,
body.is-matrix [class*="-hero"],
body.is-matrix .lg-hero,
body.is-matrix .lane-hero,
body.is-matrix .svc-hero {
  background-color: #000 !important;
}
body.is-matrix .hero-kicker,
body.is-matrix .hero-eyebrow,
body.is-matrix .hero-title,
body.is-matrix .hero-headline,
body.is-matrix .hero-lede,
body.is-matrix .hero-sub,
body.is-matrix .hero-copy,
body.is-matrix .lane-eyebrow,
body.is-matrix .lane-title,
body.is-matrix .lane-num,
body.is-matrix .lane-lede,
body.is-matrix .lg-hero-eyebrow,
body.is-matrix .lg-hero-title,
body.is-matrix .lg-hero-lede,
body.is-matrix .svc-hero-eyebrow,
body.is-matrix .svc-hero-title,
body.is-matrix .svc-hero-lede,
body.is-matrix [class*="hero-"] h1,
body.is-matrix [class*="hero-"] h2,
body.is-matrix [class*="hero-"] p,
body.is-matrix [class*="hero-"] span {
  color: #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.4) !important;
  position: relative;
  z-index: 2;
}

/* Ensure hero inner content sits above the ::before overlay */
body.is-matrix .hero > *:not(.hero-video):not(::before),
body.is-matrix [class*="-hero"] > *:not(.hero-video):not(::before) {
  position: relative;
  z-index: 2;
}


/* === MATRIX v3.1 gold-gradient buttons -> cyan outline === */
body.is-matrix .btn-gold,
body.is-matrix [class*="btn-gold"],
body.is-matrix .btn-metal,
body.is-matrix [class*="gold-metal"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #00D9FF !important;
  border: 1.5px solid #00D9FF !important;
  text-shadow: 0 0 6px rgba(0,217,255,0.5) !important;
  box-shadow: 0 0 12px rgba(0,217,255,0.2) !important;
}
body.is-matrix .btn-gold:hover,
body.is-matrix [class*="btn-gold"]:hover {
  background: #00D9FF !important;
  background-color: #00D9FF !important;
  background-image: none !important;
  color: #000 !important;
}


/* === MATRIX v3.2 trust badges unfiltered === */
body.is-matrix .trust-badge,
body.is-matrix .foot-badges .trust-badge {
  background: #F4E7D2 !important;
  background-color: #F4E7D2 !important;
}
body.is-matrix .trust-badge img,
body.is-matrix .foot-badges img,
body.is-matrix .badge-strip img {
  filter: none !important;
  opacity: 1 !important;
}



/* Cap image display sizes proportional to Storyblok source resolution so upscale-blur stops */
img[src*="storyblok.com/f/1023744/380x640/"] { max-width: 570px; }
img[src*="storyblok.com/f/1023744/262x357/"] { max-width: 393px; }
img[src*="storyblok.com/f/1023744/600x918/"] { max-width: 900px; }
img[src*="storyblok.com/f/1023744/1083x747/"] { max-width: 1625px; }
img[src*="storyblok.com/f/1023744/1137x762/"] { max-width: 1705px; }
img[src*="storyblok.com/f/1023744/381623/"] { max-width: 100%; }
@media (min-width: 1101px) {
  .work-grid { max-width: 1140px; margin: 0 auto; }
}
