/* =====================================================================
   Waitack — main_v2.css
   Light theme on a white background using the brand palette:
     #0E2A44  deep navy   — text, dark sections, footer
     #1F6F75  teal        — eyebrows, secondary accent
     #93C940  lime        — primary CTA buttons
     #C8DC2A  chartreuse  — secondary highlight, hover, gradients
   ===================================================================== */

:root {
  /* Brand palette */
  --c-navy:       #0E2A44;
  --c-teal:       #1F6F75;
  --c-lime:       #93C940;
  --c-chartreuse: #C8DC2A;

  /* Light surfaces */
  --v2-bg:        #ffffff;          /* default page background */
  --v2-bg-elev:   #f7f9fa;          /* cards, subtle elevation */
  --v2-bg-soft:   #eef2f4;          /* hover, panels */
  --v2-bg-tint:   #f3faec;          /* very pale lime — section accent */
  --v2-line:      rgba(14, 42, 68, .08);
  --v2-line-2:    rgba(14, 42, 68, .18);

  /* Light-mode ink */
  --v2-ink:       var(--c-navy);
  --v2-ink-soft:  #4a5b71;
  --v2-ink-mute:  #8492a4;

  /* Accent (primary CTA = lime; hover = chartreuse) */
  --v2-accent:     var(--c-lime);
  --v2-accent-2:   var(--c-chartreuse);
  --v2-accent-ink: var(--c-navy);
  --v2-eyebrow:    var(--c-teal);

  /* Inverted (used in the dark CTA + footer) */
  --v2-dark-bg:        var(--c-navy);
  --v2-dark-ink:       #ffffff;
  --v2-dark-ink-soft:  #b9c8db;
  --v2-dark-ink-mute:  #7a8aa1;
  --v2-dark-line:      rgba(255,255,255,.10);

  /* H2 ink — gray, not black. Overridden inside dark containers via the
     ".v2-section.dark, .v2-cta-final, .v2-footer" group below so the gray
     stays readable on the navy background. */
  --v2-h2-color: var(--v2-ink-soft);

  --v2-radius:    14px;
  --v2-radius-lg: 22px;
  --v2-shadow:    0 18px 50px rgba(14,42,68,.10);
  --v2-shadow-soft: 0 6px 18px rgba(14,42,68,.06);

  --v2-font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --v2-font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --v2-font-mono:    "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --v2-max:       1600px;        /* hard cap so it doesn't sprawl on 4K */
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.v2 {
  margin: 0; padding: 0;
  background: var(--v2-bg);
  color: var(--v2-ink);
  font-family: var(--v2-font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.v2 img { max-width: 100%; height: auto; display: block; }
body.v2 a { color: var(--c-teal); text-decoration: none; }
body.v2 a:hover { color: var(--c-navy); }

/* Headings: family + weight + spacing only; color flows via inheritance
   (body.v2 sets navy default; dark sections set white on their container).
   Each step DOWN the hierarchy is only slightly smaller — the user wants
   normal/h4/h3/h2 to feel close to the title size. */
body.v2 h1, body.v2 h2, body.v2 h3, body.v2 h4 {
  font-family: var(--v2-font-display);
  letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 .5em;
}
body.v2 h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.05;
}
body.v2 h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  /* Gray (not pure black) — uses the inherit-friendly custom prop so
     dark sections automatically switch to the dark-mode gray. */
  color: var(--v2-h2-color);
}
body.v2 h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
}
body.v2 h4 {
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  font-weight: 700;
}
body.v2 p, body.v2 li {
  /* Body text matches h4 size, regular weight. */
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  font-weight: 400;
}
body.v2 p  { margin: 0 0 1em; }

/* 90% of viewport on wide screens, capped at --v2-max so the layout
   doesn't sprawl on ultra-wide monitors. Padding stays for small screens. */
.v2-container {
  width: min(90%, var(--v2-max));
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Palette stripe — visual brand signature ---------- */
.v2-palette-stripe {
  height: 6px;
  background: linear-gradient(90deg,
    var(--c-navy)        0%,  var(--c-navy)        25%,
    var(--c-teal)        25%, var(--c-teal)        50%,
    var(--c-lime)        50%, var(--c-lime)        75%,
    var(--c-chartreuse)  75%, var(--c-chartreuse) 100%);
}

/* ---------- Buttons ---------- */
.v2-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s;
  cursor: pointer; white-space: nowrap;
}
/* The `body.v2 a` rule above (specificity 0,0,1,2) tries to pull every
   link to teal — including buttons. Each variant below is therefore
   declared with the `body.v2` prefix so the button's own color wins
   (0,0,2,1 > 0,0,1,2). Before this, .v2-btn-dark text was rendering
   teal-on-navy with very poor contrast. */
body.v2 .v2-btn-primary {
  background: var(--v2-accent); color: var(--v2-accent-ink);
  box-shadow: 0 6px 18px rgba(147,201,64,.35);
}
body.v2 .v2-btn-primary:hover {
  background: var(--v2-accent-2); color: var(--v2-accent-ink);
  transform: translateY(-1px);
}
body.v2 .v2-btn-ghost {
  background: transparent; color: var(--v2-ink);
  border-color: var(--v2-line-2);
}
body.v2 .v2-btn-ghost:hover { background: var(--v2-bg-soft); color: var(--v2-ink); border-color: var(--c-teal); }
body.v2 .v2-btn-dark { background: var(--c-navy); color: #fff; }
body.v2 .v2-btn-dark:hover { background: #143553; color: #fff; }

/* ---------- Nav ---------- */
.v2-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--v2-line);
}
.v2-nav .v2-container {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: .9rem; padding-bottom: .9rem;
  flex-wrap: wrap;             /* let nav drop to 2 lines on medium screens */
}
.v2-nav .brand { flex: 0 0 auto; }
.v2-nav .brand img { height: 24px; }  /* dark logo on white */
.v2-nav nav {
  flex: 1 1 auto;
  display: flex; gap: 1.25rem;
  flex-wrap: wrap;             /* nav items wrap to a second row when tight */
  min-width: 0;
}
.v2-nav nav a {
  color: var(--v2-ink); font-size: .95rem; font-weight: 500;
  white-space: nowrap;          /* keep each label on one line */
}

/* --- Burger menu (only visible below the burger breakpoint) --------- */
.v2-nav-toggle { display: none; }   /* the checkbox itself is never shown */

.v2-nav-burger {
  display: none;                /* hidden on wide / medium */
  width: 38px; height: 38px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; cursor: pointer; margin-left: auto;
}
.v2-nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--c-navy);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.v2-nav nav a:hover { color: var(--c-teal); }
.v2-nav .lang {
  flex: 0 0 auto;             /* never shrink */
  display: flex; gap: .35rem; color: var(--v2-ink-mute); font-size: .85rem;
}
.v2-nav .lang a { color: var(--v2-ink-mute); }
.v2-nav .lang a.active { color: var(--c-navy); font-weight: 700; }
.v2-nav .v2-btn { flex: 0 0 auto; }   /* CTA stays full-size */

