/* ==========================================================================
   Configurator page ("Design your site")
   ========================================================================== */
.cfg-intro { padding-bottom: clamp(28px, 4vw, 48px); }
.cfg-intro .lede { max-width: 52ch; }
.cfg { padding-bottom: clamp(70px, 9vw, 120px); }
.cfg-grid { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

/* ---------- Controls ---------- */
.cfg-controls { display: grid; gap: 34px; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 500; margin-bottom: 14px; padding: 0; }
.opt legend .n { font-family: var(--display); color: var(--gold); font-size: 1.5rem; line-height: 1; width: 18px; }
.opt input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }

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

.tiles { display: grid; gap: 10px; }
.tiles--layout, .tiles--preset { grid-template-columns: repeat(2, 1fr); }
.tiles--layout { grid-template-columns: repeat(3, 1fr); }
.tiles--layout .opt-body { padding: 10px; gap: 4px; }
.tiles--layout .lay-ico { height: 44px; }
.tiles--type, .tiles--material { grid-template-columns: repeat(3, 1fr); }
.tile { cursor: pointer; display: block; }
.tile .opt-body { display: grid; gap: 6px; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s, box-shadow .2s, background-color .7s var(--ease); }
.tile:hover .opt-body { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.tile input:checked + .opt-body { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill input:focus-visible + .opt-body, .tile input:focus-visible + .opt-body { outline: 2px solid var(--action); outline-offset: 2px; }
.tile strong { font-weight: 500; font-size: .92rem; }
.tile small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.tiles--type .opt-body, .tiles--material .opt-body { justify-items: center; text-align: center; padding: 14px 8px 12px; }
.type-aa { font-size: 2.1rem; line-height: 1.1; }
.mat-chip { width: 52px; height: 34px; border-radius: 6px; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 6px 12px -8px rgba(0,0,0,.5); }
.mat-chip i { position: absolute; right: 6px; bottom: 6px; width: 9px; height: 9px; border-radius: 50%; }

/* layout icons */
.lay-ico { display: block; height: 52px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 6%, transparent); position: relative; overflow: hidden; margin-bottom: 4px; }
.lay-ico i { position: absolute; background: color-mix(in srgb, var(--ink) 55%, transparent); border-radius: 2px; }
.lay-ico i:nth-child(3) { background: color-mix(in srgb, var(--gold) 70%, transparent); }
.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%; }

.cfg-name { margin-top: 14px; }
.cfg-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Stage ---------- */
.cfg-stage { position: sticky; top: 92px; }
.hover-header .cfg-stage { top: 24px; }  /* header is hidden on mouse devices */
.stage-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 16px; }
.stage-title { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { font: inherit; font-size: .85rem; background: none; border: 0; color: var(--muted); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.browser { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 50px 80px -50px rgba(0,0,0,.55); margin-inline: auto; max-width: 100%; transition: max-width .5s var(--ease); }
.browser.is-mobile { max-width: 380px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.browser-bar .url { margin-inline: auto; font-size: .8rem; color: var(--muted); background: color-mix(in srgb, var(--ink) 6%, transparent); padding: 4px 18px; border-radius: 999px; transform: translateX(-17px); }

.pv { container-type: inline-size; height: min(68vh, 640px); overflow-y: auto; background: var(--p-bg); transition: background-color .5s var(--ease); scrollbar-width: thin; }

/* ---------- The preview site ---------- */
.pv-site { --pad: 6cqw; background: var(--p-bg); color: var(--p-ink); font-family: var(--p-body); font-size: clamp(12px, 1.9cqw, 16px); 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: 14px; }
  .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); }

/* ---------- Build card + send ---------- */
.send-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.send .lede { margin-bottom: 36px; }
.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; }
.copy-btn { margin-top: 22px; }

/* presets */
.pre .opt-body { grid-template-columns: 46px 1fr; align-items: center; gap: 10px; padding: 8px; }
.pre-swatch { width: 46px; height: 40px; border-radius: 8px; display: grid; place-items: center; position: relative; font-size: 1.15rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.pre-swatch i { position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-radius: 50%; }
.pre strong { font-size: .9rem; }

/* more layout icons */
.lay-ico--framed { box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--bg) 70%, transparent), inset 0 0 0 5px color-mix(in srgb, var(--ink) 40%, transparent); }
.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%; }

/* 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); }

@media (max-width: 960px) {
  .cfg-grid { grid-template-columns: 1fr; }
  .hover-header .cfg-stage { top: 0; }
  .cfg-stage { position: sticky; top: 72px; z-index: 5; order: -1; background: var(--bg); padding-block: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
  .pv { height: 42vh; }
  .stage-bar { margin-bottom: 8px; }
  .send-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tiles--type, .tiles--material { grid-template-columns: repeat(2, 1fr); }
  .stage-title { font-size: 1.15rem; }
  .seg { display: none; }
  .pv { height: 36vh; }
  .bc-spec { grid-template-columns: repeat(2, auto); }
  .build-card { padding: 18px 20px; border-radius: 16px; aspect-ratio: auto; min-height: 210px; gap: 16px; }
}

/* Narrow previews for the extra layouts (kept last so they win) */
@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; }
}
