/* Vencelia — foundation: tokens, reset, base type, utilities */

:root {
  --blood: #CC0033;
  --blood-dark: #9E0028;
  --ink: #1A1A1A;
  --ink-deep: #0E0F12;
  --muted: #5A5A5A;
  --brass: #B8941F;
  --brass-soft: #E5C966;
  --paper: #F8F6F1;
  --paper-warm: #EFEAE0;
  --line: #D9D5CC;
  --line-strong: #BFBAA8;

  --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad: 24px;
  --section: clamp(64px, 8vw, 112px);
  --radius: 4px;
  --radius-lg: 8px;

  --container: 1180px;
  --container-narrow: 880px;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/BigShouldersDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blood); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ink-deep);
  text-transform: uppercase;
}
h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: 0.005em; }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }
h4 { font-size: 18px; letter-spacing: 0.04em; }
p { margin: 0 0 16px; max-width: 70ch; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper-warm); }
.section--ink { background: var(--ink-deep); color: #E8E6E1; }
.section--ink h2, .section--ink h3 { color: #FFF; }
.section--ink p { color: #C9C5BD; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blood);
  margin: 0 0 14px;
}
.section--ink .eyebrow { color: var(--brass-soft); }

.stripe {
  display: inline-block;
  width: 64px;
  height: 4px;
  background: var(--blood);
  margin: 0 0 18px;
}
.stripe--brass { background: var(--brass); }
.stripe--paper { background: var(--paper); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blood);
  color: #FFF;
  border: 2px solid var(--blood);
  border-radius: 0;
  cursor: pointer;
  transition: background 200ms, color 200ms, transform 200ms;
}
.btn:hover { background: var(--blood-dark); border-color: var(--blood-dark); color: #FFF; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink-deep); border-color: var(--ink-deep); }
.btn--ghost:hover { background: var(--ink-deep); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink-deep); border-color: var(--paper); }
.btn--paper:hover { background: var(--brass-soft); border-color: var(--brass-soft); color: var(--ink-deep); }

.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;
}
.goto-content {
  position: absolute; top: -100px; left: 16px; padding: 10px 16px;
  background: var(--ink-deep); color: #FFF; z-index: 999; transition: top 160ms;
}
.goto-content:focus { top: 16px; text-decoration: none; outline: 2px solid var(--brass-soft); }

:focus-visible { outline: 2px solid var(--blood); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