/* ---------- Parallax ----------
   Elements with `data-parallax="<speed>"` get a transform on every scroll
   tick. CSS only declares `will-change` so the browser can hoist them onto
   the GPU; the actual transform is computed in JS (see home_v2.html). */
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
  /* reveal-on-scroll elements: render in their final state, no animation */
  [data-reveal] .v2-container,
  .v2-proof .v2-container {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  /* About-page team mosaic: skip the assemble/disassemble scatter
     entirely. The JS already bails out early when this media query
     matches, but this rule is the belt-and-braces fallback. */
  .v2-team-tile {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---------- Hero ---------- */
.v2-hero {
  padding: 2.5rem 0 5rem;             /* tight top so the H1 sits high */
  background:
    radial-gradient(ellipse at 85% -10%, rgba(200, 220, 42, .35) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 30%,  rgba(31, 111, 117, .12) 0%, transparent 55%),
    var(--v2-bg);
  border-bottom: 1px solid var(--v2-line);
}
.v2-hero h1 {
  max-width: 18ch;
  background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v2-hero .v2-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--v2-ink-soft);
  max-width: 60ch; margin-top: 1rem;
}
.v2-hero .v2-actions { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.v2-hero .v2-product {
  margin: 3.5rem auto 0;              /* centred under the hero copy */
  max-width: 880px;                   /* a bit smaller than the container */
  background: var(--v2-bg-elev);
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow);
  overflow: hidden;
}
.v2-hero .v2-product img { width: 100%; display: block; }
.v2-hero .v2-product iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* ---------- "By the numbers" — proof strip ----------------------------
   Promoted from a thin caption-row to a full moment of impact: bigger
   numbers, brand-tinted background gradient, a colored accent dot above
   each stat (cycling teal / lime / chartreuse), and a colored stripe
   running across the very top of the section. */
.v2-proof {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;                       /* clip the slide-in source position */
  /* Deliberate background contrast against the rest of the page (which is
     plain white). A pale-gray → pale-lime gradient anchors the section
     without competing with the brand colors above and below it. */
  background: linear-gradient(180deg, var(--v2-bg-soft) 0%, var(--v2-bg-tint) 100%);
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}
.v2-proof::before {
  /* tri-color stripe at the very top of the section */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg,
    var(--c-teal) 0%, var(--c-lime) 50%, var(--c-chartreuse) 100%);
}
.v2-proof .v2-container {
  display: grid;
  grid-template-columns: 1fr;            /* label centred above the stats row */
  align-items: center; gap: 2rem;
  text-align: center;
  /* Slide-in setup — starts off-screen-right, lands at natural position when
     the section enters the viewport (JS toggles the .is-in-view class). */
  transform: translateX(110vw);
  opacity: 0;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .6s ease-out;
}
.v2-proof.is-in-view .v2-container {
  transform: translateX(0);
  opacity: 1;
}
.v2-proof .label {
  display: block;
  color: var(--c-teal);
  font-family: var(--v2-font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);    /* full heading-sized */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: none;                    /* drop the eyebrow uppercase */
}
.v2-stats {
  display: grid;
  /* 4 columns on desktop, drops to 2x2 below 980px, then a single
     column below 640px so each tile keeps a comfortable width. */
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.v2-stat {
  /* Vertical flex so number + label cluster sits at the centre of the
     tile box; align-items center on .v2-stats then verticaly aligns
     every tile (incl. the wider award SVG) on the same midline. */
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.v2-stat .num {
  font-family: var(--v2-font-display);
  /* Trimmed from clamp(2.8rem, 5.5vw, 4.6rem) so 4 columns fit
     without the numbers overflowing onto two lines. */
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em; line-height: 1;
  color: var(--c-navy);
}
.v2-stat .lbl {
  color: var(--v2-ink-soft);
  font-size: clamp(.95rem, 1.2vw, 1.15rem);
  line-height: 1.4;
  margin: .8rem auto 0;
  max-width: 24ch;
}
/* The award logo tile — no number, just the SVG. */
.v2-stat-award img {
  display: block;
  margin: 0 auto;
  width: 100%; max-width: 220px;
  height: auto;
  color: var(--c-navy);    /* SVG uses currentColor for the strokes */
}

@media (max-width: 980px) {
  .v2-stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
}
@media (max-width: 640px) {
  .v2-stats { grid-template-columns: 1fr; gap: 2rem; }
  .v2-stat-award img { max-width: 200px; }
}

/* ---------- Section primitives ---------- */
.v2-section { padding: 6rem 0; border-bottom: 1px solid var(--v2-line); }
.v2-section.dark {
  background: var(--c-navy); color: var(--v2-dark-ink);
  /* gray-on-dark variant for H2 */
  --v2-h2-color: var(--v2-dark-ink-soft);
}
.v2-section.dark h1, .v2-section.dark h2, .v2-section.dark h3 { color: var(--v2-dark-ink); }
.v2-section.dark .v2-section-head p { color: var(--v2-dark-ink-soft); }
.v2-section.dark a { color: var(--c-chartreuse); }
.v2-section.dark a:hover { color: #fff; }

.v2-section.elev { background: var(--v2-bg-elev); }
.v2-section.tint {
  /* Same layered radial-gradient signature as the hero at the top of
     the home page — chartreuse glow top-right + teal glow top-left
     over a white base. Keeps the visual identity consistent across
     the secondary tint sections (Expertise + Éclairages). */
  background:
    radial-gradient(ellipse at 85% -10%, rgba(200, 220, 42, .35) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 30%,  rgba(31, 111, 117, .12) 0%, transparent 55%),
    var(--v2-bg);
}
.v2-section.cream { background: var(--v2-bg-soft); }

.v2-eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--v2-eyebrow);
  padding: .35rem .75rem; border-radius: 999px;
  background: rgba(31,111,117,.08);
  border: 1px solid rgba(31,111,117,.22);
  margin-bottom: 1rem;
}
.v2-section.dark .v2-eyebrow {
  color: var(--c-chartreuse);
  background: rgba(200,220,42,.10);
  border-color: rgba(200,220,42,.30);
}

.v2-section-head { max-width: 60ch; margin-bottom: 3rem; }
.v2-section-head p { color: var(--v2-ink-soft); font-size: 1.1rem; }

/* ---------- Pillars (4-card platform breakdown) ---------- */
.v2-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.v2-pillar {
  background: var(--v2-bg); border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius); padding: 1.75rem;
  /* Clip thumbnails that escape the parent padding via negative
     margin to the card's rounded corners. */
  overflow: hidden;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.v2-pillar:hover {
  border-color: var(--c-lime); transform: translateY(-2px);
  box-shadow: var(--v2-shadow-soft);
}
.v2-pillar h3 { color: var(--v2-ink); }
.v2-pillar p { color: var(--v2-ink-soft); font-size: .98rem; }
.v2-pillar .icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-lime) 0%, var(--c-chartreuse) 100%);
  margin-bottom: 1rem;
}

/* Pillar thumbnail (16:10 panel above the title). Holds the platform
   screenshot when one exists at /static/img/solutions/<key>.png. The
   parent JS removes the whole thumb on a 404 (onerror), so we never
   end up showing the box without an image — therefore the background
   only matters when the image has transparent edges or hasn't loaded
   yet. Use the card's own background tint so any peek-through reads
   as neutral, not as a deliberate green frame. */
