/* PettyBanners site styles. Brand tokens live in :root. */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/archivo-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/archivo-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/archivo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/archivo-latin-800-normal.woff2) format("woff2"); }
:root {
  --yellow: #FFDA24; --black: #111111; --white: #FFFFFF; --red: #E51C23; --pink: #FF087B;
  --ink-2: #333333;          /* secondary text (12.6:1 on white, 10:1 on yellow) */
  --wall: #F2F2F2;           /* light gray wall the banners hang on */
  --line: #E4E4E4;
  --display: "Anton", "Oswald", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --s1: 4px; --s2: 12px; --s3: 24px; --s4: 48px; --s5: 96px;
  --touch: 44px;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--black) var(--wall); }
body { margin: 0; font: 16px/1.55 var(--body); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; caret-color: var(--black); }
::selection { background: var(--yellow); color: var(--black); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 7px var(--yellow); border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: .005em; text-wrap: balance; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: var(--s2); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 var(--s2); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.center { text-align: center; }
.error { color: var(--black); background: var(--yellow); font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--yellow); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--black);
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform 280ms var(--ease-spring), background-color 160ms, color 160ms; }
.btn:active { transform: scale(.95); transition-duration: 0ms; }
.btn-dark { background: var(--black); color: var(--yellow); }
.btn-dark:hover { background: #2a2a2a; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: rgba(17,17,17,.08); }
.btn-yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-yellow:hover { background: #ffe55c; }
.btn-sm { min-height: var(--touch); padding: 0 18px; font-size: .9rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-link { background: none; border: 0; padding: 10px 0; min-height: var(--touch); font: 600 .95rem var(--body); text-decoration: underline; cursor: pointer; color: var(--black); }
.btn-link[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- top ---------- */
.announce { background: var(--black); color: var(--white); text-align: center; font-size: .875rem; padding: 9px 16px; }
.announce a { text-decoration: none; }
.announce strong { color: var(--yellow); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.86); backdrop-filter: blur(10px) saturate(1.4); } }
.header-row { display: flex; align-items: center; gap: var(--s3); min-height: 68px; }
.wordmark { display: inline-block; font-family: var(--display); font-size: 1.7rem; text-decoration: none; text-transform: uppercase; letter-spacing: .01em; line-height: 1;
  white-space: nowrap; background: var(--yellow); color: var(--black); padding: 9px 12px 7px; border-radius: 8px; }
.wordmark span { color: var(--black); }
.wordmark sup { font-family: var(--body); font-size: .7rem; font-weight: 700; margin-left: 2px; vertical-align: top; position: relative; top: 2px; }

.main-nav { display: flex; gap: var(--s3); margin-left: auto; }
.main-nav a { font-weight: 600; font-size: .95rem; text-decoration: none; padding: 10px 0; }
.main-nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; gap: 0 var(--s2); padding-top: 10px; }
  .header-row > .btn { margin-left: auto; }
  .main-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .main-nav a { white-space: nowrap; }
}

/* ---------- hero ---------- */
.hero { background: var(--yellow); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s4); align-items: center; padding: 72px 0 88px; }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 6rem); line-height: .92; margin-bottom: var(--s3); }
.hero .lede { font-size: 1.2rem; max-width: 34ch; color: var(--black); }
.hero-copy > p:first-child { font-weight: 700; font-size: 1rem; margin-bottom: var(--s2); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0; }
.fineprint { font-size: .85rem; color: var(--ink-2); max-width: 48ch; }
.fineprint span { display: block; margin-top: 2px; }
.hero-art { position: relative; }
.hero-banner-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.hero-banner { transform-origin: 50% 0; animation: hang 1100ms var(--ease-out) both; transition: box-shadow 320ms var(--ease-out); }
.hero-banner-btn:hover .hero-banner { box-shadow: 0 2px 4px rgba(17,17,17,.2), 0 30px 50px -18px rgba(17,17,17,.5); }
.hero-caption { font-size: .8rem; color: var(--ink-2); text-align: center; margin-top: var(--s2); }
@keyframes hang { from { transform: translateY(-28px) rotate(-3.5deg); opacity: 0; } 55% { opacity: 1; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 40px 0 56px; gap: var(--s3); }
  .hero-art { order: -1; }
}

