/* Base: reset, type scale, buttons, helpers. Colours and fonts come from brand.css. */
:root {
  --gutter: clamp(20px, 3vw, 30px);
  --max: 1220px;
  --max-wide: 1400px;
  --header-h: 108px;
  --topbar-h: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
a { color: inherit; }
p { margin: 0 0 1.2em; color: var(--muted); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.18; margin: 0 0 .65em; letter-spacing: .01em; color: var(--text); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
strong { font-weight: 500; color: var(--text); }
address { font-style: normal; }
ul, ol { color: var(--muted); }

.title { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.6rem); text-transform: uppercase; }
.lead { font-size: 1.1875rem; }
.kicker { font: 500 .8125rem/1.4 var(--font-heading); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wide { width: min(100% - 2 * var(--gutter), var(--max-wide)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--surface { background: var(--surface); }
.section-head { text-align: center; max-width: 860px; margin: 0 auto clamp(32px, 4vw, 52px); }
.prose { max-width: 820px; margin-inline: auto; }
.prose--center { margin-inline: auto; text-align: center; }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* Buttons: outlined in the brand accent, as in the reference layout */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border: 2px solid var(--accent); background: transparent; color: var(--text);
  font: 500 .8125rem/1.25 var(--font-heading); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--bg); border-color: var(--bg); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--light { background: #fff; border-color: #fff; color: #1b1b1b; }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--ghost { border-color: var(--muted); color: var(--muted); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--solid { background: var(--accent); color: var(--on-accent); }
.btn--solid:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-stack { display: grid; gap: 12px; margin-top: 28px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
