/* ==========================================================================
   The Mezzanine - Design System
   Ink/Paper/Mezzanine-Blue palette, DM Serif Display + Inter.
   ========================================================================== */

:root {
  /* reactive theme tokens - redefined under [data-theme="dark"] */
  --ink: #0F0F0F;
  --paper: #FAFAF8;
  --surface: #FFFFFF;
  --blue: #2563EB;
  --blue-deep: #1E40AF;
  --blue-wash: #DBEAFE;
  --mid: #6B6B68;
  --warm-gray: #E8E7E3;
  --stone: #D4D4D0;

  /* fixed accent token - small UI details (floor-rail ring, form focus
     ring) that aren't page backgrounds, kept as one constant pale blue
     regardless of theme. */
  --band-blue-light: #DBEAFE;

  /* accent-on-ink: for text/labels sitting on a var(--ink)-colored
     background. --ink is dark in light mode and light in dark mode, so a
     plain --blue accent can't stay legible across both - this token is
     defined as the INVERSE of --blue-deep's normal light/dark values so it
     always contrasts against whatever --ink currently renders as. */
  --accent-on-ink: #8AB4FF;

  --font-display: "DM Serif Display", "Iowan Old Style", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --container: 1200px;
  --gutter: clamp(24px, 6vw, 64px);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* layered, tinted elevation system */
  --shadow-elevated:
    0 1px 2px rgba(15, 15, 15, 0.04),
    0 8px 24px -8px rgba(37, 99, 235, 0.10),
    0 2px 8px -2px rgba(15, 15, 15, 0.06);
  --shadow-floating:
    0 4px 8px rgba(15, 15, 15, 0.04),
    0 24px 48px -12px rgba(37, 99, 235, 0.16),
    0 8px 16px -4px rgba(15, 15, 15, 0.08);
  --shadow-nav: 0 1px 0 rgba(15, 15, 15, 0.06), 0 12px 24px -16px rgba(15, 15, 15, 0.12);
}

/* ---------- dark theme ---------- */
[data-theme="dark"] {
  --ink: #F3F2ED;
  --paper: #121212;
  --surface: #1C1C1B;
  --blue: #5B8DEF;
  --blue-deep: #9DC0FF;
  --blue-wash: #1E3352;
  --mid: #9C9B94;
  --warm-gray: #232321;
  --stone: #3A3A37;
  --accent-on-ink: #1E40AF;

  --shadow-elevated:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 8px 24px -8px rgba(91, 141, 239, 0.22),
    0 2px 8px -2px rgba(0, 0, 0, 0.4);
  --shadow-floating:
    0 4px 10px rgba(0, 0, 0, 0.55),
    0 24px 48px -12px rgba(91, 141, 239, 0.28),
    0 10px 20px -4px rgba(0, 0, 0, 0.5);
  --shadow-nav: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 24px -16px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] body { -webkit-font-smoothing: antialiased; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Focus visibility - never removed, only restyled */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- grain texture (subtle, layered over hero) ---------- */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* ---------- type scale ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}
h1.display { font-size: clamp(40px, 6vw, 84px); }
h2.display { font-size: clamp(32px, 4.4vw, 56px); }
h3.display { font-size: clamp(26px, 3vw, 40px); }

.heading {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.heading-lg { font-size: clamp(22px, 2.4vw, 28px); }
.heading-md { font-size: 20px; }

.body-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mid);
}
.body-lg { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }

.small-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mid);
}

.label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- layout helpers ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.section-tight { padding-top: var(--space-6); padding-bottom: var(--space-6); }

@media (max-width: 767px) {
  .section { padding-top: var(--space-6); padding-bottom: var(--space-6); }
  .section-tight { padding-top: var(--space-4); padding-bottom: var(--space-4); }
}

