/* Unicorn Fairy Circles — rebuild 2026-04-17 shared styles */

@font-face {
  font-family: "Elderflower";
  src: url("mockup-rebuild-2026-04-17-images/Elderflower-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F5E6C8;
  --cream-pale: #FBF3E0;
  --parchment: #F8EDD4;
  --warm-white: #FEFEFC;
  --ink: #5F462D;
  --ink-soft: #7A5D3F;
  --ink-subtle: #A08960;
  --sage: #7A8B6A;
  --sage-deep: #5C6F4F;
  --gold: #C9A84C;
  --rule: #D8C59A;
  --display: "Cormorant Garamond", "Garamond", "Georgia", serif;
  --body: "Lora", "Georgia", "Times New Roman", serif;
  --brand: "Elderflower", "Cormorant Garamond", "Garamond", cursive, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm-white);
  font-feature-settings: "liga", "kern";
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); line-height: 1.1; font-weight: 400; margin: 0 0 1.2rem; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; font-weight: 500; margin: 0 0 1rem; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; margin: 0 0 0.6rem; }
p  { margin: 0 0 1.1rem; }
em { font-style: italic; color: var(--ink-soft); }
strong { font-weight: 600; color: var(--ink); }
hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }

.container { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* header */
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1.2rem 0;
  background: var(--warm-white);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-family: var(--brand);
  font-size: 1.9rem;
  font-weight: normal;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  line-height: 1;
}
nav.primary ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav.primary a {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
}
nav.primary a:hover { color: var(--sage-deep); }

