:root {
  --burgundy: #5c1629;
  --burgundy-deep: #3f0e1c;
  --gold: #c5a257;
  --gold-bright: #d4b86a;
  --gold-soft: rgba(197, 162, 87, 0.22);
  --ink: #5c1629;
  --ink-soft: #6b3a47;
  --paper: #f7f1e6;
  --paper-deep: #ebe2d0;
  --line: rgba(92, 22, 41, 0.14);
  --shadow: 0 24px 60px rgba(92, 22, 41, 0.14);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, var(--gold-soft), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(92, 22, 41, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  line-height: 1.6;
}

a {
  color: var(--burgundy);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--gold);
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 0.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--burgundy);
  text-decoration: none;
}

.nav a:hover {
  color: var(--gold);
}

.hero {
  display: grid;
  align-items: end;
  min-height: calc(100vh - 5.5rem);
  padding: 2.5rem 0 4rem;
}

.hero-panel {
  max-width: 40rem;
  animation: rise 700ms ease-out both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--burgundy);
}

.hero .lede {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--gold-bright);
}

.btn-primary:hover {
  background: var(--burgundy-deep);
  color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(92, 22, 41, 0.28);
  color: var(--burgundy);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--burgundy-deep);
  background: var(--gold-soft);
}

.atmosphere {
  position: fixed;
  inset: auto -8% -20% auto;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(
    145deg,
    rgba(92, 22, 41, 0.45),
    rgba(197, 162, 87, 0.28)
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
  animation: drift 14s ease-in-out infinite alternate;
}

.page {
  padding: 2rem 0 4rem;
  animation: rise 500ms ease-out both;
}

.page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--burgundy);
}

.page .meta {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.prose {
  max-width: 42rem;
  background: rgba(247, 241, 230, 0.78);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.prose h2 {
  margin: 1.75rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--burgundy);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose a {
  color: var(--burgundy);
  font-weight: 600;
}

.prose a:hover {
  color: var(--gold);
}

.prose ul {
  padding-left: 1.2rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--gold);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(-24px, -18px) rotate(8deg);
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1080px, calc(100% - 1.5rem));
  }

  .brand-lockup img {
    height: 36px;
  }

  .hero {
    min-height: calc(100vh - 6.5rem);
    padding-top: 2rem;
  }

  .prose {
    padding: 1.15rem;
  }
}
