:root {
  --ink: #251a13;
  --muted: #6d5c4f;
  --paper: #f7f0e5;
  --paper-strong: #efe1cd;
  --wood: #8d5a2b;
  --wood-dark: #4b2f1e;
  --moss: #56623f;
  --clay: #b4633d;
  --line: rgba(37, 26, 19, 0.16);
  --shadow: 0 22px 70px rgba(49, 31, 18, 0.16);
  --soft-shadow: 0 12px 38px rgba(64, 42, 26, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(180, 99, 61, 0.18), transparent 28rem),
    linear-gradient(180deg, #fff9f0 0%, var(--paper) 48%, #f4eadb 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--wood-dark);
  border-radius: 7px;
  font-size: 13px;
}

.nav {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(26px, 5vw, 64px) clamp(18px, 5vw, 72px) 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.tag,
.number {
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.7vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.16;
}

.lead {
  max-width: 640px;
  color: #49382d;
  font-size: clamp(18px, 1.75vw, 22px);
}

.hero-actions,
.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button,
.buy-row a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
}

.primary,
.buy-row a {
  color: #fffaf2;
  background: var(--wood-dark);
}

.secondary {
  color: var(--wood-dark);
  background: transparent;
  border-color: var(--line);
}

.hero-media {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--paper-strong);
}

.hero-media img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.intro-band,
.makers,
.principles,
.shop,
.delivery {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.intro-band {
  background:
    linear-gradient(135deg, rgba(36, 23, 16, 0.96), rgba(75, 47, 30, 0.94)),
    var(--wood-dark);
  color: #fff7eb;
}

.intro-band .section-kicker,
.intro-band .story-text {
  color: #ead8c2;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  max-width: 1180px;
  margin: 14px auto 0;
}

.story-text {
  font-size: clamp(18px, 2vw, 23px);
}

.story-text p:last-child,
.makers-copy p:last-child,
.delivery-card p:last-child {
  margin-bottom: 0;
}

.makers {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.makers-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--paper-strong);
}

.makers-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.makers-copy {
  max-width: 760px;
}

.makers-copy p {
  color: var(--muted);
  font-size: 18px;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-weight: 850;
}

.facts dd {
  margin: 0;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.88), rgba(239, 225, 205, 0.56)),
    #fff7ed;
}

.principles > div {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--soft-shadow);
}

.principles p {
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 32px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(75, 47, 30, 0.14);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 54px rgba(58, 36, 20, 0.14);
}

.product-media {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(180, 99, 61, 0.13), transparent 18rem),
    linear-gradient(135deg, #f6ecdd, #fffaf2);
  border-bottom: 1px solid rgba(75, 47, 30, 0.1);
  cursor: zoom-in;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(54, 33, 20, 0.16));
}

.gallery-button,
.photo-count,
.lightbox-close,
.lightbox-arrow {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 46px;
  place-items: center;
  color: #fffaf2;
  background: rgba(37, 26, 19, 0.74);
  border-radius: 7px;
  font-size: 30px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
}

.product-media:hover .gallery-button,
.product-media:focus-within .gallery-button {
  opacity: 1;
}

.gallery-button:hover {
  background: rgba(37, 26, 19, 0.92);
}

.gallery-button.prev {
  left: 12px;
}

.gallery-button.next {
  right: 12px;
}

.photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 8px 10px;
  color: #fffaf2;
  background: rgba(37, 26, 19, 0.78);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.product-body p {
  color: var(--muted);
  font-size: 16px;
}

.meta {
  margin-top: auto;
  padding-top: 16px;
  color: #7c6a5c;
  font-size: 14px;
}

.buy-row {
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.buy-row strong {
  font-size: 20px;
}

.buy-row a {
  min-width: 112px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(14px, 4vw, 64px);
  background: rgba(20, 13, 9, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 90px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fffaf2;
  background: rgba(255, 250, 242, 0.14);
  border-radius: 7px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  font-size: 34px;
}

.lightbox-arrow {
  top: 50%;
  width: 52px;
  height: 72px;
  font-size: 44px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  padding: 9px 12px;
  color: #fffaf2;
  background: rgba(20, 13, 9, 0.58);
  border-radius: 7px;
  font-size: 14px;
  transform: translateX(-50%);
}

.delivery {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(75, 47, 30, 0.95), rgba(86, 98, 63, 0.92)),
    var(--wood-dark);
  color: #fff8ee;
}

.delivery .eyebrow {
  color: #e6caa6;
}

.delivery-card {
  padding: 28px;
  border: 1px solid rgba(255, 248, 238, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.delivery-card p {
  color: #eddcc8;
  font-size: 18px;
}

.delivery-card .primary {
  margin-top: 16px;
  color: var(--wood-dark);
  background: #fff4e0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #ead8c2;
  background: #241710;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .story-grid,
  .makers,
  .section-head,
  .delivery {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media img {
    min-height: 420px;
  }

  .product-media {
    height: auto;
  }

  .principles,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .brand {
    font-size: 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .product-media {
    height: auto;
  }

  .gallery-button {
    opacity: 1;
  }

  .hero-actions .button,
  .delivery-card .button {
    width: 100%;
  }

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

  .principles > div {
    min-height: 0;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-body {
    padding: 18px;
  }

  .lightbox {
    padding: 58px 10px;
  }

  .lightbox-arrow {
    width: 42px;
    height: 58px;
    font-size: 36px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .buy-row {
    align-items: stretch;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }
}
