/* ============================================================
   Annabelle Taylor — Integrated Grief & Infidelity Support
   Edit colors, fonts, and spacing in :root below.
   ============================================================ */

:root {
  /* Brand palette — soft, warm, calm */
  --color-bg: #fff5e8;          /* hsl(30, 100%, 96%)  page cream */
  --color-bg-alt: #fbeada;      /* slightly deeper cream for sections */
  --color-text: #2b2018;        /* warm near-black */
  --color-muted: #6b5d51;       /* warm gray-brown */
  --color-accent: #c08a6a;      /* terracotta accent */
  --color-line: #e8d8c4;        /* hairline divider */

  /* Typography */
  --font-display: "Tenor Sans", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Pontano Sans", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(64px, 9vw, 140px);
}

/* ----- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .65; }
button { font: inherit; cursor: pointer; }

/* ----- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--color-muted); }

/* ----- Announcement bar ------------------------------------- */
.announcement {
  background: var(--color-bg-alt);
  color: var(--color-text);
  text-align: center;
  font-size: .85rem;
  letter-spacing: .04em;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--color-line);
}
.announcement a { text-decoration: underline; }

/* ----- Header ----------------------------------------------- */
.site-header {
  background: var(--color-bg);
  padding: clamp(18px, 2.4vw, 32px) var(--gutter);
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img { height: 22px; width: auto; }
.site-logo--text {
  font-family: var(--font-display);
  letter-spacing: .35em;
  font-size: .95rem;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.site-nav a {
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.menu-toggle { display: none; }

/* ----- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-text);
  color: var(--color-bg);
  border: 1px solid var(--color-text);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: transparent; color: var(--color-text); opacity: 1; }
.btn--ghost { background: transparent; color: var(--color-text); }
.btn--ghost:hover { background: var(--color-text); color: var(--color-bg); }

/* ----- Sections --------------------------------------------- */
.section {
  padding: var(--section-y) var(--gutter);
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--alt { background: var(--color-bg-alt); }

/* ----- Hero (image + text) ---------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__text h1 { margin-bottom: .4em; }

/* ----- Newsletter / banner ---------------------------------- */
.banner {
  text-align: center;
  padding: clamp(64px, 10vw, 140px) var(--gutter);
  background: var(--color-bg-alt);
}
.banner h2 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.banner h2 a { border-bottom: 1px solid currentColor; padding-bottom: 6px; }

/* ----- About (text + image) --------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about__image {
  justify-self: end;
  width: 100%;
}
.about__image img {
  width: 100%;
  height: auto;
  display: block;
}
.about__text p { color: var(--color-muted); }
.about__text p + p { margin-top: 1em; }

/* ----- Page heading ----------------------------------------- */
.page-heading {
  text-align: center;
  padding: clamp(48px, 7vw, 100px) var(--gutter) clamp(24px, 4vw, 48px);
}
.page-heading h1, .page-heading h2 { margin: 0 0 16px; }
.page-heading p { color: var(--color-muted); max-width: 620px; margin: 0 auto; }

/* ----- Product grid ----------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-y);
}
.product {
  display: block;
  color: var(--color-text);
}
.product__image {
  margin-bottom: 18px;
}
.product__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s ease;
}
.product:hover .product__image img { transform: translateY(-3px); }
.product__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.product__price {
  font-size: .9rem;
  color: var(--color-muted);
  letter-spacing: .04em;
}

/* ----- Filter chips (offerings) ----------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 var(--gutter) clamp(24px, 4vw, 48px);
}
.filter {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  border-radius: 999px;
  padding: 9px 22px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter:hover { border-color: var(--color-text); }
.filter.is-active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}
.empty-state {
  text-align: center;
  color: var(--color-muted);
  padding: 0 var(--gutter) var(--section-y);
  font-size: 1rem;
}

/* ----- Product detail page ---------------------------------- */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) var(--gutter) 0;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--color-muted);
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-text); opacity: 1; }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--color-text); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--gutter) var(--section-y);
  align-items: start;
}
.product-detail__gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.product-detail__info h1 {
  margin-bottom: .3em;
}
.product-detail__price {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 28px;
}
.product-detail__description {
  color: var(--color-text);
  margin-bottom: 32px;
}
.product-detail__description p { margin-bottom: 1em; }
.product-detail__description em { color: var(--color-muted); }
.product-detail__quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.product-detail__quantity label {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.product-detail__quantity input {
  width: 72px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  font: inherit;
  text-align: center;
}
.product-detail__checkout-note {
  margin: 14px 0 0;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--color-muted);
}

/* Reviews section */
.reviews {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-y);
  border-top: 1px solid var(--color-line);
}
.reviews h2 {
  text-align: center;
  margin: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 40px);
}
.review {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
}
.review__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 8px;
  font-size: .9rem;
  color: var(--color-muted);
}
.review__name { color: var(--color-text); font-weight: 700; }
.review__stars { color: var(--color-accent); letter-spacing: .15em; }
.review p { margin: 0; }
.reviews__empty {
  text-align: center;
  color: var(--color-muted);
  padding: 24px 0;
  font-size: .95rem;
}

/* ----- Thank-you pages -------------------------------------- */
.thanks {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(64px, 9vw, 130px) var(--gutter);
}
.thanks h1 { margin-bottom: 24px; }
.thanks .lead { margin-bottom: 36px; }
.thanks .btn { margin-bottom: 28px; }
.thanks__note {
  font-size: .9rem;
  color: var(--color-muted);
  margin-top: 32px;
}

/* ----- Form ------------------------------------------------- */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-y);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--color-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  font: inherit;
  color: var(--color-text);
  margin-bottom: 18px;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-text);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .actions { text-align: center; margin-top: 8px; }

/* ----- Footer ----------------------------------------------- */
.site-footer {
  background: var(--color-bg-alt);
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  border-top: 1px solid var(--color-line);
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer h4 { margin-bottom: 14px; }
.site-footer__col p { margin: 0; font-size: .95rem; color: var(--color-muted); }
.site-footer__col p + p { margin-top: 4px; }
.site-footer__col a { color: var(--color-text); }
.site-footer__credits {
  text-align: center;
  margin-top: 40px;
  font-size: .8rem;
  color: var(--color-muted);
  letter-spacing: .06em;
}

/* ----- Responsive ------------------------------------------- */
@media (max-width: 820px) {
  .hero, .about { grid-template-columns: 1fr; }
  .hero__image, .about__image { max-height: none; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .contact-form .row { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; }
  .site-nav a { display: none; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-text);
  }
  .site-nav.is-open { position: fixed; inset: 0; background: var(--color-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 50; }
  .site-nav.is-open a { display: block; font-size: 1.25rem; padding: 14px 0; }
  .site-nav.is-open .menu-close {
    position: absolute; top: 28px; right: var(--gutter);
    background: transparent; border: 0; font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; }
}
