/* Alchemical Machines Inc. — v2
   Tailwind CDN handles layout utilities. This file = brand tokens + signature components. */
:root {
  --bg: #0b0a09;
  --bg-2: #110f0d;
  --surface: #171412;
  --surface-2: #1f1b18;
  --ink: #efe9df;
  --ink-soft: #b9afa1;
  --ink-mute: #8a8073;
  --bronze: #b87333;
  --copper: #e0a06a;
  --copper-deep: #8a5126;
  --ok: #8fbf8a;
  --line: rgba(239, 233, 223, 0.10);
  --line-strong: rgba(184, 115, 51, 0.50);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", system-ui, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1280px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px;
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
[id] { scroll-margin-top: calc(var(--header-h) + 56px); }
::selection { background: var(--bronze); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

body h1, body h2, body h3, body h4 { font-family: var(--display); text-transform: uppercase; line-height: 1; font-weight: 600; letter-spacing: 0; }
body h1 { font-size: clamp(42px, 8vw, 96px); font-weight: 600; line-height: .94; }
body h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 600; }
body h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.05; }
body h4 { font-size: 18px; letter-spacing: .03em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.sect { padding-block: 72px; }
@media (min-width: 1024px) { .sect { padding-block: 104px; } }
.sect-tight { padding-block: 48px; }
.bp {
  background-color: var(--bg-2);
  background-image:
    linear-gradient(rgba(224,160,106,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,160,106,.055) 1px, transparent 1px);
  background-size: 56px 56px;
}
.bg-surface { background: var(--surface); }
.rule-top { border-top: 1px solid var(--line); }

.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--copper);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--bronze); }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.prose p { color: var(--ink-soft); margin-bottom: 1em; max-width: 66ch; }
.prose p strong, .prose li strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0 0 1.2em; padding: 0; list-style: none; max-width: 66ch; }
.prose ul li { position: relative; padding: 9px 0 9px 24px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.prose ul li:last-child { border-bottom: 1px solid var(--line); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border: 1px solid var(--copper); transform: rotate(45deg); }
.prose h3 { margin: 1.6em 0 .6em; color: var(--ink); }
.prose a, .link { color: var(--copper); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.prose a:hover, .link:hover { text-decoration-color: var(--copper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg, .btn i { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--bronze); color: #140d07; }
.btn-primary:hover { background: var(--copper); transform: translateY(-2px); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 12px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid var(--line-strong); background: var(--bg);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink);
}
.chip b { color: var(--copper); font-weight: 600; letter-spacing: .12em; font-size: 11px; }
.chip svg { width: 14px; height: 14px; color: var(--copper); }

/* ---------- header ---------- */
.topbar { background: var(--bg); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--copper); }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { border-bottom-color: var(--line-strong); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.brand span em { font-style: normal; color: var(--copper); }
.nav-desktop { display: none; margin-left: auto; align-items: center; gap: 2px; }
.nav-desktop > a, .nav-desktop .dd > a, .nav-desktop .dd > button {
  font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-soft); text-decoration: none; padding: 8px 9px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav-desktop > a:hover, .nav-desktop .dd > a:hover, .nav-desktop .dd > button:hover, .nav-desktop a[aria-current="page"], .nav-desktop .dd.cur > a, .nav-desktop .dd.cur > button { color: var(--copper); }
.dd { position: relative; }
.dd-panel {
  position: absolute; left: 0; top: 100%; min-width: 300px; display: none; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-top: 2px solid var(--bronze);
}
.dd:hover .dd-panel, .dd:focus-within .dd-panel { display: block; }
.dd-panel a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; color: var(--ink-soft); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line); }
.dd-panel a:last-child { border-bottom: 0; }
.dd-panel a:hover { color: var(--copper); background: var(--surface-2); }
.dd-panel svg { width: 18px; height: 18px; color: var(--bronze); flex: none; }
.nav-cta { display: none; }
.menu-btn { margin-left: auto; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: none; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1200px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 8px; }
  .menu-btn { display: none; }
}
.nav-mobile { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: none; overflow-y: auto; padding: 0 20px 40px; }
.nav-mobile.is-open { display: block; }
.nav-mobile .nm-head { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.nav-mobile a.nm { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--display); text-transform: uppercase; font-size: 26px; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.nav-mobile a.sub { font-size: 17px; padding-left: 18px; font-family: var(--sans); text-transform: none; color: var(--ink-soft); letter-spacing: 0; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-top: 1px solid var(--line-strong); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 62px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.mobile-bar a:first-child { background: var(--bronze); color: #140d07; }
.mobile-bar svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--copper); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9) contrast(1.04); }
.hero-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-strong); pointer-events: none; }
.callout {
  position: relative; background: var(--bg); border: 1px solid var(--line-strong); padding: 14px 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink);
}
@media (min-width: 1024px) { .callout { position: absolute; } }
.callout .label { display: block; margin-bottom: 6px; }
.callout svg { display: block; }
.dim-line { stroke: var(--copper); stroke-width: 1; fill: none; }
.dim-shape { stroke: var(--ink-soft); stroke-width: 1.5; fill: none; }
.dim-text { fill: var(--copper); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 6.4vw, 78px); max-width: 17ch; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--copper); }
.crumbs span[aria-hidden] { color: var(--bronze); }

