/* ==========================================================================
   Vintner — utilities: layout primitives and small helpers
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1760px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--sunk { background: var(--bg-sunk); }
.section--raised { background: var(--bg-raised); }

.grid { display: grid; gap: var(--col-gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.stack > * + * { margin-top: var(--stack, var(--s-5)); }
.stack--l { --stack: var(--s-7); }
.stack--s { --stack: var(--s-3); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.row--between { justify-content: space-between; }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.label {
  font-family: var(--font-body); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--fg-muted);
}
.label--accent { color: var(--accent-text); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg); }
.muted { color: var(--fg-muted); }
.accent-text { color: var(--accent-text); }
.measure { max-width: 60ch; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.display-xl { font-family: var(--font-display); font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: var(--fw-display); }
.display-l  { font-family: var(--font-display); font-size: var(--fs-display-l);  line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: var(--fw-display); }
.h1, .h2, .h3, .h4 { font-family: var(--font-display); font-weight: var(--fw-display); line-height: var(--lh-heading); letter-spacing: var(--ls-display); font-variant-numeric: lining-nums; font-variation-settings: var(--fv-display); }
.h1 { font-size: var(--fs-h1); } .h2 { font-size: var(--fs-h2); } .h3 { font-size: var(--fs-h3); } .h4 { font-size: var(--fs-h4); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hide-mobile { display: none; }
@media (min-width: 900px) { .hide-mobile { display: initial; } .hide-desktop { display: none !important; } }
