:root {
  --paper: #f7f4ee;
  --ink: #171717;
  --muted: #6b625b;
  --line: #ddd6cc;
  --green: #1d322c;
  --teal: #497a78;
  --rose: #9b4657;
  --clay: #b06d52;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  background: rgba(247, 244, 238, .92);
  border-bottom: 1px solid rgba(23, 23, 23, .1);
  backdrop-filter: blur(18px);
}

.brand {
  font: 700 28px Georgia, serif;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav a,
.footer a,
.section-head a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 24px;
}

.hero {
  position: relative;
  min-height: 82svh;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .22), rgba(0, 0, 0, .06));
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  width: min(760px, calc(100% - 40px));
  min-height: 82svh;
  padding: 64px 0 64px 64px;
  color: white;
}

.hero-copy p,
.eyebrow {
  margin: 0;
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-copy p {
  color: #f2d8c8;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  font-weight: 500;
}

h1 {
  margin-bottom: 8px;
  font-size: 68px;
}

h2 {
  margin-bottom: 18px;
  font-size: 40px;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.hero-copy span {
  max-width: 620px;
  font: 400 24px Georgia, serif;
}

.actions,
.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--white);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.dark {
  background: var(--green);
  color: white;
}

.button.light {
  border-color: white;
  background: white;
  color: var(--green);
}

.button.ghost {
  border-color: rgba(255, 255, 255, .76);
  background: transparent;
  color: white;
}

.button.small {
  min-height: 36px;
  padding: 8px 12px;
}

.section,
.page-head,
.contact-grid,
.cart-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: end;
}

.intro h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.intro p:last-child,
.page-head p,
.prose p,
.split p,
.cta p,
.contact-panel p,
.collection-card p {
  color: var(--muted);
}

.section-head {
  justify-content: space-between;
  margin-bottom: 28px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.collection-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.collection-card a {
  display: grid;
  gap: 14px;
  height: 100%;
  padding-bottom: 18px;
  text-decoration: none;
}

.collection-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.collection-card span,
.collection-card h3,
.collection-card p {
  padding: 0 18px;
}

.collection-card span {
  color: var(--teal);
  font-weight: 800;
}

.collection-card h3 {
  font-size: 21px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  padding: 84px max(20px, calc((100% - 1180px) / 2));
  background: var(--white);
}

.split.reverse {
  grid-template-columns: .9fr 1.1fr;
  background: #eef4f2;
}

.split.reverse img {
  order: 2;
}

.split img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 88px 20px;
  color: white;
  text-align: center;
  background: var(--green);
}

.cta h2 {
  margin-bottom: 0;
}

.cta p {
  max-width: 720px;
  color: #d7e5df;
}

.page {
  min-height: 70vh;
}

.compact {
  display: grid;
  align-items: center;
}

.page-head {
  padding-bottom: 32px;
}

.page-head h1 {
  max-width: 920px;
  font-size: 56px;
}

.page-head p {
  max-width: 760px;
  font-size: 18px;
}

.collection-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 620px;
  background: var(--green);
  color: white;
}

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

.collection-hero div {
  display: grid;
  align-content: center;
  padding: 56px;
}

.collection-hero p:last-child {
  max-width: 520px;
  font: 400 24px Georgia, serif;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 36px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product img {
  aspect-ratio: 1;
  object-fit: cover;
}

.product div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.product p {
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.product h3 {
  min-height: 54px;
  font-size: 22px;
}

.contact-grid,
.cart-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.cart-box,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form h2 {
  margin-bottom: 4px;
  font-size: 32px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc6ba;
  border-radius: 4px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.check {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 400;
}

.check input {
  width: 18px;
  margin-top: 4px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.qty {
  display: inline-grid;
  grid-template-columns: 34px 40px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}

.qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--paper);
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 42px 40px;
  background: #141816;
  color: white;
}

.footer p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #c8d1ce;
}

.footer div:last-child {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.link-button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: none;
  width: min(380px, calc(100% - 36px));
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .12);
}

.cookie.show {
  display: flex;
}

.cookie p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
  }

  .hero,
  .hero-copy {
    min-height: 76svh;
  }

  .hero-copy {
    padding-left: 24px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy span {
    font-size: 21px;
  }

  .intro,
  .split,
  .split.reverse,
  .collection-hero,
  .contact-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse img {
    order: 0;
  }

  .collections-grid,
  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-hero {
    min-height: 0;
  }

  .collection-hero img {
    aspect-ratio: 16 / 11;
  }

  .collection-hero div {
    padding: 36px 20px 48px;
  }

  .page-head h1 {
    font-size: 42px;
  }
}

@media (max-width: 620px) {
  .collections-grid,
  .products {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding-left: 18px;
  }

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

  .button {
    width: 100%;
  }

  .section,
  .page-head,
  .contact-grid,
  .cart-layout {
    width: min(100% - 28px, 1180px);
    padding: 56px 0;
  }

  .split {
    padding: 56px 14px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 34px 20px;
  }

  .cookie {
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
    padding: 10px;
    font-size: 13px;
  }

  .cookie .button {
    width: auto;
    min-width: 104px;
  }
}