/* ---------- splash / loading screen ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s var(--ease-out);
}
.splash-mark-wrap {
  opacity: 0;
  transform: scale(0.92);
  animation: splash-in 0.5s var(--ease-spring) forwards;
}
.splash-mark-wrap svg { width: 72px; height: 72px; display: block; }
.splash-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: splash-draw 0.6s var(--ease-out) 0.35s forwards;
}
@keyframes splash-in { to { opacity: 1; transform: scale(1); } }
@keyframes splash-draw { to { stroke-dashoffset: 0; } }
.splash.is-hiding { opacity: 0; }
.splash.is-hidden { display: none; }
@media (prefers-reduced-motion: reduce) {
  .splash-mark-wrap { animation: none; opacity: 1; transform: none; }
  .splash-line { animation: none; stroke-dashoffset: 0; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.is-scrolled {
  border-color: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: var(--shadow-nav);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-2);
}
.nav-inner-left { display: flex; align-items: center; gap: var(--space-3); }

/* ---------- theme toggle ---------- */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 52px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: var(--warm-gray);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.16s var(--ease-out);
}
.theme-toggle:hover { border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.theme-toggle:active { transform: scale(0.96); }
.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-elevated);
  transition: transform 0.3s var(--ease-spring), background 0.3s var(--ease-out);
}
[data-theme="dark"] .theme-toggle-thumb { transform: translateX(24px); }
.theme-toggle-icon {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.theme-toggle-icon--sun { color: var(--blue-deep); opacity: 1; }
.theme-toggle-icon--moon { color: var(--mid); opacity: 0.5; }
[data-theme="dark"] .theme-toggle-icon--sun { color: var(--mid); opacity: 0.5; }
[data-theme="dark"] .theme-toggle-icon--moon { color: var(--blue); opacity: 1; }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.nav-logo .wordmark { font-family: var(--font-sans); font-size: 15px; line-height: 1.2; }
.nav-logo .wordmark span { display: block; }
.nav-logo .wordmark .the { color: var(--mid); font-size: 11px; letter-spacing: 0.03em; }
.nav-logo .wordmark .mezzanine { font-weight: 700; color: var(--ink); }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-spring);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--blue); }

.nav .nav-cta { display: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease-spring), opacity 0.25s var(--ease-out);
  margin-left: auto;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: var(--space-5) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 32px; padding: var(--space-1) 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  min-height: 44px;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-elevated);
}
.btn-primary:hover { background: var(--blue-deep); box-shadow: var(--shadow-floating); transform: translateY(-2px); }
.btn-primary:focus-visible { outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
}
.btn-ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 3%, transparent); transform: translateY(-2px); }