/* ---------- blocks ---------- */
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.sec-num { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--copper); text-transform: uppercase; }
.proof { border: 1px solid var(--line); background: var(--surface); padding: 26px 24px; }
.proof .big { font-family: var(--display); font-size: clamp(44px, 5vw, 64px); font-weight: 600; line-height: .95; color: var(--copper); }
.proof p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.svc-row {
  display: grid; grid-template-columns: 44px 1fr 28px; gap: 16px; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: padding-left .25s, background .25s;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { padding-left: 14px; background: var(--surface); }
.svc-row .ix { font-family: var(--mono); font-size: 13px; color: var(--copper); letter-spacing: .12em; }
.svc-row .nm { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; line-height: 1.05; display: block; }
.svc-row .ht { color: var(--ink-soft); font-size: 15px; display: block; margin-top: 4px; }
.svc-row svg { width: 22px; height: 22px; color: var(--bronze); transition: transform .25s, color .25s; }
.svc-row:hover svg { transform: translateX(4px); color: var(--copper); }
.step { position: relative; padding: 22px 20px 24px 20px; border-left: 1px solid var(--line-strong); }
.step .n { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--copper); }
.step h4 { margin: 10px 0 8px; font-size: 24px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.step::before { content: ""; position: absolute; left: -5px; top: 26px; width: 9px; height: 9px; background: var(--bronze); transform: rotate(45deg); }

/* ---------- spec tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.spec caption { text-align: left; padding: 14px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); border-bottom: 1px solid var(--line-strong); }
table.spec th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.spec td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
table.spec td:first-child { color: var(--ink); font-weight: 500; }
table.spec td.num { font-family: var(--mono); font-size: 13.5px; color: var(--ink); white-space: nowrap; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover td { background: var(--surface-2); }
.foot-note { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-mute); margin-top: 12px; }
.spec-card { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--bronze); }
.spec-card dl { margin: 0; }
.spec-card .row { display: grid; grid-template-columns: 38% 1fr; gap: 14px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec-card .row:first-child { border-top: 0; }
.spec-card dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); padding-top: 2px; }
.spec-card dd { margin: 0; color: var(--ink); }
.spec-card .head { padding: 14px 18px; border-bottom: 1px solid var(--line-strong); }

/* ---------- cards ---------- */
.case-card { display: block; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.case-card:hover { border-color: var(--bronze); transform: translateY(-3px); }
.case-card .ph { aspect-ratio: 3/2; overflow: hidden; }
.case-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: saturate(.9); }
.case-card:hover .ph img { transform: scale(1.04); }
.case-card .bd { padding: 18px 20px 22px; }
.case-card h3 { font-size: 24px; margin: 8px 0 12px; }
.case-card .mini { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.case-card .mini b { color: var(--ink); font-weight: 500; }
.tile { display: block; border: 1px solid var(--line); background: var(--surface); padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.tile:hover { border-color: var(--bronze); background: var(--surface-2); }
.tile svg.ic { width: 26px; height: 26px; color: var(--copper); margin-bottom: 16px; }
.tile h3 { font-size: 24px; margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: 15px; }
.ph-frame { position: relative; }
.ph-frame img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.03); }
.ph-frame .cap { position: absolute; left: 0; bottom: 0; background: var(--bg); border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); padding: 8px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.offset-frame { position: relative; isolation: isolate; }
.offset-frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line-strong); z-index: -1; }
@media (max-width: 640px) { .offset-frame::before { inset: 8px -6px -8px 8px; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-family: var(--display); text-transform: uppercase; font-size: 22px; font-weight: 500; letter-spacing: .02em; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--copper); flex: none; transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 40px 22px 0; max-width: 70ch; }

