/* CustomBeanzzz — original brand styles, not a stock template */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Italic-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat Brush";
  src: url("fonts/CaveatBrush-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Patrick Hand";
  src: url("fonts/PatrickHand-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6efe3;
  --paper-deep: #ebe1cf;
  --cream: #fff9f0;
  --ink: #1a1612;
  --ink-soft: #4a4036;
  --cranberry: #a31c34;
  --cranberry-deep: #7a1426;
  --forest: #1e4a38;
  --forest-deep: #123326;
  --gold: #c9971a;
  --gold-soft: #e8d5a3;
  --line: rgba(26, 22, 18, 0.12);
  --shadow: 0 18px 40px -18px rgba(26, 22, 18, 0.35);
  --radius: 18px;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(26,22,18,0.035) 1px, transparent 0) 0 0 / 18px 18px,
    var(--paper);
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 450;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cranberry-deep); }
a:hover { color: var(--cranberry); }
h1, h2, h3, .wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 48;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 650;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 239, 227, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--forest); }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; }
.wordmark { font-size: 1.35rem; font-weight: 650; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.25rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--cranberry); }
.nav-etsy {
  background: var(--forest);
  color: var(--cream) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.nav-etsy:hover { background: var(--forest-deep); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  padding: 10px 11px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 3.4rem;
  border-bottom: 3px solid var(--forest);
  background:
    linear-gradient(180deg, rgba(30,74,56,0.06), transparent 40%),
    var(--paper);
}
.hero-grid {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow { margin: 0 0 1rem; }
.stamp {
  display: inline-block;
  font-family: "Patrick Hand", cursive;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--cranberry);
  border: 2px solid var(--cranberry);
  padding: 0.15rem 0.7rem;
  border-radius: 4px;
  transform: rotate(-2deg);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 0 0 1rem;
  font-weight: 700;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 72;
}
.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 750;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--cranberry);
  color: #fff9f0;
  border-color: var(--cranberry-deep);
}
.btn-primary:hover { background: var(--cranberry-deep); color: #fff9f0; }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-ghost:hover { background: var(--forest); color: var(--cream); }
.btn-light {
  background: var(--cream);
  color: var(--forest-deep);
  border-color: var(--cream);
}
.btn-light:hover { background: #fff; color: var(--forest-deep); }
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,249,240,0.55);
}
.btn-ghost-light:hover { background: rgba(255,249,240,0.1); color: var(--cream); }
.hero-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 34rem;
}
.hero-note a, .nowrap { white-space: nowrap; }

.hero-stage {
  position: relative;
  min-height: 520px;
}
.flight-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}
.polaroid {
  position: absolute;
  margin: 0;
  background: #fffdf8;
  padding: 10px 10px 28px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(26,22,18,0.06);
  border-radius: 2px;
}
.polaroid img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: var(--paper-deep);
}
.polaroid.p1 { width: 68%; top: 6%; left: 2%; transform: rotate(-6deg); z-index: 3; }
.polaroid.p2 { width: 42%; top: 0; right: 0; transform: rotate(7deg); z-index: 2; }
.polaroid.p3 { width: 36%; bottom: 8%; right: 4%; transform: rotate(-4deg); z-index: 3; }
.polaroid.p3 img { aspect-ratio: 1; }
.polaroid.p4 { width: 38%; bottom: 0; left: 10%; transform: rotate(5deg); z-index: 1; }

