:root {
  --paper: #fbf7ef;
  --paper-deep: #f1e4d2;
  --ink: #2f261f;
  --muted: #75685d;
  --accent: #c65d31;
  --accent-strong: #9f3f24;
  --green: #6a8f48;
  --line: rgba(89, 65, 43, 0.18);
  --shadow: 0 18px 50px rgba(87, 61, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 16%, rgba(198, 93, 49, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(106, 143, 72, 0.14), transparent 22rem),
    linear-gradient(180deg, #fffaf3 0%, var(--paper) 45%, #fffdf9 100%);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  color: #fff8ee;
  font-weight: 700;
  background: var(--accent);
  box-shadow: inset 0 -0.25rem rgba(0, 0, 0, 0.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.top-nav a,
.button,
.back-link {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.top-nav a:hover,
.button:hover,
.back-link:hover {
  border-color: rgba(198, 93, 49, 0.45);
  color: var(--accent-strong);
}

.primary {
  border-color: var(--accent);
  color: #fff8ee;
  background: var(--accent);
}

.primary:hover {
  color: #fff8ee;
  background: var(--accent-strong);
}

.hero,
.about-section,
.catalog-section,
.product-page {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  min-height: min(720px, calc(100vh - 4.8rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 7vw, 5rem) 0;
}

.hero-copy h1,
.about-copy h2,
.section-heading h2,
.product-info h1 {
  margin: 0;
  line-height: 1.08;
}

.hero-copy h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 6vw, 5rem);
  font-weight: 700;
}

.hero-copy p:not(.eyebrow) {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.16rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-gallery img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-gallery img:nth-child(2),
.hero-gallery img:nth-child(3) {
  transform: translateY(1.5rem);
}

.about-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.about-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: 62% 50%;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.about-copy h2,
.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.about-copy p:not(.eyebrow) {
  margin: 0.8rem 0 0;
  color: #4d4036;
}

.catalog-section {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(87, 61, 39, 0.1);
}

.product-image {
  display: block;
  background: #f7f0e6;
}

.product-image img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

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

.product-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.product-card p {
  min-height: 5.8rem;
  margin: 0;
  color: var(--muted);
}

.product-page {
  padding: 2rem 0 clamp(2.5rem, 7vw, 5rem);
}

.back-link {
  margin-bottom: 1.25rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(87, 61, 39, 0.11);
}

.product-gallery figure:first-child {
  grid-column: 1 / -1;
}

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

.product-info {
  position: sticky;
  top: 6rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.product-info h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.lead {
  color: var(--accent-strong);
  font-size: 1.08rem;
  font-weight: 700;
}

.description p {
  color: #4d4036;
}

.site-footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .about-section,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

  .hero {
    min-height: 0;
  }

  .hero-gallery img:nth-child(2),
  .hero-gallery img:nth-child(3) {
    transform: none;
  }

  .about-section {
    width: 100%;
    padding-inline: 1rem;
  }

  .product-info {
    position: static;
  }
}

@media (max-width: 540px) {
  .site-header {
    position: static;
  }

  .brand {
    align-items: flex-start;
  }

  .brand small {
    display: none;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-gallery,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-card p {
    min-height: 0;
  }
}
