:root {
  color-scheme: light;
  --ink: #171716;
  --soft: #eeece8;
  --muted: #625e57;
  --line: #dedbd5;
  --display: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; background: #faf9f7; color: var(--ink); font: 16px/1.55 Arial, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
h2 { font-size: clamp(38px, 5.2vw, 72px); }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #986238; outline-offset: 4px; }
.wrap { width: min(1320px, calc(100% - 92px)); margin-inline: auto; }
.skip { position: fixed; top: -70px; left: 12px; z-index: 2; padding: 10px; background: #fff; }
.skip:focus { top: 8px; }
.top { border-bottom: 1px solid var(--line); }
.nav, .footer-base { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { min-height: 82px; }
.brand { display: inline-block; flex: 0 0 auto; width: clamp(90px, 15vw, 148px); }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 26px; }
nav a, .outline { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.outline, .button { display: inline-flex; gap: 16px; align-items: center; justify-content: space-between; font-weight: 700; }
.outline { padding: 9px 14px; border: 1px solid var(--line); font-size: 14px; }
.outline:hover { border-color: var(--ink); }
.button { padding: 13px 17px; border: 1px solid transparent; text-decoration: none; }
.button span { font-size: 20px; line-height: 1; }
.light { background: white; color: var(--ink); }
.light:hover { background: var(--soft); }
.dark { background: var(--ink); color: white; }
.dark:hover { background: #383735; }

.hero { display: grid; grid-template-columns: 1fr 1.05fr; margin-top: 26px; background: var(--ink); color: #fff; }
.hero-copy { align-self: center; padding: clamp(32px, 6vw, 93px); }
.hero h1 { font-size: clamp(54px, 8.1vw, 126px); }
.hero h1 em { font-weight: 400; color: #d8cbbd; }
.hero-copy p { max-width: 370px; margin: 25px 0 28px; color: #dedbd5; }
.hero-visual { min-width: 0; align-self: center; background: #f9f4ed; color: var(--ink); }
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1; }

.catalog { padding: 76px 0 82px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 8px 13px; border-radius: 24px; font-size: 14px; }
.filters button:hover { border-color: var(--ink); }
.filters [aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: white; }
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { display: block; width: 100%; border: 1px solid var(--line); padding: 0; position: relative; background: white; overflow: hidden; }
.card-media img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .25s ease; }
.card-media:hover img, .card-media:focus-visible img { transform: scale(1.05); }
.card-media span { position: absolute; right: 9px; bottom: 9px; width: 31px; height: 31px; line-height: 29px; border-radius: 50%; border: 1px solid var(--line); background: white; }
.card-media:hover span { background: var(--ink); color: #fff; }
.card-body { padding: 12px 2px; display: grid; gap: 6px; }
.card h3 { font-size: 15px; line-height: 1.32; font-weight: 600; }
.card-body p { color: var(--muted); font-size: 14px; }
.story { background: var(--soft); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.story-image { background: white; display: grid; place-items: center; min-height: 380px; }
.story-image img { display: block; width: min(85%, 360px); height: auto; }
.story-copy { padding: clamp(27px, 6vw, 94px); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.story-copy h2 { margin: 13px 0 17px; }
.story-copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 23px; }
.faq { display: grid; grid-template-columns: .85fr 1fr; gap: 44px; padding: 82px 0; }
.faq h2 + p { margin-top: 14px; color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; }
details[open] summary::after { content: '−'; }
details p { padding-top: 10px; color: var(--muted); }

dialog { border: 1px solid var(--line); width: min(720px, calc(100% - 28px)); max-height: 85vh; padding: 31px; color: var(--ink); }
dialog::backdrop { background: #000a; }
.detail { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 25px; }
.detail img { display: block; width: 100%; max-height: 280px; object-fit: contain; }
.detail h2 { font-size: 34px; }
.detail p { margin: 9px 0; }
.detail a { margin-top: 6px; }
.close { position: absolute; right: 8px; top: 8px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .section-head { align-items: start; flex-direction: column; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 28px); }
  .nav { min-height: 65px; gap: 10px; }
  .nav nav { gap: 11px; font-size: 13px; }
  .nav nav a:nth-child(2) { display: none; }
  .outline { font-size: 12px; padding: 7px; gap: 4px; }
  .hero, .story-grid, .faq, .detail { grid-template-columns: 1fr; }
  .hero { margin-top: 14px; }
  .hero-copy { padding: 32px 24px; }
  .hero-copy p { margin: 15px 0 20px; }
  .catalog, .faq { padding-block: 45px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-image { min-height: 230px; }
  .story-image img { width: min(70%, 260px); }
  .faq { gap: 20px; }
  .detail img { max-height: 155px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-media img { transition: none; }
}

/* Storefront */
.top { background: var(--ink); color: #fff; border-color: #40382e; }
.top .outline { border-color: #ad9c89; }
.top .outline:hover { border-color: #fff; }
.hero { overflow: hidden; border-radius: 14px; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5.5vw, 80px);
  background: radial-gradient(ellipse at 100% 100%, #443931, var(--ink) 75%);
}
.hero h1 { font-size: clamp(56px, 7.9vw, 118px); }
.hero h1 em { color: #e6c8ab; }
.button, .outline { border-radius: 6px; }
.hero .button { min-height: 50px; }
.catalog { padding-block: 67px 35px; }
.section-head { padding-bottom: 28px; }
.section-head h2 { font-size: clamp(39px, 4.3vw, 64px); }
.section-head p { margin-top: 8px; color: var(--muted); }
.cards { gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.card-media { border: 0; border-bottom: 1px solid var(--line); }
.card-body { flex: 1; grid-template-rows: 1fr auto auto; gap: 8px; padding: 15px; }
.card-body p { color: var(--ink); font-weight: 700; }
.card-details {
  width: 100%;
  padding: 7px 9px;
  color: var(--ink);
  background: #f7f3ed;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
}
.card-details:hover { background: var(--ink); color: #fff; }
.shopping-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 55px;
}
.shopping-guide a {
  padding: 17px 19px;
  border: 1px solid #e5dbd0;
  border-radius: 9px;
  background: #f3ede6;
  text-decoration: none;
}
.shopping-guide a:hover span { text-decoration: underline; }
.shopping-guide span { display: block; font-weight: 700; }
.shopping-guide small { color: var(--muted); }
.story { padding-block: 33px; background: #eee7de; }
.story-grid { overflow: hidden; border-radius: 12px; background: #f9f5f0; }
.site-footer {
  background: radial-gradient(ellipse at top left, #33271c 0%, #1e1a17 38%, #171716 78%);
  color: #f8f3eb;
  border-top: 2px solid #b18b55;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 74px);
  padding-block: clamp(42px, 6vw, 88px);
}
.footer-brand .brand { width: min(100%, 168px); }
.footer-brand p { max-width: 23ch; margin-top: 6px; }
.footer-grid p, .footer-links a { color: #e2d7c9; }
.footer-links { display: grid; align-content: start; justify-items: start; gap: 8px; }
.footer-links h2 {
  margin-bottom: 8px;
  font: 700 13px/1.5 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e6c8ab;
}
.footer-links a { padding-block: 3px; }
.footer-contact h2 { font-size: clamp(34px, 4vw, 55px); }
.footer-contact p { margin-top: 13px; max-width: 34ch; }
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  max-width: 100%;
  margin-top: 18px;
  padding: 10px 13px;
  border: 1px solid #937756;
  border-radius: 6px;
  color: #f3d9bb;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-email:hover { background: #3a2d21; border-color: #d9b78d; }
.footer-bottom { background: #141312; border-top: 1px solid #594735; }
.footer-base { flex-wrap: wrap; padding-block: 18px; color: #ded2c5; }
.footer-base a { font-size: 14px; }
.site-footer :focus-visible { outline-color: #e6c8ab; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; border-top: 1px solid #594735; padding-top: 26px; }
}

@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(51px, 13vw, 72px); }
  .catalog { padding-top: 44px; }
  .cards { gap: 9px; }
  .card-body { padding: 11px; }
  .shopping-guide { grid-template-columns: 1fr; margin-bottom: 35px; }
}
