:root {
  --bg: #0b0d12;
  --bg-2: #12151c;
  --line: rgba(232, 214, 180, 0.16);
  --gold: #c6a56a;
  --gold-2: #e4c98a;
  --cream: #f4ecdf;
  --muted: #a79e90;
  --ink: #1a140c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}
main, header, footer { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7vw;
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.mark {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.links { display: flex; gap: 28px; }
.links a {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.links a:hover { color: var(--cream); }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 1px;
  background: var(--cream);
  margin: 7px 0;
}

.hero {
  min-height: 92vh;
  padding: 12vh 7vw 10vh;
  display: grid;
  align-content: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(198, 165, 106, 0.18), transparent 62%);
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.75rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.9;
  margin: 0 0 24px;
  max-width: 12ch;
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions, .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
}
.btn.gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.gold:hover { background: var(--gold-2); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.hero-covers {
  position: absolute;
  right: 6vw;
  top: 16vh;
  width: min(420px, 34vw);
  height: 560px;
  pointer-events: none;
}
.hero-covers img {
  position: absolute;
  width: 240px;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.hero-covers .a { right: 80px; top: 0; transform: rotate(-6deg); }
.hero-covers .b { right: 0; top: 150px; width: 210px; transform: rotate(5deg); }

.books, .about, .contact, .feed { padding: 90px 7vw; }
.section-head { margin-bottom: 36px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0; line-height: 0.95; }
.shelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.cover-link img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}
.cover-link:hover img { transform: translateY(-6px); }
.imprint {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.card h3 { margin: 8px 0 4px; font-size: 2rem; }
.sub { margin: 0 0 12px; color: var(--gold-2); font-family: var(--serif); font-style: italic; }
.card p { color: var(--muted); margin: 0 0 12px; }
.text-link {
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
  font-size: 0.92rem;
}

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  padding: 80px 7vw;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature.reverse {
  background: var(--bg);
  grid-template-columns: 1.15fr 0.85fr;
}
.feature.reverse .feature-cover { order: 2; }
.feature-cover img {
  width: min(420px, 100%);
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.byline { letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-size: 0.8rem; }
.pull {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1.25;
  margin: 8px 0 18px;
}
.feature-copy p { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 22px 0 0; }
.facts li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--cream);
}
.facts span { color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; padding-top: 4px; }

.about-inner, .contact-inner { max-width: 760px; }
.about p, .contact p { color: var(--muted); }
.presses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.presses div {
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 14px;
}
.presses strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.presses span { color: var(--muted); font-size: 0.95rem; }

.form { display: grid; gap: 14px; margin-top: 22px; }
label { display: grid; gap: 6px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  background: #0e1118;
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
input:focus, select:focus, textarea:focus { outline: 1px solid var(--gold); }
.form-note { color: var(--gold-2) !important; }
.mail a { color: inherit; }

.feed {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feed-copy p { color: var(--muted); max-width: 36rem; }
.feed-copy .btn { margin-top: 8px; }
.feed-frame {
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #0e1118;
}
.feed-frame .twitter-timeline { width: 100%; }

@media (max-width: 980px) {
  .feed { grid-template-columns: 1fr; }
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 7vw 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-covers { display: none; }
  .shelf, .feature, .feature.reverse, .presses { grid-template-columns: 1fr; }
  .feature.reverse .feature-cover { order: 0; }
  .card { grid-template-columns: 140px 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0e1118;
    flex-direction: column;
    padding: 12px 7vw 20px;
    border-bottom: 1px solid var(--line);
  }
  .links.open { display: flex; }
  .card { grid-template-columns: 1fr; }
  .card img { max-width: 220px; }
  footer { flex-direction: column; }
}
