@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #0a0b0d;
  --ink-soft: #111316;
  --paper: #f4efe5;
  --paper-muted: #b9b1a3;
  --gold: #c7a565;
  --gold-bright: #e1c486;
  --line: rgba(225, 196, 134, 0.28);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 10;
}

a { color: inherit; }
.shell { width: min(1180px, calc(100% - 80px)); margin: 0 auto; }
.site-header {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; width: 132px; align-items: center; }
.brand img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; gap: 31px; margin-left: auto; }
.main-nav a, .header-status { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--paper-muted); }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--gold-bright); }
.header-status { color: var(--gold); white-space: nowrap; }

.hero { min-height: 760px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 52px; padding: 85px 0 100px; }
.eyebrow { margin: 0 0 24px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: .93; letter-spacing: -.025em; }
h1 { max-width: 560px; margin-bottom: 36px; font-size: clamp(62px, 7.2vw, 108px); }
h1 em, h2 em { color: var(--gold-bright); font-style: normal; }
.hero-lede { max-width: 470px; margin-bottom: 29px; color: #d0c9bd; font-size: 18px; line-height: 1.65; }
.hero-line { width: 76px; height: 1px; margin-bottom: 20px; background: var(--gold); }
.hero-motto { color: var(--paper-muted); font-family: var(--serif); font-size: 23px; line-height: 1.17; }
.text-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 27px; color: var(--gold-bright); text-decoration: none; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; }
.text-link span { font-size: 20px; line-height: 0; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 3px); }

.hero-art { position: relative; min-height: 540px; display: flex; align-items: center; justify-content: center; }
.art-glow { position: absolute; width: 380px; height: 480px; border-radius: 50%; background: rgba(199, 165, 101, .11); filter: blur(75px); }
.book { position: absolute; overflow: hidden; border: 1px solid rgba(225, 196, 134, .45); box-shadow: 20px 28px 55px rgba(0, 0, 0, .46); background: #111; }
.book img { display: block; width: 100%; height: 100%; object-fit: cover; }
.book-primary { z-index: 2; width: 300px; height: 450px; transform: translate(25px, 10px) rotate(2.5deg); }
.book-secondary { z-index: 1; width: 260px; height: 390px; transform: translate(-168px, -72px) rotate(-8deg); opacity: .84; }
.art-caption { position: absolute; bottom: 9px; right: 8px; margin: 0; color: var(--paper-muted); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; }
.art-caption span { color: var(--gold); }

.section-rule { display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding: 112px 0 126px; border-top: 1px solid var(--line); }
.section-index { padding-top: 8px; color: var(--gold); font-family: var(--serif); font-size: 21px; }
.section-body { position: relative; }
.narrow { max-width: 780px; }
h2 { margin-bottom: 36px; font-size: clamp(49px, 5.4vw, 80px); }
.section-body > p:not(.eyebrow) { max-width: 670px; color: #c4bcaf; font-size: 18px; }
.section-body > p + p { margin-top: 20px; }
.manifesto-mark { align-self: end; justify-self: end; width: 112px; height: 112px; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 36px; }
.manifesto-mark span { display: block; transform: translateY(-3px); }

.catalogue-content, .architecture-content { min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 68px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 350px; margin-bottom: 8px; color: var(--paper-muted); font-size: 15px; line-height: 1.65; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.book-card { min-width: 0; }
.card-cover { aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid rgba(225, 196, 134, .34); background: #111; box-shadow: 15px 22px 45px rgba(0, 0, 0, .35); }
.card-cover img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.card-meta { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0 12px; border-bottom: 1px solid var(--line); color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; }
.card-number { color: var(--paper-muted); }
.book-card h3 { max-width: 420px; margin: 25px 0 10px; font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1.05; }
.book-card p { max-width: 390px; color: var(--paper-muted); font-size: 15px; }
.book-card-next { margin-top: 98px; }

.architecture { padding-bottom: 150px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 1px solid var(--line); }
.principle { padding: 24px 0 0; }
.principle span { display: block; margin-bottom: 40px; color: var(--gold); font-family: var(--serif); font-size: 21px; }
.principle strong { display: block; margin-bottom: 9px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.principle p { max-width: 245px; margin-bottom: 0; color: var(--paper-muted); font-size: 14px; line-height: 1.6; }

.closing { padding: 155px 0 175px; text-align: center; }
.closing-mark { margin-bottom: 30px; color: var(--gold); font-size: 11px; letter-spacing: .28em; }
.closing h2 { margin-bottom: 30px; font-size: clamp(58px, 8vw, 112px); }
.closing-note { margin-bottom: 0; color: var(--paper-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; }
.site-footer { display: grid; grid-template-columns: 1fr 1.35fr 1.35fr 1fr; gap: 30px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--paper-muted); font-size: 11px; line-height: 1.5; }
.footer-brand { color: var(--gold); letter-spacing: .2em; font-size: 12px; }
.footer-note { text-align: center; }
.footer-contact { display: flex; flex-direction: column; gap: 2px; }
.footer-contact span:first-child { color: var(--paper); }
.footer-contact a { color: var(--gold-bright); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { text-align: right; }

@media (max-width: 820px) {
  .shell, .site-header { width: min(100% - 42px, 620px); }
  .site-header { min-height: 82px; flex-wrap: wrap; padding: 17px 0; gap: 14px 22px; }
  .brand { width: 116px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .header-status { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding: 80px 0 106px; }
  .hero-art { min-height: 460px; }
  .book-primary { width: 235px; height: 353px; }
  .book-secondary { width: 205px; height: 308px; transform: translate(-128px, -60px) rotate(-8deg); }
  .section-rule { grid-template-columns: 36px 1fr; gap: 17px; padding: 87px 0 96px; }
  .section-heading { display: block; margin-bottom: 48px; }
  .section-intro { margin-top: 28px; }
  .book-grid { gap: 18px; }
  .book-card-next { margin-top: 56px; }
  .book-card h3 { font-size: 27px; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .principle { padding: 22px 0 27px; border-bottom: 1px solid var(--line); }
  .principle span { margin-bottom: 12px; }
  .principle p { max-width: 420px; }
  .manifesto-mark { display: none; }
  .closing { padding: 115px 0 135px; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; }
  .footer-note, .footer-legal { text-align: left; }
}

@media (max-width: 520px) {
  .hero-art { min-height: 390px; }
  .book-primary { width: 190px; height: 285px; transform: translate(16px, 0) rotate(2.5deg); }
  .book-secondary { width: 170px; height: 255px; transform: translate(-105px, -50px) rotate(-8deg); }
  .art-caption { right: 0; bottom: -3px; font-size: 9px; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card-next { margin-top: 40px; }
  .main-nav a { font-size: 9px; letter-spacing: .08em; }
}
