/* =============================================
   REMNANT — Craft Supply Subscription
   Warm editorial aesthetic, earthy palette
   ============================================= */

:root {
  --cream: #FAF6F1;
  --cream-dark: #F0EBE2;
  --sage: #4A6355;
  --sage-light: #6B8C7E;
  --amber: #C98B4D;
  --amber-light: #E4B876;
  --ink: #2C2416;
  --ink-light: #5C5040;
  --border: rgba(74, 99, 85, 0.18);
}

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

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

body {
  background: var(--cream);
  color: var(--sage);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.section-label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

/* =============================================
   MANIFESTO — Hero
   ============================================= */

.manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(201, 139, 77, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(74, 99, 85, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.manifesto__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.manifesto__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.manifesto__headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.manifesto__sub {
  font-size: 1.0625rem;
  color: var(--ink-light);
  line-height: 1.75;
  max-width: 48ch;
}

/* Manifesto visual — stacked items */
.manifesto__visual {
  position: relative;
}

.manifesto__stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.manifesto__item {
  background: var(--cream-dark);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(44, 36, 22, 0.06);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manifesto__item:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(44, 36, 22, 0.1);
}

/* Paper item — ledger texture */
.manifesto__item--paper {
  background: linear-gradient(135deg, #F5EDE0 0%, #EDE3D2 100%);
}

.manifesto__paper-texture {
  width: 48px;
  height: 36px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(74, 99, 85, 0.08) 8px, rgba(74, 99, 85, 0.08) 9px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(74, 99, 85, 0.05) 40px, rgba(74, 99, 85, 0.05) 41px);
  border-radius: 3px;
  border: 1px solid rgba(74, 99, 85, 0.15);
}

/* Tape item */
.manifesto__item--tape {
  background: linear-gradient(135deg, #F0E8DC 0%, #E8DCC8 100%);
  margin-left: 2rem;
}

.manifesto__tape-strip {
  width: 64px;
  height: 20px;
  background: repeating-linear-gradient(
    45deg,
    #C98B4D 0px, #C98B4D 4px,
    #E4B876 4px, #E4B876 8px
  );
  border-radius: 2px;
  border: 1px solid rgba(201, 139, 77, 0.4);
}

/* Wax seal item */
.manifesto__item--wax {
  background: linear-gradient(135deg, #E8E0D5 0%, #DED4C8 100%);
  margin-left: 1rem;
}

.manifesto__wax-seal {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 35% 35%, #B07A3A 0%, #8B5E2B 60%, #6B4820 100%);
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), 0 2px 6px rgba(107, 72, 32, 0.3);
  position: relative;
}

.manifesto__wax-seal::after {
  content: 'R';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 245, 230, 0.85);
}

/* Botanical item */
.manifesto__item--botanical {
  background: linear-gradient(135deg, #EEF0EC 0%, #E2E7E1 100%);
  margin-left: 0.5rem;
}

.manifesto__botanical-art {
  width: 40px;
  height: 40px;
  position: relative;
}

.manifesto__botanical-art::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 28px;
  background: linear-gradient(to top, #6B8C7E, #4A6355);
  border-radius: 2px 2px 4px 4px;
}

.manifesto__botanical-art::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 20px;
  background: radial-gradient(ellipse at center, #6B8C7E 0%, #4A6355 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.9;
}

.manifesto__item-label {
  font-size: 0.8125rem;
  color: var(--ink-light);
  font-style: italic;
}

/* =============================================
   WHAT'S INSIDE
   ============================================= */

.whatsinside {
  background: var(--cream-dark);
  padding: 6rem 2rem;
  position: relative;
}

.whatsinside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.whatsinside__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.whatsinside__header {
  text-align: center;
  margin-bottom: 4rem;
}

.whatsinside__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-style: italic;
  color: var(--ink);
}

.whatsinside__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.whatsinside__card {
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.whatsinside__card:hover {
  box-shadow: 0 8px 32px rgba(44, 36, 22, 0.08);
  transform: translateY(-3px);
}

.whatsinside__icon {
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.whatsinside__card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.whatsinside__card p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.65;
}

.whatsinside__pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pricing__tier {
  text-align: center;
}

.pricing__amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.pricing__per {
  font-size: 0.875rem;
  color: var(--ink-light);
  margin-top: 0.25rem;
}

.pricing__retail {
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 500;
  margin-top: 0.5rem;
}

.pricing__detail p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.6;
  max-width: 28ch;
}

/* =============================================
   THE HUNT
   ============================================= */

.thehunt {
  background: var(--cream);
  padding: 6rem 2rem;
}

.thehunt__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.thehunt__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.thehunt__body {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.thehunt__stats {
  display: flex;
  gap: 3rem;
}

.thehunt__stat {
  display: flex;
  flex-direction: column;
}

.thehunt__number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.thehunt__desc {
  font-size: 0.75rem;
  color: var(--ink-light);
  margin-top: 0.5rem;
  line-height: 1.4;
  max-width: 12ch;
}

/* Hunt shelf visual */
.thehunt__shelf {
  background: linear-gradient(160deg, #F0EBE2 0%, #E8E2D8 100%);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
}

.shelf__label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.shelf__item {
  font-size: 0.9375rem;
  color: var(--ink);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.2s;
}

.shelf__item:last-child {
  border-bottom: none;
}

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

/* =============================================
   CLOSING
   ============================================= */

.closing {
  background: var(--ink);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201, 139, 77, 0.12) 0%, transparent 70%);
}

.closing__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.closing__quote blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: rgba(250, 246, 241, 0.85);
  line-height: 1.5;
  margin-bottom: 3rem;
}

.closing__statement h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--cream);
  font-style: italic;
  margin-bottom: 1rem;
}

.closing__statement p {
  font-size: 1rem;
  color: rgba(250, 246, 241, 0.55);
  margin-bottom: 2.5rem;
}

.closing__cta-text {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--amber);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--ink);
  border-top: 1px solid rgba(250, 246, 241, 0.08);
  padding: 3rem 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
}

.footer__tagline {
  font-size: 0.8125rem;
  color: rgba(250, 246, 241, 0.4);
  margin-top: 0.375rem;
}

.footer__meta {
  text-align: right;
}

.footer__built {
  font-size: 0.8125rem;
  color: rgba(250, 246, 241, 0.4);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(250, 246, 241, 0.25);
  margin-top: 0.25rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .manifesto__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .manifesto__visual {
    display: none;
  }

  .whatsinside__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .thehunt__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .thehunt__stats {
    gap: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__meta {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .manifesto {
    padding: 4rem 1.5rem 3rem;
  }

  .whatsinside,
  .thehunt,
  .closing {
    padding: 4rem 1.5rem;
  }

  .whatsinside__pricing {
    flex-direction: column;
    gap: 1.5rem;
  }

  .thehunt__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .thehunt__number {
    font-size: 1.5rem;
  }
}