:root {
  color-scheme: light;
  --paper: #fcf7f1;
  --ink: #2e211d;
  --muted: #65534b;
  --accent: #733b42;
  --line: #e3d4c8;
  --rose: #f0dedb;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "DM Sans", system-ui, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1; }
h2 { font-size: clamp(2.7rem, 6vw, 4.7rem); letter-spacing: -0.04em; }
p { color: var(--muted); }

.wrap {
  width: min(calc(100% - 3rem), 74rem);
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.wordmark {
  font: 600 2.5rem/1 var(--serif);
  letter-spacing: -0.07em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem clamp(0.8rem, 4vw, 2.25rem);
  font-size: 0.9rem;
  font-weight: 600;
}

nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.75rem, 7vw, 6rem);
}

.hero h1 {
  max-width: 8.75ch;
  font-size: clamp(3.7rem, 8vw, 7.35rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.hero h1 em { color: var(--accent); }

.hero-copy p {
  max-width: 34ch;
  margin: 1.5rem 0;
  font-size: 1.08rem;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 48% 48% 0.5rem 0.5rem / 24% 24% 0.5rem 0.5rem;
  background: var(--rose);
}

.hero-figure figcaption {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.45rem;
  text-align: right;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.2rem;
  background: var(--accent);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #58292f; }

.collection {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.section-intro { margin-bottom: 1.75rem; }
.section-intro p { margin-top: 0.55rem; }

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

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  overflow: hidden;
  background: #fffaf5;
}

.product-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #ecdcd1;
}

.product-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.15rem;
}

.product-details h3 { font-size: 1.65rem; }
.product-price { margin-top: auto; padding-top: 0.5rem; font-weight: 600; color: var(--ink); }
.product-enquiry { color: var(--accent); font-weight: 700; }

.story { background: var(--rose); }

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.story-copy { max-width: 54ch; }
.story-copy p + p { margin-top: 0.9rem; }

.contact {
  padding-block: clamp(3rem, 7vw, 6rem);
  text-align: center;
}

.contact p { max-width: 45ch; margin: 0.75rem auto 1.25rem; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer small { color: var(--muted); }

@media (max-width: 58rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .story-inner { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 4 / 3; }
}

@media (max-width: 28rem) {
  .header-inner { min-height: 4.25rem; }
  nav { font-size: 0.875rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-photo { aspect-ratio: 4 / 3; object-fit: contain; }
}
