/* =========================================================================
   Tiny Waste Butte — site styles
   Earthy & natural refillery. One stylesheet, no build step.
   Brand tokens live in :root — change colors/logo there and everything follows.
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* Palette — warm neutrals + clay + muted sage. Swap these for the real
     brand colors once you send the logo. */
  --cream:      #F6F1E7;  /* page background */
  --cream-deep: #EFE7D5;  /* alternating band */
  --white:      #FFFDF8;  /* cards / surfaces */
  --kraft:      #E6D9BE;  /* oat / kraft accents */
  --kraft-line: #D8C7A4;  /* hairline borders */
  --clay:       #B5674A;  /* primary accent / CTA */
  --clay-dark:  #97553B;
  --sage:       #6E7C5A;  /* secondary accent */
  --sage-dark:  #55613F;
  --moss:       #38412C;  /* deep green — footer */
  --ink:        #322F29;  /* body text */
  --ink-soft:   #635C4F;  /* muted text */

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Scale */
  --maxw: 1080px;
  --gap: 1.5rem;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -18px rgba(56, 45, 30, 0.45);
  --shadow-soft: 0 4px 16px -10px rgba(56, 45, 30, 0.4);
}

/* ---- Reset-ish -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clay-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p  { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---- Layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.band { background: var(--cream-deep); }
.band--sage { background: var(--sage); color: var(--white); }
.band--sage h2, .band--sage h3 { color: var(--white); }
.band--kraft { background: var(--kraft); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure.center { margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--clay);
  margin: 0 0 0.75rem;
}
.band--sage .eyebrow { color: var(--kraft); }
.stack > * + * { margin-top: 1rem; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--clay); color: var(--white); }
.btn--primary:hover { background: var(--clay-dark); color: var(--white); }
.btn--secondary { background: var(--sage); color: var(--white); }
.btn--secondary:hover { background: var(--sage-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--kraft-line); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.band--sage .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.band--sage .btn--ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--kraft-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.7rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark { width: auto; height: 46px; flex: none; }
.brand__name {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  color: var(--ink); line-height: 1.05; letter-spacing: -0.01em;
}
.brand__name small { display: block; font-family: var(--sans); font-weight: 700;
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-dark); }
.nav__links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: 0.45rem 0.7rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem;
}
.nav__links a:hover { background: var(--kraft); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--clay-dark); }
.nav__links .btn { margin-left: 0.35rem; padding: 0.55rem 1rem; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
  color: var(--ink);
}
.nav__toggle svg { width: 28px; height: 28px; }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 { margin-bottom: 0.3em; }
.hero .lead { margin-bottom: 1.5rem; max-width: 34ch; }
.hero__art {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--kraft);
}
.hero__art svg { width: 100%; height: 100%; display: block; }

/* ---- Tiles (three paths) --------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tile {
  background: var(--white); border: 1px solid var(--kraft-line);
  border-radius: var(--radius); padding: 1.6rem; text-decoration: none;
  color: var(--ink); box-shadow: var(--shadow-soft);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  display: flex; flex-direction: column;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tile__icon { width: 46px; height: 46px; color: var(--clay); margin-bottom: 0.8rem; }
.tile h3 { margin-bottom: 0.35rem; }
.tile p { color: var(--ink-soft); margin: 0 0 1rem; }
.tile__cta { margin-top: auto; font-weight: 800; color: var(--clay-dark); }

/* ---- Feature / why band ---------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.feature__icon { width: 40px; height: 40px; margin-bottom: 0.6rem; }
.band--sage .feature__icon { color: var(--kraft); }

/* ---- Category peek ---------------------------------------------------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat {
  background: var(--white); border: 1px solid var(--kraft-line);
  border-radius: var(--radius-sm); padding: 1.1rem; text-align: center;
}
.cat__icon { width: 38px; height: 38px; color: var(--sage-dark); margin: 0 auto 0.5rem; }
.cat h3 { font-family: var(--sans); font-weight: 800; font-size: 0.98rem; margin: 0 0 0.15rem; }
.cat p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---- Steps (how it works) -------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  background: var(--clay); color: var(--white);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---- Price / refill menu --------------------------------------------- */
.menu-group { margin-bottom: 2.25rem; }
.menu-group h2 {
  display: flex; align-items: baseline; gap: 0.6rem;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  border-bottom: 2px solid var(--kraft-line); padding-bottom: 0.5rem; margin-bottom: 0.5rem;
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.5rem 1rem;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--kraft-line);
}
.price-row:last-child { border-bottom: 0; }
.price-row .name { font-weight: 700; }
.price-row .desc { display: block; font-size: 0.9rem; color: var(--ink-soft); font-weight: 400; }
.price-row .price { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; white-space: nowrap; color: var(--clay-dark); }
.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.12rem 0.5rem; border-radius: 999px;
  background: var(--kraft); color: var(--sage-dark); vertical-align: middle;
}

