:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: #f4ede0;
  --surface: #fbf7ef;
  --ink: #3a2b24;
  --muted: #6f6258;
  --line: #d9cbb8;
  --primary: #7a244f;
  --blue: #223047;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--ink);
}

a {
  color: inherit;
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 237, 224, 0.94);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  flex-wrap: wrap;
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 64px);
  overflow: hidden;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 48, 71, 0.78), rgba(58, 43, 36, 0.42) 52%, rgba(58, 43, 36, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(52px, 10vw, 112px);
  line-height: 0.88;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.96;
}

h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1;
}

p {
  line-height: 1.75;
}

.lead {
  max-width: 720px;
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.section {
  padding: clamp(56px, 6vw, 104px) clamp(18px, 5vw, 64px);
}

.section.alt {
  background: var(--blue);
  color: #fff;
}

.section.tint {
  background: #e9dccb;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.content-grid > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f2ec;
}

.copy {
  max-width: 760px;
}

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.product {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.feature {
  padding: 24px;
  color: var(--ink);
}

.feature p,
.product p {
  color: var(--muted);
}

.product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e8dfd2;
}

.product-body {
  padding: 22px;
}

.price {
  margin: 0 0 12px;
  font-weight: 800;
}

.purchase-panel {
  display: grid;
  gap: 20px;
  margin: 24px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.purchase-panel fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.purchase-panel fieldset > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.purchase-legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.purchase-legend strong {
  color: var(--ink);
  font-weight: 700;
}

.purchase-colours {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.purchase-swatch {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 0 0 3px var(--surface);
  cursor: pointer;
}

.purchase-swatch[aria-pressed="true"] {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.purchase-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) 1fr;
  gap: 12px;
  align-items: end;
}

.purchase-actions label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.purchase-actions select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fffaf2;
  color: var(--ink);
}

.purchase-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.purchase-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.purchase-note,
.purchase-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.purchase-status.error {
  color: #8f2e2f;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.breadcrumbs {
  padding: 18px clamp(18px, 5vw, 64px) 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  text-decoration: none;
}

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

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

  .purchase-actions {
    grid-template-columns: 1fr;
  }
}