.btn-accent {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.45);
}
.btn-accent:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(37, 99, 235, 0.55); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease-spring), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.link-arrow:hover { gap: 12px; border-color: var(--blue); color: var(--blue-deep); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------- cards / depth system ---------- */
.surface-base { background: var(--paper); }
.surface-elevated {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.surface-elevated:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
  border-color: var(--blue-wash);
}
.surface-floating {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-floating);
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- mezzanine motif (recurring structural graphic) ----------
   Note: colors on the motif symbols are set as hardcoded presentation
   attributes (stroke=/fill=) directly in the markup, not via these classes.
   CSS class selectors cannot cross the <use>/<symbol> shadow boundary in
   SVG, so styling must live on the element itself (attribute or inline
   style) or use `currentColor` resolved from an ancestor's `color`. */
.motif-divider { display: block; width: 100%; height: auto; }
.motif-hero { width: 100%; height: auto; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
/* .motif-float elements set their animation via inline style (same
   shadow-boundary reason above); main.js disables it for reduced motion. */

/* ---------- scroll progress indicator (elevator rail) ---------- */
.floor-rail {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 200px;
  z-index: 60;
  display: none;
}
@media (min-width: 1100px) { .floor-rail { display: block; } }
.floor-rail .rail-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1.5px;
  background: var(--stone);
  transform: translateX(-50%);
}
.floor-rail .rail-dot {
  position: absolute;
  left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--stone);
  transform: translate(-50%, -50%);
}
.floor-rail .rail-dot.top { top: 0; }
.floor-rail .rail-dot.mid { top: 50%; }
.floor-rail .rail-dot.bottom { top: 100%; }
.floor-rail .rail-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--band-blue-light);
  transform: translate(-50%, -50%);
  transition: top 0.1s linear;
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); }
.footer .mid-text { color: color-mix(in srgb, var(--paper) 56%, transparent); }
.footer a { transition: color 0.25s var(--ease-out); }
.footer a:hover { color: var(--accent-on-ink); }
.footer .footer-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer .divider { border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  min-height: 44px;
}
.field input:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--ink) 32%, transparent); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--band-blue-light);
}
.field .hint { font-size: 12px; color: var(--mid); }
.field.has-error input, .field.has-error textarea { border-color: #DC2626; }
.field .error-msg { font-size: 12px; color: #DC2626; display: none; }
.field.has-error .error-msg { display: block; }

/* Netlify honeypot - kept out of the layout and the a11y tree, but still a
   real focusable input so a bot fills it and the submission gets dropped. */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }

/* Submit-level failure (network / Netlify error) - lives outside .field, so it
   needs its own show rule rather than the .has-error one above. */
#form-error { font-size: 13px; color: #DC2626; margin: 0; display: none; }
#form-error:not([hidden]) { display: block; }
[data-theme="dark"] .field .error-msg,
[data-theme="dark"] #form-error { color: #FF8A80; }

/* ---------- logo marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: var(--space-4) 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--space-7);
  animation: marquee-scroll 44s linear infinite;
}
.marquee:hover .marquee-track,
.marquee-track.is-paused {
  animation-play-state: paused;
}
.marquee-track a {
  position: relative;
  display: block;
  border-radius: 4px;
  flex-shrink: 0;
}
.marquee-track img {
  position: relative;
  height: 44px;
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.marquee-track a:hover img,
.marquee-track a:focus-visible img {
  filter: grayscale(0) opacity(1);
}

/* Dark theme: every client mark here is dark ink on transparent, so plain
   grayscale() leaves near-black artwork on a near-black page. Flatten each
   logo to a single light silhouette instead (brightness(0) crushes the art to
   black while keeping its alpha, invert(1) lifts it to white) - same quiet
   grey read as the light theme, but actually legible. Hover still restores
   the real brand colour, over a paper plate so navy/black marks stay visible. */
[data-theme="dark"] .marquee-track a::before {
  content: "";
  position: absolute;
  inset: -10px -16px;
  border-radius: 8px;
  background: var(--ink);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
  pointer-events: none;
}
[data-theme="dark"] .marquee-track img {
  filter: brightness(0) invert(1) opacity(0.5);
}
[data-theme="dark"] .marquee-track a:hover::before,
[data-theme="dark"] .marquee-track a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
[data-theme="dark"] .marquee-track a:hover img,
[data-theme="dark"] .marquee-track a:focus-visible img {
  filter: none;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  [data-theme="dark"] .marquee-track a::before { transform: none; transition: opacity 0.2s linear; }
  [data-theme="dark"] .marquee-track a:hover::before,
  [data-theme="dark"] .marquee-track a:focus-visible::before { transform: none; }
}

/* ---------- misc ---------- */
.eyebrow-rule { display: flex; align-items: center; gap: 12px; }
.eyebrow-rule .rule { flex: 1; height: 1px; background: var(--stone); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--warm-gray);
  color: var(--mid);
  font-size: 12px;
  font-weight: 500;
}

.quote-callout {
  border-left: 2px solid var(--blue);
  padding-left: var(--space-3);
}

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-wash);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
  flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; }

.thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--warm-gray);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.02); }
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.55), rgba(15,15,15,0) 55%);
}
.card-soon,
.reveal.card-soon.in-view { opacity: 0.5; }
.card-soon .thumb img { filter: grayscale(1); }

.thumb .color-treat {
  position: absolute; inset: 0;
  background: var(--blue-deep);
  opacity: 0.12;
  mix-blend-mode: multiply;
}
