@font-face {
  font-family: Fraunces;
  src: url(/assets/type/fraunces-roman.woff2) format('woff2');
  font-weight: 520;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url(/assets/type/fraunces-italic.woff2) format('woff2');
  font-weight: 520;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Mona Sans';
  src: url(/assets/type/mona-sans.woff2) format('woff2');
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --ink: #193c35;
  --cream: #f7f0df;
  --forest: #183e35;
  --display: Fraunces, Georgia, serif;
  --sans: 'Mona Sans', Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.35vw, 7rem);
  --bar: 3.25rem;
  color: var(--ink);
  font: 100%/1.5 var(--sans);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #bd632b;
  outline-offset: 5px;
}
.skip {
  position: fixed;
  z-index: 10;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1.15rem;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.masthead {
  position: fixed;
  z-index: 5;
  inset: 0 0 auto;
  transition:
    background-color 0.22s,
    box-shadow 0.22s;
}
.masthead.is-solid,
html:not(.with-js) .masthead {
  background: #f7efdf;
  box-shadow: 0 1px 0 #254d3e19;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  gap: 1.25rem;
}
.bar {
  height: var(--bar);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.59rem;
  flex: none;
  font: 520 clamp(1.35rem, 1.85vw, 1.6rem) / 1 var(--display);
  letter-spacing: -0.046em;
}
.brand img {
  width: clamp(1.65rem, 2vw, 1.95rem);
  height: auto;
}
.bar-actions,
.language {
  display: flex;
  align-items: center;
}
.bar-actions {
  gap: clamp(1rem, 2.65vw, 3rem);
  font-size: 0.96rem;
  font-weight: 580;
}
.bar-actions a:not(.contact) {
  text-underline-offset: 0.36em;
}
.bar-actions a:not(.contact):hover {
  text-decoration: underline;
}
.language {
  gap: 0.13rem;
}
.language a,
.language span {
  display: grid;
  place-items: center;
  min-width: 2rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: #42554a;
}
.language [aria-current] {
  font-weight: 740;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.33em;
}
.contact,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99rem;
  min-height: 2.85rem;
  padding: 0.61rem 1.38rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.contact {
  min-height: 2.1rem;
  padding: 0.38rem 1.05rem;
  font-size: 0.9rem;
  border: 1px solid #35524588;
}
.contact:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: max(40rem, 100svh);
  overflow: hidden;
  display: grid;
  align-items: start;
  background: #f6e8cf;
}
.hero-art,
.poster,
.poster img,
.live-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-art {
  z-index: -1;
  overflow: hidden;
}
.poster img {
  object-fit: cover;
}
.hero-copy {
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  margin: clamp(8.25rem, 18.2svh, 16rem) var(--gutter) 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 520;
}
h1 {
  font-size: clamp(5.2rem, min(8.7vw, 13.8svh), 10.25rem);
  letter-spacing: -0.049em;
  word-spacing: 0.055em;
  line-height: 0.94;
}
h1 em {
  font-weight: inherit;
  color: #375c45;
}
.hero-copy p {
  max-width: 35rem;
  margin: clamp(1.1rem, 2.6svh, 2rem) 0 0;
  font-size: clamp(1rem, 1.26vw, 1.27rem);
  line-height: 1.45;
  font-weight: 475;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem 1.25rem;
  margin-top: clamp(1rem, 2.65svh, 1.8rem);
}
.primary {
  gap: 0.65rem;
  padding: 0.9rem 1.5rem;
  background: var(--forest);
  color: #fffae9;
  font-size: 1rem;
  box-shadow: 0 2px 3px #21433818;
}
.primary svg {
  width: 1.25rem;
  height: 1.25rem;
}
.primary:hover {
  background: #2a5445;
}
@media (max-aspect-ratio: 6/5) {
  .hero-copy {
    margin-top: clamp(8.1rem, 16svh, 15rem);
  }
  h1 {
    font-size: clamp(4.4rem, 10.6vw, 7.6rem);
  }
}
@media (max-width: 760px) {
  :root {
    --bar: 3rem;
  }
  .bar-actions {
    gap: clamp(0.55rem, 2.4vw, 1.1rem);
  }
  .contact {
    padding: 0.34rem 0.85rem;
    min-height: 2.08rem;
    font-size: 0.89rem;
  }
  .hero {
    min-height: max(37.25rem, 100svh);
  }
  .hero-copy {
    margin-top: clamp(7rem, 15.1svh, 10.5rem);
    max-width: calc(100% - 2 * var(--gutter));
  }
  h1 {
    font-size: clamp(4.2rem, 14.1vw, 6.45rem);
  }
  .hero-copy p {
    font-size: 1.05rem;
    max-width: 24ch;
    margin-top: 1rem;
  }
  .primary {
    min-height: 2.85rem;
    padding: 0.75rem 1.18rem;
    font-size: 0.94rem;
  }
}
@media (max-width: 390px) {
  :root {
    --gutter: 1rem;
  }
  .bar {
    gap: 0.4rem;
  }
  .brand {
    font-size: 1.4rem;
    gap: 0.28rem;
  }
  .brand img {
    width: 1.9rem;
  }
  .language a,
  .language span {
    min-width: 1.68rem;
  }
  .contact {
    padding-inline: 0.72rem;
  }
}
@media (min-width: 761px) and (max-height: 680px) {
  .hero {
    min-height: max(32rem, 100svh);
  }
  .hero-copy {
    margin-top: 6.3rem;
  }
  h1 {
    font-size: clamp(4.1rem, 11.7svh, 5.25rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* The artwork scrolls with its heading. Large panoramas punctuate pairs of smaller studies. */
.catalogue {
  width: min(100% - 2 * var(--gutter), 74rem);
  margin: 0 auto;
  padding-block: clamp(2rem, 5vw, 4.75rem) clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(1.25rem, 3vw, 3rem);
  row-gap: clamp(2.2rem, 4.8vw, 4.8rem);
  scroll-margin-top: var(--bar);
}
.chapter {
  min-width: 0;
  scroll-margin-top: calc(var(--bar) + 1rem);
}
.chapter h2 {
  color: var(--ink);
  font: 520 clamp(1.4rem, 2.4vw, 2.35rem) / 1.13 var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 0.65em;
}
#wheat,
#village,
#farm,
#island,
#flock,
#fireflies {
  grid-column: 1/-1;
}
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.55;
  border-radius: clamp(0.6rem, 1.2vw, 1rem);
  background: #e6e0cf;
  touch-action: pan-y pinch-zoom;
}
#fireflies .stage {
  aspect-ratio: 2.17;
  max-height: 66svh;
}
#flock .stage {
  aspect-ratio: 2.4;
  max-height: 64svh;
}
#wheat .stage {
  aspect-ratio: 2.22;
  max-height: 67svh;
}
#farm .stage {
  aspect-ratio: 2;
}
#island .stage {
  aspect-ratio: 2;
  background: #e9eee3;
}
.example-link {
  display: inline-block;
  padding-block: .65rem;
  text-underline-offset: .22em;
  text-decoration: underline;
}
.farm-reference {
  background: #e7eadb;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter);
}
.farm-reference .chapter {
  max-width: 74rem;
  margin-inline: auto;
}
.farm-reference .journey-view {
  display: grid;
  grid-template: "title action" auto "art art" auto / minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.1rem 1.5rem;
}
.farm-reference h2 {
  grid-area: title;
  margin: 0;
  font-size: clamp(1.85rem, 3.7vw, 3.35rem);
  text-wrap: balance;
}
.farm-reference h2 span {
  display: block;
  margin-bottom: .35rem;
  font: 550 .96rem/1.35 var(--sans);
  letter-spacing: normal;
}
.farm-reference .stage { grid-area: art; }
.reference-link {
  grid-area: action;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .7rem 1.25rem;
  min-height: 2.8rem;
  border-radius: 99rem;
  background: var(--forest);
  color: #fffae9;
  font-weight: 600;
}
.reference-link:hover { background: #2a5445; }
#village .stage {
  aspect-ratio: 1.92;
  max-height: 73svh;
}
#farm {
  margin-bottom: clamp(1rem, 7vh, 4.5rem);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: clamp(1.25rem, 4vh, 2.6rem);
  background: linear-gradient(transparent, var(--cream));
  pointer-events: none;
}
.stage:focus-visible {
  outline-offset: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.live-canvas,
.growth-film {
  z-index: 1;
  pointer-events: none;
}
.growth-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage > .poster {
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity 180ms ease-out;
}
.stage[data-live] > .poster,
.stage[data-film] > .poster {
  opacity: 0;
  transition: opacity 180ms ease-out;
}
.stage[data-live] > .growth-film {
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .with-js .growth-story {
    scroll-margin-top: 56vh;
  }
  .with-js .scroll-journey:not([data-static]) {
    --journey-top: max(calc(var(--bar) + .8rem), 12svh);
    --journey-aspect: 2;
    scroll-margin-top: var(--journey-top);
  }
  .with-js #farm:not([data-static]) {
    --sowing-start: 60svh;
    /* The approach is already part of the film. Only the remaining distance is sticky. */
    --travel: calc(clamp(41rem, 122.5svh, 77.5rem) - var(--sowing-start) + var(--journey-top));
    scroll-margin-top: var(--sowing-start);
  }
  .with-js #island:not([data-static]) {
    --travel: clamp(64rem, 165svh, 110rem);
  }
  .with-js .scroll-journey:not([data-static])::after {
    content: '';
    display: block;
    height: var(--travel);
  }
  .with-js .scroll-journey:not([data-static]) > .journey-view {
    position: sticky;
    top: var(--journey-top);
    width: min(100%, calc((100svh - var(--journey-top) - 6.5rem) * var(--journey-aspect)));
    margin-inline: auto;
  }
}
@media (max-width: 760px) {
  .farm-reference .journey-view {
    grid-template: "title" auto "art" auto "action" auto / minmax(0, 1fr);
    gap: .9rem;
  }
  .catalogue {
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 2 * var(--gutter)), 38rem);
    row-gap: 2.3rem;
  }
  .stage {
    aspect-ratio: 1.45;
  }
  #fireflies .stage {
    aspect-ratio: 1.27;
  }
  #flock .stage { aspect-ratio: 1.30; }
  #wheat .stage {
    aspect-ratio: 1.32;
  }
  #farm .stage, #island .stage {
    aspect-ratio: 4/3;
  }
  .with-js .scroll-journey:not([data-static]) {
    --journey-top: max(calc(var(--bar) + .8rem), 23svh);
    --journey-aspect: 1.333333;
  }
  .with-js #island:not([data-static]) {
    --journey-top: max(calc(var(--bar) + .8rem), 12svh);
  }
  #village .stage {
    aspect-ratio: 1.09;
  }
}
@media (prefers-reduced-motion: no-preference) and (orientation: landscape) and (max-height: 650px) {
  .with-js #island:not([data-static]) > .journey-view {
    width: 100%;
    grid-template: "title action" auto "art art" auto / minmax(0, 1fr) auto;
    gap: .65rem 1.1rem;
  }
  .farm-reference h2 { font-size: 1.75rem; }
  .farm-reference h2 span { margin-bottom: .1rem; }
  .with-js #island:not([data-static]) .stage {
    max-height: calc(100svh - var(--journey-top) - 6.8rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage > .poster {
    transition: none !important;
  }
}
.stage:is([data-preparing], [data-live])[data-scene='orchard'] {
  background: #dedfc9 url(/assets/sets/orchard.webp) center / cover;
}
.stage:is([data-preparing], [data-live])[data-scene='birdbath'] {
  background: #d0d9c6 url(/assets/sets/birdbath.webp) center / cover;
}
.stage[data-scene='pollinator'] {
  background: transparent;
}
.stage[data-scene='pollinator'] :is(.poster, .live-canvas) {
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}
.stage:is([data-preparing], [data-live])[data-scene='forest'] {
  background: #293e35 url(/assets/sets/forest.webp) center / cover;
}
.stage:is([data-preparing], [data-live])[data-scene='roots'] {
  background: #5a4737;
}
.stage[data-scene='fireflies'] {
  background: #142631;
}
