@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Yeseva One";
  src: url("../assets/fonts/yeseva-one-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fallback Serif";
  src: local("Georgia");
  font-display: swap;
}

:root {
  --bg: #151b19;
  --bg-deep: #101513;
  --surface: #1c2421;
  --surface-light: #232d29;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.8);
  --faint: rgba(255, 255, 255, 0.54);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ed7f38;
  --accent-dark: #bd5420;
  --serif: "Yeseva One", "Fallback Serif", Georgia, serif;
  --sans: "Roboto", Arial, sans-serif;
  --container: 1200px;
  --space: clamp(4.5rem, 9vw, 8.125rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
a, button { touch-action: manipulation; }
[id] { scroll-margin-top: 2rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.85rem, 8vw, 5rem); line-height: 1.03; }
h2 { font-size: clamp(2.15rem, 5.4vw, 3.25rem); line-height: 1.12; }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25; }
p { color: var(--muted); }
ul, ol { color: var(--muted); }
::selection { background: var(--accent); color: var(--bg-deep); }
:focus-visible { outline: 3px solid #ffb27e; outline-offset: 4px; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--deep { background: var(--bg-deep); }
.section--line { border-top: 1px solid var(--line); }
.section-heading { max-width: 740px; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { max-width: 620px; margin-bottom: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { width: 26px; height: 1px; background: currentColor; content: ""; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.7rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: var(--bg-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover { border-color: #f59355; background: #f59355; transform: translateY(-2px); }
.button--outline { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.button--outline:hover { border-color: #fff; background: #fff; color: var(--bg); }
.button--small { min-height: 40px; padding: 0.7rem 1.25rem; font-size: 0.66rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.text-link::after { content: "→"; transition: transform 180ms ease; }
.text-link:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.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;
}
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 10000; padding: 0.75rem 1rem; background: #fff; color: #111; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.notice {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: rgba(237,127,56,.1);
  color: #f6d8c5;
}
.notice strong { color: #fff; }
.muted { color: var(--muted); }

@media (min-width: 768px) {
  .container { width: min(calc(100% - 4rem), var(--container)); }
  .section-heading { margin-bottom: 3.5rem; }
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
  .button { min-height: 48px; }
}

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

:root { --ease-out-quart: cubic-bezier(.25,1,.5,1); --ease-in-out-circ: cubic-bezier(.85,0,.15,1); }
.section--no-top { padding-top: 0; }
@media (min-width: 1024px) {
  body { font-size: 16px; }
}
