/* ============================================================
   I LOVE BEAVER — demo rebuild
   Direction: modern roadside Americana. Desert sand paper,
   brand-red heart accent, motel-sign teal, highway type.
   ============================================================ */

:root {
  --red: #e01f26;
  --red-deep: #b3151b;
  --ink: #201717;
  --ink-soft: #4c3f3f;
  --sand: #f6efe2;
  --sand-deep: #ecdfc8;
  --teal: #2b7a8c;
  --gold: #f2a93b;
  --white: #fffdf8;

  --font-display: 'Lilita One', 'Arial Black', sans-serif;
  --font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --font-sign: 'Overpass', 'Arial Narrow', sans-serif;

  --radius: 14px;
  --shadow-sticker: 0 2px 0 rgba(32, 23, 23, 0.9);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}

img { max-width: 100%; display: block; }

a { color: var(--teal); }

h1, h2, h3 { line-height: 1.08; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- eyebrow: highway route badge ---------- */
.route-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.9rem 0.28rem;
  box-shadow: var(--shadow-sticker);
}

/* ============================ header ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  border-bottom: 2px solid var(--ink);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img { width: 46px; height: 46px; }

.brand span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand span em {
  font-style: normal;
  color: var(--red);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.3rem, 1.5vw, 1rem);
  list-style: none;
}

.site-nav a {
  display: block;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.5rem 0.65rem 0.4rem;
  border-radius: 8px;
}

.site-nav a:hover { background: var(--sand-deep); }

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--sand);
}

.nav-toggle {
  display: none;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--sand);
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 0.9rem 0.45rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--sand);
    border-bottom: 2px solid var(--ink);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav a { padding: 0.8rem 0.65rem; }
}

/* ============================ marquee ============================ */
.marquee {
  background: var(--red);
  color: var(--white);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding-block: 0.45rem;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition: none !important; animation-duration: 0.01ms !important; }
}

/* ============================ hero ============================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(ellipse 90% 70% at 85% -10%, var(--sand-deep), transparent 60%),
    var(--sand);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7.5vw, 5.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-block: 1.1rem 1rem;
}

.hero h1 .line-red { color: var(--red); display: block; }

.hero p.lede {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.hero-logo {
  justify-self: center;
  width: clamp(190px, 26vw, 320px);
  rotate: 4deg;
  filter: drop-shadow(6px 8px 0 rgba(32, 23, 23, 0.16));
}

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: 170px; rotate: -4deg; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem 0.7rem;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

/* ============================ sections ============================ */
.section { padding-block: clamp(3rem, 7vw, 5rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: uppercase;
}

.section-head h2 .heart { color: var(--red); }

.section-head .more-link {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- product grid: sticker cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(32, 23, 23, 0.85);
  transition: transform 140ms ease, box-shadow 140ms ease, rotate 140ms ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  font: inherit;
  padding: 0;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  rotate: -1deg;
  box-shadow: 0 8px 0 rgba(32, 23, 23, 0.85);
}

.product-card .thumb {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}

.product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1rem 1.05rem;
  flex: 1;
}

.product-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}

.product-card .price {
  margin-top: auto;
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--red);
}

.cat-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.22rem 0.6rem 0.16rem;
}

/* ---------- shop filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.2rem 0.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-sticker);
}

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--sand);
}

/* ============================ dark band ============================ */
.band-dark {
  background: var(--ink);
  color: var(--sand);
  border-block: 2px solid var(--ink);
}

.band-dark .section-head h2 { color: var(--white); }

.band-dark p { color: #cfc4bb; }

/* ---------- promo: free sticker ---------- */
.promo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 2.8rem);
}

.promo-sticker {
  width: clamp(110px, 14vw, 170px);
  rotate: -6deg;
  border-radius: 12px;
}

.promo h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  color: var(--white);
}

.promo p { margin-top: 0.5rem; max-width: 40rem; }

@media (max-width: 720px) {
  .promo { grid-template-columns: 1fr; text-align: center; }
  .promo-sticker { margin-inline: auto; }
  .promo .btn { justify-self: center; }
}

/* ---------- press quote ---------- */
.press blockquote {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  font-style: italic;
}

.press cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-sign);
  font-weight: 700;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ============================ page hero (interior) ============================ */
.page-hero {
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(ellipse 80% 90% at 90% -20%, var(--sand-deep), transparent 60%),
    var(--sand);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  text-transform: uppercase;
  margin-top: 1rem;
}

.page-hero h1 .heart { color: var(--red); }

.page-hero p {
  max-width: 42rem;
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* ============================ about ============================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-grid .prose p + p { margin-top: 1rem; }

.fact-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 rgba(32, 23, 23, 0.85);
  padding: 1.6rem 1.7rem;
}

.fact-card + .fact-card { margin-top: 1.2rem; }

.fact-card h3 {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.fact-card .big {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============================ blog ============================ */
.post-list { display: grid; gap: 1.5rem; }

.post-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 rgba(32, 23, 23, 0.85);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.post-card time {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
}

.post-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-block: 0.5rem 0.8rem;
}

.post-card p + p { margin-top: 0.9rem; }

/* ============================ contact ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 rgba(32, 23, 23, 0.85);
  padding: 1.7rem 1.8rem;
}

.contact-card h3 {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}

.contact-card a { color: var(--ink); font-weight: 700; text-decoration-color: var(--red); }

.contact-card .big-link {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-decoration: none;
  line-height: 1.3;
  display: inline-block;
}

.contact-card .big-link:hover { color: var(--red); }

/* ============================ footer ============================ */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  border-top: 2px solid var(--ink);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

.site-footer .brand { color: var(--sand); margin-bottom: 0.8rem; }

/* the logo is black-on-transparent; give it a white chip on dark bands */
.band-dark .brand img,
.band-dark .promo-sticker[src$="logo.png"],
.site-footer .brand img {
  background: var(--white);
  border-radius: 10px;
  padding: 3px;
}

.site-footer p { color: #b7aaa1; font-size: 0.95rem; max-width: 26rem; }

.site-footer h3 {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }

.site-footer ul a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.98rem;
}

.site-footer ul a:hover { color: var(--gold); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(246, 239, 226, 0.2);
  padding-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #b7aaa1;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================ product modal ============================ */
.product-modal {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0;
  margin: auto;
  max-width: min(880px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  width: 100%;
  background: var(--white);
  color: var(--ink);
}

.product-modal::backdrop { background: rgba(32, 23, 23, 0.6); }

.modal-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.modal-gallery { border-right: 2px solid var(--ink); }

.modal-gallery .main-img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}

.thumb-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  border-top: 2px solid var(--ink);
  overflow-x: auto;
}

.thumb-row button {
  flex: 0 0 58px;
  height: 58px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.55;
}

.thumb-row button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--red); }

.thumb-row img { width: 100%; height: 100%; object-fit: cover; }

.modal-info {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.modal-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

.modal-info .price {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red);
}

.modal-info .desc { color: var(--ink-soft); }

.modal-info .note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sticker);
  line-height: 1;
}

@media (max-width: 680px) {
  .modal-inner { grid-template-columns: 1fr; }
  .modal-gallery { border-right: 0; border-bottom: 2px solid var(--ink); }
}
