:root {
  --cream: #FAF6F0;
  --soft: #F0E9DC;
  --terracotta: #B8644A;
  --terracotta-dark: #8F4A33;
  --sage: #7A8A6C;
  --ink: #2C2416;
  --ink-muted: #6B5E4F;
  --line: #E8DFD2;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', Georgia, serif;
  font-feature-settings: "ss01" on;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 500; line-height: 1.2; }

.serif-italic { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 220ms ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 1px 2px rgba(44,36,22,0.08), 0 6px 18px -8px rgba(184,100,74,0.45);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(44,36,22,0.1), 0 12px 28px -8px rgba(184,100,74,0.55); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: var(--soft); border-color: var(--ink-muted); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: #627057; }

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--soft);
  color: var(--terracotta-dark);
  border: 1px solid var(--line);
}
.pill-sage { background: rgba(122,138,108,0.12); color: #4f5b45; border-color: rgba(122,138,108,0.3); }
.pill-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -25px rgba(44,36,22,0.18); }

.card-soft { background: var(--soft); border-color: transparent; }

.num-badge {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.85;
}

/* Image frame — subtle organic asymmetry */
.img-frame {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.img-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.img-frame::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(44,36,22,0.08);
}
.img-frame-tl { border-top-left-radius: 80px; }
.img-frame-br { border-bottom-right-radius: 80px; }

/* Quote style */
.quote {
  position: relative;
  padding: 1.8rem 1.8rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.quote::before {
  content: '"';
  position: absolute;
  top: -0.4rem; left: 1rem;
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--terracotta);
  font-weight: 400;
}
.quote p { font-style: italic; font-family: 'Fraunces', serif; font-weight: 400; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.quote footer { margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--ink-muted); }
.quote-avatar {
  width: 2.2rem; height: 2.2rem; border-radius: 999px;
  background: var(--soft); color: var(--terracotta-dark);
  font-family: 'Fraunces', serif; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  transition: color 180ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terracotta); }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 1.2rem; height: 1.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C2416' stroke-width='1.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: contain;
  transition: transform 220ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div {
  padding: 0 0 1.6rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 65ch;
}

/* Nav link underline */
.nav-link { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: right;
  transition: transform 240ms ease;
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Section divider */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* Subtle textured background utility */
.bg-grain {
  background-color: var(--cream);
  background-image:
    radial-gradient(at 20% 10%, rgba(184,100,74,0.06) 0, transparent 45%),
    radial-gradient(at 80% 80%, rgba(122,138,108,0.08) 0, transparent 50%);
}

/* Checkmark list */
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; color: var(--ink); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 0.35rem;
  width: 1.1rem; height: 1.1rem; border-radius: 999px;
  background: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}

.cross-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; color: var(--ink-muted); }
.cross-list li::before {
  content: ''; position: absolute; left: 0; top: 0.35rem;
  width: 1.1rem; height: 1.1rem; border-radius: 999px;
  background: #C58B81;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: 60%; background-position: center; background-repeat: no-repeat;
}

.arrow-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; color: var(--ink-muted); }
.arrow-list li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--terracotta);
  font-weight: 500;
}

/* Mobile menu */
.mobile-menu { transform: translateX(100%); transition: transform 280ms ease; }
.mobile-menu.open { transform: translateX(0); }
body.menu-open { overflow: hidden; }

/* Section spacing */
section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 7rem 0; } }

.container-x { max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container-x { padding-inline: 2rem; } }

/* Countdown */
.cd-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 1rem 0.5rem;
  min-width: 78px;
  text-align: center;
}
.cd-num { font-family: 'Fraunces', serif; font-weight: 500; font-size: 2.2rem; line-height: 1; }
.cd-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-top: 0.4rem; }

/* Marker bullet variant */
.dot-hr {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--ink-muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.dot-hr::before, .dot-hr::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Utilities */
.hover-underline { position: relative; }
.hover-underline::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 280ms ease;
}
.hover-underline:hover::after { transform: scaleX(1); transform-origin: left; }

.stroke-text { -webkit-text-stroke: 1px var(--ink); color: transparent; }
