:root {
  --bg: #170c0b;
  --bg-2: #22110f;
  --card: #2b1714;
  --card-2: #341c18;
  --ink: #f4e6c8;
  --ink-2: #d9c6a2;
  --muted: #a8937a;
  --brass: #e3b45a;
  --brass-2: #f5d78c;
  --brass-dark: #b07f2e;
  --red: #c7362c;
  --line: rgba(227, 180, 90, .22);
  --radius: 16px;
  --max: 1100px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--brass-2); }
a:hover { color: #fff3cf; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
b, strong { color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(23, 12, 11, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: .95rem; font-weight: 600; }
.nav a:hover { background: var(--card); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--brass); color: #2a160c; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 45%, rgba(199, 54, 44, .35) 0%, rgba(23, 12, 11, 0) 55%),
    linear-gradient(90deg, rgba(23,12,11,.97) 0%, rgba(23,12,11,.85) 45%, rgba(23,12,11,.45) 100%),
    url("img/bg-home.webp") center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; padding-top: 60px; padding-bottom: 48px; }
.hero-art { position: relative; justify-self: center; }
.hero-art::before { content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 50%; border: 3px solid rgba(227, 180, 90, .45); box-shadow: 0 0 60px rgba(227, 120, 50, .35), inset 0 0 50px rgba(199, 54, 44, .3); }
.hero-art img { position: relative; width: 420px; height: auto; filter: drop-shadow(0 18px 28px rgba(0,0,0,.55)); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.lead { font-size: 1.16rem; color: var(--ink-2); max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid var(--brass); }
.btn-brass { background: linear-gradient(180deg, var(--brass-2), var(--brass) 60%, var(--brass-dark)); color: #2a160c; }
.btn-brass:hover { filter: brightness(1.08); color: #2a160c; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.btn svg { width: 20px; height: 20px; }
.facts { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; color: var(--ink-2); font-size: .95rem; }
.facts b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--brass-2); }

/* Sections */
section.block { padding: 68px 0; }
section.block.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); }
.card .num { font-family: var(--serif); color: var(--brass); font-size: 1.5rem; font-weight: 700; line-height: 1; margin-bottom: 10px; }
.muted { color: var(--muted); }

.step-icons { display: flex; gap: 8px; margin-bottom: 12px; }
.step-icons img { width: 44px; height: 44px; }

.workshop { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.workshop img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.workshop .body { padding: 16px; }
.workshop .tag { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.workshop h3 { margin: 4px 0 6px; }
.workshop p { font-size: .93rem; margin: 0; }
.workshop .new { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.workshop .new img { width: 28px; height: 28px; aspect-ratio: auto; border: 0; }

.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.part { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.part img { width: 48px; height: 48px; flex: none; }
.part h3 { font-size: 1.05rem; margin: 2px 0 2px; }
.part p { margin: 0; font-size: .92rem; color: var(--ink-2); }

.stars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.stars .card { text-align: center; padding: 18px; }
.stars .card .star { font-size: 1.8rem; color: var(--brass); line-height: 1; margin-bottom: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.table th { background: var(--card-2); color: var(--brass-2); font-weight: 700; }
.table td { color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.shelf { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.shelf img { width: 52px; height: 52px; }
.shelf.decor img { width: 64px; height: 64px; }

/* Docs (privacy / terms / support) */
.page-head { padding: 54px 0 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.page-head p { color: var(--ink-2); margin: 0; }
.doc { max-width: 780px; padding: 40px 20px 72px; margin: 0 auto; color: var(--ink-2); }
.doc h2 { font-size: 1.45rem; margin-top: 2em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 10px; padding: 16px 18px; margin: 20px 0; color: var(--ink-2); }

.contact-card { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, #3a1d16, #2a1411); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 8px 0 32px; }
.contact-card h2 { margin: 0 0 4px; font-size: 1.4rem; }
.contact-card p { margin: 0; color: var(--ink-2); }
.contact-card > div { flex: 1 1 260px; }
.contact-card .icon { border-radius: 20px; width: 88px; height: 88px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
details[open] { padding-bottom: 14px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--brass); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: #0f0807; border-top: 1px solid var(--line); color: var(--muted); padding: 36px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--ink-2); text-decoration: none; margin-right: 16px; }
.site-footer a:hover { text-decoration: underline; color: var(--ink); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 38px; }
  .hero { background: linear-gradient(180deg, rgba(23,12,11,.92) 0%, rgba(23,12,11,.8) 60%, rgba(23,12,11,.6) 100%), url("img/bg-home.webp") center / cover no-repeat; }
  .hero-art img { width: 300px; }
  .grid-3, .parts { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid-3, .parts, .stars { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; }
  .nav a { padding: 5px 10px; font-size: .9rem; }
  section.block { padding: 48px 0; }
}
