/* Strutt Shelving — demo brand. Ink + paper + signal red, industrial type. */
:root {
  --ink: #17181a; --ink-2: #2a2c2f; --paper: #f2efe9; --paper-2: #e8e3d9; --white: #fff;
  --steel: #8a8f94; --line: #d6d0c4; --red: #b4342a; --red-dark: #8f2820;
  --head: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: min(1240px, calc(100vw - 48px)); --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin: 0 0 0.4em; }
h1 { font-size: clamp(44px, 6.4vw, 92px); text-transform: uppercase; }
h2 { font-size: clamp(32px, 4vw, 56px); text-transform: uppercase; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--red); }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip-link:focus { left: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.eyebrow .rule { width: 28px; height: 2px; background: var(--red); }

/* buttons + links */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none; font: 700 15px/1 var(--head); letter-spacing: 0.04em; text-transform: uppercase; padding: 17px 26px; border-radius: var(--radius); border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-small { padding: 11px 16px; font-size: 13px; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.text-link:hover { color: var(--red); }
.text-link.light { color: var(--paper); }

/* header */
.announce { background: var(--ink); color: var(--paper); font-size: 13px; text-align: center; padding: 9px 16px; }
.announce a { color: #fff; font-weight: 600; margin-left: 8px; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px max(24px, calc((100vw - 1240px) / 2)); background: rgba(242, 239, 233, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: block; line-height: 0; }
.logo { height: 38px; width: auto; }
.logo-mark rect { fill: var(--ink); } .logo-bolt { fill: var(--red); }
.logo-word { font: 800 25px var(--head); letter-spacing: 0.06em; fill: var(--ink); }
.logo-sub { font: 600 8.4px var(--body); letter-spacing: 0.46em; fill: var(--steel); }
.logo-light .logo-mark rect, .logo-light .logo-word { fill: var(--paper); }
#nav { display: flex; gap: 26px; margin-left: auto; }
#nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
#nav a:hover, #nav a[aria-current] { border-color: var(--red); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: 7px 12px; font: 600 14px var(--body); cursor: pointer; }

/* hero */
.hero { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; padding: 64px 0 56px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-actions.center { justify-content: center; }
.hero-facts { list-style: none; margin: 0; padding: 22px 0 0; display: flex; gap: 40px; border-top: 1px solid var(--line); }
.hero-facts b { display: block; font: 800 28px/1 var(--head); }
.hero-facts span { font-size: 13px; color: var(--steel); }
.hero-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease; }
.hero-img:hover img { transform: scale(1.025); }
.hero-tag { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 18px; background: var(--paper); padding: 14px 16px 14px 20px; border-radius: var(--radius); text-decoration: none; }
.hero-tag .eyebrow { margin: 0 0 4px; display: block; }
.hero-tag strong { font: 800 18px var(--head); display: block; }
.circle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.strip span { padding: 20px max(16px, 2vw); font-weight: 500; font-size: 15px; border-right: 1px solid var(--line); }
.strip span:last-child { border-right: 0; }
.strip b { color: var(--red); font-family: var(--head); margin-right: 8px; }

/* sections */
.section { width: var(--wrap); margin: 0 auto; padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.page-head { width: var(--wrap); margin: 0 auto; padding: 72px 0 24px; max-width: none; }
.page-head p { font-size: 19px; max-width: 44em; color: var(--ink-2); }

.onebay { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.onebay-diagram { margin: 0; background: var(--white); border-radius: var(--radius); padding: 30px 30px 18px; }
.onebay-diagram svg { width: 100%; height: auto; }
.d-bay rect { stroke: var(--ink); stroke-width: 1.5; } .d-bay line { stroke: var(--ink); stroke-width: 3; }
.d-posts rect { fill: var(--ink); } .d-shared circle { fill: var(--red); } .d-shared text { fill: #fff; font: 700 14px var(--body); text-anchor: middle; }
.d-label { font: 600 13px var(--body); fill: var(--steel); text-anchor: middle; letter-spacing: 0.04em; text-transform: uppercase; }
.d-bay-l, .d-bay-r { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.onebay-diagram.pre .d-bay-l { transform: translateX(-34px); } .onebay-diagram.pre .d-bay-r { transform: translateX(34px); }
.onebay-diagram figcaption { font-size: 14px; color: var(--steel); margin-top: 10px; }

/* layout cards */
.layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.layout-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.layout-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.4); }
.layout-img { position: relative; background: var(--paper); overflow: hidden; }
.layout-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.layout-card:hover .layout-img img { transform: scale(1.04); }
.room-tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--paper); font: 600 11px var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.layout-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.layout-body h3 { margin: 0 0 4px; text-transform: uppercase; }
.layout-body p { color: var(--ink-2); font-size: 15px; margin: 0 0 10px; }
.layout-size { font: 600 12px var(--body); letter-spacing: .05em; color: var(--steel); text-transform: uppercase; }
.layout-cta { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--red); }

/* dark feature */
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.feature-dark { background: var(--ink); color: var(--paper); }
.feature-img { display: block; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.feature-copy { padding: 80px max(28px, 5vw); align-self: center; }
.feature-copy p { color: #c9c5bd; font-size: 17px; }
.spec-list { list-style: none; padding: 0; margin: 24px 0 34px; }
.spec-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid #34363a; font-size: 15px; }
.spec-list b { color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-size: 13px; padding-top: 2px; }

/* parts tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { background: var(--white); border-radius: var(--radius); padding: 18px 20px 22px; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 10px; }
.tile h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 4px; }
.tile p { font-size: 14px; color: var(--ink-2); margin: 0; }
.tile .code { font: 600 11px ui-monospace, Menlo, Consolas, monospace; color: var(--steel); letter-spacing: .04em; }

/* made teaser */
.made-teaser { background: var(--red); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 88px max(24px, calc((100vw - 1240px) / 2)); }
.made-teaser h2 em { color: var(--ink); }
.made-teaser .eyebrow { color: #f4d0cb; }
.made-teaser p { font-size: 17px; color: #fbe9e6; }
.made-teaser img { background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); transform: rotate(-1.5deg); }

.cta { text-align: center; padding: 110px 24px; background: var(--ink-2); color: var(--paper); }
.cta p { color: #c9c5bd; font-size: 18px; }

/* ideas page */
.ideas-list { width: var(--wrap); margin: 0 auto; padding: 24px 0 96px; display: grid; gap: 64px; }
.idea { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.idea:nth-child(even) { grid-template-columns: 0.8fr 1.2fr; }
.idea:nth-child(even) .idea-img { order: 2; }
.idea-img { border-radius: var(--radius); overflow: hidden; background: var(--white); display: block; }
.idea-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.idea dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 16px; margin: 18px 0 28px; font-size: 15px; }
.idea dt { font: 700 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }
.idea dd { margin: 0; }
.render-toggle { font-size: 13px; color: var(--steel); margin-top: 10px; }

/* system page */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.spec-grid div { background: var(--white); padding: 24px; }
.spec-grid b { display: block; font: 800 34px/1 var(--head); margin-bottom: 6px; }
.spec-grid span { font-size: 14px; color: var(--ink-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 34px; }
.swatch { display: flex; align-items: center; gap: 10px; background: var(--white); padding: 8px 14px 8px 8px; border-radius: 40px; font-size: 14px; font-weight: 500; }
.swatch i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.anatomy img { border-radius: var(--radius); }
.anatomy ol { padding-left: 1.2em; } .anatomy li { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* made page */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 800 44px/1 var(--head); color: var(--red); display: block; margin-bottom: 14px; }
.drawings { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.drawings figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 14px; }
.drawings figcaption { font-size: 14px; color: var(--steel); padding-top: 10px; }

/* designer page */
.designer-head { width: var(--wrap); margin: 0 auto; padding: 44px 0 20px; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.designer-head h1 { font-size: clamp(36px, 4.6vw, 64px); margin: 0; }
.starters { display: flex; gap: 8px; flex-wrap: wrap; }
.starters a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 30px; background: var(--white); border: 1px solid var(--line); }
.starters a[aria-current], .starters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.designer-wrap { width: var(--wrap); margin: 0 auto; }
.designer-bar { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius) var(--radius) 0 0; font-size: 14px; }
.designer-bar button { background: none; border: 1px solid #4a4c50; color: var(--paper); border-radius: 4px; padding: 6px 12px; cursor: pointer; font: 500 13px var(--body); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4caf50; margin-right: 8px; box-shadow: 0 0 0 4px rgba(76,175,80,.2); }
.designer-frame { height: min(82vh, 860px); min-height: 560px; background: #e6e2da; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.designer-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
body.designer-expanded .designer-wrap { position: fixed; inset: 0; width: auto; z-index: 100; background: var(--ink); }
body.designer-expanded .designer-frame { height: calc(100vh - 47px); border-radius: 0; }
body.designer-expanded .designer-bar { border-radius: 0; }
.designer-help { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--steel); padding: 12px 2px; }
.designer-tips { width: var(--wrap); margin: 0 auto; padding: 40px 0 90px; display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 24px; }
.designer-tips div { border-top: 3px solid var(--ink); padding-top: 14px; font-size: 15px; }
.designer-tips b { display: block; font: 800 16px var(--head); text-transform: uppercase; margin-bottom: 6px; }
.designer-tips .next { background: var(--white); border: 0; padding: 22px; border-radius: var(--radius); }

/* quote page */
.quote { width: var(--wrap); margin: 0 auto; padding: 20px 0 96px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.quote form { background: var(--white); border-radius: var(--radius); padding: 34px; display: grid; gap: 20px; }
.quote fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.quote legend { font: 800 18px var(--head); text-transform: uppercase; margin-bottom: 6px; }
.quote label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.quote input, .quote select, .quote textarea { font: 15px var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; background: var(--paper); padding: 8px 12px; border-radius: 30px; cursor: pointer; }
.form-note { font-size: 13px; color: var(--steel); margin: 0; }
.measure { position: sticky; top: 100px; }
.measure svg { width: 100%; height: auto; background: var(--white); border-radius: var(--radius); padding: 18px; }
.measure ol { padding-left: 1.2em; font-size: 15px; } .measure li { margin-bottom: 8px; }
.copied { color: #2e7d32; font-weight: 600; font-size: 14px; }

/* footer */
.site-footer { background: var(--ink); color: #b9b5ad; padding: 64px max(24px, calc((100vw - 1240px) / 2)) 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #2f3134; }
.footer-top > div { display: flex; flex-direction: column; gap: 10px; }
.footer-top a { text-decoration: none; } .footer-top a:hover { color: #fff; }
.footer-brand p { max-width: 26em; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* responsive */
@media (max-width: 1020px) {
  .hero, .onebay, .feature, .made-teaser, .idea, .idea:nth-child(even), .anatomy, .quote { grid-template-columns: 1fr; }
  .idea:nth-child(even) .idea-img { order: 0; }
  .layout-grid, .steps { grid-template-columns: 1fr 1fr; }
  .tiles, .spec-grid { grid-template-columns: 1fr 1fr; }
  .designer-tips { grid-template-columns: 1fr 1fr; }
  .feature-img img { min-height: 320px; }
  .measure { position: static; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  #nav.open { display: flex; } #nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header > .btn-small { display: none; }
  .strip { grid-template-columns: 1fr 1fr; } .strip span:nth-child(2) { border-right: 0; } .strip span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .layout-grid, .tiles, .steps, .drawings, .designer-tips, .row-3, .footer-top { grid-template-columns: 1fr; }
  .hero-facts { gap: 22px; flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .hero-tag { left: 10px; bottom: 10px; padding: 10px 12px; }
}

.made-teaser img, .drawings img { height: auto; }

/* assembly page */
.as-head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.as-hero { border-radius: var(--radius); background: #fff; }
.as-layout { width: var(--wrap); margin: 24px auto 0; display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; padding-bottom: 96px; }
.as-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; }
.as-nav a { text-decoration: none; padding: 7px 10px; border-radius: 4px; border-left: 3px solid transparent; color: var(--ink-2); }
.as-nav a b { display: inline-block; width: 20px; color: var(--steel); font-family: var(--head); }
.as-nav a:hover { background: var(--white); }
.as-nav a.active { background: var(--white); border-left-color: var(--red); color: var(--ink); font-weight: 600; }
.as-nav a.done b { color: #2e7d32; }

.as-nav-group { font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 16px 0 4px 10px; }
.as-nav-pdf { margin-top: 14px; font-weight: 600; color: var(--red) !important; }
.as-progress { background: var(--white); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.as-progress i { display: block; height: 6px; background: var(--paper-2); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.as-progress b { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s; }
.as-block { padding: 8px 0 48px; scroll-margin-top: 96px; }
.as-block > h2 { font-size: clamp(28px, 3vw, 42px); }
.as-sub { margin-top: 40px; font-size: 28px !important; }
.as-note { color: var(--ink-2); max-width: 52em; }
.as-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.as-boxes > div { background: var(--white); border-radius: var(--radius); padding: 22px 24px; }
.as-boxes h3 { text-transform: uppercase; font-size: 17px; }
.as-boxes ul, .as-txt ul { padding-left: 1.1em; margin: 0; }
.as-boxes li, .as-txt li { margin-bottom: 6px; }
.as-warn { margin-top: 20px; background: #fff3ef; border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; }
.as-parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.as-parts figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: 12px; }
.as-parts img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.as-parts figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.as-parts code { display: block; font: 700 12px ui-monospace, Menlo, Consolas, monospace; color: var(--ink); margin-bottom: 2px; }
.as-parts-6 { grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; }
.as-table { overflow-x: auto; background: var(--white); border-radius: var(--radius); }
.as-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.as-table th, .as-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.as-table th { font: 700 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.as-step { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.as-pic { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; }
.as-pic img { width: 100%; }
.as-inset { position: absolute; right: 10px; bottom: 10px; width: 38% !important; border: 3px solid var(--red); border-radius: 4px; background: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); }
.as-num { font: 800 44px/1 var(--head); color: var(--red); display: block; margin-bottom: 8px; }
.as-txt h3 { font-size: 24px; text-transform: uppercase; }
.as-txt p { color: var(--ink-2); }
.as-txt .orange, .as-boxes .orange { color: #d9731a; font-weight: 700; }
.as-done { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 14px; background: var(--white); padding: 8px 14px; border-radius: 30px; cursor: pointer; }
.as-done input { width: 18px; height: 18px; accent-color: var(--red); }
.as-step.is-done .as-pic { opacity: .55; }
.as-finish { border-top: 1px solid var(--line); padding-top: 40px; }
.as-gen { font-size: 13px; color: var(--steel); margin-top: 18px; }
@media (max-width: 1020px) {
  .as-head, .as-step, .as-layout { grid-template-columns: 1fr; }
  .as-nav { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .as-nav a { border-left: 0; background: var(--white); } .as-nav a:not([data-nav]):not(.as-nav-pdf) { display: none; }
  .as-nav-group, .as-progress { width: 100%; margin: 6px 0 0; }
  .as-parts { grid-template-columns: 1fr 1fr; } .as-parts-6 { grid-template-columns: 1fr 1fr; } .as-boxes { grid-template-columns: 1fr; }
}
.as-nav a.done b { font-size: 0; }
.as-nav a.done b::after { content: "✓"; font-size: 14px; color: #2e7d32; }
@media (max-width: 760px) { .as-step, .as-block { scroll-margin-top: 150px; } }

/* designer page: the 3D designer runs (nearly) full width and taller; the text around it keeps the page width */
.designer-wrap { width: calc(100vw - 32px); max-width: 2400px; }
.designer-frame { height: min(88vh, 1100px); min-height: 620px; }
.designer-head { padding-bottom: 16px; }
@media (max-width: 760px) { .designer-wrap { width: calc(100vw - 16px); } .designer-frame { height: 80vh; min-height: 520px; } }
