*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:    #FFFFFF;
  --grey:     #E8E6E1;
  --grey-mid: #D8D5CE;
  --teal:     #4E93A0;
  --black:    #111110;
  --body:     #3A3836;
  --muted:    #5E5C58;
  --border:   #D0CCC4;
  --grotesk:  "Space Grotesk", system-ui, sans-serif;
  --mono:     "Space Mono", monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--grey);
  color: var(--body);
  font-family: var(--grotesk);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}


/* Hero logo */
.hero-logo {
  margin-bottom: 32px;
}
.hero-logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav logo cell — now structural spacer only */
.nav-logo-cell {
  display: flex; align-items: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
  min-width: 120px;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: stretch;
}
.nav-logo-cell {
  display: flex; align-items: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.nav-logo-cell img {
  height: 32px; width: auto; display: block;
}
.nav-links-cell {
  display: flex; align-items: center;
  padding: 0 40px; gap: 0;
  list-style: none;
}
.nav-links-cell li {
  display: flex; align-items: stretch;
}
.nav-links-cell li + li {
  border-left: 1px solid var(--border);
}
.nav-links-cell a {
  display: flex; align-items: center;
  padding: 0 28px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
  height: 68px;
}
.nav-links-cell a:hover { color: var(--teal); }

/* ─── HERO — two columns, left grey, right white ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
  margin-top: 68px;
}
.hero-left {
  background: var(--grey);
  padding: 80px 64px 80px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border);
  animation: fadeUp 0.8s ease both;
}
.hero-right {
  background: var(--white);
  padding: 80px 64px 80px;
  display: flex; flex-direction: column; justify-content: center;
  animation: fadeUp 0.8s ease 0.12s both;
}

.imprint-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px;
}
.imprint-label::after { content: ""; width: 32px; height: 1px; background: var(--teal); }

h1.hero-h1 {
  font-size: 72px; font-weight: 700; line-height: 0.93;
  letter-spacing: -0.03em; color: var(--black);
  margin-bottom: 40px;
}
h1.hero-h1 em { font-style: normal; color: var(--teal); display: block; }

.hero-vline {
  width: 2px; height: 48px;
  background: var(--teal);
  margin-bottom: 32px;
}

.hero-manifesto {
  font-size: 18px; font-weight: 300;
  line-height: 1.7; color: var(--body);
  max-width: 42ch;
}
.hero-manifesto strong {
  font-weight: 700; color: var(--black);
  display: block; margin-bottom: 0.6em;
  font-size: 20px; line-height: 1.45;
}

/* Right column content */
.about-body {
  font-size: 15px; font-weight: 300; line-height: 1.9;
  color: var(--body); max-width: 46ch;
  margin-bottom: 52px;
}
.about-body p + p { margin-top: 1.3em; }

.contact-label-sm {
  font-family: var(--mono);
  font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; display: block;
}
.contact-email {
  font-size: 17px; font-weight: 400; color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--border); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s; display: inline-block;
}
.contact-email:hover { color: var(--teal); border-color: var(--teal); }

/* ─── SERIES BAR — dark grey, white lettering ─── */
.series-bar {
  display: flex; align-items: stretch;
  height: 52px;
  background: #5A5750;
  border-top: none;
  border-bottom: none;
}
.series-bar-inner {
  display: flex; align-items: center;
  padding: 0 40px; gap: 20px; flex: 1;
}
.series-bar-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: #ffffff;
}
.series-bar-line { flex: 1; height: 1px; background: rgba(255,255,255,0.25); }
.series-bar-count {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffffff;
}
.series-bar-vline {
  width: 1px; background: rgba(255,255,255,0.15); align-self: stretch;
}
.series-bar-tag {
  padding: 0 32px;
  display: flex; align-items: center;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #ffffff;
}

/* ─── BOOK SECTIONS ─── */
/* Each book: left column = grey bg with cover, right column = white with text */
.book-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  min-height: 600px;
}
.book-row:nth-child(even) .book-cover-col { order: 2; }
.book-row:nth-child(even) .book-text-col  { order: 1; }

.book-cover-col {
  background: var(--grey);
  display: flex; align-items: center; justify-content: center;
  padding: 72px 56px;
  border-right: 1px solid var(--border);
}
.book-row:nth-child(even) .book-cover-col {
  border-right: none;
  border-left: 1px solid var(--border);
}

