/* Shadow 3D Lab — site styles. No external fonts or frameworks. */
:root {
  --ink: #0e0e0f;
  --ink-2: #17171a;
  --ink-3: #232327;
  --line-d: #2c2c31;
  --paper: #f2eee6;
  --paper-2: #e8e3d8;
  --paper-3: #dcd6c9;
  --line: #cbc4b5;
  --text: #16161a;
  --muted: #55524c;
  --muted-d: #a7a39a;
  --red: #b3122e;
  --red-ink: #8f0e24;
  --red-on-dark: #ff5c6c;
  --ok: #1d6b45;
  --radius: 4px;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --w: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--red);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--red-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -0.035em; max-width: 22ch; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.mono, .eyebrow, .kicker, .tag, .label-mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .88rem; color: var(--muted); }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: opacity .5s ease, visibility .5s; }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__inner { text-align: center; }
.intro__mark { width: 64px; height: 64px; margin: 0 auto 22px; }
.intro__layers { width: 220px; margin: 0 auto 22px; display: grid; gap: 4px; }
.intro__layers i { display: block; height: 4px; background: var(--paper); transform-origin: left; transform: scaleX(0); animation: layer .32s cubic-bezier(.2,.7,.2,1) forwards; }
.intro__layers i:nth-child(1) { animation-delay: .70s; background: var(--red); }
.intro__layers i:nth-child(2) { animation-delay: .62s; }
.intro__layers i:nth-child(3) { animation-delay: .54s; }
.intro__layers i:nth-child(4) { animation-delay: .46s; }
.intro__layers i:nth-child(5) { animation-delay: .38s; }
.intro__layers i:nth-child(6) { animation-delay: .30s; }
.intro__layers i:nth-child(7) { animation-delay: .22s; }
.intro__layers i:nth-child(8) { animation-delay: .14s; }
.intro__layers { display: flex; flex-direction: column-reverse; }
@keyframes layer { to { transform: scaleX(1); } }
.intro__name { font: 700 1.05rem/1 var(--mono); letter-spacing: .38em; margin: 0 0 8px; opacity: 0; animation: fade .5s .9s forwards; }
.intro__sub { font: .8rem/1 var(--mono); letter-spacing: .18em; color: var(--muted-d); text-transform: uppercase; opacity: 0; animation: fade .5s 1.05s forwards; }
@keyframes fade { to { opacity: 1; } }
.intro__skip { position: absolute; right: 20px; bottom: 20px; background: none; border: 1px solid var(--line-d); color: var(--muted-d); font: .8rem var(--mono); padding: 8px 12px; border-radius: var(--radius); cursor: pointer; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(14,14,15,.94); color: var(--paper); border-bottom: 1px solid var(--line-d); backdrop-filter: saturate(140%) blur(8px); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #d9d4c9; text-decoration: none; font-size: .93rem; padding: 8px 10px; border-radius: var(--radius); }
.nav a:hover { color: #fff; background: var(--ink-3); }
.nav a.btn { color: #fff; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-d); color: var(--paper); font: 600 .9rem var(--sans); padding: 8px 12px; border-radius: var(--radius); cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius); border: 1px solid var(--red); background: var(--red); color: #fff; font: 650 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--red-ink); border-color: var(--red-ink); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(127,127,127,.12); border-color: currentColor; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; border-bottom: 1px solid var(--line-d); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-2) 1px, transparent 1px), linear-gradient(90deg, var(--ink-2) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; opacity: .9; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); border: 1px solid var(--line-d); padding: 7px 12px; border-radius: 40px; margin-bottom: 26px; }
.hero h1 { max-width: 12ch; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #cfcac0; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero .btn--ghost { color: var(--paper); }
.hero :focus-visible, .section--ink :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--red-on-dark); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0; margin: 0; border-top: 1px solid var(--line-d); }
.facts div { padding: 14px 18px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line-d); }
.facts dt { font: .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: .95rem; }

.hero__stage { margin: 0; }
.stage { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line-d); border-radius: 6px; overflow: hidden; }
.stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage__hud { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; justify-content: space-between; gap: 10px; font: .75rem var(--mono); letter-spacing: .08em; color: var(--muted-d); text-transform: uppercase; pointer-events: none; }
.stage__hud b { color: var(--red-on-dark); font-weight: 600; }
.stage__ctrl { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.icon-btn { min-width: 40px; height: 36px; padding: 0 10px; border: 1px solid var(--line-d); background: rgba(14,14,15,.8); color: var(--paper); border-radius: var(--radius); font: 600 .82rem var(--mono); cursor: pointer; }
.icon-btn:hover { border-color: var(--muted-d); }
.hero figcaption, .file-stage figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted-d); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.file-stage figcaption { color: var(--muted); }
.tag { display: inline-block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 7px; border: 1px solid currentColor; border-radius: 2px; }