.v2-pillar-thumb {
  /* Negative top/side margins cancel the .v2-pillar padding so the
     thumb spans the full card width (and touches the top edge). The
     card's overflow: hidden + border-radius handles the corner
     rounding — no border-radius needed here. */
  margin: -1.75rem -1.75rem 1.5rem;
  aspect-ratio: 16 / 10;
  background: var(--v2-bg);   /* white — matches the card so any
                                 transparent edge on the screenshot
                                 blends seamlessly */
  overflow: hidden;
  position: relative;
  transition: transform .25s ease;
}
.v2-pillar:hover .v2-pillar-thumb { transform: translateY(-2px) scale(1.01); }
.v2-pillar-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* On parents with the lime gradient as background, a subtle inset
     shadow keeps the screenshot edge from looking flat. */
  box-shadow: inset 0 0 0 1px rgba(14,42,68,.05);
}

/* ---------- Pillar lightbox (50vw flip-in modal) ---------- */
.v2-pillar-modal {
  position: fixed; inset: 0;
  background: rgba(14, 42, 68, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  opacity: 0;
  transition: opacity .25s ease;
}
.v2-pillar-modal[hidden] { display: none; }
.v2-pillar-modal.is-open { opacity: 1; }

.v2-pillar-modal-stage {
  width: 80vw;
  max-width: 1700px;
  max-height: 85vh;
  min-width: 320px;
  aspect-ratio: 16 / 10;
  background: var(--v2-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  /* Flip-in: starts rotated, lands at 0deg when .is-open is added */
  transform: perspective(1500px) rotateY(-90deg) scale(.85);
  opacity: 0;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}
.v2-pillar-modal.is-open .v2-pillar-modal-stage {
  transform: perspective(1500px) rotateY(0) scale(1);
  opacity: 1;
}
.v2-pillar-modal-stage img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  background: var(--v2-bg-soft);
}

.v2-pillar-modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--c-navy);
  border: 0;
  font-size: 1.6rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: background .15s, transform .15s;
}
.v2-pillar-modal-close:hover {
  background: #fff; transform: scale(1.05);
}

@media (max-width: 720px) {
  .v2-pillar-modal-stage { width: 90vw; }
}
/* Pillars inside dark section invert */
.v2-section.dark .v2-pillar {
  background: rgba(255,255,255,.04); border-color: var(--v2-dark-line);
}
.v2-section.dark .v2-pillar:hover { border-color: var(--c-chartreuse); }
.v2-section.dark .v2-pillar h3 { color: var(--v2-dark-ink); }
.v2-section.dark .v2-pillar p { color: var(--v2-dark-ink-soft); }

/* ---------- Audience cards (3 columns) ---------- */
.v2-audience {
  display: grid;
  /* Featured card gets a bit more room than the other two. */
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.v2-audience .card {
  background: var(--v2-bg); color: var(--v2-ink);
  border-radius: var(--v2-radius-lg);
  padding: 2rem; border: 1px solid var(--v2-line);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
}
/* Default per-position accents (after reorder: End-users / Landlords / Advisors). */
.v2-audience .card:nth-child(1) { border-top: 6px solid var(--c-lime); }
.v2-audience .card:nth-child(2) { border-top: 4px solid var(--c-teal); }
.v2-audience .card:nth-child(3) { border-top: 4px solid var(--c-chartreuse); }

/* Featured (= End-users) — visually prominent. The audience section is on
   a pale-lime tint, so the featured card stays white but gets a thicker
   lime border, stronger lift and shadow to pop forward. */
.v2-audience .card.featured {
  background: var(--v2-bg);
  border: 2px solid var(--c-lime);
  border-top-width: 6px;                       /* matches default top stripe */
  box-shadow: 0 18px 40px rgba(14, 42, 68, .14);
  transform: translateY(-8px);                 /* lift at rest */
}
.v2-audience .card.featured h3 {
  color: var(--v2-ink);                       /* keep navy, not gray */
}
.v2-audience .card-badge {
  display: inline-block; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 800;
  padding: .3rem .65rem; border-radius: 999px;
  background: var(--c-lime); color: var(--c-navy);
  margin-bottom: 1rem;
}
.v2-audience .card:hover { transform: translateY(-9px); box-shadow: var(--v2-shadow-soft); }
.v2-audience .card.featured:hover { transform: translateY(-10px); }
.v2-audience .card h3 { color: var(--v2-ink); }
.v2-audience .card ul { padding-left: 1.1rem; margin: 0; }
.v2-audience .card li { margin: .35em 0; color: var(--v2-ink-soft); }

/* ---------- Client conveyor belts (marquee) ----------------------------
   Each track is the logo list duplicated once; the @keyframes scrolls
   the track by -50% so the loop is seamless. Pauses on hover, and stops
   entirely when the visitor prefers reduced motion. */
.v2-clients .v2-clients-row-title {
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--c-teal);
  margin: 2.5rem 0 1rem;
}
.v2-clients .v2-clients-row-title:first-of-type { margin-top: 1rem; }

.v2-marquee {
  position: relative;
  overflow: hidden;
  padding: 0;
}
/* Soft fade on both edges so logos don't get clipped harshly. */
.v2-marquee::before,
.v2-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.v2-marquee::before { left: 0;  background: linear-gradient(90deg, var(--v2-bg) 0%, transparent 100%); }
.v2-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--v2-bg) 0%, transparent 100%); }

.v2-marquee-track {
  display: flex; gap: 3.5rem;
  width: max-content;
  align-items: center;
  animation: v2-marquee-scroll 38s linear infinite;
  will-change: transform;
}
.v2-marquee-track.reverse { animation-direction: reverse; }
.v2-marquee:hover .v2-marquee-track { animation-play-state: paused; }

@keyframes v2-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .v2-marquee-track {
    animation: none; transform: none;
    width: 100%;                /* override max-content so flex-wrap engages */
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
  }
}

/* Logo bar — fixed height defines the row; each item sizes itself by the
   logo's natural aspect ratio so a wide wordmark and a square mark both
   look right next to each other.

   Note on the `body.v2` prefix: the base stylesheet declares
   ``body.v2 img { max-width:100%; height:auto }`` (specificity 0,1,2),
   which would otherwise override an un-prefixed `.v2-marquee-item img`
   rule (0,1,1). Prefixing with `body.v2` lifts us to 0,2,2 — we win the
   cascade and our caps actually apply. */
.v2-marquee-item {
  flex: 0 0 auto;
  height: 96px;                       /* row height */
  padding: 8px 0;                     /* breathing room top + bottom */
  display: flex; align-items: center; justify-content: center;
}
body.v2 .v2-marquee-item img {
  height: auto;
  width: auto;
  max-height: 80px;                   /* bar minus padding — height cap */
  max-width: 400px;                   /* accommodates ~5:1 wordmarks (L'Oréal etc.) */
  object-fit: contain;
  /* Colored logos render in their natural colors. A subtle scale-up on
     hover keeps the interactivity cue without touching saturation. */
  transition: transform .2s;
}
body.v2 .v2-marquee-item:hover img { transform: scale(1.05); }

/* ---------- Case study cards (home carousel) ---------- */

.v2-cases-carousel { position: relative; margin: 0 -1rem; }
.v2-cases-rail {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: .5rem 1rem 1.5rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.v2-cases-rail::-webkit-scrollbar { display: none; }
.v2-cases-rail > .v2-case-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  scroll-snap-align: start;
}