/* ---------- band ---------- */
.rfq-band { background: var(--bronze); color: #140d07; position: relative; overflow: hidden; }
.rfq-band h2 { color: #140d07; }
.rfq-band p { color: #2a1b0e; }
.rfq-band .btn-dark { background: #140d07; color: var(--copper); }
.rfq-band .btn-dark:hover { background: #000; }
.rfq-band .btn-outline-dark { border: 1px solid #140d07; color: #140d07; }
.rfq-band .btn-outline-dark:hover { background: #140d07; color: var(--copper); }
.rfq-band .grid-bg { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(#140d07 1px, transparent 1px), linear-gradient(90deg, #140d07 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { background: #070605; border-top: 1px solid var(--line-strong); }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--copper); }
.site-footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--copper); text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
.site-footer li { padding: 4px 0; font-size: 15px; }
.site-footer .legal { border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-mute); text-transform: uppercase; }

/* ---------- map ---------- */
.map-svg { width: 100%; height: auto; background: var(--bg); border: 1px solid var(--line); }
.map-svg .river { fill: none; stroke: #2a3a40; stroke-width: 6; stroke-linecap: round; opacity: .7; }
.map-svg .city { fill: var(--ink-mute); }
.map-svg .city-t { fill: var(--ink-soft); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.map-svg .home { fill: var(--copper); }
.map-svg .link { stroke: var(--line-strong); stroke-dasharray: 3 4; }
.map-svg .on .city { fill: var(--copper); }
.map-svg .on .city-t { fill: var(--ink); font-weight: 600; }
.map-svg a { cursor: pointer; }
.map-svg a:hover .city-t { fill: var(--copper); }

/* ---------- forms ---------- */
.field label, .field .lbl { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field label .req, .lbl .req { color: var(--copper); }
.input, .select, .textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink);
  font-family: var(--sans); font-size: 16px; padding: 13px 14px; min-height: 50px; border-radius: 0; transition: border-color .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--copper); }
.textarea { min-height: 140px; resize: vertical; }
.input.is-bad, .select.is-bad, .textarea.is-bad { border-color: #d96a5a; }
.err-msg { color: #e58b7d; font-size: 13px; margin-top: 6px; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--ink-soft); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin-top: 2px; border: 1px solid var(--line-strong); background: var(--bg); display: grid; place-content: center; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 10px; background: var(--copper); transform: scale(0); transition: transform .15s; }
.check input:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.check strong { color: var(--ink); }
.pill-check { border: 1px solid var(--line-strong); padding: 11px 14px; background: var(--bg); }
.pill-check:has(input:checked) { border-color: var(--copper); background: var(--surface-2); }
.drop { border: 1px dashed var(--bronze); background: var(--bg); padding: 28px 20px; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop.is-over { background: var(--surface-2); border-color: var(--copper); }
.drop svg { width: 30px; height: 30px; color: var(--copper); margin: 0 auto 10px; display: block; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: 13px; }
.file-item button { background: none; border: 0; color: var(--ink-mute); cursor: pointer; padding: 4px; }
.file-item button:hover { color: var(--copper); }
.file-item svg { width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(20,13,7,.3); border-top-color: #140d07; border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.light { border-color: rgba(239,233,223,.25); border-top-color: var(--copper); }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { border: 1px solid var(--line-strong); background: var(--surface); padding: 18px 20px; }
.notice.ok { border-color: var(--ok); }
.notice.bad { border-color: #d96a5a; }

/* ---------- portal ---------- */
.portal-card { background: var(--surface); border: 1px solid var(--line-strong); border-top: 2px solid var(--bronze); padding: 32px 28px; }
.tl { position: relative; margin: 0; padding: 0; list-style: none; }
.tl li { position: relative; padding: 0 0 26px 36px; }
.tl li::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 1px; background: var(--line-strong); }
.tl li:last-child::before { display: none; }
.tl .dot { position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border: 1px solid var(--line-strong); background: var(--bg); transform: rotate(45deg); }
.tl li.done .dot { background: var(--bronze); border-color: var(--bronze); }
.tl li.now .dot { background: var(--copper); border-color: var(--copper); box-shadow: 0 0 0 5px rgba(224,160,106,.18); }
.tl li.todo { opacity: .55; }
.tl h4 { font-size: 20px; }
.tl .when { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-mute); }
.tl p { color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }
.order-btn { display: block; width: 100%; text-align: left; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); cursor: pointer; margin-bottom: 8px; transition: border-color .2s; }
.order-btn:hover { border-color: var(--bronze); }
.order-btn[aria-pressed="true"] { border-color: var(--copper); background: var(--surface-2); }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line-strong); color: var(--copper); }
.badge.ok { border-color: var(--ok); color: var(--ok); }
.devbar { position: relative; height: 8px; min-width: 120px; background: var(--bg); border: 1px solid var(--line-strong); }
.devbar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--ink-mute); }
.devbar i { position: absolute; top: -4px; width: 4px; height: 14px; background: var(--ok); transform: translateX(-2px); }
.devbar i.out { background: #d96a5a; }
.pc-tab { padding: 8px 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink-soft); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; cursor: pointer; }
.pc-tab[aria-pressed="true"] { background: var(--bronze); color: #140d07; border-color: var(--bronze); }
.pc-tab[disabled] { opacity: .35; cursor: not-allowed; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--surface-2); border: 1px solid var(--line-strong); padding: 12px 18px; font-family: var(--mono); font-size: 13px; z-index: 90; }
@media print {
  .site-header, .topbar, .mobile-bar, .site-footer, .no-print { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .tbl-wrap, table.spec td, table.spec th { color: #000 !important; background: #fff !important; }
}

/* ---------- motion ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.rise-2 { animation-delay: .12s; } .rise-3 { animation-delay: .24s; } .rise-4 { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .rise, .rise-2, .rise-3, .rise-4 { animation: none; } html { scroll-behavior: auto; } }

/* ---------- additions ---------- */
@media (min-width: 1024px) {
  .stag .step:nth-child(2) { margin-top: 28px; }
  .stag .step:nth-child(3) { margin-top: 56px; }
  .stag .step:nth-child(4) { margin-top: 84px; }
}
.case-row { display: grid; grid-template-columns: 38% 1fr; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.case-row:hover { border-color: var(--bronze); }
.case-row .ph { overflow: hidden; min-height: 150px; }
.case-row .ph img { width: 100%; height: 100%; object-fit: cover; }
.case-row .bd { padding: 18px 20px; }
.case-row h3 { font-size: 24px; margin: 6px 0 10px; }
.big-photo { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .big-photo { aspect-ratio: 4 / 3; } }
.ind-row { display: grid; gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); }
.ind-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .ind-row { grid-template-columns: 90px 1fr 380px; align-items: center; gap: 40px; } .ind-row.flip { grid-template-columns: 380px 1fr 90px; } .ind-row.flip .ind-num { order: 3; text-align: right; } .ind-row.flip .ind-ph { order: 1; } .ind-row.flip .ind-tx { order: 2; } }
.ind-num { font-family: var(--display); font-size: 72px; color: var(--bronze); line-height: .9; font-weight: 500; }
.ind-ph { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); }
.ind-ph img { width: 100%; height: 100%; object-fit: cover; }
.fact-wrap { border-top: 1px solid var(--line); background: var(--surface); }
.fact-strip { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .fact-strip { grid-template-columns: repeat(4, 1fr); } }
.fact-strip > div { padding: 16px 20px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-strip > div:nth-child(odd) { border-left: 0; }
@media (min-width: 900px) { .fact-strip > div { border-bottom: 0; } .fact-strip > div:nth-child(odd) { border-left: 1px solid var(--line); } .fact-strip > div:first-child { border-left: 0; } }
.fact-strip dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.fact-strip dd { margin: 3px 0 0; font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); line-height: 1.1; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.urgent-bar { background: var(--surface); border: 1px solid var(--bronze); padding: 18px 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.urgent-bar .ph { font-family: var(--display); font-size: clamp(30px, 5vw, 46px); color: var(--copper); line-height: 1; text-decoration: none; letter-spacing: .02em; }
.filter-btn { padding: 9px 16px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--bronze); color: #140d07; border-color: var(--bronze); }
.floor { width: 100%; height: auto; background: var(--bg); border: 1px solid var(--line); }
.floor rect.z { fill: var(--surface); stroke: var(--line-strong); }
.floor text { font-family: var(--mono); font-size: 11px; fill: var(--ink-soft); letter-spacing: .06em; }
.floor text.t { fill: var(--copper); font-size: 12px; font-weight: 600; }

.fill { display: flex; flex-direction: column; width: 100%; }
.fill .ph { flex: 1 1 auto; min-height: 340px; position: relative; aspect-ratio: auto; }
.fill .ph img { position: absolute; inset: 0; height: 100%; }
.case-row { align-items: stretch; }

.fact-strip > div:first-child { padding-left: 0; }
@media (max-width: 899px) { .fact-strip > div:nth-child(odd) { padding-left: 0; } }
.case-card.feature { display: grid; }
@media (min-width: 900px) { .case-card.feature { grid-template-columns: 5fr 7fr; } .case-card.feature .ph { aspect-ratio: auto; min-height: 320px; position: relative; } .case-card.feature .ph img { position: absolute; inset: 0; } .case-card.feature .bd { padding: 32px 36px; align-self: center; } }

.grid > *, .flex > * { min-width: 0; }
.tbl-wrap { max-width: 100%; }

/* AEO: visible FAQ + freshness line */
.faq-item { border-top: 1px solid var(--line); padding: 22px 0 24px; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: var(--display); text-transform: uppercase; font-size: 22px; font-weight: 500; letter-spacing: .02em; line-height: 1.15; }
.faq-item p { color: var(--ink-soft); margin-top: 10px; max-width: 70ch; }
.updated { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-mute); }
