:root {
  color-scheme: light;
  font: 16px/1.55 "DM Sans", Arial, sans-serif;
  --paper: #f4f1e7;
  --ink: #18362f;
  --muted: #51645a;
  --line: #c9d2c5;
  --mint: #dce6d7;
  --surface: #fffdf8;
  --accent: #f0a47f;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 60vh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 3px solid #a64727; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, .showcases h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
h2, h3 { line-height: 1.16; }
.wrap { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; z-index: 9; background: white; padding: 10px; }
.skip:focus { top: 8px; }

#header { position: relative; z-index: 3; background: var(--ink); color: var(--paper); }
.top { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: .15em; }
.logo::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--accent);
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
.top nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 38px); font-size: 15px; }
.top nav > a:hover, .dropdown:hover { color: var(--accent); }
.dropdown, .mobile, .search button { border: 0; padding: 6px 0; background: transparent; }
.mobile { display: none; }
.menu { position: relative; padding-block: 18px; }
.menu #categories {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  width: max-content;
  max-width: calc(100vw - 30px);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: 0 12px 28px #182d2526;
}
.menu:hover #categories, .dropdown[aria-expanded=true] + #categories { display: grid; }
#categories a { padding: 9px 14px; }
#categories a:hover, #categories a:focus-visible { background: var(--mint); }
.search { display: flex; align-items: center; border: 1px solid #a4b7a9; border-radius: 50px; padding-inline: 12px; }
.search input { width: 164px; min-width: 0; padding: 8px 4px; border: 0; background: transparent; font-size: 14px; }
.search input::placeholder { color: #e2e8dd; }
.search button { padding: 0 3px; font-size: 24px; line-height: 1; }
#header :focus-visible, footer :focus-visible { outline-color: var(--accent); }

.home-intro {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  min-height: 490px;
  margin-top: 28px;
  border-radius: 26px;
  background: var(--mint);
}
.intro-copy { align-self: center; padding: clamp(30px, 5vw, 80px); }
.intro-copy h1 { margin-bottom: 22px; font-size: clamp(47px, 6.35vw, 104px); line-height: .96; }
.intro-copy p { max-width: 29ch; margin-bottom: 24px; font-size: clamp(17px, 1.7vw, 22px); }
.intro-image { position: relative; display: grid; place-items: center; min-width: 0; background: #bccfbe; border-radius: 0 26px 26px 0; }
.intro-image img { width: min(100%, 570px); height: auto; padding: 22px; mix-blend-mode: multiply; }
.intro-image .card-arrow { position: absolute; right: 18px; bottom: 18px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--surface);
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
}
.cta:hover { background: #285649; }
.showcases, .interior { padding-block: clamp(39px, 6vw, 86px); }
.showcases h2, .interior h1 { font-size: clamp(39px, 5.3vw, 76px); margin-bottom: 20px; }
.collection-links, .filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 25px; }
.collection-links a, .filters a { padding: 8px 16px; border: 1px solid #82978a; border-radius: 35px; font-weight: 700; font-size: 14px; }
.collection-links a:hover, .filters a:hover { background: var(--mint); }
.feature-grid, .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { display: block; border-radius: 17px; background: var(--mint); overflow: hidden; }
.feature > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.feature-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.feature h3 { font-size: clamp(17px, 2vw, 25px); margin: 0; }
.card-arrow {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 21px;
}
a:hover .card-arrow { background: var(--accent); color: var(--ink); }

#purchase .cta { background: var(--accent); color: #291f18; }
#purchase .cta:hover { background: #f7ba9f; }

.eyebrow { color: var(--muted); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.card { display: block; height: 100%; padding: 14px 14px 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); overflow-wrap: anywhere; }
.card:hover { border-color: var(--ink); background: var(--mint); }
.card img { aspect-ratio: 1; width: 100%; object-fit: contain; border-radius: 10px; background: white; margin-bottom: 16px; }
.card h2 { font-size: clamp(16px, 1.8vw, 21px); margin-bottom: 12px; }
.card span, .text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 23px; }
.crumb a:hover { text-decoration: underline; }
.detail, .support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); align-items: start; }
.detail > div:last-child { background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 3vw, 38px); border-radius: 20px; }
.detail h1 { font-size: clamp(29px, 3.3vw, 48px); }
.detail h2 { font-size: 19px; margin: 24px 0 10px; }
.main-image { width: 100%; aspect-ratio: 1; object-fit: contain; background: white; border-radius: 20px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.thumbs button { width: 58px; height: 58px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.thumbs button[aria-pressed=true] { border: 2px solid var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy { display: inline-block; }
.buy img { width: 185px; }
.no-image { background: var(--mint); border-radius: 20px; padding: 50px 22px; }
.detail dl { margin: 0; }
.detail dl div { display: grid; grid-template-columns: 1fr 1.6fr; border-bottom: 1px solid var(--line); padding: 7px 0; }
.detail dd { margin: 0; }
.variant-picker { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.variant-picker legend, .support label { font-weight: 700; font-size: 14px; }
.variant-picker legend { padding: 0; margin-bottom: 8px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-options button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 9px; border: 1px solid #82978a; border-radius: 8px; background: white; font-size: 13px; text-align: left; }
.variant-options button:hover, .variant-options button[aria-pressed=true] { background: var(--mint); }
.variant-options button[aria-pressed=true] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 700; }
.variant-options img { width: 34px; height: 34px; object-fit: contain; border-radius: 4px; }

.support h1 { font-size: clamp(34px, 5vw, 64px); }
.support label { display: block; }
.support input, .support textarea, .support select { display: block; width: 100%; background: var(--surface); border: 1px solid #82978a; border-radius: 8px; padding: 9px; margin: 5px 0 14px; }
.support-photo { width: 100%; max-height: 720px; height: 100%; object-fit: cover; border-radius: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.trap { position: absolute; left: -10000px; }
.brand p:not(.eyebrow) { max-width: 65ch; font-size: 19px; }
footer { background: var(--ink); color: var(--paper); }
.foot { padding-block: 43px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: start; gap: 20px; }
.foot h2 { font-size: 15px; }
.foot a:not(.logo) { display: block; font-size: 14px; color: #e2e8dd; margin-block: 6px; }
.foot a:hover { text-decoration: underline; }
.copyright { border-top: 1px solid #ffffff45; padding-block: 16px; color: #e2e8dd; font-size: 13px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .top { flex-wrap: wrap; gap: 10px; padding-block: 12px; min-height: 65px; }
  .mobile { display: block; margin-left: auto; }
  .top nav { display: none; order: 3; width: 100%; padding-bottom: 8px; gap: 0; align-items: stretch; }
  .mobile[aria-expanded=true] + nav { display: grid; }
  .top nav > a, .menu { padding-block: 7px; }
  .menu #categories { position: static; box-shadow: none; }
  .menu:hover #categories { display: none; }
  .menu .dropdown[aria-expanded=true] + #categories { display: grid; }
  .home-intro { min-height: auto; }
  .feature-grid, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 28px); }
  .top .search { order: 2; width: 100%; }
  .search input { width: 100%; }
  .home-intro, .detail, .support, .fields { grid-template-columns: 1fr; }
  .home-intro { margin-top: 15px; }
  .intro-copy { padding: 28px 24px; }
  .intro-copy h1 { font-size: clamp(43px, 10vw, 58px); margin-bottom: 14px; }
  .intro-copy p { margin-bottom: 17px; }
  .intro-image { border-radius: 0 0 26px 26px; }
  .intro-image img { max-width: 350px; width: 100%; padding: 10px 24px; }
  .feature-copy { padding: 9px 10px 11px; }
  .feature h3 { font-size: 15px; }
  .feature-copy .card-arrow { width: 27px; height: 27px; flex-basis: 27px; font-size: 15px; }
  .card { padding: 8px 8px 13px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot > .logo { grid-column: 1 / -1; }
  .support-photo { max-height: 440px; }
}
