:root {
  --parchment: #efe6d5;
  --ivory: #f8f3e8;
  --paper: #fffaf0;
  --navy: #14253d;
  --burgundy: #6d2e35;
  --olive: #697057;
  --charcoal: #252522;
  --gold: #ae8a4a;
  --stone: #d7c9b3;
  --line: rgba(37, 37, 34, 0.18);
  --shadow: 0 18px 40px rgba(42, 34, 24, 0.10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    linear-gradient(90deg, rgba(174, 138, 74, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(174, 138, 74, 0.025) 1px, transparent 1px),
    var(--ivory);
  background-size: 44px 44px;
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  border: 12px solid rgba(20, 37, 61, 0.025);
  z-index: 100;
}

a {
  color: inherit;
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 243, 232, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 5px 5px 0 var(--gold);
  font: 700 0.72rem/1 var(--sans);
  letter-spacing: 0.12em;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy small {
  color: #6f6b62;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.64rem;
}

.main-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.main-nav a,
.footer-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-color: currentColor;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  padding-block: 84px 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.editorial-copy h2,
.visit-copy h2,
.legal-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6.9rem);
  line-height: 0.93;
}

.hero-text {
  max-width: 630px;
  margin: 28px 0 32px;
  color: #4c4b47;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--navy);
  color: var(--ivory);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  border: 1px solid var(--navy);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold);
  background: #0f1d31;
}

.hero-note {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note span {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  color: #6a675f;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.book-composition {
  position: relative;
  min-height: 480px;
}

.paper-card,
.book {
  position: absolute;
  box-shadow: var(--shadow);
}

.paper-card {
  background: var(--paper);
  border: 1px solid rgba(37, 37, 34, 0.18);
}

.paper-card-back {
  width: 78%;
  height: 70%;
  right: 0;
  top: 6%;
  transform: rotate(3deg);
  background: linear-gradient(145deg, var(--parchment), #e6d6bc);
}

.paper-card-back::before,
.paper-card-back::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(20, 37, 61, 0.18);
}

.paper-card-back::before { top: 34%; }
.paper-card-back::after { top: 48%; }

.book {
  bottom: 6%;
  border: 1px solid rgba(255,255,255,0.12);
}

.book span {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  color: rgba(255,255,255,0.82);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.book-one {
  width: 74px;
  height: 310px;
  left: 7%;
  background: var(--burgundy);
}

.book-two {
  width: 90px;
  height: 355px;
  left: 25%;
  background: var(--navy);
}

.book-three {
  width: 64px;
  height: 285px;
  left: 47%;
  background: var(--olive);
}

.paper-card-front {
  right: 4%;
  bottom: 14%;
  width: 42%;
  min-height: 180px;
  padding: 26px;
  transform: rotate(-2deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 8px solid var(--gold);
}

.paper-card-front p,
.paper-card-front strong,
.paper-card-front span {
  margin: 0;
}

.paper-card-front p,
.paper-card-front span {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.paper-card-front strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.collection {
  padding: 92px 0;
  background: var(--navy);
  color: var(--ivory);
}

.collection .eyebrow {
  color: #d9b775;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2,
.editorial-copy h2,
.visit-copy h2,
.legal-block h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.3vw, 4.2rem);
  line-height: 1.02;
}

.collection .section-heading h2,
.collection .section-heading p {
  color: var(--ivory);
}

.section-heading > p:last-child,
.visit-copy > p:last-child,
.about-copy > p:last-child,
.editorial-copy > p:last-child {
  margin: 0;
  max-width: 680px;
  color: #64615a;
}

.collection .section-heading > p:last-child {
  color: rgba(248,243,232,0.72);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(248,243,232,0.22);
  border-left: 1px solid rgba(248,243,232,0.22);
}

.category-card {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid rgba(248,243,232,0.22);
  border-bottom: 1px solid rgba(248,243,232,0.22);
  position: relative;
  transition: background 160ms ease;
}

.category-card:hover {
  background: rgba(255,255,255,0.04);
}

.category-number {
  display: inline-block;
  margin-bottom: 44px;
  color: #d8bc84;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.category-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.category-card p {
  margin: 0;
  color: rgba(248,243,232,0.68);
  font-size: 0.92rem;
}

.about {
  padding-block: 94px;
}

.about-panel {
  display: grid;
  grid-template-columns: 80px 1fr 260px;
  gap: 36px;
  align-items: stretch;
  min-height: 420px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 42px;
}

.vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  font: 700 0.68rem/1 var(--sans);
  letter-spacing: 0.28em;
  border-right: 1px solid var(--line);
}

.about-copy {
  align-self: center;
  max-width: 680px;
}

.book-stack {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
}

.stack-spine {
  display: block;
  width: 42px;
  border: 1px solid rgba(37,37,34,0.16);
  box-shadow: 4px 6px 0 rgba(37,37,34,0.06);
}

.stack-spine::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  margin: 18px auto;
}

.spine-a { height: 255px; background: var(--burgundy); }
.spine-b { height: 310px; background: var(--navy); }
.spine-c { height: 225px; background: var(--gold); }
.spine-d { height: 280px; background: var(--olive); }

.experience {
  padding: 82px 0;
  background: var(--parchment);
  border-top: 1px solid rgba(37,37,34,0.08);
  border-bottom: 1px solid rgba(37,37,34,0.08);
}

.narrow-heading {
  max-width: 760px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.experience-card {
  min-height: 245px;
  padding: 26px;
  background: rgba(255,250,240,0.72);
  border: 1px solid rgba(37,37,34,0.14);
  box-shadow: 8px 8px 0 rgba(109,46,53,0.06);
}

.mini-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--burgundy);
  font: 700 0.72rem/1 var(--serif);
  margin-bottom: 52px;
}

