:root {
  --black: #111;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e8e6e2;
  --soft: #faf9f7;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--black); margin: 0; line-height: 1.1; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.eyebrow {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px; font-weight: 400;
}
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  font-family: var(--serif); font-size: 22px; letter-spacing: .32em;
  text-decoration: none; color: var(--black); font-weight: 500;
}
.brand.small { font-size: 16px; }
.nav { display: flex; gap: 36px; }
.nav a {
  text-decoration: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--black); margin: 6px 0; transition: transform .3s; }

/* Buttons */
.btn {
  display: inline-block; background: var(--black); color: #fff; border: 1px solid var(--black);
  padding: 15px 34px; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s;
}
.btn:hover { background: #fff; color: var(--black); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 26px; }
.lead { font-size: 18px; max-width: 420px; color: var(--muted); margin: 0 0 38px; }
.hero-media img { width: 100%; }

/* Sections */
.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.section h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 18px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product { display: flex; flex-direction: column; }
.product-media { background: #fff; border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.product:hover .product-media img { transform: scale(1.03); }
.product-body { padding: 26px 4px 0; text-align: center; }
.product h3 { font-size: 28px; }
.weight { margin: 6px 0 22px; font-size: 13px; letter-spacing: .24em; color: var(--muted); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-bottom: 18px; }
.qty-btn {
  width: 44px; height: 44px; border: 0; background: none; font-size: 18px; color: var(--black); cursor: pointer;
}
.qty-btn:hover { background: var(--soft); }
.qty-input {
  width: 52px; height: 44px; border: 0; border-inline: 1px solid var(--line); text-align: center;
  font: 400 15px var(--sans); color: var(--black); -moz-appearance: textfield; appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-copy p { color: var(--muted); max-width: 480px; }
.values { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.values li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.values strong { font-weight: 500; color: var(--black); }
.values span { color: var(--muted); text-align: right; }

/* Contact */
.contact-inner { text-align: center; max-width: 620px; }
.contact .muted { margin: 0 0 34px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Order dialog */
.order-dialog {
  border: 0; padding: 0; width: min(460px, 100% - 32px); max-height: calc(100% - 32px);
  background: #fff; color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.order-dialog::backdrop { background: rgba(17,17,17,.45); }
.order-dialog form { padding: 44px 36px 32px; position: relative; }
.order-dialog h2 { font-size: 34px; margin-bottom: 28px; }
.dialog-close {
  position: absolute; top: 12px; right: 14px; background: none; border: 0;
  font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px 10px;
}
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px 14px;
  font: 400 15px var(--sans); color: var(--black); border-radius: 0; outline: none; resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: #a12a2a; font-size: 13px; margin: -4px 0 14px; }
.fine { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* Mobile */
@media (max-width: 900px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 72px; }
  .hero-copy { order: 2; }
  .products { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 56px; }
  .section { padding: 80px 0; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 18px 24px; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .order-dialog form { padding: 40px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
