/* Cement City Printing: shared styles for all three sites.
   Palette taken from the badge logo: slate navy, steel gray, concrete, CMYK drops. */

:root {
    --ink: #1f2a36;
    --ink-soft: #3b4856;
    --ink-quiet: #4a5866;
    --slate: #2e3d4f;
    --slate-deep: #1f2a36;
    --concrete: #eef0f1;
    --paper: #ffffff;
    --paper-soft: #f7f8f9;
    --line: #d9dde1;
    --on-dark: #ffffff;
    --on-dark-soft: #d3d9df;
    --cyan: #1ba8e0;
    --magenta: #e0137e;
    --yellow: #f2c91b;
    --black: #1c1c1c;
    --radius: 18px;
    --slab: 'Roboto Slab', Georgia, serif;
    --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--concrete);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--slate); }
a:hover { color: var(--slate-deep); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.slab { font-family: var(--slab); }
h1, h2, h3 { font-family: var(--slab); line-height: 1.08; margin: 0; }

.eyebrow {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 16px;
    font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-quiet);
}
.drops { display: inline-flex; gap: 5px; }
.drops span { width: 10px; height: 10px; border-radius: 999px; }
.drops .c { background: var(--cyan); }
.drops .m { background: var(--magenta); }
.drops .y { background: var(--yellow); }
.drops .k { background: var(--black); }
.on-dark .drops .k { background: #ffffff; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 58px; height: 58px; border-radius: 999px; }
.brand-name { display: block; font-family: var(--slab); font-weight: 900; font-size: 21px; text-transform: uppercase; line-height: 1.1; }
.brand-descriptor { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-quiet); margin-top: 3px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; font-size: 15px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--slate); color: var(--on-dark); }
.btn-primary:hover { background: var(--slate-deep); color: var(--on-dark); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-outline { border-color: #c8ced4; color: var(--ink); background: var(--paper); }
.btn-outline-dark { border-color: #8a9aaa; color: var(--on-dark); }
.btn-outline-dark:hover { color: var(--on-dark); border-color: var(--on-dark); }

.soon {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: #fff4d1; color: #5a4300;
    font-size: 14px; font-weight: 700;
}
.on-dark .soon { background: rgba(255,255,255,.12); color: var(--on-dark); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-copy h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; }
.hero-copy .lead { margin: 22px 0 0; font-size: 19px; color: var(--ink-soft); max-width: 540px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-badge { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero-badge img { width: 380px; max-width: 100%; aspect-ratio: 1; border-radius: 999px; background: var(--paper); box-shadow: 0 24px 60px rgba(31,42,54,.16); }
.gear-deco { position: absolute; pointer-events: none; }

.hero.on-dark { background: var(--slate); color: var(--on-dark); }
.hero.on-dark .eyebrow { color: #c9d2db; }
.hero.on-dark h1 { text-transform: uppercase; }
.hero.on-dark .lead { color: var(--on-dark-soft); }

/* Sections */
.section { padding: 80px 0; }
.section-white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--slate); color: var(--on-dark); }
.section h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.section .sub { margin: 12px 0 36px; color: var(--ink-soft); max-width: 640px; }

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 280px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-white .card { background: var(--paper-soft); }
.card h3 { margin: 16px 0 6px; font-size: 22px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card svg { color: var(--slate); }
.card-accent { border: 2px solid var(--slate); background: var(--paper); }

.panel { background: var(--paper); border: 2px solid var(--slate); border-radius: 22px; padding: 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.panel h2 { font-size: 36px; }
.panel p { margin: 12px 0 0; color: var(--ink-soft); max-width: 560px; }

.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split > div { flex: 1 1 420px; min-width: 0; }
.section-dark h2 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-soft); }
.section-dark a { color: var(--on-dark); font-weight: 700; }

.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); font-size: 15px; }
.checks svg { color: #1e7a4c; flex: none; }

.dropzone { flex: 1 1 460px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 20px 50px rgba(31,42,54,.1); }
.dropzone-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; border: 2px dashed #9aa6b2; background: var(--paper-soft); border-radius: 16px; padding: 40px 16px; color: var(--ink-soft); }
.dropzone-inner strong { color: var(--ink); font-size: 18px; }

/* Footer */
.site-footer { background: var(--slate-deep); color: #c3cbd3; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; padding-top: 48px; padding-bottom: 48px; font-size: 14px; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand img { width: 64px; height: 64px; }
.site-footer .brand-descriptor { color: #c3cbd3; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--on-dark); }
.footer-links { display: grid; gap: 8px; }
.footer-note { max-width: 320px; }

@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
    .section { padding: 56px 0; }
    .panel { padding: 28px; }
    .site-nav { gap: 16px; }
}

/* Policy pages */
.policy { max-width: 780px; }
.policy h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 900; }
.policy-date { color: var(--ink-quiet); font-size: 14px; margin: 10px 0 0; }
.policy-body { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.policy-body h2 { font-size: 24px; margin: 26px 0 8px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { color: var(--ink-soft); }
.policy-body ul { padding-left: 22px; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; border-top: 1px solid #344456; padding-top: 18px; font-size: 13px; }
@media (max-width: 640px) { .policy-body { padding: 22px 20px; } }

/* Header extras */
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--magenta); color: #fff; font-size: 12px; font-weight: 800; }
.site-nav .btn-sm-site { min-height: 40px; padding: 0 16px; font-size: 15px; color: var(--on-dark); }
.preview-bar { background: #fff4d1; color: #5a4300; font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; border-top: 1px solid #f0dfa0; }

/* Ordering pages */
.page { padding: 48px 0 80px; }
.page-title { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; }
.page-lead { margin: 10px 0 28px; color: var(--ink-soft); max-width: 640px; }
.flash-site { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.flash-site.good { background: #e3f4ea; color: #145234; border: 1px solid #b9e0c8; }
.flash-site.bad { background: #fdecef; color: #8a1230; border: 1px solid #f5c2cd; }
.flash-site ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--slate); color: #fff; font-weight: 800; font-size: 15px; flex: none; }
.step h2 { font-size: 22px; font-weight: 800; }
.step .hint { margin: -8px 0 14px; color: var(--ink-quiet); font-size: 14px; }
.step-sub { margin: 20px 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-quiet); }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { display: block; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .12s, box-shadow .12s; }
.opt-box strong { display: block; font-size: 16px; }
.opt-box small { display: block; color: var(--ink-quiet); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.opt:hover .opt-box { border-color: #9aa6b2; }
.opt input:checked + .opt-box { border-color: var(--slate); box-shadow: 0 0 0 2px var(--slate) inset; background: #f3f6f9; }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.opt input:disabled + .opt-box { opacity: .45; cursor: not-allowed; background: var(--paper-soft); }
.tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #e3f4ea; color: #145234; }
.tag.quiet { background: var(--concrete); color: var(--ink-quiet); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch .opt-box { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; font-weight: 600; font-size: 14px; }
.swatch-dot { width: 20px; height: 20px; border-radius: 999px; border: 1px solid rgba(0,0,0,.2); flex: none; }

.copies { display: flex; align-items: center; gap: 10px; }
.copies button { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); font-size: 22px; font-weight: 700; color: var(--ink); cursor: pointer; }
.copies input { width: 90px; height: 44px; text-align: center; font: inherit; font-size: 18px; font-weight: 700; border: 1.5px solid var(--line); border-radius: 10px; }

.filecard { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filecard svg { color: var(--magenta); flex: none; }
.filecard .meta { flex: 1 1 220px; min-width: 0; }
.filecard .meta strong { display: block; overflow-wrap: anywhere; }
.filecard .meta span { color: var(--ink-quiet); font-size: 14px; }

.upload-form .dropzone-inner { cursor: pointer; transition: border-color .12s, background .12s; }
.upload-form .dropzone-inner.over { border-color: var(--slate); background: #eef3f8; }
.upload-form input[type=file] { max-width: 100%; }
.small-print { color: var(--ink-quiet); font-size: 13px; }

.summary { position: sticky; top: 20px; background: var(--paper); border: 2px solid var(--slate); border-radius: 20px; padding: 24px; }
.summary h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.summary dt { color: var(--ink-quiet); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.summary .total strong { font-family: var(--slab); font-size: 32px; font-weight: 900; }
.summary .each { color: var(--ink-quiet); font-size: 13px; text-align: right; }
.summary .ready { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--concrete); font-size: 14px; }
.summary .btn { width: 100%; justify-content: center; margin-top: 16px; }
.summary .btn[disabled] { opacity: .5; cursor: not-allowed; }
.msgs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.msgs li { padding: 10px 12px; border-radius: 10px; line-height: 1.45; }
.msgs .err { background: #fdecef; color: #8a1230; }
.msgs .note { background: #fff4d1; color: #5a4300; }
.is-loading .total strong { opacity: .45; }

.lines { display: grid; gap: 14px; }
.line { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.line .what { flex: 1 1 320px; min-width: 0; }
.line .what strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.line .what p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.line .price { text-align: right; min-width: 120px; }
.line .price strong { font-family: var(--slab); font-size: 22px; }
.line .price small { display: block; color: var(--ink-quiet); font-size: 13px; }
.line .acts { display: flex; gap: 14px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.link-like { background: none; border: 0; padding: 0; font: inherit; color: var(--slate); text-decoration: underline; cursor: pointer; }
.totals { margin: 22px 0 0 auto; max-width: 380px; background: var(--paper); border: 2px solid var(--slate); border-radius: 20px; padding: 22px 24px; }
.totals .row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 4px 0; }
.totals .row.grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.totals .btn { width: 100%; justify-content: center; margin-top: 16px; }
.empty { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; }
.form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.fields .wide { grid-column: 1 / -1; }
.fld label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(27,168,224,.25); }
.fld .err-text { color: #8a1230; font-size: 13px; font-weight: 600; margin-top: 4px; }
.fld.bad input, .fld.bad textarea { border-color: #c4314f; }
.tick { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.tick input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--slate); }
.infobox { padding: 14px 16px; border-radius: 12px; background: var(--concrete); font-size: 15px; color: var(--ink-soft); }
.infobox + .infobox { margin-top: 10px; }
.infobox strong { color: var(--ink); }
.testbox { background: #fff4d1; color: #5a4300; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.checkout .totals { margin: 0; position: sticky; top: 20px; }
.mini-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; }
.mini-lines span { overflow-wrap: anywhere; color: var(--ink-soft); }

.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #e8eef5; color: var(--slate); font-weight: 700; font-size: 13px; }
.steps-next { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps-next li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.steps-next li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--slate); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.order-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.order-table th, .order-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-table th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-quiet); }
.order-table .num { text-align: right; white-space: nowrap; }
.narrow { max-width: 520px; }

@media (max-width: 960px) {
    .builder, .checkout { grid-template-columns: minmax(0, 1fr); }
    .summary, .checkout .totals { position: static; }
}
@media (max-width: 640px) {
    .step, .form-card { padding: 20px 18px; }
    .fields { grid-template-columns: minmax(0, 1fr); }
    .opts.two { grid-template-columns: minmax(0, 1fr); }
    .totals { max-width: none; }
    .line .price { text-align: left; }
}

/* Stripe card form */
.stripe-box { margin-top: 12px; padding: 4px 0; min-height: 60px; }
.flash-site.bad[data-js-errors] ul { margin: 6px 0 0; }
