/* JUNI wholesale — visual language shared with forge.junipeptides.com.
   Mint (#00E5A8) is the one JUNI accent and is reserved for live states. */
:root {
  --charcoal: #171614;
  --ink: #1a1a1a;
  --paper: #fcfbf9;
  --wash: #f6f5f1;
  --hairline: #ebeae6;
  --stone: #a09d95;
  --stone-dark: #6f6d66;
  --mint: #00e5a8;
  --mint-deep: #007a5e;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font: 500 11px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.on-dark .kicker { color: rgba(252, 251, 249, 0.45); }

/* Page-load line, borrowed from Forge so the two surfaces feel like one product */
.page-load { position: fixed; inset: 0; background: var(--charcoal); z-index: 300; display: grid; place-items: center; transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1); }
.page-load span { width: 1px; height: 90px; background: var(--paper); transform: scaleY(0); animation: loadLine 0.75s ease-in-out; }
.page-load.done { clip-path: inset(0 0 100%); }
@keyframes loadLine { 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Brand */
.brand { display: inline-flex; align-items: flex-end; gap: 12px; }
.mark { display: inline-flex; align-items: flex-end; gap: 0.14em; height: 1em; font-size: 19px; }
.mark i { display: block; width: 0.14em; background: currentColor; }
.mark i:nth-child(1) { height: 0.39em; }
.mark i:nth-child(2) { height: 0.67em; }
.mark i:nth-child(3) { height: 1em; }
.brand-name { font-weight: 500; font-size: 15px; line-height: 0.9; letter-spacing: 0.32em; }
.brand-sector { font: 8px var(--mono); letter-spacing: 0.2em; color: var(--stone); margin-left: -4px; }

/* Buttons */
.button { display: inline-grid; place-items: center; min-width: 200px; padding: 14px 24px; border-radius: 4px; border: 0; font-size: 13px; font-weight: 500; cursor: pointer; transition: transform 0.25s, background 0.25s, color 0.25s; text-align: center; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-light { background: rgba(252, 251, 249, 0.92); color: var(--charcoal); }
.button-outline { border: 1px solid #d4d2cc; background: transparent; color: var(--ink); }
.button-glass { background: rgba(23, 22, 20, 0.62); border: 1px solid rgba(252, 251, 249, 0.18); backdrop-filter: blur(6px); color: var(--paper); }
.button-mint { background: var(--mint); color: var(--charcoal); }

/* ───────────────────────── Hero ───────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--charcoal); color: var(--paper); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero.has-video .hero-media video { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(23, 22, 20, 0.55), rgba(23, 22, 20, 0.35) 40%, rgba(23, 22, 20, 0.85) 100%); }
.hero-grid { position: absolute; inset: 88px 0 0; z-index: 1; background-image: linear-gradient(rgba(252, 251, 249, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(252, 251, 249, 0.04) 1px, transparent 1px); background-size: 8.333vw 8.333vw; mask-image: linear-gradient(to bottom, black, transparent 80%); pointer-events: none; }
.hero.has-video .hero-grid { opacity: 0.5; }
.hero-glow { position: absolute; z-index: 1; left: 50%; top: 42%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(0, 229, 168, 0.11), transparent 70%); filter: blur(30px); pointer-events: none; animation: glowDrift 18s ease-in-out infinite alternate; }
.hero.has-video .hero-glow { display: none; }
@keyframes glowDrift { from { transform: translate(-56%, -48%) scale(0.95); } to { transform: translate(-44%, -52%) scale(1.05); } }

.nav { position: relative; z-index: 20; height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(252, 251, 249, 0.12); }
.nav-links { display: flex; gap: 32px; font-size: 12px; font-weight: 500; }
.nav-links a { transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.55; }
.nav .button { min-width: 0; padding: 11px 16px; font-size: 12px; }
.menu-trigger { display: none; border: 0; background: none; color: var(--paper); padding: 8px; cursor: pointer; }
.menu-trigger i { display: block; width: 22px; height: 1px; background: currentColor; margin: 5px; }

.hero-copy { position: relative; z-index: 3; text-align: center; margin-top: clamp(80px, 12vh, 140px); }
.hero-copy .kicker { margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1.04; letter-spacing: -0.025em; max-width: 14ch; margin-inline: auto; }
.hero-copy h1 span { display: block; }
.hero-sub { max-width: 52ch; margin: 26px auto 0; font-size: 15px; line-height: 1.65; color: rgba(252, 251, 249, 0.62); }
.hero-actions { position: relative; z-index: 4; margin-top: auto; display: flex; justify-content: center; gap: 14px; padding: 64px 0 96px; }

.spec-bar { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(252, 251, 249, 0.14); background: rgba(23, 22, 20, 0.5); backdrop-filter: blur(8px); }
.spec-bar div { min-height: 88px; border-right: 1px solid rgba(252, 251, 249, 0.14); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 12px; }
.spec-bar div:last-child { border: 0; }
.spec-bar strong { font-size: 26px; font-weight: 400; font-family: var(--mono); letter-spacing: -0.02em; }
.spec-bar small { font: 9px var(--mono); letter-spacing: 0.14em; color: rgba(252, 251, 249, 0.5); text-transform: uppercase; text-align: center; }

/* ─────────────────────── Configurator ─────────────────────── */
.forge { background: var(--wash); border-bottom: 1px solid var(--hairline); }
.forge-head { padding: 88px 0 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end; }
.forge-head h2 { font-size: clamp(34px, 4vw, 56px); margin-top: 18px; }
.forge-head p { font-size: 14px; line-height: 1.65; color: var(--stone-dark); max-width: 44ch; }
.forge-head p a { border-bottom: 1px solid var(--ink); }

.forge-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr) 340px; border: 1px solid var(--hairline); background: var(--paper); margin-bottom: 96px; }
.controls { border-right: 1px solid var(--hairline); max-height: 860px; overflow: auto; scrollbar-width: thin; }
.group { padding: 26px 24px 28px; border-bottom: 1px solid var(--hairline); }
.group:last-child { border-bottom: 0; }
.group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.group-head span { font: 500 10px var(--mono); color: var(--stone); letter-spacing: 0.12em; }
.group-head h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.group-head small { margin-left: auto; font: 10px var(--mono); color: var(--stone); letter-spacing: 0.06em; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tile { position: relative; display: block; border: 1px solid var(--hairline); border-radius: 4px; background: var(--wash); padding: 12px 12px 10px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.tile input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.tile:hover { border-color: #cfcdc6; }
.tile:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.tile:has(input:focus-visible) { outline: 2px solid var(--mint); outline-offset: 2px; }
.tile b { display: block; font: 500 18px var(--mono); letter-spacing: -0.02em; }
.tile strong { display: block; font-size: 12.5px; font-weight: 500; margin-top: 6px; line-height: 1.25; }
.tile small { display: block; font: 9px var(--mono); color: var(--stone); letter-spacing: 0.06em; margin-top: 6px; }
.tile em { display: block; font: 10px var(--mono); font-style: normal; margin-top: 4px; }
.tile.quote-only em { color: var(--stone); }

.field { display: grid; gap: 6px; margin-top: 12px; }
.field label, .field-label { font: 500 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.field select, .field input[type="text"], .field input[type="number"] { width: 100%; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--paper); font-family: var(--mono); font-size: 13px; }
.field select:focus, .field input:focus { outline: none; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hint { font: 10px/1.5 var(--mono); color: var(--stone); letter-spacing: 0.04em; margin-top: 8px; }
.hint.ok { color: var(--mint-deep); }
.hint.warn { color: #9d3d35; }

.choices { display: grid; gap: 6px; }
.choice { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--wash); cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.choice:has(input:focus-visible) { outline: 2px solid var(--mint); outline-offset: 2px; }
.choice strong { font-size: 12.5px; font-weight: 500; display: block; }
.choice small { display: block; font: 9px var(--mono); color: var(--stone); letter-spacing: 0.06em; margin-top: 3px; }
.choice em { font: 11px var(--mono); font-style: normal; white-space: nowrap; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 13px; }
.toggle:first-of-type { border-top: 0; }
.toggle em { font: 11px var(--mono); font-style: normal; color: var(--stone-dark); }
.toggle input { accent-color: var(--ink); width: 16px; height: 16px; }

.caps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cap { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; cursor: pointer; display: grid; place-items: center; }
.cap input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.cap i { width: 70%; height: 70%; border-radius: 50%; background: var(--c); background-size: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.cap:has(input:checked) { border-color: var(--ink); }
.cap:has(input:focus-visible) { outline: 2px solid var(--mint); outline-offset: 2px; }

.stage { position: relative; min-height: 560px; background: radial-gradient(ellipse at 50% 60%, #ffffff 0%, var(--wash) 60%, #eeece6 100%); overflow: hidden; }
.stage canvas { position: absolute; inset: 0; z-index: 2; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 0.4s; touch-action: pan-y; cursor: grab; }
.stage.three-ready canvas { opacity: 1; }
.builder-vial[hidden] { display: none; }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.stage-fallback img { width: min(40%, 220px); filter: drop-shadow(0 30px 40px rgba(23, 22, 20, 0.15)); }
.stage.three-ready .stage-fallback { display: none; }
.stage-caption { z-index: 3; position: absolute; left: 24px; bottom: 22px; font: 10px/1.8 var(--mono); letter-spacing: 0.1em; color: var(--stone-dark); text-transform: uppercase; pointer-events: none; }
.stage-hint { z-index: 3; position: absolute; right: 24px; bottom: 22px; font: 10px var(--mono); letter-spacing: 0.1em; color: var(--stone); text-transform: uppercase; pointer-events: none; }
.stage-batch { z-index: 3; position: absolute; left: 24px; top: 22px; font: 10px/1.8 var(--mono); letter-spacing: 0.1em; color: var(--stone); text-transform: uppercase; }
.stage-batch b { display: block; font-weight: 500; color: var(--ink); }

.estimate { border-left: 1px solid var(--hairline); padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; background: var(--paper); }
.estimate h3 { font-size: 16px; font-weight: 500; }
.estimate .rows { display: grid; border-top: 1px solid var(--hairline); }
.estimate .rows div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 12.5px; }
.estimate .rows dt { color: var(--stone-dark); }
.estimate .rows dt small { display: block; font: 9px var(--mono); color: var(--stone); letter-spacing: 0.06em; margin-top: 2px; }
.estimate .rows dd { font: 12px var(--mono); text-align: right; white-space: nowrap; }
.estimate .rows div.subtotal dt, .estimate .rows div.subtotal dd { font-weight: 500; color: var(--ink); }
.estimate .rows div.subtotal { background: var(--wash); padding-inline: 8px; margin-inline: -8px; }
.total { padding-top: 6px; }
.total span { font: 500 10px var(--mono); letter-spacing: 0.12em; color: var(--stone); text-transform: uppercase; }
.total strong { display: block; font: 400 34px/1.1 var(--mono); letter-spacing: -0.03em; margin-top: 6px; }
.total strong.live { color: var(--mint-deep); }
.total small { display: block; font: 10px/1.6 var(--mono); color: var(--stone); margin-top: 8px; letter-spacing: 0.04em; }
.estimate .button { min-width: 0; width: 100%; }
.estimate-note { font: 10px/1.6 var(--mono); color: var(--stone); letter-spacing: 0.02em; }
.estimate-bar { display: none; }

/* ───────────────────────── Standard ───────────────────────── */
.standard { padding: 130px 0 120px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.section-head h2 { font-size: clamp(34px, 4vw, 56px); margin-top: 18px; }
.section-head p { font-size: 14px; line-height: 1.65; color: var(--stone-dark); max-width: 44ch; }
.steps { margin-top: 80px; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--hairline); }
.step { padding: 26px 24px 30px 0; border-right: 1px solid var(--hairline); position: relative; min-height: 300px; display: flex; flex-direction: column; }
.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step > span { font: 500 10px var(--mono); letter-spacing: 0.14em; color: var(--stone); }
.step-rule { height: 56px; display: flex; align-items: center; }
.step-rule::before { content: ""; width: 100%; height: 1px; background: var(--hairline); }
.step-rule i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-left: -100%; }
.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.step p { font-size: 13px; line-height: 1.6; color: var(--stone-dark); margin-top: 14px; }
.step b { margin-top: auto; padding-top: 20px; font: 10px var(--mono); letter-spacing: 0.1em; color: var(--stone); text-transform: uppercase; }

/* ───────────────────────── Records ───────────────────────── */
.records { background: var(--charcoal); color: var(--paper); display: grid; grid-template-columns: 1fr 1fr; padding: 120px 0; gap: 8%; align-items: center; }
.records-copy h2 { font-size: clamp(36px, 4.2vw, 62px); margin: 22px 0 28px; }
.records-copy p { max-width: 44ch; color: rgba(252, 251, 249, 0.6); font-size: 14px; line-height: 1.65; }
.records-copy ul { margin-top: 28px; display: grid; gap: 10px; }
.records-copy li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; font-size: 13px; color: rgba(252, 251, 249, 0.8); }
.records-copy li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); margin-top: 8px; }
.records-copy .button { margin-top: 36px; }
.record-sheet { background: var(--paper); color: var(--ink); padding: 36px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); transform: rotate(1.2deg); }
.record-sheet header { display: flex; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.record-sheet header .mark { font-size: 28px; }
.record-sheet header p { font: 8px/1.7 var(--mono); text-align: right; letter-spacing: 0.12em; }
.record-sheet header b { color: var(--stone); font-weight: 400; }
.record-name { padding: 28px 0; display: grid; gap: 8px; }
.record-name span, .record-sheet dt { font: 8px var(--mono); letter-spacing: 0.13em; color: var(--stone); text-transform: uppercase; }
.record-name strong { font: 400 26px var(--mono); letter-spacing: 0.04em; }
.record-sheet dl { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hairline); }
.record-sheet dl div { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.record-sheet dd { font: 10px var(--mono); margin-top: 6px; }
.record-result { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 24px 0; font: 8px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; }
.record-result i { width: 7px; height: 7px; background: var(--mint-deep); border-radius: 50%; }
.record-sheet footer { border-top: 1px solid var(--ink); padding-top: 14px; font: 8px var(--mono); letter-spacing: 0.13em; color: var(--stone); }

/* ─────────────────────── Capabilities ─────────────────────── */
.capabilities { padding: 120px 0; }
.cap-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.cap-cell { background: var(--paper); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.cap-cell h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.cap-cell p { font-size: 13px; line-height: 1.6; color: var(--stone-dark); }
.cap-cell dl { margin-top: auto; display: grid; border-top: 1px solid var(--hairline); }
.cap-cell dl div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 12px; }
.cap-cell dt { color: var(--stone-dark); }
.cap-cell dd { font: 11px var(--mono); text-align: right; }

/* ───────────────────────── Terms ───────────────────────── */
.terms { padding: 0 0 120px; }
.terms-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.terms h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 18px; }
.terms p { font-size: 14px; line-height: 1.65; color: var(--stone-dark); margin-top: 20px; max-width: 44ch; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tier-table th { text-align: left; font: 500 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); }
.tier-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.tier-table td:first-child { font-family: var(--mono); white-space: nowrap; }
.tier-table td.n { font-family: var(--mono); white-space: nowrap; }
.tier-table td small { display: block; color: var(--stone-dark); font-size: 12px; margin-top: 2px; }

/* ───────────────────────── Contact ───────────────────────── */
.contact { background: var(--wash); border-block: 1px solid var(--hairline); padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.contact h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 18px; }
.contact-copy p { font-size: 14px; line-height: 1.65; color: var(--stone-dark); margin-top: 20px; max-width: 40ch; }
.contact-copy a.plain { border-bottom: 1px solid var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form .field { margin: 0; }
.form textarea { width: 100%; min-height: 120px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--paper); font-family: var(--mono); font-size: 13px; resize: vertical; }
.form textarea:focus { outline: none; border-color: var(--ink); }
.form input[type="text"], .form input[type="email"] { width: 100%; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--paper); font-family: var(--mono); font-size: 13px; }
.form input:focus { outline: none; border-color: var(--ink); }
.ack { display: grid; grid-template-columns: 16px 1fr; gap: 12px; font-size: 12.5px; color: var(--stone-dark); line-height: 1.55; }
.ack input { accent-color: var(--ink); margin-top: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font: 11px var(--mono); color: var(--mint-deep); }

/* ───────────────────────── FAQ ───────────────────────── */
.faq { padding: 110px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; }
.faq h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 18px; }
.faq details { border-top: 1px solid var(--hairline); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px var(--mono); color: var(--stone); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: var(--stone-dark); max-width: 60ch; }

/* ───────────────────────── Footer ───────────────────────── */
.footer { background: var(--charcoal); color: var(--paper); padding: 72px 0 26px; }
.disclaimer { border: 1px solid rgba(252, 251, 249, 0.16); padding: 16px 20px; font-size: 12px; line-height: 1.6; color: rgba(252, 251, 249, 0.6); margin-bottom: 56px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; min-height: 160px; }
.footer-grid > .brand { align-self: start; }
.footer-grid > p { font-size: 22px; line-height: 1.25; max-width: 18ch; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 12px; align-content: start; }
.footer-links a:hover { opacity: 0.6; }
.footer-legal { border-top: 1px solid rgba(252, 251, 249, 0.13); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font: 9px var(--mono); letter-spacing: 0.13em; color: rgba(252, 251, 249, 0.4); text-transform: uppercase; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1180px) {
  .forge-grid { grid-template-columns: 320px minmax(0, 1fr); }
  .estimate { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
  .estimate h3 { grid-column: 1 / -1; }
  .estimate .rows { grid-row: span 3; }
  .estimate .cta { display: grid; gap: 10px; align-content: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3) { border-right: 0; }
  .step:nth-child(n + 4) { border-top: 1px solid var(--hairline); }
  .step:nth-child(4) { padding-left: 0; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { height: 72px; }
  .nav-links { position: fixed; inset: 72px 0 auto; background: var(--charcoal); display: grid; padding: 32px var(--gutter); gap: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); transform: translateY(-150%); transition: transform 0.4s; z-index: -1; }
  .nav-links.open { transform: none; }
  .menu-trigger { display: block; }
  .hero-grid { inset: 72px 0 0; background-size: 25vw 25vw; }
  .hero-copy { margin-top: 90px; }
  .hero-actions { flex-direction: column; width: 100%; padding-bottom: 56px; }
  .hero-actions .button { width: 100%; min-width: 0; }
  .spec-bar { grid-template-columns: 1fr 1fr; }
  .spec-bar div:nth-child(2) { border-right: 0; }
  .spec-bar div:nth-child(n + 3) { border-top: 1px solid rgba(252, 251, 249, 0.14); }
  .forge-head, .section-head, .terms-grid, .contact-grid, .faq-grid, .records { grid-template-columns: 1fr; gap: 28px; }
  .forge-head { padding-top: 64px; }
  .forge-grid { grid-template-columns: 1fr; margin-bottom: 120px; }
  .controls { border-right: 0; max-height: none; order: 2; }
  .stage { order: 1; min-height: 380px; border-bottom: 1px solid var(--hairline); }
  .estimate { order: 3; grid-template-columns: 1fr; }
  .estimate-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); background: var(--charcoal); color: var(--paper); border-top: 1px solid rgba(252, 251, 249, 0.15); transform: translateY(110%); transition: transform 0.3s; }
  .estimate-bar.visible { transform: none; }
  .estimate-bar span { font: 9px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(252, 251, 249, 0.5); display: block; }
  .estimate-bar strong { font: 400 20px var(--mono); letter-spacing: -0.02em; }
  .estimate-bar a { font-size: 12px; font-weight: 500; padding: 10px 14px; border: 1px solid rgba(252, 251, 249, 0.25); border-radius: 4px; white-space: nowrap; }
  .standard, .capabilities, .faq, .contact { padding: 90px 0; }
  .terms { padding-bottom: 90px; }
  .steps { grid-template-columns: 1fr; margin-top: 48px; }
  .step, .step + .step { padding: 22px 0; border-right: 0; min-height: 0; border-top: 1px solid var(--hairline); }
  .step:first-child { border-top: 0; }
  .step-rule { height: 32px; }
  .records { padding: 90px 0; }
  .record-sheet { transform: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-cell { min-height: 0; }
  .tier-table { font-size: 12px; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .brand-sector { display: none; }
  .hero { min-height: 780px; }
  .hero-copy h1 { font-size: 11vw; }
  .spec-bar strong { font-size: 20px; }
  .spec-bar small { font-size: 8px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .caps { grid-template-columns: repeat(6, 1fr); }
  .record-sheet { padding: 22px; }
  .record-sheet dl { grid-template-columns: 1fr; }
  .record-name strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow { animation: none; }
  .page-load { transition: none; }
  .page-load span { animation: none; }
}

/* ───────────── Order builder additions ───────────── */
.plist { display: grid; gap: 14px; }
.pgroup h4 { margin: 0 0 4px; font: 500 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); padding-bottom: 6px; border-bottom: 1px solid var(--hairline); }
.prow { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.prow:last-child { border-bottom: 0; }
.prow.on .pname { font-weight: 500; }
.prow.on .pprice { color: var(--ink); }
.pname { font-size: 13px; line-height: 1.2; }
.pname small { display: block; font: 9px var(--mono); color: var(--stone); letter-spacing: 0.06em; margin-top: 3px; }
.pprice { font: 11px var(--mono); font-style: normal; color: var(--stone-dark); white-space: nowrap; }
.stepper { display: inline-grid; grid-template-columns: 26px 44px 26px; border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden; background: var(--paper); }
.stepper button { border: 0; background: var(--wash); font: 16px/1 var(--sans); cursor: pointer; padding: 0; height: 30px; color: var(--ink); }
.stepper button:hover { background: var(--hairline); }
.stepper input { border: 0; border-inline: 1px solid var(--hairline); text-align: center; font: 12px var(--mono); height: 30px; padding: 0; width: 44px; background: var(--paper); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.prow.on .stepper { border-color: var(--ink); }
.band { padding: 14px 16px; border: 1px solid var(--hairline); background: var(--wash); display: grid; gap: 4px; }
.band .label-mono { font: 500 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.band strong { font: 500 18px var(--sans); letter-spacing: -0.01em; }
.band small { font: 10px/1.6 var(--mono); color: var(--mint-deep); letter-spacing: 0.02em; }
.estimate .hint.warn { margin: 0; }
.glimpse { background: var(--wash); border-block: 1px solid var(--hairline); padding: 72px 0; }
.glimpse-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.glimpse h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 16px; }
.glimpse p { font-size: 14px; line-height: 1.65; color: var(--stone-dark); margin-top: 16px; max-width: 46ch; }
.glimpse-steps { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.glimpse-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; counter-increment: gl; }
.glimpse-steps li span::before { content: counter(gl, decimal-leading-zero); font: 500 10px var(--mono); letter-spacing: 0.12em; color: var(--stone); margin-right: 12px; }
.glimpse-steps li:last-child { border-bottom: 0; padding-top: 18px; }
.glimpse-steps .button { min-width: 0; }
@media (max-width: 900px) {
  .glimpse-grid { grid-template-columns: 1fr; gap: 28px; }
  .glimpse { padding: 56px 0; }
}

/* ───────────── Compact pricing glimpse ───────────── */
.forge .forge-head { padding-bottom: 32px; }
.glimpse-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; border: 1px solid var(--hairline); background: var(--paper); margin-bottom: 96px; }
.glimpse-grid .stage { min-height: 520px; }
.glimpse-panel { border-left: 1px solid var(--hairline); padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 7px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--wash); font: 12px var(--sans); color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.chip b { font: 500 10px var(--mono); letter-spacing: 0.06em; color: var(--stone); }
.chip:hover { border-color: #cfcdc6; }
.chip.on { border-color: var(--ink); background: var(--paper); }
.chip.on b { color: var(--mint-deep); }
.segs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden; }
.seg { border: 0; border-right: 1px solid var(--hairline); background: var(--wash); padding: 11px 8px; font: 500 11px var(--mono); letter-spacing: 0.04em; color: var(--stone-dark); cursor: pointer; }
.seg:last-child { border-right: 0; }
.seg.on { background: var(--ink); color: var(--paper); }
.price { margin-top: 4px; }
.price strong { font: 400 40px/1.05 var(--mono); letter-spacing: -0.03em; color: var(--mint-deep); }
.price-sub { font: 12px/1.6 var(--sans); color: var(--stone-dark); max-width: 40ch; }
.glimpse-cta { display: grid; gap: 10px; margin-top: auto; }
.glimpse-cta .button { min-width: 0; }
@media (max-width: 1000px) { .glimpse-grid { grid-template-columns: 1fr; margin-bottom: 72px; } .glimpse-grid .stage { min-height: 380px; border-bottom: 1px solid var(--hairline); } .glimpse-panel { border-left: 0; } }
@media (max-width: 560px) { .segs { grid-template-columns: 1fr; } .seg { border-right: 0; border-bottom: 1px solid var(--hairline); } .seg:last-child { border-bottom: 0; } .price strong { font-size: 32px; } }