.v2-case-card {
  background: var(--v2-bg);
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.v2-case-card:hover {
  border-color: var(--c-lime);
  transform: translateY(-2px);
  box-shadow: var(--v2-shadow-soft);
}
.v2-case-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--v2-bg-soft);
  overflow: hidden;
}
.v2-case-card-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.v2-case-card-body {
  padding: 1.75rem 1.75rem 1.8rem;
  display: flex; flex-direction: column; gap: 1.5rem;   /* breathing room between every element */
  flex: 1;
}
.v2-case-card-body h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--v2-ink);
  margin: 0;
}
/* Push the highlight (or the read link, when there's no highlight)
   down to the bottom of the card so cards with different metric
   counts still align their footers. */
.v2-case-card .v2-case-highlight { margin-top: auto; }
.v2-case-card-read {
  margin-top: auto;                 /* fallback when no highlight is present */
  color: var(--c-teal); font-weight: 700;
  display: inline-flex; align-items: center; gap: .3rem;
}
.v2-case-card-read span { transition: transform .15s; }
.v2-case-card:hover .v2-case-card-read { color: var(--c-navy); }
.v2-case-card:hover .v2-case-card-read span { transform: translateX(3px); }

/* Floating chip on top of the hero image — also reused on case page hero. */
.v2-case-chip {
  position: absolute;
  top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.95);
  color: var(--c-teal);
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(14,42,68,.10);
}
.v2-case-chip.cat-misc { color: var(--c-teal); }
.v2-case-chip-icon { width: 22px; height: 22px; }

/* Metrics row — icon + short text, repeated per metric. */
.v2-case-metrics {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  color: var(--v2-ink);
  font-size: .92rem;
}
.v2-case-metrics li {
  display: inline-flex; align-items: center; gap: .4rem;
}
.v2-icon-sm { width: 28px; height: 28px; color: var(--v2-ink); }

/* "20 % des espaces libérés" green highlight box */
.v2-case-highlight {
  /* align-items: flex-start so the check icon sits next to the FIRST
     line of the highlight text rather than vertically centring on a
     multi-line block (which made it drift below long highlights). */
  display: flex; gap: .8rem; align-items: flex-start;
  background: rgba(147,201,64,.12);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.v2-case-highlight p {
  margin: 0;
  font-size: 1rem; font-weight: 700;
  color: var(--v2-ink);
  line-height: 1.4;
}
.v2-case-highlight-icon {
  flex: 0 0 56px; height: 56px;
  border-radius: 12px;
  background: var(--c-lime);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.v2-case-highlight-icon svg { width: 36px; height: 36px; stroke-width: 2.4; }

/* ---------- Case study page (case_study_child_v2.html) ---------- */

.v2-case-hero {
  background: var(--v2-bg);
  padding: 3rem 0 4rem;
}
.v2-case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.v2-case-hero-text { display: flex; flex-direction: column; gap: 1.2rem; }
.v2-case-hero-text h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.1;
  color: var(--v2-ink);
  margin: 0;
}
.v2-case-hero-text .v2-case-chip {
  position: static;       /* not floating in the hero header */
  align-self: flex-start;
  box-shadow: none;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--v2-line);
}
.v2-case-intro { font-size: 1.05rem; color: var(--v2-ink-soft); }
.v2-case-intro p { margin-top: 0; }
.v2-case-hero-image {
  border-radius: var(--v2-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--v2-bg-soft);
}
.v2-case-hero-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.v2-back-link {
  font-size: .9rem; margin: 0;
}
.v2-back-link a {
  color: var(--v2-ink-soft);
}
.v2-back-link a:hover { color: var(--c-teal); }

/* Numbers card row */
.v2-case-numbers-section {
  background: var(--v2-bg);
  padding: 0 0 4rem;
}
.v2-case-numbers {
  background: var(--v2-bg);
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius-lg);
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(14,42,68,.05);
}
.v2-case-number {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .35rem;
}
.v2-case-number-icon { width: 56px; height: 56px; color: var(--c-teal); margin-bottom: .35rem; }
.v2-case-number-value {
  font-size: 2.2rem; font-weight: 800;
  color: var(--v2-ink);
  line-height: 1;
  font-family: var(--v2-font-display);
  letter-spacing: -0.02em;
}
.v2-case-number-value .unit {
  font-size: 1.2rem; font-weight: 700;
  margin-left: .2rem; color: var(--v2-ink);
}
.v2-case-number-label {
  font-size: .92rem; color: var(--v2-ink-soft);
  max-width: 22ch; line-height: 1.4;
}

/* "Le défi" / "Objectifs" two-column section */
.v2-case-challenge-section {
  background: var(--v2-bg);
  padding: 2rem 0 4rem;
}
.v2-case-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
/* The `body.v2 h2` global rule is (0,0,1,2), so a bare `.v2-case-col-title`
   (0,0,1,0) loses on specificity. Prefixing with `body.v2` lifts the
   override to (0,0,2,1) and wins. Same trick for .v2-case-section-title.
   Font-size matches the body-text clamp so the labels read at the same
   visual weight as the paragraphs they introduce. */
body.v2 .v2-case-col-title {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: var(--v2-ink);
  margin: 0 0 1.2rem;
}
.v2-case-col-icon {
  width: 44px; height: 44px;
  background: rgba(31,111,117,.10);
  border-radius: 999px;
  padding: 8px;
  color: var(--c-teal);
}
.v2-case-question { color: var(--v2-ink); font-size: 1.05rem; }
.v2-case-context { color: var(--v2-ink-soft); font-size: 1rem; }
.v2-case-objectives {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.v2-case-objectives li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  color: var(--v2-ink);
  font-size: 1rem;
  line-height: 1.5;
}
.v2-case-check {
  width: 24px; height: 24px;
  color: var(--c-teal);
  flex: 0 0 24px;
  margin-top: .15rem;
}

/* "Notre approche" timeline */
body.v2 .v2-case-section-title {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: var(--v2-ink);
  margin: 0 0 2.5rem;
}
.v2-case-approach-section {
  background: var(--v2-bg-elev);
  padding: 4rem 0;
}
.v2-case-approach {
  display: grid;
  grid-template-columns: repeat(var(--step-count, 6), 1fr);
  gap: 1.25rem;
  position: relative;
}
.v2-case-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  position: relative;
}
.v2-case-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-teal);
  color: #fff;
  font-weight: 800; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
}
/* dashed connector line between number circles */
.v2-case-step:not(:last-child) .v2-case-step-num::after {
  content: '';
  position: absolute;
  top: 50%; left: calc(100% + .25rem);
  width: calc(100vw / var(--step-count, 6) - 1.25rem);
  max-width: 200px;
  border-top: 2px dashed var(--v2-line-2);
  transform: translateY(-50%);
  z-index: 1;
}
.v2-case-step-icon {
  margin-top: 1.5rem;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--v2-bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--v2-ink);
}
.v2-case-step-icon svg { width: 48px; height: 48px; }
body.v2 .v2-case-step-title {
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: var(--v2-ink);
  margin: 1rem 0 .4rem;
}
.v2-case-step-desc {
  font-size: .85rem;
  color: var(--v2-ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* "Les résultats" grid */
.v2-case-results-section {
  background: var(--v2-bg);
  padding: 4rem 0;
}
.v2-case-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.v2-case-result {
  background: var(--v2-bg);
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  padding: 1.5rem 1.25rem 2rem;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 1rem;
  position: relative;
}
.v2-case-result.is-featured {
  background: rgba(147,201,64,.10);
  border-color: rgba(147,201,64,.30);
}
.v2-case-result::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 1rem;
  transform: translateX(-50%);
  width: 32px; height: 2px;
  background: var(--c-lime);
  border-radius: 2px;
}
.v2-case-result-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--v2-bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--v2-ink);
}
.v2-case-result.is-featured .v2-case-result-icon {
  background: var(--c-lime);
  color: #fff;
}
.v2-case-result-icon svg { width: 40px; height: 40px; }
.v2-case-result-text {
  font-size: .9rem; line-height: 1.4;
  color: var(--v2-ink); margin: 0;
  font-weight: 600;
}

