/* ==========================================================================
   The Design Studio
   A dark workspace (like a design tool) around a bright, true-size preview.
   ========================================================================== */
.ds-intro { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(32px, 4vw, 56px); }
.ds-intro-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px 64px; align-items: end; }
.ds-intro .label { margin-bottom: 24px; }
.ds-intro h1 { font-size: clamp(3rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.04em; }
.ds-intro .lede { margin: 0; color: #CFC6BB; }

.studio { padding: 0 var(--gutter) clamp(48px, 6vw, 88px); }
.studio-grid { display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 20px; max-width: 1760px; margin-inline: auto; align-items: start; }

/* ---------------------------------------------------------------- Panel */
.studio-panel { position: sticky; top: 20px; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; height: min(calc(100svh - 40px), 860px); overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.steps button { display: grid; justify-items: center; gap: 4px; padding: 14px 4px 12px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: .78rem; cursor: pointer; transition: color .2s, border-color .3s; }
.steps button span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 500 .75rem var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
.steps button:hover { color: var(--ivory); }
.steps button[aria-selected="true"] { color: var(--ivory); border-bottom-color: var(--red-bright); }
.steps button[aria-selected="true"] span { background: var(--ivory); color: var(--ink); box-shadow: none; }
.steps button.done span { background: color-mix(in srgb, var(--red-bright) 30%, transparent); box-shadow: none; color: var(--ivory); }
.step-body { overflow-y: auto; padding: 22px 20px; scrollbar-width: thin; scrollbar-color: #3a3530 transparent; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt[hidden] { display: none; }
.opt legend { font: 500 1.5rem/1.15 var(--display); margin-bottom: 18px; padding: 0; }
.opt legend small { display: block; font: 400 .9rem/1.45 var(--text); color: var(--muted); margin-top: 6px; }
.opt input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.opt:not([hidden]) { animation: step-in .45s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(10px); } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill .opt-body { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 16px; font-size: .92rem; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.pill:hover .opt-body { box-shadow: inset 0 0 0 1px var(--muted); }
.pill input:checked + .opt-body { background: var(--ivory); color: var(--ink); box-shadow: none; }
.edge-ico { width: 13px; height: 13px; border: 1.5px solid currentColor; display: inline-block; }

.tiles { display: grid; gap: 8px; }
.tiles--preset { grid-template-columns: 1fr; }
.tiles--layout, .tiles--type, .tiles--material { grid-template-columns: repeat(2, 1fr); }
.tile { cursor: pointer; display: block; }
.tile .opt-body { display: grid; gap: 8px; height: 100%; padding: 12px; border-radius: 12px; background: rgba(244,236,227,.03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background-color .2s, transform .2s var(--ease); }
.tile:hover .opt-body { box-shadow: inset 0 0 0 1px var(--muted); }
.tile input:checked + .opt-body { box-shadow: inset 0 0 0 2px var(--ivory); background: rgba(244,236,227,.07); }
.pill input:focus-visible + .opt-body, .tile input:focus-visible + .opt-body { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.tile strong { font-weight: 500; font-size: .92rem; }
.tiles--type .opt-body, .tiles--material .opt-body { justify-items: start; }
.type-aa { font-size: 2.2rem; line-height: 1.05; color: var(--ivory); }
.type-sample { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.mat-chip { width: 100%; height: 44px; border-radius: 8px; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.mat-chip i { position: absolute; right: 8px; bottom: 8px; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.15); }
.lay-ico { display: block; height: 64px; border-radius: 6px; background: rgba(244,236,227,.06); position: relative; overflow: hidden; }
.lay-ico i { position: absolute; background: rgba(244,236,227,.55); border-radius: 2px; }
.lay-ico i:nth-child(3) { background: color-mix(in srgb, var(--red-bright) 75%, transparent); }
.pre .opt-body { grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 10px; }
.pre-swatch { width: 64px; height: 52px; border-radius: 9px; display: grid; place-items: center; position: relative; font-size: 1.5rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pre-swatch i { position: absolute; right: 6px; bottom: 6px; width: 8px; height: 8px; border-radius: 50%; }
.pre strong { font-size: 1rem; display: block; }
.pre small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }
.cfg-name { margin-top: 22px; }
.cfg-name input { color: var(--ivory); }

.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; flex-wrap: wrap; border-top: 1px solid var(--line); background: var(--ink-2); }
.panel-tools { display: flex; gap: 4px; }
.tool { white-space: nowrap; background: none; border: 0; color: var(--muted); padding: 8px 8px; border-radius: 8px; font-size: .88rem; cursor: pointer; }
.tool:hover:not(:disabled) { color: var(--ivory); background: rgba(244,236,227,.06); }
.tool:disabled { opacity: .35; cursor: default; }
.panel-nav { display: flex; gap: 8px; }

/* ---------------------------------------------------------------- Stage */
.stage { min-width: 0; position: sticky; top: 20px; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.stage-title { display: flex; align-items: center; gap: 12px; font: 500 1.4rem/1.1 var(--display); min-width: 0; }
.stage-title #stage-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-dot { width: 8px; height: 8px; border-radius: 50%; background: #7FCB8F; box-shadow: 0 0 0 4px rgba(127,203,143,.15); flex: none; }
.stage-code { font: 500 .72rem ui-monospace, monospace; color: var(--muted); letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.seg { display: inline-flex; border-radius: 999px; padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: .86rem; }
.seg button[aria-pressed="true"] { background: var(--ivory); color: var(--ink); }
.viewport { height: min(calc(100svh - 100px), 800px); border-radius: 18px; background: radial-gradient(90% 70% at 50% 0%, #2a2521, var(--ink) 70%); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: clamp(12px, 2vw, 28px); overflow: hidden; }
.browser { width: 100%; height: 100%; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); transition: width .7s var(--ease-out), border-radius .7s var(--ease-out); }
.browser-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EDE7DF; color: #6B635A; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFC6BB; }
.browser-bar .url { margin-inline: auto; font-size: .78rem; background: #fff; padding: 4px 18px; border-radius: 999px; transform: translateX(-17px); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-scale { flex: 1; position: relative; overflow: hidden; }
.pv { position: absolute; top: 0; left: 0; container-type: inline-size; overflow-y: auto; overflow-x: hidden; background: var(--p-bg); transform-origin: 0 0; scrollbar-width: none; transition: background-color .5s var(--ease); }
.pv::-webkit-scrollbar { display: none; }
.pv:focus-visible { outline: 3px solid var(--red-bright); outline-offset: -3px; }
.viewport.is-tablet .browser, .viewport.is-mobile .browser { border-radius: 26px; }
.viewport.is-mobile .browser-bar { padding: 14px 14px 8px; }
.viewport.is-mobile .browser-bar i { display: none; }
.viewport.is-mobile .browser-bar .url { transform: none; }
.pv.flash { animation: flash .6s var(--ease-out); }
@keyframes flash { from { filter: brightness(1.08) saturate(1.1); } }

/* extra preview sections */
.pv-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 0 var(--pad) 6cqw; }
.pv-strip div { aspect-ratio: 4 / 3; border-radius: var(--p-r); background: color-mix(in srgb, var(--p-accent) 14%, var(--p-surface)); position: relative; overflow: hidden; }
.pv-strip div:nth-child(2) { background: color-mix(in srgb, var(--p-ink) 10%, var(--p-surface)); }
.pv-strip div::after { content: ""; position: absolute; left: 12%; right: 40%; bottom: 14%; height: 8%; border-radius: var(--p-pill); background: color-mix(in srgb, var(--p-ink) 30%, transparent); }
.pv-quote { padding: 4cqw var(--pad) 7cqw; display: grid; gap: 1em; }
.pv-quote .pv-h { font-size: clamp(22px, 3.6cqw, 46px); max-width: 22ch; }
.pv-foot { display: flex; justify-content: space-between; gap: 2em; flex-wrap: wrap; padding: 4cqw var(--pad); border-top: 1px solid color-mix(in srgb, var(--p-ink) 12%, transparent); color: var(--p-muted); font-size: .85em; }
.pv-foot .pv-logo { color: var(--p-ink); }

/* ---------------------------------------------------------------- Send */
.send { background: var(--ivory); }
.send-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.send .lede { margin: 24px 0 40px; }
.card-actions { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.send-form { padding: clamp(24px, 3vw, 40px); background: var(--paper); border-radius: 6px; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .studio-grid { grid-template-columns: 1fr; }
  .stage { order: -1; position: sticky; top: 0; z-index: 5; background: var(--ink); padding-top: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 10px; }
  .viewport { height: 46svh; padding: 10px; border-radius: 14px; }
  .studio-panel { position: static; height: auto; }
  .step-body { overflow: visible; }
  .tiles--layout, .tiles--type, .tiles--material { grid-template-columns: repeat(3, 1fr); }
  .tiles--preset { grid-template-columns: 1fr 1fr; }
  .ds-intro-row, .send-grid { grid-template-columns: 1fr; }
  .stage-code { display: none; }
}
@media (max-width: 600px) {
  .viewport { height: 40svh; }
  .seg button { padding: 7px 10px; font-size: .8rem; }
  .stage-title { font-size: 1.1rem; }
  .tiles--layout, .tiles--type, .tiles--material { grid-template-columns: repeat(2, 1fr); }
  .tiles--preset { grid-template-columns: 1fr; }
  .steps button { font-size: 0; gap: 0; }
  .steps button span { font-size: .75rem; }
  .panel-foot { flex-wrap: wrap; }
  .bc-spec { grid-template-columns: repeat(2, auto) !important; }
  .build-card { padding: 18px 20px !important; border-radius: 16px !important; aspect-ratio: auto !important; min-height: 210px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .browser { transition: none; } }
/* ---------- Layout icons (from the original configurator) ---------- */
/* layout icons */
.lay-ico--editorial i:nth-child(1) { left: 10%; top: 24%; width: 44%; height: 12%; }
.lay-ico--editorial i:nth-child(2) { left: 10%; top: 44%; width: 30%; height: 8%; opacity: .5; }
.lay-ico--editorial i:nth-child(3) { right: 8%; top: 18%; width: 30%; height: 64%; }
.lay-ico--centered i:nth-child(1) { left: 28%; top: 16%; width: 44%; height: 11%; }
.lay-ico--centered i:nth-child(2) { left: 36%; top: 33%; width: 28%; height: 7%; opacity: .5; }
.lay-ico--centered i:nth-child(3) { left: 14%; top: 52%; width: 72%; height: 48%; }
.lay-ico--bold i:nth-child(1) { left: 8%; top: 18%; width: 84%; height: 22%; }
.lay-ico--bold i:nth-child(2) { left: 8%; top: 48%; width: 84%; height: 18%; }
.lay-ico--bold i:nth-child(3) { left: 8%; top: 74%; width: 24%; height: 12%; }
.lay-ico--split i:nth-child(1) { left: 56%; top: 30%; width: 34%; height: 12%; }
.lay-ico--split i:nth-child(2) { left: 56%; top: 50%; width: 24%; height: 8%; opacity: .5; }
.lay-ico--split i:nth-child(3) { left: 0; top: 0; width: 48%; height: 100%; }
/* more layout icons */
.lay-ico--framed { box-shadow: inset 0 0 0 4px rgba(20,18,16,.7), inset 0 0 0 5px rgba(244,236,227,.4); }
.lay-ico--framed i:nth-child(1) { left: 16%; top: 30%; width: 36%; height: 11%; }
.lay-ico--framed i:nth-child(2) { left: 16%; top: 50%; width: 24%; height: 7%; opacity: .5; }
.lay-ico--framed i:nth-child(3) { right: 16%; top: 22%; width: 26%; height: 56%; }
.lay-ico--cover i:nth-child(3) { inset: 0; width: auto; height: auto; opacity: .55; }
.lay-ico--cover i:nth-child(1) { left: 10%; top: 34%; width: 50%; height: 13%; z-index: 1; }
.lay-ico--cover i:nth-child(2) { left: 10%; top: 56%; width: 30%; height: 8%; z-index: 1; }
.lay-ico--magazine i:nth-child(1) { left: 8%; top: 12%; width: 84%; height: 16%; }
.lay-ico--magazine i:nth-child(3) { left: 8%; top: 36%; width: 84%; height: 38%; }
.lay-ico--magazine i:nth-child(2) { left: 8%; top: 82%; width: 36%; height: 7%; opacity: .5; }
.lay-ico--sidebar i:nth-child(1) { left: 0; top: 0; width: 22%; height: 100%; opacity: .35; }
.lay-ico--sidebar i:nth-child(2) { left: 32%; top: 28%; width: 40%; height: 12%; }
.lay-ico--sidebar i:nth-child(3) { left: 32%; top: 52%; width: 58%; height: 36%; }
.lay-ico--offset i:nth-child(3) { left: 8%; top: 14%; width: 34%; height: 72%; }
.lay-ico--offset i:nth-child(1) { left: 30%; top: 38%; width: 60%; height: 14%; z-index: 1; }
.lay-ico--offset i:nth-child(2) { left: 48%; top: 60%; width: 30%; height: 7%; opacity: .5; }
.lay-ico--quiet i:nth-child(1) { left: 12%; top: 34%; width: 52%; height: 11%; }
.lay-ico--quiet i:nth-child(2) { left: 12%; top: 54%; width: 32%; height: 7%; opacity: .5; }
.lay-ico--quiet i:nth-child(3) { left: 12%; top: 70%; width: 14%; height: 9%; }
/* ---------- The preview site (rendered at true device width, then scaled) ---------- */
/* ---------- The preview site ---------- */
.pv-site { --pad: 6cqw; background: var(--p-bg); color: var(--p-ink); font-family: var(--p-body); font-size: clamp(15px, 1.25cqw, 17px); line-height: 1.55; transition: background-color .5s var(--ease), color .5s var(--ease); min-height: 100%; }
.pv-site * { transition: border-radius .4s var(--ease), background-color .5s var(--ease), color .5s var(--ease); }
.pv-h { font-family: var(--p-head); font-weight: var(--p-w); letter-spacing: var(--p-track); text-transform: var(--p-case); font-style: var(--p-style); line-height: .98; margin: 0; }
.pv-nav { display: flex; align-items: center; gap: 4cqw; padding: 3cqw var(--pad); border-bottom: 1px solid color-mix(in srgb, var(--p-ink) 12%, transparent); }
.pv-logo { font-family: var(--p-head); font-weight: var(--p-w); text-transform: var(--p-case); font-style: var(--p-style); font-size: 1.25em; letter-spacing: var(--p-track); white-space: nowrap; }
.pv-nav nav { display: flex; gap: 3cqw; margin-left: auto; color: var(--p-muted); font-size: .88em; }
.pv-btn { display: inline-block; background: var(--p-accent); color: var(--p-accent-ink); border-radius: var(--p-pill); padding: .85em 1.5em; font-size: .9em; font-weight: 500; white-space: nowrap; }
.pv-btn--sm { padding: .6em 1.1em; font-size: .78em; }
.pv-link { font-size: .9em; border-bottom: 1px solid var(--p-accent); padding-bottom: 2px; }
.pv-ctas { display: flex; align-items: center; gap: 1.6em; flex-wrap: wrap; }

.pv-hero { display: grid; gap: 4cqw; padding: 7cqw var(--pad); align-items: center; }
.pv-hero .pv-h { font-size: clamp(30px, 8.6cqw, 92px); margin-bottom: .32em; }
.pv-sub { color: var(--p-muted); max-width: 34ch; margin: 0 0 1.8em; font-size: 1.05em; }

.pv-art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--p-r); overflow: hidden; background: var(--p-surface); }
.pv-art i { position: absolute; display: block; }

.pv-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 0 var(--pad) 6cqw; }
.pv-feat { background: var(--p-surface); border-radius: var(--p-r); padding: 1.6em 1.4em; }
.pv-feat h3 { font-family: var(--p-head); font-weight: var(--p-w); text-transform: var(--p-case); letter-spacing: var(--p-track); font-size: 1.2em; margin: 0 0 .4em; line-height: 1.1; }
.pv-feat p { margin: 0; color: var(--p-muted); font-size: .9em; }
.pv-band { margin: 0 var(--pad) var(--pad); padding: 5cqw; border-radius: var(--p-r); background: var(--p-ink); color: var(--p-bg); display: flex; justify-content: space-between; align-items: center; gap: 3cqw; flex-wrap: wrap; }
.pv-h--sm { font-size: clamp(20px, 4.2cqw, 40px); max-width: 16ch; }

/* layouts */
.layout-editorial .pv-hero { grid-template-columns: 1.25fr .9fr; }
.layout-centered .pv-hero { text-align: center; justify-items: center; padding-top: 10cqw; }
.layout-centered .pv-sub { margin-inline: auto; }
.layout-centered .pv-ctas { justify-content: center; }
.layout-centered .pv-art { aspect-ratio: 21 / 9; width: 100%; margin-top: 2cqw; }
.layout-bold .pv-hero .pv-h { font-size: clamp(36px, 13.5cqw, 150px); line-height: .9; }
.layout-bold .pv-hero { padding-top: 5cqw; }
.layout-bold .pv-art { aspect-ratio: 3 / 1; }
.layout-bold .pv-feat { background: var(--p-accent); color: var(--p-accent-ink); }
.layout-bold .pv-feat p { color: inherit; opacity: .8; }
.layout-split .pv-hero { grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
.layout-split .pv-art { order: -1; border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 52cqw; }
.layout-split .pv-copy { padding: 6cqw 5cqw; }
.layout-split .pv-hero .pv-h { font-size: clamp(28px, 6.6cqw, 72px); }

@container (max-width: 520px) {
  .pv-nav nav { display: none; }
  .pv-nav .pv-btn--sm { margin-left: auto; }
  .layout-editorial .pv-hero, .layout-split .pv-hero { grid-template-columns: 1fr; }
  .layout-split .pv-art { min-height: 70cqw; }
  .pv-feats { grid-template-columns: 1fr; }
  .pv-site { font-size: 15px; }
  .pv-hero .pv-h { font-size: 12cqw; }
  .layout-bold .pv-hero .pv-h { font-size: 15cqw; }
}

/* industry art — abstract, drawn from the business's own world */
.art-restaurant .pv-art i:nth-child(1) { width: 62%; aspect-ratio: 1; border-radius: 50%; left: 19%; top: 50%; transform: translateY(-50%); background: var(--p-bg); box-shadow: 0 0 0 4cqw color-mix(in srgb, var(--p-bg) 55%, var(--p-surface)); }
.art-restaurant .pv-art i:nth-child(2) { width: 30%; aspect-ratio: 1; border-radius: 50%; left: 35%; top: 50%; transform: translateY(-50%); background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--p-accent) 70%, white), var(--p-accent)); }
.art-real-estate .pv-art { background: linear-gradient(180deg, color-mix(in srgb, var(--p-accent) 22%, var(--p-surface)) 0 58%, var(--p-surface) 58%); }
.art-real-estate .pv-art i:nth-child(1) { width: 22%; aspect-ratio: 1; border-radius: 50%; left: 60%; top: 30%; background: var(--p-accent); }
.art-real-estate .pv-art i:nth-child(2) { left: -10%; right: -10%; bottom: 0; height: 48%; background: color-mix(in srgb, var(--p-ink) 85%, var(--p-accent)); border-radius: 60% 40% 0 0 / 30% 20% 0 0; }
.art-real-estate .pv-art i:nth-child(3) { left: 18%; bottom: 30%; width: 26%; height: 22%; background: var(--p-bg); }
.art-clinic .pv-art i:nth-child(1) { inset: 16% 16% auto auto; width: 50%; height: 50%; border-radius: var(--p-r); background: color-mix(in srgb, var(--p-accent) 35%, var(--p-surface)); }
.art-clinic .pv-art i:nth-child(2) { left: 14%; bottom: 14%; width: 46%; height: 40%; border-radius: var(--p-r); background: var(--p-bg); }
.art-clinic .pv-art i:nth-child(3) { left: 26%; bottom: 26%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: var(--p-accent); }
.art-fashion .pv-art i:nth-child(1) { left: 22%; right: 22%; top: 12%; bottom: 0; border-radius: 999px 999px 0 0; background: color-mix(in srgb, var(--p-accent) 30%, var(--p-bg)); }
.art-fashion .pv-art i:nth-child(2) { left: 32%; right: 32%; top: 26%; bottom: 0; border-radius: 999px 999px 0 0; background: var(--p-accent); opacity: .85; }
.art-fashion .pv-art i:nth-child(3) { left: 8%; top: 8%; width: 3px; height: 40%; background: var(--p-ink); opacity: .3; }
.art-consulting .pv-art { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--p-ink) 10%, transparent) 0 1px, transparent 1px 12.5%), repeating-linear-gradient(0deg, color-mix(in srgb, var(--p-ink) 10%, transparent) 0 1px, transparent 1px 12.5%), var(--p-surface); }
.art-consulting .pv-art i:nth-child(1) { left: 12%; bottom: 12%; width: 76%; height: 3px; background: var(--p-ink); transform-origin: left; transform: rotate(-32deg); }
.art-consulting .pv-art i:nth-child(2) { left: 70%; top: 34%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: var(--p-accent); }
.art-consulting .pv-art i:nth-child(3) { left: 12%; top: 12%; width: 30%; height: 18%; background: var(--p-bg); border-radius: var(--p-r); }
/* ---------- More preview layouts + industry art ---------- */
/* more preview layouts */
.layout-framed .pv-hero { grid-template-columns: 1.2fr .8fr; margin: 4cqw var(--pad); padding: 6cqw; border: 1px solid color-mix(in srgb, var(--p-ink) 28%, transparent); border-radius: var(--p-r); outline: 1px solid color-mix(in srgb, var(--p-ink) 14%, transparent); outline-offset: -1.4cqw; }
.layout-framed .pv-hero .pv-h { font-size: clamp(28px, 7cqw, 76px); }

.layout-cover .pv-hero { position: relative; min-height: 64cqw; overflow: hidden; align-content: end; padding-bottom: 8cqw; }
.layout-cover .pv-art { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.layout-cover .pv-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--p-bg) 28%, color-mix(in srgb, var(--p-bg) 30%, transparent) 75%); }
.layout-cover .pv-copy { position: relative; z-index: 1; max-width: 62%; }

.layout-magazine .pv-hero { grid-template-columns: 1fr 1fr; align-items: start; }
.layout-magazine .pv-copy { display: contents; }
.layout-magazine .pv-h { grid-column: 1 / -1; font-size: clamp(32px, 11cqw, 120px) !important; }
.layout-magazine .pv-art { grid-column: 1 / -1; aspect-ratio: 5 / 2; }
.layout-magazine .pv-sub { margin: 0; }
.layout-magazine .pv-ctas { justify-self: end; }

.layout-sidebar { display: grid; grid-template-columns: 24cqw minmax(0, 1fr); align-content: start; }
.layout-sidebar .pv-nav { grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; gap: 3cqw; border-bottom: 0; border-right: 1px solid color-mix(in srgb, var(--p-ink) 12%, transparent); padding: 5cqw 3.4cqw; position: sticky; top: 0; align-self: start; min-height: 100%; }
.layout-sidebar .pv-nav nav { flex-direction: column; margin-left: 0; gap: 1.6cqw; }
.layout-sidebar .pv-logo { white-space: normal; }
.layout-sidebar { --pad: 4.5cqw; }
.layout-sidebar .pv-hero { grid-template-columns: 1fr; }
.layout-sidebar .pv-art { aspect-ratio: 16 / 7; }
.layout-sidebar .pv-hero .pv-h { font-size: clamp(28px, 7cqw, 76px); }

.layout-offset .pv-hero { grid-template-columns: .75fr 1.25fr; }
.layout-offset .pv-art { order: -1; aspect-ratio: 3 / 4; }
.layout-offset .pv-copy { position: relative; z-index: 1; margin-left: -12cqw; }
.layout-offset .pv-hero .pv-h { background: var(--p-bg); padding: .12em .2em .1em; margin-left: -.2em; }

.layout-quiet .pv-hero { padding-block: 14cqw 12cqw; }
.layout-quiet .pv-art { display: none; }
.layout-quiet .pv-hero .pv-h { font-size: clamp(28px, 6.6cqw, 70px); max-width: 13ch; }
.layout-quiet .pv-feat { background: transparent; border-top: 1px solid color-mix(in srgb, var(--p-ink) 20%, transparent); border-radius: 0; padding-inline: 0; }

/* more industry art */
.art-hotel .pv-art i:nth-child(1) { left: 24%; right: 24%; top: 14%; bottom: 14%; border-radius: 999px 999px 0 0; background: color-mix(in srgb, var(--p-accent) 25%, var(--p-bg)); }
.art-hotel .pv-art i:nth-child(2) { left: 40%; top: 30%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--p-accent); }
.art-hotel .pv-art i:nth-child(3) { left: 24%; right: 24%; bottom: 14%; height: 30%; background: color-mix(in srgb, var(--p-ink) 70%, var(--p-accent)); }
.art-beauty .pv-art i:nth-child(1) { left: 14%; top: 18%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--p-accent) 30%, var(--p-bg)); }
.art-beauty .pv-art i:nth-child(2) { right: 12%; bottom: 16%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--p-accent) 70%, var(--p-surface)); mix-blend-mode: multiply; }
.art-beauty .pv-art i:nth-child(3) { left: 48%; top: 46%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: var(--p-bg); }
.art-fitness .pv-art { background: var(--p-ink); }
.art-fitness .pv-art i { width: 14%; bottom: 0; background: var(--p-accent); }
.art-fitness .pv-art i:nth-child(1) { left: 18%; height: 34%; }
.art-fitness .pv-art i:nth-child(2) { left: 43%; height: 56%; opacity: .8; }
.art-fitness .pv-art i:nth-child(3) { left: 68%; height: 82%; }
.art-law .pv-art i { top: 26%; bottom: 14%; width: 10%; background: color-mix(in srgb, var(--p-ink) 75%, var(--p-surface)); }
.art-law .pv-art i:nth-child(1) { left: 22%; }
.art-law .pv-art i:nth-child(2) { left: 45%; }
.art-law .pv-art i:nth-child(3) { left: 68%; }
.art-law .pv-art::before { content: ""; position: absolute; left: 14%; right: 14%; top: 12%; height: 10%; background: var(--p-accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.art-tech .pv-art { background: radial-gradient(circle, color-mix(in srgb, var(--p-ink) 22%, transparent) 1.5px, transparent 2px) 0 0 / 8% 8%, var(--p-surface); }
.art-tech .pv-art i:nth-child(1) { left: 14%; top: 18%; width: 46%; height: 30%; border-radius: var(--p-r); background: var(--p-bg); box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); }
.art-tech .pv-art i:nth-child(2) { left: 36%; top: 42%; width: 50%; height: 34%; border-radius: var(--p-r); background: var(--p-accent); }
.art-tech .pv-art i:nth-child(3) { left: 20%; top: 26%; width: 22%; height: 4%; border-radius: 99px; background: color-mix(in srgb, var(--p-ink) 40%, transparent); }
/* ---------- Narrow previews (mobile) ---------- */
@container (max-width: 520px) {
  .layout-sidebar { display: block; }
  .layout-sidebar .pv-nav { flex-direction: row; align-items: center; border-right: 0; min-height: 0; position: static; padding: 3cqw var(--pad); }
  .layout-sidebar .pv-nav nav { display: none; }
  .layout-framed .pv-hero, .layout-offset .pv-hero, .layout-magazine .pv-hero { grid-template-columns: 1fr; }
  .layout-offset .pv-copy { margin-left: 0; margin-top: -14cqw; }
  .layout-cover .pv-copy { max-width: 100%; }
  .layout-cover .pv-art::after { background: linear-gradient(0deg, var(--p-bg) 45%, color-mix(in srgb, var(--p-bg) 30%, transparent)); }
  .layout-magazine .pv-ctas { justify-self: start; }
}
/* ---------- Build card ---------- */
.build-card {
  --bc-a: #2B3FD6; --bc-b: #101850; --bc-ink: #E6CF95;
  width: min(460px, 100%); aspect-ratio: 1.586; border-radius: 22px; padding: 26px 28px; color: var(--bc-ink);
  background: radial-gradient(120% 90% at 30% 10%, rgba(255,255,255,.32), transparent 46%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), linear-gradient(140deg, var(--bc-a), var(--bc-b));
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 40px 60px -30px rgba(0,0,0,.55);
  display: flex; flex-direction: column; justify-content: space-between; transition: background .6s var(--ease), color .6s var(--ease);
}
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bc-name { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.05; }
.build-card .mc-chip { flex: none; width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #E9D8A6, #A8843C 55%, #E2CC8E); }
.bc-spec { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 26px; margin: 0; font-size: .82rem; }
.bc-spec dt { opacity: .7; }
.bc-spec dd { margin: 0; font-weight: 500; }
.bc-foot { display: flex; justify-content: space-between; font-size: .78rem; letter-spacing: .06em; opacity: .85; }
