:root {
  --bg: #fff;
  --fg: #080808;
  --muted: #696969;
  --line: #d8d8d8;
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Noto Sans", Arial, sans-serif;
  --gutter: max(20px, 5vw);
  --section-y: clamp(40px, 4vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }

button, a { font: inherit; }

a { color: inherit; }

button:focus-visible, a:focus-visible {
  outline: 3px solid #6ea8ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 36px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: flex;
  max-width: 370px;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brand__logo-wrap {
  display: grid;
  width: 88px;
  height: 68px;
  flex: 0 0 88px;
  place-items: center;
  background: #fff;
}

.brand__logo { width: 88px; height: auto; }

.brand__name {
  display: flex;
  width: 220px;
  flex-direction: column;
  font-family: var(--serif);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.brand__name span { white-space: nowrap; }

.brand__name span:last-child {
  margin-top: 2px;
  font-size: 1.45em;
  font-weight: 400;
  letter-spacing: .035em;
}

.site-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 52px);
}

.site-nav { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 30px); }
.site-nav a { font-size: 16px; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 21px;
  border: 1px solid currentColor;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.button--dark { color: #fff; background: #000; }
.button--dark:hover { color: #000; background: #fff; }
.button--light { color: #000; background: #fff; }
.button--light:hover { color: #fff; background: #000; }

.menu-toggle { display: none; }

.hero {
  display: grid;
  height: clamp(430px, 28vw, 610px);
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  overflow: hidden;
  color: #fff;
  background: #050505;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(44px, 5vw, 86px) var(--gutter);
}

.eyebrow, .section-label {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section:not(.section--dark):not(.projects) .section-label,
.dialog .section-label { color: #000; }

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(72px, 8.2vw, 154px);
  font-weight: 600;
  letter-spacing: normal;
  line-height: .85;
}

.hero__lead {
  max-width: 530px;
  margin: 25px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.35;
}

.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.text-link { text-underline-offset: 6px; }
.text-link--light { color: #fff; }

.hero__stage { position: relative; min-width: 0; height: 100%; perspective: 1200px; }

.hero__stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -38%;
  right: -20%;
  width: 112%;
  height: 92%;
  opacity: .88;
  background: repeating-linear-gradient(118deg, #050505 0 11%, #fff 11% 18%, #050505 18% 31%, #fff 31% 39%);
  filter: blur(2px);
  transform: rotate(4deg);
}

.stripes {
  position: absolute;
  z-index: 1;
  right: -18%;
  bottom: -22%;
  left: -15%;
  height: 94%;
  background: repeating-linear-gradient(102deg, #fff 0 8%, #050505 8% 18%, #fff 18% 23%, #050505 23% 36%);
  transform: rotateX(66deg) rotateZ(-4deg);
  transform-origin: center bottom;
}

.cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #111;
  background: #ddd;
  box-shadow: 0 28px 70px rgb(0 0 0 / 35%);
}

.cover--hero {
  position: absolute;
  bottom: 13%;
  width: clamp(112px, 11vw, 190px);
  aspect-ratio: .67;
  padding: clamp(14px, 1.6vw, 25px);
}

.cover--hero strong { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 37px); line-height: 1; }
.cover__kicker, .cover__note { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.cover--one { color: #fff; background: #9b271f; }
.cover--two { color: #171717; background: #e6c64a; }
.cover--three { color: #fff; background: #315773; }
.cover--four { color: #111; background: #dedbd1; }
.cover--five { color: #fff; background: #254f3e; }
.cover--six { color: #111; background: #d694a8; }

.hero .cover--one { z-index: 4; left: 8%; transform: rotate(-8deg); }
.hero .cover--two { z-index: 3; left: 28%; bottom: 17%; transform: rotate(3deg) translateZ(-25px); }
.hero .cover--three { z-index: 5; right: 22%; bottom: 11%; transform: rotate(-2deg) translateZ(15px); }
.hero .cover--four { z-index: 2; right: 4%; bottom: 20%; transform: rotate(8deg) translateZ(-45px); }

.section { padding: var(--section-y) var(--gutter); }
.section > *, .site-footer > * { max-width: none; }

.section h2, .shop-cta h2, .dialog h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 6.3vw, 100px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: .96;
}

.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 9vw, 160px); }
.prose { max-width: 620px; font-size: clamp(18px, 1.6vw, 24px); }
.prose p { margin-top: 0; }
.content-note { color: var(--muted); font-size: 13px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }

.book-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(145px, 1fr));
  gap: clamp(16px, 2vw, 34px);
  overflow-x: auto;
  padding: 10px 5px 30px;
  scroll-snap-type: x proximity;
}

.book-card {
  display: flex;
  min-width: 145px;
  flex-direction: column;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
}

.cover--catalog {
  width: 100%;
  aspect-ratio: .67;
  padding: clamp(13px, 1.5vw, 23px);
  transition: transform 220ms ease;
}

.cover--catalog strong { font-family: var(--serif); font-size: clamp(20px, 2vw, 32px); line-height: 1.05; }
.cover--catalog span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.book-card:hover .cover--catalog { transform: translateY(-8px); }
.book-card__title { margin-top: 20px; font-family: var(--serif); font-weight: 600; }
.book-card__meta { margin-top: 5px; color: var(--muted); font-size: 13px; }

.section--dark { min-height: 490px; color: #fff; background: #090909; }
.section-placeholder { max-width: 680px; margin: 45px 0 0; color: var(--muted); font-size: 18px; }
.section-placeholder--light { color: #777; }

.text-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.awards-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #111; }
.award { display: flex; min-height: 230px; flex-direction: column; gap: 14px; padding: 25px; border-right: 1px solid var(--line); }
.award:last-child { border-right: 0; }
.award time { font-size: 38px; font-family: var(--serif); }
.award strong { font-family: var(--serif); font-size: 20px; }
.award span { margin-top: auto; color: var(--muted); font-size: 13px; }

.projects { color: #fff; background: #111; }
.news { min-height: 480px; }

.shop-cta {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  padding: var(--section-y) var(--gutter);
  color: #fff;
  background: #050505;
}

.shop-cta__stripes {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050505f5 0%, #050505e0 36%, #05050580 65%, #05050520 100%);
  pointer-events: none;
}
.shop-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(32px, 5vw, 80px); background: repeating-linear-gradient(125deg, #080808 0 70px, #bbb9b3 70px 140px); }
#shopCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.shop-cta__note { position: relative; z-index: 1; padding: 28px; border: 1px solid #ffffff30; background: #080808d9; backdrop-filter: blur(8px); font-size: 18px; line-height: 1.65; }
.shop-cta__note p { margin: 0 0 16px; }
.shop-cta__note p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .shop-cta { grid-template-columns: minmax(0, 1fr); }
  .shop-cta__note { max-width: 620px; }
}

.shop-cta__content { position: relative; z-index: 1; max-width: 950px; }
.shop-cta h2 { margin-bottom: 42px; }

.site-footer {
  background: #252422;
  color: #e8e4dc;
  display: flex;
  flex-wrap: wrap;
  min-height: 104px;
  align-items: center;
  gap: 24px 36px;
  padding: 16px var(--gutter);
  border-top: 1px solid #ffffff18;
  font-size: 13px;
}
.footer-brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; color: #fff; }
.footer-brand__logo { width: 88px; height: auto; flex-shrink: 0; filter: invert(1) brightness(1.16); }
.footer-contacts { display: grid; justify-content: center; flex: 1; min-width: max-content; font-size: 15px; line-height: 1.6; color: #fff; }
.footer-contacts p { margin: 0; }
.footer-contacts p + p { margin-top: 6px; }
.footer-contacts a { text-decoration: none; transition: color 180ms ease; }
.footer-contacts a:hover { color: #b7aa92; }
.footer-shop { flex-shrink: 0; }
.footer-actions { display: flex; flex: 0 1 auto; min-width: max-content; align-items: center; justify-content: flex-end; gap: clamp(22px, 3vw, 52px); }
.footer-nav { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 30px); }
.footer-nav a { white-space: nowrap; font-size: 16px; text-decoration: none; transition: color 180ms ease; }
.footer-nav a:hover { color: #b7aa92; }
@media (max-width: 1180px) {
  .footer-actions { flex-basis: 100%; min-width: 0; }
  .footer-nav { flex-wrap: wrap; }
}

.dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  color: #111;
  background: #fff;
}

.dialog::backdrop { background: rgb(0 0 0 / 76%); }
.dialog__panel { position: relative; overflow-y: auto; padding: clamp(34px, 6vw, 80px); }
.dialog h2 { font-size: clamp(38px, 5.4vw, 68px); }
.dialog__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; font-size: 33px; background: transparent; cursor: pointer; }
.dialog p:last-child { max-width: 560px; margin-top: 30px; }

@media (max-width: 1180px) {
  .site-header { min-height: 88px; }
  .menu-toggle {
    display: flex;
    min-width: 64px;
    min-height: 48px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #111;
    background: #fff;
  }
  .site-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 28px var(--gutter);
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .site-menu.is-open { display: flex; }
  .site-nav { align-items: flex-start; flex: 1; flex-wrap: wrap; }
  .hero { height: clamp(430px, 42vw, 540px); grid-template-columns: .9fr 1.1fr; }
  .book-row { grid-template-columns: repeat(6, minmax(190px, 1fr)); }
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
  .award { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .site-header { min-height: 78px; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand { gap: 10px; }
  .brand__logo-wrap { width: 68px; height: 52px; flex-basis: 68px; }
  .brand__logo { width: 68px; }
  .brand__name { width: 150px; max-width: 150px; font-size: 11px; letter-spacing: .035em; }
  .menu-toggle { flex: 0 0 64px; }
  .menu-toggle__label { font-size: 13px; }
  .site-menu { flex-direction: column; }
  .site-nav { flex-direction: column; gap: 0; }
  .site-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-shop { width: 100%; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero { height: auto; }
  .hero__copy { min-height: 520px; padding-bottom: 56px; }
  .hero h1 { max-width: 100%; font-size: clamp(68px, 23vw, 104px); }
  .hero__lead { margin-top: 28px; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .hero__stage { min-height: 430px; }
  .cover--hero { width: clamp(112px, 35vw, 165px); bottom: 23%; }
  .hero .cover--one { left: 5%; }
  .hero .cover--two { left: 31%; bottom: 28%; }
  .hero .cover--three { right: 7%; bottom: 18%; }
  .hero .cover--four { display: none; }
  .stripes { bottom: -17%; height: 80%; }

  .about__grid { grid-template-columns: 1fr; gap: 45px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 40px; }
  .book-row { margin-right: calc(var(--gutter) * -1); }
  .awards-grid { grid-template-columns: 1fr; }
  .award { min-height: 180px; border-right: 0; }
  .shop-cta__stripes { background: linear-gradient(90deg, #050505eb, #050505a0); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 24px; padding-block: 24px; }
  .footer-contacts { flex: none; min-width: 0; justify-content: start; }
  .footer-actions { width: 100%; flex-basis: auto; flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { width: 100%; gap: 16px 20px; }
  .footer-brand__logo { width: 68px; }
  .dialog { width: 100%; height: 100%; max-height: none; margin: 0; }
  .dialog__panel { min-height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
