/* ============================================================
   I LOVE BEAVER — variant 3 "the trading post"
   Retro 70s national-park poster. Deep pine green, cream,
   amber sunset stripes, soft Fraunces serif, arched frames.
   ============================================================ */

:root {
  --pine: #1f3d2e;
  --pine-deep: #172e22;
  --cream: #f3ead7;
  --cream-soft: #e9dcc0;
  --amber: #e8a13d;
  --rust: #c65f34;
  --red: #d3402f;
  --ink-on-cream: #27271d;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  --arch: 999px 999px 18px 18px / 60% 60% 18px 18px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.65;
  font-weight: 300;
  color: var(--cream);
  background: var(--pine);
}

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

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

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

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

/* ---------- sunset stripe divider ---------- */
.stripes {
  height: 14px;
  background: linear-gradient(
    to bottom,
    var(--amber) 0 25%,
    var(--rust) 25% 50%,
    var(--red) 50% 75%,
    var(--cream) 75% 100%
  );
  border: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ============================ header ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pine-deep);
  border-bottom: 1px solid rgba(243, 234, 215, 0.18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand img {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 999px;
  padding: 3px;
}

.brand .heart { color: var(--amber); }

.site-nav ul {
  display: flex;
  gap: clamp(0.6rem, 2vw, 1.8rem);
  list-style: none;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--amber); }

.site-nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }

.nav-toggle {
  display: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: none;
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--pine-deep);
    border-bottom: 1px solid rgba(243, 234, 215, 0.18);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.6rem 1.25rem 1.2rem; }
  .site-nav a { display: block; padding: 0.7rem 0; }
}

/* ============================ hero ============================ */
.hero {
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 120% 60% at 50% -20%, rgba(232, 161, 61, 0.14), transparent 60%),
    var(--pine);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.02;
  margin-block: 1.2rem 1.4rem;
  color: var(--cream);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}

.hero p.lede {
  max-width: 38rem;
  margin-inline: auto;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--cream-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.2rem;
}

/* arched hero gallery */
.arch-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2.5vw, 1.6rem);
  max-width: 780px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}

.arch-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--arch);
  border: 3px solid var(--cream);
}

.arch-row img:nth-child(2) { translate: 0 -14px; }

@media (max-width: 560px) {
  .arch-row { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
}

/* ============================ buttons ============================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 2.1rem;
  cursor: pointer;
  border: 2px solid var(--amber);
  transition: background 140ms ease, color 140ms ease;
}

.btn-amber { background: var(--amber); color: var(--pine-deep); }

.btn-amber:hover { background: var(--cream); border-color: var(--cream); }

.btn-ghost { background: transparent; color: var(--amber); }

.btn-ghost:hover { background: var(--amber); color: var(--pine-deep); }

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

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section-head .eyebrow { display: block; margin-bottom: 0.7rem; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  color: var(--cream);
}

.section-head h2 em { font-style: italic; font-weight: 400; color: var(--amber); }

.section-head .more-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================ product grid ============================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}

.product-card {
  background: var(--cream);
  color: var(--ink-on-cream);
  border: 0;
  border-radius: var(--arch);
  padding: 0.9rem 0.9rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: center;
  font: inherit;
  cursor: pointer;
  transition: translate 160ms ease, box-shadow 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  translate: 0 -6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.product-card .thumb {
  display: block;
  position: relative;
  aspect-ratio: 3 / 3.6;
  overflow: hidden;
  border-radius: var(--arch);
  background: #fff;
}

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

.product-card .cat-tag {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3;
  flex: 1;
  padding-inline: 0.6rem;
}

.product-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--rust);
}

/* ---------- filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2.4rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 234, 215, 0.5);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
}

.filter-btn:hover { border-color: var(--amber); color: var(--amber); }

.filter-btn[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--pine-deep);
}

/* ============================ cream band ============================ */
.band-cream {
  background: var(--cream);
  color: var(--ink-on-cream);
}

.band-cream .section-head h2 { color: var(--ink-on-cream); }

.band-cream .section-head h2 em { color: var(--rust); }

.band-cream .eyebrow { color: var(--rust); }

.band-cream p { color: #4d4a3c; }

.band-cream a { color: var(--rust); }

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

.postcard figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--arch);
  border: 3px solid var(--pine);
}