/* Final navy CTA card */
.v2-case-cta-section { padding: 0 0 4rem; background: var(--v2-bg); }
.v2-case-cta {
  background:
    radial-gradient(ellipse at 90% 50%, rgba(200,220,42,.15), transparent 60%),
    var(--c-navy);
  border-radius: var(--v2-radius-lg);
  padding: 2.5rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.v2-case-cta-text h3 { color: #fff; margin: 0 0 .5rem; font-size: 1.4rem; }
.v2-case-cta-text p { color: rgba(255,255,255,.75); margin: 0; font-size: .98rem; }
.v2-case-cta-actions { display: flex; justify-content: flex-end; }
.v2-case-cta-illu {
  color: rgba(200,220,42,.2);
  display: flex; align-items: center; justify-content: center;
  width: 120px;
}
.v2-case-cta-illu svg { width: 100%; height: auto; }

/* Icon util */
.v2-icon { display: inline-block; vertical-align: middle; }
.v2-icon-missing { display: inline-block; width: 1em; height: 1em; }

/* Responsive — case studies */
@media (max-width: 1080px) {
  .v2-cases-rail > .v2-case-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
  .v2-case-hero-grid { grid-template-columns: 1fr; }
  .v2-case-hero-image { max-width: 600px; }
  .v2-case-approach { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .v2-case-step:not(:last-child) .v2-case-step-num::after { display: none; }
  .v2-case-cta { grid-template-columns: 1fr; text-align: center; }
  .v2-case-cta-actions { justify-content: center; }
  .v2-case-cta-illu { display: none; }
}
@media (max-width: 720px) {
  .v2-cases-rail > .v2-case-card { flex: 0 0 86%; }
  .v2-case-2col { grid-template-columns: 1fr; gap: 2rem; }
  .v2-case-approach { grid-template-columns: 1fr 1fr; }
  .v2-case-numbers { grid-template-columns: 1fr 1fr; }
}

/* ---------- Insights (article cards) ---------- */
.v2-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.v2-article {
  background: var(--v2-bg); border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.v2-article:hover {
  border-color: var(--c-lime); transform: translateY(-2px);
  box-shadow: var(--v2-shadow-soft);
}
.v2-article .thumb { aspect-ratio: 16 / 10; background: var(--v2-bg-soft); overflow: hidden; }
.v2-article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.v2-article .body { padding: 1.25rem; }
.v2-article .date {
  color: var(--c-teal); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.v2-article h3 { font-size: 1.1rem; color: var(--v2-ink); margin: .5rem 0 0; }

/* ---------- Insights v2 (carousel on home + grid on /insights/) ---------- */

/* Card refinements layered ON TOP of the legacy .v2-article rules — kept
   purely additive so any other surface that still uses the simple grid
   variant (.v2-articles without .v2-articles-grid / no rail wrapper) keeps
   rendering. */
.v2-article-card .body {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.25rem 1.25rem 1.4rem;
}
.v2-article-card h3 {
  font-size: 1.15rem; font-weight: 700; line-height: 1.3;
  margin: 0;
}
.v2-article-card .v2-article-read {
  margin-top: auto;
  color: var(--c-teal); font-weight: 700; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .3rem;
}
.v2-article-card:hover .v2-article-read { color: var(--c-navy); }
.v2-article-card .v2-article-read span { transition: transform .15s; }
.v2-article-card:hover .v2-article-read span { transform: translateX(3px); }

/* Category chips — soft pastel pill, one accent per category_slug. */
.v2-cat-chip {
  align-self: flex-start;
  display: inline-flex; padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  background: #e7eef3; color: #25506f;
}
.v2-cat-chip.cat-flex-office,
.v2-cat-chip.cat-flex,
.v2-cat-chip.cat-veilles      { background: #dff3d6; color: #2f6a1f; }
.v2-cat-chip.cat-immobilier,
.v2-cat-chip.cat-marche,
.v2-cat-chip.cat-market,
.v2-cat-chip.cat-market-watch { background: #dceaf7; color: #1f4a78; }
.v2-cat-chip.cat-workplace    { background: #dff3d6; color: #2f6a1f; }
.v2-cat-chip.cat-ia,
.v2-cat-chip.cat-ai           { background: #f1dff3; color: #6a1f70; }
.v2-cat-chip.cat-tendances,
.v2-cat-chip.cat-trends       { background: #d6f3e7; color: #1f6a4e; }
.v2-cat-chip.cat-outils,
.v2-cat-chip.cat-tools        { background: #fff1d6; color: #8a5a14; }
.v2-cat-chip.cat-etudes,
.v2-cat-chip.cat-studies      { background: #ffe0d4; color: #8a3a14; }

/* --- Home carousel ----- */
.v2-insights-carousel {
  position: relative;
  margin: 0 -1rem;   /* let the rail breathe beyond the eyebrow column */
}
.v2-insights-rail {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: .5rem 1rem 1.5rem;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}
.v2-insights-rail::-webkit-scrollbar { display: none; }
.v2-insights-rail > .v2-article-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  scroll-snap-align: start;
}
.v2-carousel-arrow {
  position: absolute; top: 40%;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--c-navy);
  border: 1px solid var(--v2-line-2);
  box-shadow: 0 4px 14px rgba(14,42,68,.12);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, transform .15s, color .15s;
  z-index: 2;
}
.v2-carousel-arrow:hover { background: var(--c-navy); color: #fff; transform: translateY(-50%) scale(1.05); }
.v2-carousel-arrow:disabled { opacity: .35; pointer-events: none; }
.v2-carousel-arrow.prev { left: -1rem; transform: translateY(-50%); }
.v2-carousel-arrow.next { right: -1rem; transform: translateY(-50%); }

.v2-carousel-dots {
  display: flex; justify-content: center; gap: .6rem;
  margin-top: 1rem;
}
.v2-carousel-dot {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%; border: 0;
  background: var(--v2-line-2);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.v2-carousel-dot.is-active { background: var(--c-teal); transform: scale(1.3); }

.v2-insights-cta { margin-top: 2rem; text-align: center; }

/* --- Insights index page ----- */
.v2-insights-header { padding-top: 4rem; padding-bottom: 2rem; }
.v2-breadcrumb {
  font-size: .85rem; color: var(--v2-ink-mute);
  margin-bottom: 1rem;
}
.v2-breadcrumb a { color: var(--v2-ink-soft); }
.v2-breadcrumb a:hover { color: var(--c-teal); }
.v2-breadcrumb .sep { margin: 0 .5rem; color: var(--v2-ink-mute); }
.v2-breadcrumb .current { color: var(--v2-ink); font-weight: 600; }

.v2-insights-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
}
.v2-filter-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.v2-filter-chip {
  appearance: none; border: 1px solid var(--v2-line-2);
  background: transparent; color: var(--v2-ink);
  padding: .55rem 1.1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.v2-filter-chip:hover { border-color: var(--c-teal); color: var(--c-teal); }
.v2-filter-chip.is-active {
  background: var(--c-teal); color: #fff; border-color: var(--c-teal);
}
.v2-filter-sort {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; color: var(--v2-ink-soft);
  padding: .55rem 1.1rem; border: 1px solid var(--v2-line-2);
  border-radius: 999px; background: #fff;
}
.v2-filter-sort .caret { color: var(--v2-ink-mute); font-weight: 700; }

.v2-articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.v2-insights-empty {
  text-align: center; color: var(--v2-ink-soft);
  font-size: 1rem; padding: 3rem 1rem;
}

/* --- Insights responsive ----- */
@media (max-width: 1080px) {
  .v2-insights-rail > .v2-article-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
  .v2-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .v2-insights-rail > .v2-article-card { flex: 0 0 86%; }
  .v2-carousel-arrow { display: none; }   /* swipe is enough on mobile */
  .v2-articles-grid { grid-template-columns: 1fr; }
  .v2-insights-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ---------- About snippet ---------- */
.v2-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.v2-about-grid p { color: var(--v2-ink-soft); font-size: 1.05rem; }
.v2-team-row { display: flex; gap: -.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.v2-team-row img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--v2-bg); margin-left: -.75rem;
  box-shadow: 0 2px 6px rgba(14,42,68,.10);
}
.v2-team-row img:first-child { margin-left: 0; }

/* ---------- FAQ ---------- */
.v2-faq { max-width: 820px; margin: 0 auto; }
.v2-faq details {
  border-top: 1px solid var(--v2-line);
  padding: 1.4rem 0;
}
.v2-faq details:last-of-type { border-bottom: 1px solid var(--v2-line); }
.v2-faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 1.15rem; font-weight: 700; color: var(--v2-ink);
}
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after {
  content: "+"; font-size: 1.6rem; color: var(--c-lime); line-height: 1;
  font-weight: 800;
}
.v2-faq details[open] summary::after { content: "−"; color: var(--c-teal); }
.v2-faq details > *:not(summary) {
  margin-top: 1rem; color: var(--v2-ink-soft); line-height: 1.65;
}

/* ---------- CTA (final, dark) ---------- */
.v2-cta-final {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(200,220,42,.20) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 100%, rgba(31,111,117,.30) 0%, transparent 60%),
    var(--c-navy);
  color: var(--v2-dark-ink);
  padding: 6rem 0; text-align: center;
  border-bottom: 1px solid var(--v2-dark-line);
  --v2-h2-color: var(--v2-dark-ink-soft);  /* gray on navy */
}
.v2-cta-head {
  width: 80%;
  margin: 0 auto;
  text-align: center;       /* one container, one centering axis */
}
.v2-cta-final h2 { color: var(--v2-dark-ink); margin: 0; }
.v2-cta-final p  { color: var(--v2-dark-ink-soft); margin: 1rem 0 0; }
.v2-cta-final .v2-eyebrow { display: inline-block; }
.v2-cta-final .v2-actions { justify-content: center; margin-top: 2rem; }
.v2-cta-final .v2-eyebrow {
  color: var(--c-chartreuse);
  background: rgba(200,220,42,.10);
  border-color: rgba(200,220,42,.30);
}
.v2-cta-form {
  margin: 3rem auto 0; max-width: 760px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--v2-dark-line);
  border-radius: var(--v2-radius-lg); padding: 2rem;
  text-align: left;
}
.v2-cta-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.v2-cta-form label {
  display: flex; flex-direction: column; gap: .35rem;
  font-size: .85rem; color: var(--v2-dark-ink-soft); font-weight: 600;
}
.v2-cta-form label.full { display: block; margin-top: 1rem; }
.v2-cta-form input, .v2-cta-form textarea {
  width: 100%; padding: .75rem .9rem;
  background: rgba(0,0,0,.20); border: 1px solid var(--v2-dark-line);
  color: var(--v2-dark-ink); border-radius: 10px; font: inherit;
}
.v2-cta-form input:focus, .v2-cta-form textarea:focus {
  outline: 2px solid var(--c-lime); border-color: transparent;
}
/* GDPR consent checkbox above the submit button on the demo form. The
   CTA sits on a navy background so we override the default visual to
   stay readable: muted-white label, lime accent for the input itself. */
.v2-cta-consent {
  display: grid; grid-template-columns: auto 1fr; gap: .65rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  color: var(--v2-dark-ink-soft);
  font-size: .82rem; line-height: 1.45;
  cursor: pointer;
}
.v2-cta-consent input[type="checkbox"] {
  margin-top: .15rem;
  width: 16px; height: 16px;
  accent-color: var(--c-lime);
  cursor: pointer;
}
.v2-cta-consent span { font-weight: 400; }

.v2-cta-form-actions {
  margin-top: 1.2rem;
  text-align: center;       /* centers the inline-flex submit button */
}

/* ---------- Staff-only "Edit this page" floating action button ----------
   Rendered by base_v2.html when {{ user.is_staff }} — links to the CMS
   markdown editor for whichever page the visitor is on. Never visible
   to logged-out visitors or to non-staff. */
.v2-edit-page-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.15rem;
  background: var(--c-navy);
  color: #fff !important;        /* override the generic body.v2 a colour */
  font-size: .92rem; font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .15s ease, background .15s ease;
}
.v2-edit-page-fab:hover {
  transform: translateY(-2px);
  background: var(--c-teal);
  text-decoration: none;
}
.v2-edit-page-fab .v2-edit-page-fab-label { line-height: 1; }
@media (max-width: 640px) {
  .v2-edit-page-fab { padding: .65rem .85rem; bottom: .9rem; right: .9rem; }
  .v2-edit-page-fab .v2-edit-page-fab-label { display: none; }   /* icon-only on phones */
}

/* ---------- Footer ---------- */
.v2-footer {
  background: var(--c-navy); color: var(--v2-dark-ink-soft); padding: 4rem 0 2rem;
  --v2-h2-color: var(--v2-dark-ink-soft);
}
.v2-footer .grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.v2-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .8rem; }
.v2-footer ul { list-style: none; padding: 0; margin: 0; }
.v2-footer li { margin: .3em 0; }
/* `body.v2 a:hover` (specificity 0,0,2,2) was beating
   `.v2-footer a:hover` (0,0,2,1) and pulling the colour to navy —
   invisible on the dark footer. Prefix with body.v2 to lift to (0,0,3,2)
   and force pure white on hover. */
body.v2 .v2-footer a { color: var(--v2-dark-ink-soft); }
body.v2 .v2-footer a:hover { color: #fff; }
.v2-footer .brand img { height: 26px; filter: brightness(0) invert(1); }
.v2-footer .tagline { color: var(--v2-dark-ink-soft); margin-top: 1rem; max-width: 28ch; }
.v2-footer .legal {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--v2-dark-line);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--v2-dark-ink-mute); font-size: .85rem;
}
.v2-footer .legal img { height: 36px; background: #fff; border-radius: 6px; padding: 4px 8px; }

/* ---------- Messages ---------- */
.v2 .messages { list-style: none; padding: 0; margin: 1rem 0; }
.v2 .messages li {
  padding: .75rem 1rem; border-radius: 10px; margin: .35rem 0;
  background: var(--v2-bg-elev); color: var(--v2-ink); border: 1px solid var(--v2-line);
}
.v2 .messages li.msg-success { border-color: var(--c-lime); background: var(--v2-bg-tint); }
.v2 .messages li.msg-error   { border-color: #ef4444; background: #fef2f2; }

/* ---------- Secondary pages (page_v2 / article_v2 / case_study_child_v2)
   Shared layout primitives used by every page that isn't the one-pager
   home. They reuse the same tokens as the rest of v2 so the design
   feels uniform across the site. */
.v2-page-header {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--v2-bg-tint) 0%, var(--v2-bg) 100%);
  border-bottom: 1px solid var(--v2-line);
}
.v2-page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 .6rem;
  max-width: 22ch;
}
.v2-page-header .v2-eyebrow { margin-bottom: 1rem; }
.v2-page-sub {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--v2-ink-soft);
  max-width: 60ch;
  margin: .25rem 0 0;
  font-weight: 400;
}

/* About-page header is centred (other secondary pages stay left-aligned).
   The H1 and subtitle have intrinsic max-width caps; auto-margins centre
   them inside the text-align:center container. */
.v2-about .v2-page-header { text-align: center; }
.v2-about .v2-page-header h1,
.v2-about .v2-page-header .v2-page-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About: sticky + shrinking title ----------
   The JS in about_v2.html wraps the header and the intro prose in
   .v2-about-sticky-zone, then moves the "Commando" heading (and
   everything below it) into a sibling .v2-about-rest. While the sticky
   zone is in view, the header sticks to top:0 and the prose scrolls up
   behind it; once the zone ends (= Commando heading reaches the top),
   sticky releases naturally and the header scrolls away with the page.

   Shrink is driven by a single CSS custom property `--shrink` (0 → 1)
   that the JS bumps with window.scrollY. Every dimension that should
   ease as you scroll is expressed as a calc() reading that variable —
   no per-element style writes from JS, no jank, layout stays computable.
*/
.v2-about-sticky-zone { position: relative; }
.v2-about .v2-page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  --shrink: 0;
  padding-top: calc(5rem - var(--shrink) * 3.2rem);
  padding-bottom: calc(3.5rem - var(--shrink) * 2.6rem);
  /* keep the gradient + bottom border so the prose scrolling behind
     never bleeds through */
  background: linear-gradient(180deg, var(--v2-bg-tint) 0%, var(--v2-bg) 100%);
  transition: none;            /* immediate scroll response */
}
.v2-about .v2-page-header h1 {
  transform: scale(calc(1 - var(--shrink, 0) * 0.22));
  transform-origin: center top;
  transition: none;
}
.v2-about .v2-page-header .v2-eyebrow {
  /* eyebrow fades a tick faster than the H1 shrinks */
  opacity: calc(1 - var(--shrink, 0) * 1.6);
  transition: none;
}
.v2-about .v2-page-header .v2-page-sub {
  opacity: calc(1 - var(--shrink, 0) * 1.4);
  max-height: calc((1 - var(--shrink, 0)) * 6rem);
  margin-top: calc((1 - var(--shrink, 0)) * .25rem);
  overflow: hidden;
  transition: none;
}
.v2-back-link {
  margin: 0 0 1rem;
  font-size: .95rem;
  letter-spacing: .02em;
}
.v2-back-link a { color: var(--c-teal); font-weight: 600; }
.v2-back-link a:hover { color: var(--c-navy); }

.v2-page-body { padding: 4rem 0 5rem; }

/* --- Post-specific header bits --- */
.v2-post-header { background: linear-gradient(180deg, var(--v2-bg-soft) 0%, var(--v2-bg) 100%); }
.v2-post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin: 0 0 1rem;
  font-size: .95rem; color: var(--v2-ink-mute);
}
.v2-post-date { font-variant-numeric: tabular-nums; }
.v2-post-author { color: var(--v2-ink-soft); }
.v2-pill {
  display: inline-block;
  font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 800;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--c-lime); color: var(--c-navy);
}

/* --- Case-study-child themes line --- */
.v2-themes {
  margin: .75rem 0 0;
  color: var(--v2-ink-soft);
  font-size: 1rem;
  font-style: italic;
}

/* --- Prose: typography for rendered markdown content ----------------
   Targets the structure produced by python-markdown (h2/h3 + p + lists +
   blockquote + img + tables + code). The aim is to match the v2 type
   scale and brand palette without each markdown file needing custom
   wrappers. */
.v2-prose {
  max-width: 72ch;
  margin: 0 auto;                          /* centred reading column */
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  line-height: 1.7;
  color: var(--v2-ink);
}
.v2-prose > :first-child { margin-top: 0; }
.v2-prose h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
  margin: 2.5rem 0 1rem;
}
.v2-prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--v2-h2-color);                /* gray, picks up dark variant inside dark sections */
  margin: 2.6rem 0 .9rem;
}
.v2-prose h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700; letter-spacing: -0.015em;
  margin: 2rem 0 .75rem;
}
.v2-prose h4 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  margin: 1.6rem 0 .6rem;
}
.v2-prose p { margin: 0 0 1.1em; }
.v2-prose strong { font-weight: 700; }
.v2-prose em { font-style: italic; }
.v2-prose ul, .v2-prose ol { padding-left: 1.6rem; margin: 0 0 1.4em; }
.v2-prose li { margin: .45em 0; }
.v2-prose li > ul, .v2-prose li > ol { margin: .35em 0; }
.v2-prose blockquote {
  border-left: 4px solid var(--c-teal);
  padding: .25rem 1.25rem;
  margin: 1.5em 0;
  color: var(--v2-ink-soft);
  font-style: italic;
}
.v2-prose a {
  color: var(--c-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.v2-prose a:hover { color: var(--c-navy); }
.v2-prose img {
  max-width: 100%; height: auto; display: block;
  border-radius: var(--v2-radius);
  margin: 1.75em 0;
  box-shadow: var(--v2-shadow-soft);
}
.v2-prose hr {
  border: 0;
  height: 1px;
  background: var(--v2-line);
  margin: 2.5em 0;
}
.v2-prose code {
  background: var(--v2-bg-soft);
  padding: .15em .4em;
  border-radius: 4px;
  font-family: var(--v2-font-mono);
  font-size: .9em;
}
.v2-prose pre {
  background: var(--c-navy); color: #fff;
  padding: 1.25rem 1.4rem;
  border-radius: var(--v2-radius);
  overflow-x: auto;
  margin: 1.5em 0;
}
.v2-prose pre code {
  background: transparent; color: inherit; padding: 0;
  font-size: .9rem;
}
.v2-prose table {
  width: 100%; border-collapse: collapse;
  margin: 1.75em 0;
  font-size: .98rem;
}
.v2-prose th, .v2-prose td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--v2-line);
  text-align: left;
}
.v2-prose th {
  background: var(--v2-bg-soft);
  font-weight: 700;
}

