@font-face {
  font-family: "Fraunces Slate";
  src: url("../assets/fonts/fraunces-display.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karla Slate";
  src: url("../assets/fonts/karla-text.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cb7-ink: #101010;
  --cb7-quiet: #55554f;
  --cb7-faint: #6b6b64;
  --cb7-paper: #ffffff;
  --cb7-tint: #fbfbf9;
  --cb7-plinth: #f2f1ed;
  --cb7-accent: #e2580a;

  --cb7-display: "Fraunces Slate", Georgia, "Times New Roman", serif;
  --cb7-text: "Karla Slate", "Helvetica Neue", Arial, sans-serif;

  --cb7-shell: 1240px;
  --cb7-gutter: 24px;
  --cb7-air: 96px;
  --cb7-gap: 26px;

  --cb7-key: 18px 4px 18px 4px;
  --cb7-key-flip: 4px 18px 4px 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cb7-paper);
  color: var(--cb7-ink);
  font-family: var(--cb7-text);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--cb7-display);
  font-weight: 600;
  margin: 0;
  color: var(--cb7-ink);
}

h1 {
  font-size: clamp(2.35rem, 5.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: 0.004em;
}

h2 {
  font-size: clamp(1.85rem, 3.9vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0.006em;
}

h3 {
  font-size: clamp(1.22rem, 2.3vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: 0.008em;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--cb7-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover { text-decoration-color: var(--cb7-accent); }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--cb7-accent);
  outline-offset: 3px;
}

.cb7-shell {
  width: 100%;
  max-width: var(--cb7-shell);
  margin: 0 auto;
  padding-left: var(--cb7-gutter);
  padding-right: var(--cb7-gutter);
}

.cb7-mark {
  font-family: var(--cb7-text);
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cb7-quiet);
  margin: 0;
}

.cb7-mark--accent {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--cb7-ink);
}

.cb7-mark--accent::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 3px;
  background: var(--cb7-accent);
}

.cb7-read {
  max-width: 38em;
  color: var(--cb7-quiet);
}

.cb7-read--wide { max-width: 46em; }

.cb7-lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--cb7-ink);
  max-width: 30em;
}

.cb7-press {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 30px;
  border: 2px solid var(--cb7-accent);
  border-radius: var(--cb7-key);
  background: var(--cb7-accent);
  color: #ffffff;
  font-family: var(--cb7-text);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: border-radius 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cb7-press:hover,
.cb7-press:focus-visible {
  background: var(--cb7-paper);
  color: var(--cb7-ink);
  border-radius: var(--cb7-key-flip);
  text-decoration: none;
}

.cb7-press:active { transform: translateY(2px); }

.cb7-press--quiet {
  background: var(--cb7-paper);
  color: var(--cb7-ink);
  border-color: var(--cb7-ink);
  font-weight: 600;
}

.cb7-press--quiet:hover,
.cb7-press--quiet:focus-visible {
  background: var(--cb7-plinth);
  color: var(--cb7-ink);
  border-color: var(--cb7-accent);
  border-radius: var(--cb7-key-flip);
}

.cb7-press--small {
  min-height: 48px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
}

.cb7-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  background: var(--cb7-paper);
  color: var(--cb7-ink);
  border: 2px solid var(--cb7-accent);
  padding: 12px 20px;
  border-radius: var(--cb7-key);
  font-weight: 600;
  text-decoration: none;
}

.cb7-skip:focus {
  left: 16px;
  top: 12px;
}

.cb7-off {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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