.experience-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.experience-card p {
  margin: 0;
  color: #5f5b54;
  font-size: 0.9rem;
}

.editorial {
  padding-block: 90px;
}

.editorial-panel {
  position: relative;
  min-height: 400px;
  display: grid;
  grid-template-columns: 120px 1fr 280px;
  gap: 34px;
  align-items: center;
  padding: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quote-mark {
  align-self: start;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 0.8;
}

.editorial-copy {
  max-width: 650px;
}

.paper-layers {
  position: relative;
  height: 250px;
}

.paper-layers span {
  position: absolute;
  inset: 12% 6%;
  border: 1px solid rgba(20,37,61,0.16);
  background: var(--ivory);
  box-shadow: 8px 8px 0 rgba(20,37,61,0.05);
}

.paper-layers span:nth-child(1) { transform: rotate(8deg); background: var(--olive); opacity: 0.65; }
.paper-layers span:nth-child(2) { transform: rotate(-4deg); background: #d9c7a7; }
.paper-layers span:nth-child(3) {
  transform: rotate(1deg);
  background:
    linear-gradient(90deg, var(--burgundy) 0 18%, transparent 18% 100%),
    var(--paper);
}

.visit {
  padding: 84px 0;
  background: var(--burgundy);
  color: var(--ivory);
}

.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.visit .eyebrow {
  color: #e5c889;
}

.visit-copy h2,
.visit-copy > p:last-child {
  color: var(--ivory);
}

.location-card {
  margin: 0;
  padding: 34px;
  display: grid;
  gap: 8px;
  font-style: normal;
  background: var(--ivory);
  color: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 10px 10px 0 rgba(17,17,17,0.14);
}

.location-index {
  color: var(--burgundy);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.location-card strong {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.8rem;
}

.legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-block: 82px;
}

.legal-block {
  border-top: 4px solid var(--navy);
  padding: 26px 0 0;
}

.legal-block:nth-child(2) {
  border-top-color: var(--burgundy);
}

.legal-block h2 {
  font-size: 2.1rem;
}

.legal-block p:last-child {
  margin: 0;
  color: #5f5b54;
  font-size: 0.92rem;
}

.site-footer {
  padding: 44px 0;
  background: var(--charcoal);
  color: var(--ivory);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-end;
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(248,243,232,0.65);
  font-size: 0.86rem;
}

.footer-nav {
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(248,243,232,0.78);
}

@media (max-width: 980px) {
  .nav-shell {
    align-items: flex-start;
    padding-block: 18px;
    flex-direction: column;
  }

  .main-nav {
    gap: 14px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 64px;
  }

  .book-composition {
    min-height: 380px;
  }

  .book-one { height: 235px; }
  .book-two { height: 280px; }
  .book-three { height: 210px; }

  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-panel {
    grid-template-columns: 55px 1fr;
  }

  .book-stack {
    grid-column: 2;
    justify-content: flex-start;
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-panel {
    grid-template-columns: 80px 1fr;
  }

  .paper-layers {
    grid-column: 2;
    width: 70%;
  }
}

@media (max-width: 720px) {
  body::before {
    border-width: 6px;
  }

  .section-shell,
  .nav-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: static;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    gap: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding-block: 48px 54px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-note {
    margin-top: 34px;
  }

  .book-composition {
    min-height: 300px;
  }

  .paper-card-back {
    width: 88%;
  }

  .book-one { width: 52px; height: 190px; }
  .book-two { width: 62px; height: 225px; }
  .book-three { width: 48px; height: 170px; }

  .paper-card-front {
    width: 52%;
    min-height: 140px;
    padding: 18px;
  }

  .collection,
  .experience,
  .visit {
    padding-block: 64px;
  }

  .collection-grid,
  .experience-grid,
  .visit-grid,
  .legal {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: auto;
  }

  .category-number,
  .mini-mark {
    margin-bottom: 24px;
  }

  .about {
    padding-block: 64px;
  }

  .about-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 32px;
  }

  .vertical-label {
    writing-mode: horizontal-tb;
    transform: none;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }

  .book-stack {
    grid-column: 1;
    padding-bottom: 0;
    justify-content: center;
  }

  .stack-spine { width: 34px; }
  .spine-a { height: 170px; }
  .spine-b { height: 205px; }
  .spine-c { height: 150px; }
  .spine-d { height: 185px; }

  .editorial {
    padding-block: 64px;
  }

  .editorial-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .quote-mark {
    font-size: 5.5rem;
    height: 54px;
  }

  .paper-layers {
    grid-column: 1;
    width: 100%;
    height: 190px;
  }

  .legal {
    padding-block: 64px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .main-nav {
    grid-template-columns: repeat(2, max-content);
  }

  .brand-mark {
    width: 38px;
    height: 46px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .book-composition {
    min-height: 260px;
  }

  .paper-card-front {
    width: 58%;
  }

  .section-heading h2,
  .about-copy h2,
  .editorial-copy h2,
  .visit-copy h2 {
    font-size: 2.35rem;
  }
}