/* ---------- Content-type templates ---------- */

/* --- About: team mosaic ----------------------------------------------
   Asymmetric grid: the lead tile (CEO) spans two columns + two rows,
   the rest fill in as 1×1 squares. Auto-flows so adding/removing
   members in team.json just reshuffles the mosaic without code edits. */
.v2-team {
  background: var(--v2-bg);
  border-top: 1px solid var(--v2-line);
  /* Clip the scatter overflow when tiles slide out beyond the grid —
     prevents the JS-driven offsets from creating a horizontal scrollbar. */
  overflow: hidden;
}
.v2-team-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1rem;
}
.v2-team-tile {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--v2-bg-elev);
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius-lg);
  overflow: hidden;
  /* `transform` is driven by the per-frame scatter JS — no CSS transition
     on it (would lag the scroll). Opacity has a short ease so the hover
     fade still feels organic. */
  transition: opacity .25s, border-color .2s, box-shadow .2s;
  will-change: transform, opacity;
}
.v2-team-tile:hover {
  border-color: var(--c-teal);
  box-shadow: var(--v2-shadow-soft);
}
.v2-team-tile--lead {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--c-navy);
  color: var(--v2-dark-ink);
  border-color: var(--c-navy);
}
.v2-team-tile--lead:hover { border-color: var(--c-lime); }
.v2-team-portrait {
  flex: 0 0 auto;
  background: var(--v2-bg-tint);
  /* Portrait orientation so headshots fit floor-to-ceiling without
     cropping the forehead. Tile width × 4/3 = portrait box height. */
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.v2-team-tile--lead .v2-team-portrait {
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.05);
}

