
.vrect {
  --bg: var(--bx-bg);
  --frame-max: 1800px;
  --gutter-side: clamp(40px, 8vw, 112px);
  --tile-gap: 16px;
  /* asymmetric corner radius: top-left + bottom-right curved, the other two square */
  --r: 22px 0 22px 0;
  --tile-cream: var(--bx-tile-surface);
  --tile-cream-2: var(--bx-tile-surface-2);
  --tile-cream-3: var(--bx-tile-surface-3);
  --tile-peach: #FBDBB3;
  --tile-blue: #4F5BE7;
  --tile-blue-soft: #A8B3FF;
  --tile-ox: #B42D45;
  --tile-pink: #E8B7BD;
  --tile-lime: #C9E36B;
  --tile-ink: var(--bx-tile-ink);
  --tile-yellow: #F2D24A;
  --ink: var(--bx-ink);
  --ink-2: var(--bx-ink-2);
  --ink-3: var(--bx-ink-3);
  --paper: var(--bx-paper);
  background: var(--bg);
  color: var(--paper);
  min-height: 100vh;
}

/* ── Nav re-skin on dark, aligned to the frame ─────────────────────────────── */
.vrect .bx-nav {
  background: var(--bx-nav-bg, rgba(15, 13, 10, 0.72)) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 0;
  color: var(--paper);
  padding-left: var(--gutter-side) !important;
  padding-right: var(--gutter-side) !important;
  max-width: var(--frame-max);
  margin: 0 auto;
}
.vrect .bx-nav-links a { color: var(--bx-nav-link-color, rgba(244,236,220,0.65)); }
.vrect .bx-nav-links a:hover,
.vrect .bx-nav-links a[style] { color: var(--paper) !important; }
.vrect .bx-nav .bx-cta {
  color: var(--paper); border-color: var(--bx-cta-border, rgba(244,236,220,0.45));
  border-radius: 999px;
}
.vrect .bx-nav .bx-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ── Frame ─────────────────────────────────────────────────────────────────── */
.vrect-frame {
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: 28px var(--gutter-side) 64px;
  container-type: inline-size;
  container-name: vrf;
}

/* ── Monumental wordmark ──────────────────────────────────────────────────── */
.vrect-mark {
  padding: 12px 0 22px;
  margin-bottom: var(--tile-gap);
  position: relative;
  overflow: visible;
}
.vrect-mark h1 {
  margin: 0 0 0 -25px;
  display: block;
  line-height: 1;
  overflow: visible;
}
.vrect-mark h1 svg { width: 96%; height: auto; display: block; overflow: visible; }
.vrect-mark h1 .dim { color: var(--bx-fg-dim, rgba(244,236,220,0.18)); }
.vrect-mark h1 .accent { color: var(--bx-accent-text, var(--tile-yellow)); }
.vrect-mark .meta {
  position: absolute; top: 18px; right: 0;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bx-fg-dim, rgba(244,236,220,0.55));
  display: flex; gap: 22px;
}

/* ── Hero pillars (three big cards across the top) ─────────────── */
.vrect-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tile-gap);
  margin-bottom: var(--tile-gap);
}
.hero-pillar {
  border-radius: var(--r);
  padding: 36px 38px 38px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 620px;
}
.hero-pillar .hp-body {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
  margin-top: 28px;
}
.hero-pillar .hp-num-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(26,24,21,0.14);
}
.hero-pillar .hp-num {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.7;
}
.hero-pillar .hp-num b {
  font-family: var(--font-mono);
  font-weight: 500; font-size: 22px;
  letter-spacing: -0.02em;
}
.hero-pillar .hp-arrow {
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(26,24,21,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 16px; color: currentColor;
}
.hero-pillar h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 4.8vw, 80px);
  line-height: 0.92; letter-spacing: -0.045em; font-weight: 500;
  margin: 0; max-width: 10ch;
  text-wrap: balance;
}
.hero-pillar h2 em {
  font-family: "Instrument Serif", serif; font-style: italic;
  letter-spacing: -0.02em;
}
.hero-pillar p {
  font-size: 18.5px; line-height: 1.45; margin: 0;
  max-width: 32ch; opacity: 0.92;
  letter-spacing: -0.005em;
}
.hero-pillar p b { font-weight: 500; opacity: 1; }
.hero-pillar .hp-eyebrow {
  margin-top: auto; padding-top: 22px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.75;
}

