:root {
  --ink: #101820;
  --ink-soft: #1c2833;
  --paper: #f3efe6;
  --paper-2: #e7e1d4;
  --card: #fbf8f2;
  --line: rgba(16, 24, 32, 0.12);
  --gold: #9a6b24;
  --gold-soft: #c4a15a;
  --text: #17202a;
  --muted: #5d6772;
  --white: #fffcf8;
  --shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
  --max: 1120px;
  --font: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand strong { display: block; letter-spacing: 0.08em; font-size: 0.95rem; }
.brand small { display: block; color: var(--muted); font-size: 0.72rem; }
.mark {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0.45rem;
  font-weight: 700;
}
.nav { display: flex; gap: 0.2rem; align-items: center; }
.nav a {
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.nav a[aria-current="page"], .nav a:hover { background: var(--ink); color: var(--paper); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  padding: 4.2rem 0 3.2rem;
  align-items: end;
}
.kicker {
  margin: 0 0 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); margin: 0 0 1rem; max-width: 12ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.7rem; }
h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.lead { font-size: 1.15rem; max-width: 38rem; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-primary:hover { background: #243140; }
.btn-ghost:hover { border-color: var(--ink); }

.stack {
  display: grid;
  gap: 0.6rem;
}
.stack a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}
.stack a:hover { border-color: var(--ink); }
.stack small, .index {
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  font-weight: 600;
}
.stack span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 3.2rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}
.section-head p { margin: 0; max-width: 28rem; }

.grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card, .post-card, .product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
  text-decoration: none;
  display: block;
}
.card:hover, .post-card:hover, .product-card:hover { border-color: var(--ink); }
.card p, .post-card p, .product-card p { margin: 0.4rem 0 0; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.88rem; }
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.band {
  background: var(--ink);
  color: var(--paper);
}
.band .muted { color: rgba(243, 239, 230, 0.72); }
.band .card {
  background: transparent;
  color: inherit;
  border-color: rgba(243, 239, 230, 0.16);
}

.page-hero { padding: 3rem 0 1rem; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.crumbs { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.8rem; }
.crumbs a { color: var(--ink); }

.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.8rem; font-size: 1.45rem; }
.prose ul { padding-left: 1.1rem; }
.prose a { color: var(--gold); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.4rem; }
.form { display: grid; gap: 0.8rem; }
label { display: grid; gap: 0.35rem; font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.8rem;
  padding: 0.75rem 0.85rem;
}
textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.note {
  background: #e8f3ea;
  border: 1px solid #b7d7be;
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
}
.error {
  background: #fdecec;
  border: 1px solid #e3b4b4;
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
}
.points { margin: 0.8rem 0 0; padding-left: 1.1rem; }
.price { margin-top: 1rem; font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 5rem;
  background: #efe9dc;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.2rem;
}
.footer-grid a, .brand-line { display: block; text-decoration: none; margin: 0.25rem 0; }
.foot-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #1f7a4d;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .hero, .grid-3, .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head, .footer-bottom { flex-direction: column; align-items: start; }
  h1 { max-width: none; }
}