/* Placeholder tile (no portrait yet): muted background + lighter border
   so it visually announces "advisor coming" without competing with the
   real photo tiles next to it. */
.v2-team-tile--placeholder {
  background: var(--v2-bg-soft);
  border-style: dashed;
}
.v2-team-tile--placeholder .v2-team-portrait {
  background: rgba(31,111,117,.06);
}
.v2-team-tile--placeholder .v2-team-initials {
  color: var(--v2-ink-mute);
}
.v2-team-portrait img {
  width: 100%; height: 100%;
  /* object-fit: contain dezooms the photo so the full frame (face
     included) stays visible inside the tile, even when the photo's
     aspect ratio doesn't match the tile's. The tile background
     (var(--v2-bg-tint) on default tiles, translucent on the lead tile)
     fills the letterboxed strip. */
  object-fit: contain; object-position: center;
}
.v2-team-initials {
  font-family: var(--v2-font-display);
  font-size: 3rem; font-weight: 800;
  color: var(--c-teal);
}
.v2-team-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.v2-team-tile--lead .v2-team-body { padding: 1.5rem 1.75rem 2rem; }
.v2-team-body h3 {
  font-size: 1.15rem; line-height: 1.2;
  margin: 0; font-weight: 700;
}
.v2-team-tile--lead .v2-team-body h3 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  color: var(--v2-dark-ink);
}
.v2-team-role {
  margin: 0;
  font-size: .85rem;
  color: var(--c-teal);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v2-team-tile--lead .v2-team-role { color: var(--c-lime); }
.v2-team-bio {
  margin: .35rem 0 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--v2-ink-soft);
}
.v2-team-tile--lead .v2-team-bio {
  color: var(--v2-dark-ink-soft);
  font-size: 1.05rem;
}