/* Categories */
.categories {
  padding: 2.5rem 0;
  border-bottom: 1px dashed rgba(26,22,18,0.18);
}
.categories .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cat-card {
  text-decoration: none;
  color: inherit;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.cat-label {
  font-family: "Patrick Hand", cursive;
  color: var(--gold);
  font-size: 1.1rem;
}
.cat-card h2 { margin: 0.2rem 0 0.4rem; font-size: 1.45rem; }
.cat-card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Products */
.products { padding: 3.4rem 0 3.6rem; }
.holiday {
  background:
    linear-gradient(180deg, var(--forest-deep) 0, var(--forest) 40%, #245644 100%);
  color: var(--cream);
}
.holiday a { color: #f3d27a; }
.holiday a:hover { color: #ffe9a8; }
.holiday .section-lead { color: rgba(255,249,240,0.82); }
.holiday .section-kicker { color: var(--gold-soft); }
.holiday .product-card {
  background: var(--cream);
  color: var(--ink);
}
.holiday .product-card a { color: var(--ink); }
.holiday .product-card a:hover { color: var(--cranberry); }
.holiday .product-card .text-link { color: var(--cranberry-deep); }

.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-kicker {
  margin: 0 0 0.4rem;
  font-family: "Caveat Brush", cursive;
  font-size: 1.5rem;
  color: var(--cranberry);
}
.section-head h2 { margin: 0 0 0.6rem; font-size: clamp(2rem, 4vw, 3rem); }
.section-lead { margin: 0; color: var(--ink-soft); }

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.product-grid > li,
.kids-grid > li { display: flex; }
.product-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.product-media {
  display: block;
  background: var(--paper-deep);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--forest);
}
.product-card a { color: var(--ink); }
.product-card a:hover { color: var(--cranberry); }
.product-body h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.product-body h3 a { text-decoration: none; }
.product-card .text-link { color: var(--cranberry-deep); }
.product-body p { margin: 0 0 0.9rem; color: var(--ink-soft); font-size: 0.98rem; }
.product-meta {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.price { margin: 0; display: flex; align-items: baseline; gap: 0.45rem; }
.price-now {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cranberry);
}
.price-was { color: #7a6f64; font-size: 0.95rem; }
.price-see {
  font-weight: 750;
  font-size: 0.92rem;
  color: var(--forest);
  border: 1px solid rgba(30,74,56,0.3);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}
.text-link { font-weight: 750; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.kids-grid { grid-template-columns: 1.35fr 1fr; align-items: stretch; }
.featured-card { display: flex; flex-direction: column; }
.holiday .product-grid { grid-template-columns: repeat(6, 1fr); }
.holiday .product-grid > li { grid-column: span 2; }
.holiday .product-grid > li:nth-child(4),
.holiday .product-grid > li:nth-child(5) { grid-column: span 3; }

/* Totes */
.tote-band {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.tote-copy h3 { margin: 0 0 0.5rem; font-size: 1.8rem; }
.tote-copy p { color: var(--ink-soft); margin: 0 0 1.1rem; }
.tote-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.tote-grid a {
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.tote-grid img {
  border-radius: 14px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--line);
}
.tote-grid span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

/* CTA */
.cta-band {
  background: var(--cranberry);
  color: var(--cream);
  padding: 3.2rem 0;
  border-block: 8px solid var(--gold);
}
.cta-inner { text-align: center; max-width: 40rem; margin-inline: auto; }
.cta-inner h2 { margin: 0 0 0.6rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-inner p { margin: 0 0 1.3rem; color: rgba(255,249,240,0.9); }
.cta-inner .hero-actions { justify-content: center; }

/* FAQ */
.faq { padding: 3.4rem 0 4rem; }
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.faq-list details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.2rem 1rem;
  margin-bottom: 0.65rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 750;
  padding: 0.85rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--cranberry);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #efe6d6;
  padding: 2.4rem 0 2rem;
}
.footer-inner { display: grid; gap: 1.2rem; }
.footer-brand { display: flex; gap: 0.85rem; align-items: center; }
.footer-brand img { border-radius: 50%; }
.footer-brand .wordmark { margin: 0; color: var(--cream); font-size: 1.3rem; }
.footer-brand p { margin: 0; color: #cbbba6; font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-nav a { color: #f3d27a; text-decoration: none; font-weight: 650; }
.footer-nav a:hover { color: #ffe9a8; text-decoration: underline; }
.footer-fine { margin: 0.4rem 0 0; font-size: 0.85rem; color: #9e9080; }

@media (max-width: 980px) {
  .hero-grid,
  .categories .wrap,
  .product-grid,
  .kids-grid,
  .tote-band,
  .faq-grid,
  .holiday .product-grid {
    grid-template-columns: 1fr;
  }
  .holiday .product-grid > li,
  .holiday .product-grid > li:nth-child(4),
  .holiday .product-grid > li:nth-child(5) {
    grid-column: auto;
  }
  .tote-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-stage { min-height: 420px; margin-top: 0.5rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    gap: 0;
  }
  .site-nav a { padding: 0.7rem 0.2rem; }
  .nav-etsy { text-align: center; margin-top: 0.3rem; }
  .site-header.is-open .site-nav { display: flex; }
}

@media (min-width: 420px) {
  .hero h1 .line2 { white-space: nowrap; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding: 1.6rem 0 2.2rem; }
  .hero-stage { min-height: 340px; }
  .polaroid.p2 { width: 46%; }
  .polaroid.p3, .polaroid.p4 { width: 40%; }
  .tote-grid { grid-template-columns: repeat(2, 1fr); }
  .products { padding: 2.4rem 0; }
  .featured-card .product-media img { min-height: 200px; aspect-ratio: 5 / 4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cat-card, .product-media img { transition: none; }
}
