/* G&A PrintPros - gold / ink / cream theme */
:root {
  --ink: #1f1a14;
  --ink-2: #2d261d;
  --cream: #fbf6ec;
  --cream-2: #f4e9d2;
  --surface: #fffdf8;
  --text: #1f1a14;
  --muted: #6b6152;
  --line: #e4d8bf;
  --gold: #c8962e;
  --gold-light: #f1d27e;
  --gold-pale: #fbefcf;
  --gold-dark: #8a6114;
  --gold-grad: linear-gradient(135deg, #8a6114 0%, #d9a93e 28%, #fff0bf 50%, #d4a23a 72%, #7d5610 100%);
  --brand: var(--gold-dark);
  --ok: #2b7a3e;
  --ok-soft: #e4f2e6;
  --warn: #9a5800;
  --warn-soft: #fff1d6;
  --err: #b42318;
  --err-soft: #fdecea;
  --radius: 14px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { font: 16px/1.55 var(--font-body); color: var(--text); background: var(--cream); }
a { color: var(--gold-dark); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 1rem; }
p { margin: 0 0 .75em; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; text-transform: none; }
.gold-text { background: linear-gradient(135deg, #7d5610 0%, #b8862a 45%, #d9a93e 60%, #8a6114 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.tag { display: inline-block; background: var(--ink); color: var(--gold-light); font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; }

/* announcement bar */
.announce { background: var(--ink); color: var(--gold-light); overflow: hidden; white-space: nowrap; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--gold); }
.announce-track { display: inline-flex; animation: marquee 40s linear infinite; padding: 7px 0; }
.announce-track span { padding: 0 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } html { scroll-behavior: auto; } }

/* header */
.site-header { background: var(--surface); border-bottom: 2px solid var(--ink); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.brand-name b { color: var(--gold-dark); }
.brand-tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a:not(.btn) { white-space: nowrap; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 8px; width: 42px; height: 38px; padding: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); }
main { padding: 32px 0 64px; }
main.home { padding: 0; }

/* footer */
.site-footer { background: var(--ink); color: #d9cfbd; border-top: 6px solid var(--gold); }
.site-footer a { color: #f3ead8; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer h4 { color: var(--gold-light); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 10px; }
.footer-brand p { max-width: 26em; font-size: .92rem; }
.site-footer .btn { display: inline-flex; color: var(--ink); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 20px; font-size: .85rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; border-top: 1px solid #3d3428; }
.footer-thanks { font-family: var(--font-display); color: var(--gold-light); letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; font-weight: 700; }

/* buttons + forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 10px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink);
  cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: var(--shadow-sm);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }
.btn.active { background: var(--ink); color: var(--gold-light); }
.btn-primary { background: var(--gold-grad); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--gold-light); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-danger { color: var(--err); }
.btn-sm { padding: 6px 11px; font-size: .72rem; box-shadow: 2px 2px 0 var(--ink); }
.btn-sm:hover { box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { padding: 14px 24px; font-size: .95rem; }
.btn-block { width: 100%; }
.icon-btn { border: 0; background: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.icon-btn:hover { background: var(--cream-2); color: var(--err); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number], input[type=date], select, textarea {
  font: inherit; width: 100%; padding: 9px 11px; border: 2px solid #cdbf9f; border-radius: 9px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold-dark); }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, .ed-stage:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
textarea { resize: vertical; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.field > small.hint { display: block; margin-top: 4px; }
.field input[type=date] { max-width: 220px; }
.field input[type=color] { width: 44px; height: 36px; padding: 2px; border: 2px solid #cdbf9f; border-radius: 8px; background: #fff; }
.field input[type=range] { width: 100%; accent-color: var(--gold-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-grid .full { grid-column: 1 / -1; }

.card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hint { color: var(--muted); font-size: .85rem; }
.empty { color: var(--muted); font-style: italic; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.msg { padding: 9px 12px; border-radius: 9px; background: var(--cream-2); font-size: .9rem; }
.msg.error { background: var(--err-soft); color: var(--err); }
.msg.warn { background: var(--warn-soft); color: var(--warn); }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); vertical-align: -2px; margin-right: 6px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hidden { display: none !important; }

/* ---------- home ---------- */
.band { padding: 72px 0; border-bottom: 2px solid var(--ink); }
.band-head { text-align: center; margin-bottom: 36px; }
.band-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }
.band-head p { color: var(--muted); max-width: 36em; margin: 10px auto 0; }
.band-head.left { text-align: left; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.band-head.left p { margin: 0; max-width: 24em; }
.dots { background-color: var(--cream); background-image: radial-gradient(rgba(138, 97, 20, .14) 1.2px, transparent 1.3px); background-size: 16px 16px; }
.band-ink { background: var(--ink); color: #f3ead8; background-image: radial-gradient(rgba(241, 210, 126, .12) 1.2px, transparent 1.3px); background-size: 16px 16px; }
.band-ink .band-head h2 { color: var(--gold-light); }
.band-ink .band-head p { color: #cfc3ad; }
.band-ink .eyebrow { color: var(--gold-light); }
.band-sand { background: var(--cream-2); }

.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--gold-pale); }
.hero::before {
  content: ''; position: absolute; inset: -60%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(200, 150, 46, .22) 0deg 9deg, transparent 9deg 18deg);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-art { position: relative; }
.hero-frame { background: var(--surface); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); padding: 18px; transform: rotate(-2deg); }
.hero-frame svg { width: 100%; height: auto; display: block; }
.hero-seal { position: absolute; right: -18px; top: -26px; width: 132px; height: 132px; transform: rotate(10deg); filter: drop-shadow(3px 4px 0 rgba(31, 26, 20, .9)); }
.hero-sticker { position: absolute; left: -14px; bottom: 26px; background: var(--ink); color: var(--gold-light); font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; padding: 8px 14px; border-radius: 8px; transform: rotate(-6deg); box-shadow: 3px 3px 0 var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.02; text-transform: uppercase; margin: 16px 0 18px; }
.hero h1 .script { display: block; font-size: 1.25em; line-height: 1; text-transform: none; color: var(--gold-dark); margin-top: 6px; }
.hero-copy { background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 14px 18px; font-size: 1.05rem; max-width: 30em; }
.hero-panel { margin-top: 22px; background: var(--ink); border-radius: 14px; padding: 16px; box-shadow: 6px 6px 0 var(--gold-dark); max-width: 30em; }
.hero-panel .label { display: block; color: var(--gold-light); font-family: var(--font-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.hero-panel .btn { width: 100%; justify-content: flex-start; margin-bottom: 10px; box-shadow: none; border-color: var(--gold); }
.hero-panel .btn:last-child { margin-bottom: 0; background: transparent; color: var(--gold-light); }
.hero-panel .btn:hover { transform: none; filter: brightness(1.06); }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cat-card { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: start; background: var(--surface); color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: 8px 8px 0 var(--gold); transition: transform .1s; }
.cat-card .art { background: var(--cream-2); border-radius: 10px; border: 2px solid var(--ink); }
.cat-card .art svg { display: block; width: 100%; height: auto; }
.cat-card .art.photo { aspect-ratio: 1 / 1; overflow: hidden; }
.cat-card .art.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-card h3 { margin-top: 8px; }
.cat-card .badge-tag.alt { display: inline-block; transform: none; }
.offers { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; font-size: .92rem; }
.offers li { padding-left: 20px; position: relative; }
.offers li::before { content: '\2605'; position: absolute; left: 0; color: var(--gold); font-size: .8rem; top: 2px; }
.group-title { font-size: 1.5rem; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 22px; scroll-margin-top: 16px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.cat-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.cat-card p { color: var(--muted); margin: 0 0 10px; }
.cat-card .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--gold-pale); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product { --tone: var(--gold-light); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--tone); border: 2px solid var(--ink); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); transition: transform .1s, box-shadow .1s; }
.product:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.product .badges { display: flex; justify-content: space-between; min-height: 26px; margin-bottom: 8px; }
.badge-tag { background: var(--ink); color: var(--gold-light); font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.badge-tag.alt { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); transform: rotate(3deg); }
.product .art { background: var(--surface); border: 2px solid var(--ink); border-radius: 10px; padding: 10px; }
.product .art svg { width: 100%; height: auto; display: block; }
.product .info { background: var(--surface); border: 2px solid var(--ink); border-radius: 10px; padding: 12px 14px; margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: end; }
.product .info h3 { grid-column: 1 / -1; margin: 0 0 2px; text-transform: uppercase; font-size: 1.05rem; }
.product .price { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.product .sub { font-size: .8rem; color: var(--muted); }
.product .go { grid-row: 2 / 4; grid-column: 2; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 10px 10px 0 rgba(31, 26, 20, .25); background: var(--ink); gap: 3px; }
.step { position: relative; padding: 22px 18px 24px; min-height: 280px; display: flex; flex-direction: column; }
.step:nth-child(1) { background: var(--gold-light); background-image: repeating-conic-gradient(from 0deg at 50% 60%, rgba(255,255,255,.28) 0deg 10deg, transparent 10deg 20deg); }
.step:nth-child(2) { background: var(--cream-2); }
.step:nth-child(3) { background: #e8c98a; }
.step:nth-child(4) { background: var(--gold-pale); }
.step .tag { align-self: flex-start; box-shadow: 3px 3px 0 var(--gold); }
.step .icon { font-size: 2.6rem; margin: 22px 0 auto; text-align: center; }
.step .bubble { position: relative; background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; font-size: .92rem; text-align: center; margin-top: 18px; }
.step .bubble::before { content: ''; position: absolute; top: -10px; left: 50%; margin-left: -9px; width: 16px; height: 16px; background: var(--surface); border-left: 2px solid var(--ink); border-top: 2px solid var(--ink); transform: rotate(45deg); }
.step h3 { font-size: 1rem; margin: 0 0 4px; }

.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.board { background: var(--ink); color: #f3ead8; border-radius: 16px; padding: 22px 24px; box-shadow: 8px 8px 0 var(--gold); border: 2px solid var(--ink); }
.board h3 { color: var(--gold-light); text-align: center; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; }
.board table { width: 100%; border-collapse: collapse; font-family: var(--font-display); }
.board th { font-size: .66rem; letter-spacing: .16em; color: #b7aa92; text-align: left; padding: 6px 0; font-weight: 700; }
.board td { padding: 9px 0; border-top: 1px dashed #4a3f30; font-weight: 700; letter-spacing: .06em; }
.board td:first-child { color: var(--gold-light); }
.board td:last-child, .board th:last-child { text-align: right; }
.board .foot { font-size: .72rem; color: #b7aa92; text-align: right; margin: 10px 0 0; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-display); }
.price-notes { display: grid; gap: 16px; }
.price-notes .card { margin: 0; padding: 18px 20px; }
.price-notes h3 { margin-bottom: 4px; }
.price-notes p { margin: 0; color: var(--muted); }

.faq-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; }
.faq-seal { width: 220px; height: 220px; filter: drop-shadow(5px 6px 0 rgba(31, 26, 20, .85)); }
.speech { position: relative; background: var(--surface); border: 3px solid var(--ink); border-radius: 20px; padding: 28px 30px; box-shadow: 10px 10px 0 var(--ink); }
.speech::before { content: ''; position: absolute; left: -17px; top: 50%; margin-top: -14px; width: 28px; height: 28px; background: var(--surface); border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.speech h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
details { border-top: 2px dashed var(--line); padding: 12px 0; }
details:last-of-type { border-bottom: 2px dashed var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--font-display); font-weight: 800; color: var(--gold-dark); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: '\2212'; }
details p { margin: 8px 0 0; color: var(--muted); }
.cta-band { background: var(--gold-light); background-image: radial-gradient(rgba(31, 26, 20, .1) 1.2px, transparent 1.3px); background-size: 16px 16px; }

/* ---------- designer ---------- */
.page-title { margin-bottom: 20px; }
.page-title h1 { margin: 4px 0 0; text-transform: uppercase; }
.designer { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); gap: 28px; align-items: start; }
.panel h2 { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 1.15rem; }
.panel h2 .n { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--gold-light); font-size: .85rem; border: 2px solid var(--gold); }
.sticky { position: sticky; top: 14px; }
.product-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.product-picker a { padding: 6px 13px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-size: .85rem; font-weight: 700; background: var(--surface); }
.product-picker a:hover { background: var(--gold-pale); }
.product-picker a.active { background: var(--ink); color: var(--gold-light); }

/* quote form */
.cat-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.cat-tab { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 10px 6px; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); cursor: pointer; color: var(--ink); line-height: 1.2; }
.cat-tab:hover { background: var(--gold-pale); }
.cat-tab.active { background: var(--ink); color: var(--gold-light); box-shadow: 3px 3px 0 var(--gold); }
.label-text { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
fieldset.choice-group { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
fieldset.choice-group legend { font-size: .85rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.choice { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border: 2px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-size: .9rem; line-height: 1.3; }
.choice:hover { border-color: #cdbf9f; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--gold-pale); }
.choice input { margin: 2px 0 0; accent-color: var(--gold-dark); flex: none; }
.choice.tall span { display: flex; flex-direction: column; gap: 2px; }
.choice.tall small { color: var(--muted); font-size: .78rem; }
.choice-hints .hint { margin: 6px 0 0; }
.files { display: grid; gap: 6px; margin-bottom: 8px; }
.file { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 9px; padding: 5px 6px; background: #fff; }
.file .thumb { width: 48px; height: 48px; border-radius: 6px; background: var(--cream-2); display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.file .thumb img { width: 100%; height: 100%; object-fit: contain; }
.file .pdf { font-family: var(--font-display); font-weight: 800; font-size: .7rem; color: var(--err); }
.file .fname { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.details dt { font-weight: 700; font-size: .85rem; color: var(--muted); }
dl.details dd { margin: 0; }
.next-steps { padding-left: 20px; margin: 14px 0; }
.next-steps li { margin-bottom: 6px; }

/* vendor: products page */
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 24px; margin: 0; cursor: pointer; }
.switch .track { width: 44px; height: 24px; border-radius: 999px; background: #cfc4ad; border: 2px solid var(--ink); position: relative; transition: background .15s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); transition: transform .15s; }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch-label { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--gold-dark); text-decoration: underline; }
.mini-art { display: block; width: 52px; height: 52px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--cream-2); overflow: hidden; }
.mini-art svg, .mini-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mini-art.big { width: 160px; height: 160px; border-width: 2px; border-color: var(--ink); margin-bottom: 8px; }
.catalog-table td { vertical-align: middle; }
.catalog-table tbody tr { cursor: default; }
.catalog-table tr.is-hidden td:not(:nth-child(5)) { opacity: .55; }
.catalog-table .actions { white-space: nowrap; text-align: right; }
.catalog-table .actions .btn { margin-left: 4px; }
.editor-dialog { width: min(860px, calc(100% - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 10px 10px 0 var(--ink); background: var(--surface); color: var(--text); }
.editor-dialog::backdrop { background: rgba(31, 26, 20, .55); }
.editor-dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 38px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 2px solid var(--ink); }
.dialog-body { overflow-y: auto; padding: 8px 20px 16px; }
.dialog-foot { border-top: 2px solid var(--ink); padding: 14px 20px; display: grid; gap: 10px; background: var(--cream); border-radius: 0 0 14px 14px; }
.edit-section { border: 0; border-top: 2px dashed var(--line); margin: 14px 0 0; padding: 14px 0 0; min-width: 0; }
.edit-section:first-child { border-top: 0; }
.edit-section legend { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; padding: 0 8px 0 0; }
.basics { display: grid; grid-template-columns: 170px 1fr; gap: 18px; }
.chips-edit { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-toggle { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .82rem; cursor: pointer; background: #fff; }
.chip-toggle:has(input:checked) { border-color: var(--err); background: var(--err-soft); color: var(--err); }
.size-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0 10px; margin-bottom: 8px; }
.color-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.color-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 9px; padding: 6px 8px; background: #fff; font-size: .88rem; }
.color-row.on { border-color: var(--ink); background: var(--gold-pale); }
.color-row label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.color-row .dot { margin: 0; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
.cat-edit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.cat-edit-grid .card + .card { margin-top: 0; }
.cat-photo { width: 100%; max-height: 180px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); margin-bottom: 8px; display: block; }
.tier-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.tier-row input[type=number] { width: 90px; }
.tier-row input[type=text] { width: 110px; }
.color-edit .tier-row input[type=text] { width: 200px; }
.tier-row input[type=color] { width: 40px; height: 34px; padding: 2px; border: 2px solid #cdbf9f; border-radius: 8px; }

/* vendor: reports */
.report-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 6px; }
.report-filters .date-range input { width: 160px; }
.section-title { font-size: 1.1rem; text-transform: uppercase; margin: 30px 0 12px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 16px 0 22px; }
.stats.small { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 0; }
.stat { background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-sm); border-left-width: 8px; border-left-color: var(--gold); }
.stat.good { border-left-color: var(--ok); }
.stat.bad { border-left-color: var(--err); }
.stat-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1.15; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.stats.small .stat-value { font-size: 1.4rem; }
.stat-sub { font-size: .82rem; color: var(--muted); }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; align-items: start; }
.report-grid .card + .card { margin-top: 0; }
.report-grid + .card, .card + .report-grid { margin-top: 20px; }
.report-table td, .report-table th { padding: 8px 6px; font-size: .9rem; }
.report-table tbody tr { cursor: default; }
.chart { width: 100%; margin: 4px 0 12px; position: relative; }
.chart svg { display: block; overflow: visible; }
.chart .bar { fill: #8a6114; }
.chart .axis { stroke: #9c917c; stroke-width: 1; }
.chart .grid { stroke: #e9e1cf; stroke-width: 1; }
.chart .lbl { font: 700 13px var(--font-body); fill: var(--text); }
.chart .val { font: 700 12px var(--font-body); fill: var(--text); }
.chart .tick { font: 400 11px var(--font-body); fill: var(--muted); }
.chart .hit { fill: transparent; cursor: default; outline: none; }
.chart .hit:hover, .chart .hit:focus { fill: rgba(138, 97, 20, .07); }
.chart .hit:focus-visible { stroke: var(--gold); stroke-width: 2; }
.chart-tip { position: fixed; z-index: 60; pointer-events: none; background: var(--surface); color: var(--text); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow-sm); font-size: .85rem; opacity: 0; transition: opacity .1s; min-width: 150px; }
.chart-tip.on { opacity: 1; }
.chart-tip .tip-title { font-weight: 800; margin-bottom: 4px; }
.chart-tip .tip-row span { color: var(--muted); }
.status-tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; vertical-align: 1px; }
.status-tag.critical { color: var(--err); background: var(--err-soft); }
.status-tag.warning { color: var(--warn); background: var(--warn-soft); }
dl.details dd.loss { color: var(--err); font-weight: 800; }

.sold-out { color: var(--err); font-weight: 700; }
.qty input:disabled { background: var(--cream-2); border-style: dashed; cursor: not-allowed; }
.product.sold-out { filter: grayscale(.6); }
.product.sold-out .badge-tag:first-child { background: var(--err); color: #fff; }
.product .art.photo { padding: 0; overflow: hidden; aspect-ratio: 1 / 1; }
.product .art.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-picker a.sold-out { opacity: .6; text-decoration: line-through; }
.product-picker a.sold-out.active { text-decoration: none; }

.paid-report input { flex: 1 1 220px; max-width: 320px; background: #fff; }
details.pay-help { border: 1.5px dashed #cdbf9f; border-radius: 10px; padding: 8px 12px; margin: -4px 0 14px; background: #fff; }
details.pay-help:last-of-type { border-bottom: 1.5px dashed #cdbf9f; }
details.pay-help summary::after { content: none; }
details.pay-help summary { font-size: .88rem; color: var(--gold-dark); }
details.pay-help ol { padding-left: 20px; margin: 8px 0; font-size: .9rem; }
details.pay-help li { margin-bottom: 6px; }
details.pay-help li .btn { margin-left: 4px; vertical-align: 1px; }

.square-auto { border: 2px solid var(--ink); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; background: var(--gold-pale); }
.square-auto .choice { border: 0; background: none; padding: 0; }

/* ---------- editor ---------- */
.ed-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ed-tabs { display: inline-flex; background: var(--cream-2); border: 2px solid var(--ink); border-radius: 10px; padding: 3px; }
.ed-tab { border: 0; background: none; padding: 6px 14px; border-radius: 7px; font: inherit; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.ed-tab.active { background: var(--ink); color: var(--gold-light); }
.ed-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); cursor: pointer; padding: 0; }
.swatch.active { outline: 3px solid var(--gold); outline-offset: 2px; }
.ed-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ed-editable .ed-main { grid-template-columns: minmax(0, 1fr) 230px; }
.ed-stage { position: relative; aspect-ratio: 1 / 1; background: var(--cream-2); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; user-select: none; touch-action: none; }
.ed-mock, .ed-mock svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-area { position: absolute; }
.ed-editable .ed-area { outline: 1.5px dashed rgba(138, 97, 20, .75); outline-offset: 0; }
.ed-editable .ed-area.warn { outline-color: var(--err); }
.ed:not(.ed-editable) .ed-area { overflow: hidden; }
.ed-layer { position: absolute; transform-origin: center center; cursor: move; line-height: 1; }
.ed:not(.ed-editable) .ed-layer { cursor: default; }
.ed-layer img { display: block; width: 100%; height: auto; pointer-events: none; }
.ed-text { white-space: pre; text-align: center; pointer-events: none; }
.ed-layer.selected { outline: 1.5px solid #1971c2; outline-offset: 2px; }
.h { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid #1971c2; border-radius: 50%; }
.h-resize { right: -9px; bottom: -9px; cursor: nwse-resize; }
.h-rotate { left: 50%; top: -28px; margin-left: -7px; cursor: grab; }
.h-rotate::after { content: ''; position: absolute; left: 4px; top: 12px; width: 2px; height: 14px; background: #1971c2; }
.ed-guide { position: absolute; background: #e03131; display: none; pointer-events: none; }
.ed-guide.on { display: block; }
.ed-guide-v { left: 50%; top: -10%; bottom: -10%; width: 1px; }
.ed-guide-h { top: 50%; left: -10%; right: -10%; height: 1px; }
.ed-tools { font-size: .9rem; }
.ed-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.ed-row .field { margin: 0; }
.ed-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.layer-btn { width: 100%; text-align: left; border: 2px solid var(--line); background: var(--surface); padding: 6px 10px; border-radius: 8px; font: inherit; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layer-btn.active { border-color: var(--ink); background: var(--gold-pale); }
.ed-props { border-top: 2px dashed var(--line); margin-top: 12px; padding-top: 4px; }
.ed-undo { margin-top: 12px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
.qty th, .qty td { padding: 6px 2px; border-bottom: 1px solid var(--line); text-align: center; }
.qty thead th { font-size: .78rem; color: var(--muted); font-weight: 700; }
.qty thead th small { display: block; font-weight: 400; font-size: .68rem; }
.qty .color-cell { text-align: left; white-space: nowrap; font-weight: 700; padding-right: 6px; }
.qty input { width: 38px; padding: 6px 1px; text-align: center; -moz-appearance: textfield; border-width: 1.5px; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty .totals th, .qty .totals td { font-weight: 800; border-bottom: 0; }
.add-color { margin-top: 12px; max-width: 220px; }
.quote td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.quote tfoot td { border-bottom: 0; padding: 4px 0; color: var(--muted); }
.quote .discount td { color: var(--ok); }
.quote .grand td { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--ink); padding-top: 10px; border-top: 2px solid var(--ink); }
.data th, .data td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.data th { font-family: var(--font-display); font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.data tbody tr { cursor: pointer; }
.data tbody tr:hover { background: var(--gold-pale); }

/* ---------- order status ---------- */
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: var(--cream-2); color: var(--muted); white-space: nowrap; border: 1.5px solid currentColor; }
.badge-submitted, .badge-changes_requested { background: #fff3c4; color: #7a5600; }
.badge-proof_sent { background: #e5effa; color: #1c5a99; }
.badge-approved { background: #f1e6fa; color: #6b2a99; }
.badge-paid, .badge-in_production { background: var(--ok-soft); color: var(--ok); }
.badge-completed { background: #ebe7df; color: #3b352c; }
.badge-canceled { background: var(--err-soft); color: var(--err); }
.progress { display: flex; gap: 5px; margin: 16px 0 6px; }
.progress div { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.progress div.done { background: var(--gold-grad); border: 1px solid var(--gold-dark); }
.progress-labels { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); font-weight: 700; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ''; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-grad); border: 2px solid var(--ink); }
.timeline .when { font-size: .8rem; color: var(--muted); }
.timeline blockquote { margin: 6px 0 0; padding: 8px 12px; background: var(--cream-2); border-radius: 8px; white-space: pre-wrap; }
.price-big { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; }
.callout { border: 2px solid var(--ink); border-left: 8px solid var(--gold); background: var(--gold-pale); padding: 16px 18px; border-radius: 12px; }
.callout.ok { border-left-color: var(--ok); background: var(--ok-soft); }
.vendor-note { white-space: pre-wrap; background: var(--surface); border: 1.5px solid var(--line); padding: 12px; border-radius: 9px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 2px solid var(--ink); background: var(--surface); padding: 6px 12px; border-radius: 999px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.filters button.active { background: var(--ink); color: var(--gold-light); }
.filters .count { opacity: .7; margin-left: 4px; }
.copy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.copy-row input { flex: 1 1 260px; font-size: .85rem; }
.login-seal { display: block; width: 120px; height: 120px; margin: 0 auto 10px; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--gold-light); padding: 11px 18px; border-radius: 10px; border: 2px solid var(--gold); transition: all .25s; z-index: 50; max-width: calc(100% - 32px); font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--err); color: #fff; border-color: var(--ink); }

@media (max-width: 1140px) {
  .nav-toggle { display: flex; }
  .site-header .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 2px solid var(--ink); padding: 8px 16px 16px; }
  .site-header .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header .nav .btn { margin-top: 12px; }
  .nav-open .site-header .nav { display: flex; }
  body[data-area="admin"] .site-header .nav { display: flex; position: static; flex-direction: row; border: 0; padding: 0; gap: 12px; background: none; }
  body[data-area="admin"] .site-header .nav a:not(.btn) { border: 0; padding: 0; }
}
@media (max-width: 1000px) {
  .designer, .hero .wrap, .pricing, .report-grid { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.three { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .hero-art { max-width: 520px; margin: 10px auto 0; width: 100%; }
}
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-seal { width: 140px; height: 140px; margin: 0 auto; }
  .speech::before { left: 50%; top: -17px; margin: 0 0 0 -14px; transform: rotate(135deg); }
}
@media (max-width: 640px) {
  .ed-editable .ed-main { grid-template-columns: minmax(0, 1fr); }
  .steps, .steps.three, .form-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-tabs { grid-template-columns: repeat(2, 1fr); }
  .basics, .choices.three { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-edit-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-table thead { display: none; }
  .catalog-table, .catalog-table tbody { display: block; }
  .catalog-table tr { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
  .catalog-table td { border: 0; padding: 0; }
  .catalog-table td:nth-child(1) { grid-row: span 2; align-self: start; }
  .catalog-table td:nth-child(4) { display: none; }
  .catalog-table td:nth-child(5), .catalog-table td:nth-child(6) { grid-column: 2 / span 2; }
  .catalog-table td:nth-child(5) { grid-row: 2; }
  .catalog-table td:nth-child(6) { grid-row: 3; }
  .catalog-table td.actions { grid-column: 1 / -1; text-align: left; }
  .catalog-table .actions .btn:first-child { margin-left: 0; }
  body[data-area="admin"] .site-header .nav { gap: 10px; font-size: .8rem; }
  body[data-area="admin"] .site-header .nav a:not(.btn) { font-size: .72rem; letter-spacing: .04em; }
  .cat-card { grid-template-columns: 1fr; }
  .cat-card .art { width: 120px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product { padding: 6px; box-shadow: 4px 4px 0 var(--ink); border-radius: 12px; }
  .product .badges { min-height: 0; margin-bottom: 6px; }
  .product .badge-tag { font-size: .55rem; padding: 3px 6px; }
  .product .badge-tag.alt { display: none; }
  .product .info { grid-template-columns: 1fr; padding: 8px; margin-top: 6px; }
  .product .info h3 { font-size: .8rem; }
  .product .go, .product .sub { display: none; }
  .product .price { font-size: .72rem; }
  .band { padding: 52px 0; }
  .hero .wrap { padding-top: 36px; }
  .hero-seal { width: 96px; height: 96px; right: -6px; top: -20px; }
  .brand-tag { display: none; }
  .brand img { width: 44px; height: 44px; }
  .card { padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .step { min-height: 0; }
  body[data-area="admin"] .brand-text { display: none; }
}