.postcard h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  margin-bottom: 1rem;
}

.postcard h2 em { font-style: italic; font-weight: 400; color: var(--rust); }

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

.postcard .btn { margin-top: 1.6rem; }

.postcard .btn-pine {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--cream);
}

.postcard .btn-pine:hover { background: var(--rust); border-color: var(--rust); }

@media (max-width: 720px) {
  .postcard { grid-template-columns: 1fr; }
  .postcard figure { max-width: 320px; margin-inline: auto; }
}

/* ---------- press quote ---------- */
.press { text-align: center; }

.press blockquote p {
  max-width: 44rem;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.5;
  color: var(--cream);
}

.press cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ============================ page hero (interior) ============================ */
.page-hero {
  text-align: center;
  padding-block: clamp(3rem, 7vw, 4.5rem);
  background:
    radial-gradient(ellipse 120% 70% at 50% -20%, rgba(232, 161, 61, 0.14), transparent 60%),
    var(--pine);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  margin-top: 1rem;
  color: var(--cream);
}

.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--amber); }

.page-hero p {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--cream-soft);
}

/* ============================ about ============================ */
.story {
  max-width: 46rem;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.story p + p { margin-top: 1.2rem; }

.story .drop::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  color: var(--amber);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.badge {
  width: 180px;
  aspect-ratio: 1;
  border: 2px solid var(--amber);
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
  padding: 1rem;
}

.badge .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cream);
  line-height: 1.15;
}

.badge .small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ============================ blog ============================ */
.post-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.post-card {
  background: var(--cream);
  color: var(--ink-on-cream);
  border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.post-card time {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
}

.post-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin-block: 0.6rem 0.9rem;
}

.post-card p { color: #4d4a3c; }

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

/* ============================ contact ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  max-width: 880px;
  margin-inline: auto;
}

.contact-card {
  background: var(--cream);
  color: var(--ink-on-cream);
  border-radius: var(--arch);
  text-align: center;
  padding: 2.4rem 1.6rem 2rem;
}

.contact-card h3 {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.7rem;
}

.contact-card .big-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--ink-on-cream);
  text-decoration: none;
  line-height: 1.3;
}

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

.contact-card p { color: #4d4a3c; margin-top: 0.4rem; }

.contact-card a:not(.big-link) { color: var(--rust); }

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

/* ============================ footer ============================ */
.site-footer {
  background: var(--pine-deep);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.6rem;
}

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

.site-footer .brand { margin-bottom: 0.9rem; }

.site-footer > .wrap > .footer-grid p { color: var(--cream-soft); font-size: 0.95rem; max-width: 25rem; }

.site-footer h3 {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(243, 234, 215, 0.18);
  padding-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--cream-soft);
}

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

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

.product-modal::backdrop { background: rgba(23, 46, 34, 0.72); }

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

.modal-gallery { padding: 1.4rem; }

.modal-gallery .main-img {
  aspect-ratio: 3 / 3.4;
  width: 100%;
  object-fit: cover;
  border-radius: var(--arch);
  border: 3px solid var(--pine);
  background: #fff;
}

.thumb-row {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.9rem;
  overflow-x: auto;
}

.thumb-row button {
  flex: 0 0 56px;
  height: 56px;
  padding: 0;
  border: 2px solid var(--pine);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  opacity: 0.55;
}

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

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

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

.modal-info .cat-tag {
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
}

.modal-info h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.2;
}

.modal-info .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--rust);
}

.modal-info .desc { color: #4d4a3c; }

.modal-info .note { font-size: 0.85rem; color: #6b6753; font-style: italic; }

.modal-info .btn {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--cream);
}

.modal-info .btn:hover { background: var(--rust); border-color: var(--rust); }

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--pine);
  background: var(--cream);
  color: var(--ink-on-cream);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { background: var(--rust); border-color: var(--rust); color: var(--cream); }

@media (max-width: 680px) {
  .modal-inner { grid-template-columns: 1fr; }
}

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