/* =============================================================================
 * boxofus by Daria Jurewicz — stylesheet
 * Design: warm paper, soft charcoal ink, muted cornflower (chaber) accent,
 * warp/weft hairline signature, cross-stitch "+" mark. Calm, honest, boutique.
 * No third-party fonts (privacy-first): system stacks only.
 * Target: WCAG 2.2 AA quality. Responsive 320px → 1440px+.
 * ========================================================================== */

:root {
  /* palette */
  --paper: #FBFAF7;
  --paper-2: #F3EFE8;      /* flax neutral surface */
  --paper-3: #ECE6DB;      /* deeper flax / borders on surfaces */
  --ink: #26231E;          /* primary text */
  --ink-2: #56514A;        /* secondary text (AA on paper) */
  --line: #DAD3C6;         /* hairline borders */
  --accent: #4A587A;       /* cornflower/chaber — text & links (AA on paper) */
  --accent-soft: #5E6E93;  /* decorative accent */
  --accent-wash: #EAEDF3;  /* very soft accent surface */
  --ok: #3B6A4B;           /* in-stock / positive */
  --warn: #8A5A2B;         /* attention (not alarm) */
  --focus: #1C2A52;        /* focus ring */
  --white: #ffffff;

  /* type scale */
  --serif: Georgia, "Iowan Old Style", "Times New Roman", "PT Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(0.98rem, 0.95rem + 0.14vw, 1.06rem);
  --step-1:  clamp(1.14rem, 1.08rem + 0.30vw, 1.32rem);
  --step-2:  clamp(1.35rem, 1.24rem + 0.55vw, 1.72rem);
  --step-3:  clamp(1.62rem, 1.42rem + 1.00vw, 2.30rem);
  --step-4:  clamp(2.00rem, 1.60rem + 2.00vw, 3.20rem);

  /* spacing */
  --sp-1: 0.35rem;
  --sp-2: 0.6rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2.25rem;
  --sp-6: 3.5rem;
  --sp-7: 5rem;

  --maxw: 1180px;
  --maxw-prose: 760px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(38,35,30,0.04), 0 8px 24px rgba(38,35,30,0.05);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  /* warp/weft signature: faint woven grid, extremely subtle */
  background-image:
    linear-gradient(0deg, rgba(38,35,30,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,35,30,0.014) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); margin: 0 0 var(--sp-3); letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--sp-3); }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.25em; }
li { margin: 0.3em 0; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }

/* ---------- accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.7em 1.1em;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--paper); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-4); }
.prose { max-width: var(--maxw-prose); }
.section { padding-block: var(--sp-6); }
.eyebrow {
  font-family: var(--sans); font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 var(--sp-2);
}
.lead { font-size: var(--step-1); color: var(--ink-2); }
.muted { color: var(--ink-2); }
.center { text-align: center; }

/* cross-stitch "+" mark used as brand mark & divider tick */
.stitch {
  display: inline-block; width: 1em; height: 1em; position: relative; vertical-align: -0.12em;
}
.stitch::before, .stitch::after {
  content: ""; position: absolute; background: currentColor;
}
.stitch::before { left: 50%; top: 8%; width: 2px; height: 84%; transform: translateX(-50%); }
.stitch::after { top: 50%; left: 8%; height: 2px; width: 84%; transform: translateY(-50%); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: var(--sp-4); min-height: 66px; }
.brand-link { display: inline-flex; align-items: baseline; gap: 0.5ch; text-decoration: none; color: var(--ink); }
.brand-link:hover { color: var(--ink); }
.brand-mark { color: var(--accent-soft); font-size: 1.05em; }
.brand-name { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; letter-spacing: 0.01em; }
.brand-by { font-size: var(--step--1); color: var(--ink-2); font-family: var(--sans); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; color: var(--ink); font-size: var(--step-0); padding: 0.4em 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-bottom-color: var(--accent-soft); color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: var(--sp-3); }
.pill-select {
  font: inherit; font-size: var(--step--1); color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4em 0.7em; cursor: pointer;
}
.lang-switch { display: inline-flex; align-items: center; gap: 0.15em; font-size: var(--step--1); }
.lang-switch a { text-decoration: none; padding: 0.2em 0.35em; border-radius: 4px; color: var(--ink-2); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 700; background: var(--paper-2); }
.lang-sep { color: var(--line); }

