:root {
  --paper: #f4efe6;
  --paper-deep: #ebe3d5;
  --ink: #1f1c18;
  --ink-soft: #5b544a;
  --line: rgba(31, 28, 24, 0.14);
  --accent: #9a5b3c;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { padding: 32px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 42px; height: 30px; }
.brand span { font-family: var(--serif); font-size: 21px; letter-spacing: 0.01em; }
.site-header nav a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }

/* Hero */
.hero { flex: 1; display: flex; align-items: center; padding: 48px 0 80px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 28px;
  opacity: 0; animation: rise 0.9s ease 0.1s forwards;
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.02em;
  max-width: 11ch;
  opacity: 0; animation: rise 1s ease 0.25s forwards;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede {
  margin-top: 32px; max-width: 34em; font-size: 18px; color: var(--ink-soft);
  opacity: 0; animation: rise 1s ease 0.45s forwards;
}
.hero .cta {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  opacity: 0; animation: rise 1s ease 0.6s forwards;
}
.button {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.button:hover { background: var(--accent); color: var(--paper); transform: translateY(-1px); }
.quiet { font-size: 14px; color: var(--ink-soft); }

/* Decorative rings */
.rings {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 640px; height: 640px; pointer-events: none;
  opacity: 0; animation: fade 2s ease 0.4s forwards;
}
.rings circle { fill: none; stroke: var(--ink); stroke-width: 0.6; opacity: 0.18; }
.rings circle.warm { stroke: var(--accent); opacity: 0.45; }
.rings .spin { transform-origin: 320px 320px; animation: drift 60s linear infinite; }

/* Pillars */
.pillars { border-top: 1px solid var(--line); padding: 56px 0 64px; }
.pillars .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillars h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.pillars p { color: var(--ink-soft); font-size: 15px; }
.pillars .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 15px; display: block; margin-bottom: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { flex: 1; padding: 40px 0 96px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.015em; line-height: 1.1; }
.legal .updated { margin: 12px 0 48px; font-size: 14px; color: var(--ink-soft); }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: #3a352e; margin-bottom: 14px; }
.legal ul { padding-left: 20px; }
.legal .callout { background: var(--paper-deep); border-left: 2px solid var(--accent); padding: 18px 22px; margin: 18px 0; }
.legal .callout p:last-child { margin-bottom: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes drift { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .site-header { padding: 22px 0; }
  .hero { padding: 24px 0 64px; }
  .hero p.lede { font-size: 16px; }
  .rings { width: 420px; height: 420px; right: -200px; top: 28%; }
  .pillars .wrap { grid-template-columns: 1fr; gap: 32px; }
  .wrap { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; opacity: 1 !important; }
}

.hero p.brandline {
  margin-top: 20px; font-family: var(--serif); font-size: 19px; color: var(--ink);
  opacity: 0; animation: rise 1s ease 0.52s forwards;
}
.hero p.brandline em { font-style: italic; color: var(--accent); }
.site-footer span { line-height: 1.7; }
