/* v2: combined proposal — only additions on top of styles.css */
.lang-toggle { padding: 8px 12px; border: 1px solid rgba(40, 215, 208, .3); background: transparent; color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.lang-toggle:hover, .lang-toggle:focus-visible { color: var(--ink); border-color: var(--mint); }

.live { border-top: 1px solid var(--line); }
.live-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.live-dot { display: inline-flex; align-items: center; gap: 10px; color: var(--copper-light); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0 rgba(217, 121, 75, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(217, 121, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 121, 75, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }
.live-copy h2 { margin: 14px 0 16px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.live-copy p { color: var(--muted); }
.live-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 28px 0 10px; background: var(--line); border: 1px solid var(--line); }
.live-stats div { padding: 18px 20px; background: var(--paper); }
.live-stats dt { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.live-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.stamp { font-size: 12px; margin: 0 0 24px; opacity: .8; }
.live-shot { display: block; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.live-shot img { width: 100%; height: auto; transition: transform .6s ease; }
.live-shot:hover img { transform: scale(1.015); }
.shot-mobile { display: none; }

.note-lang:empty, .note-lang { margin: 0; font-size: 12px; color: var(--muted); }

.lessons { margin-top: 48px; padding: 32px; border: 1px solid rgba(217, 121, 75, .35); background: rgba(217, 121, 75, .05); }
.lessons h3 { margin: 0 0 8px; font-size: 22px; }
.lessons ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.lessons li { padding-left: 18px; border-left: 2px solid var(--copper); color: var(--muted); }
.lessons li strong { display: block; color: var(--ink); margin-bottom: 4px; }

.engage h2 { margin: 12px 0 28px; }
.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.engage-grid article { padding: 28px; border: 1px solid var(--line); background: var(--night-2); }
.engage-grid small { color: var(--mint); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.engage-grid h3 { margin: 10px 0 10px; font-size: 20px; }
.engage-grid p { color: var(--muted); font-size: 15px; }
.engage-hv { border-color: rgba(217, 121, 75, .5) !important; }
.engage-actions { margin-top: 32px; }

@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; gap: 32px; }
  .engage-grid { grid-template-columns: 1fr; }
  .shot-desktop { display: none; }
  .shot-mobile { display: block; max-width: 390px; margin: 0 auto; }
  .live-shot { background: transparent; box-shadow: none; border: 0; }
  .lessons { padding: 22px 18px; }
}

/* MindWareHouse section (2026-09-22): the platform itself, and the 8 internal components that
   run under it (routing, governed memory, execution, mission control, QA) — distinct from the
   product grid in #work, which is what is BUILT ON this platform. */
.mwh-section .feature-pair.mwh-proof { margin-top: 56px; }
.mwh-grid-heading { margin: 56px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.mwh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.mwh-tile {
  display: flex; flex-direction: column; gap: 8px; min-height: 148px; padding: 20px;
  border: 1px solid var(--line); background: rgba(5, 14, 13, .72); text-align: left;
  cursor: pointer; transition: .2s ease; font: inherit; color: inherit;
}
.mwh-tile:hover { background: rgba(14, 41, 36, .88); border-color: rgba(40, 215, 208, .42); transform: translateY(-2px); }
.mwh-tile:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }
.mwh-tile .mwh-tier { color: var(--copper); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.mwh-tile h3 { margin: 2px 0 0; font-size: 17px; letter-spacing: -.02em; }
.mwh-tile p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

@media (max-width: 980px) {
  .mwh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .mwh-grid { grid-template-columns: 1fr; }
}

/* Site plan 2026-09-23 --------------------------------------------------------------------------- */
/* Dated claims (claims.json): the date is part of the claim, shown quietly next to it. */
.asof { font-size: .82em; color: var(--muted); white-space: nowrap; }
/* Two-layer briefs: public layer on top, technical evidence in a native <details>. */
.dialog-evidence { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 18px; }
.dialog-evidence summary { cursor: pointer; font-size: 20px; font-weight: 700; color: var(--ink); list-style-position: outside; }
.dialog-evidence summary small { display: block; margin-top: 4px; color: var(--muted); font: 600 11px/1.4 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.dialog-evidence summary:focus-visible { outline: 2px solid var(--green-2); outline-offset: 4px; }
.dialog-evidence ul { margin: 16px 0 0; }
.dialog-evidence li { color: var(--muted); margin-bottom: 10px; }
.dialog-meta small.asof { display: inline; margin: 0; font: inherit; font-size: .82em; text-transform: none; }
/* Filters: pressed state readable without relying on colour (check mark + weight). */
.filter { color: var(--ink); }
.filter.active, .filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter[aria-pressed="true"] span { color: var(--paper); }
.filter[aria-pressed="true"]::before { content: "✓ " / ""; }
.filter:focus-visible, .card-action:focus-visible, .text-button:focus-visible, .button:focus-visible, .lang-toggle:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
/* No-JS fallback lists (generated by tools/sync_site.js). */
.noscript-heading { margin: 28px 0 6px; font: 700 11px/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-light); }
.noscript-list { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.noscript-list li { margin-bottom: 8px; }
.noscript-list strong { color: var(--ink); }
/* Long unbroken tokens (em-dashes, "FAST / BALANCED / DEEP / FORGE") must not force horizontal scroll at 320 px. */
.project-card, .mwh-tile, .dialog-meta > div, .feature-copy, .lessons li { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  .project-card:hover, .mwh-tile:hover { transform: none; }
  .live-shot:hover img { transform: none; }
}
/* Reflow (P2-1): the full desktop nav needs ~1000 px; below that it moved off-screen at 768 px
   (horizontal scroll). Use the menu button up to 1040 px; <=720 px keeps the original fixed panel. */
@media (min-width: 721px) and (max-width: 1040px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 6px; }
  .site-nav .lang-toggle { align-self: flex-start; margin: 8px 6px; }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
}
/* Contrast (P2-1): copper section index on the green leadership card measured 2.63:1; lighter tint >= 4.5:1. */
.about-card .section-index { color: #f6cdb4; }
/* Visual audit 2026-09-23: the HelpVenezuela shot's white link background stretched to the height of the
   text column, showing as a large blank block under the screenshot. Size the frame to the image instead. */
.feature .live-shot { align-self: center; }
/* Date under the monthly-cost tile: plain small text, not the tile's uppercase label style. */
.operating-grid small.asof { display: block; margin: 8px 0 0; font: 400 12px/1.4 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--muted); }
/* Decisions D1/D2/D8 (2026-09-23): hero offer line + audience, contact honesty note, language link. */
.hero-audience { max-width: 570px; margin: -18px 0 30px; color: var(--mint); font-size: 15px; line-height: 1.5; }
.contact-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.hero .contact-note { margin: 14px 0 0; }
a.lang-toggle { display: inline-block; text-decoration: none; line-height: 1.2; }
.engage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* 3 services since 2026-11-11 */
.engage-grid .text-button { display: inline-block; margin-top: 14px; }
@media (max-width: 900px) { .engage-grid { grid-template-columns: 1fr; } }
