:root {
  --ink: #182623;
  --teal: #143f39;
  --cream: #fdf6ec;
  --gold: #c9a24b;
  --gold-soft: #e8c877;
  --coral: #e8794a;
  --rose: #d4567a;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

#site-nav {
  min-height: 72px;
  box-sizing: border-box;
  background: rgba(20, 63, 57, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
#site-nav.scrolled { background: rgba(20, 63, 57, .985); }
#mobile-menu { background: rgba(20, 63, 57, .985); }

.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-8 { bottom: 2rem; }
.top-\[72px\] { top: 72px; }
.top-\[15\%\] { top: 15%; }
.left-\[10\%\] { left: 10%; }
.bottom-\[20\%\] { bottom: 20%; }
.right-\[15\%\] { right: 15%; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }

.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-20 { width: 5rem; }
.w-64 { width: 16rem; }
.w-96 { width: 24rem; }
.h-0\.5 { height: .125rem; }
.h-px { height: 1px; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-20 { height: 5rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-\[640px\] { min-height: 640px; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-narrow { max-width: 760px; }
.max-w-content { max-width: 1080px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.p-2 { padding: .5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2\.5 { padding-left: .625rem; padding-right: .625rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pt-32 { padding-top: 8rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }

.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-2\.5 { gap: .625rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rounded-full { border-radius: 9999px; }
.rounded-card { border-radius: 12px; }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-ink\/5 { border-color: rgba(24,38,35,.08); }
.border-ink\/10 { border-color: rgba(24,38,35,.12); }
.border-cream\/10 { border-color: rgba(253,246,236,.12); }
.border-cream\/30 { border-color: rgba(253,246,236,.32); }
.border-gold-soft\/60 { border-color: rgba(232,200,119,.62); }

.bg-white { background: #fff; }
.bg-ink { background: var(--ink); }
.bg-teal-deep { background: var(--teal); }
.bg-teal-deep\/98 { background: rgba(20,63,57,.985); }
.bg-gold { background: var(--gold); }
.bg-gold\/30 { background: rgba(201,162,75,.30); }
.bg-gold\/5 { background: rgba(201,162,75,.07); }
.bg-gold-soft\/50 { background: rgba(232,200,119,.50); }
.bg-cream\/15 { background: rgba(253,246,236,.15); }
.bg-teal-deep\/10 { background: rgba(20,63,57,.10); }
.bg-coral\/10 { background: rgba(232,121,74,.10); }
.bg-coral\/8 { background: rgba(232,121,74,.08); }
.bg-rose\/10 { background: rgba(212,86,122,.10); }
.bg-gradient-to-br {
  background-image: linear-gradient(135deg, var(--teal), rgba(20,63,57,.92), rgba(120,53,15,.42));
}

.font-body { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.font-display { font-family: Georgia, "Times New Roman", serif; }
.font-heading { font-family: Georgia, "Times New Roman", serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-tight { letter-spacing: -.025em; }
.tracking-wide { letter-spacing: .025em; }
.tracking-widest { letter-spacing: .1em; }
.tracking-\[0\.2em\] { letter-spacing: .2em; }
.tracking-\[0\.3em\] { letter-spacing: .3em; }
.leading-tight { line-height: 1.2; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.7; }
.leading-\[1\.08\] { line-height: 1.08; }
.text-center { text-align: center; }
.text-\[15px\] { font-size: 15px; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.4rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 1.15; }
.text-white { color: #fff; }
.text-white\/85 { color: rgba(255,255,255,.85); }
.text-ink { color: var(--ink); }
.text-ink\/25 { color: rgba(24,38,35,.34); }
.text-ink\/30 { color: rgba(24,38,35,.42); }
.text-ink\/40 { color: rgba(24,38,35,.54); }
.text-ink\/45 { color: rgba(24,38,35,.62); }
.text-ink\/50 { color: rgba(24,38,35,.68); }
.text-ink\/60 { color: rgba(24,38,35,.75); }
.text-cream { color: var(--cream); }
.text-cream\/30 { color: rgba(253,246,236,.38); }
.text-cream\/40 { color: rgba(253,246,236,.48); }
.text-cream\/50 { color: rgba(253,246,236,.60); }
.text-cream\/60 { color: rgba(253,246,236,.70); }
.text-cream\/70 { color: rgba(253,246,236,.78); }
.text-cream\/80 { color: rgba(253,246,236,.88); }
.text-gold { color: #9b7423; }
.text-gold-soft { color: var(--gold-soft); }
.text-gold-soft\/80 { color: rgba(232,200,119,.82); }
.text-coral { color: var(--coral); }
.opacity-20 { opacity: .2; }
.opacity-40 { opacity: .4; }
.blur-3xl { filter: blur(64px); }
.backdrop-blur-xl { backdrop-filter: blur(20px); }
.transition-colors, .transition-all { transition: all .22s ease; }
.card-hover { box-shadow: 0 10px 30px rgba(20,63,57,.05); }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20,63,57,.12); }

.prose-article {
  width: min(760px, calc(100% - 3rem));
  margin: 0 auto;
  color: rgba(24,38,35,.88);
  font-size: 1.055rem;
  line-height: 1.82;
}
.prose-article h2,
.prose-article h3,
.prose-article h4 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}
.prose-article h2 { margin: 2.8rem 0 1rem; font-size: 1.8rem; }
.prose-article h3 { margin: 2rem 0 .75rem; font-size: 1.35rem; }
.prose-article p { margin: 0 0 1.35rem; }
.prose-article ul,
.prose-article ol { margin: 0 0 1.5rem 1.5rem; }
.prose-article ul { list-style: disc; }
.prose-article ol { list-style: decimal; }
.prose-article li { margin: .45rem 0; padding-left: .25rem; }
.prose-article a { color: #8c681f; text-decoration: underline; text-underline-offset: 3px; }
.prose-article blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(201,162,75,.08);
}
.prose-article table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; display: block; overflow-x: auto; }
.prose-article th,
.prose-article td { padding: .75rem; border: 1px solid rgba(24,38,35,.12); text-align: left; }
.prose-article img { max-width: 100%; height: auto; border-radius: 12px; }
main > article { padding-top: 8.5rem; }

@media (min-width: 768px) {
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:text-sm { font-size: .875rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 1.15; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.08; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:text-5xl { font-size: 3rem; line-height: 1.08; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
}

@media (min-width: 1280px) {
  .xl\:flex { display: flex; }
  .xl\:hidden { display: none; }
}

@media (max-width: 767px) {
  #site-nav { min-height: 68px; padding-left: 1.1rem; padding-right: 1.1rem; }
  #mobile-menu { top: 68px; }
  .prose-article { width: min(100% - 2.25rem, 760px); font-size: 1rem; line-height: 1.76; }
  .prose-article h2 { font-size: 1.55rem; }
  main > article { padding-top: 7rem; }
  .max-w-content, .max-w-narrow { width: 100%; box-sizing: border-box; }
}