/* hero */
section.hero {
  padding: 5.5rem 0 5rem;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream-pale) 100%);
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy .eyebrow {
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-copy p.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  font-family: var(--body);
}
.hero-cta {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.hero-cta:hover {
  background: var(--sage-deep);
  color: var(--cream);
  border-color: var(--sage-deep);
}

.hero-cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.hero-cta.ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

/* image slots */
.img-slot {
  width: 100%;
  display: block;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.img-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-slot.hero    { aspect-ratio: 16 / 9; }
.img-slot.square  { aspect-ratio: 1 / 1; }
.img-slot.portrait { aspect-ratio: 3 / 4; }
.img-slot.product { aspect-ratio: 1 / 1; }

/* sections */
section.band {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}
section.band.tinted {
  background: var(--cream-pale);
}
section.band.parchment {
  background: var(--parchment);
}

.section-label {
  font-family: var(--brand);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
  line-height: 1;
}

/* work grid (used on homepage + how-its-made) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.work-item h3 { margin-top: 0.8rem; }
.work-item p { font-size: 0.97rem; color: var(--ink-soft); }

/* herb cards */
.herb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 2.5rem;
}
.herb-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.herb {
  border-top: 1px solid var(--rule);
  padding-top: 1.2rem;
}
.herb h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.herb .latin {
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-subtle);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.herb .lineage {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.herb .lineage strong { color: var(--ink); font-weight: 600; }

/* uses paragraph */
.uses-prose {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
}
.uses-prose strong { color: var(--ink); font-weight: 500; }

/* maker */
.maker-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* floated portrait for the long-form maker story page —
   text flows beside and below the photo */
.maker-portrait-float {
  float: left;
  width: 300px;
  max-width: 45%;
  margin: 0.6rem 2rem 1.5rem 0;
}
.maker-portrait-float .img-slot {
  aspect-ratio: 3 / 4;
  width: 100%;
}
.maker-portrait-float figcaption {
  font-size: 0.82rem;
  color: var(--ink-subtle);
  font-style: italic;
  margin-top: 0.8rem;
  text-align: center;
}
.maker-portrait-float + h1,
.maker-portrait-float + .section-label + h1 {
  margin-top: 0;
}

/* footer */
footer.site {
  padding: 3rem 0 2rem;
  background: var(--ink);
  color: var(--cream-pale);
  font-size: 0.9rem;
}
footer.site a { color: var(--cream); }
footer.site .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
footer.site h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 0.9rem;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 0.45rem; }
footer.site .fine {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 230, 200, 0.2);
  color: var(--ink-subtle);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* sign-off — handwritten Elderflower for Debra's signature lines */
.sign-off {
  font-family: var(--brand);
  font-size: 1.4rem;
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.3;
}

/* mockup banner */
.mockup-banner {
  background: var(--gold);
  color: var(--ink);
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
  font-family: var(--body);
}
.mockup-banner strong { font-weight: 600; }

/* newsletter block */
.newsletter {
  background: var(--sage-deep);
  color: var(--cream-pale);
  padding: 3.5rem 0;
  text-align: center;
}
.newsletter h2 { color: var(--cream); margin-bottom: 0.5rem; }
.newsletter p  { color: var(--cream-pale); opacity: 0.9; max-width: 520px; margin: 0 auto 1.8rem; font-size: 1rem; }
.newsletter form {
  display: flex;
  gap: 0.6rem;
  max-width: 440px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter input[type="email"] {
  flex: 1 1 240px;
  padding: 0.8rem 1rem;
  background: var(--cream-pale);
  border: 1px solid var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
}
.newsletter button {
  padding: 0.8rem 1.4rem;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  font-family: var(--body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.newsletter button:hover {
  background: var(--cream);
  border-color: var(--cream);
}

/* collection / shop tiles */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.collection-tile {
  border: 1px solid var(--rule);
  background: var(--warm-white);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}
.collection-tile h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.collection-tile .count {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.collection-tile p { color: var(--ink-soft); font-size: 0.96rem; }
.collection-tile a.more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* product listing grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.product-card .img-slot { margin-bottom: 0.9rem; }
.product-card .p-name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.product-card .p-herbs {
  font-size: 0.82rem;
  color: var(--ink-subtle);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.product-card .p-price {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.product-card:hover .p-name { color: var(--sage-deep); }

/* product detail page (PDP) */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.pdp .gallery {
  display: grid;
  gap: 0.7rem;
}
.pdp .gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.pdp .gallery .thumbs .img-slot { aspect-ratio: 1 / 1; }
.pdp .info h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 0.3rem;
}
.pdp .info .herbs-line {
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-subtle);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}
.pdp .info .pdp-hook {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.pdp .info .price {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.pdp .size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.pdp .size-row label {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  background: var(--warm-white);
}
.pdp .size-row label.selected {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--cream-pale);
}

/* essentials: the stuff every shopper needs to know, visible always */
.pdp-essentials {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pdp-essentials h2 { margin-bottom: 1.2rem; }
.pdp-essentials .ess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pdp-essentials .ess-item h3 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--body);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pdp-essentials .ess-item p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }

/* deeper layers: expandable details */
.pdp-deeper details {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}
.pdp-deeper details[open] summary { color: var(--ink); }
.pdp-deeper summary {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-deeper summary::-webkit-details-marker { display: none; }
.pdp-deeper summary::after {
  content: "+";
  font-family: var(--body);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s;
}
.pdp-deeper details[open] summary::after {
  content: "–";
}
.pdp-deeper .body {
  padding-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.pdp-deeper .body p { margin-bottom: 0.9rem; }
.pdp-deeper .body ul { padding-left: 1.2rem; }
.pdp-deeper .body .card-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.pdp-deeper .card-pair .card {
  background: var(--cream-pale);
  border: 1px solid var(--rule);
  padding: 1.2rem;
}
.pdp-deeper .card h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.pdp-deeper .card p { margin: 0; font-size: 0.95rem; color: var(--ink); font-style: italic; line-height: 1.5; }

/* herb index page specific — compact multi-column index block */
.herb-index-rail {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  background: var(--cream-pale);
}
.herb-index-rail ul { list-style: none; padding: 0; margin: 0; columns: 5; column-gap: 1.5rem; }
.herb-index-rail li { margin-bottom: 0.3rem; break-inside: avoid; }
.herb-index-rail a { color: var(--ink-soft); text-decoration: none; }
.herb-index-rail a:hover { color: var(--sage-deep); }

/* connect page stacked sections */
.stacked-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* small screens */
@media (max-width: 780px) {
  body { font-size: 17px; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { order: 2; }
  .hero-image { order: 1; }
  .work-grid, .herb-grid, .collection-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .maker-inner { grid-template-columns: 1fr; gap: 2rem; }
  .maker-portrait-float { float: none; width: 100%; max-width: 100%; margin: 0 0 2rem 0; }
  .herb-index-rail ul { columns: 2; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  section.band { padding: 3.5rem 0; }
  section.hero { padding: 3.5rem 0 3rem; }
  nav.primary ul { gap: 1rem; font-size: 0.85rem; }
  .pdp { grid-template-columns: 1fr; gap: 2rem; }
  .pdp-essentials .ess-grid { grid-template-columns: 1fr; }
  .stacked-contact { grid-template-columns: 1fr; }
  .pdp-deeper .card-pair { grid-template-columns: 1fr; }
}