/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--tight { padding: 40px 0 64px; }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: var(--red-on-dark); }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sub { color: var(--muted); max-width: 62ch; font-size: 1.04rem; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.filters button { font: 600 .9rem var(--sans); min-height: 40px; padding: 0 16px; border-radius: 40px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.filters button:hover { border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button .count { font: .75rem var(--mono); opacity: .65; margin-left: 6px; }
.filter-status { font: .8rem var(--mono); color: var(--muted); margin: 6px 0 18px; min-height: 1.2em; }

/* cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.card { background: #fbf9f5; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover, .card:focus-within { border-color: var(--text); }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); }
.card__media canvas { width: 100%; height: 100%; display: block; }
.card__media .tag { position: absolute; left: 12px; bottom: 10px; color: var(--muted-d); background: rgba(14,14,15,.6); border-color: var(--line-d); }
.card__num { position: absolute; left: 12px; top: 10px; font: .75rem var(--mono); color: var(--muted-d); letter-spacing: .1em; }
.card__cat { position: absolute; right: 12px; top: 10px; font: .68rem var(--mono); color: var(--muted-d); letter-spacing: .12em; text-transform: uppercase; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .4em; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__ask { font-size: .86rem !important; border-left: 2px solid var(--red); padding-left: 10px; color: var(--text) !important; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.card__mat { font: .74rem var(--mono); color: var(--muted); letter-spacing: .04em; }
.cards--lib .card { background: var(--paper); }

.custom-cta { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border: 1px dashed var(--text); border-radius: 6px; }
.custom-cta h3 { margin-bottom: .25em; }
.custom-cta p { margin: 0; color: var(--muted); }
.plain-list { columns: 2; }

/* links panel */
.links-panel { margin-top: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: clamp(22px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.ticks li b { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.links-panel > *, .file-grid > *, .order-grid > *, .hero__grid > *, .two-col > *, .faq-wrap > * { min-width: 0; }
.links-panel__card { background: var(--ink); color: var(--paper); border-radius: 6px; padding: 22px; font: .85rem var(--mono); }
.url-mock { border: 1px solid var(--line-d); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 16px; color: #d9d4c9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url-mock span { color: var(--muted-d); }
.chk { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-d); color: #d9d4c9; }
.chk i { width: 16px; height: 16px; border: 1px solid var(--red-on-dark); border-radius: 2px; position: relative; flex: none; }
.chk i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border-right: 2px solid var(--red-on-dark); border-bottom: 2px solid var(--red-on-dark); transform: rotate(45deg); }

/* file */
.file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.file-stage { margin: 0; }
.stage--light { }
.stage__empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted-d); font: .9rem var(--mono); gap: 6px; pointer-events: none; }
.stage__empty small { opacity: .7; }
.drop { position: relative; display: grid; gap: 4px; place-items: center; text-align: center; padding: 30px 20px; margin: 18px 0 10px; border: 1.5px dashed var(--text); border-radius: 6px; background: #fbf9f5; cursor: pointer; transition: background .15s; }
.drop:hover, .drop.is-over { background: var(--paper-2); }
.drop:focus-within { box-shadow: var(--focus); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop__title { font-weight: 700; font-size: 1.05rem; }
.drop__hint { font: .8rem var(--mono); color: var(--muted); }
.file-status { font-size: .92rem; min-height: 1.4em; }
.file-status.is-error { color: var(--red-ink); font-weight: 600; }

/* steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.steps li { padding: 26px 24px 8px 0; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line-d); }
.steps .mono { color: var(--red-on-dark); font-size: .85rem; letter-spacing: .1em; display: block; margin-bottom: 14px; }
.steps p { color: #c8c3b9; font-size: .96rem; }

/* materials */
.mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0 28px; }
.mat { border: 1px solid var(--line); border-radius: 6px; padding: 22px; background: #fbf9f5; display: flex; flex-direction: column; }
.mat header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.mat h3 { font-size: 1.6rem; margin: 0; letter-spacing: -0.03em; }
.mat header .mono { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mat p { font-size: .95rem; color: var(--muted); }
.mat .warn { margin-top: auto; margin-bottom: 0; color: var(--text); font-size: .88rem; border-left: 2px solid var(--red); padding-left: 10px; }
.mat--unsure { background: transparent; border-style: dashed; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 6px; padding: 24px; background: #fbf9f5; }
.panel--red { margin-top: 16px; border-color: var(--red); background: #fbf3f2; }
.panel--red h3 { color: var(--red-ink); }
.chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: .82rem var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.area-list { list-style: none; margin: 0 0 12px; padding: 0; }
.area-list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.area-list span { color: var(--muted); }
.nolist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.nolist li { position: relative; padding-left: 22px; font-size: .95rem; }
.nolist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 0 0 var(--red); }
.nolist li::after { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--red); transform: rotate(-45deg); }

/* ---------- form ---------- */
.order-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 30px; align-items: start; }
.form fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 22px clamp(16px, 2.5vw, 26px) 8px; margin: 0 0 18px; background: var(--paper); min-width: 0; }
.form legend { font-weight: 750; font-size: 1.1rem; padding: 0 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px; }
.form legend .mono { width: 26px; height: 26px; display: inline-grid; place-items: center; background: var(--ink); color: var(--paper); font-size: .8rem; border-radius: 2px; }
.field { margin-bottom: 16px; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field > label, .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req { color: var(--red-ink); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="url"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background: #fff; border: 1px solid #8e897e; border-radius: var(--radius); padding: 11px 12px; min-height: 46px;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,18,46,.22); }
input[readonly] { background: var(--paper-2); }
[aria-invalid="true"] { border-color: var(--red) !important; background-color: #fff7f7 !important; }
.hint { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.error { font-size: .86rem; color: var(--red-ink); font-weight: 600; margin: 6px 0 0; }
.error:empty { display: none; }
.error::before { content: "! "; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 10px; align-items: start; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); }
.check label { font-weight: 500; font-size: .95rem; margin: 0; }
.check .error { grid-column: 2; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid #8e897e; border-radius: var(--radius); background: #fff; cursor: pointer; font-size: .93rem; font-weight: 500; }
.seg input { accent-color: var(--red); margin: 0; }
.seg label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.seg label:has(input:focus-visible) { box-shadow: var(--focus); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form .btn--ghost { color: var(--text); }
.err-summary { border: 2px solid var(--red); background: #fff7f7; border-radius: 6px; padding: 16px 18px; margin-bottom: 18px; }
.err-summary h3 { color: var(--red-ink); font-size: 1rem; }
.err-summary ul { margin: 0; padding-left: 18px; }
.err-summary a { color: var(--red-ink); font-weight: 600; }

.preview__sticky { position: sticky; top: 80px; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 22px; }
.preview h3 { margin-bottom: 10px; }
.preview__state { font-size: .92rem; color: #cfcac0; }
.preview__state.is-stale { color: #ffd2d6; }
.preview__state.is-ready { color: #bfe8cf; }
.preview__text { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 14px; margin: 0 0 14px; max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: .8rem/1.55 var(--mono); color: #e7e2d8; }
.preview__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.preview__actions .btn--ghost { color: var(--paper); }
.preview :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--red-on-dark); }
.preview a { color: #ffb3bb; }
.sendnote { border-top: 1px solid var(--line-d); padding-top: 14px; font-size: .92rem; }
.sendnote ol { padding-left: 20px; margin: 0 0 10px; }
.sendnote .small { color: var(--muted-d); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 64px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.5rem var(--mono); color: var(--red-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 40px; }
.privacy { border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.privacy h2 { font-size: 1.3rem; }
.privacy p { margin: 0; color: var(--muted); max-width: 90ch; }

/* footer */
.site-foot { background: var(--ink); color: var(--muted-d); padding: 36px 0; font-size: .92rem; }
.site-foot__row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 28px; align-items: center; }
.site-foot .brand { color: var(--paper); }
.site-foot p { margin: 0; }
.site-foot a { color: var(--paper); }
.site-foot .small { grid-column: 1 / -1; color: #8d897f; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px); background: var(--paper); color: var(--ink); border: 1px solid var(--ink); padding: 12px 16px; border-radius: var(--radius); font-weight: 600; font-size: .92rem; opacity: 0; transition: opacity .2s, transform .2s; z-index: 80; pointer-events: none; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translateX(-50%); }


/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .mats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .nolist { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .preview__sticky { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ink); border-bottom: 1px solid var(--line-d); padding: 8px var(--pad) 16px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--ink-3); }
  .nav a.btn { margin: 10px 0 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .file-grid, .links-panel, .two-col, .faq-wrap { grid-template-columns: 1fr; }
  .site-foot__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-d); padding-top: 10px; margin-top: 10px; }
  .facts div { padding-top: 10px; }
  .mats, .steps, .nolist { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-d); }
  .row { grid-template-columns: 1fr; }
  .custom-cta { flex-direction: column; align-items: stretch; }
  .area-list li { grid-template-columns: 1fr; gap: 2px; }
  .cards { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .plain-list { columns: 1; }
  .seg label { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro { display: none; }
}
@media (forced-colors: active) {
  .btn, .filters button, .seg label { border: 1px solid ButtonText; }
}

/* =========================================================
   Liquid glass layer (v2). Flat surfaces, print-bed grid,
   translucent glass panels. No spotlight gradients.
   ========================================================= */
:root {
  --glass-d: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  --glass-d-border: rgba(255,255,255,.13);
  --glass-d-shadow: inset 0 1px 0 rgba(255,255,255,.20), inset 0 -1px 0 rgba(0,0,0,.35), 0 18px 40px -18px rgba(0,0,0,.8);
  --glass-l: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  --glass-l-border: rgba(255,255,255,.85);
  --glass-l-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(22,22,26,.06), 0 14px 30px -18px rgba(22,22,26,.35);
  --blur: blur(22px) saturate(170%);
  --bed: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
}
.glass, .site-head, .stage, .icon-btn, .card__body, .filters, .preview__sticky, .form--glass, .links-panel, .steps li, .stage__hud span {
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.site-head { background: rgba(14,14,15,.84); border-bottom-color: rgba(255,255,255,.08); box-shadow: inset 0 -1px 0 rgba(255,255,255,.04); }
.nav a.btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 16px -8px rgba(179,18,46,.7); }
.btn--ghost { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }

/* hero */
.hero::before { background-image: var(--bed); background-size: 40px 40px; opacity: 1; }
.kicker { border: 0; padding: 0; border-radius: 0; letter-spacing: .14em; margin-bottom: 22px; }
.paths { color: var(--muted-d); font-size: .95rem; margin: -18px 0 28px; max-width: 52ch; }
.paths a { color: var(--paper); }
.stage { background: rgba(255,255,255,.025); border: 1px solid var(--glass-d-border); border-radius: 18px; box-shadow: var(--glass-d-shadow); }
.stage__hud { top: 12px; left: 12px; right: 12px; }
.stage__hud span { background: rgba(14,14,15,.45); border: 1px solid var(--glass-d-border); border-radius: 999px; padding: 5px 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.stage__hud span:empty { display: none; }
.icon-btn { background: var(--glass-d); border-color: var(--glass-d-border); border-radius: 999px; box-shadow: var(--glass-d-shadow); }
.stage--light { background: rgba(255,255,255,.025); }

/* dark sections (catalog, library, requests) */
.section--dark { background-color: var(--ink); background-image: var(--bed); background-size: 40px 40px; color: var(--paper); }
.section--dark2 { background-color: #121214; border-top: 1px solid var(--line-d); }
.section--dark .eyebrow { color: var(--red-on-dark); }
.section--dark .sub, .section--dark .filter-status { color: var(--muted-d); }
.section--dark a { color: #ffb3bb; }
.section--dark :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--red-on-dark); }
.eyebrow { gap: 0; }

.filters { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--glass-d); border: 1px solid var(--glass-d-border); box-shadow: var(--glass-d-shadow); }
.filters button { border: 0; color: #d9d4c9; min-height: 36px; }
.filters button:hover { background: rgba(255,255,255,.07); }
.filters button[aria-pressed="true"] { background: rgba(242,238,230,.92); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 4px 12px -6px rgba(0,0,0,.6); }

.card { position: relative; background: #141416; background-image: var(--bed); background-size: 24px 24px; border: 1px solid var(--glass-d-border); border-radius: 18px; color: var(--paper); box-shadow: 0 20px 40px -28px rgba(0,0,0,.9); }
.card:hover, .card:focus-within { border-color: rgba(255,255,255,.32); }
.cards--lib .card { background-color: #19191c; }
.card__media { aspect-ratio: 1 / 1; background: transparent; border-bottom: 0; }
.card__media .tag { bottom: auto; top: 34px; left: 12px; background: transparent; border-color: rgba(255,255,255,.18); font-size: .6rem; }
.card__body { margin: -92px 10px 10px; position: relative; border-radius: 13px; background: var(--glass-d); border: 1px solid var(--glass-d-border); box-shadow: var(--glass-d-shadow); padding: 16px 16px 14px; }
.card__body h3 { color: var(--paper); }
.card__body p { color: #bdb8ae; }
.card__ask { color: #ece7dd !important; border-left-color: var(--red-on-dark); }
.card__mat { color: var(--muted-d); }
.custom-cta { border: 1px solid var(--glass-d-border); background: var(--glass-d); box-shadow: var(--glass-d-shadow); border-radius: 18px; }
.custom-cta p { color: var(--muted-d); }

.links-panel { background: var(--glass-d); border: 1px solid var(--glass-d-border); box-shadow: var(--glass-d-shadow); border-radius: 18px; }
.links-panel .ticks li { color: #bdb8ae; }
.links-panel .ticks li b { color: var(--paper); }
.links-panel__card { background: rgba(0,0,0,.35); border: 1px solid var(--glass-d-border); border-radius: 12px; }

/* process */
.section--ink { background-image: var(--bed); background-size: 40px 40px; }
.steps { border-top: 0; gap: 12px; }
.steps li, .steps li + li { padding: 22px; border: 1px solid var(--glass-d-border); border-radius: 16px; background: var(--glass-d); box-shadow: var(--glass-d-shadow); }
.steps li:nth-child(3) { padding-left: 22px; border-left: 1px solid var(--glass-d-border); }

/* light glass surfaces */
.mat, .panel, .privacy, .form fieldset, .drop { background: var(--glass-l); border-color: var(--glass-l-border); box-shadow: var(--glass-l-shadow); border-radius: 16px; }
.panel--red { background: linear-gradient(180deg, rgba(255,240,240,.85), rgba(255,240,240,.6)); border-color: rgba(179,18,46,.35); }
.mat--unsure { background: transparent; box-shadow: none; border: 1px dashed var(--line); }
.section--alt { background: var(--paper-2); }
#order { background-image: linear-gradient(rgba(22,22,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22,22,26,.045) 1px, transparent 1px); background-size: 40px 40px; }
input[type="text"], input[type="url"], input[type="tel"], input[type="number"], select, textarea { border-radius: 10px; border-color: rgba(22,22,26,.28); background-color: rgba(255,255,255,.85); }
.seg label { border-radius: 999px; border-color: rgba(22,22,26,.25); background: rgba(255,255,255,.7); }
.preview__sticky { background: rgba(14,14,15,.9); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; box-shadow: var(--glass-d-shadow); }
.preview__text { border-radius: 10px; background: rgba(255,255,255,.04); }
.err-summary { border-radius: 12px; }

/* measurements */
.hint--lead { margin: -4px 0 14px; }
.dims { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0 8px; }
.dims__x { padding-top: 40px; color: var(--muted); font-family: var(--mono); }
.unit { position: relative; }
.unit input { padding-right: 46px; font-variant-numeric: tabular-nums; }
.unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: .8rem var(--mono); color: var(--muted); pointer-events: none; }
.measure-head { margin: 6px 0 8px; padding-top: 12px; border-top: 1px dashed rgba(22,22,26,.18); }
.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
.measure-tip { margin: 4px 0 16px; font-size: .92rem; }
.measure-tip summary { cursor: pointer; font-weight: 600; color: var(--red-ink); }
.measure-tip ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

/* requests */
.req-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.req-grid > * { min-width: 0; }
.req-notes { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.req-notes li { font: .85rem var(--mono); color: var(--muted-d); padding-left: 18px; position: relative; }
.req-notes li::before { content: "—"; position: absolute; left: 0; color: var(--red-on-dark); }
.form--glass { background: var(--glass-d); border: 1px solid var(--glass-d-border); box-shadow: var(--glass-d-shadow); border-radius: 18px; padding: clamp(18px, 3vw, 28px); }
.form--glass label, .form--glass .label { color: var(--paper); }
.form--glass .opt { color: var(--muted-d); }
.form--glass input, .form--glass textarea { background: rgba(255,255,255,.06); color: var(--paper); border-color: rgba(255,255,255,.2); }
.form--glass input::placeholder, .form--glass textarea::placeholder { color: #8a867e; }
.form--glass .unit span, .form--glass .dims__x { color: var(--muted-d); }
.form--glass .dims__x { padding-top: 12px; }
.form--glass .error { color: #ffb3bb; }
.form--glass [aria-invalid="true"] { background-color: rgba(255,92,108,.1) !important; border-color: var(--red-on-dark) !important; }
.form--glass .btn--ghost { color: var(--paper); }
.idea-out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--glass-d-border); }
.idea-out .small { color: var(--muted-d); }
.idea-state { margin: 10px 0 0; font-size: .9rem; color: #cfcac0; min-height: 1.2em; }

@media (max-width: 860px) { .req-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .measure-grid { grid-template-columns: 1fr 1fr; }
  .filters { display: flex; border-radius: 16px; }
  .dims { grid-template-columns: 1fr 1fr 1fr; gap: 0 8px; }
  .dims__x { display: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card__body, .filters, .site-head { background: rgba(28,28,31,.96); }
}
@media (prefers-reduced-transparency: reduce) {
  .card__body, .filters, .site-head, .stage__hud span, .icon-btn, .form--glass, .links-panel, .steps li { backdrop-filter: none; -webkit-backdrop-filter: none; background: #1c1c1f; }
}
body { background: var(--ink); }
main > .section { background-color: var(--paper); }
main > .section.section--alt { background-color: var(--paper-2); }
main > .section.section--dark, main > .section.section--ink { background-color: var(--ink); }
main > .section.section--dark2 { background-color: #121214; }
.measure-grid .field { display: flex; flex-direction: column; } .measure-grid .field > label { flex: 1; }
.foot-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; border-top: 1px solid var(--line-d); }
.foot-links a { color: #d9d4c9; font-size: .88rem; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
/* policy pages */
.policy { padding: clamp(40px, 7vw, 88px) 0; }
.policy .wrap { max-width: 820px; }
.policy h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: none; }
.policy h2 { font-size: 1.25rem; margin: 2em 0 .5em; max-width: none; letter-spacing: -0.015em; }
.policy p, .policy li { color: #33312d; }
.policy ul { padding-left: 20px; }
.policy li { margin-bottom: 6px; }
.policy .meta { font: .82rem var(--mono); color: var(--muted); margin-bottom: 28px; }
.policy .card-note { background: var(--glass-l); border: 1px solid var(--glass-l-border); box-shadow: var(--glass-l-shadow); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.policy dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; margin: 0; }
.policy dt { font-weight: 650; }
.policy dd { margin: 0; color: #33312d; }
@media (max-width: 560px) { .policy dl { grid-template-columns: 1fr; gap: 2px; } .policy dd { margin-bottom: 10px; } }
.nav--static { display: flex !important; position: static !important; flex-direction: row !important; background: none !important; border: 0 !important; padding: 0 !important; } .nav--static a { border: 0 !important; }
.policy { background: var(--paper); color: var(--text); }
