:root {
  --ink: #241711;
  --muted: #715f53;
  --paper: #fffaf3;
  --panel: #f5eadc;
  --line: #decbb8;
  --crust: #9a5429;
  --crust-dark: #633219;
  --leaf: #31594a;
  --cream: #fff6e9;
  --shadow: 0 18px 50px rgba(82, 48, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid rgba(222, 203, 184, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--crust);
  border-radius: 50%;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1e1712;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(18, 11, 7, 0.78), rgba(18, 11, 7, 0.32) 48%, rgba(18, 11, 7, 0.08));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin: 0 0 clamp(56px, 10vw, 112px) clamp(18px, 7vw, 92px);
  color: #fffaf2;
}

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

.hero .eyebrow {
  color: #ffd9a8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 13vw, 10rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.6rem);
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--crust);
  color: white;
}

.button.secondary {
  background: rgba(255, 250, 243, 0.12);
  color: white;
  border-color: rgba(255, 250, 243, 0.45);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro > div {
  display: grid;
  gap: 4px;
  padding: clamp(18px, 4vw, 34px);
  background: var(--cream);
  color: var(--muted);
  font-weight: 700;
}

.stat {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.split p,
.section-heading p,
.order-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.steps span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf);
  color: white;
  font-size: 0.9rem;
}

.process-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.process-grid img,
.gallery-grid img,
.product-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.process-grid img {
  height: clamp(280px, 42vw, 520px);
}

.process-grid img:nth-child(2) {
  margin-top: 38px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.product-card img {
  height: 210px;
  border-radius: 0;
  box-shadow: none;
}

.product-image-placeholder {
  height: 210px;
  background: var(--panel);
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.qty-row {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.qty-row button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.qty-row output {
  display: grid;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

.gallery {
  background: var(--panel);
}

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

.gallery-grid img {
  height: clamp(240px, 36vw, 460px);
}

.order-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
}

.cart-summary,
.order-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.cart-summary {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-items.empty {
  color: var(--muted);
}

.cart-line,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-line {
  color: var(--muted);
  font-size: 0.96rem;
}

.cart-total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 800;
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(18px, 4vw, 28px);
}

.order-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.order-form label:has(textarea),
.submit-button,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea {
  resize: vertical;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(18, 11, 7, 0.82), rgba(18, 11, 7, 0.28) 62%, rgba(18, 11, 7, 0.06));
  }

  .intro,
  .split,
  .order-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

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

  .process-grid img:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 690px;
  }

  .hero-copy {
    margin-left: 18px;
    margin-bottom: 44px;
  }

  h1 {
    font-size: 4rem;
  }

  .intro,
  .product-grid,
  .process-grid,
  .gallery-grid,
  .order-form {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid img,
  .process-grid img {
    height: 330px;
  }

  .site-footer {
    flex-direction: column;
  }
}
