/* Evertide refresh 2026-10-27 (Hallmark polish: labels, scale, mark, tokens). Append to the end of /assets/site.css. */

:root {
  --field-edge: #b9b5ac;
  --placeholder: #8d9196;
  --t-section: 2.5rem;   /* 40: section heads */
  --t-figure: 1.75rem;   /* 28: mandate figures */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M24 38a16 16 0 0 1 32 0z' fill='%2315191e'/%3E%3Crect x='6' y='42' width='52' height='5' fill='%2315191e'/%3E%3Crect x='6' y='52' width='32' height='5' fill='%2315191e'/%3E%3C/svg%3E");
}

html, body { overflow-x: clip; }
::selection { background: var(--accent); color: var(--paper); }
body { caret-color: var(--accent); }

/* Brand: mark + wordmark */
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.4375rem; }
.brand::before { content: ""; width: 2.1rem; height: 2.1rem; flex: none; background: var(--mark) center / contain no-repeat; }
.site-footer .brand { font-size: 1.25rem; }

/* Labels: body face, sentence case, no tracking (the source text is already sentence case) */
.label, .terms dt, .site-footer h2 {
  text-transform: none; letter-spacing: 0; font: 500 var(--t-sm)/1.4 var(--sans); color: var(--ink-2);
}
/* Section labels in the left column become the section heads */
.section .row__label .label { font: 400 var(--t-section)/1.1 var(--serif); letter-spacing: -.012em; color: var(--ink); margin-bottom: 1.25rem; }
.section .row__label .note { margin-top: .25rem; }

/* Priority flag: an inline tag, not tracked caps */
.ruled .flag {
  display: table; margin: .6rem 0 0; padding: .2rem .55rem; text-transform: none; letter-spacing: 0;
  font: 500 var(--t-xs)/1.3 var(--sans); color: var(--accent); border: 1px solid var(--accent);
}

/* Mandate: the four terms are the page's signature, set large */
.terms dd { font-size: var(--t-figure); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.terms dd span { font-size: var(--t-sm); margin-top: .65rem; }
.terms > div { padding-top: 1.75rem; padding-bottom: .5rem; }

/* Scale: section heads and item titles */
.section h2 { font-size: var(--t-section); line-height: 1.12; letter-spacing: -.012em; }
.ruled h3, .cols h3 { font-size: 1.5rem; }
.hero--home h1 { font-size: 2.875rem; line-height: 1.08; letter-spacing: -.018em; }
.hero__sub { font-size: 1.375rem; }

/* Rhythm: vary the seams instead of a hairline at every section */
.section { padding: 7.5rem 0; }
.section--alt { border-bottom: 0; }
.section--alt + .section { border-top: 0; }
.plate__media::after { opacity: .12; }

/* Token hygiene: literals lifted */
.field input, .field select, .field textarea { border-color: var(--field-edge); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.btn { transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

@media (max-width: 720px) {
  :root { --t-section: 1.875rem; --t-figure: 1.875rem; }
  .brand { font-size: 1.25rem; }
  .brand::before { width: 1.6rem; height: 1.6rem; }
  .hero--home h1 { font-size: 1.75rem; }
  .hero__sub { font-size: var(--t-sm); }
  .section { padding: 4.5rem 0; }
}