/* hp-1 — cream base */
.hp-1 { background: var(--tile-cream); color: var(--bx-tile-ink, var(--ink)); }

/* hp-2 — 5% darker than hp-1 */
.hp-2 { background: var(--tile-cream-2); color: var(--bx-tile-ink, var(--ink)); }

/* hp-3 — 10% darker than hp-1 (5% darker than hp-2) */
.hp-3 { background: var(--tile-cream-3); color: var(--bx-tile-ink, var(--ink)); }

/* ── Lower row: 2 side cards + 1 bigger callout ─────────────────── */
.vrect-aside {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: var(--tile-gap);
  margin-bottom: var(--tile-gap);
}
.vrect-aside > .hero-right {
  grid-column: 1 / span 4;
  display: flex; flex-direction: column; gap: var(--tile-gap);
}
.vrect-aside > .vrect-bottom {
  grid-column: 5 / -1;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--tile-gap);
}
.vrect-aside .bc-icons { grid-column: 1 / span 4; }
.vrect-aside .bc-chart { grid-column: 5 / span 4; }

/* ── Brand-logo tile row ──────────────────────────────────────────────────── */
.vrect-logos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--tile-gap);
  margin-bottom: var(--tile-gap);
}
.logo-tile {
  grid-column: span 2;
  aspect-ratio: 1;
  border-radius: var(--r);
  position: relative; overflow: hidden;
  transition: background-color 0.38s cubic-bezier(0.85, 0, 0.15, 1);
}
.lt-slider {
  display: flex; flex-direction: column;
  width: 100%; height: 200%;
  position: absolute; top: 0; left: 0;
  transition: transform 0.38s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform;
}
.logo-tile:hover .lt-slider {
  transform: translateY(-50%);
}
.lt-slide-top, .lt-slide-bottom {
  width: 100%; height: 50%;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  padding: 22px;
}
.lt-slide-top {
  color: var(--bx-brand-paper, var(--paper));
}
.lt-slide-top svg { width: 52%; height: auto; display: block; }
.lt-slide-bottom {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--bx-brand-ink, var(--ink));
  text-align: center;
}
.lt-recursica { background: #DD2C56; }
.lt-recursica .lt-slide-bottom { background-color: #E84368; }
.logo-tile:hover.lt-recursica { background: #E84368; }
.lt-n8n       { background: #EA4B71; }
.lt-n8n .lt-slide-bottom { background-color: #EA4B71; }
.logo-tile:hover.lt-n8n { background: #EA4B71; }
.lt-claude    { background: #D97757; }
.lt-claude .lt-slide-bottom { background-color: #D97757; }
.logo-tile:hover.lt-claude { background: #D97757; }
.lt-gemini    { background: #3186FF; }
.lt-gemini .lt-slide-bottom { background-color: #3186FF; }
.lt-gemini .lt-gemini-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #F4ECDC 0%, #D6E0FF 60%, #F4ECDC 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: block; text-align: center;
}
.logo-aside {
  --bx-brand-ink: var(--bx-light-tile-fg, #1C1E23);
  --bx-brand-paper: #FFFFFF;
  grid-column: span 4;
  background: var(--tile-yellow); color: var(--bx-brand-ink, var(--ink));
  border-radius: var(--r);
  padding: 32px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.logo-aside .la-eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(26,24,21,0.7);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,24,21,0.22);
}
.logo-aside h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 2.6vw, 48px);
  letter-spacing: -0.04em; font-weight: 700;
  line-height: 1.0; margin: 0;
  max-width: 14ch; text-wrap: balance;
  color: var(--bx-brand-ink, var(--ink));
}
@media (min-width: 1700px) {
  .logo-aside h3 { font-size: 52px; }
}
.logo-aside .la-learn {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--bx-brand-ink, var(--ink));
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1), border-bottom-color .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo-aside .la-learn:hover { opacity: 0.85; border-bottom-color: currentColor; }
@media (max-width: 1100px) {
  .vrect-logos { grid-template-columns: repeat(4, 1fr); }
  .logo-tile { grid-column: span 1; }
  .logo-aside { grid-column: 1 / -1; aspect-ratio: auto; min-height: 160px; }
}
@media (max-width: 600px) {
  .vrect-logos { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { grid-column: span 1; }
}

/* keep these declarations for layout fallback */
.side-card {
  border-radius: var(--r);
  padding: 30px 32px 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.side-card .sc-eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 10px; opacity: 0.75;
}
.side-card h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 500;
  margin: 0; max-width: 14ch;
}
.side-card p {
  margin-top: 12px; font-size: 14.5px;
  line-height: 1.5; max-width: 30ch; opacity: 0.90;
}

/* Top right — Recursica-themed lime card with globe lattice */
.sc-globe {
  background: var(--tile-lime); color: var(--ink);
  flex: 1.1;
}
.sc-globe .globe {
  position: absolute; top: 50%; right: -20%;
  width: 110%; aspect-ratio: 1; transform: translateY(-50%);
  opacity: 0.55; pointer-events: none;
}
.sc-globe .globe svg { width: 100%; height: 100%; }
.sc-globe h3, .sc-globe .sc-eyebrow, .sc-globe p { position: relative; z-index: 1; }
.sc-globe h3 { margin-top: auto; }

/* Bottom right — pink card with circular bubble cluster */
.sc-bubbles {
  background: var(--tile-pink); color: var(--ink);
  flex: 0.9;
}
.sc-bubbles .sc-eyebrow { color: var(--tile-ox); opacity: 1; }
.sc-bubbles .bubble-cluster {
  position: absolute; right: -24px; bottom: -24px;
  width: 70%; aspect-ratio: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; place-items: center;
}
.sc-bubbles .bubble {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 22px;
  color: var(--ink); text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sc-bubbles .bubble.b-blue { background: var(--tile-blue); color: var(--bx-brand-fg, var(--paper)); }
.sc-bubbles .bubble.b-yel  { background: var(--tile-yellow); }
.sc-bubbles .bubble.b-grn  { background: #39916B; color: var(--bx-brand-fg, var(--paper)); }

/* ── Bottom 3-card row ────────────────────────────────────────────────────── */
.vrect-bottom {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--tile-gap);
}
.bot-card {
  border-radius: var(--r); padding: 30px 32px 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 300px;
}
.bot-card .bc-eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.75; margin-bottom: 14px;
}
.bot-card h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 500;
  margin: 0; max-width: 14ch;
}
.bot-card .bc-foot {
  margin-top: auto;
}

/* Bottom card 1 — icons row */
.bc-icons { background: var(--tile-cream-2); color: var(--ink); grid-column: 1 / span 4; }
.bc-icons .icon-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin: 20px 0 22px;
}
.bc-icons .icon-cell {
  aspect-ratio: 1; background: var(--paper);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.bc-icons .icon-cell svg { width: 50%; height: 50%; }

/* Bottom card 2 — bar chart */
.bc-chart { background: var(--paper); color: var(--ink); grid-column: 5 / span 4; }
.bc-chart .chart-eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(26,24,21,0.12);
}
.bc-chart h3 { max-width: 16ch; }
.bc-chart .bars {
  margin-top: auto; padding-top: 18px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; align-items: end; height: 120px;
}
.bc-chart .bar {
  border-radius: 2px 2px 0 0;
}
.bc-chart .bar.b1 { background: var(--tile-cream-2); height: 35%; }
.bc-chart .bar.b2 { background: var(--tile-lime);    height: 62%; }
.bc-chart .bar.b3 { background: var(--tile-cream);   height: 78%; }
.bc-chart .bar.b4 { background: #6B4A2E;             height: 100%; }

/* Bottom card 3 — recursica/oxblood */
.bc-rec { background: var(--tile-ox); color: var(--bx-brand-fg, var(--paper)); grid-column: 9 / span 4; }
.bc-rec .bc-eyebrow { color: rgba(244,236,220,0.85); }
.bc-rec .rec-foot {
  margin-top: auto; padding-top: 18px;
  display: flex; gap: 10px;
}
.bc-rec .rec-foot a {
  font-family: var(--font-mono); font-size: 11px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--bx-brand-paper, var(--paper)); color: var(--bx-brand-ink, var(--ink));
  letter-spacing: 0.04em;
}
.bc-rec .rec-foot a.ghost {
  background: transparent; color: var(--bx-brand-fg, var(--paper));
  border: 1px solid rgba(244,236,220,0.55);
}
.bc-rec .swatches {
  position: absolute; top: 26px; right: 26px;
  display: flex; gap: 6px;
}
.bc-rec .sw { width: 14px; height: 14px; border-radius: 3px; }

/* ── Question strip beneath the bento ─────────────────────────────────────── */
.vrect-quote {
  margin-top: 80px;
  padding-top: 32px;
  text-align: center;
}
.vrect-quote .qlabel {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bx-fg-dim, rgba(244,236,220,0.55));
}
.quote-rotator {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(180px, 16vw, 280px);
}
.vrect-quote .qtext {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0 24px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 72px);
  line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 500; color: var(--paper);
  animation: qslide 7s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform, opacity;
}
.vrect-quote .qtext > span {
  display: block;
  max-width: 22ch;
  text-align: center;
}
.vrect-quote .qtext em {
  font-family: "Instrument Serif", serif; font-style: italic;
  color: var(--bx-accent-text, var(--tile-yellow)); letter-spacing: -0.02em;
}
@keyframes qslide {
  0%   { transform: translateY(100%); opacity: 0; }
  4%   { transform: translateY(0);    opacity: 1; }
  96%  { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}

/* ── Services row (replaces lower bento) ──────────────────────────────────── */
.vrect-svc-wrap { margin-top: 64px; }
.vrect-svc-head {
  padding-bottom: 22px;
  margin-bottom: var(--tile-gap);
  text-align: center;
}
.vrect-svc-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.025em; font-weight: 500;
  color: var(--paper); margin: 0 auto; max-width: 28ch;
}
.vrect-svc-head h2 em {
  font-family: "Instrument Serif", serif; font-style: italic;
  color: var(--bx-accent-text, var(--tile-yellow)); letter-spacing: -0.02em;
}
.vrect-svc-head .eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bx-fg-dim, rgba(244,236,220,0.55));
}
.vrect-svc {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--tile-gap);
}
.svc-cell {
  background: var(--tile-cream); color: var(--bx-tile-ink, var(--ink));
  border-radius: var(--r);
  padding: 30px 30px 30px;
  min-height: 280px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.svc-cell .svc-top {
  display: flex; flex-direction: column;
}
.svc-cell .n {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; color: var(--bx-tile-ink, var(--ink-3));
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,24,21,0.14);
}
.svc-cell h3 {
  font-family: var(--font-display); font-size: clamp(26px, 2vw, 32px);
  line-height: 1.1; letter-spacing: -0.025em; font-weight: 500;
  margin: 0; max-width: 22ch; text-wrap: balance;
}
.svc-cell p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--bx-tile-ink, var(--ink-2)); opacity: 0.92;
  margin: 0; max-width: 46ch;
}
.svc-cell .svc-bottom {
  display: flex; flex-direction: column; gap: 18px;
}
.svc-cell .svc-learn {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--bx-tile-ink, var(--ink));
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1), border-bottom-color .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-cell .svc-learn:hover { opacity: 0.85; border-bottom-color: currentColor; }