/* ---------- banner frame (art on a wall) ---------- */
.banner-frame { border-radius: 6px; overflow: hidden; background: var(--white);
  box-shadow: 0 1px 2px rgba(17,17,17,.18), 0 18px 36px -14px rgba(17,17,17,.35); aspect-ratio: 2 / 1; }
.banner-frame svg { width: 100%; height: 100%; }
.banner-frame.loading { background: linear-gradient(90deg, #eee 25%, #f6f6f6 50%, #eee 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- trust ---------- */
.trust { background: var(--black); color: var(--white); }
.trust-list { list-style: none; margin: 0 auto; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px var(--s3); font-weight: 600; font-size: .95rem; }
.trust-list li { display: flex; align-items: center; gap: 10px; }
.trust-list li::before { content: ""; width: 10px; height: 10px; background: var(--yellow); transform: rotate(45deg); flex: none; }

/* ---------- sections ---------- */
.section { padding: var(--s5) 0 calc(var(--s5) - 24px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.section-head p { margin: 0; }

/* switch */
.switch { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--touch); cursor: pointer; font-weight: 600; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { width: 46px; height: 28px; border-radius: 999px; background: #c8c8c8; position: relative; transition: background-color 200ms var(--ease-out); flex: none; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform 220ms var(--ease-spring); }
.switch input:checked + .switch-track { background: var(--black); }
.switch input:checked + .switch-track .switch-knob { background: var(--yellow); }
.switch input:checked + .switch-track .switch-knob { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--black); outline-offset: 3px; }

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: var(--s2); scrollbar-width: thin; }
.chip { flex: none; min-height: var(--touch); padding: 0 18px; border-radius: 999px; border: 2px solid var(--black); background: var(--white); font: 600 .92rem var(--body); cursor: pointer; transition: background-color 160ms, transform 280ms var(--ease-spring); }
.chip:active { transform: scale(.95); transition-duration: 0ms; }
.chip[aria-pressed="true"] { background: var(--black); color: var(--yellow); }

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s4) var(--s3); }
.product { display: grid; grid-template-rows: auto 1fr auto; gap: var(--s2); }
.product-art { display: block; width: 100%; padding: 28px 22px; border: 0; border-radius: var(--r); background: var(--wall); cursor: pointer; transition: background-color 200ms; }
.product-art .banner-frame { transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.product-art:hover { background: #E8E8E8; }
.product-art:hover .banner-frame { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 2px 4px rgba(17,17,17,.18), 0 26px 40px -16px rgba(17,17,17,.45); }
.product-info { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); }
.product-info h3 { font-size: 1.35rem; line-height: 1.05; }
.product-info .sku { font-size: .8rem; color: var(--ink-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.product-price { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-price small { display: block; font-weight: 500; color: var(--ink-2); font-size: .8rem; }
.product-actions { display: flex; gap: var(--s2); }
.product-actions .btn { flex: 1; min-height: var(--touch); font-size: .92rem; padding: 0 14px; }
.empty { padding: var(--s4); text-align: center; background: var(--wall); border-radius: var(--r); }

/* how it works: connected steps */
.how { background: var(--wall); }
.steps { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc((100% - 48px) / 3 - 29px); height: 3px;
  background: var(--black); }
.steps li { position: relative; }
.step-n { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--black); font: 400 1.6rem var(--display); margin-bottom: var(--s2); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); max-width: 32ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 4px; height: auto; background: var(--black); }
  .steps li { padding-left: 80px; min-height: 58px; }
  .step-n { position: absolute; left: 0; top: 0; }
}

/* custom cta */
.custom-cta { background: var(--black); color: var(--white); }
.custom-cta h2 { color: var(--yellow); }
.custom-cta .lede { color: var(--white); max-width: 42ch; font-size: 1.1rem; margin-bottom: var(--s3); }
.custom-cta .lede + .btn { margin-top: 0; }
.custom-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s4); align-items: center; }
.custom-previews { display: grid; gap: var(--s3); }
.custom-previews .banner-frame:nth-child(1) { transform: rotate(-1.5deg); }
.custom-previews .banner-frame:nth-child(2) { transform: rotate(1.2deg) translateX(8%); width: 92%; }
@media (max-width: 860px) { .custom-grid { grid-template-columns: 1fr; } }

