:root {
  --bg: #1c1410;
  --paper: #f3e6cf;
  --red: #c43a22;
  --teal: #1f4a55;
  --muted: #7a6c5d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Archivo, sans-serif;
  background: var(--bg);
  color: var(--paper);
  line-height: 1.65;
}
h1, h2, h3 { font-family: "Playfair Display", serif; font-weight: 500; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 14ch; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); margin-bottom: 12px; }
.folio { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 800; }

.spine {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--red); color: #fff; padding: 10px 20px;
}
.logo { color: #fff; text-decoration: none; font-family: "Playfair Display", serif; font-size: 1.3rem; }
.logo em { font-style: italic; opacity: 0.85; }
.nav { display: flex; gap: 16px; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; font-size: 0.82rem; font-weight: 600; }
.spine-end { display: flex; align-items: center; gap: 10px; }
.lang-btn, .menu-btn { border: 1px solid rgba(255,255,255,.5); background: none; color: #fff; padding: 4px 8px; cursor: pointer; font: inherit; }
.lang-btn.is-active { background: #fff; color: var(--red); }
.menu-btn { display: none; }

.hero {
  min-height: calc(100vh - 52px);
  display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center;
  padding: 40px 6vw;
}
.stack { position: relative; height: 460px; }
.mag {
  position: absolute; width: 230px; height: 320px; border: 1px solid rgba(243,230,207,.2);
  box-shadow: 12px 16px 0 rgba(0,0,0,.25);
}
.m1 { background: #2d5a4a; left: 0; top: 40px; transform: rotate(-12deg); }
.m2 { background: #8a3a1e; left: 70px; top: 20px; transform: rotate(-4deg); }
.m3 {
  background: var(--paper); color: var(--bg); left: 140px; top: 0; transform: rotate(3deg);
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px;
}
.m3 strong { font-family: "Playfair Display", serif; font-size: 2.4rem; }
.lead { color: #cbbba6; max-width: 48ch; margin: 16px 0 22px; }
.issue-btn {
  display: inline-flex; background: var(--paper); color: var(--bg); text-decoration: none;
  padding: 12px 16px; font-weight: 800; border: 0; cursor: pointer; font: inherit; font-weight: 800;
}

.cover-strip { background: var(--teal); padding: 48px 6vw; }
.cover-strip .folio { color: #9ad0d6; }
.cover-strip h2 { font-style: italic; }
.cover-strip p:last-child { max-width: 50ch; color: #d5e6e8; }

.about, .issues, .services, .authors, .faq { padding: 72px 6vw; }
.toc { list-style: none; margin-top: 28px; }
.toc li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(243,230,207,.15); }
.toc span { color: var(--red); font-weight: 800; font-size: 0.8rem; }
.toc p { color: #cbbba6; }

.rack { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; margin-top: 20px; }
.rack article {
  min-width: 240px; min-height: 300px; background: var(--paper); color: var(--bg);
  padding: 20px; display: flex; flex-direction: column; justify-content: end;
}
.rack article:nth-child(2) { background: #dfc39a; }
.rack article:nth-child(3) { background: #f0b9a4; }
.rack article:nth-child(4) { background: #b9d0c6; }
.rack em { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--red); }

.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(243,230,207,.15); margin-top: 20px; }
.lines article { background: var(--bg); padding: 22px; }
.lines .wide { grid-column: 1 / -1; }
.lines p { color: #cbbba6; margin-top: 8px; }

.authors { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #241a15; }
.authors p { color: #cbbba6; margin-bottom: 12px; }
.contents { list-style: none; }
.contents li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px dotted rgba(243,230,207,.3);
}
.contents li::after { content: ""; flex: 1; border-bottom: 1px dotted rgba(243,230,207,.35); align-self: center; margin: 0 8px; }

.quote { padding: 80px 6vw; background: var(--paper); color: var(--bg); }
blockquote { max-width: 18em; }
blockquote p { font-family: "Playfair Display", serif; font-size: clamp(1.8rem, 4vw, 3rem); font-style: italic; }
blockquote footer { margin-top: 16px; color: var(--red); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

details { border-top: 1px solid rgba(243,230,207,.15); padding: 14px 0; }
summary { cursor: pointer; font-weight: 800; }
details p { color: #cbbba6; margin-top: 8px; }

.contact { padding: 80px 20px; background: #2a1c16; }
.letter {
  width: min(680px, 92vw); margin: 0 auto; background: var(--paper); color: var(--bg);
  padding: 36px; background-image: repeating-linear-gradient(#f3e6cf, #f3e6cf 31px, #e2d2b5 32px);
}
.letter .folio { color: var(--red); }
.letter ul { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.letter span { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.letter a { color: var(--bg); }
form { display: grid; gap: 10px; }
label { display: grid; gap: 4px; font-size: 0.85rem; }
input, textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(28,20,16,.25);
  padding: 8px 0; font: inherit; color: var(--bg);
}
.ok { color: var(--red); font-weight: 800; }

footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 6vw 32px; color: #9a8b7a; font-size: 0.85rem; }
footer a { color: var(--paper); }

@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 52px; background: #9b2c1a; flex-direction: column; padding: 16px; }
  .nav.is-open { display: flex; }
  .hero, .authors, .lines { grid-template-columns: 1fr; }
  .stack { height: 280px; }
  .mag { width: 160px; height: 220px; }
  .m3 { left: 90px; }
}