/* ── Full-width Recursica banner ─────────────────────────────────────────── */
.vrect-recursica {
  margin-top: var(--tile-gap);
  background-color: #A82141;
  color: var(--bx-brand-paper, var(--paper));
  border-radius: var(--r);
  padding: 60px 44px 72px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.vrect-recursica::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("../assets/background-recursica-banner.svg");
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.vrect-recursica .vr-rec-eyebrow-row,
.vrect-recursica .vr-rec-body { position: relative; z-index: 1; }
.vrect-recursica .vr-rec-eyebrow-row { border-bottom: 0; padding-bottom: 8px; margin-bottom: 8px; }
.recursica-logo-inline {
  display: inline-block;
  height: 40px; aspect-ratio: 235 / 32;
  background-color: var(--bx-brand-paper, var(--paper));
  mask-image: url("../assets/logo-recursica.svg");
  -webkit-mask-image: url("../assets/logo-recursica.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center left;
  -webkit-mask-position: center left;
}
.vr-rec-eyebrow-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(244,236,220,0.25);
  margin-bottom: 28px;
}
.vr-rec-eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244,236,220,0.85);
}
.vr-rec-swatches { display: flex; gap: 8px; }
.vr-rec-swatches .sw {
  width: 18px; height: 18px; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(244,236,220,0.2);
}
.vr-rec-body {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px; align-items: end;
  position: relative; z-index: 1;
  flex: 1;
  margin-top: auto;
}
.vr-rec-body h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.95; letter-spacing: -0.04em; font-weight: 500;
  margin: 0; max-width: 16ch;
  color: var(--bx-brand-paper, var(--paper));
}
.vr-rec-body h2 em {
  font-family: "Instrument Serif", serif; font-style: italic;
  color: var(--tile-yellow); letter-spacing: -0.02em;
}
.vr-rec-right p {
  font-size: 16.5px; line-height: 1.55;
  color: var(--bx-brand-paper, var(--paper));
  margin: 0 0 22px; max-width: 44ch;
}
.vr-rec-right p b { color: var(--bx-brand-paper, var(--paper)); font-weight: 500; }
.vr-rec-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vrect-recursica .vr-rec-cta {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 22px; border-radius: 999px;
  background: var(--bx-tile-surface, #FFFFFF); color: var(--bx-light-tile-fg, #1C1E23) !important;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.vrect-recursica .vr-rec-cta:hover { opacity: 0.85; }
.vr-rec-cta.ghost {
  background: transparent; color: var(--bx-brand-paper, var(--paper)) !important;
  border-color: rgba(244,236,220,0.55);
}
.vr-rec-body, .vr-rec-eyebrow-row { position: relative; z-index: 1; }

@media (max-width: 1200px) {
  .vr-rec-body { grid-template-columns: 1fr; gap: 28px; }
  .vrect-recursica { padding: 44px 24px 48px; min-height: 360px; }
}

/* ── Footer wired to the frame ────────────────────────────────────────────── */
.vrect .bx-foot {
  border-top: 0;
  background: var(--bg);
  color: var(--bx-foot-fg, rgba(244,236,220,0.6));
  max-width: var(--frame-max); margin: 0 auto;
  padding: 60px var(--gutter-side) 32px;
  margin-top: 32px;
}
.vrect .bx-foot h4 { color: var(--paper); }
.vrect .bx-foot-bottom { border-top-color: var(--bx-foot-border, rgba(244,236,220,0.18)); }
.vrect .bx-foot a:hover { color: var(--paper); }

/* Cozy banner (marketing sub-brand) */
.vrect-cozy {
  --bx-brand-ink: var(--bx-light-tile-fg, #1C1E23);
  --bx-brand-paper: #FFFFFF;
  margin-top: var(--tile-gap);
  background: var(--tile-peach);
  color: var(--bx-brand-ink, var(--ink));
  border-radius: var(--r);
  padding: 60px 44px 72px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.cozy-mark {
  position: absolute;
  right: 6%; bottom: -6%;
  width: 42%; aspect-ratio: 292 / 200;
  background-color: var(--bx-brand-ink, var(--ink));
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  mask-image: url("../assets/logo-cozy.svg");
  -webkit-mask-image: url("../assets/logo-cozy.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}
.cozy-shapes {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cs-shape {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2;
}
.cs-jacks-a {
  width: 460px; height: 460px;
  top: -8%; left: -6%;
  background-image: url("../assets/pattern-cozy-jacks.svg");
}
.cs-triangles-a {
  width: 540px; height: 540px;
  top: -14%; right: 22%;
  background-image: url("../assets/pattern-cozy-triangles.svg");
}
.cs-circle {
  width: 520px; height: 520px;
  bottom: -18%; right: -10%;
  background-image: url("../assets/pattern-cozy-circle.svg");
}
.cs-squiggle {
  width: 1080px; height: 400px;
  top: 40%; left: 18%;
  background-image: url("../assets/pattern-cozy-squiggle.svg");
}
.cozy-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
}
.cozy-logo-inline {
  display: inline-block;
  width: 112px; aspect-ratio: 292 / 200;
  background-color: currentColor;
  mask-image: url("../assets/logo-cozy.svg");
  -webkit-mask-image: url("../assets/logo-cozy.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center left;
  -webkit-mask-position: center left;
}
.vrect-cozy .vr-rec-eyebrow-row,
.vrect-cozy .vr-rec-body { position: relative; z-index: 1; }
.vrect-cozy::after { display: none; }
.vrect-cozy .cozy-eyebrow-row {
  border-bottom: 0;
  padding-bottom: 0;
}
.vrect-cozy .vr-rec-eyebrow {
  color: rgba(26,24,21,0.7);
}
.vrect-cozy .vr-rec-swatches .sw {
  box-shadow: 0 0 0 1px rgba(26,24,21,0.18);
}
.vrect-cozy .vr-rec-body h2 {
  color: var(--bx-brand-ink, var(--ink));
}
.vrect-cozy .vr-rec-body h2 em {
  color: var(--tile-ox);
}
.vrect-cozy .vr-rec-right p {
  color: var(--bx-brand-ink, var(--ink-2));
}
.vrect-cozy .vr-rec-right p b {
  color: var(--bx-brand-ink, var(--ink));
}
.vr-rec-cta.cozy {
  background: var(--bx-brand-ink, var(--ink)); color: var(--bx-brand-paper, var(--paper)) !important;
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.vr-rec-cta.cozy:hover { opacity: 0.85; }
.vr-rec-cta.cozy.ghost {
  background: transparent; color: var(--bx-brand-ink, var(--ink)) !important;
  border-color: var(--bx-brand-ink, var(--ink));
}
@media (max-width: 1200px) {
  .vrect-cozy { padding: 44px 24px 48px; min-height: 360px; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .vrect-mark { display: none; }
  .vrect-hero { grid-template-columns: 1fr; }
  .hero-pillar { min-height: auto; }
  .hero-pillar .hp-num-row { margin-bottom: 14px; }
  .hero-pillar .hp-body { justify-content: flex-start; margin-top: 0; }
  .hero-pillar h2 { margin-bottom: 36px; }
  .vrect-aside { grid-template-columns: 1fr; }
  .vrect-aside > .hero-right { grid-column: 1; flex-direction: row; }
  .vrect-aside > .hero-right .side-card { flex: 1; }
  .vrect-aside > .vrect-bottom { grid-column: 1; grid-template-columns: repeat(2, 1fr); }
  .vrect-aside .bc-icons,
  .vrect-aside .bc-chart { grid-column: span 1; }
  .vrect-svc { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .vrect-aside > .hero-right { flex-direction: column; }
  .vrect-aside > .vrect-bottom { grid-template-columns: 1fr; }
  .vrect-aside .bc-icons,
  .vrect-aside .bc-chart,
  .vrect-aside .bc-rec { grid-column: 1; }
  .vrect-quote, .vrect-svc-head { grid-template-columns: 1fr; gap: 16px; }
  .vrect-svc { grid-template-columns: 1fr; }
}

/* ── Wide screens (≥1500px): bump the frame to 1600px and scale up ────────── */
@media (min-width: 1500px) {
  .vrect {
    --frame-max: 2000px;
    --gutter-side: 128px;
    --tile-gap: 20px;
    --r: 26px 0 26px 0;
  }
  .hero-pillar { min-height: 720px; padding: 44px 46px 46px; }
  .hero-pillar h2 { font-size: clamp(56px, 4.8vw, 88px); }
  .hero-pillar p { font-size: 20px; }
  .hero-pillar .hp-num { font-size: 14px; }
  .hero-pillar .hp-num b { font-size: 19px; }
  .hero-pillar .hp-eyebrow { font-size: 13px; }
  .side-card { min-height: 340px; padding: 36px 38px 38px; }
  .side-card h3 { font-size: clamp(28px, 2.4vw, 40px); }
  .side-card p { font-size: 16px; }
  .side-card .sc-eyebrow { font-size: 13px; }
  .bot-card { min-height: 360px; padding: 36px 38px 38px; }
  .bot-card h3 { font-size: clamp(28px, 2.4vw, 40px); }
  .bot-card .bc-eyebrow { font-size: 13px; }
  .bc-chart .chart-eyebrow { font-size: 13px; }
  .vrect-quote { margin-top: 100px; padding-top: 40px; }
  .vrect-quote .qtext { font-size: clamp(48px, 4.6vw, 88px); }
  .vrect-quote .qlabel { font-size: 13px; }
  .vrect-svc-head h2 { font-size: clamp(32px, 2.8vw, 48px); }
  .vrect-svc-head .eyebrow { font-size: 13px; }
  .svc-cell { min-height: 320px; padding: 36px; }
  .svc-cell h3 {
    font-size: clamp(28px, 2vw, 36px);
    max-width: none;
    text-wrap: pretty;
  }
  .svc-cell p { font-size: 16px; }
  .svc-cell .n { font-size: 13px; }
  .svc-cell .tag { font-size: 12.5px; }
  .vrect-recursica { padding: 80px 56px 96px; min-height: 640px; }
  .vrect-cozy { padding: 80px 56px 96px; min-height: 640px; }
  .vrect-cozy .vr-rec-body h2 { font-size: clamp(56px, 5.2vw, 104px); }
  .vrect-cozy .vr-rec-right p { font-size: 18px; }
  .vr-rec-body h2 { font-size: clamp(48px, 5vw, 96px); }
  .vr-rec-right p { font-size: 18px; }
  .vr-rec-eyebrow { font-size: 13px; }
  /* buttons stay at unified size on wide screens */
}

@media (max-width: 480px) {
  .recursica-logo-inline {
    height: 30px;
  }
}

