:root {
  --bg: #f5ebd6;
  --bg-deep: #e8dcc1;
  --paper: #fbf5e6;
  --ink: #1a1108;
  --ink-soft: #5c4a3a;
  --ink-mute: #8a7866;
  --line: #d9c9a8;
  --accent: #8B2E1F;
  --accent-hover: #6b2117;
  --gold: #b8851c;
  --gold-soft: #f3e2b0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 25% 15%, rgba(184,133,28,0.06), transparent 35%),
    radial-gradient(circle at 80% 85%, rgba(139,46,31,0.06), transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 0.06 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
}

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

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 22px 64px;
}
@media (max-width: 480px) { .wrap { padding: 32px 18px 48px; } }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.logomark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: 'DM Serif Display', serif;
}
.brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  letter-spacing: 0.01em;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
}

.hero { margin: 0 0 40px; }
.hero h1 { font-size: clamp(40px, 9vw, 56px); }
.hero .sub {
  font-size: clamp(17px, 4vw, 19px);
  color: var(--ink-soft);
  margin: 18px 0 0;
  max-width: 32ch;
}

/* Rituals */
.rituals {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 48px;
}
.ritual {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 22px 20px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: border-color 0.15s, transform 0.05s, box-shadow 0.15s;
}
.ritual:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px -16px rgba(0,0,0,0.18);
}
.ritual:active { transform: translateY(1px); }

.ritual-soon {
  opacity: 0.62;
  cursor: default;
}
.ritual-soon:hover { border-color: var(--line); box-shadow: none; transform: none; }

.ritual-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ritual-soon .ritual-icon { background: var(--bg-deep); color: var(--ink-mute); }

.ritual-text { flex: 1; min-width: 0; }
.ritual-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 4px;
}
.ritual-soon .ritual-kicker { color: var(--ink-mute); }

.ritual h2 {
  font-size: clamp(24px, 5vw, 28px);
  line-height: 1.1;
  margin: 0 0 6px;
}
.ritual p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}
.ritual-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ritual-cta.dim { color: var(--ink-mute); text-decoration: none; }

/* Manifesto */
.manifesto {
  border-top: 1px dashed var(--line);
  padding-top: 32px;
  margin: 8px 0 32px;
}
.manifesto h3 { font-size: 22px; margin-bottom: 10px; }
.manifesto p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 56ch;
}

footer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
}
footer a { color: var(--ink-soft); }