/* size guide */
.size-figure { background: var(--wall); border-radius: var(--r); padding: var(--s3); margin: var(--s3) 0; overflow-x: auto; }
.size-figure svg { min-width: 640px; width: 100%; height: auto; }
.table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: var(--s2); }
.size-table th, .size-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.size-table td:first-child { font-weight: 700; }

/* shipping */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s4); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: var(--s2); }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow);
  -webkit-mask: none; box-shadow: inset 0 0 0 2px var(--black); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(-45deg); }
.estimate-card { background: var(--yellow); border-radius: var(--r); padding: var(--s3); }
.label { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s2); }
.estimate { display: grid; grid-template-columns: auto 1fr; gap: 10px var(--s3); margin: 0 0 var(--s2); font-variant-numeric: tabular-nums; }
.estimate dt { color: var(--ink-2); font-weight: 600; }
.estimate dd { margin: 0; font-weight: 700; }
.estimate.compact { background: var(--wall); border-radius: 10px; padding: var(--s2) 16px; font-size: .92rem; gap: 6px var(--s3); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.1rem; position: relative; min-height: var(--touch); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--black); border-bottom: 3px solid var(--black); transform: translateY(-75%) rotate(45deg); transition: transform 250ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--ink-2); max-width: 65ch; padding-bottom: 20px; margin: 0; }