.book-cover-col img {
  display: block;
  height: 380px;
  width: auto;
  max-width: 100%;
  box-shadow: 10px 14px 40px rgba(0,0,0,0.16), 3px 5px 10px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-cover-col img:hover {
  transform: translateY(-5px);
  box-shadow: 14px 22px 56px rgba(0,0,0,0.2), 4px 8px 16px rgba(0,0,0,0.12);
}

.book-text-col {
  background: var(--white);
  padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: flex-start;
}

.vol-tag {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 20px; display: block;
}

h2.book-title {
  font-size: 38px; font-weight: 700; line-height: 1.0;
  letter-spacing: -0.025em; color: var(--black);
  margin-bottom: 10px;
}
.book-subtitle {
  font-size: 14px; font-weight: 300; letter-spacing: 0.01em;
  color: var(--muted); margin-bottom: 36px;
}

.book-vline {
  width: 2px; height: 32px; background: var(--teal);
  margin-bottom: 28px;
}

.book-blurb {
  font-size: 15px; font-weight: 300; line-height: 1.88;
  color: var(--body); max-width: 50ch; margin-bottom: 52px;
}
.book-blurb p + p { margin-top: 1.2em; }

/* Forthcoming */
.forthcoming-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); border: 1px solid var(--teal);
  padding: 5px 12px; margin-bottom: 20px;
}
.forthcoming-blurb {
  font-size: 15px; font-weight: 300; line-height: 1.88;
  color: var(--body); max-width: 50ch; font-style: italic;
}

/* ─── AUTHOR BLOCK — white bg, inside book section ─── */
.author-block {
  border-top: 1px solid var(--border); padding-top: 32px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 0; align-items: start;
}
.author-vline-col {
  width: 1px; background: var(--border);
  margin-right: 28px; align-self: stretch;
}
.author-content {}
.author-col-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 12px;
}
.author-name {
  font-size: 15px; font-weight: 600;
  color: var(--black); display: block; margin-bottom: 10px;
}
.author-bio {
  font-size: 13px; font-weight: 300; line-height: 1.85;
  color: var(--muted); max-width: 46ch;
}

/* ─── FOOTER ─── */
footer {
  background: var(--grey);
  border-top: 1px solid var(--border);
  display: flex; align-items: stretch; min-height: 72px;
}
.footer-logo-cell {
  display: flex; align-items: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.footer-logo-cell img {
  height: 28px; width: auto;
}
.footer-links-cell {
  display: flex; align-items: center; flex: 1;
  padding: 0 40px; gap: 0;
}
.footer-links-cell a {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
  padding: 0 24px 0 0;
}
.footer-links-cell a + a {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.footer-links-cell a:hover { color: var(--teal); }
.footer-copy-cell {
  display: flex; align-items: center;
  padding: 0 40px;
  border-left: 1px solid var(--border);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.08em; color: var(--muted);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { height: auto; flex-wrap: wrap; }
  .nav-logo-cell { padding: 16px 24px; border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links-cell { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero-left, .hero-right { padding: 56px 28px; }
  h1.hero-h1 { font-size: 48px; }
  .hero-manifesto { font-size: 16px; }
  .book-row { grid-template-columns: 1fr; }
  .book-row:nth-child(even) .book-cover-col,
  .book-row:nth-child(even) .book-text-col { order: unset; }
  .book-cover-col { border-right: none; border-left: none; border-bottom: 1px solid var(--border); padding: 48px 28px; }
  .book-text-col { padding: 48px 28px; }
  .book-cover-col img { height: 240px; width: auto; max-width: 100%; }
  footer { flex-wrap: wrap; }
  .footer-logo-cell, .footer-links-cell, .footer-copy-cell { padding: 20px 24px; border: none; border-top: 1px solid var(--border); width: 100%; }
}

/* ─── IMAGE WORKS SERIES BAR ─── */
.series-bar-imgworks {
  display: flex; align-items: stretch;
  height: 52px;
  background: #2E2C2A;
  border-top: none; border-bottom: none;
}
.series-bar-imgworks .series-bar-inner {
  padding: 0 40px; gap: 20px; flex: 1;
  display: flex; align-items: center;
}
.series-bar-imgworks .series-bar-label { color: rgba(255,255,255,0.75); }
.series-bar-imgworks .series-bar-line  { background: rgba(255,255,255,0.15); }
.series-bar-imgworks .series-bar-count { color: rgba(255,255,255,0.55); }
.series-bar-imgworks .series-bar-vline { background: rgba(255,255,255,0.12); }
.series-bar-imgworks .series-bar-tag   { color: #ffffff; }

/* Square cover — Image Works books */
.book-cover-col.square img {
  height: 380px;
  width: auto;
  max-width: 100%;
  box-shadow:
    12px 16px 48px rgba(0,0,0,0.28),
    4px 6px 14px rgba(0,0,0,0.18);
}
.book-cover-col.dark-bg {
  background: #1E1C1A;
}
