/* Agent context note: Global tokens, resets, typography, and shared primitives; verified through all local Playground routes. Update after design-system changes. */
:root {
  --ivory: #f7f2e9;
  --ivory-soft: #fcf9f3;
  --paper: #fffdf8;
  --ink: #24231f;
  --ink-soft: #5b584f;
  --olive: #6e7055;
  --olive-dark: #555841;
  --gold: #b98745;
  --line: rgba(77, 68, 54, 0.16);
  --shadow: 0 20px 55px rgba(60, 50, 34, 0.09);
  --serif: "EB Garamond", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.4rem, 6.4vw, 6.7rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(185, 135, 69, 0.22);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  margin-inline: auto;
  width: var(--shell);
}

.shell--narrow {
  max-width: 820px;
}

.section {
  padding: clamp(82px, 9vw, 132px) 0;
}

.section-heading {
  margin-bottom: 46px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading > p:last-child {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 720px;
}

.section-heading--split {
  align-items: end;
  display: flex;
  justify-content: space-between;
  text-align: left;
}

.section-heading--split h2 {
  margin: 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.rule {
  background: var(--gold);
  display: block;
  height: 1px;
  margin: 25px 0;
  width: 50px;
}

.rule--center {
  margin-inline: auto;
}

.button {
  align-items: center;
  background: var(--olive);
  border: 1px solid var(--olive);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.83rem;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0.015em;
  min-height: 48px;
  padding: 0 27px;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding-inline: 23px;
}

.text-link {
  border-bottom: 1px solid var(--gold);
  font-size: 0.84rem;
  font-weight: 500;
  padding-bottom: 3px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -100px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.entry-content {
  font-size: 1.08rem;
}

.entry-content > * + * {
  margin-top: 1.4em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
}
