@font-face {
  font-family: "Nunito FZD";
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 1000;
}

:root {
  --forest: #173b2a;
  --forest-deep: #0f281d;
  --moss: #668a59;
  --leaf: #c8eca8;
  --paper: #ffffff;
  --paper-light: #ffffff;
  --sun: #2f6c49;
  --ink: #183127;
  --muted: #50705f;
  --line: rgba(24, 49, 39, 0.2);
  --shell: min(100% - 48px, 1340px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Nunito FZD", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

.admin-bar .site-header {
  top: 32px;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: #fff;
  color: var(--forest-deep);
  transform: translateY(-150%);
}

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

.preloader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  background: var(--paper);
  transition: opacity 350ms ease, visibility 350ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__brand {
  display: grid;
  text-align: center;
  line-height: 1;
}

.preloader__brand span {
  margin-bottom: 8px;
  color: var(--moss);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.preloader__brand strong {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 400;
}

.preloader__line {
  width: min(220px, 54vw);
  height: 2px;
  overflow: hidden;
  background: rgba(23, 59, 42, 0.14);
}

.preloader__line i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--forest);
  transform: translateX(-100%);
  animation: preload-line 650ms cubic-bezier(.7, 0, .3, 1) forwards;
}

@keyframes preload-line {
  to { transform: translateX(0); }
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding-inline: max(24px, calc((100vw - 1340px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  width: max-content;
  line-height: 0.95;
}

.brand span {
  margin-bottom: 5px;
  color: var(--moss);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
  font-size: 13px;
  font-weight: 800;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--sun);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav a:focus-visible,
.text-link:focus-visible,
.place__link:focus-visible,
.mobile-toolbar a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(650px, 1.32fr);
  min-height: calc(100svh - 80px);
  background: var(--paper-light);
}

.hero__copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(56px, 7vw, 112px) clamp(32px, 5vw, 92px);
}

.hero__name {
  margin: 0 0 14px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(58px, 6.1vw, 112px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.hero__lead {
  max-width: 530px;
  margin: clamp(30px, 4vw, 56px) 0 26px;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.45;
}

.text-link,
.place__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding: 11px 20px;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
  transition: background-color 180ms ease, color 180ms ease;
}

.text-link span,
.place__link span {
  color: inherit;
  font-size: 20px;
  transition: transform 180ms ease;
}

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

.text-link:hover,
.text-link:focus-visible,
.place__link:hover,
.place__link:focus-visible {
  background: var(--forest);
  color: #fff;
}

.hero__diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  overflow: hidden;
}

.hero-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--forest-deep);
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
}

.hero-photo--listowie img {
  object-position: 61% center;
}

.hero-photo--las img {
  object-position: 50% 62%;
}

.hero-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(9, 27, 18, 0.62), transparent);
  content: "";
  pointer-events: none;
}

.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 34px);
}

.hero-photo figcaption span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(88px, 10vw, 170px);
}

.section-index,
.place__number {
  color: var(--moss);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index::after {
  display: inline-block;
  width: 42px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  vertical-align: middle;
  content: "";
}

.about {
  display: grid;
  grid-template-columns: 100px minmax(0, 1.05fr) minmax(350px, 0.95fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.about h2,
.places__intro h2,
.funding h2,
.documents h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5.3vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.about__copy {
  max-width: 590px;
  padding-top: 5px;
}

.about__copy p {
  margin: 0 0 24px;
}

.about__lead {
  font-size: clamp(19px, 1.45vw, 25px);
  line-height: 1.48;
}

.places {
  color: var(--ink);
  background: #fff;
}

.places__intro {
  display: grid;
  grid-template-columns: 100px minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: end;
  padding-bottom: clamp(72px, 8vw, 120px);
}

.places__intro .section-index,
.place__number {
  color: var(--moss);
}

.places__intro p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.place {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(410px, 0.82fr);
  min-height: 690px;
  border-top: 1px solid var(--line);
}

.place--las {
  grid-template-columns: minmax(410px, 0.82fr) minmax(0, 1.18fr);
}

.place--las .place__media {
  order: 2;
}

.place__media {
  min-width: 0;
  overflow: hidden;
}

.place__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2, .65, .25, 1);
}

.place--listowie .place__media img {
  object-position: 50% 62%;
}

.place:hover .place__media img {
  transform: scale(1.018);
}

.place__copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(54px, 7vw, 120px);
}

