:root {
  --deep-green: #16342b;
  --deep-green-soft: #1e4438;
  --gold: #c4a35a;
  --gold-bright: #e0c57a;
  --cream: #f6f0e4;
  --cream-dark: #efe6d4;
  --ink: #2a241c;
  --ink-soft: #4a4338;
  --muted-red: #9c4a45;
  --rule: #d8c9a3;
  --myth-bg: #f3e6d6;
  --max: 42rem;
  --header-max: 70rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: "Source Serif 4", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.175rem);
  line-height: 1.7;
  background-color: var(--cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23c4a35a' stroke-width='1' opacity='0.18'%3E%3Cpath d='M60 20 v80 M20 60 h80 M34 34 l52 52 M86 34 l-52 52'/%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

a { color: var(--muted-red); }
a:hover { color: var(--deep-green); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--cream);
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  z-index: 30;
}
.skip:focus { top: 1rem; }

/* Header and candles */
.site-header {
  background: linear-gradient(180deg, var(--deep-green) 0%, var(--deep-green-soft) 100%);
  color: var(--cream);
  border-bottom: 4px solid var(--gold);
}

.header-inner {
  max-width: var(--header-max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--cream);
  min-height: 2.75rem;
}
.brand:hover { color: var(--gold-bright); }

.candles {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.55rem;
  padding-top: 0.7rem;
}
.candle {
  width: 8px;
  height: 26px;
  background: linear-gradient(180deg, #f7f1e3 0%, #e8d9b0 100%);
  border-radius: 2px 2px 1px 1px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.4);
}
.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 7px;
  height: 11px;
  margin-left: -3.5px;
  background: radial-gradient(circle at 40% 40%, #fff6c8 0%, #f0c45c 45%, #c45c2a 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 0 8px 2px rgba(224, 197, 122, 0.55);
}
.candle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 4px;
  margin-left: -0.5px;
  background: #5a4a32;
  transform: translateY(-3px);
}

.site-name {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

/* Main nav + dropdown */
.site-nav {
  flex: 1 1 auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.2rem;
}

.nav-list > li { position: relative; }

.nav-list > li > a,
.dropdown-toggle {
  display: inline-block;
  color: var(--cream);
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  border-radius: 2px;
}

.nav-list > li > a:hover,
.dropdown-toggle:hover {
  color: var(--gold-bright);
}

.nav-list > li > a[aria-current="page"] {
  color: var(--gold-bright);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.dropdown.is-current .dropdown-toggle {
  color: var(--gold-bright);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.dropdown-toggle {
  padding-right: 1.35rem;
  position: relative;
}
.dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 0.45rem;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--gold-bright);
  transform: translateY(-40%);
}
.dropdown-toggle[aria-expanded="true"]::after {
  transform: translateY(-60%) rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 40;
  min-width: 17.5rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 24px rgba(22, 52, 43, 0.18);
}

.dropdown-menu a {
  display: block;
  padding: 0.45rem 1rem;
  color: var(--deep-green);
  text-decoration: none;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: var(--cream-dark);
  color: var(--deep-green);
}
.dropdown-menu a[aria-current="page"] {
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--gold);
}

.dropdown.is-open .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-menu { display: block; }
}

/* Main regions */
main {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.5rem;
  background: rgba(246, 240, 228, 0.92);
}

main.landing {
  max-width: 46rem;
  padding-top: 3.25rem;
  padding-bottom: 4rem;
}

.statement {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.7rem);
  line-height: 1.25;
  color: var(--deep-green);
  margin: 0 0 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 3px solid var(--gold);
}

.landing-lede {
  font-size: 1.12em;
  margin: 0 0 1.75rem;
  max-width: 38rem;
}

.button {
  display: inline-block;
  background: var(--deep-green);
  color: var(--cream);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(196, 163, 90, 0.35);
}
.button:hover {
  background: var(--deep-green-soft);
  color: var(--gold-bright);
}

main h1 {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.35rem);
  line-height: 1.2;
  color: var(--deep-green);
  margin: 0 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
main h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 4.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--muted-red) 100%);
}

.landing .statement::after { display: none; }

main h2, main h3 {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-weight: 600;
  color: var(--deep-green);
}
main h2 {
  font-size: 1.4rem;
  margin: 1.75rem 0 0.6rem;
}
main h3 {
  font-size: 1.2rem;
  margin: 1.15rem 0 0.45rem;
}

p { margin: 0 0 1rem; color: var(--ink); }
p:last-child { margin-bottom: 0; }

.myth {
  margin: 1.35rem 0 0;
  padding: 0.95rem 1.05rem 1.05rem;
  background: var(--myth-bg);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--muted-red);
}
.myth .label {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-red);
  margin: 0 0 0.4rem;
}
.myth p {
  margin: 0 0 0.65rem;
  font-size: 0.97em;
  line-height: 1.65;
}
.myth p:last-child { margin-bottom: 0; }
.myth .echo,
.myth .source {
  color: var(--ink-soft);
}
.myth .source { font-size: 0.88em; }

.reading ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}
.reading li { margin: 0 0 0.45rem; }
.reading li a { overflow-wrap: anywhere; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.98rem;
}
.pager a {
  color: var(--deep-green);
  text-decoration: none;
  max-width: 48%;
}
.pager a:hover { color: var(--muted-red); text-decoration: underline; }
.pager .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}
.pager .next { text-align: right; margin-left: auto; }
.pager .prev { text-align: left; }

/* Shop */
.shop-intro {
  margin: 0 0 1.5rem;
}
.coming-soon {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--deep-green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.product-card {
  background: var(--cream-dark);
  border: 1px solid var(--rule);
  padding: 0.85rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.product-image {
  height: 10.5rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(224, 197, 122, 0.45) 0 0.55rem, transparent 0.6rem),
    var(--deep-green-soft);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e0c57a' stroke-width='1.2' opacity='0.85'%3E%3Cpath d='M40 8 v64 M8 40 h64 M16 16 l48 48 M64 16 l-48 48'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--deep-green) 0%, var(--deep-green-soft) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 4.5rem 4.5rem, cover;
  border: 1px solid var(--gold);
}
.product-card h2 {
  font-size: 1.15rem;
  margin: 0.45rem 0 0;
  border: 0;
  padding: 0;
}
.product-card h2::after { display: none; }
.product-card .price {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.product-card button {
  margin-top: 0.35rem;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  color: var(--ink-soft);
  background: #e4d8c0;
  border: 1px solid var(--rule);
  cursor: not-allowed;
}
.product-card button:disabled {
  opacity: 0.7;
}

footer {
  background: var(--deep-green);
  color: rgba(246, 240, 228, 0.82);
  text-align: center;
  padding: 1.5rem 1.25rem 1.75rem;
  border-top: 4px solid var(--gold);
  font-size: 0.92rem;
}
footer p { color: inherit; margin: 0 auto; max-width: 36rem; }
footer a { color: var(--gold-bright); }
footer a:hover { color: var(--cream); }

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1rem 0;
  }
  .nav-list {
    justify-content: flex-start;
    padding-bottom: 0.7rem;
    width: 100%;
  }
  .dropdown-menu {
    right: auto;
    left: 0;
    min-width: min(17.5rem, 90vw);
  }
  main, main.landing { padding: 1.6rem 1rem 2.5rem; }
  .pager { flex-direction: column; }
  .pager a, .pager .next, .pager .prev {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .candle::before { box-shadow: 0 0 5px 2px rgba(224, 197, 122, 0.35); }
}
