:root {
  --white: #fff;
  --black: #030303;
  --soft-black: #0a0a0a;
  --grey: #777;
  --red: #a50f16;
  --gold: #c7a55b;
  --blue: #24496e;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
}

.topbar {
  min-height: 15vh;
  background: var(--white);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
}
.brand {
  width: min(1420px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand-logo {
  width: clamp(72px, 9vw, 122px);
  height: auto;
  display: block;
}
.brand-name {
  font-family: Georgia, "Times New Roman", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  letter-spacing: .18em;
  font-weight: 400;
  white-space: nowrap;
}

.hero {
  min-height: 70vh;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.10), transparent 35%),
    linear-gradient(180deg, #000 0%, #050505 55%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 32px;
  overflow: hidden;
}
.book-shelf {
  width: min(1440px, 100%);
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  align-items: center;
}
.book-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  background: #050505;
  overflow: visible;
  cursor: default;
  transform: translateZ(0);
  transition: transform .35s ease, filter .35s ease;
}
.book-card:hover { transform: translateY(-10px) scale(1.025); }
.active-book { cursor: pointer; }
.light-door {
  position: absolute;
  inset: 8% -11%;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.72), rgba(255,255,255,.18) 38%, transparent 70%);
  filter: blur(12px);
  opacity: .72;
}
.real-cover,
.future-book::before,
.final-book::before {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 24px 55px rgba(255,255,255,.2), 0 22px 70px rgba(0,0,0,.9);
}
.book-status {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.future-book {
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 28px 70px rgba(255,255,255,.13);
}
.future-book::before, .final-book::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a0a0a, #000 45%, #111);
}
.duo-cover {
  position: relative;
  z-index: 2;
  height: 74%;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.duo-img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 62%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(.78);
  mix-blend-mode: screen;
  opacity: .8;
}
.duo-img.left { left: -14%; }
.duo-img.right { right: -14%; }
.cover-title, .cover-place {
  position: relative;
  z-index: 2;
  text-align: center;
  text-transform: uppercase;
}
.cover-title {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.55vw, 1.55rem);
  letter-spacing: .08em;
}
.cover-place {
  margin-top: 8px;
  font-size: .74rem;
  letter-spacing: .28em;
  color: rgba(255,255,255,.68);
}
.red-accent { border-bottom: 4px solid var(--red); }
.gold-accent { border-bottom: 4px solid var(--gold); }
.blue-accent { border-bottom: 4px solid var(--blue); }
.final-book { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.final-light { background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); inset: 6% 43%; filter: blur(9px); }
.final-title {
  position: relative;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  letter-spacing: .22em;
}
.final-subtitle {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  letter-spacing: .1em;
}

.newsletter {
  min-height: 15vh;
  background: var(--white);
  color: #111;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: center;
  padding: 10px 36px;
}
.mailing-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mailing-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; margin-right: 8px; }
input, select, button {
  height: 38px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 0 12px;
  font: inherit;
}
button { background: #111; color: #fff; cursor: pointer; letter-spacing: .08em; text-transform: uppercase; }
.privacy { grid-column: 1; margin: 0; color: #555; font-size: .78rem; }
.privacy a, .top-socials a { color: #111; }
.top-socials { display: flex; gap: 18px; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.top-socials a { text-decoration: none; border-bottom: 1px solid transparent; }
.top-socials a:hover { border-bottom-color: #111; }
.footer-note { color: #777; font-family: Georgia, "Times New Roman", serif; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; }

.modal-toggle { display: none; }
.modal-layer { display: none; }
.modal-toggle:checked + .modal-layer { display: block; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.76);
  z-index: 10;
}
.modal-window {
  position: fixed;
  z-index: 11;
  inset: 8vh 10vw;
  background: #070707;
  color: white;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 80px rgba(255,255,255,.18);
  overflow: auto;
  padding: clamp(20px, 3vw, 42px);
}
.close-modal {
  position: sticky;
  top: 0;
  float: right;
  z-index: 12;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  background: #111;
}
.modal-content {
  clear: both;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}
.modal-cover img { width: 100%; display: block; box-shadow: 0 0 50px rgba(255,255,255,.16); }
.modal-text h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 4.5rem); letter-spacing: .08em; margin: 0 0 14px; }
.tagline { color: #d8c7a4; font-size: 1.25rem; }
.modal-text p { max-width: 760px; line-height: 1.65; color: rgba(255,255,255,.78); }
.storyboard { margin-top: 38px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px; }
.storyboard h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 14px; }
.story-grid figure { margin: 0; background: #111; border: 1px solid rgba(255,255,255,.14); }
.story-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; filter: grayscale(1); display: block; }
.story-grid figcaption { padding: 8px; font-size: .76rem; color: rgba(255,255,255,.72); }

@media (max-width: 980px) {
  .brand { flex-direction: column; gap: 10px; }
  .topbar { padding: 10px 24px; }
  .book-shelf { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .newsletter { grid-template-columns: 1fr; }
  .modal-window { inset: 4vh 4vw; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-cover { max-width: 280px; }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .brand { justify-content: center; gap: 8px; }
  .brand-left { gap: 14px; }
  .top-socials { gap: 10px; font-size: .68rem; }
  .brand-name { font-size: 1.7rem; letter-spacing: .12em; }
  .brand-logo { width: 72px; }
  .hero { padding: 28px 18px; }
  .book-shelf { grid-template-columns: 1fr; max-width: 280px; }
  .book-status { display: none; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}

.seo-content {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
