/* ====================
   FLAMELIGHT — Design System
   ==================== */

:root {
  --bg: #F5F0EB;
  --bg-warm: #EDE6DC;
  --fg: #2D2320;
  --fg-muted: #6B5E56;
  --accent: #C4714A;
  --accent-light: #D4956E;
  --gold: #C9943B;
  --white: #FFFFFF;
  --border: rgba(45, 35, 32, 0.12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
  --gap: clamp(24px, 4vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(45, 35, 32, 0.78) 0%,
    rgba(45, 35, 32, 0.5) 50%,
    rgba(45, 35, 32, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.05;
  color: #FAF7F2;
  margin-bottom: 28px;
  font-style: italic;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(250, 247, 242, 0.78);
  max-width: 460px;
  line-height: 1.7;
  font-weight: 300;
}

/* ==================== MANIFESTO ==================== */
.manifesto {
  background: var(--bg-warm);
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.55;
  color: var(--fg-muted);
  font-style: italic;
  font-weight: 400;
}

/* ==================== RITUAL ==================== */
.ritual {
  background: var(--bg);
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.ritual-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ritual-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.ritual-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 24px;
}

.ritual-body {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--fg-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 40px;
}

.ritual-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.ritual-cta:hover {
  background: var(--accent-light);
}

@media (max-width: 768px) {
  .ritual-headline {
    font-size: clamp(30px, 8vw, 48px);
  }
}

/* ==================== CATEGORY SECTIONS ==================== */
.category {
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
}

.category-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.accent-reverse .category-inner {
  direction: rtl;
}
.accent-reverse .category-text-col {
  direction: ltr;
}
.accent-reverse .category-image-col {
  direction: ltr;
}

.category-image-col {
  position: relative;
}

.category-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

.category-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.category-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  font-style: italic;
}

.category-body {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 300;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-list li {
  font-size: 14px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
  font-weight: 400;
}

.category-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==================== CLOSING ==================== */
.closing {
  background: var(--fg);
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-flame {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: #FAF7F2;
  margin-bottom: 28px;
  font-style: italic;
}

.closing-body {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(250, 247, 242, 0.68);
  line-height: 1.75;
  font-weight: 300;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 48px clamp(24px, 6vw, 80px);
  background: #1A1512;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: #FAF7F2;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.4);
  letter-spacing: 0.05em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(250, 247, 242, 0.78);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-social {
  list-style: none;
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: rgba(250, 247, 242, 0.6);
  transition: color .2s ease;
}

.footer-social a:hover {
  color: var(--accent-light);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: rgba(250, 247, 242, 0.3);
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
  background: var(--bg-warm);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 80px);
  text-align: center;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic;
  color: var(--fg);
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.newsletter-email {
  flex: 1 min 220px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  background: var(--white);
}

.newsletter-email::placeholder {
  color: var(--fg-muted);
}

.newsletter-button {
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-button:hover {
  background: var(--accent-light);
}

.newsletter-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter-message {
  margin-top: 14px;
  font-size: 14px;
  color: var(--fg-muted);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    min-height: 85svh;
  }

  .hero-headline {
    font-size: clamp(40px, 10vw, 64px);
  }

  .category-inner,
  .accent-reverse .category-inner {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .category-img {
    aspect-ratio: 4 / 3;
  }

  .closing-headline {
    font-size: clamp(32px, 8vw, 52px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}