:root {
  --cream: #fff4dd;
  --cream-deep: #f4dfba;
  --brown: #3b2418;
  --brown-soft: #6a412b;
  --burnt-orange: #bd5b2b;
  --mustard: #d59b2d;
  --muted-red: #9b3f35;
  --ink-muted: #785944;
  --paper: #fffaf0;
  --line: rgba(59, 36, 24, 0.18);
  --shadow: 0 18px 42px rgba(59, 36, 24, 0.16);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(213, 155, 45, 0.28), transparent 34rem),
    linear-gradient(135deg, var(--cream), #f7dec0 48%, #efc49c);
  color: var(--brown);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 244, 221, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav a,
.hero-button,
.product-cta {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--brown);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  background: var(--muted-red);
  border: 2px solid var(--brown);
  border-radius: 50%;
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--mustard);
}

.site-nav a {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--brown);
  color: var(--cream);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 13vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(3.5rem, 9vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: auto;
  content: "";
  pointer-events: none;
}

.hero::before {
  right: -4rem;
  bottom: -5rem;
  width: min(46vw, 24rem);
  aspect-ratio: 1;
  border: 2rem solid rgba(155, 63, 53, 0.22);
  border-radius: 50%;
}

.hero::after {
  top: 1.5rem;
  left: 0;
  width: 100%;
  height: 0.65rem;
  background: repeating-linear-gradient(90deg, var(--burnt-orange) 0 4rem, var(--mustard) 4rem 8rem, var(--muted-red) 8rem 12rem);
  opacity: 0.82;
}

.hero-inner,
.products-section,
.site-footer {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 9vw, 6.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 1.8rem;
  color: var(--brown-soft);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.hero-button,
.product-cta {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brown);
  border-radius: var(--radius);
  background: var(--burnt-orange);
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--brown);
}

.hero-button {
  padding: 0.78rem 1.2rem;
}

.hero-button:hover,
.hero-button:focus-visible,
.product-card:hover .product-cta,
.product-link:focus-visible .product-cta {
  transform: translate(-2px, -2px);
  background: var(--muted-red);
  box-shadow: 7px 7px 0 var(--brown);
  outline: none;
}

.products-section {
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--brown);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-link {
  display: grid;
  height: 100%;
  color: var(--brown);
  text-decoration: none;
}

.product-link:focus-visible {
  outline: 4px solid rgba(213, 155, 45, 0.75);
  outline-offset: 4px;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(189, 91, 43, 0.18), rgba(213, 155, 45, 0.22)),
    var(--cream-deep);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.product-card:hover .product-image,
.product-link:focus-visible .product-image {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
}

.product-content {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.product-keyword {
  width: fit-content;
  max-width: 100%;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(59, 36, 24, 0.22);
  border-radius: 999px;
  background: rgba(213, 155, 45, 0.18);
  color: var(--muted-red);
  font-size: 0.75rem;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.product-title {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.18;
}

.product-description {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.product-cta {
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  gap: 0.45rem;
  padding: 2rem clamp(1rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 680px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-content {
    padding: 1.15rem;
  }
}

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

.product-page {
  min-height: 100vh;
}

.product-detail {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.product-detail-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--brown);
  border-radius: var(--radius);
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}

.product-detail-content {
  display: grid;
  gap: 1rem;
}

.product-detail-content h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
}

.detail-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 2px solid var(--brown);
  border-radius: var(--radius);
  background: var(--burnt-orange);
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--brown);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.detail-cta:hover,
.detail-cta:focus-visible {
  transform: translate(-2px, -2px);
  background: var(--muted-red);
  box-shadow: 7px 7px 0 var(--brown);
  outline: none;
}

.back-link {
  width: fit-content;
  color: var(--brown);
  font-weight: 900;
  text-decoration-color: rgba(59, 36, 24, 0.4);
  text-underline-offset: 0.25rem;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--muted-red);
  outline: none;
}

@media (min-width: 820px) {
  .product-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
