/* Pressmark Cards and Flyers: cream paper, terracotta and mustard on espresso ink. Fraunces headings, DM Sans text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBF3E6; --surface: #FFFDF8; --soft: #F6E6CF; --ink: #2B1D16; --muted: #6B5648; --line: #E8D6BC; --line-strong: #D2B994;
  --brand: #B8472A; --brand-hover: #98381F; --brand-ink: #FFFFFF; --brand-text: #A33D22;
  --eyebrow: #A33D22; --badge-bg: #E0A526; --badge-ink: #2B1D16;
  --out-bg: #2B1D16; --out-ink: #FBF3E6; --out-accent: #F0BD4B; --out-btn: #E0A526; --out-btn-ink: #2B1D16;
  --head: "Fraunces", Georgia, serif; --body: "DM Sans", system-ui, sans-serif;
  --radius: 4px; --radius-lg: 6px; --btn-radius: 3px; --wrap: 1160px; --gap: 24px;
}
body { background-image: radial-gradient(rgba(120, 80, 30, .05) 1px, transparent 1px); background-size: 6px 6px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.12; }
h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.btn { font-weight: 700; letter-spacing: .02em; }
.eyebrow { letter-spacing: .16em; }
.ic { color: var(--brand); }

/* centred masthead: logo on its own line, nav beneath it between two rules */
.header { background: var(--bg); border-bottom: 3px double var(--ink); position: static; }
.header > .wrap { flex-wrap: wrap; justify-content: center; gap: 6px 24px; padding-block: 14px 0; min-height: 0; }
.logo { flex: 1 0 100%; justify-content: center; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 46px; height: 46px; }
.logo span { display: grid; line-height: 1.05; text-align: left; }
.logo b { font: 700 1.7rem var(--head); letter-spacing: -.02em; }
.logo small { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { margin: 0; flex: 1 0 100%; justify-content: center; border-top: 1px solid var(--line-strong); padding-top: 4px; gap: 10px; }
.nav a { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; border-radius: 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); background: transparent; }
.header-cta { position: absolute; right: 16px; top: 14px; }
.header-cta .btn { min-height: 40px; padding: 8px 16px; }
.nav-toggle { position: absolute; right: 16px; top: 14px; margin: 0; }
@media (max-width: 960px) {
  .header > .wrap { justify-content: space-between; flex-wrap: nowrap; padding-block: 10px; }
  .logo { flex: 1 1 auto; justify-content: flex-start; }
  .logo b { font-size: 1.3rem; }
  .nav { flex: none; border-top: 0; }
  .header-cta { display: none; }
  .nav-toggle { position: static; }
}

/* hero: centred headline with a fan of cards below */
.cp-hero { text-align: center; padding-block: clamp(36px, 6vw, 72px) 0; background: linear-gradient(180deg, var(--soft), var(--bg)); }
.cp-hero .wrap { display: grid; justify-items: center; gap: 0; }
.cp-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 16ch; margin: 14px 0 16px; }
.cp-hero .lede { margin-inline: auto; }
.cp-hero .t-actions { justify-content: center; margin-top: 24px; }
.cp-fan { margin: 30px 0 0; width: min(100%, 620px); border-radius: 6px 6px 0 0; overflow: hidden; border: 1px solid var(--line-strong); border-bottom: 0; box-shadow: 0 -10px 40px -20px rgba(43, 29, 22, .3); }
.cp-fan svg { width: 100%; height: auto; }
.cp-paper { background: var(--soft); border-block: 1px solid var(--line-strong); }
.cp-points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.cp-points li { display: flex; gap: 12px; align-items: flex-start; }
.cp-points .ic { width: 30px; height: 30px; margin-top: 2px; }
.cp-points b { display: block; font-family: var(--head); font-size: 1.1rem; }
.cp-points span { color: var(--muted); font-size: .94rem; }
.c-card { background: var(--surface); box-shadow: 0 1px 0 var(--line-strong), 4px 4px 0 var(--line); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-head { padding-block: clamp(30px, 5vw, 56px); text-align: center; border-bottom: 1px solid var(--line-strong); margin-bottom: clamp(24px, 4vw, 44px); background: var(--soft); }
.page-head .lede { margin-inline: auto; }
.numbers-band { background: var(--ink); color: var(--bg); }
.numbers b { color: #F0BD4B; } .numbers span { color: #D9C7AE; }

/* card builder */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { cursor: pointer; position: relative; }
.swatches input { position: absolute; opacity: 0; inset: 0; }
.swatches span { display: block; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line-strong); }
.swatches input:checked + span { box-shadow: 0 0 0 3px var(--ink); }
.swatches input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 3px; }
.card-preview { padding: 14px; border-radius: 8px; background: #E9D9BF; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.card-preview svg { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.card-flip { margin: 0; }
.card-flip .btn { min-height: 42px; width: 100%; color: var(--out-ink); border-color: rgba(251, 243, 230, .5); }
.tool-out { border-radius: 8px; }

.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--brand); color: #fff; text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); } .cta-band p { margin-top: 6px; color: #F8D9CD; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band .btn-primary { background: var(--bg); color: var(--ink); } .cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.footer { background: var(--ink); color: #D9C7AE; --footer-line: rgba(255,255,255,.14); }
.footer .logo { justify-content: flex-start; flex: none; } .footer .logo b { color: var(--bg); font-size: 1.3rem; } .footer .logo small { color: #D9C7AE; } .footer h2 { color: var(--bg); }
.f-about { margin-top: 12px; max-width: 34ch; } .footer .credit a { color: #F0BD4B; }