/* footer */
.site-footer { background: var(--black); color: var(--white); padding: var(--s4) 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: var(--s3); }
.site-footer .wordmark { display: inline-block; margin-bottom: var(--s2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- order sheet ---------- */
.sheet { width: min(1120px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--white); color: var(--black);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); }
.sheet::backdrop { background: rgba(17,17,17,.72); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheetIn 320ms var(--ease-out); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.985); } }
.sheet-inner { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 0; max-height: calc(100dvh - 32px); }
.sheet-preview { background: var(--wall); padding: 56px 32px 32px; display: flex; flex-direction: column; justify-content: center; gap: var(--s2); position: sticky; top: 0; }
.sheet-meta { display: flex; justify-content: center; gap: var(--s3); font-size: .85rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sheet-controls { padding: 32px 28px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.sheet-controls h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.sheet-sku { font-size: .85rem; color: var(--ink-2); margin: -12px 0 0; }
.sheet-close { position: absolute; top: 12px; left: 12px; z-index: 3; width: var(--touch); height: var(--touch); border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.sheet-close svg { width: 18px; height: 18px; }
.field { border: 0; padding: 0; margin: 0; }
.field legend { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; padding: 0; }
.seg { display: flex; background: var(--wall); border-radius: 999px; padding: 4px; gap: 4px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background-color 180ms, color 180ms; padding: 0 12px; text-align: center; }
.seg input:checked + span { background: var(--black); color: var(--yellow); }
.seg input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }
.scheme-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.scheme { width: var(--touch); height: var(--touch); border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; position: relative; overflow: hidden; transition: transform 280ms var(--ease-spring); }
.scheme:active { transform: scale(.92); transition-duration: 0ms; }
.scheme[aria-pressed="true"] { border-color: var(--black); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--black); }
.scheme i { position: absolute; inset: 0; }
.scheme i:last-child { inset: 50% 0 0 0; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; min-height: var(--touch); padding-top: 10px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--black); flex: none; }
.approve { background: var(--wall); border: 2px solid var(--black); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.line-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.line-row input[type="text"] { width: 100%; min-height: var(--touch); border: 2px solid var(--line); border-radius: 10px; padding: 0 12px; font: 600 1rem var(--body); text-transform: uppercase; color: var(--black); background: var(--white); }
.line-row input[type="text"]:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.line-row input.over { border-color: var(--red); }
.line-row .count { font-size: .78rem; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.line-colors { display: flex; gap: 4px; }
.line-colors button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); padding: 0; cursor: pointer; }
.line-colors button[aria-pressed="true"] { border-color: var(--black); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black); }
.line-row .remove { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.line-row .remove:hover { background: var(--wall); }
.line-row .remove svg { width: 14px; height: 14px; }
.line-row.has-colors { grid-template-columns: 1fr auto; margin-bottom: 14px; }
.line-row.has-colors .line-colors { grid-column: 1 / -1; gap: 8px; }
.line-row.has-colors .line-colors button { width: 32px; height: 32px; }
.line-actions { display: flex; gap: var(--s3); }
.size-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-opt span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; text-align: center; font-variant-numeric: tabular-nums; transition: border-color 160ms, background-color 160ms; min-height: 76px; justify-content: center; }
.size-opt b { font-size: 1rem; }
.size-opt small { font-size: .8rem; color: var(--ink-2); }
.size-opt em { font-style: normal; font-weight: 700; font-size: .9rem; }
.size-opt input:checked + span { border-color: var(--black); background: var(--yellow); }
.size-opt input:checked + span small { color: var(--black); }
.size-opt input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); border-top: 1px solid var(--line); padding-top: 18px; }
.price { display: flex; flex-direction: column; }
.price-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.price strong { font: 400 2.2rem/1.05 var(--display); font-variant-numeric: tabular-nums; }
.price .small { max-width: 26ch; }
.btn-buy { min-width: 150px; }
@media (max-width: 860px) {
  .sheet { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .sheet-inner { grid-template-columns: 1fr; max-height: 100dvh; overflow-y: auto; }
  .sheet-preview { padding: 60px 16px 16px; position: sticky; top: 0; z-index: 2; box-shadow: 0 6px 16px -10px rgba(0,0,0,.3); }
  .sheet-preview > p, .sheet-meta { display: none; }
  .sheet-controls { overflow: visible; padding: 20px 18px 28px; }
  .price .small { display: none; }
  .price strong { font-size: 1.9rem; }
  .buy-row { position: sticky; bottom: 0; background: var(--white); margin: 0 -18px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px -12px rgba(0,0,0,.25); }
}

/* full designer */
.designer-cta { background: var(--wall); border-radius: 12px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.designer-cta p { margin: 0; flex: 1 1 200px; }
.designer-dlg { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; }
.designer-dlg::backdrop { background: rgba(17,17,17,.8); }
.designer-dlg iframe { width: 100%; height: 100%; border: 0; display: block; }
.banner-frame img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.size-opts.locked { opacity: .55; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* legal pages */
.legal { padding: var(--s4) 0 var(--s5); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: var(--s3) 0 var(--s1); }
.legal h2 { font-size: 1.6rem; margin: var(--s4) 0 var(--s2); }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.2em; margin: 0 0 var(--s2); }
.legal li { margin-bottom: 8px; }
.legal-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.legal-nav a { flex: none; min-height: var(--touch); display: inline-flex; align-items: center; padding: 0 16px; border: 2px solid var(--black); border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.legal-nav a[aria-current="page"] { background: var(--black); color: var(--yellow); }
.legal-table { width: 100%; border-collapse: collapse; margin: var(--s2) 0; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
@media (max-width: 640px) {
  .legal-table thead { display: none; }
  .legal-table tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal-table td { border: 0; padding: 3px 0; }
  .legal-table td:first-child { font-weight: 700; }
}
.footer-links { font-size: .9rem; }
.footer-links a { color: var(--white); }

/* cookie notice */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: var(--s2);
  background: var(--white); color: var(--black); border: 2px solid var(--black); border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); font-size: .9rem; }
.cookie-bar p { margin: 0; flex: 1; }
@media (max-width: 520px) { .cookie-bar { flex-direction: column; align-items: stretch; } }
