
:root {
  --cream: #FDF8F0;
  --cream-2: #F7ECDD;
  --ink: #111111;
  --green: #0F3D2E;
  --pink: #E77C83;
  --pink-dark: #C85F69;
  --white: #FFFFFF;
  --border: rgba(15, 61, 46, .22);
  --shadow: 0 18px 50px rgba(26, 18, 9, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.announcement {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: .7rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  color: var(--green);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.65rem;
}
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.nav a:hover { color: var(--pink-dark); }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}
.hero {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background:
    linear-gradient(rgba(253,248,240,.72), rgba(253,248,240,.72)),
    url("assets/rustic-background.png") center/cover no-repeat;
}
.hero-art {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  width: min(520px, 100%);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.08));
}
.hero-copy {
  padding: 4rem 4rem 4rem 2rem;
}
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 700;
}
h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, serif;
  color: var(--green);
  line-height: 1.05;
  margin-top: 0;
}
h1 { font-size: clamp(3rem, 5vw, 5.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin-bottom: .8rem; }
h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.hero-tagline {
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--green);
  transition: .2s ease;
}
.btn.primary { background: var(--green); color: var(--white); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn.secondary { background: rgba(253,248,240,.72); color: var(--green); }
.btn.secondary:hover { background: var(--white); }

.trust-strip {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip div {
  padding: 1.2rem;
  text-align: center;
}
.trust-strip div + div { border-left: 1px solid var(--border); }
.trust-strip strong { display: block; color: var(--green); }
.trust-strip span { font-size: .85rem; color: #5e5b55; }

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
}
.section-heading { max-width: 700px; margin-bottom: 2rem; }
.section-heading p:last-child { color: #605c55; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.25rem;
}
.product-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
  overflow: hidden;
}
.featured-card { display: grid; grid-template-columns: .9fr 1.1fr; grid-column: 1 / -1; }
.product-image { min-height: 340px; background: var(--cream-2); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { padding: 1.6rem; }
.product-copy p { color: #5d5952; }
.badge {
  display: inline-block;
  background: var(--pink);
  color: var(--ink);
  padding: .25rem .55rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .8rem;
}
.text-link {
  color: var(--green);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.category-card {
  min-height: 290px;
  display: flex;
  align-items: center;
}
.category-icon {
  font-size: 4rem;
  padding-left: 1.6rem;
}
.story {
  margin: 5rem 0;
  padding: 6rem 1rem;
  background:
    linear-gradient(rgba(15,61,46,.90), rgba(15,61,46,.90)),
    url("assets/rustic-background.png") center/cover no-repeat;
}
.story-card {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.story-card h2 { color: var(--white); }
.story-card .eyebrow { color: #f2abb0; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.info-grid article {
  padding: 1.5rem;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--border);
}
.info-grid a { color: var(--green); font-weight: 600; }

.cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 5rem;
  text-align: center;
  padding: 4rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

footer {
  background: var(--ink);
  color: var(--white);
  padding: 2.5rem max(1.5rem, calc((100vw - 1180px)/2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: var(--white); }
.copyright { grid-column: 1 / -1; opacity: .7; font-size: .8rem; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 105px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    background: var(--cream);
    padding: 1rem;
    border: 1px solid var(--border);
    z-index: 20;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background-position: center;
  }
  .hero-art { padding: 2rem 2rem 0; }
  .hero-art img { width: min(420px, 88%); }
  .hero-copy { padding: 1.25rem 2rem 2.5rem; text-align: center; }
  .hero-actions { justify-content: center; }
  h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .trust-strip { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .trust-strip div + div { border-left: 0; border-top: 1px solid var(--border); }
  .product-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .product-image { min-height: 280px; }
  .info-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 500px) {
  .announcement { font-size: .68rem; letter-spacing: .08em; }
  .site-header { padding: .9rem 1rem; }
  .brand { font-size: 1.35rem; }
  .hero { width: calc(100% - 1rem); }
  .hero-art { padding: 1.25rem 1rem 0; }
  .hero-copy { padding: 1rem 1.1rem 2rem; }
  .hero-tagline { font-size: 1rem; }
  .btn { width: 100%; }
  .category-card { align-items: flex-start; flex-direction: column; }
  .category-icon { padding: 1.25rem 1.6rem 0; }
}

/* Product grid update */
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-card .product-image {
  aspect-ratio: 2 / 3;
  min-height: 0;
}
.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .product-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .text-link {
  margin-top: auto;
}
.missing-image {
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: #5d5952;
  background: #f7ecdd;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Keep shoppers on the Netlify catalog until they choose a specific product */
.product-click { display: block; text-decoration: none; }
.product-title-link { color: inherit; text-decoration: none; }
.product-title-link:hover, .text-link:hover { color: var(--pink-dark); }

/* Coming soon teaser */
.coming-soon-section {
  padding: 64px 24px;
  text-align: center;
}
.coming-soon-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 34px;
  border: 1px solid rgba(15, 61, 46, 0.22);
  border-radius: 22px;
  background: rgba(253, 248, 240, 0.88);
}
.coming-soon-inner .eyebrow {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.coming-soon-inner h2 {
  margin: 0 0 18px;
}
.coming-soon-inner p {
  margin: 0 auto 12px;
  max-width: 650px;
  line-height: 1.7;
}
.coming-soon-last {
  font-style: italic;
}
@media (max-width: 600px) {
  .coming-soon-section { padding: 42px 18px; }
  .coming-soon-inner { padding: 32px 20px; }
}

/* Pre-order notice */
.preorder-note {
  margin: 0 0 14px;
  color: var(--pink-dark);
  font-size: .82rem;
  font-weight: 700;
}


/* GET THE DIRT email signup */
.email-signup {
  padding: 64px 20px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,.08);
}
.email-signup-inner {
  max-width: 760px;
  margin: 0 auto;
}
.email-signup .eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: .08em;
}
.email-signup h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.email-signup-copy {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}
.email-signup-detail {
  max-width: 650px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.email-signup-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}
.email-signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.email-signup-form button {
  padding: 14px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.email-signup-fineprint {
  margin: 12px 0 0;
  font-size: .85rem;
  opacity: .75;
}
.hidden-field {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  .email-signup-form {
    flex-direction: column;
  }
  .email-signup-form button {
    width: 100%;
  }
}