.place__copy h3 {
  margin: 16px 0 10px;
  font-family: var(--serif);
  font-size: clamp(48px, 5.8vw, 98px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.place__type {
  max-width: 390px;
  margin: 0 0 32px;
  color: var(--moss);
  font-size: 14px;
  font-weight: 900;
}

.place__copy > p:not([class]) {
  max-width: 470px;
  margin: 0 0 34px;
  color: var(--muted);
}

.funding {
  display: grid;
  grid-template-columns: 100px minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.funding__heading p,
.documents__heading p {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 18px;
}

.funding__status {
  align-self: end;
  padding: 30px 0 0;
  border-top: 1px solid var(--ink);
}

.funding__status span {
  display: block;
  margin-bottom: 14px;
  color: var(--moss);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.funding__status strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
}

.documents {
  display: grid;
  grid-template-columns: 100px minmax(280px, 0.7fr) minmax(520px, 1.3fr);
  gap: clamp(32px, 5vw, 88px);
  border-top: 1px solid var(--line);
}

.document-list {
  border-top: 1px solid var(--ink);
}

.document-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 98px;
  border-bottom: 1px solid var(--line);
}

.document-row__number,
.document-row__meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-row strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.contact {
  display: grid;
  grid-template-columns: 100px minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 5vw, 88px);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact .section-index {
  color: var(--moss);
}

.contact__main p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.contact__details {
  display: grid;
  align-self: start;
  border-top: 1px solid var(--ink);
}

.contact__details > div {
  display: grid;
  gap: 4px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.contact__details span {
  color: var(--moss);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__details strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: end;
  padding: 46px max(24px, calc((100vw - 1340px) / 2));
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.brand--footer span {
  color: var(--moss);
}

.brand--footer strong {
  color: var(--forest);
}

.site-footer p,
.site-footer small {
  margin: 0;
  font-size: 12px;
}

.mobile-toolbar {
  display: none;
}

.simple-page {
  display: grid;
  place-content: center;
  min-height: calc(100svh - 230px);
  padding: 80px 24px;
  text-align: center;
}

.simple-page h1 {
  margin: 0 0 18px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  line-height: 1;
}

.simple-page .text-link {
  justify-self: center;
  margin-top: 20px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .hero__diptych {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .hero-photo--listowie img {
    object-position: 50% 54%;
  }

  .about,
  .places__intro,
  .funding,
  .documents,
  .contact {
    grid-template-columns: 70px 1fr;
  }

  .about__copy,
  .places__intro > p,
  .funding__status,
  .document-list,
  .contact__details {
    grid-column: 2;
  }

  .place,
  .place--las {
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
  }

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

  .site-footer small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 40px, 640px);
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
    font-size: 16px;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 20px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .desktop-nav {
    display: none;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero__copy {
    min-height: 455px;
    padding: 60px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(55px, 17vw, 74px);
    line-height: 0.9;
  }

  .hero__lead {
    margin-top: 28px;
    font-size: 18px;
  }

  .hero__diptych {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 430px;
  }

  .hero-photo--listowie img {
    object-position: 61% center;
  }

  .hero-photo--las img {
    object-position: 50% 70%;
  }

  .hero-photo figcaption {
    right: 14px;
    bottom: 16px;
    left: 14px;
    display: grid;
    gap: 3px;
    font-size: 19px;
  }

  .hero-photo figcaption span {
    font-size: 9px;
  }

  .section {
    padding-block: 82px;
  }

  .about,
  .places__intro,
  .funding,
  .documents,
  .contact {
    display: block;
  }

  .section-index {
    margin-bottom: 26px;
  }

  .about h2,
  .places__intro h2,
  .funding h2,
  .documents h2,
  .contact h2 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .about__copy,
  .places__intro > p,
  .funding__status,
  .document-list,
  .contact__details {
    margin-top: 38px;
  }

  .about__lead {
    font-size: 19px;
  }

  .places__intro {
    padding-bottom: 72px;
  }

  .places__intro p {
    font-size: 16px;
  }

  .place,
  .place--las {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .place--las .place__media {
    order: 0;
  }

  .place__media {
    aspect-ratio: 4 / 3;
  }

  .place__copy {
    padding: 52px 20px 62px;
  }

  .place__link {
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
  }

  .place__copy h3 {
    font-size: clamp(48px, 16vw, 66px);
  }

  .funding__status {
    padding-top: 24px;
  }

  .documents__heading p {
    font-size: 16px;
  }

  .document-row {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    min-height: 104px;
    padding-block: 14px;
  }

  .document-row__meta {
    grid-column: 2;
  }

  .contact__main p {
    font-size: 17px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 46px 20px 50px;
  }

  .site-footer small {
    grid-column: auto;
  }

  .mobile-toolbar {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 7px 6px max(7px, env(safe-area-inset-bottom));
    color: var(--muted);
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(23, 59, 42, 0.08);
    backdrop-filter: blur(14px);
  }

  .mobile-toolbar a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 50px;
    font-size: 9px;
    font-weight: 800;
    transition: color 160ms ease;
  }

  .mobile-toolbar svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .mobile-toolbar a.is-active {
    color: var(--forest);
  }
}

@media (max-width: 370px) {
  .mobile-toolbar a {
    font-size: 8px;
  }

  .mobile-toolbar svg {
    width: 20px;
    height: 20px;
  }
}

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

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