/* --- Post / Insight: hero image + central column + signature ----- */
.v2-post-hero {
  margin: 0;
  background: var(--v2-bg-soft);
  overflow: hidden;
}
.v2-post-hero img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  display: block;
}
.v2-post-body { padding: 4rem 0 5rem; }
.v2-post-column {
  /* The user asked for the prose to sit centred at 80% of the page —
     the .v2-container is already capped to 1600px, so 80% of that
     reads as the column width; we centre it. */
  width: min(80%, 880px);
  margin: 0 auto;
}
.v2-post-column .v2-prose { max-width: none; }

.v2-signature {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 4rem;
  padding: 2rem;
  background: var(--v2-bg-elev);
  border: 1px solid var(--v2-line);
  border-left: 4px solid var(--c-teal);
  border-radius: var(--v2-radius);
}
.v2-signature-portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 3px solid var(--v2-bg);
  box-shadow: var(--v2-shadow-soft);
}
.v2-signature-body { display: flex; flex-direction: column; gap: .15rem; }
.v2-signature-label {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-teal);
}
.v2-signature-name {
  margin: .2rem 0 0;
  font-family: var(--v2-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v2-ink);
}
.v2-signature-role {
  margin: 0;
  font-size: .95rem;
  color: var(--v2-ink-soft);
  font-weight: 500;
}
.v2-signature-bio {
  margin: .5rem 0 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--v2-ink-soft);
}

/* --- Business cases: hero band + themes pills --- */
.v2-case-header {
  background: linear-gradient(180deg, var(--v2-bg-soft) 0%, var(--v2-bg-tint) 100%);
}
.v2-themes-pills {
  list-style: none;
  padding: 0; margin: 1.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.v2-themes-pills li {
  display: inline-block;
  font-size: .8rem; letter-spacing: .06em;
  font-weight: 700;
  padding: .35rem .85rem;
  background: var(--v2-bg);
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  color: var(--v2-ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .v2-pillars, .v2-audience, .v2-cases, .v2-articles { grid-template-columns: 1fr 1fr; }
  .v2-about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .v2-footer .grid { grid-template-columns: 1fr 1fr; }
  /* .v2-stats responsive grid lives next to the .v2-stat rules now —
     4 col → 2 col → 1 col cascade defined alongside the desktop rule. */
  .v2-proof .v2-container { grid-template-columns: 1fr; }

  /* Team mosaic — 2 columns at tablet width, lead tile spans both. */
  .v2-team-mosaic { grid-template-columns: repeat(2, 1fr); }
  .v2-team-tile--lead { grid-column: span 2; grid-row: span 1; }

  /* Post column widens on narrower screens (80 % of a smaller container
     would feel cramped — let it stretch). */
  .v2-post-column { width: min(92%, 720px); }
}

/* Burger breakpoint — nav can no longer fit on 2 rows here. */
@media (max-width: 760px) {
  .v2-nav-burger { display: flex; }       /* show burger */

  /* Hide inline nav by default, render it as a full-width dropdown panel
     when the checkbox is checked. The :checked ~ nav sibling selector
     drives this without any JavaScript. */
  .v2-nav nav {
    display: none;
    order: 99;                            /* push under the header row */
    flex-basis: 100%;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 0 .5rem;
    border-top: 1px solid var(--v2-line);
    margin-top: .5rem;
  }
  .v2-nav-toggle:checked ~ nav { display: flex; }

  /* Burger → X animation when open */
  .v2-nav-toggle:checked ~ .v2-nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .v2-nav-toggle:checked ~ .v2-nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .v2-nav-toggle:checked ~ .v2-nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Make tappable nav items inside the dropdown a bit roomier */
  .v2-nav nav a { padding: .5rem 0; font-size: 1.05rem; }
}

@media (max-width: 640px) {
  .v2-pillars, .v2-audience, .v2-cases, .v2-articles { grid-template-columns: 1fr; }
  .v2-hero { padding: 4rem 0 3rem; }
  .v2-section { padding: 4rem 0; }
  .v2-cta-form .grid-2 { grid-template-columns: 1fr; }
  .v2-footer .grid { grid-template-columns: 1fr; }
  .v2-footer .legal { flex-direction: column; gap: 1rem; }

  /* Team mosaic collapses to a single column — lead tile no longer spans. */
  .v2-team-mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .v2-team-tile--lead { grid-column: span 1; grid-row: span 1; }

  /* Post column: full bleed of the container on mobile. */
  .v2-post-column { width: 100%; }

  /* Signature stacks the portrait above the body on narrow screens. */
  .v2-signature { grid-template-columns: 1fr; text-align: left; gap: 1rem; }
  .v2-signature-portrait { width: 72px; height: 72px; }
}