.cart-link { position: relative; display: inline-flex; align-items: center; gap: 0.4ch; text-decoration: none; color: var(--ink); font-size: var(--step-0); }
.cart-count {
  min-width: 1.5em; height: 1.5em; padding: 0 0.35em; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--white); border-radius: 999px; font-size: var(--step--1); font-weight: 700; line-height: 1;
}
.cart-count[data-empty="true"] { background: var(--paper-3); color: var(--ink-2); }

.nav-toggle {
  display: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.5em 0.7em; font: inherit; cursor: pointer; align-items: center; gap: 0.5ch;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none; padding: var(--sp-3) var(--sp-4);
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: 0.8em 0; border-bottom: 0; }
  .header-tools { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5ch;
  font: inherit; font-weight: 600; line-height: 1.1; text-decoration: none;
  padding: 0.85em 1.4em; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  min-height: 44px; /* comfortable tap target */
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #171512; color: var(--paper); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #3a4667; color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--paper-2); color: var(--ink); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { padding-block: var(--sp-7) var(--sp-6); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-6); align-items: center; }
.hero h1 { margin-bottom: var(--sp-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.hero-figure {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .hero { padding-block: var(--sp-5) var(--sp-5); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ---------- value strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.fact { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); background: var(--white); }
.fact h3 { font-family: var(--sans); font-size: var(--step-0); font-weight: 700; margin-bottom: 0.35em; }
.fact p { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- product grid / cards ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card-media { aspect-ratio: 1 / 1; background: var(--paper-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: 0.4em; flex: 1; }
.card-title { font-family: var(--serif); font-size: var(--step-1); margin: 0; }
.card-title a { text-decoration: none; color: var(--ink); }
.card-title a:hover { color: var(--accent); }
.card-sku { font-size: var(--step--1); color: var(--ink-2); }
.card-comp { font-size: var(--step--1); color: var(--ink-2); }
.card-price { margin-top: auto; padding-top: 0.5em; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-actions { margin-top: 0.6em; }

/* price + iso code presentation */
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .iso { font-size: 0.82em; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); margin-left: 0.35ch; }

.badge {
  display: inline-flex; align-items: center; gap: 0.4ch; font-size: var(--step--1); font-weight: 650;
  padding: 0.2em 0.6em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2);
}
.badge-stock { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, var(--white)); }

/* ---------- product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 820px) { .pd-grid { grid-template-columns: 1fr; gap: var(--sp-4); } }
.pd-media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 1/1; position: sticky; top: 84px; }
@media (max-width: 820px) { .pd-media { position: static; } }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-price { font-size: var(--step-2); font-weight: 700; margin: var(--sp-2) 0 var(--sp-3); }
.pd-buy { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin: var(--sp-4) 0; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.qty button { width: 44px; border: 0; background: var(--white); font-size: 1.2em; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 3.2em; text-align: center; border: 0; border-inline: 1px solid var(--line); font: inherit; }

.spec-table { width: 100%; border-collapse: collapse; margin: var(--sp-3) 0 var(--sp-4); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 0.6em 0.2em; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
.spec-table th { width: 42%; font-weight: 650; color: var(--ink); }
.spec-table td { color: var(--ink-2); }

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent-soft);
  background: var(--white); border-radius: var(--radius); padding: var(--sp-4); margin: var(--sp-4) 0;
}
.callout h3, .callout h4 { margin-top: 0; }

/* GPSR / regulatory note block */
.reg-note { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); font-size: var(--step--1); color: var(--ink-2); }

/* ---------- prose / policy pages ---------- */
.policy h2 { margin-top: var(--sp-6); }
.policy h3 { margin-top: var(--sp-5); }
.policy ul li, .policy ol li { margin: 0.5em 0; }
.doc-meta { color: var(--ink-2); font-size: var(--step--1); margin-bottom: var(--sp-5); }
.toc { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.toc ol { margin: 0.4em 0 0; }
.definition-list dt { font-weight: 650; margin-top: 0.8em; }
.definition-list dd { margin: 0 0 0.4em; color: var(--ink-2); }

/* ---------- forms ---------- */
.field { margin-bottom: var(--sp-3); }
.field label { display: block; font-weight: 600; margin-bottom: 0.35em; }
.field .hint { font-size: var(--step--1); color: var(--ink-2); margin-top: 0.25em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7em 0.8em;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 8em; resize: vertical; }
.field .error-msg { color: #8a2b2b; font-size: var(--step--1); margin-top: 0.3em; }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea, .field[data-invalid="true"] select { border-color: #8a2b2b; }
.check { display: flex; align-items: flex-start; gap: 0.6em; }
.check input { width: 1.15em; height: 1.15em; margin-top: 0.25em; flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-4); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-status { margin-top: var(--sp-3); font-weight: 600; }

/* ---------- cart / checkout ---------- */
.two-col { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: var(--sp-5); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.summary-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: var(--sp-4); position: sticky; top: 84px; }
@media (max-width: 860px) { .summary-card { position: static; } }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); padding: 0 0 var(--sp-2); border-bottom: 1px solid var(--line); }
.cart-row td { padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-item { display: flex; gap: var(--sp-3); align-items: center; }
.cart-thumb { width: 68px; height: 68px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); flex: none; background: var(--paper-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-meta { font-size: var(--step--1); color: var(--ink-2); }
.link-danger { background: none; border: 0; color: #8a2b2b; cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.totals { list-style: none; margin: 0; padding: 0; }
.totals li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 0.5em 0; border-bottom: 1px dashed var(--line); }
.totals li.grand { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 0.4em; padding-top: 0.7em; font-size: var(--step-1); font-weight: 700; }
.empty-state { text-align: center; padding: var(--sp-6) var(--sp-4); border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); }

/* order-line list (checkout summary) */
.order-lines { list-style: none; margin: 0 0 var(--sp-3); padding: 0; }
.order-lines li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 0.55em 0; border-bottom: 1px solid var(--line); }
.order-lines .ol-name { font-weight: 600; }
.order-lines .ol-sub { display: block; font-size: var(--step--1); color: var(--ink-2); font-weight: 400; }

/* pay-obligation acknowledgement + final CTA */
.pay-ack { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); background: var(--paper-2); margin: var(--sp-4) 0; }
.contract-summary { border: 1px solid var(--accent-soft); border-radius: var(--radius); padding: var(--sp-4); background: var(--accent-wash); margin: var(--sp-4) 0; }
.contract-summary dt { font-weight: 700; }
.contract-summary dd { margin: 0 0 0.5em; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: var(--sp-3); }
.faq summary { cursor: pointer; padding: var(--sp-3) var(--sp-4); font-weight: 650; font-family: var(--serif); font-size: var(--step-1); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent-soft); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 var(--sp-4) var(--sp-4); color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #E9E4DA; margin-top: var(--sp-7); border-top: 4px solid var(--accent-soft); }
.site-footer a { color: #E9E4DA; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-5); padding-block: var(--sp-6) var(--sp-4); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-identity p { margin: 0.15em 0; color: #CFC9BE; font-size: var(--step-0); }
.footer-identity .fi-brand { font-family: var(--serif); font-size: var(--step-1); color: var(--white); margin-bottom: 0.4em; }
.footer-identity .fi-legal { color: var(--white); font-weight: 600; }
.footer-col h3 { color: var(--white); font-family: var(--sans); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.4em 0; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-block: var(--sp-3); font-size: var(--step--1); color: #BDB7AC; display: flex; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; inset: auto var(--sp-4) var(--sp-4) var(--sp-4); z-index: 300;
  max-width: 560px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: var(--sp-4);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: var(--step-1); margin-bottom: 0.4em; }
.cookie-banner p { font-size: var(--step--1); color: var(--ink-2); margin-bottom: var(--sp-3); }
.cookie-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 auto; }
.cookie-prefs { margin-top: var(--sp-3); border-top: 1px solid var(--line); padding-top: var(--sp-3); }
.cookie-prefs[hidden] { display: none; }
.cookie-cat { display: flex; align-items: flex-start; gap: 0.6em; padding: 0.5em 0; border-bottom: 1px solid var(--line); }
.cookie-cat:last-child { border-bottom: 0; }
.cookie-cat .cc-text { font-size: var(--step--1); }
.cookie-cat .cc-text strong { display: block; color: var(--ink); }

/* ---------- misc ---------- */
.notice-band { background: var(--accent-wash); border-bottom: 1px solid var(--line); }
.notice-band .container { padding-block: var(--sp-2); font-size: var(--step--1); color: var(--ink); text-align: center; }
.breadcrumb { font-size: var(--step--1); color: var(--ink-2); padding-block: var(--sp-3) 0; }
.breadcrumb a { color: var(--ink-2); }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-3) 0; }
.linkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: var(--sp-3); list-style: none; padding: 0; }
.linkgrid a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); text-decoration: none; background: var(--white); color: var(--ink); }
.linkgrid a:hover { background: var(--paper-2); }
.print-only { display: none; }
@media print {
  .site-header, .site-footer, .cookie-banner, .no-print { display: none !important; }
  body { background: #fff; }
  .print-only { display: block; }
}
