/* ===== In Belfast — base.css : reset, tokens, elements, utilities ===== */

/* ---- Design tokens ---- */
:root {
  --ink: #0E0E0E;
  --ink-2: #000712;
  --paper: #FFFFFF;
  --cream: #F8F3ED;
  --sand: #DCC1A7;
  --sand-deep: #C9A986;
  --sand-ink: #1A1205;
  --grey: #F3F3F3;
  --line: #DDDDDD;
  --line-dk: rgba(255,255,255,0.16);
  --muted: rgba(14,14,14,0.62);
  --muted-dk: rgba(255,255,255,0.68);

  --font: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 0px;          /* the Aventureux tell: sharp corners */
  --radius-pill: 999px;   /* only round controls */

  --section-y: clamp(56px, 9vw, 120px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
img { border-radius: var(--radius); }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

/* ---- Fluid type scale ---- */
h1, .h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; }
h2, .h2 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); line-height: 1.14; }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { max-width: 68ch; }

/* ---- Focus ---- */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .section-dark :focus-visible { outline-color: var(--sand); }

/* ---- Utilities ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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;
}
.section { padding-block: var(--section-y); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-cream { background: var(--cream); }
.muted { color: var(--muted); }
.section-dark .muted, .on-dark .muted { color: var(--muted-dk); }
.center { text-align: center; }
[hidden] { display: none !important; }
