/* HOLD FAST — Theme */
:root {
  --bg: #0F0E0D;
  --bg-surface: #1A1917;
  --bg-card: #211F1C;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.25);
  --text-primary: #FAFAF9;
  --text-secondary: #A8A29E;
  --text-muted: #78716C;
  --border: rgba(168, 162, 158, 0.12);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(15, 14, 13, 0.8);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-lede {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  font-weight: 300;
}

/* Knot SVG */
.knot-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 340px;
}

.knot-svg {
  width: 280px;
  height: 280px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.4));
}

@keyframes rope-draw {
  from { stroke-dashoffset: 400; opacity: 0; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

.rope {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: rope-draw 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rope-1 { animation-delay: 0.1s; }
.rope-2 { animation-delay: 0.4s; }
.rope-3 { animation-delay: 0.7s; }
.rope-4 { animation-delay: 0.9s; }

@keyframes knot-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.knot-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  animation: knot-pulse 4s ease-in-out infinite;
}

/* Section commons */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 64px;
}

/* How It Works */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.3);
}

.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 24px;
  font-weight: 600;
}

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Two Modes */
.two-modes {
  padding: 120px 0;
}

.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mode-card {
  padding: 48px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mode-card:hover::before {
  opacity: 1;
}

.mode-icon {
  width: 60px;
  height: 60px;
  background: var(--amber-dim);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.mode-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.mode-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 300;
}

.mode-features {
  list-style: none;
}

.mode-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-features li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* Rituals */
.rituals {
  padding: 120px 0;
  background: var(--bg-surface);
}

.rituals-layout {
  max-width: 680px;
}

.ritual-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.ritual-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.ritual-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--amber-glow);
}

.ritual-dot-last {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  box-shadow: none;
}

.ritual-line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  background: var(--border);
  margin-top: 8px;
  margin-bottom: 8px;
}

.ritual-content {
  padding-bottom: 48px;
}

.ritual-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ritual-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Closing */
.closing {
  padding: 140px 0 120px;
  text-align: center;
}

.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 16px;
  font-weight: 300;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .knot-container {
    min-height: 240px;
  }

  .knot-svg {
    width: 200px;
    height: 200px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .how-it-works, .two-modes, .rituals, .closing {
    padding: 80px 0;
  }

  .step-card {
    padding: 28px 24px;
  }

  .mode-card {
    padding: 36px 28px;
  }

  .nav-tagline, .footer-copy {
    display: none;
  }

  .nav-inner, .footer-inner {
    padding: 0 20px;
  }

  .section-inner {
    padding: 0 20px;
  }

  .hero-inner {
    padding: 0 20px;
  }
}