/* ======================================================================
   Roll Society — brand.css (refresh: 2026-04-29)
   Retailer-first. Product is the hero. Brand sits behind it.
   ====================================================================== */

/* ---------- Self-hosted fonts (woff2 only, declared once) -------------- */

@font-face {
  font-family: 'Antonio';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/antonio-var.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/archivo-var.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/archivo-italic-var.woff2') format('woff2-variations');
}

/* ---------- Design tokens ---------------------------------------------- */

:root {
  /* Three-colour palette discipline. No greys-in-between. */
  --bone:        #F5F1EA;   /* warm off-white */
  --bone-deep:   #ECE6DA;   /* card / chip surface */
  --ink:         #14110F;   /* near-black, warm */
  --ink-soft:    #4A4640;   /* body copy */
  --mute:        #6F695C;   /* meta + dividers (darkened from spec #8A8378
                                so 11px bold text on --bone clears WCAG
                                AA 4.5:1; pure decoration may still use
                                the spec value via --mute-line below) */
  --mute-line:   #8A8378;   /* divider/hairline only (no text) */
  --accent:      #B8472D;   /* terracotta, sparingly */
  --accent-deep: #8E3621;   /* hover */

  /* Type */
  --display: 'Antonio', 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --body:    'Archivo', 'Helvetica Neue', system-ui, -apple-system, sans-serif;

  --fs-eyebrow: 0.6875rem;     /* 11px */
  --fs-body:    1.0625rem;     /* 17px */
  --fs-lead:    1.2rem;
  --fs-h3:      1.35rem;
  --fs-h2:      clamp(1.9rem, 3.6vw, 2.8rem);
  --fs-h1:      clamp(2.6rem, 6.5vw, 5rem);

  --tr-eyebrow:  0.16em;
  --tr-display:  -0.005em;

  --gutter:      clamp(1rem, 2vw, 1.75rem);
  --col-max:     1320px;
  --rail-max:    1080px;

  --t-fast: 160ms ease-out;
  --t-med:  400ms ease-out;

  --rule:        1px solid var(--ink);
  --rule-mute:   1px solid var(--mute);
  --rule-bone:   1px solid var(--bone-deep);
}

/* ---------- Reset (tasteful) ------------------------------------------ */

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Page chrome ------------------------------------------------- */

html { background: var(--bone); }
body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { display: block; }

.container { width: min(100% - var(--gutter)*2, var(--col-max)); margin-inline: auto; }
.rail      { width: min(100% - var(--gutter)*2, var(--rail-max)); margin-inline: auto; }

/* ---------- Display type ----------------------------------------------- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: var(--tr-display);
  color: var(--ink);
  line-height: 1.04;
  text-transform: none;            /* mixed case by default */
}
.h1, h1 { font-size: var(--fs-h1); line-height: 0.98; }
.h2, h2 { font-size: var(--fs-h2); }
.h3, h3 { font-size: var(--fs-h3); line-height: 1.2; }

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow--ink { color: var(--ink); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 64ch;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---------- Hairline rules --------------------------------------------- */

.rule {
  border: 0;
  border-top: var(--rule-mute);
  height: 0;
  margin: 0;
}
.rule--double {
  border-top: var(--rule-mute);
  border-bottom: var(--rule-mute);
  height: 5px;
}

/* ---------- Header / nav ----------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  border-bottom: var(--rule);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.05rem var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand__mark {
  width: 30px; height: 30px;
  background: var(--ink);
  display: inline-grid;
  place-items: center;
  color: var(--bone);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  flex: none;
}

.nav {
  display: flex;
  gap: clamp(0.95rem, 2.2vw, 1.8rem);
  justify-self: center;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
.nav a {
  padding: 0.45rem 0;
  color: var(--ink);
  transition: color var(--t-fast);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--accent); }

.actions {
  display: flex; align-items: center; gap: 1.2rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
}
.actions a {
  color: var(--ink);
  transition: color var(--t-fast);
}
.actions a:hover { color: var(--accent); }
.cart-count {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-size: 0.7em;
  font-weight: 600;
  vertical-align: super;
  margin-left: 0.15em;
  line-height: 1;
}

/* ---------- Buttons ---------------------------------------------------- */

.btn {
  --bg: var(--ink);
  --fg: var(--bone);
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: none;
  border: 1px solid var(--bd);
  position: relative;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast);
  cursor: pointer;
}
.btn:hover {
  --bg: var(--accent);
  --fg: var(--bone);
  --bd: var(--accent);
}
.btn:active { transform: translateY(1px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--ink);
}
.btn--ghost:hover {
  --bg: var(--ink);
  --fg: var(--bone);
  --bd: var(--ink);
}

