@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap");

:root {
  --paper: #f8f5ef;
  --ink: #2e2e2b;
  --green: #556b4d;
  --sage: #dde4d7;
  --muted: #686961;
  --line: #d2d4c8;
  --white: #fffdf9;
  --content: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.68 Inter, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

a,
a:visited {
  color: inherit;
  text-decoration: none;
}

main a:not(.home-cta):not(.paypal-placeholder):not(.entry-media-link),
main a:not(.home-cta):not(.paypal-placeholder):not(.entry-media-link):visited,
footer a,
footer a:visited {
  color: var(--green);
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.7px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: auto;
}

.home-cta:hover,
.home-cta:focus-visible,
.paypal-placeholder:hover,
.paypal-placeholder:focus-visible,
.entry-media-link:hover,
.entry-media-link:focus-visible {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

h1,
h2,
h3,
.hero-quote,
.foundation-name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

h1 {
  max-width: 780px;
  margin: 0 0 28px;
  font-size: clamp(3rem, 5.2vw, 4.8rem);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

p {
  margin: 0 0 22px;
}

.wrap {
  width: min(100% - 76px, var(--content));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
  color: var(--green);
}

.menu-toggle {
  display: none;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font: 500 0.92rem/1 Inter, Arial, sans-serif;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
}

.page-main {
  padding-bottom: 80px;
}

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 500;
}

.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
}

.home-cta-group {
  align-items: stretch;
  gap: 12px;
}

.home-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font: 500 14px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: background-color 160ms ease, color 160ms ease;
}

.home-cta:hover,
.home-cta:focus-visible {
  text-decoration: none;
}

.home-cta--primary,
.home-cta--primary:visited {
  background: var(--green);
  color: #fff;
}

.home-cta--primary:hover {
  background: #4c6145;
  color: #fff;
}

.home-cta--secondary,
.home-cta--secondary:visited {
  background: transparent;
  border-color: #a8b5a0;
  color: var(--green);
}

.home-cta--secondary:hover {
  background: rgb(168 181 160 / 14%);
  border-color: #91a188;
  color: var(--green);
}

.home-cta:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.65fr);
  gap: clamp(40px, 5.5vw, 72px);
  align-items: center;
  padding: clamp(38px, 4.2vw, 56px) 0;
}

.hero-quote {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 701px) {
  .home-hero > div {
    transform: translateY(-18px);
  }

  .home-hero h1 {
    font-size: clamp(2.76rem, 4.78vw, 4.42rem);
  }
}

.hero-quote small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font: 0.74rem/1.5 Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.mission {
  max-width: 680px;
  color: #474842;
  font-size: 1.08rem;
  line-height: 1.7;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.78) contrast(1.03);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6.5vw, 84px);
  align-items: center;
  padding: clamp(40px, 4.5vw, 56px) 0;
}

.book-cover {
  width: min(75%, 340px);
  margin-inline: auto;
  box-shadow: 12px 16px 28px rgb(32 37 27 / 14%);
}

.home-feature p,
.simple-section p,
.project-copy p {
  max-width: 660px;
  color: #4b4c46;
}

.press-note {
  margin-top: 34px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  margin-inline: 0;
}

.press-note p {
  margin: 0;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}

.press-note cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font: 500 0.7rem/1.5 Inter, Arial, sans-serif;
  font-style: normal;
}

.simple-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6.5vw, 84px);
  padding: clamp(36px, 4vw, 50px) 0;
}

.simple-section h2 {
  margin-bottom: 0;
}

.ukraine-highlight {
  background: color-mix(in srgb, var(--sage) 62%, var(--paper));
}

.notebook-preview {
  padding: clamp(40px, 4.5vw, 54px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.notebook-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.notebook-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.entry-type {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 30px 0 0;
  color: var(--green);
  font-size: 0.82rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
}

.projects-intro {
  max-width: 780px;
  padding: clamp(36px, 4.2vw, 52px) 0 clamp(24px, 2.8vw, 34px);
}

.projects-intro p {
  max-width: 680px;
  color: #4b4c46;
  font-size: 1.18rem;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 6.5vw, 82px);
  align-items: center;
  padding: clamp(36px, 4vw, 50px) 0;
  border-top: 1px solid var(--line);
}

.project-feature.reverse .project-visual {
  order: 2;
}

.project-feature.reverse .project-copy {
  order: 1;
}

.project-feature.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.project-visual {
  min-width: 0;
}

.book-visual {
  display: flex;
  justify-content: center;
  background: transparent;
}

.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.84);
}

.project-image.project-image-compact {
  width: min(74%, 430px);
  margin-inline: auto;
}

.project-image.project-image-contain {
  object-fit: contain;
  background: var(--paper-deep);
}

.project-image.book {
  width: min(88%, 400px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  box-shadow: none;
}

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding: 54px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 44px;
  font-size: 0.82rem;
}

.foundation-name {
  margin-bottom: 13px;
  font-size: 1.2rem;
}

