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

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


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




  

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

  body::before {
    content: "";
    position: fixed; inset: 0;
    background:
      repeating-linear-gradient(180deg, transparent 0 30px, rgba(60,40,15,0.022) 30px 31px);
    pointer-events: none; z-index: 0; opacity: 0.55;
  }

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

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

  /* ============= FOLIO STRIP ============= */
  .fl-folio {
    margin-top: 92px;
    background: var(--ink); color: var(--cream);
    padding: 12px 0;
    border-bottom: 3px double var(--cream-20);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
  }
  .fl-folio-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    color: var(--cream-60);
  }
  .fl-folio-inner strong { color: var(--gold-bright); }
  .fl-folio-inner .breadcrumb a { color: var(--miami-light); transition: color .25s; }
  .fl-folio-inner .breadcrumb a:hover { color: var(--red); }
  .fl-folio-inner .breadcrumb { display: inline-flex; align-items: center; gap: 8px; }
  .fl-folio-inner .breadcrumb .sep { color: var(--cream-40); }

  /* ============= ARTICLE HEAD ============= */
  .fl-head {
    padding: 60px 0 50px;
    border-bottom: 1px solid var(--rule);
  }
  .fl-dateline {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 22px;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--ink-60);
  }
  .fl-dateline .desk {
    padding: 4px 10px;
    background: var(--red); color: var(--cream);
  }
  .fl-dateline strong { color: var(--ink); }
  .fl-dateline .live {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--red);
  }
  .fl-dateline .live::before {
    content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%;
    animation: pulse 1.6s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
  }

  .fl-h1 {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(40px, 6vw, 96px);
    line-height: 0.95; letter-spacing: -0.025em;
    margin: 0 0 22px;
    color: var(--ink);
    max-width: 22ch;
  }
  .fl-h1 em { font-style: italic; font-weight: 700; color: var(--ink-60); }
  .fl-h1 .accent-red { color: var(--red); }

  .fl-deck {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-style: italic; font-weight: 700;
    font-size: clamp(18px, 1.4vw, 24px);
    line-height: 1.5; letter-spacing: -0.005em;
    color: var(--ink);
    margin: 0 0 32px;
    max-width: 56ch;
  }

  .fl-byline {
    display: flex; align-items: center; gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 11px;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-60);
    flex-wrap: wrap;
  }
  .fl-byline .author {
    display: inline-flex; align-items: center; gap: 12px;
  }
  .fl-byline .author-pic {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(180deg, #1a1410 0%, var(--ink) 100%);
    color: var(--gold-bright);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900; font-size: 14px;
    border: 1px solid var(--gold-base);
  }
  .fl-byline .author-name {
    color: var(--ink); font-family: var(--font-forma-djr-display), "DJR Display"; font-style: italic;
    font-size: 18px; letter-spacing: -0.005em; text-transform: none;
  }
  .fl-byline .meta { color: var(--ink-60); }
  .fl-byline strong { color: var(--ink); }
  .fl-byline .sep { opacity: 0.45; }

  /* ============= HERO ART (editorial poster) ============= */
  .fl-art {
    margin-top: 38px;
    aspect-ratio: 21 / 10;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ink);
    box-shadow: 0 30px 70px rgba(11,9,7,0.22);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  }
  .fl-art::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 30%, rgba(212,162,58,0.32) 0%, transparent 55%),
      radial-gradient(ellipse at 70% 75%, rgba(225,31,38,0.22) 0%, transparent 55%);
  }
  .fl-art .quote {
    position: absolute;
    bottom: 32px; left: 36px; right: 36px;
    color: var(--cream);
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(28px, 3.5vw, 56px);
    line-height: 0.98; letter-spacing: -0.025em;
    max-width: 70%;
  }
  .fl-art .quote em { font-style: italic; color: var(--gold-bright); }
  .fl-art .quote .accent-red { color: var(--red); }
  .fl-art .credit {
    position: absolute; top: 20px; right: 24px;
    padding: 5px 10px;
    background: rgba(244,231,210,0.92);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9.5px;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--ink);
  }

  /* ============= ARTICLE BODY (with sidebar) ============= */
  .fl-body-section {
    padding: 60px 0 70px;
  }
  .fl-body-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(40px, 4vw, 80px);
  }
  .fl-body {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 18px; line-height: 1.75;
    color: var(--ink);
    max-width: 64ch;
  }
  .fl-body p { margin: 0 0 22px; }
  .fl-body p strong { color: var(--ink); font-weight: 700; }
  .fl-body p:first-of-type::first-letter {
    initial-letter: 3;
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    color: var(--red);
    margin-right: 10px;
    font-size: 5.6em;
    line-height: 0.85;
    float: left;
    padding: 6px 12px 0 0;
  }
  .fl-body h2 {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.1; letter-spacing: -0.015em;
    margin: 44px 0 18px;
    color: var(--ink);
  }
  .fl-body h2 em { font-style: italic; font-weight: 700; color: var(--ink-60); }
  .fl-body h2 .accent-red { color: var(--red); }
  .fl-body h3 {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 22px; line-height: 1.2;
    margin: 32px 0 14px;
    color: var(--ink);
  }
  .fl-body ul, .fl-body ol {
    padding-left: 24px;
    margin: 0 0 22px;
  }
  .fl-body li {
    margin-bottom: 10px;
    line-height: 1.7;
  }
  .fl-body li::marker { color: var(--red); }
  .fl-body a {
    color: var(--miami-deep, #079D9D);
    border-bottom: 1px solid var(--miami-deep, #079D9D);
    transition: color .25s, border-color .25s;
  }
  .fl-body a:hover {
    color: var(--red); border-bottom-color: var(--red);
  }

  /* Pull quote — big editorial */
  .fl-pull {
    margin: 36px -22px;
    padding: 28px 26px;
    background: var(--ink);
    color: var(--cream);
    border-left: 6px solid var(--red);
    position: relative;
  }
  .fl-pull p {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-style: italic; font-weight: 700;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.3; letter-spacing: -0.005em;
    color: var(--gold-bright);
    margin: 0;
  }
  .fl-pull p::before {
    content: """;
    color: var(--red); font-size: 1.4em; line-height: 0;
    vertical-align: -0.25em; margin-right: 6px;
  }
  .fl-pull .src {
    margin-top: 12px;
    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);
  }

  /* Receipt callout box */
  .fl-receipt {
    margin: 30px 0;
    padding: 26px 24px;
    background:
      linear-gradient(180deg, rgba(244,220,142,0.12) 0%, rgba(244,220,142,0.04) 100%);
    border: 1px solid rgba(212,162,58,0.4);
    border-left: 6px solid var(--gold-base);
  }
  .fl-receipt-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 4px 10px;
    background: var(--gold-base); color: var(--ink);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    margin-bottom: 16px;
  }
  .fl-receipt-h {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.1; letter-spacing: -0.015em;
    color: var(--ink); margin: 0 0 10px;
  }
  .fl-receipt-h .stat {
    background: var(--gold-metal);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
  .fl-receipt p {
    margin: 0;
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 15.5px; line-height: 1.6;
    color: var(--ink);
  }

  /* Sidebar */
  .fl-side {
    position: sticky;
    top: 110px;
    align-self: start;
  }
  .fl-side-panel {
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
    border: 1px solid var(--ink);
    margin-bottom: 22px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }
  .fl-side-panel h4 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--red);
    display: flex; justify-content: space-between; align-items: center;
  }
  .fl-side-panel h4 .ix {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900; color: var(--ink-60);
  }
  .fl-side-panel ul { list-style: none; padding: 0; margin: 0; }
  .fl-side-panel li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--rule);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13.5px; line-height: 1.45;
    color: var(--ink);
  }
  .fl-side-panel li:last-child { border-bottom: none; }
  .fl-side-panel li strong { color: var(--red); }
  .fl-side-panel li a:hover { color: var(--red); }

  .fl-toc { font-size: 13px; }
  .fl-toc li::before {
    content: "§";
    color: var(--red); margin-right: 8px;
  }

  .fl-side-quote {
    margin-bottom: 22px;
    padding: 22px;
    background: var(--ink); color: var(--cream);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }
  .fl-side-quote .lbl {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9.5px;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--miami-light); margin-bottom: 14px;
  }
  .fl-side-quote .num {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: 54px; line-height: 0.95; letter-spacing: -0.025em;
    background: var(--gold-metal);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
  }
  .fl-side-quote .sub {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13px; line-height: 1.5;
    color: var(--cream-90);
  }

  @media (max-width: 1000px) {
    .fl-body-grid { grid-template-columns: 1fr; }
    .fl-side { position: static; }
    .fl-body p:first-of-type::first-letter { font-size: 4em; }
  }

  /* ============= FILED UNDER ============= */
  .fl-tags {
    margin-top: 50px;
    padding-top: 26px;
    border-top: 3px double var(--ink);
  }
  .fl-tags-label {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--ink-60); margin-bottom: 14px;
  }
  .fl-tags-row {
    display: flex; gap: 10px; flex-wrap: wrap;
  }
  .fl-tag {
    padding: 8px 14px;
    background: transparent;
    border: 1.5px solid var(--ink);
    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(--ink);
    transition: all .25s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  }
  .fl-tag:hover { background: var(--red); color: var(--cream); border-color: var(--red); }

  /* ============= AUTHOR ============= */
  .fl-author-card {
    margin-top: 46px;
    padding: 30px 28px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 22px;
    align-items: center;
    background: var(--paper-deep);
    border: 1px solid var(--ink);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  }
  .fl-author-pic {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(180deg, #1a1410 0%, var(--ink) 100%);
    color: var(--gold-bright);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900; font-size: 32px;
    border: 1px solid var(--gold-base);
  }
  .fl-author-name {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800; font-size: 22px;
    color: var(--ink); margin: 0 0 4px;
  }
  .fl-author-role {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 10.5px;
    letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--red); margin-bottom: 10px;
  }
  .fl-author-bio {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 14px; line-height: 1.55;
    color: var(--ink-60); margin: 0;
    max-width: 540px;
  }
  .fl-author-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    background: var(--ink); color: var(--cream);
    border: 2px solid var(--ink);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.24em; text-transform: uppercase;
    cursor: none;
    transition: background .25s, color .25s, transform .2s, box-shadow .25s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  }
  .fl-author-cta:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(225,31,38,0.36); }
  .fl-author-cta svg { width: 14px; height: 8px; }
  @media (max-width: 760px) { .fl-author-card { grid-template-columns: 1fr; text-align: center; } .fl-author-pic { margin: 0 auto; } }

  /* ============= RELATED ============= */
  .fl-related {
    padding: 70px 0;
    background:
      linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
    border-top: 3px double var(--ink);
  }
  .fl-related h2 {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1; letter-spacing: -0.02em;
    margin: 0 0 32px;
    color: var(--ink);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ink);
    display: flex; justify-content: space-between; align-items: flex-end;
  }
  .fl-related h2 em { font-style: italic; font-weight: 400; color: var(--ink-60); }
  .fl-related h2 .accent-red { color: var(--red); }
  .fl-related h2 .sub {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 10.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--red);
  }
  .fl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .fl-rel {
    padding-top: 18px;
    border-top: 3px solid var(--ink);
    transition: border-color .25s;
  }
  .fl-rel:hover { border-top-color: var(--red); }
  .fl-rel-tag {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 9.5px;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--red); margin-bottom: 10px;
  }
  .fl-rel-h {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 800;
    font-size: 22px; line-height: 1.15;
    color: var(--ink); margin: 0 0 12px;
    transition: color .25s;
  }
  .fl-rel:hover .fl-rel-h { color: var(--red); }
  .fl-rel-deck {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 13.5px; line-height: 1.55;
    color: var(--ink-60); margin: 0 0 12px;
  }
  .fl-rel-byline {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 700; font-size: 9.5px;
    letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--ink-60);
  }
  .fl-rel-byline strong { color: var(--ink); }
  @media (max-width: 900px) { .fl-related-grid { grid-template-columns: 1fr; } }

  /* ============= CLOSING CTA ============= */
  .fl-close {
    padding: 90px 0;
    background: var(--ink); color: var(--cream);
    text-align: center;
    position: relative; overflow: hidden;
  }
  .fl-close::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(225,31,38,0.16) 0%, transparent 55%);
  }
  .fl-close-inner { position: relative; max-width: 740px; margin: 0 auto; }
  .fl-close h2 {
    font-family: var(--font-forma-djr-display), "DJR Display"; font-weight: 900;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1; letter-spacing: -0.025em;
    color: var(--cream); margin: 0 0 18px;
  }
  .fl-close h2 em { font-style: italic; font-weight: 700; color: var(--cream-60); }
  .fl-close h2 .gold { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .fl-close h2 .accent-red { color: var(--red); }
  .fl-close p {
    font-family: var(--font-forma-djr-text), "DJR Text"; font-size: 17px; line-height: 1.6;
    color: var(--cream-90);
    margin: 0 auto 30px; max-width: 560px;
  }
  .fl-close-cta {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 18px 34px;
    background: var(--miami); color: var(--ink);
    border: 2px solid var(--miami);
    font-family: var(--font-forma-djr-text), "DJR Text"; font-weight: 800; font-size: 12px;
    letter-spacing: 0.24em; text-transform: uppercase;
    cursor: none;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .25s;
  }
  .fl-close-cta:hover { background: var(--red); border-color: var(--red); color: var(--cream); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(225,31,38,0.42); }
  .fl-close-cta svg { width: 16px; height: 9px; }

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

  .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); }

  /* ====== RESPONSIVE FIXES (v5 mobile pass) ====== */
  img, svg { max-width: 100%; height: auto; }
  @media (max-width: 600px) {
    .fl-side-quote .num { font-size: 36px; }
    .fl-h1 { font-size: 38px; }
    .fl-art .quote { font-size: 24px; }
    .fl-close h2 { font-size: 36px; }
    .fl-related-grid { grid-template-columns: 1fr; }
    .fl-body p:first-of-type::first-letter { font-size: 3.4em; }
  }
  @media (max-width: 900px) {
    .fl-related-grid { grid-template-columns: 1fr 1fr; }
  }

/* === 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 trailing <style> */

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