/* Lettering Lab: graph-paper white, ink navy and vermilion. Bricolage Grotesque for headings, Hanken Grotesk for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FAFAF5;
  --surface: #FFFFFF;
  --soft: #FDE9DF;
  --ink: #14213D;
  --muted: #55607A;
  --line: #DDE2EE;
  --line-strong: #B8C0D6;
  --brand: #14213D;
  --brand-hover: #0B1428;
  --brand-ink: #FFFFFF;
  --brand-text: #14213D;
  --vermilion: #E4572E;
  --eyebrow: #C5401B;
  --badge-bg: #E4572E;
  --badge-ink: #FFFFFF;
  --out-bg: #14213D;
  --out-ink: #FAFAF5;
  --out-accent: #FFB59C;
  --out-btn: #FFB59C;
  --out-btn-ink: #14213D;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 6px;
  --btn-radius: 4px;
  --wrap: 1180px;
  --gap: 22px;
}
body { background-image: linear-gradient(#E9ECF4 1px, transparent 1px), linear-gradient(90deg, #E9ECF4 1px, transparent 1px); background-size: 28px 28px; background-attachment: fixed; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
.btn { font-weight: 700; }
.eyebrow { letter-spacing: .12em; }
.ic { color: var(--vermilion); }
.section, .hero { background: transparent; }

/* header: a notebook bar with a red margin line */
.header { background: var(--bg); border-bottom: 2px solid var(--ink); }
.header > .wrap { min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo b { font: 800 1.35rem var(--head); letter-spacing: -.03em; white-space: nowrap; }
.nav { margin-inline: auto; }
.nav a { font-weight: 600; border-radius: 0; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--vermilion); }
@media (max-width: 960px) { .nav-open .nav a[aria-current="page"] { box-shadow: none; color: var(--vermilion); } }

/* hero with live specimens */
.hero { padding-block: clamp(36px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { margin: 12px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.specimens { list-style: none; display: grid; gap: 14px; }
.specimens li { display: grid; padding: 16px 20px; background: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--vermilion); }
.specimens span { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; overflow-wrap: anywhere; }
.specimens small { color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.trust-band { padding-block: 0; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line-strong); font-weight: 700; }
.c-card { border: 2px solid var(--ink); border-radius: 0; background: #fff; }
.c-body h3 { font-size: 1.35rem; }
.c-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tools-band { background: var(--soft); border-block: 2px solid var(--ink); }
.tools-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tools-list li { display: grid; gap: 4px; padding: 16px; background: #fff; border-left: 5px solid var(--vermilion); }
.tools-list span { color: var(--muted); font-size: .9rem; }
.quotes-band { background: #fff; border-top: 2px solid var(--ink); }

/* inner pages and picker */
.page-head { background: #fff; border-bottom: 2px solid var(--ink); margin-bottom: clamp(24px, 4vw, 44px); }
.numbers-band { background: var(--ink); color: #fff; }
.numbers b { color: #FFB59C; }
.numbers span { color: #C9D0E2; }
.preview { display: grid; place-items: center; min-height: 190px; padding: 20px; border-radius: 6px; border: 2px solid rgba(255,255,255,.3); overflow: hidden; }
.preview p { max-width: 100%; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
.out-text { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.swatches span { gap: 8px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.3); flex: none; }
.range { accent-color: var(--vermilion); }
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--vermilion); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--ink); color: #fff; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.footer { background: var(--ink); color: #C9D0E2; --footer-line: rgba(255,255,255,.14); }
.footer .logo b, .footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #FFB59C; }