.btn--accent {
  --bg: var(--accent);
  --fg: var(--bone);
  --bd: var(--accent);
}
.btn--accent:hover {
  --bg: var(--ink);
  --fg: var(--bone);
  --bd: var(--ink);
}

.btn--block { width: 100%; }
.btn--atc { width: 100%; }
@media (min-width: 720px) {
  .btn--atc { width: 60%; max-width: 22rem; }
}

/* ---------- Hero -------------------------------------------------------- */

.hero {
  padding: clamp(2.6rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4.5rem);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; }
}
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6rem);
  letter-spacing: -0.01em;
  line-height: 0.96;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.hero__sub {
  font-family: var(--body);
  font-size: var(--fs-lead);
  max-width: 40ch;
  color: var(--ink-soft);
  font-weight: 400;
}
.hero__media {
  aspect-ratio: 4 / 5;
  background: var(--bone-deep);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__media img,
.hero__media svg {
  width: 80%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- Section heads ---------------------------------------------- */

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.section + .section { border-top: var(--rule-bone); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: clamp(1.4rem, 2.5vw, 2.2rem);
  max-width: 56ch;
}
.section__head h2 { font-size: var(--fs-h2); }
.section__head + hr.rule {
  margin-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

/* ---------- Product grid + cards --------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.8rem) clamp(1rem, 2vw, 1.4rem);
}
.card {
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
  isolation: isolate;
}
.card a.card__hit { color: inherit; display: contents; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-deep);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-med);
}
.card:hover .card__media img { transform: scale(1.02); }

.card__chip {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  padding: 0.22rem 0.5rem;
  background: var(--bone-deep);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card__body {
  display: flex; flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 0 0.4rem;
}
.card__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.15;
}
.card__meta {
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--mute);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}
.card__price {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  letter-spacing: 0;
  margin-top: 0.2rem;
}
.card__price del {
  font-size: 0.85rem;
  color: var(--mute);
  font-weight: 400;
  text-decoration-color: var(--mute);
  text-decoration-thickness: 1px;
}

/* ---------- Filter rail ------------------------------------------------ */

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: 1.2rem 0;
  background: transparent;
  border-top: var(--rule-bone);
  border-bottom: var(--rule-bone);
}
@media (min-width: 720px) {
  .filters {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }
}
.filter h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.55rem;
}
.filter-count {
  color: var(--mute);
  font-variant-numeric: tabular-nums;
  margin-left: 0.15rem;
}
.filter ul { display: flex; flex-direction: column; gap: 0.3rem; }
.filter label {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--ink);
}
.filter input[type="checkbox"] {
  appearance: none;
  width: 1rem; height: 1rem;
  border: 1px solid var(--ink);
  background: var(--bone);
  display: inline-grid;
  place-content: center;
  cursor: pointer;
}
.filter input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
.filter input[type="checkbox"]:checked::after {
  content: '';
  width: 0.45rem; height: 0.45rem; background: var(--bone);
}
.filter--swatch ul { flex-direction: row; flex-wrap: wrap; gap: 0.45rem; }
.swatch {
  width: 1.6rem; height: 1.6rem;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform var(--t-fast);
}
.swatch:hover { transform: scale(1.06); }
.swatch.is-active { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Product detail page --------------------------------------- */

.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  padding: clamp(1.4rem, 4vw, 3rem) 0 clamp(2.4rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .product { grid-template-columns: 1.05fr 1fr; }
}

.product__media { display: grid; gap: 0.6rem; }
@media (min-width: 900px) {
  .product__media {
    grid-template-columns: 76px 1fr;
    grid-template-areas: "thumbs hero";
    align-items: start;
    position: sticky;
    top: 1.2rem;
  }
}
.product__hero {
  grid-area: hero;
  aspect-ratio: 4 / 5;
  background: var(--bone-deep);
  overflow: hidden;
}
.product__hero img { width: 100%; height: 100%; object-fit: cover; }

.product__thumbs {
  grid-area: thumbs;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
@media (min-width: 900px) {
  .product__thumbs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
.product__thumb {
  aspect-ratio: 1 / 1;
  background: var(--bone-deep);
  overflow: hidden; cursor: pointer;
  border: 0;
  padding: 0;
  transition: outline-color var(--t-fast);
  outline: 1px solid transparent;
  outline-offset: -1px;
}
.product__thumb.is-active { outline: 1px solid var(--ink); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product__info { display: flex; flex-direction: column; gap: 1.1rem; }
.product__price-row {
  display: flex; align-items: baseline; gap: 0.85rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0;
  margin-top: 0.1rem;
}
.product__price-row del {
  font-size: 1rem;
  color: var(--mute);
  font-weight: 400;
  text-decoration-color: var(--mute);
  text-decoration-thickness: 1px;
}

.product__stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: var(--rule-bone);
}
.product__stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: var(--rule-bone);
  margin: 0;
}
.product__stat dt {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute);
  margin: 0;
}
.product__stat dd {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}

.size-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.size-pill {
  position: relative;
  min-width: 2.8rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.size-pill:hover {
  background: var(--bone-deep);
}
.size-pill.is-active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.size-pill[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* ---------- Cart page ------------------------------------------------- */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  border-top: var(--rule-bone);
}
.cart-table th, .cart-table td {
  padding: 0.95rem 0.75rem;
  border-bottom: var(--rule-bone);
  vertical-align: middle;
  text-align: left;
}
.cart-table th {
  font-family: var(--body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
}
.cart-row__media {
  width: 4.4rem; aspect-ratio: 1 / 1;
  background: var(--bone-deep);
}
.qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--ink);
}
.qty button {
  width: 2.1rem;
  background: transparent;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.qty button:hover { background: var(--ink); color: var(--bone); }
.qty input {
  width: 2.8rem; text-align: center;
  border: 0;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  background: transparent;
  font-family: var(--body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}

.cart-totals {
  margin-left: auto;
  max-width: 28rem;
  margin-top: 2rem;
  display: grid; gap: 0.55rem;
}
.cart-total-row {
  display: flex; justify-content: space-between;
  font-family: var(--body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0;
}
.cart-total-row--final {
  font-size: 1.25rem;
  font-weight: 700;
  border-top: var(--rule-bone);
  padding-top: 0.7rem;
}

/* ---------- Footer ---------------------------------------------------- */

.footer {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.6rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: var(--rule);                  /* 1px ink hairline */
}
.footer__top {
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.2rem);
  border-bottom: var(--rule-bone);
}
.footer__top .brand { color: var(--ink); }
.footer__top p {
  margin-top: 0.6rem;
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 720px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
.footer h2 {
  font-family: var(--body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.95rem; }
.footer a {
  color: var(--ink);
  transition: color var(--t-fast);
}
.footer a:hover { color: var(--accent); }
.footer__legal {
  margin-top: clamp(2rem, 4vw, 2.6rem);
  padding-top: 1.2rem;
  border-top: var(--rule-bone);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--mute);                       /* AA on --bone via --mute #6F695C */
}
.footer__legal a { color: var(--ink-soft); }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Toast ----------------------------------------------------- */

.toast {
  position: fixed;
  bottom: 1.2rem; right: 1.2rem;
  background: var(--ink); color: var(--bone);
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--accent);
  font-family: var(--body); font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0;
  text-transform: none;
  transform: translateY(120%);
  transition: transform var(--t-med);
  z-index: 200;
}
.toast.is-open { transform: translateY(0); }

/* ---------- Article body --------------------------------------------- */

.article {
  padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.article__head { max-width: 60ch; margin-bottom: 1.8rem; }
.article__head h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 0.8rem; }
.article__meta {
  font-family: var(--body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
}
.article__body {
  max-width: 62ch;
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.article__body p { margin-bottom: 1.2rem; }
.article__body h2 {
  font-size: 1.7rem;
  margin: 2.2rem 0 0.7rem;
}
.article__body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.article__body a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Card image hover (only transition we keep) --------------- */
/*  Image scale on .card:hover is defined in the card section above.    */
/*  No page-load animations beyond browser default.                      */

/* ---------- Utility --------------------------------------------------- */

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ---------- Static content pages -------------------------------------- */

.page { padding: clamp(0.8rem, 2vw, 1.4rem) 0 clamp(2.2rem, 5vw, 4rem); }
.page__head { max-width: 60ch; margin-bottom: 1.4rem; }
.page__h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  margin-bottom: 0.4rem;
}
.page__body { max-width: 64ch; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); }
.page__body h2 {
  font-size: 1.6rem;
  letter-spacing: 0;
  margin: 2.2rem 0 0.6rem;
  line-height: 1.2;
}
.page__body h3 {
  font-size: 1.1rem;
  margin: 1.6rem 0 0.4rem;
  letter-spacing: 0;
}
.page__body p { margin-bottom: 1rem; }
.page__body ul, .page__body ol {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1.1rem;
}
.page__body ol { list-style: decimal; }
.page__body li { margin-bottom: 0.4rem; }
.page__body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.page__body a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.page__body strong { color: var(--ink); font-weight: 600; }
.page__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.95rem;
}
.page__body th, .page__body td {
  text-align: left;
  border-bottom: var(--rule-bone);
  padding: 0.55rem 0.7rem;
  vertical-align: top;
}
.page__body th {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--mute);
  background: transparent;
}
.page__body tr:last-child td { border-bottom: none; }
.page__review-note {
  border: var(--rule-bone);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  background: var(--bone-deep);
  max-width: 64ch;
}
.page__review-note p { margin: 0.4rem 0 0; }
.page__review-note .eyebrow { color: var(--ink-soft); }   /* AA on bone-deep */

/* ---------- Form (contact) -------------------------------------------- */

.form { max-width: 44ch; }
.form__row { margin-bottom: 1rem; }
.form__row label {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.35rem;
}
.form__row input,
.form__row textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--ink);
  background: var(--bone);
  color: var(--ink);
  font-size: 1rem;
  border-radius: 0;
}
.form__row textarea { min-height: 7.5rem; resize: vertical; }
.form__row input:focus,
.form__row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form__status {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form__status[data-state="ok"] { color: var(--ink); }
.form__status[data-state="err"] { color: var(--accent); }

/* ---------- Search results -------------------------------------------- */

.search__hits { display: flex; flex-direction: column; gap: 0; }
.search__hit {
  display: block;
  padding: 0.85rem 0;
  border-bottom: var(--rule-bone);
  transition: background var(--t-fast);
}
.search__hit:hover { background: var(--bone-deep); }
.search__hit-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0;
  color: var(--ink);
}
.search__hit-cat {
  font-size: 0.78rem;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 0.15rem;
}
.search__empty {
  padding: 1.1rem 0;
  color: var(--ink-soft);
}

/* ---------- Journal index --------------------------------------------- */

.journal-list { display: grid; gap: 1.4rem; }
.journal-item {
  border-bottom: var(--rule-bone);
  padding-bottom: 1.4rem;
}
.journal-item:last-child { border-bottom: none; }
.journal-item h2 {
  font-size: 1.5rem;
  margin: 0.2rem 0 0.4rem;
  letter-spacing: 0;
}
.journal-item h2 a:hover { color: var(--accent); }
.journal-item__meta {
  font-family: var(--body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
}
.journal-empty { padding: 1.5rem 0; }