.registered {
  color: var(--muted);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--green);
}

.footer-social-links {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.detail-main {
  padding-bottom: 80px;
}

.breadcrumb {
  margin: 32px 0 48px;
  color: var(--muted);
  font-size: 0.76rem;
}

.breadcrumb a {
  color: var(--green);
}

.detail-intro {
  max-width: 900px;
  padding-bottom: 46px;
}

.detail-intro h1,
.detail-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 5vw, 4.65rem);
}

.detail-lead {
  max-width: 760px;
  color: #474842;
  font-size: 1.16rem;
  line-height: 1.7;
}

.detail-hero-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.detail-hero-figure {
  width: 100%;
  margin: 0;
}

.detail-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
}

.editorial-quote {
  max-width: 720px;
  margin: 62px auto;
  color: var(--green);
  text-align: center;
  font: italic clamp(1.55rem, 2.5vw, 2rem)/1.45 Fraunces, Georgia, serif;
}

.editorial-quote small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font: 0.74rem/1.55 Inter, Arial, sans-serif;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(42px, 7vw, 88px);
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.detail-section h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.campaign-section {
  grid-template-columns: minmax(220px, 0.72fr) minmax(250px, 0.9fr) minmax(0, 1.38fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
  padding: 46px 0;
}

.campaign-heading,
.campaign-section .detail-copy {
  min-width: 0;
}

.campaign-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
}

.campaign-section .archive-photo {
  min-width: 0;
  margin: 0;
}

.campaign-section .detail-copy {
  max-width: none;
}

.campaign-section .detail-copy p {
  line-height: 1.62;
}

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

.detail-copy a {
  font-size: inherit;
}

.detail-copy p:last-child {
  margin-bottom: 0;
}

.detail-note {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 2px solid var(--green);
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-carousel {
  width: 100%;
  margin: 30px 0 28px;
}

.detail-carousel-viewport {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sage);
  touch-action: pan-y;
}

.detail-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 320ms ease;
  will-change: transform;
}

.detail-carousel-slide {
  display: grid;
  flex: 0 0 100%;
  place-items: center;
  height: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--sage);
}

.detail-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-carousel-slide.is-landscape img {
  object-fit: cover;
}

.detail-carousel-slide.is-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.detail-carousel-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 13px;
}

.detail-carousel-button {
  width: fit-content;
  padding: 8px 15px;
  border: 1px solid #a8b5a0;
  border-radius: 6px;
  background: transparent;
  color: var(--green);
  font: 500 0.84rem/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.detail-carousel-button:last-child {
  justify-self: end;
}

.detail-carousel-button:hover {
  border-color: var(--green);
  background: var(--sage);
}

.detail-carousel-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.yalta-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
  padding-bottom: 58px;
}

.archive-photo {
  margin: 24px 0 0;
}

.archive-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.archive-photo.hero-photo {
  margin-top: 0;
}

.archive-photo.hero-photo img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.archive-photo figcaption {
  margin-top: 9px;
}

.source-note {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 1050px) {
  .campaign-section {
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
    gap: 26px 44px;
  }

  .campaign-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .wrap {
    width: min(100% - 44px, var(--content));
  }

  .header-inner {
    min-height: 90px;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .js .menu-toggle {
    display: inline-block;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav[data-open="true"] {
    position: absolute;
    z-index: 10;
    top: 90px;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 9px 22px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .js .site-nav[data-open="true"] a {
    padding: 10px 0;
  }

  .home-hero,
  .home-feature,
  .project-feature {
    gap: 48px;
  }

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

  .footer-identity {
    grid-column: 1 / -1;
  }

  .yalta-hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 42px;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .home-hero,
  .home-feature,
  .simple-section,
  .project-feature,
  .project-feature.reverse,
  .detail-section,
  .yalta-hero {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 36px;
  }

  .portrait {
    width: min(84%, 420px);
  }

  .home-feature .book-cover {
    width: min(64%, 300px);
  }

  .simple-section {
    gap: 22px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .project-feature.reverse .project-visual,
  .project-feature.reverse .project-copy {
    order: initial;
  }

  .project-image.project-image-compact {
    width: 100%;
  }

  .project-copy {
    order: 1;
  }

  .project-visual {
    order: 2;
  }

  .breadcrumb {
    margin: 25px 0 38px;
  }

  .detail-section {
    gap: 20px;
    padding: 44px 0;
  }

  .yalta-hero {
    padding-bottom: 46px;
  }

  .archive-photo.hero-photo {
    width: min(100%, 560px);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 36px, var(--content));
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 18px;
  }

  .notebook-entry {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-cta-group {
    flex-direction: column;
  }

  .home-cta {
    width: 100%;
  }

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

  .footer-identity {
    grid-column: auto;
  }

  .detail-carousel-controls {
    gap: 10px;
  }

  .detail-carousel-button {
    padding-inline: 12px;
  }
}

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

  .detail-carousel-track {
    transition: none;
  }
}
