/* One look, day and night: the dark navy theme. */
:root {
  color-scheme: dark;
  --bg: #10131c;
  --surface: #171b27;
  --text: #ececef;
  --muted: #a3a3ad;
  --line: #2a3142;
  --navy: #e8ebf2;
  --accent: #8fa6d4;
  --accent-text: #10131c;
  --steel: #9aa6bd;
  --cmyk: linear-gradient(90deg, #00a6d6 0 25%, #d6006f 25% 50%, #f2c200 50% 75%, #4a4f5a 75%);
}


* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); }

.site-header { border-top: 6px solid; border-image: var(--cmyk) 1; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
/* The name: registration mark + LOWERTOWN / PRINT LAB in a heavy gothic sans. */
@font-face { font-family: "Print Lab Gothic"; src: url("/assets/fonts/libre-franklin-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
.gothic { font-family: "Print Lab Gothic", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Arial Black", sans-serif; font-weight: 900; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; line-height: 1; }
.brand .mark { width: 48px; height: 48px; flex: none; }
.brand small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .32em; color: var(--steel); margin: 0 0 4px 2px; }
.brand strong { display: block; font-size: 1.85rem; letter-spacing: .01em; }
.mark .ink { stroke: var(--navy); }
.mark .dots { mix-blend-mode: multiply; }
.mark .dots { mix-blend-mode: normal; opacity: .9; }

.hero-brand { display: flex; align-items: center; gap: 22px; color: var(--navy); margin: 0 0 30px; line-height: .95; }
.hero-brand .mark { width: clamp(84px, 17vw, 150px); height: auto; flex: none; }
.hero-brand small { display: block; font-size: clamp(.8rem, 2.2vw, 1.15rem); font-weight: 600; letter-spacing: .38em; color: var(--steel); margin: 0 0 8px 3px; }
.hero-brand strong { display: block; font-size: clamp(2.8rem, 10vw, 5.6rem); letter-spacing: .005em; }
.hero-brand .rule { display: block; height: 5px; width: 40%; background: var(--steel); margin-top: 14px; border-radius: 2px; }
.skyline { display: block; width: 100%; max-width: 1100px; height: auto; margin: 18px auto 0; color: var(--navy); }
.skyline .win { fill: var(--navy); opacity: .55; }
.skyline .b { fill: var(--bg); }
.skyline .o { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
nav { display: flex; gap: 20px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }

.hero { padding: 56px 0 0; border-bottom: 1px solid var(--line); }
.hero .wrap { padding-bottom: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--steel); margin: 0 0 8px; }
h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.15; margin: 0 0 16px; max-width: 22ch; color: var(--navy); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }

.button {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.button:hover { filter: brightness(1.08); }

section[id] { padding: 40px 20px; }
h2 { font-size: 1.6rem; margin: 0 0 20px; color: var(--navy); }
h3 { margin: 0 0 4px; font-size: 1.2rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.spec { color: var(--accent); font-weight: 600; margin: 0 0 12px; }
.card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }

.steps { padding-left: 1.2em; margin: 0 0 32px; }
.steps li { margin-bottom: 10px; }

.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; max-width: 520px; }
.contact h3 { margin-bottom: 12px; }
.contact p { margin: 6px 0; display: flex; gap: 12px; }
.label { color: var(--muted); min-width: 60px; }
.placeholder { background: #fff3b0; color: #5a4a00; padding: 0 6px; border-radius: 4px; font-family: ui-monospace, Menlo, monospace; font-size: .9em; }

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }

/* ---- Lowertown Print Lab additions ---- */
.testbar { background: #6b5bd6; color: #fff; text-align: center; font-size: .85rem; padding: 4px; }
nav { align-items: center; }
.nav-cta { background: var(--accent); color: var(--accent-text) !important; padding: 6px 14px; border-radius: 8px; font-weight: 600; }
.free { font-size: 1.1rem; margin: -8px 0 26px; color: var(--navy); }
/* The slogan, one line per process color (as on the postcards). */
h1.slogan { font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 800; max-width: none; margin-bottom: 20px; }
h1.slogan span { display: block; }
h1.slogan .c, .slogan-small .c { color: #00a6d6; } h1.slogan .m, .slogan-small .m { color: #d6006f; } h1.slogan .y, .slogan-small .y { color: #f2c200; }
.slogan-small { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 6px; }
.section { padding: 40px 20px; }
.narrow { max-width: 720px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--steel); border-radius: 10px; padding: 18px 22px; margin: 8px 0 24px; }
.callout h3 { margin-bottom: 6px; }
.callout p { margin: 0; color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.hint { font-size: .9rem; color: var(--muted); }
.pre { white-space: pre-wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--muted); margin: 0 0 8px; }

.notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 18px; background: #1b2540; color: #c9d3e6; }
.notice.good { background: #183222; color: #bfe8c9; }
.notice.warn { background: #3a2c14; color: #f5d7a6; }
.notice.bad { background: #3b1d1b; color: #ffc4bf; }
.notice ul { margin: 0; padding-left: 1.2em; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .95rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 400; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.form legend { font-weight: 700; padding: 0 6px; }
.form label.radio, label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.opt { font-weight: 400; color: var(--muted); }
.free-tag { background: var(--accent); color: var(--accent-text); font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { align-self: flex-start; }
button.button { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.button.big { font-size: 1.1rem; padding: 14px 28px; }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
button.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; text-decoration: underline; }

.order-page h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 10px; }
.card .pre { margin: 0; }
h2.sub { font-size: 1.25rem; margin: 30px 0 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.spacer { flex: 1; }
.proofs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.proof { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--muted); font-size: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.proof img { width: 100%; height: 220px; object-fit: contain; background: #eee; border-radius: 6px; }
.proof.pdf { align-items: center; justify-content: center; min-height: 120px; }
.pdf-icon { background: #fdecea; color: #b3261e; font-weight: 700; padding: 14px 16px; border-radius: 6px; }
.invoice-box { overflow-x: auto; }
.paid-stamp { border: 2px solid #1f7a3a; color: #1f7a3a; font-weight: 700; padding: 2px 10px; border-radius: 6px; letter-spacing: .05em; transform: rotate(-3deg); }
.pay-box { margin: 26px 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pay-box form { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pay-box .hint { margin: 0; }
.changes { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.changes summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.changes form { margin-top: 12px; }
.changes label { display: flex; flex-direction: column; gap: 6px; width: 100%; font-weight: 600; }
.changes textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
.prose h2 { font-size: 1.2rem; margin: 26px 0 6px; }
.site-footer p + p { margin-top: 4px; }
.site-footer .legal { font-size: .8rem; }

@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } nav { gap: 12px; font-size: .92rem; } }
@media print {
  :root {
    color-scheme: light;
    --bg: #fbfaf7;
    --surface: #ffffff;
    --text: #1d1d1f;
    --muted: #5b5b63;
    --line: #e4e1da;
    --navy: #14213d;
    --accent: #1f3a68;
    --accent-text: #ffffff;
    --steel: #6b7891;
    --cmyk: linear-gradient(90deg, #00a6d6 0 25%, #d6006f 25% 50%, #f2c200 50% 75%, #14213d 75%);
  }
  .site-header, .site-footer, .pay-box, .testbar, .print-btn, .notice, .proofs, h2.sub { display: none !important; }
  body { background: #fff; }
  .invoice-box > div { border: 0 !important; }
}

[hidden] { display: none !important; }

/* Customer file uploads (assets/upload.js) */
.uploader .drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; cursor: pointer; background: var(--surface); }
.uploader .drop:hover, .uploader .drop.over { border-color: var(--accent); }
.uploader .drop small { color: var(--muted); }
.uploader .like-link { color: var(--accent); text-decoration: underline; }
.up-link-label { margin: 12px 0 6px; font-size: .95rem; }
.up-link { display: flex; gap: 8px; }
.up-link input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
.up-link input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.up-list { list-style: none; margin: 0 0 10px; padding: 0; }
.up-list:empty { display: none; }
.up-item { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; background: var(--surface); }
.up-item .up-name { font-weight: 600; overflow-wrap: anywhere; flex: 1 1 200px; }
.up-item.link .up-name { font-weight: 400; }
.up-item .up-meta { color: var(--muted); font-size: .9rem; }
.up-item.bad .up-meta { color: #b3261e; }
.up-item progress { flex-basis: 100%; width: 100%; height: 6px; accent-color: var(--accent); }
.up-remove { font-size: .85rem; }
.up-status { margin-top: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
