/* Elevate · flat-roof museum & lab */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/instrument-serif-400.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../assets/fonts/instrument-serif-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/dm-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/dm-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/dm-sans-600.woff2) format('woff2'); }

:root {
  --bg: #f1f0e9; --paper: #f7f6f0; --card: #fbfaf6; --ink: #1d231f; --ink-2: #353d37; --muted: #59645c;
  --line: #dcd8cc; --line-2: #c9c4b6; --green: #173b2b; --green-2: #22513b; --green-soft: #e4e9e1; --green-ink: #f4f2ea;
  --orange: #b9471d; --orange-2: #a23d17; --stage: #eeebe3; --gallery: #1d1b18;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 32px; --r: 16px; --r-sm: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }

/* The shared Brand Hall script adds a back bar when this page is opened on its own. */
body > aside:first-child { padding-top: 0 !important; padding-bottom: 0 !important; row-gap: 0 !important; }
body > aside:first-child a { display: inline-flex; align-items: center; min-height: 44px; }
body > aside:first-child span { padding: 6px 0; }
@media (max-width: 640px) { body > aside:first-child { position: relative !important; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--green); color: var(--green-ink); padding: 12px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow, .kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1 em, h2 em { font-style: italic; }

/* ---------- top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.lockup__mark { font: 600 20px/1 var(--sans); letter-spacing: -.02em; }
.lockup__txt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-2); padding-left: 12px; }
.topnav { display: flex; gap: 4px; }
.topnav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px; text-decoration: none; font-size: 14px; color: var(--ink-2); border-radius: 8px; }
.topnav a:hover { background: var(--green-soft); }

/* ---------- museum ---------- */
.museum { padding: 40px 0 24px; }
.museum__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 28px; }
.museum h1 { font-size: clamp(46px, 7.2vw, 98px); line-height: .96; margin-top: 14px; }
.museum__intro p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
.textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--green); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.textlink:hover { text-decoration-thickness: 2px; }
.gallery { position: relative; }
.gallery__stage { position: relative; width: 100%; height: clamp(440px, 76vh, 780px); border-radius: 20px; overflow: hidden; background: var(--gallery); isolation: isolate; }
.gallery__stage canvas, .stage canvas { width: 100%; height: 100%; display: block; }
.gallery__stage canvas { cursor: grab; }
.still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; transition: opacity .5s; }
.gallery__stage .stage-loading { color: #d8d2c6; }
.is-ready .stage-loading { opacity: 0; }
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; pointer-events: auto; transition: opacity .25s; }
.hot span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card); color: var(--ink); font: 600 13px/1 var(--sans); box-shadow: 0 2px 10px rgba(29, 35, 31, .25); border: 1.5px solid var(--green); }
.hot:hover span, .hot[aria-pressed='true'] span { background: var(--green); color: var(--green-ink); }
.hot.is-hidden { opacity: 0; pointer-events: none; }
.stage-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(29, 35, 31, .14); background: rgba(251, 250, 246, .94); font-size: 14px; font-weight: 500; cursor: pointer; }
.tool:hover { background: #fff; }
.tool svg { width: 16px; height: 16px; }
.stage-hint { position: absolute; right: 16px; bottom: 16px; background: rgba(251, 250, 246, .94); border-radius: 999px; padding: 10px 14px; font-size: 13px; color: var(--ink-2); }
.placard { position: absolute; right: calc(var(--gutter) + 20px); top: 20px; width: min(380px, 34%); max-height: calc(100% - 40px); overflow: auto; background: var(--card); border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 18px 40px rgba(29, 35, 31, .18); }
.placard[hidden] { display: none; }
.placard .kicker { display: flex; justify-content: space-between; gap: 12px; }
.placard h2 { font-size: 34px; line-height: 1.05; margin: 8px 0 10px; }
.placard p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.placard h3 { font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.placard ul li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; margin-bottom: 8px; }
.placard ul li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border: 1.5px solid var(--green); border-radius: 3px; }
.placard__links { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.placard__links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--green); }
.placard__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.placard__close:hover { background: var(--green-soft); }
.partlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.partlist button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.partlist button:hover { border-color: var(--green); }
.partlist button[aria-pressed='true'] { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.partlist .n { font: 600 13px/1 var(--sans); color: var(--muted); }
.partlist button[aria-pressed='true'] .n { color: #c9d6cc; }
.partlist .t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.partlist .k { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.partlist button[aria-pressed='true'] .k { color: #c9d6cc; }
.fineprint { font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 14px; max-width: 90ch; }

/* ---------- lab ---------- */
.lab { padding: 56px 0 24px; }
.lab__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 22px; }
.lab h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; margin-top: 10px; }
.lab__intro { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 54ch; }
.studio { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 330px minmax(0, 1fr) 380px; grid-template-areas: 'build stage bill'; height: clamp(640px, calc(100vh - 36px), 940px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.studio__view { grid-area: stage; position: relative; min-width: 0; background: var(--stage); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.studio__stage { position: absolute; inset: 0; }
.stage { position: absolute; inset: 0; }
.stage canvas { cursor: grab; }
.stage-caption { position: absolute; left: 16px; top: 14px; background: rgba(251, 250, 246, .94); border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--ink-2); max-width: calc(100% - 32px); }
.overlay { position: absolute; inset: 0; background: var(--card); overflow: auto; }
.overlay[hidden] { display: none; }
.labels { position: absolute; inset: 0; pointer-events: none; }
.lbl { position: absolute; left: 0; top: 0; height: 30px; display: flex; align-items: center; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 0 10px; font-size: 13px; line-height: 1; white-space: nowrap; color: var(--ink); box-shadow: 0 2px 8px rgba(29, 35, 31, .1); }
.lbl-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--card); }
.lbl-lead { position: absolute; left: 0; top: 0; height: 1px; background: var(--green); transform-origin: 0 50%; }
.lbl.is-hidden { display: none; }
.conn-marker { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; pointer-events: auto; }
.conn-marker span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--green-ink); font: 600 13px/1 var(--sans); box-shadow: 0 0 0 4px rgba(23, 59, 43, .18); }
.viewbar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 10px 30px rgba(29, 35, 31, .12); max-width: calc(100% - 24px); }
.viewbar__seg { display: flex; gap: 2px; }
.viewbar button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.viewbar button svg { width: 18px; height: 18px; flex: none; }
.viewbar button:hover { background: var(--green-soft); }
.viewbar__seg button[aria-checked='true'] { background: var(--green); color: var(--green-ink); }
.viewbar__tools { display: flex; gap: 2px; border-left: 1px solid var(--line); padding-left: 6px; }
.viewbar__tools button { padding: 0; justify-content: center; }

