:root {
  --paper: #f7f3ed;
  --paper-deep: #ece5db;
  --ink: #1f2823;
  --muted: #66716a;
  --line: #d8d1c7;
  --accent: #b65f45;
  --accent-dark: #8f4532;
  --sage: #cdd8cd;
  --white: #fffdf9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { color: var(--accent-dark); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(3.5rem, 8vw, 7.25rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.7rem; }
.lead { max-width: 540px; color: var(--muted); font-size: 1.05rem; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(247,243,237,.94); backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.2rem; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--sans); font-size: .72rem; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: .85rem; }
.nav-links a:hover, .text-link:hover { color: var(--accent-dark); }
.cart-link { display: inline-flex; align-items: center; gap: 7px; }
.cart-count { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--accent); color: white; font-size: .7rem; }
.menu-toggle { display: none; border: 0; background: none; font-size: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); padding: 12px 20px; background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 700; letter-spacing: .04em; transition: .2s ease; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--white); }
.button.small { padding: 9px 13px; font-size: .72rem; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.hero { min-height: 690px; display: grid; align-items: end; background: linear-gradient(90deg, rgba(247,243,237,.98) 0%, rgba(247,243,237,.77) 43%, rgba(247,243,237,.08) 100%), url('https://images.unsplash.com/photo-1556229010-6c3f2c9ca5f8?auto=format&fit=crop&w=1800&q=85') center/cover; }
.hero-content { padding: 110px 0 92px; }
.hero h1 { max-width: 720px; margin: 17px 0 24px; }
.hero-actions { display: flex; gap: 12px; margin-top: 31px; }
.section { padding: 105px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head h2 { max-width: 600px; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.intro-grid p { max-width: 570px; color: var(--muted); font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 210px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-number { color: var(--accent); font-family: var(--serif); font-size: 2rem; }
.feature h3 { margin: 28px 0 8px; font-size: 1.4rem; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { position: relative; }
.product-image { display: block; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--paper-deep); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-info { padding: 17px 0; }
.product-info h3 { font-size: 1.45rem; }
.product-desc { min-height: 48px; margin: 7px 0 11px; color: var(--muted); font-size: .86rem; }
.price { font-weight: 700; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-actions .text-link { color: var(--accent-dark); font-size: .78rem; font-weight: 700; }
.band { background: var(--sage); }
.quote { max-width: 760px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); }
.page-hero { padding: 92px 0 70px; background: var(--paper-deep); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); margin-top: 15px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 34px; }
.filter { border: 1px solid var(--line); padding: 9px 14px; background: transparent; color: var(--muted); font-size: .77rem; }
.filter.active, .filter:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.search { width: 230px; margin-left: auto; border: 1px solid var(--line); padding: 10px 13px; background: var(--white); color: var(--ink); }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 75px 0 110px; }
.detail-main-image { aspect-ratio: 1 / 1; background: var(--paper-deep); object-fit: cover; width: 100%; }
.detail-info h1 { margin: 13px 0 16px; font-size: clamp(2.7rem, 5vw, 5rem); }
.detail-info .price { font-size: 1.2rem; }
.detail-copy { margin: 28px 0; color: var(--muted); }
.detail-list { padding: 17px 0; border-top: 1px solid var(--line); }
.detail-list strong { display: block; margin-bottom: 4px; }
.detail-list span { color: var(--muted); }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-right: 10px; }
.quantity button { width: 36px; height: 42px; border: 0; background: transparent; font-size: 1.2rem; }
.quantity span { min-width: 28px; text-align: center; }
.cart-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; padding: 60px 0 110px; }
.cart-row { display: grid; grid-template-columns: 76px 1fr auto auto; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 76px; height: 76px; object-fit: cover; background: var(--paper-deep); }
.cart-row h3 { font-size: 1.25rem; }
.cart-row p { margin: 3px 0 0; color: var(--muted); font-size: .82rem; }
.remove { border: 0; background: none; color: var(--accent-dark); font-size: .78rem; }
.summary { align-self: start; padding: 25px; background: var(--white); }
.summary h3 { margin-bottom: 22px; }
.summary-line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary-total { display: flex; justify-content: space-between; padding: 19px 0; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); padding: 12px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 100px; resize: vertical; }
.notice { margin: 20px 0; padding: 14px 16px; background: #f2ddd4; color: #713729; font-size: .85rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article img { aspect-ratio: 1.35; width: 100%; object-fit: cover; }
.article h3 { margin: 16px 0 7px; }
.article p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.prose { max-width: 760px; padding: 60px 0 100px; }
.prose h2 { margin: 44px 0 13px; font-size: 2.2rem; }
.prose p, .prose li { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding: 70px 0 110px; }
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item strong { display: block; font-family: var(--serif); font-size: 1.4rem; }
.contact-item span { color: var(--muted); }
.site-footer { padding: 58px 0 25px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(2, 1fr); gap: 35px; }
.footer-grid p, .footer-links { color: var(--muted); font-size: .85rem; }
.footer-links a { display: block; margin: 6px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.empty { padding: 40px 0; color: var(--muted); }
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 600px); }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 16px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 7px 0; }
  h1 { font-size: 3.8rem; }
  .hero { min-height: 650px; background: linear-gradient(0deg, rgba(247,243,237,.98) 10%, rgba(247,243,237,.35) 72%), url('https://images.unsplash.com/photo-1556229010-6c3f2c9ca5f8?auto=format&fit=crop&w=1200&q=80') center/cover; }
  .hero-content { padding: 70px 0 55px; }
  .section { padding: 70px 0; }
  .section-head, .intro-grid, .contact-grid, .detail, .cart-layout { display: block; }
  .section-head h2 { margin-bottom: 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { min-height: 190px; padding: 18px; }
  .product-grid, .article-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .product-info h3 { font-size: 1.15rem; }
  .product-desc { min-height: 0; }
  .search { width: 100%; margin-left: 0; order: -1; }
  .detail-info { padding-top: 35px; }
  .cart-layout .summary { margin-top: 35px; }
  .cart-row { grid-template-columns: 58px 1fr auto; gap: 10px; }
  .cart-row img { width: 58px; height: 58px; }
  .cart-row .quantity { grid-column: 2; }
  .cart-row .row-total { grid-column: 3; grid-row: 1 / span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
