:root {
  color-scheme: light;
  --paper: #f3eee4;
  --paper-light: #fbf8f2;
  --ink: #171813;
  --muted: #66675f;
  --line: rgba(23, 24, 19, 0.18);
  --tomato: #b94732;
  --moss: #4e6049;
  --gold: #af8c4e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1480px;
  --pad: clamp(22px, 4vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  width: min(100%, var(--max));
  min-height: 92px;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 45px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand span {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand em {
  color: var(--tomato);
  font-style: italic;
  font-weight: 400;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.site-header nav a {
  position: relative;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  padding: clamp(132px, 14vh, 170px) var(--pad) clamp(72px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  align-items: center;
  gap: clamp(38px, 5vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: min(55vw, 850px);
  height: min(55vw, 850px);
  border: 1px solid rgba(23, 24, 19, 0.11);
  border-radius: 50%;
}

.hero-copy,
.hero-library {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--tomato);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(68px, 8.3vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.062em;
  text-wrap: balance;
}

.hero-deck {
  max-width: 680px;
  margin: 38px 0 0;
  color: #3f4039;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.4;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 170ms ease, color 170ms ease, transform 170ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper-light);
}

.button-primary:hover {
  background: var(--tomato);
  border-color: var(--tomato);
  transform: translateY(-2px);
}

.text-link {
  font-family: var(--serif);
  font-size: 17px;
  text-underline-offset: 5px;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 170ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-facts {
  max-width: 630px;
  margin: 54px 0 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding-right: 20px;
}

.hero-facts dt {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  padding: 26px 0;
}

.hero-book {
  width: 100%;
  max-width: 285px;
  justify-self: end;
  color: var(--ink);
  text-decoration: none;
  transition: transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-book-birds {
  justify-self: start;
  transform: translateY(42px);
}

.hero-book:hover {
  transform: translateY(-8px);
}

.hero-book-birds:hover {
  transform: translateY(34px);
}

.hero-book img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ddd4c6;
  box-shadow: 0 22px 34px rgba(24, 20, 14, 0.2);
}

.hero-book > span {
  display: block;
  width: max-content;
  margin-top: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(23, 24, 19, 0.28);
  color: var(--tomato);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee {
  width: 100%;
  padding: 15px 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-light);
}

.marquee div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: marquee 34s linear infinite;
}

.marquee span {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.marquee i {
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-pad {
  padding: clamp(88px, 10vw, 150px) var(--pad);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 50px;
}

.section-heading h2,
.approach h2 {
  margin: 0;
  font-size: clamp(50px, 7vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 19px;
}

.filters {
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 650 11px/1 var(--sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.filter:hover {
  color: var(--ink);
  border-color: var(--line);
}

.filter.is-active {
  background: var(--ink);
  color: var(--paper-light);
}

.book-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 78px) clamp(20px, 3vw, 46px);
}

.book-card[hidden] {
  display: none;
}

.book-cover-wrap {
  position: relative;
  padding: 0 7%;
}

.book-cover-wrap::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: -8px;
  left: 12%;
  z-index: -1;
  height: 44%;
  background: rgba(23, 24, 19, 0.18);
  filter: blur(18px);
  transform: skew(-5deg);
}

.book-cover-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ddd4c6;
  box-shadow: 0 16px 24px rgba(31, 26, 18, 0.17);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.book-card:hover .book-cover-wrap img {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 24px 36px rgba(31, 26, 18, 0.2);
}

.book-status {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 9px 6px;
  background: var(--paper-light);
  border: 1px solid rgba(23, 24, 19, 0.18);
  color: var(--moss);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.is-forthcoming .book-status {
  color: var(--tomato);
}

.is-available .book-status {
  border-color: rgba(78, 96, 73, 0.38);
  color: var(--moss);
}

.book-info {
  padding-top: 18px;
}

.book-genre {
  margin: 0 0 8px;
  color: var(--tomato);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.book-info h3 {
  margin: 0;
  font-size: clamp(25px, 2.15vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.book-author {
  min-height: 36px;
  margin: 9px 0 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.book-blurb {
  margin: 0 0 19px;
  color: #4e4f47;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
}

.book-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.book-link span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 160ms ease;
}

a.book-link:hover span {
  transform: translate(3px, -3px);
}

.book-link-muted {
  border-bottom-style: dotted;
  color: var(--muted);
}

.filter-result {
  max-width: var(--max);
  margin: 56px auto 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
  gap: clamp(56px, 10vw, 160px);
  background: var(--moss);
  color: var(--paper-light);
}

.approach-intro {
  align-self: start;
}

.approach .eyebrow {
  color: #e3be74;
}

.approach-intro > p:last-child {
  max-width: 570px;
  margin: 34px 0 0;
  color: rgba(251, 248, 242, 0.72);
  font-family: var(--serif);
  font-size: 20px;
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-list li {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 26px;
  border-top: 1px solid rgba(251, 248, 242, 0.28);
}

.approach-list li:last-child {
  border-bottom: 1px solid rgba(251, 248, 242, 0.28);
}

.approach-list > li > span {
  padding-top: 8px;
  color: #e3be74;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.approach-list h3 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.approach-list p {
  max-width: 620px;
  margin: 0;
  color: rgba(251, 248, 242, 0.72);
  font-family: var(--serif);
  font-size: 17px;
}

.manifesto {
  position: relative;
  min-height: 670px;
  display: grid;
  grid-template-columns: 0.48fr minmax(0, 1fr);
  align-items: center;
  gap: clamp(50px, 10vw, 160px);
  overflow: hidden;
  background: var(--tomato);
  color: var(--paper-light);
}

.manifesto::before {
  content: "CG";
  position: absolute;
  right: -0.05em;
  bottom: -0.35em;
  color: rgba(251, 248, 242, 0.055);
  font-family: var(--serif);
  font-size: min(48vw, 680px);
  line-height: 1;
  letter-spacing: -0.14em;
}

.manifesto-mark,
.manifesto-copy {
  position: relative;
  z-index: 1;
}

.manifesto-mark {
  display: flex;
  justify-content: center;
}

.manifesto-mark img {
  width: min(100%, 320px);
  border: 10px solid var(--paper-light);
  border-radius: 5px;
  box-shadow: 0 24px 60px rgba(78, 15, 17, 0.28);
  opacity: 1;
  transform: rotate(-2deg);
}

.manifesto .eyebrow {
  color: #f1d59d;
}

.manifesto blockquote {
  max-width: 980px;
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.manifesto-copy > p:last-child {
  max-width: 690px;
  margin: 40px 0 0;
  color: rgba(251, 248, 242, 0.78);
  font-family: var(--serif);
  font-size: 18px;
}

.site-footer {
  padding: 30px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  background: var(--ink);
  color: var(--paper-light);
}

.brand-footer {
  color: var(--paper-light);
}

.brand-footer img {
  border-radius: 2px;
  filter: none;
  mix-blend-mode: normal;
}

.site-footer > p {
  margin: 0;
  color: rgba(251, 248, 242, 0.62);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.copyright {
  justify-self: end;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-style: normal !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.8fr);
  }

  .hero-library {
    gap: 20px;
  }

  .hero-book {
    max-width: 235px;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
  }

  .hero {
    padding-top: 136px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: clamp(68px, 15vw, 108px);
  }

  .hero-library {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .hero-book {
    max-width: 260px;
  }

  .section-heading,
  .approach {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 24px;
  }

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

  .approach {
    gap: 50px;
  }

  .manifesto {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 44px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 78px;
    align-items: flex-start;
  }

  .brand span {
    max-width: 94px;
    line-height: 1;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .site-header nav a:nth-child(2) {
    display: none;
  }

  .hero {
    padding-top: 124px;
  }

  h1 {
    font-size: clamp(60px, 19vw, 92px);
  }

  .hero-deck {
    margin-top: 28px;
  }

  .hero-facts dd {
    font-size: 9px;
  }

  .hero-library {
    gap: 14px;
    padding: 8px 0 30px;
  }

  .hero-book {
    max-width: none;
  }

  .hero-book-birds {
    transform: translateY(24px);
  }

  .hero-book-birds:hover {
    transform: translateY(16px);
  }

  .hero-book > span {
    margin-top: 10px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .section-heading h2,
  .approach h2 {
    font-size: clamp(49px, 15vw, 76px);
  }

  .filters {
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .book-grid {
    gap: 48px 18px;
  }

  .book-cover-wrap {
    padding: 0;
  }

  .book-info {
    padding-top: 22px;
  }

  .book-info h3 {
    font-size: 25px;
  }

  .book-author {
    min-height: 50px;
    font-size: 10px;
  }

  .book-blurb {
    display: none;
  }

  .book-link {
    font-size: 9px;
  }

  .book-status {
    margin-top: 12px;
    font-size: 7px;
  }

  .approach-list li {
    grid-template-columns: 34px 1fr;
    gap: 16px;
  }

  .manifesto {
    min-height: 620px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .manifesto-mark {
    justify-content: flex-start;
  }

  .manifesto-mark img {
    width: 92px;
    border-width: 4px;
  }

  .manifesto blockquote {
    font-size: clamp(44px, 13vw, 64px);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