.rail { min-width: 0; overflow-y: auto; overscroll-behavior: contain; }
.rail--build { grid-area: build; padding: 20px 16px 32px; }
.rail--bill { grid-area: bill; display: flex; flex-direction: column; overflow: hidden; }
.rail__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.group { padding: 4px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.group:last-child { border-bottom: 0; }
.group > h3 { font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; }
.group > h3 output { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-2); }
.field { margin-bottom: 12px; }
.field > label, .field > .flabel { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field .help { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 6px; }
.flabel__aside { font-size: 13px; font-weight: 400; color: var(--muted); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); overflow: hidden; }
.stepper button { border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; min-height: 44px; }
.stepper button:hover { background: var(--green-soft); }
.stepper input { width: 100%; min-width: 0; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 16px; font-weight: 500; background: transparent; padding: 0 4px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input { width: 100%; min-height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); padding: 0 12px; font-size: 15px; }
select.input { padding-right: 36px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231d231f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; text-overflow: ellipsis; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.seg label { position: relative; flex: 1 1 auto; }
#segMil { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
#segMil span { flex-direction: column; gap: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); font-size: 14px; font-weight: 500; text-align: center; line-height: 1.25; cursor: pointer; }
.seg span small { font-size: 13px; color: var(--muted); font-weight: 400; }
.seg input:checked + span { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.seg input:checked + span small { color: #c9d6cc; }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.seg label:hover span { border-color: var(--green); }
.blurb { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.note { font-size: 13px; line-height: 1.5; color: var(--ink-2); background: var(--green-soft); border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.toggle:last-child { border-bottom: 0; }
.toggle .tl { font-size: 14px; font-weight: 500; line-height: 1.35; }
.toggle .td { grid-column: 1; font-size: 13px; color: var(--muted); line-height: 1.4; }
.switch { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 52px; height: 44px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; left: 0; top: 10px; width: 52px; height: 24px; border-radius: 999px; background: #d3cec1; transition: background .2s; pointer-events: none; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(28px); }
.switch input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

/* connection + bill */
.conn { padding: 20px 20px 18px; border-bottom: 1px solid var(--line); }
.conn__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.conn h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 6px 0 12px; }
.conn__drawing { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.stack { margin-top: 12px; counter-reset: s; }
.stack li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.stack li:last-child { border-bottom: 0; }
.stack li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 13px; color: var(--muted); padding-top: 1px; }
.stack .sn { font-weight: 600; }
.stack .sw { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.stack .st { font-size: 13px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.conn a { margin-top: 6px; }
.bill { padding: 18px 20px 8px; }
.bill__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bill__head p:last-child { font-size: 13px; color: var(--muted); }
.bill__cols { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-2); padding: 10px 0 6px; margin-top: 4px; }
.bill__group { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 0 2px; }
.line { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); min-height: 44px; }
.line__name a::after { content: ''; position: absolute; inset: 0; } /* the whole row is the link's target */
.line select, .line .linkbtn, .line label { position: relative; z-index: 1; }
.line:hover .line__name a { text-decoration-color: var(--green); }
.line__name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.line__name a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.line__name a:hover { text-decoration-color: var(--green); }
.line__ext { font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line__meta { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); line-height: 1.45; font-variant-numeric: tabular-nums; }
.line__meta .code { color: var(--muted); }
.line__basis { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.45; }
.line__note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.desk { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--card); white-space: nowrap; }
.line--open .line__name { font-weight: 500; }
.line select.input { margin-top: 6px; min-height: 44px; font-size: 14px; }
.line .linkbtn { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; padding: 0; font-size: 14px; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bill__foot { border-top: 1px solid var(--line-2); padding: 14px 20px 16px; background: var(--paper); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total span { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.total strong { font: 400 36px/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.total__note { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 6px 0 12px; }
.ctas { display: grid; grid-template-columns: 1fr; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; text-align: center; line-height: 1.2; cursor: pointer; border: 1.5px solid transparent; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-2); }
.btn--secondary { background: var(--card); color: var(--green); border-color: var(--green); }
.btn--secondary:hover { background: var(--green-soft); }
.btn[aria-disabled='true'] { opacity: .5; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex: none; }
.cta-fine { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 10px; }

.tabs { display: none; }
.mobilebar { display: none; }

/* ---------- checklist ---------- */
.checks { padding: 64px var(--gutter) 24px; }
.checks__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.checks h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.05; margin-top: 10px; }
.callout { background: var(--green); color: var(--green-ink); border-radius: 14px; padding: 18px 20px; font-size: 16px; line-height: 1.55; }
.callout strong { font-weight: 600; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 28px; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.checklist li::before { content: ''; width: 18px; height: 18px; margin-top: 3px; border: 1.5px solid var(--green); border-radius: 4px; }
.checklist strong { color: var(--ink); font-weight: 600; }
.checklist a { color: var(--green); }

/* ---------- catalog ---------- */
.catalog { padding: 56px var(--gutter) 24px; }
.catalog__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.catalog h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.05; margin-top: 10px; }
.catalog__head p { font-size: 15px; color: var(--ink-2); max-width: 52ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 24px; }
.card { display: grid; grid-template-columns: 96px minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; min-height: 112px; }
.card:hover { border-color: var(--green); }
.card__img { background: #fff; display: grid; place-items: center; border-right: 1px solid var(--line); }
.card__img img { width: 96px; height: 96px; object-fit: contain; padding: 8px; }
.card__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card__role { font-size: 13px; color: var(--muted); }
.card__title { font-size: 14px; font-weight: 600; line-height: 1.4; }
.card__price { font-size: 14px; margin-top: auto; font-variant-numeric: tabular-nums; }
.card__price span { color: var(--muted); }

/* ---------- footer ---------- */
.foot { padding: 40px var(--gutter) 56px; border-top: 1px solid var(--line); margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: start; }
.foot p { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 96ch; }
.foot p + p { margin-top: 8px; }
.card__glyph { width: 56px; height: 56px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--green); }

/* ---------- narrower: studio becomes stage + tabs ---------- */
@media (max-width: 1179px) {
  .studio { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'stage' 'tabs' 'panel'; height: auto; border: 0; background: none; }
  .studio__view { border: 0; display: flex; flex-direction: column; }
  .studio__stage { position: relative; inset: auto; width: 100%; height: clamp(300px, 80vw, 72vh); }
  .viewbar { position: static; transform: none; margin: 0; max-width: none; border-radius: 0; box-shadow: none; border-left: 0; border-right: 0; justify-content: space-between; background: var(--card); }
  .tabs { grid-area: tabs; display: grid; grid-template-columns: repeat(3, 1fr); position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line-2); }
  .tabs button { min-height: 52px; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; }
  .tabs button[aria-selected='true'] { color: var(--ink); border-bottom-color: var(--green); }
  .rail { grid-area: panel; overflow: visible; border: 0; }
  .rail--build { padding: 20px var(--gutter) 28px; }
  .rail--bill { display: block; overflow: visible; }
  .rail__scroll { overflow: visible; }
  .studio[data-tab='build'] .rail--bill, .studio[data-tab='conn'] .rail--build, .studio[data-tab='bill'] .rail--build { display: none; }
  .studio[data-tab='conn'] .bill, .studio[data-tab='conn'] .bill__foot { display: none; }
  .studio[data-tab='bill'] .conn { display: none; }
  .conn, .bill, .bill__foot { padding-left: var(--gutter); padding-right: var(--gutter); }
  .mobilebar { display: flex; position: sticky; bottom: 0; z-index: 6; justify-content: space-between; align-items: center; gap: 12px; background: var(--green); color: var(--green-ink); padding: 10px var(--gutter); }
  .mobilebar strong { font: 400 26px/1 var(--serif); }
  .mobilebar small { display: block; font-size: 13px; color: #c9d6cc; }
  .mobilebar button { min-height: 44px; border-radius: 10px; border: 1.5px solid #c9d6cc; background: none; color: var(--green-ink); font-weight: 600; padding: 0 16px; cursor: pointer; }
  .studio[data-tab='bill'] ~ .mobilebar { display: none; }
  .placard { position: relative; right: auto; top: auto; width: auto; max-height: none; margin-top: 12px; box-shadow: none; border: 1px solid var(--line); }
  .museum__head, .lab__head, .checks__head { grid-template-columns: 1fr; gap: 16px; }
  .partlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .museum { padding-top: 24px; }
  .gallery__stage { height: auto; aspect-ratio: 1 / 1; min-height: 0; border-radius: 14px; }
  .stage-hint { display: none; }
  .hotspots { display: none; }
  #zoomIn, #zoomOut { display: none; }
  .viewbar__tools { padding-left: 4px; }
  .partlist { grid-template-columns: minmax(0, 1fr); }
  .topnav a { padding: 0 8px; }
  .lockup__txt { display: none; }
  .viewbar button span.vl { display: none; }
  .viewbar__seg { flex: 1; justify-content: space-between; }
  .viewbar__seg button { flex: 1; flex-direction: column; gap: 2px; padding: 4px 2px; font-size: 13px; }
  .viewbar__seg button span.vl { display: block; }
  .ctas { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .stage-caption { font-size: 13px; padding: 6px 10px; }
  .total strong { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- still-capture mode (fallback stills and the Brand Hall card) ---------- */
html[data-still] body > aside:first-child, html[data-still] .topbar, html[data-still] .skip, html[data-still] footer,
html[data-still] .checks, html[data-still] .catalog, html[data-still] .museum__head, html[data-still] .partlist, html[data-still] .fineprint,
html[data-still] .lab__head, html[data-still] .rail, html[data-still] .tabs, html[data-still] .mobilebar, html[data-still] .viewbar,
html[data-still] .stage-tools, html[data-still] .stage-hint, html[data-still] .hotspots, html[data-still] .placard,
html[data-still] .stage-caption, html[data-still] .labels, html[data-still] .stage-loading { display: none !important; }
html[data-still='museum'] #lab, html[data-still='card'] #lab, html[data-still='lab'] #museum { display: none !important; }
html[data-still] .gallery__stage, html[data-still] .studio__stage { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; max-height: none !important; aspect-ratio: auto !important; border-radius: 0 !important; z-index: 100; }
