:root {
  --ink: #24201a;
  --muted: #776f63;
  --paper: #fffaf0;
  --surface: rgba(255, 255, 255, 0.84);
  --line: rgba(104, 82, 48, 0.18);
  --gold: #c9972e;
  --gold-deep: #8f6519;
  --teal: #0b776f;
  --shadow: 0 24px 70px rgba(58, 42, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: #f8efd9;
  color: var(--ink);
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(11, 119, 111, 0.17), transparent 34rem),
    radial-gradient(circle at 90% 8%, rgba(201, 151, 46, 0.22), transparent 28rem),
    linear-gradient(135deg, #fff8e7 0%, #f4ebd9 58%, #fffaf0 100%);
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-deep);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: lowercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.5);
}

.hero,
.doc-header {
  margin: 32px 0 20px;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::after,
.doc-header::after {
  content: "";
  position: absolute;
  inset: auto -90px -130px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 46, 0.22), transparent 68%);
  pointer-events: none;
}

.eyebrow,
.card-kicker {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: -0.05em;
  margin: 0;
}

h2 {
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  max-width: 780px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 22px 0 46px;
}

.card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 44px rgba(58, 42, 18, 0.07);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  border-color: rgba(11, 119, 111, 0.32);
  transform: translateY(-3px);
}

.card strong {
  font-family: Georgia, Cambria, serif;
  font-size: 26px;
  line-height: 1.1;
}

.card span:last-child {
  color: var(--muted);
}

.document {
  max-width: 880px;
  margin: 0 auto 46px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-row span {
  background: rgba(201, 151, 46, 0.12);
  border: 1px solid rgba(201, 151, 46, 0.22);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.section {
  margin: 14px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
}

.section p {
  color: var(--ink);
  margin: 0;
}

.section p + p {
  margin-top: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0 48px;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    font-size: 12px;
    padding: 7px 10px;
  }
}
