:root {
  color-scheme: light;
  --paper: #f8f4ed;
  --surface: #fffbf5;
  --ink: #33272a;
  --muted: #615253;
  --accent: #52313a;
  --line: #dfd3c5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
p, h1, h2, h3, figure { margin: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.shell { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 5;
  padding: .65rem 1rem;
  background: var(--surface);
  transform: translateY(calc(-100% - 20px));
}

.skip-link:focus { transform: none; }

.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: 75px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--accent);
  font: 1.68rem/1 var(--serif);
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand img { border-radius: 50%; }

.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.site-header nav a, .header-shop, .site-footer a:not(.brand) { font-size: .91rem; font-weight: 600; }
.site-header nav a { text-decoration: none; }
.site-header nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.site-header nav a:hover, .header-shop:hover, .site-footer a:hover { text-decoration: underline; }
.header-shop, .site-footer a:not(.brand) { white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: .91fr 1.09fr;
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3.6rem, 7vw, 6.3rem);
}

.eyebrow {
  margin-bottom: 1.3rem;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.12rem, 6.35vw, 5.75rem);
  line-height: .99;
  letter-spacing: -.067em;
}

.hero-intro {
  max-width: 29rem;
  margin-block: 1.45rem 1.75rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.55vw, 1.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: 52px;
  padding: .65rem 1.1rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--surface);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: #3b202a; }
.button:focus-visible { outline-color: var(--accent); }

.hero-photo { position: relative; background: #352d1d; }
.hero-photo img { width: 100%; height: auto; }

.hero-photo figcaption {
  position: absolute;
  inset: auto 0 0 auto;
  padding: .48rem .82rem;
  background: var(--surface);
  color: var(--ink);
  font-size: .78rem;
}

.collection {
  padding-block: clamp(3rem, 6.6vw, 6rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.collection-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem 1.5rem;
}

.catalog-link { color: var(--accent); font-weight: 650; }
.collection-note { max-width: 45rem; margin-top: .8rem; color: var(--muted); }

.catalog-intro { padding-block: clamp(2.8rem, 6vw, 5.4rem); }

.catalog-intro h1 {
  font-size: clamp(3rem, 7.4vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -.06em;
}

.catalog-intro p { max-width: 43rem; margin-top: .9rem; color: var(--muted); }
.catalog-intro .catalog-note { font-size: .91rem; }
.catalog-collection .product-grid { margin-top: 0; row-gap: clamp(2rem, 4vw, 3.5rem); }

.catalog-collection .product p { margin-bottom: .85rem; }

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .65rem;
  margin-top: auto;
  margin-bottom: .7rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.product-price s { color: var(--muted); font-size: .87rem; }
.product-price .discount { color: var(--accent); font-size: .85rem; font-weight: 650; }
.product-price + .product-action { margin-top: 0; }

h2 {
  font-size: clamp(2.35rem, 4.45vw, 4rem);
  line-height: 1.09;
  letter-spacing: -.053em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.8vw, 2.4rem);
  margin-top: clamp(1.55rem, 3.4vw, 2.65rem);
}

.product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 1.04rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.product-photo { aspect-ratio: 1.13; overflow: hidden; background: #e5d7c7; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo-trees img { object-position: 50% 25%; }
.photo-table img { object-position: left center; }

.product h3 {
  margin-top: 1.02rem;
  font-size: clamp(1.42rem, 2.18vw, 1.95rem);
  line-height: 1.16;
  letter-spacing: -.045em;
}

.product p { margin-block: .56rem 1.15rem; color: var(--muted); }
.product-action { margin-top: auto; color: var(--accent); font-size: .88rem; font-weight: 700; }
.product-action span { margin-left: .25em; }
.product-link:hover .product-action { text-decoration: underline; }

.about { background: #44292f; color: var(--surface); }

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

.about p { max-width: 36rem; color: #f4e7df; font-size: 1.04rem; }
.about p + p { margin-top: 1rem; }
.about-link { display: inline-block; margin-top: 1.35rem; font-weight: 650; }
.about-link:hover { color: #f4cbb5; }

.footer-inner { min-height: 90px; }
.site-footer .brand { font-size: 1.4rem; }

@media (max-width: 950px) {
  .hero-break { display: none; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .hero, .about-inner { grid-template-columns: 1fr; }
  .hero { gap: 1.75rem; }
  .hero h1 { max-width: 32rem; font-size: clamp(3.1rem, 11vw, 4.65rem); }
  .hero-intro { margin-block: 1.1rem 1.45rem; }
  .hero-photo img { aspect-ratio: 1.12; object-fit: cover; object-position: center 70%; }
  .product-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-photo { aspect-ratio: 1.12; }
  .product h3 { font-size: 1.85rem; }
}

@media (max-width: 530px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; min-height: 0; gap: .55rem .6rem; padding-block: .7rem; }
  .header-inner nav { grid-area: 2 / 1 / 3 / -1; flex-wrap: wrap; gap: .1rem 1rem; }
  .site-header nav a, .header-shop { display: inline-flex; align-items: center; min-height: 32px; }
  .header-shop { grid-area: 1 / 2; gap: .32em; }
  .brand img { width: 36px; height: 36px; }
  .brand { font-size: 1.53rem; }
  .hero h1 { font-size: clamp(2.75rem, 11.8vw, 3.75rem); }
  .footer-inner { min-height: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