/* ---- Product / shop grid --------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.product {
  background: var(--white); border: 1px solid var(--kraft-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.product__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--kraft); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.product .price { font-family: var(--serif); color: var(--clay-dark); font-weight: 600; margin-bottom: 0.6rem; }
.product p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1rem; }
.product .btn { margin-top: auto; align-self: flex-start; }

/* ---- Image placeholder (swap for real photos) ------------------------ */
.img-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(181,103,74,0.05) 0 12px, transparent 12px 24px),
    var(--kraft);
  color: var(--sage-dark); border: 1px dashed var(--kraft-line);
  padding: 1rem; min-height: 120px; height: 100%;
}
.img-ph svg { width: 34px; height: 34px; opacity: 0.7; }
.img-ph span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; max-width: 24ch; }

/* ---- Instagram strip -------------------------------------------------- */
.ig-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
.ig-strip .img-ph { aspect-ratio: 1/1; min-height: 0; }
@media (max-width: 720px) { .ig-strip { grid-template-columns: repeat(3, 1fr); } }

/* ---- Visit / info ----------------------------------------------------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--kraft-line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 0; border-bottom: 1px dashed var(--kraft-line); }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-weight: 700; }
.map-embed { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--kraft-line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Events list ------------------------------------------------------ */
.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--kraft-line); }
.event:last-child { border-bottom: 0; }
.event__date {
  text-align: center; background: var(--clay); color: var(--white);
  border-radius: var(--radius-sm); padding: 0.5rem 0.7rem; min-width: 62px;
}
.event__date .m { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.event__date .d { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.event h3 { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; margin: 0 0 0.15rem; }
.event p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---- FAQ (native details) -------------------------------------------- */
.faq { border-top: 1px solid var(--kraft-line); }
.faq details { border-bottom: 1px solid var(--kraft-line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--clay); font-family: var(--sans); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 1.2rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---- Forms ------------------------------------------------------------ */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 800; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.7rem 0.85rem; border-radius: var(--radius-sm);
  border: 1px solid var(--kraft-line); background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage);
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); }

/* Newsletter inline form */
.newsletter { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 220px; padding: 0.7rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--kraft-line); background: var(--white); font-size: 1rem; color: var(--ink);
}
.band--sage .newsletter input { border-color: rgba(255,255,255,0.4); }

/* ---- Callout / note --------------------------------------------------- */
.note {
  background: var(--white); border-left: 4px solid var(--sage);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.note strong { color: var(--ink); }

/* ---- Page header (interior pages) ------------------------------------ */
.page-head { background: var(--cream-deep); border-bottom: 1px solid var(--kraft-line); }
.page-head .container { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.page-head .eyebrow { margin-bottom: 0.5rem; }
.page-head p.lead { max-width: 60ch; margin-bottom: 0; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--moss); color: #E9E4D6; padding-block: 3rem 2rem; margin-top: auto; }
.site-footer a { color: #EBE3CF; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { color: var(--white); font-family: var(--sans); font-weight: 800;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand p { color: #C9C6B4; max-width: 34ch; }
.socials { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.socials a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.85rem; color: #BDBAA8; }

/* ---- Skip link -------------------------------------------------------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--clay); color: var(--white);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 480px; }
  .tiles, .features, .steps, .products { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse the nav to a menu button before the 7 links can crowd. */
@media (max-width: 860px) {
  .nav { position: relative; }
  .nav__links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--kraft-line);
    padding: 0.5rem 1.5rem 1rem; display: none; box-shadow: var(--shadow-soft);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.7rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--kraft-line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links .btn { margin: 0.6rem 0 0; justify-content: center; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .tiles, .features, .steps, .products, .cats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
}
