
/* === 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%; }




  /* ============================================================
     IMPRINT DIGITAL — ABOUT / DOSSIER 001
     A field-manual direction: classified folder aesthetic,
     sticky Roman-numeral chapter rail, kinetic HUNGER, metallic
     TRIBE plaques, trading-card roster, trophy shelf.
     ============================================================ */

  

  *, *::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; }

  /* Subtle paper texture — diagonal-noise + horizontal rules for the field-manual feel */
  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(circle at 20% 30%, rgba(180,140,60,0.06) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(60,40,15,0.04) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
  }

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

  /* ============================================================
     CURSOR — bullseye
     ============================================================ */
  .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(--red); border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
  }
  .cursor-bullseye .bull-ring.r2 { width: 16px; height: 16px; }
  .cursor-bullseye .bull-ring.r3 { width: 6px; height: 6px; background: var(--red); }
  .cursor-bullseye.is-hover .bull-ring.r1 { width: 56px; height: 56px; }
  .cursor-bullseye.is-hover .bull-ring.r2 { width: 36px; height: 36px; }
  .cursor-bullseye.is-hover .bull-ring.r3 { background: var(--gold-base); border-color: var(--gold-base); }
  @media (hover: none), (max-width: 900px) {
    .cursor-bullseye { display: none; }
  }

  /* ============================================================
     MASTHEAD — same system as home/services
     ============================================================ */
  .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; width: auto; transition: transform .3s var(--ease); }
  .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 var(--ease);
  }
  .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 var(--ease);
  }
  .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 ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
  }
  .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; }

  /* ============================================================
     STAMPS — the signature decoration
     ============================================================ */
  .stamp {
    position: absolute;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 14px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 11px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--red); border: 2.5px solid var(--red);
    background: transparent;
    opacity: 0.75;
    pointer-events: none;
    z-index: 4;
    user-select: none;
    transition: opacity .4s var(--ease), transform .6s var(--ease);
  }
  .stamp::before, .stamp::after {
    content: ""; position: absolute; inset: -3px;
    border: 1px solid var(--red); opacity: 0.4;
  }
  .stamp::after { inset: -7px; opacity: 0.2; }
  .stamp--ink { color: var(--ink); border-color: var(--ink); }
  .stamp--ink::before, .stamp--ink::after { border-color: var(--ink); }
  .stamp--gold { color: var(--gold-base); border-color: var(--gold-base); }
  .stamp--gold::before, .stamp--gold::after { border-color: var(--gold-base); }
  .stamp--rot-l { transform: rotate(-7deg); }
  .stamp--rot-r { transform: rotate(8deg); }
  .stamp--rot-xl { transform: rotate(-14deg); }
  .stamp--xl {
    font-size: 18px; padding: 12px 26px; letter-spacing: 0.3em;
    border-width: 3px;
  }

  /* ============================================================
     CHAPTER RAIL — sticky left-side Roman numeral nav
     ============================================================ */
  .chapter-rail {
    position: fixed;
    left: clamp(18px, 2vw, 36px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex; flex-direction: column; gap: 18px;
    padding: 18px 12px;
    background: rgba(244,231,210,0.85);
    border: 1px solid var(--ink-15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(11,9,7,0.16);
  }
  .chapter-rail-link {
    display: flex; flex-direction: column; align-items: center;
    width: 44px;
    padding: 4px 0;
    border-left: 2px solid transparent;
    transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
  }
  .chapter-rail-link .rn {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 16px; letter-spacing: 0.04em;
    color: var(--ink-60);
    transition: color .3s var(--ease);
  }
  .chapter-rail-link .ttl {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700;
    font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-30);
    margin-top: 4px;
    transition: color .3s var(--ease);
  }
  .chapter-rail-link:hover .rn,
  .chapter-rail-link.is-active .rn { color: var(--red); }
  .chapter-rail-link:hover .ttl,
  .chapter-rail-link.is-active .ttl { color: var(--ink); }
  .chapter-rail-link.is-active { border-left-color: var(--red); }

  @media (max-width: 1100px) { .chapter-rail { display: none; } }

  /* ============================================================
     REVEAL — scroll-driven fade-up
     ============================================================ */
  .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: .1s; }
  .reveal-2 { transition-delay: .2s; }
  .reveal-3 { transition-delay: .3s; }
  .reveal-4 { transition-delay: .4s; }
  .reveal-5 { transition-delay: .5s; }

  /* ============================================================
     COMMON TYPE TREATMENTS
     ============================================================ */
  .section-kicker {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700;
    font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-60);
    margin-bottom: 18px;
  }
  .section-kicker .num { color: var(--red); }
  .section-kicker .div { flex: 1; max-width: 220px; height: 1px; background: var(--ink-15); }

  .section-h {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: clamp(34px, 5vw, 76px);
    line-height: 0.98; letter-spacing: -0.025em;
    margin: 0 0 22px;
  }
  .section-h em { font-style: italic; font-weight: 400; color: rgba(11,9,7,0.5); }
  .chapter--ink .section-h em { color: var(--cream-40); }
  .accent-red { color: var(--red); }

  /* ============================================================
     EDGE BRACKETS — gold corner marks (home pattern)
     ============================================================ */
  .edge-bracket {
    position: absolute;
    width: 22px; height: 22px;
    border-color: var(--gold-base);
    opacity: 0.65;
    z-index: 3;
    pointer-events: none;
  }
  .edge-bracket--tl { top: 18px; left: 18px; border-top: 2px solid; border-left: 2px solid; }
  .edge-bracket--tr { top: 18px; right: 18px; border-top: 2px solid; border-right: 2px solid; }
  .edge-bracket--bl { bottom: 18px; left: 18px; border-bottom: 2px solid; border-left: 2px solid; }
  .edge-bracket--br { bottom: 18px; right: 18px; border-bottom: 2px solid; border-right: 2px solid; }

  .section-deck {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.55; color: var(--ink-60);
    max-width: 720px; margin: 0 0 36px;
  }

  /* ============================================================
     HERO — CLASSIFIED FOLDER COLD OPEN
     ============================================================ */
  .ds-hero {
    position: relative;
    padding: clamp(140px, 14vh, 200px) 0 clamp(80px, 8vh, 120px);
    background: var(--paper);
    overflow: hidden;
  }
  .ds-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at top left, rgba(225,31,38,0.06) 0%, transparent 50%),
      radial-gradient(ellipse at bottom right, rgba(11,9,7,0.08) 0%, transparent 55%);
    z-index: 2;
    pointer-events: none;
  }
  /* Hero video — full-bleed background, mirrors home pattern */
  .ds-hero-video {
    position: absolute; inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .ds-hero-video iframe {
    position: absolute;
    top: 0; left: 50%;
    width: max(100%, 177.78vh);
    height: max(56.25vw, 100%);
    transform: translateX(-50%);
    border: 0;
    pointer-events: none;
  }
  .ds-hero-video::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(244,231,210,0.78) 0%, rgba(244,231,210,0.62) 30%, rgba(244,231,210,0.74) 65%, rgba(244,231,210,0.92) 100%),
      radial-gradient(80% 70% at 20% 30%, rgba(244,231,210,0.50) 0%, rgba(244,231,210,0) 65%);
  }
  .ds-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
  }
  .ds-folder-tab {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 10px 24px;
    background: var(--ink); color: var(--cream);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 11px;
    letter-spacing: 0.32em; text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
    margin-bottom: 28px;
  }
  .ds-folder-tab .dot {
    width: 8px; height: 8px; background: var(--red); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
  }

  .ds-dossier-no {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 14px; letter-spacing: 0.4em;
    color: var(--ink-60); margin-bottom: 6px;
  }

  .ds-hero-title {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(56px, 8vw, 120px);
    line-height: 0.92; letter-spacing: -0.03em;
    margin: 0 0 28px;
  }
  .ds-hero-title .dl-italic { font-style: italic; font-weight: 700; color: var(--ink-60); }
  .ds-hero-title .stamp-period {
    display: inline-block;
    width: 0.4em; height: 0.4em;
    background: var(--red);
    vertical-align: baseline;
    margin-left: 0.08em;
  }

  .ds-hero-lede {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.6; color: var(--ink-60);
    max-width: 540px; margin: 0 0 36px;
  }
  .ds-hero-lede strong { color: var(--ink); font-weight: 700; }

  .ds-hero-meta {
    display: flex; flex-wrap: wrap; gap: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--ink-15);
    margin-top: 36px;
  }
  .ds-meta-cell {
    display: flex; flex-direction: column; gap: 4px;
  }
  .ds-meta-cell .lbl {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 9.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-30);
  }
  .ds-meta-cell .val {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 700;
    font-size: 18px; letter-spacing: -0.01em;
    color: var(--ink);
  }

  /* Right side: bull seal */
  .ds-seal {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
  }
  .ds-seal-ring {
    position: absolute; inset: 0;
    border: 2px solid var(--red);
    border-radius: 50%;
    opacity: 0.6;
  }
  .ds-seal-ring.r2 { inset: 14px; border-style: dashed; opacity: 0.4; animation: rotate 80s linear infinite; }
  .ds-seal-ring.r3 { inset: 36px; opacity: 0.85; border-width: 1px; }
  @keyframes rotate { to { transform: rotate(360deg); } }

  .ds-seal-bull {
    position: absolute; inset: 70px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink);
    border-radius: 50%;
    box-shadow: 0 18px 50px rgba(11,9,7,0.4), inset 0 4px 12px rgba(0,0,0,0.4);
  }
  .ds-seal-bull img {
    width: 60%; height: auto;
    filter: drop-shadow(0 4px 12px rgba(225,31,38,0.4));
  }

  .ds-seal-ring-text {
    position: absolute; inset: 0;
    animation: rotate 60s linear infinite;
  }
  .ds-seal-ring-text svg {
    width: 100%; height: 100%;
  }
  .ds-seal-ring-text text {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800;
    font-size: 13px; letter-spacing: 0.4em;
    fill: var(--ink);
  }

  /* Hero stamps placed at corners */
  .ds-hero .stamp-1 { top: 18%; right: 8%; }
  .ds-hero .stamp-2 { bottom: 12%; left: 6%; }

  @media (max-width: 960px) {
    .ds-hero-grid { grid-template-columns: 1fr; }
    .ds-seal { margin: 40px auto 0; max-width: 320px; }
  }

  /* ============================================================
     RECEIPTS / TRUST BAR
     ============================================================ */
  .ds-receipts {
    background: var(--ink); color: var(--cream);
    padding: 40px 0;
    position: relative;
    border-top: 1px solid var(--cream-20);
    border-bottom: 1px solid var(--cream-20);
  }
  .ds-receipts::before {
    content: "RECEIPTED · AWARDED · RECEIPTED · AWARDED · RECEIPTED · AWARDED · RECEIPTED · AWARDED · RECEIPTED · AWARDED ·";
    position: absolute; left: 0; right: 0; top: 0;
    transform: translateY(-50%);
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: 14px; letter-spacing: 0.4em;
    color: var(--cream);
    background: var(--ink);
    padding: 8px 0;
    white-space: nowrap; overflow: hidden;
    border-top: 1px solid var(--cream-20);
    border-bottom: 1px solid var(--cream-20);
  }
  .ds-receipts-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
  }
  .ds-receipts-label {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--cream-60);
    flex-shrink: 0;
  }
  .ds-receipts-row {
    display: flex; flex-wrap: wrap; gap: 18px; flex: 1; justify-content: flex-end;
  }
  .ds-receipt-tile {
    display: flex; align-items: center; justify-content: center;
    padding: 12px 18px;
    background: rgba(244,231,210,0.05);
    border: 1px solid var(--cream-20);
    max-height: 64px;
    transition: border-color .25s, background .25s, transform .25s;
  }
  .ds-receipt-tile:hover {
    border-color: var(--red);
    background: rgba(225,31,38,0.08);
    transform: translateY(-2px);
  }
  .ds-receipt-tile img {
    max-height: 38px; width: auto; object-fit: contain;
    filter: brightness(1.1);
  }

  /* ============================================================
     CHAPTER — common shell
     ============================================================ */
  .chapter {
    position: relative;
    padding: clamp(80px, 9vh, 140px) 0;
    overflow: hidden;
  }
  .chapter--ink {
    background: var(--ink);
    color: var(--cream);
  }
  .chapter--ink .section-kicker { color: var(--cream-60); }
  .chapter--ink .section-kicker .num { color: var(--miami); }
  .chapter--ink .section-kicker .div { background: var(--cream-20); }
  .chapter--ink .section-h { color: var(--cream); }
  .chapter--ink .section-h em { color: var(--cream); }
  .chapter--ink .section-deck { color: var(--cream-90); }

  .chapter-roman {
    position: absolute;
    top: 40px;
    right: clamp(28px, 4vw, 80px);
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(80px, 14vw, 260px);
    line-height: 0.85; letter-spacing: -0.04em;
    color: var(--ink);
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
  }
  .chapter--ink .chapter-roman { color: var(--cream); opacity: 0.04; }

  /* ============================================================
     CHAPTER I — ORIGIN
     Timeline rail on the left + narrative paragraphs right
     ============================================================ */
  .ds-origin-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(40px, 5vw, 80px);
    margin-top: 20px;
  }
  .ds-timeline {
    position: relative;
    padding-left: 28px;
  }
  .ds-timeline::before {
    content: "";
    position: absolute;
    left: 9px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--red), var(--gold-base), var(--miami));
  }
  .ds-tl-row {
    position: relative;
    padding-bottom: 32px;
  }
  .ds-tl-row:last-child { padding-bottom: 0; }
  .ds-tl-row::before {
    content: "";
    position: absolute;
    left: -28px; top: 6px;
    width: 20px; height: 20px;
    background: var(--paper);
    border: 3px solid var(--red);
    border-radius: 50%;
  }
  .ds-tl-row:nth-child(2)::before { border-color: var(--gold-base); }
  .ds-tl-row:nth-child(3)::before { border-color: var(--miami); }
  .ds-tl-row:nth-child(4)::before { border-color: var(--ink); }
  .ds-tl-year {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 22px; letter-spacing: 0.02em;
    color: var(--ink); margin-bottom: 4px;
  }
  .ds-tl-label {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-60); margin-bottom: 8px;
  }
  .ds-tl-note {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 14px; line-height: 1.5;
    color: var(--ink-60); margin: 0;
  }

  .ds-origin-body {
    position: relative;
  }
  .ds-origin-body p {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 17px; line-height: 1.65;
    color: var(--ink); margin: 0 0 20px;
  }
  .ds-origin-body p strong { color: var(--ink); font-weight: 700; }
  .ds-origin-body .pull {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 700;
    font-size: 26px; line-height: 1.25; letter-spacing: -0.01em;
    color: var(--red);
    border-left: 4px solid var(--red);
    padding: 4px 0 4px 22px;
    margin: 32px 0 28px;
  }
  .ds-origin-body .pull strong { color: var(--ink); font-weight: 800; }

  .ds-origin-cap {
    display: flex; align-items: center; gap: 12px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--ink-15);
  }
  .ds-origin-cap .sig {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-style: italic; font-weight: 700;
    font-size: 28px; color: var(--ink);
    letter-spacing: -0.01em;
  }
  .ds-origin-cap .sig-cap {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-60);
  }

  .ds-origin .stamp-1 { top: 14%; right: 6%; }

  @media (max-width: 900px) {
    .ds-origin-grid { grid-template-columns: 1fr; }
  }

  /* ============================================================
     CHAPTER II — HUNGER (kinetic)
     ============================================================ */
  .ds-hunger {
    background:
      radial-gradient(ellipse at center, #1a1410 0%, #0b0907 60%),
      var(--ink);
    color: var(--cream);
  }
  .ds-hunger-art {
    position: relative;
    padding: 30px 0 50px;
    text-align: center;
  }
  .ds-hunger-word {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(72px, 14vw, 240px);
    line-height: 0.9; letter-spacing: -0.04em;
    margin: 0;
    position: relative;
    display: inline-block;
    color: #E9C56B;  /* fallback */
    white-space: nowrap;
  }
  .ds-hunger-word .ltr {
    display: inline-block;
    opacity: 1;
    transform: translateY(40px) scale(0.95);
    transition: transform .7s var(--ease-out);
    background: linear-gradient(180deg, #FFEDB2 0%, #E9C56B 28%, #A07A24 68%, #5C420F 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 24px rgba(212,162,58,0.18);
  }
  .ds-hunger-word.is-in .ltr {
    transform: translateY(0) scale(1);
  }
  .ds-hunger-word.is-in .ltr:nth-child(1) { transition-delay: 0.05s; }
  .ds-hunger-word.is-in .ltr:nth-child(2) { transition-delay: 0.15s; }
  .ds-hunger-word.is-in .ltr:nth-child(3) { transition-delay: 0.25s; }
  .ds-hunger-word.is-in .ltr:nth-child(4) { transition-delay: 0.35s; }
  .ds-hunger-word.is-in .ltr:nth-child(5) { transition-delay: 0.45s; }
  .ds-hunger-word.is-in .ltr:nth-child(6) { transition-delay: 0.55s; }

  .ds-hunger-sub {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-style: italic; font-weight: 600;
    font-size: clamp(20px, 2vw, 32px); color: var(--miami-light);
    margin: -10px 0 60px;
    letter-spacing: -0.01em;
  }

  .ds-hunger-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 3vw, 56px);
    margin-top: 30px;
  }
  .ds-hunger-cell {
    position: relative;
    padding: 36px 32px 32px;
    background: rgba(244,231,210,0.04);
    border: 1px solid var(--cream-20);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }
  .ds-hunger-cell::before {
    content: attr(data-ix);
    position: absolute; top: 14px; right: 18px;
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 14px; letter-spacing: 0.3em;
    color: var(--cream-40);
  }
  .ds-hunger-label {
    display: inline-block;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--red); padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
    margin-bottom: 20px;
  }
  .ds-hunger-body {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 17px; line-height: 1.6;
    color: var(--cream); margin: 0;
  }
  .ds-hunger-body strong { color: var(--gold-base); font-weight: 700; }

  @media (max-width: 760px) {
    .ds-hunger-pair { grid-template-columns: 1fr; }
  }

  /* ============================================================
     CHAPTER III — TRIBE CODE (metallic plaques)
     Each letter is a giant plaque that shimmer-reveals on scroll.
     ============================================================ */
  .ds-tribe {
    background: var(--paper);
  }
  .ds-tribe-intro {
    margin-bottom: 60px;
  }
  .ds-tribe-stack {
    display: flex; flex-direction: column;
    gap: 28px;
  }
  .ds-plaque {
    position: relative;
    display: grid;
    grid-template-columns: 240px 1fr 80px;
    gap: clamp(28px, 3vw, 48px);
    align-items: center;
    padding: 48px clamp(28px, 3vw, 56px);
    background: var(--ink);
    color: var(--cream);
    border: 1px solid rgba(11,9,7,0.4);
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    box-shadow:
      0 18px 50px rgba(11,9,7,0.25),
      inset 0 1px 0 rgba(244,231,210,0.08);
    transition: transform .6s var(--ease-out);
  }
  .ds-plaque::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at top left, rgba(212,162,58,0.18) 0%, transparent 60%),
      radial-gradient(ellipse at bottom right, rgba(225,31,38,0.06) 0%, transparent 55%);
    pointer-events: none;
  }
  .ds-plaque:hover {
    transform: translateX(8px);
  }
  .ds-plaque-letter {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(120px, 14vw, 220px);
    line-height: 0.85; letter-spacing: -0.04em;
    background: var(--gold-metal);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
  }
  .ds-plaque-letter::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 14%;
    transform: translateX(-50%);
    width: 60%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-base), transparent);
    opacity: 0.5;
  }
  .ds-plaque-body {
    position: relative;
  }
  .ds-plaque-name {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: -0.02em; line-height: 1;
    margin: 0 0 14px;
    color: var(--cream);
  }
  .ds-plaque-name .red { color: var(--red); }
  .ds-plaque-desc {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.55;
    color: var(--cream-90);
    margin: 0;
    max-width: 580px;
  }
  .ds-plaque-num {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 16px; letter-spacing: 0.3em;
    color: var(--cream-40);
    text-align: right;
  }

  @media (max-width: 760px) {
    .ds-plaque {
      grid-template-columns: 1fr;
      text-align: center;
      padding: 36px 28px;
    }
    .ds-plaque-num { text-align: center; }
  }

  /* ============================================================
     CHAPTER IV — ROSTER (trading cards)
     ============================================================ */
  .ds-roster {
    background: var(--ink);
    color: var(--cream);
    position: relative;
  }
  .ds-roster::before {
    content: "";
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(90deg, transparent 0 80px, rgba(244,231,210,0.02) 80px 81px),
      repeating-linear-gradient(0deg, transparent 0 80px, rgba(244,231,210,0.02) 80px 81px);
    pointer-events: none;
  }
  .ds-roster-meta {
    display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center;
    margin-bottom: 38px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--cream-20);
  }
  .ds-roster-meta-cell {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--cream-60);
  }
  .ds-roster-meta-cell strong { color: var(--cream); }

  .ds-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
  }
  .ds-card {
    position: relative;
    aspect-ratio: 0.72;
    perspective: 1200px;
    cursor: none;
  }
  .ds-card-inner {
    position: absolute; inset: 0;
    transform-style: preserve-3d;
    transition: transform .8s var(--ease);
  }
  .ds-card.is-flipped .ds-card-inner {
    transform: rotateY(180deg);
  }
  .ds-card-face {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex; flex-direction: column;
    padding: 22px 20px;
    background: linear-gradient(180deg, #1f1812 0%, #0b0907 100%);
    border: 1px solid rgba(212,162,58,0.35);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    overflow: hidden;
  }
  .ds-card-face::before {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(135deg, transparent 0%, rgba(212,162,58,0.08) 50%, transparent 100%),
      radial-gradient(ellipse at top, rgba(212,162,58,0.15) 0%, transparent 50%);
    pointer-events: none;
  }
  .ds-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(180deg, #0b0907 0%, #1f1812 100%);
  }

  .ds-card-tag {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 9.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold-base);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212,162,58,0.35);
    margin-bottom: 14px;
    position: relative; z-index: 1;
  }
  .ds-card-tag .num { color: var(--cream-60); }

  .ds-card-portrait {
    flex: 1;
    display: flex; align-items: stretch; justify-content: center;
    background: rgba(244,231,210,0.05);
    margin: 0 -4px 14px;
    border: 1px solid var(--cream-20);
    position: relative; z-index: 1;
    overflow: hidden;
  }
  .ds-card-portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 18%;
    filter: contrast(1.06) saturate(1.05);
    transition: transform .6s var(--ease-out), filter .35s var(--ease-out);
  }
  .ds-card:hover .ds-card-portrait img {
    transform: scale(1.04);
    filter: contrast(1.12) saturate(1.15);
  }
  .ds-card-portrait::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11,9,7,0.55) 100%);
    pointer-events: none;
  }

  .ds-card-name {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 22px; letter-spacing: -0.01em; line-height: 1;
    color: var(--cream);
    margin: 0 0 6px;
    position: relative; z-index: 1;
  }
  .ds-card-role {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--miami-light);
    position: relative; z-index: 1;
  }
  .ds-card-flip-hint {
    position: absolute;
    bottom: 14px; right: 16px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 9px;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cream-40);
    z-index: 1;
    display: flex; align-items: center; gap: 6px;
  }

  /* Card back */
  .ds-card-back-inner {
    flex: 1; display: flex; flex-direction: column; justify-content: space-between;
    position: relative; z-index: 1;
  }
  .ds-card-back-name {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 18px; color: var(--cream);
    margin: 0 0 12px;
  }
  .ds-card-stat {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212,162,58,0.25);
  }
  .ds-card-stat:last-of-type { border-bottom: none; }
  .ds-card-stat .lbl {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 9px;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cream-60);
  }
  .ds-card-stat .val {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 700; font-size: 14px;
    color: var(--gold-base); text-align: right;
    max-width: 60%;
    line-height: 1.1;
  }
  .ds-card-sig {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(212,162,58,0.35);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 12px; line-height: 1.45;
    color: var(--cream-90);
    font-style: italic;
  }
  .ds-card-sig::before {
    content: "“";
    color: var(--red); font-size: 24px; line-height: 0;
    vertical-align: -6px; margin-right: 2px;
  }

  /* ============================================================
     CHAPTER V — TROPHY CASE
     ============================================================ */
  .ds-trophy {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  }
  .ds-shelf {
    margin-top: 40px;
    display: flex; flex-direction: column;
    gap: 24px;
  }
  .ds-shelf-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    padding: 36px 22px 40px;
    background:
      linear-gradient(180deg, #1a130a 0%, var(--ink) 100%);
    border: 1px solid rgba(212,162,58,0.4);
    border-radius: 4px;
    box-shadow:
      inset 0 1px 0 rgba(212,162,58,0.28),
      0 16px 40px rgba(11,9,7,0.28);
  }
  .ds-shelf-row::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-base) 30%, var(--gold-base) 70%, transparent);
    opacity: 0.7;
  }
  .ds-shelf-row::after {
    content: "";
    position: absolute;
    left: 8px; right: 8px; bottom: 6px;
    height: 6px;
    background: linear-gradient(180deg, #8a6418 0%, #2a1c08 100%);
    box-shadow:
      0 4px 12px rgba(11,9,7,0.5),
      inset 0 1px 0 rgba(255,236,180,0.5);
  }
  .ds-trophy-tile {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    padding: 24px 14px 18px;
    background: linear-gradient(180deg, var(--cream) 0%, #EBDCC0 100%);
    border: 1px solid rgba(212,162,58,0.35);
    box-shadow:
      0 8px 20px rgba(11,9,7,0.32),
      inset 0 1px 0 rgba(255,255,255,0.4);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
  }
  .ds-trophy-tile:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: 0 18px 36px rgba(11,9,7,0.4), inset 0 1px 0 rgba(255,255,255,0.5);
  }
  .ds-trophy-tile img {
    max-height: 60px; max-width: 100%;
    object-fit: contain;
    margin-bottom: 14px;
  }
  .ds-trophy-plate {
    width: 100%;
    padding: 6px 10px;
    background: var(--gold-metal);
    text-align: center;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9px;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: #2a1d05;
    box-shadow: inset 0 1px 0 rgba(255,236,180,0.7), inset 0 -1px 0 rgba(60,40,5,0.6);
  }

  /* ============================================================
     CHAPTER VI — GAME DAY (closing CTA)
     ============================================================ */
  .ds-gameday {
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .ds-gameday::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(225,31,38,0.18) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(11,211,211,0.12) 0%, transparent 55%);
    pointer-events: none;
  }
  .ds-gameday-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    margin-top: 30px;
    align-items: start;
  }
  .ds-gameday-display {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(48px, 6vw, 96px);
    line-height: 0.94; letter-spacing: -0.025em;
    margin: 0 0 28px;
    color: var(--cream);
  }
  .ds-gameday-display .dl-italic { font-style: italic; font-weight: 700; color: var(--cream-60); }
  .ds-gameday-display .gold {
    background: var(--gold-metal);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
  .ds-gameday-blurb {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 17px; line-height: 1.6;
    color: var(--cream-90);
    margin: 0 0 28px; max-width: 540px;
  }
  .ds-gameday-blurb strong { color: var(--gold-base); font-weight: 700; }
  .ds-gameday-promise {
    list-style: none; padding: 0; margin: 0 0 32px;
  }
  .ds-gameday-promise li {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 14.5px; line-height: 1.5;
    color: var(--cream); padding: 12px 0;
    border-bottom: 1px dashed var(--cream-20);
    display: flex; align-items: center; gap: 14px;
  }
  .ds-gameday-promise li::before {
    content: "✓";
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    color: var(--miami); font-size: 16px;
    width: 24px; flex-shrink: 0;
  }

  /* Form */
  .ds-form {
    background: rgba(244,231,210,0.04);
    border: 1px solid var(--cream-20);
    padding: 32px 28px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    position: relative;
  }
  .ds-form-tag {
    position: absolute; top: -12px; left: 28px;
    padding: 4px 14px;
    background: var(--red); color: var(--cream);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9.5px;
    letter-spacing: 0.3em; text-transform: uppercase;
  }
  .ds-field {
    display: flex; flex-direction: column;
    margin-bottom: 14px;
  }
  .ds-field-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  }
  .ds-field-label {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 9.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--cream-60); margin-bottom: 6px;
  }
  .ds-field-label em { color: var(--red); font-style: normal; }
  .ds-field input, .ds-field select, .ds-field textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(11,9,7,0.45);
    border: 1px solid var(--cream-20);
    color: var(--cream);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13px;
    transition: border-color .2s;
  }
  .ds-field input:focus, .ds-field select:focus, .ds-field textarea:focus {
    outline: none; border-color: var(--miami);
  }
  .ds-field textarea { resize: vertical; min-height: 90px; }
  .ds-consent {
    display: flex; gap: 10px; align-items: flex-start;
    margin-bottom: 10px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 10.5px; line-height: 1.45;
    color: var(--cream-60);
  }
  .ds-consent input { margin-top: 2px; }
  .ds-submit {
    display: inline-flex; align-items: center; gap: 14px;
    margin-top: 14px;
    padding: 14px 24px;
    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% - 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;
  }
  .ds-submit:hover {
    background: var(--red); border-color: var(--red); color: var(--cream);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(225,31,38,0.36);
  }
  .ds-fine {
    margin-top: 12px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 9.5px;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cream-40);
  }

  @media (max-width: 900px) {
    .ds-gameday-grid { grid-template-columns: 1fr; }
    .ds-field-row { grid-template-columns: 1fr; }
  }

  /* ============================================================
     FOOTER — Field-manual sign-off (matches homepage structure)
     ============================================================ */
  .ds-foot {
    background: var(--ink);
    color: var(--cream-60);
    padding: clamp(56px, 5vw, 92px) 0 24px;
    position: relative;
  }
  .ds-foot-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(28px, 3vw, 56px);
    padding-bottom: clamp(40px, 4vw, 64px);
    position: relative;
  }
  .ds-foot-top::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cream-20) 30%, var(--cream-20) 70%, transparent);
  }
  .ds-foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 380px; }
  .ds-foot-mark img { height: 64px; width: auto; }
  .ds-foot-brand p {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13px; line-height: 1.6;
    color: var(--cream-60); margin: 0;
  }
  .ds-foot-social {
    display: flex; gap: 10px; align-items: center;
  }
  .ds-foot-social a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: rgba(244,231,210,0.05);
    border: 1px solid var(--cream-20);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
    transition: background .25s, transform .25s, border-color .25s, box-shadow .25s;
  }
  .ds-foot-social a img {
    width: 18px; height: 18px;
    filter: brightness(0) invert(1);
    transition: filter .25s;
    opacity: 0.8;
  }
  .ds-foot-social a:hover {
    background: rgba(225,31,38,0.12);
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(225,31,38,0.32);
  }
  .ds-foot-social a:hover img { opacity: 1; }
  .ds-foot-label {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700;
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--cream-40); margin-bottom: 16px;
  }
  .ds-foot-col ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 9px;
  }
  .ds-foot-col a {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13px; letter-spacing: 0.01em;
    color: var(--cream-60);
    transition: color .2s;
  }
  .ds-foot-col a:hover { color: var(--miami-light); }
  .ds-foot-bottom {
    margin-top: clamp(28px, 3vw, 48px);
    padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap;
    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-40);
  }
  .ds-foot-bottom strong { color: var(--cream); }
  @media (max-width: 900px) {
    .ds-foot-top { grid-template-columns: 1fr 1fr; }
    .ds-foot-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 560px) {
    .ds-foot-top { grid-template-columns: 1fr; }
  }

  /* ============================================================
     Section connectors / sticky CTA
     ============================================================ */
  .sticky-cta {
    position: fixed; bottom: 22px; right: 22px;
    z-index: 80;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 18px;
    background-image: var(--gold-metal);
    color: var(--ink);
    border: 2px solid transparent;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.24em; text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    box-shadow: 0 18px 40px rgba(11,9,7,0.32);
    opacity: 0; pointer-events: none;
    transform: translateY(20px);
    transition: opacity .4s, transform .4s, background-image .25s, color .25s, box-shadow .25s;
  }
  .sticky-cta.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .sticky-cta.is-on:hover {
    background-image: linear-gradient(180deg, var(--red), var(--red-deep));
    color: var(--cream);
    box-shadow: 0 22px 48px rgba(225,31,38,0.42);
    transform: translateY(-3px);
  }
  @media (max-width: 720px) { .sticky-cta { display: none; } }

  /* ====== RESPONSIVE FIXES (v5 mobile pass) ====== */
  img, svg { max-width: 100%; height: auto; }
  @media (max-width: 600px) {
    .ds-hero-title { font-size: 44px; }
    .ds-gameday-display { font-size: 38px; }
    .chapter-roman { font-size: 80px; }
    .ds-plaque-letter { font-size: 90px; }
    .ds-hunger-word { font-size: 60px; }
  }

/* === 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 Loveland 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; }
}
