/* Modelwright — mw-site.css: the broadened site (hero switcher, solutions, industry showcase, gallery, demo pages).
   Builds on site.css tokens: stone palette, Inter Tight + JetBrains Mono, hairlines, one accent. */

/* ------------------------------------------------ header: mobile menu */
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius); cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.nav-toggle i:first-of-type { top: 15px; } .nav-toggle i:last-of-type { top: 23px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .site-header .nav { display: none; }
  .site-header .nav.open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; z-index: 40; }
  .site-header .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hdr-cta { display: none; }
}

/* ------------------------------------------------ hero */
.hero-mw .hero-figure { display: grid; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-chip { font: 500 13px/1 var(--font); padding: 9px 13px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); border-radius: 999px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.hero-chip:hover { border-color: var(--ink); color: var(--ink); }
.hero-chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero-mw .mw3d-controls { padding-top: 12px; min-height: 64px; }
.hero-mw .mw3d-stage { aspect-ratio: 5 / 4; }
.mw3d-hint { position: absolute; z-index: 4; right: 24px; bottom: 16px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; transition: opacity .4s; }
.mw3d-stage.touched .mw3d-hint { opacity: 0; }
/* 27.10: the hint is a small pill that fades out by itself (it overlapped demo cards on phones) and never sits over an embedded demo */
.slot-live .mw3d-hint { left: 50%; right: auto; bottom: auto; top: 58px; transform: translateX(-50%); white-space: nowrap; background: rgba(251,250,248,.9); color: var(--ink-2); padding: 7px 10px; border-radius: 2px; animation: mw-hint 4.8s ease forwards; }
.slot-live.is-loading .mw3d-hint { animation: none; opacity: 0; }
.slot-live:has(iframe) .mw3d-hint { display: none; }
@keyframes mw-hint { 0%, 8% { opacity: 0; } 14%, 82% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .slot-live .mw3d-hint { animation: none; } }
.mw3d-stage.swapping .mw3d-canvas { opacity: .25; transition: opacity .25s; }
.mw3d-canvas { transition: opacity .35s; }

/* ------------------------------------------------ solutions grid (hairline table, not cards) */
.sol-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.sol { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.sol:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.sol h3 { font-size: 22px; }
.sol p { color: var(--ink-2); }
.sol-n { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: .06em; }
.sol-k { font: 500 12px/1.5 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
@media (max-width: 980px) { .sol-grid { grid-template-columns: 1fr 1fr; } .sol:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; } .sol:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 640px) { .sol-grid { grid-template-columns: 1fr; } .sol:nth-child(2n) { padding-left: 0; border-left: 0; } }

/* ------------------------------------------------ industry showcase */
.showcase { display: grid; gap: 22px; }
.ind-tabs { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.ind-tab { flex: 1 1 0; min-width: 130px; text-align: left; font: 500 14px/1.3 var(--font); padding: 14px 14px 16px 0; background: none; border: 0; color: var(--ink-3); cursor: pointer; position: relative; }
.ind-tab + .ind-tab { padding-left: 14px; border-left: 1px solid var(--line); }
.ind-tab-n { display: block; font: 500 11px/1 var(--mono); color: var(--ink-4); margin-bottom: 8px; }
.ind-tab:hover { color: var(--ink); }
.ind-tab[aria-selected="true"] { color: var(--ink); }
.ind-tab[aria-selected="true"] .ind-tab-n { color: var(--accent); }
.ind-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.ind-tab + .ind-tab[aria-selected="true"]::after { left: 14px; }
.ind-panel { display: grid; grid-template-columns: minmax(260px, 1fr) 2.2fr; gap: 36px; align-items: start; }
.ind-info { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.ind-name { font-size: 28px; }
.ind-why { color: var(--ink-2); }
.ind-demos { display: flex; gap: 6px; flex-wrap: wrap; }
.ind-demos button { font: 500 13px/1 var(--font); padding: 9px 12px; border: 1px solid var(--line-2); background: transparent; border-radius: 2px; cursor: pointer; color: var(--ink); }
.ind-demos button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ind-items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ind-items li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.ind-links { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.ind-note { color: var(--ink-3); font-size: 15px; }
.ind-note a { color: var(--ink); }
.ind-view { min-width: 0; }
.ind-panel.is-swapping .ind-info > *:not(.ind-demos) { opacity: .35; transition: opacity .2s; }
@media (max-width: 980px) {
  .ind-panel { grid-template-columns: 1fr; gap: 18px; }
  .ind-info { position: static; order: 2; }
  .ind-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab { flex: 0 0 auto; min-width: 150px; }
}

/* frame stage (existing configurators, loaded on click) */
.frame-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: var(--stage); }
.frame-stage .mw3d-start { z-index: 4; }
.frame-stage.is-live .mw3d-poster { opacity: 0; }
.mw3d-stage.ref-stage .mw3d-start { bottom: 24px; }

/* ------------------------------------------------ selected work */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.g-grid-2 { grid-template-columns: 1fr 1fr; margin-top: 36px; }
.g-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); min-width: 0; transition: border-color .2s, transform .25s; }
.g-card:hover { border-color: var(--line-2); }
.g-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stage); }
.g-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-card:hover .g-media img { transform: scale(1.025); }
.g-body { display: grid; gap: 8px; padding: 18px 20px 20px; align-content: start; }
.g-status { font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.g-status.is-client { color: var(--accent); }
.g-title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.g-title a { text-decoration: none; }
.g-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.g-sum { color: var(--ink-2); font-size: 15px; }
.g-tags { font: 500 11.5px/1.5 var(--mono); color: var(--ink-3); }
.g-actions { display: flex; gap: 16px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.work-note { margin-top: 28px; color: var(--ink-3); font-size: 15px; max-width: 70ch; }
.case-facts { list-style: none; padding: 0; margin: 18px 0; display: flex; gap: 28px; }
.case-facts li { display: grid; color: var(--ink-3); font-size: 14px; }
.case-facts strong { font-size: 34px; font-weight: 500; color: var(--ink); letter-spacing: -0.03em; }
@media (max-width: 980px) { .g-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g-grid, .g-grid-2 { grid-template-columns: 1fr; } }

/* ------------------------------------------------ fit list */
.fit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.fit-list li { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fit-q { font-size: 20px; letter-spacing: -0.015em; }
.fit-a a { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent); }
.fit-x { color: var(--ink-3); font-size: 15px; }
.fit-x a { color: var(--ink-2); }
@media (max-width: 760px) { .fit-list li { grid-template-columns: 1fr; gap: 6px; } }

.steps-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .steps-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-5 { grid-template-columns: 1fr; } }

/* ------------------------------------------------ sub pages */
.page-head { padding-bottom: 24px; }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; margin-bottom: 18px; max-width: 18ch; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill-nav a { font: 500 13px/1 var(--font); text-decoration: none; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 999px; }
.pill-nav a:hover { border-color: var(--ink); }
.svc-list { display: grid; gap: 0; padding-bottom: 40px; }
.svc, .ind-sec { display: grid; grid-template-columns: minmax(260px, 1fr) 2.2fr; gap: 36px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc:first-child, .ind-sec:first-child { border-top: 1px solid var(--ink); }
.svc-head, .ind-sec-head { display: grid; gap: 12px; align-content: start; }
.svc-head h2, .ind-sec-head h2 { font-size: 30px; }
.svc-lede { color: var(--ink-2); }
.svc-k { list-style: none; padding: 0; margin: 0; font: 500 12.5px/1.9 var(--mono); color: var(--ink-3); }
.svc-k li::before { content: "— "; color: var(--accent); }
.svc .g-grid, .ind-sec .g-grid { grid-template-columns: repeat(2, 1fr); }
.svc-empty { color: var(--ink-2); max-width: 60ch; padding: 22px; border: 1px dashed var(--line-2); background: var(--paper); }
.ind-sols { font-size: 14px; color: var(--ink-3); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
.scope-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.scope-list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.scope-note { color: var(--ink-2); }
@media (max-width: 900px) { .svc, .ind-sec, .scope-grid { grid-template-columns: 1fr; gap: 18px; } .svc .g-grid, .ind-sec .g-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc .g-grid, .ind-sec .g-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ gallery filters */
.gallery-sec { padding-top: 8px; }
.filters { display: grid; gap: 14px; margin-bottom: 28px; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.f-search input { width: 100%; max-width: 520px; font: 400 16px/1 var(--font); padding: 13px 14px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 2px; color: var(--ink); }
.f-row-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.f-lab { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); width: 86px; flex: 0 0 auto; }
.f-chip { font: 500 13px/1 var(--font); padding: 8px 12px; border: 1px solid var(--line-2); background: transparent; border-radius: 999px; cursor: pointer; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.f-chip:hover { border-color: var(--ink); }
.f-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.f-chip:disabled { opacity: .35; cursor: default; }
.f-n { font: 500 11px/1 var(--mono); opacity: .7; }
.f-count { font: 500 12px/1 var(--mono); color: var(--ink-3); display: flex; gap: 16px; align-items: center; }
.g-card[hidden] { display: none; }
.g-empty { padding: 40px 0; color: var(--ink-2); }
@media (max-width: 640px) { .f-lab { width: 100%; } .f-row-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .f-row-chips .f-lab { display: none; } .f-chip { flex: 0 0 auto; } }

/* ------------------------------------------------ dialog viewer (one shared stage) */
.mw-dialog { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.mw-dialog::backdrop { background: rgba(27, 30, 34, .55); }
.mw-dialog-bar { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mw-dialog-bar h2 { font-size: 18px; margin-right: auto; }
.mw-dialog-close { width: 36px; height: 36px; border: 1px solid var(--line-2); background: transparent; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 2px; }
.mw-dialog-body { padding: 16px 18px 18px; overflow: auto; max-height: calc(100vh - 110px); }
.mw-dialog .mw3d-stage { aspect-ratio: 16 / 9; }
@media (max-width: 720px) { .mw-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; } .mw-dialog .mw3d-stage { aspect-ratio: 4 / 4.2; } }

/* ------------------------------------------------ demo page */
.demo-page { padding-top: 28px; }
.crumbs { font: 500 12px/1 var(--mono); color: var(--ink-3); margin-bottom: 18px; letter-spacing: .04em; }
.crumbs a { color: var(--ink-2); }
.dp-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 40px; align-items: start; }
.dp-info { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.dp-info h1 { font-size: clamp(30px, 3.4vw, 44px); }
.dp-sum { color: var(--ink-2); font-size: 18px; }
.dp-h { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.dp-items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dp-items li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dp-sols { font-size: 14px; color: var(--ink-3); }
.demo-page .mw3d-stage.tall { aspect-ratio: 4 / 3; }
@media (max-width: 980px) { .dp-grid { grid-template-columns: 1fr; gap: 22px; } .dp-info { position: static; } }

/* ------------------------------------------------ reveal on scroll (subtle; off for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .rv.in { opacity: 1; transform: none; }
}
.ind-tab { display: flex; flex-direction: column; justify-content: flex-start; align-self: stretch; }

/* glass room mounted in the hero stage (its own engine): the mw3d canvas and hotspots step aside */
.legacy-viewer { position: absolute; inset: 0; z-index: 2; }
.legacy-viewer canvas { width: 100% !important; height: 100% !important; display: block; }
.mw3d-stage.legacy-on .mw3d-canvas, .mw3d-stage.legacy-on .mw3d-hotspots { visibility: hidden; }
.mw3d-stage.legacy-on .mw3d-hint { display: none; }

/* ALUXIL reference without a picture: typographic card + full-width text teaser */
.g-media-ref { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 6px; padding: 26px 22px 16px; background: var(--stage); color: var(--ink); text-decoration: none; overflow: hidden; }
.g-media-ref::before, .g-media-ref::after { content: ""; position: absolute; width: 14px; height: 14px; top: 12px; left: 12px; border: 1px solid var(--ink-4); border-right: 0; border-bottom: 0; }
.g-media-ref::after { left: auto; right: 12px; border-left: 0; border-right: 1px solid var(--ink-4); }
.g-ref-k { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding-left: 10px; }
.g-ref-art { width: 78%; height: 100%; max-height: 100%; align-self: center; justify-self: center; color: var(--ink-2); }
.g-ref-name { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.g-ref-f { font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.case-teaser-text { display: block; max-width: 760px; }
.case-media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stage); }
.case-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-media .pv-try { position: absolute; }

/* ================================================= preview-first slots (26.10.2026) */
.slot { display: grid; gap: 0; min-width: 0; }
.slot-view { position: relative; aspect-ratio: 16 / 10; background: var(--stage); overflow: hidden; isolation: isolate; }
.slot-hero .slot-view { aspect-ratio: 5 / 4; }
.slot-demo .slot-view { aspect-ratio: 4 / 3; }
.slot-view::before, .slot-view::after { content: ""; position: absolute; width: 14px; height: 14px; z-index: 6; pointer-events: none; border: 1px solid var(--ink-4); top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.slot-view::after { left: auto; right: 12px; border-left: 0; border-right: 1px solid var(--ink-4); }
.pv-poster, .pv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-video { opacity: 0; transition: opacity .6s ease; }
.pv-video.on { opacity: 1; }
.pv-tag { position: absolute; z-index: 4; left: 28px; top: 22px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: rgba(251, 250, 248, .9); padding: 7px 10px; border-radius: 2px; display: inline-flex; gap: 7px; align-items: center; }
.pv-tag::before { content: ""; width: 0; height: 0; border-left: 7px solid var(--ink-3); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.pv-try { position: absolute; z-index: 5; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px 13px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font: 500 15px/1 var(--font); box-shadow: 0 6px 24px rgba(29, 32, 36, .22); transition: transform .2s, box-shadow .2s, background-color .2s; }
.pv-try svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.pv-try:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(168, 72, 28, .3); }
.pv-try:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.g-media .pv-video { aspect-ratio: auto; }
.g-media { position: relative; }
/* live mode: the preview steps aside, the stage fills the view */
/* 27.10 transition: the paused video frame (or poster) stays under the loading 3D, dimmed, and the live canvas fades in
   over it; only then the preview is hidden. No empty grey stage between preview and live. */
.slot.is-live-mode .pv-tag, .slot.is-live-mode .pv-try { visibility: hidden; }
.slot.is-live-mode .pv-poster, .slot.is-live-mode .pv-video { filter: saturate(.85) brightness(.97); transition: filter .3s; }
.slot.is-live-mode.live-ready .pv-poster, .slot.is-live-mode.live-ready .pv-video { visibility: hidden; transition: visibility 0s .45s; }
.slot-live { background: transparent !important; }   /* the slot-view below has the stage colour; the canvas paints its own */
.slot-live.is-loading:not(.swapping) .mw3d-canvas { opacity: 0; }
.slot-live .mw3d-canvas { transition: opacity .4s ease; }
.slot-live.is-loading .mw3d-hotspots { opacity: 0; }
.slot-live.is-loading .mw3d-status { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.slot-live { position: absolute; inset: 0; z-index: 3; aspect-ratio: auto !important; min-height: 0 !important; }
.slot-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--stage); }
.slot-live .mw3d-tools [data-act="close"] { font-size: 13px; padding: 7px 10px; }
.slot-live.legacy-on .mw3d-hint { display: none; }
.legacy-viewer, .legacy-viewer.cfg3d, .legacy-viewer canvas { touch-action: pan-y !important; }   /* the older glass-room engine set none: phones could not scroll past it */
.slot .mw3d-controls:empty { display: none; }
@media (max-width: 720px) {
  .pv-try { left: 14px; bottom: 14px; padding: 11px 14px 11px 12px; font-size: 14px; }
  .pv-tag { left: 16px; top: 14px; }
  .slot-hero .slot-view, .slot-demo .slot-view { aspect-ratio: 4 / 4.2; }
}

/* ================================================= flagship rows (large editorial showcases) */
.flags { padding-top: 64px; }
.flag-list { display: grid; gap: 72px; }
.flag { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: center; }
.flag-rev { grid-template-columns: 1fr 1.55fr; }
.flag-rev .flag-view { order: 2; }
.flag-copy { display: grid; gap: 14px; max-width: 46ch; }
.flag-copy h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.flag-lede { color: var(--ink-2); font-size: 18px; }
.flag-links { margin-top: 6px; }
.flag .slot-view { aspect-ratio: 16 / 10.5; }
@media (max-width: 900px) { .flag, .flag-rev { grid-template-columns: 1fr; gap: 20px; } .flag-rev .flag-view { order: 0; } .flag-list { gap: 52px; } }

/* 27.10: illustrative-values note on demo pages */
.dp-note { margin: 14px 0 4px; padding: 10px 12px; border-left: 3px solid var(--line-2, #c9c5bf); background: rgba(0,0,0,.025); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.form-copy { display: block; width: 100%; margin: 10px 0 8px; font: 13px/1.45 var(--mono, monospace); padding: 10px; border: 1px solid var(--line-2, #c9c5bf); background: #fff; color: var(--ink); resize: vertical; }
.slot-live.is-failed { background: transparent; }   /* the preview stays visible behind the red note */
.slot-live.is-failed .mw3d-canvas { visibility: hidden; }
.f-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot */
.form-note.is-error, .form-note.is-ok { flex-basis: 100%; }
.form-note.is-error { color: #fff; background: #a3221a; padding: 10px 12px; border-left: 4px solid #e57368; font-family: var(--font); }
.form-note.is-error a { color: #fff; text-decoration: underline; }
.form-note.is-ok { color: #e6f3ea; background: #24543a; padding: 10px 12px; border-left: 4px solid #6fbf8b; font-family: var(--font); }
.contact-form input[aria-invalid="true"], .contact-form select[aria-invalid="true"] { border-color: #e57368; box-shadow: 0 0 0 1px #e57368; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
