:root {
  --bg: #0c0c0d;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --card: #161618;
  --line: rgba(255,255,255,.08);
  --text: #f3efe8;
  --muted: #9a9388;
  --silver: #cfc6b8;
  --accent: #d8c7a5;
  --danger: #c45c4a;
  --ok: #7d9a6e;
  --shadow: 0 20px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
button, a, .chip { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea {
  font-family: "Segoe UI", system-ui, sans-serif;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.ui { font-family: "Segoe UI", system-ui, sans-serif; letter-spacing: .02em; }
.eyebrow {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(12,12,13,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 18px; letter-spacing: .16em;
  font-weight: 500;
}
.logo span { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { font-family: "Segoe UI", system-ui, sans-serif; font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.menu-btn {
  display: none;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}
.cart-btn {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}
.cart-btn b { color: var(--accent); margin-left: 6px; }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 78vh;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 72px 48px;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(800px 400px at 10% 20%, rgba(216,199,165,.08), transparent 60%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.05;
  margin: 16px 0 20px;
}
.hero p { color: var(--muted); max-width: 460px; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.btn-primary { background: var(--accent); color: #1a1612; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.hero-media { position: relative; overflow: hidden; background: #000; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; min-height: 420px;
}

/* SECTIONS */
section { padding: 72px 28px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 { font-size: 34px; font-weight: 400; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}
.chip.active, .chip:hover { color: var(--text); border-color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(216,199,165,.35); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: #111; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 16px 18px; }
.card-body h3 { font-size: 20px; font-weight: 400; }
.meta { color: var(--muted); font-size: 13px; font-family: "Segoe UI", system-ui, sans-serif; margin: 4px 0 10px; }
.price-row { display: flex; justify-content: space-between; align-items: center; }
.price { color: var(--silver); font-family: "Segoe UI", system-ui, sans-serif; font-size: 14px; }
.note { font-size: 11px; color: #6f6a63; margin-top: 8px; }

.about, .contact {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid, .contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.about p, .placeholder-box p { color: var(--muted); margin-top: 12px; }
.placeholder-box {
  border: 1px dashed rgba(216,199,165,.3);
  padding: 22px;
  border-radius: 16px;
  background: rgba(216,199,165,.04);
}
.about img { border-radius: var(--radius); height: 100%; min-height: 360px; max-height: 640px; width: 100%; object-fit: cover; }
.about-grid { align-items: start; }
.subhead { font-size: 22px; font-weight: 400; margin: 22px 0 10px; }
.service-list { color: var(--muted); padding-left: 18px; margin: 0 0 20px; }
.service-list li { margin-bottom: 10px; }
.service-list strong { color: var(--text); }

footer {
  padding: 28px;
  display: flex; justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.promo-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.62);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo-overlay.open { display: flex; }
.promo-card {
  position: relative;
  width: min(420px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 28px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.promo-card h2 { font-size: 36px; font-weight: 400; margin: 10px 0 12px; }
.promo-card p { color: var(--muted); margin-bottom: 22px; }
.promo-card .btn { width: 100%; min-height: 44px; }

/* MODAL */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.62);
  z-index: 50; display: none;
}
.overlay.open { display: block; }
.modal {
  position: fixed; z-index: 60;
  inset: 5vh 6vw auto;
  max-width: 980px; margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: none;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.modal.open { display: grid; grid-template-columns: 1.1fr .9fr; }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.modal-info { padding: 28px; }
.modal-info h2 { font-size: 32px; font-weight: 400; margin: 8px 0 10px; }
.qty {
  display: flex; align-items: center; gap: 10px; margin: 18px 0;
}
.qty button {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-3); color: var(--text); border: 1px solid var(--line); cursor: pointer;
}
#modal-thumbs img {
  width: 64px; height: 48px; object-fit: cover; border-radius: 8px;
  cursor: pointer; border: 1px solid var(--line);
}
.close-x {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.45); color: white; border: 0;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
}

/* CART */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 70;
  transform: translateX(110%);
  transition: transform .28s ease;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer header, .drawer footer.bar { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer footer.bar { border-bottom: 0; border-top: 1px solid var(--line); }
.cart-items { flex: 1; overflow: auto; padding: 12px 20px; }
.cart-row {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.cart-row button.link { background: none; border: 0; color: var(--danger); cursor: pointer; font-size: 12px; }

/* CHECKOUT */
.checkout {
  display: none;
  padding: 48px 28px 80px;
}
.checkout.open { display: block; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 12px; color: var(--muted); margin: 12px 0 6px; font-family: "Segoe UI", system-ui, sans-serif; }
input, textarea, select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
}
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.ok-banner {
  display: none;
  margin-top: 18px;
  padding: 14px;
  background: rgba(125,154,110,.15);
  border: 1px solid rgba(125,154,110,.4);
  border-radius: 12px;
}

@media (max-width: 980px) {
  .hero, .modal.open, .about-grid, .contact-grid, .checkout-grid {
    grid-template-columns: 1fr;
  }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero {
    min-height: 0;
  }
  .hero-media { order: -1; }
  .hero-media video, .hero-media img { min-height: 240px; max-height: 46vh; }
  .hero-copy { padding: 28px 20px 36px; }
  .hero h1 { font-size: clamp(34px, 11vw, 52px); }
  .hero p { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 140px; min-height: 44px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 28px; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .chip { flex: 0 0 auto; min-height: 36px; }
  section { padding: 40px 16px; }
  .nav { padding: 12px 14px; padding-top: max(12px, env(safe-area-inset-top)); }
  .logo { font-size: 15px; letter-spacing: .1em; }
  .menu-btn { display: inline-flex; min-height: 40px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12,12,13,.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 14px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; font-size: 16px; color: var(--text); }
  .cart-btn { min-height: 40px; }
  .modal {
    inset: env(safe-area-inset-top) 0 0 0;
    max-width: none;
    height: 100dvh;
    border-radius: 0;
    overflow: auto;
  }
  .modal.open { display: block; }
  .modal-gallery img { min-height: 220px; max-height: 42vh; }
  .modal-info { padding: 18px 16px 40px; }
  .modal-info h2 { font-size: 26px; }
  .about img { min-height: 220px; max-height: 280px; }
  footer {
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }
  form .row { grid-template-columns: 1fr; }
  .checkout { padding: 24px 16px 80px; }
  .price-row { gap: 8px; flex-wrap: wrap; }
  .card-body .btn { min-height: 40px; padding: 8px 12px; }
  .drawer { width: 100%; padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero-media video, .hero-media img { min-height: 200px; max-height: 38vh; }
}
