:root {
  --night: #0e0e0c;
  --cream: #f6f1e8;
  --ink: #1a1814;
  --red: #e23b2f;
  --muted: #8d877c;
  --line: rgba(246, 241, 232, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: Manrope, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 0.7rem;
}
h1 { font-size: clamp(3rem, 7vw, 5.6rem); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; font-family: Manrope, sans-serif; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
p { margin: 0 0 0.75rem; }
.wrap { width: min(1080px, calc(100% - 2.4rem)); margin-inline: auto; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 14, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row {
  width: min(1080px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo small { display: block; font-weight: 600; color: var(--red); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  box-shadow: 0 0 0 6px rgba(226, 59, 47, 0.18);
}
.head-tools { display: flex; align-items: center; gap: 0.8rem; }
.mail-link { text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button, .nav-btn, .btn { font: inherit; cursor: pointer; }
.lang button { background: transparent; color: var(--cream); border: 0; font-weight: 700; padding: 0.32rem 0.6rem; }
.lang button.is-on { background: var(--cream); color: var(--night); }
.nav-btn { display: none; background: transparent; color: var(--cream); border: 1px solid var(--line); padding: 0.32rem 0.7rem; font-weight: 700; }
#menu {
  width: min(1080px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  gap: 1.4rem;
  padding-bottom: 0.75rem;
}
#menu a { text-decoration: none; font-weight: 700; font-size: 0.95rem; }
#menu a[aria-current="page"] { color: var(--red); }

.band { padding: 4rem 0; }
.cream { background: var(--cream); color: var(--ink); }
.kicker { color: var(--red); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 0.6rem; }
.lead { font-size: 1.2rem; max-width: 38rem; }

.hero, .split { display: grid; gap: 2rem; align-items: center; }
.hero { grid-template-columns: 1.1fr 0.9fr; }
.split { grid-template-columns: 1fr 1fr; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
}
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.cream .btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

figure { margin: 0; }
.frame { background: #000; padding: 0.7rem 0; }
figure img { width: 100%; height: min(52vh, 420px); object-fit: cover; }
figcaption { margin-top: 0.55rem; font-size: 0.92rem; color: var(--muted); }
.cream figcaption { color: #6d675e; }

.facts, .cards, .steps { display: grid; gap: 1rem; }
.facts { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding-top: 1rem; }
.facts span { display: block; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.facts b { font-family: "Instrument Serif", serif; font-size: 1.7rem; font-weight: 400; }
.facts a { color: var(--red); }
.cards { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
.steps { grid-template-columns: repeat(4, 1fr); margin-top: 1.2rem; }
.cards article, .steps article { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.cream .cards article, .cream .steps article { border-top-color: #ddd4c6; }
.steps span { display: block; color: var(--red); font-weight: 700; margin-bottom: 0.3rem; }

.place { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.place article, .plain li, .limits li, .ask li, details { background: #fffdf8; padding: 1rem; }
.place a { color: var(--red); font-weight: 700; }
.plain, .limits, .ask { margin: 0.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.ask li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; }
.ask b { color: var(--red); }

form { display: grid; gap: 0.8rem; max-width: 38rem; }
label { display: grid; gap: 0.3rem; font-weight: 700; }
input, select, textarea {
  font: inherit;
  color: var(--cream);
  background: #1a1916;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.75rem 0.8rem;
}
textarea { min-height: 8rem; resize: vertical; }
.form-note { color: var(--muted); max-width: 38rem; }
.form-note a { color: var(--cream); }
.prose { max-width: 42rem; }
details { margin-top: 0.55rem; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 0.55rem; }

footer { padding: 1.4rem 0 2rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.foot-links a { color: var(--cream); text-decoration: none; font-weight: 700; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal-box {
  width: min(26rem, 100%);
  background: var(--cream);
  color: var(--ink);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.modal-box h2 { margin: 0; font-size: 2.2rem; }
.modal-box p { margin: 0; }

@media (max-width: 860px) {
  .nav-btn { display: inline-flex; }
  .mail-link { display: none; }
  .head-row { flex-wrap: wrap; align-items: flex-start; }
  .logo small { display: none; }
  .head-tools { margin-left: auto; }
  #menu { display: none; flex-direction: column; gap: 0.7rem; padding-bottom: 1rem; }
  #menu.is-open { display: flex; }
  .hero, .split, .facts, .cards, .steps, .place { grid-template-columns: 1fr; }
  .band { padding: 2.4rem 0; }
  h1 { font-size: 2.7rem; }
  figure img { height: 230px; }
}
