:root {
  --ink: #172220;
  --petrol: #123f3a;
  --petrol-light: #276a61;
  --coral: #df785e;
  --coral-dark: #bd5944;
  --cream: #f5efdf;
  --paper: #fffdf7;
  --gold: #e7ac52;
  --line: rgba(23, 34, 32, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  color: var(--cream);
  background: var(--petrol);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: inline-flex; align-items: center; gap: .72rem; font-size: .95rem; font-weight: 800; letter-spacing: .09em; text-decoration: none; line-height: 1; }
.brand b { display: block; font-weight: 800; }
.brand-mark {
  width: 48px; height: 48px; display: block; object-fit: cover;
  border-radius: 11px;
}
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); font-size: .9rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:not(.nav-cta):hover { color: #fff; }
.nav-cta { padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem);
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 81% 20%, rgba(223,120,94,.25), transparent 27rem),
    linear-gradient(135deg, #0c312e, var(--petrol));
}
.hero-copy { max-width: 720px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.1rem; color: var(--coral); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.03; }
h1 { max-width: 760px; font-family: var(--serif); font-size: clamp(3.2rem, 6.7vw, 6.7rem); font-weight: 400; letter-spacing: -.045em; }
h1 em { display: block; color: var(--coral); font-weight: 400; }
.hero-lead { max-width: 610px; margin: 2rem 0; color: rgba(245,239,223,.78); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.3rem; border-radius: 4px; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--coral); }
.button-primary:hover { background: #ee8c70; }
.button-dark { color: #fff; background: var(--ink); }
.text-link, .card-link { font-weight: 750; text-underline-offset: 4px; }

.hero-books { position: relative; min-height: 520px; }
.book { position: absolute; width: min(53%, 320px); border-radius: 3px; box-shadow: 0 30px 60px rgba(0,0,0,.44); }
.book-back { left: 8%; top: 4%; transform: rotate(-9deg); }
.book-front { right: 6%; top: 0; transform: rotate(7deg); }
.hero-stamp { position: absolute; right: 0; bottom: 1rem; width: 122px; height: 122px; display: grid; place-items: center; text-align: center; color: var(--cream); border: 2px solid var(--coral); border-radius: 50%; font-family: var(--serif); font-size: 1.1rem; font-style: italic; transform: rotate(-8deg); }

.manifesto { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.2rem; color: var(--cream); background: var(--coral-dark); text-align: center; }
.manifesto p { margin: 0; }

.catalogue { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 420px); align-items: end; gap: 2rem; max-width: 1400px; margin: 0 auto 4rem; }
.section-heading h2, .about h2, .closing h2 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: #54605e; }

.feature-book { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); max-width: 1400px; margin: 0 auto 2.5rem; background: var(--coral); }
.feature-cover { display: grid; place-items: center; min-height: 650px; padding: clamp(2rem, 5vw, 4.5rem); background: #0b1110; }
.feature-cover img { width: min(100%, 370px); box-shadow: 0 24px 45px rgba(0,0,0,.38); }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 6rem); }
.collection { margin: 0 0 .8rem; font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.feature-copy h3 { max-width: 700px; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; letter-spacing: -.05em; }
.hook { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.feature-copy > p:not(.collection) { max-width: 650px; }
.facts { display: flex; gap: 1px; padding: 0; margin: 1.5rem 0 2.5rem; list-style: none; }
.facts li { display: grid; flex: 1; padding: 1rem; border: 1px solid rgba(23,34,32,.25); }
.facts strong { font-family: var(--serif); font-size: 2rem; }
.facts span { font-size: .8rem; }
.feature-copy .button { align-self: flex-start; }

.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1400px; margin: 0 auto; }
.book-card { display: flex; flex-direction: column; min-width: 0; }
.card-cover { display: grid; place-items: center; min-height: 530px; padding: 2.5rem; overflow: hidden; }
.card-cover img { width: min(100%, 270px); max-height: 450px; object-fit: contain; box-shadow: 0 22px 38px rgba(0,0,0,.25); transition: transform .3s; }
.book-card:hover .card-cover img { transform: translateY(-7px) rotate(-1deg); }
.theme-yellow .card-cover { background: #d9a92d; }
.theme-coral .card-cover { background: #d86f55; }
.theme-blue .card-cover { background: #163e4c; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 2rem; border: 1px solid var(--line); border-top: 0; background: var(--paper); }
.card-copy h3 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; letter-spacing: -.035em; }
.card-copy > p { color: #4f5957; }
.card-copy .hook { color: var(--ink); font-size: 1.12rem; }
.meta { padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.card-link { margin-top: auto; padding-top: 1rem; color: var(--coral-dark); }

.about { display: grid; grid-template-columns: .65fr 1.4fr .75fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7.5rem); color: var(--cream); background: var(--petrol); }
.about-mark { justify-self: center; width: min(100%, 300px); }
.about-mark img { width: 100%; border-radius: 22%; }
.about-copy > p:not(.eyebrow) { max-width: 660px; color: rgba(245,239,223,.76); }
.about aside { padding: 1.7rem; border-top: 3px solid var(--coral); background: rgba(255,255,255,.06); }
.about aside span { display: block; margin-bottom: .8rem; color: var(--coral); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.about aside strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; }

.closing { padding: clamp(5rem, 9vw, 8rem) 1.25rem; text-align: center; background: var(--paper); }
.closing .eyebrow { margin-bottom: 1.2rem; }
.closing h2 { margin-bottom: 2rem; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); color: var(--cream); background: var(--ink); font-size: .8rem; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }
.brand-footer .brand-mark { width: 38px; height: 38px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 420px; }
  .hero-books { min-height: 430px; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .book-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .book-card:last-child .card-copy { border-top: 1px solid var(--line); border-left: 0; }
  .about { grid-template-columns: .5fr 1.5fr; }
  .about aside { grid-column: 2; }
}

@media (max-width: 760px) {
  .site-header { height: auto; padding-block: 1rem; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .55rem .75rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-books { min-height: 420px; margin-top: 1rem; }
  .book { width: min(53%, 250px); }
  .manifesto { display: block; }
  .section-heading { grid-template-columns: 1fr; }
  .feature-book { grid-template-columns: 1fr; }
  .feature-cover { min-height: 0; padding: 3rem 2rem; }
  .feature-cover img { width: min(75%, 320px); }
  .facts { flex-direction: column; }
  .facts li { grid-template-columns: 3rem 1fr; align-items: center; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card:last-child { grid-column: auto; display: flex; }
  .book-card:last-child .card-copy { border-top: 0; border-left: 1px solid var(--line); }
  .card-cover { min-height: 480px; }
  .about { grid-template-columns: 1fr; }
  .about-mark { display: none; }
  .about aside { grid-column: auto; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-self: center; }
  footer p:last-child { text-align: center; }
}

@media (max-width: 440px) {
  .brand { font-size: .78rem; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-cta { font-size: .75rem; }
  h1 { font-size: 3rem; }
  .hero-books { min-height: 330px; }
  .hero-stamp { width: 92px; height: 92px; font-size: .88rem; }
  .card-cover { min-height: 400px; padding: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
