@font-face {
  font-family: "Megan";
  src: url("/design-system/assets/fonts/Megan-Demo.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/design-system/assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --color-green: #164220;
  --color-earth: #814628;
  --color-red: #bb130d;
  --color-cream: #f9f6f2;
  --color-white: #ffffff;
  --color-ink: #2c1810;
  --color-muted: #705e55;
  --color-line: rgba(44, 24, 16, 0.18);
  --font-display: "Megan", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --content-max: 1440px;
  --gutter: 72px;
  --section-space: 144px;
  --section-space-compact: 56px;
  --motion-distance: 16px;
  --motion-duration: 360ms;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --motion-settle-delay: 120ms;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--color-cream);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--color-cream);
  color: var(--color-ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow,
.chapter-index {
  font-size: 0.72rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow--light,
.chapter-index--light {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-link span {
  display: inline-block;
}

.text-link--light {
  color: var(--color-white);
}

.text-link--muted {
  color: rgba(255, 255, 255, 0.72);
}

/* Shared header */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 86px;
  color: var(--color-white);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, var(--content-max));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-brand {
  position: relative;
  display: block;
  width: 146px;
  height: 46px;
}

.site-brand img {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
}

.site-header--overlay {
  text-shadow: 0 1px 16px rgba(15, 18, 15, 0.52);
}

.site-header--overlay .site-brand__light {
  filter: drop-shadow(0 2px 10px rgba(15, 18, 15, 0.5));
}
.site-brand__dark {
  opacity: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a,
.header-instagram,
.site-footer a {
  position: relative;
}

.site-nav a,
.header-instagram {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.site-nav a::after,
.header-instagram::after,
.site-footer a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after,
.header-instagram:hover::after,
.header-instagram:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-instagram {
  justify-self: end;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.site-header.is-solid,
.page-catalog .site-header {
  border-bottom: 1px solid var(--color-line);
  background: rgba(249, 246, 242, 0.96);
  color: var(--color-ink);
}

.site-header.is-solid .site-brand__light,
.page-catalog .site-brand__light {
  opacity: 0;
}

.site-header.is-solid .site-brand__dark,
.page-catalog .site-brand__dark {
  opacity: 1;
}

.site-header.is-solid,
.page-catalog .site-header,
.page-solid-header .site-header,
.site-header.menu-open {
  text-shadow: none;
}
/* Hero */

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--color-green);
  color: var(--color-white);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center 42%;
}

.hero__shade {
  background: rgba(12, 32, 17, 0.32);
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 92svh;
  align-items: end;
  padding-bottom: 116px;
}

.hero__copy {
  grid-column: 1 / span 8;
}

.hero h1 {
  margin-top: 20px;
  font-size: 7.5rem;
}

.hero__line {
  max-width: 620px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 36px;
}

.hero__chapter {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 36px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.64);
}

/* Material */

.chapter--material {
  position: relative;
  z-index: 3;
  margin-top: -12svh;
  padding: var(--section-space) 0 168px;
  background: var(--color-cream);
}

.chapter--material .chapter__inner {
  row-gap: 32px;
}

.chapter-heading {
  grid-column: 2 / span 8;
  margin-bottom: 72px;
}

.chapter-heading h2,
.objects-heading h2,
.authorship-copy h2 {
  margin-top: 20px;
  font-size: 5rem;
}

.chapter-heading > p:last-child {
  max-width: 620px;
  margin-top: 32px;
  font-size: 1.05rem;
}

.material-lead {
  grid-column: 1 / span 8;
}

.material-lead > a {
  display: block;
}

.material-lead img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.material-detail--hands {
  grid-column: 10 / span 3;
  margin-top: 186px;
}

.material-detail--object {
  grid-column: 7 / span 4;
  margin-top: 42px;
}

.material-detail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.material-detail--object img {
  aspect-ratio: 4 / 3;
}

.media-discovery figcaption,
.encounters-media figcaption,
.authorship-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.68rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.media-discovery figcaption span {
  flex: 0 0 auto;
}

.material-note {
  grid-column: 11 / span 2;
  align-self: end;
  padding-bottom: 12px;
  font-size: 0.64rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(44, 24, 16, 0.35);
}

/* Encounters */

.chapter--encounters {
  padding: 128px 0;
  background: var(--color-earth);
  color: var(--color-white);
}

.encounters-layout {
  align-items: center;
}

.encounters-media {
  grid-column: 1 / span 6;
}

.encounters-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 43%;
}

.encounters-media figcaption {
  color: rgba(255, 255, 255, 0.72);
}

.encounters-copy {
  grid-column: 8 / span 5;
}

.encounters-copy h2 {
  margin-top: 22px;
  font-size: 4.6rem;
}

.encounters-lead {
  max-width: 560px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.84);
}

.process-list {
  margin: 38px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
}

.process-list span {
  color: rgba(255, 255, 255, 0.54);
}

/* Objects and cards */

.chapter--objects {
  padding: 148px 0 156px;
  background: var(--color-cream);
}

.objects-heading {
  align-items: end;
  margin-bottom: 72px;
}

.objects-heading > div {
  grid-column: 1 / span 7;
}

.objects-heading > p {
  grid-column: 9 / span 4;
  max-width: 460px;
  padding-bottom: 8px;
  color: var(--color-muted);
}

.product-grid {
  display: grid;
  gap: 56px 20px;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.product-grid--preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  min-width: 0;
}

.product-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e7e0d8;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.product-card__media:hover img,
.product-card__media:focus-visible img {
  object-position: 52% 50%;
}

.product-card__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-top: 15px;
  border-top: 1px solid var(--color-line);
}

.product-card h2,
.product-card h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.35;
}

.product-card h2 a,
.product-card h3 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.product-card h2 a:hover,
.product-card h2 a:focus-visible,
.product-card h3 a:hover,
.product-card h3 a:focus-visible {
  text-decoration-color: currentColor;
}

.product-card__info p {
  margin-top: 5px;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--color-muted);
}

.product-card__info .product-price {
  margin-top: 0;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--color-ink);
}

.objects-footer {
  align-items: center;
  margin-top: 72px;
}

.objects-footer > p {
  grid-column: 1 / span 4;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.objects-footer > a {
  grid-column: 10 / span 3;
  justify-self: end;
}

/* Authorship */

.chapter--authorship {
  padding: 132px 0;
  background: var(--color-green);
  color: var(--color-white);
}

.authorship-layout {
  align-items: center;
}

.authorship-copy {
  grid-column: 1 / span 5;
}

.authorship-copy h2 {
  margin-top: 20px;
}

.authorship-copy > p:not(.chapter-index) {
  max-width: 520px;
  margin: 30px 0 34px;
  color: rgba(255, 255, 255, 0.8);
}

.authorship-media {
  grid-column: 7 / span 6;
}

.authorship-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.authorship-media figcaption {
  color: rgba(255, 255, 255, 0.62);
}

/* Catalog */

.page-catalog {
  background: var(--color-cream);
  --motion-distance: 8px;
  --motion-duration: 240ms;
}

.catalog-intro {
  min-height: 220px;
  padding: 116px 0 28px;
  background: var(--color-cream);
}

.catalog-intro__inner {
  align-items: end;
}

.catalog-intro__inner > div {
  grid-column: 1 / span 4;
}

.catalog-intro h1 {
  margin-top: 10px;
  font-size: 3.6rem;
}

.catalog-intro__line {
  grid-column: 6 / span 5;
  max-width: 580px;
  padding-bottom: 4px;
  font-size: 0.84rem;
  color: var(--color-muted);
}

.catalog-count {
  grid-column: 12;
  justify-self: end;
  padding-bottom: 4px;
  white-space: nowrap;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.category-rail {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-cream);
}

.category-rail__inner {
  display: flex;
  gap: 34px;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: 4px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-rail__inner::-webkit-scrollbar {
  display: none;
}

.category-rail a {
  flex: 0 0 auto;
  display: flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.category-rail a[aria-current="true"],
.category-rail a:hover,
.category-rail a:focus-visible {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.catalog-products {
  padding: 38px 0 136px;
}

.product-grid--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html[data-grid="3"] .product-grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-manifesto {
  padding: 108px 0;
  background: var(--color-earth);
  color: var(--color-white);
}

.catalog-manifesto__inner {
  align-items: start;
}

.catalog-manifesto__inner > .chapter-index {
  grid-column: 1 / span 3;
  margin-top: 10px;
}

.catalog-manifesto h2 {
  grid-column: 4 / span 5;
  font-size: 4rem;
}

.catalog-manifesto__inner > div {
  grid-column: 10 / span 3;
}

.catalog-manifesto__inner > div p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 70px 0 54px;
  background: var(--color-green);
  color: var(--color-white);
}

.site-footer__inner {
  align-items: start;
}

.site-footer__brand {
  grid-column: 1 / span 4;
}

.site-footer__brand img {
  width: 176px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-footer__brand p {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.site-footer__nav {
  grid-column: 6 / span 2;
  display: grid;
  justify-items: start;
  gap: 10px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer__meta {
  grid-column: 9 / span 4;
  justify-self: end;
  max-width: 360px;
  text-align: right;
  font-size: 0.68rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.64);
}

.prototype-note {
  margin-top: 20px;
}

/* Demo controls */

.demo-controls {
  position: fixed;
  z-index: 160;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.demo-control {
  position: fixed;
  z-index: 160;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(44, 24, 16, 0.24);
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-ink);
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.12);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.demo-controls .demo-control {
  position: static;
}

.demo-control[aria-pressed="true"] {
  background: var(--color-green);
  color: var(--color-white);
}

/* Progressive motion */

html.motion-ready[data-motion="quiet"] [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(var(--motion-distance));
}

html.motion-ready[data-motion="quiet"] [data-reveal],
html[data-motion="quiet"] .site-header,
html[data-motion="quiet"] .site-brand img,
html[data-motion="quiet"] .site-nav a::after,
html[data-motion="quiet"] .header-instagram::after,
html[data-motion="quiet"] .site-footer a::after,
html[data-motion="quiet"] .text-link span,
html[data-motion="quiet"] .product-card__media img,
html[data-motion="quiet"] .product-card h2 a,
html[data-motion="quiet"] .product-card h3 a,
html[data-motion="quiet"] .media-discovery figcaption,
html[data-motion="quiet"] .encounters-media figcaption,
html[data-motion="quiet"] .authorship-media figcaption {
  transition-duration: var(--motion-duration);
  transition-timing-function: var(--motion-ease);
}

html.motion-ready[data-motion="quiet"] [data-reveal] {
  transition-property: opacity, transform;
}

html.motion-ready[data-motion="quiet"] [data-settle="secondary"] {
  transition-delay: var(--motion-settle-delay);
}

html[data-motion="quiet"] .page-catalog .product-card__media img,
html[data-motion="quiet"] .page-catalog .product-card h2 a,
html[data-motion="quiet"] .page-catalog .product-card h3 a {
  transition-duration: 200ms;
}

html[data-motion="quiet"] .site-header,
html[data-motion="quiet"] .site-brand img {
  transition-property: background-color, color, border-color, opacity, transform;
}

html[data-motion="quiet"] .site-nav a::after,
html[data-motion="quiet"] .header-instagram::after,
html[data-motion="quiet"] .site-footer a::after,
html[data-motion="quiet"] .text-link span,
html[data-motion="quiet"] .product-card__media img {
  transition-property: transform, opacity, object-position;
}

html[data-motion="quiet"] .text-link:hover span,
html[data-motion="quiet"] .text-link:focus-visible span {
  transform: translateX(6px);
}

html[data-motion="quiet"] .media-discovery:hover figcaption,
html[data-motion="quiet"] .media-discovery:focus-within figcaption {
  color: var(--color-ink);
}

/* Responsive */

@media (max-width: 1120px) {
  :root {
    --gutter: 42px;
    --section-space: 112px;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .chapter-heading h2,
  .objects-heading h2,
  .authorship-copy h2 {
    font-size: 4.2rem;
  }

  .encounters-copy h2 {
    font-size: 3.8rem;
  }

  .site-nav {
    gap: 22px;
  }

  .catalog-manifesto h2 {
    font-size: 3.4rem;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 24px;
    --section-space: 92px;
  }

  html.motion-ready[data-motion="quiet"] [data-settle="secondary"] {
    transition-delay: 0ms;
  }

  .site-header {
    height: 72px;
  }

  .site-header__inner {
    display: flex;
  }

  .site-brand {
    width: 120px;
    height: 40px;
  }

  .menu-toggle {
    order: 3;
    display: inline-flex;
    margin-left: 8px;
  }

  .header-instagram {
    order: 2;
    margin-left: auto;
    font-size: 0.68rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 10px var(--gutter) 22px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-cream);
    color: var(--color-ink);
  }

  .site-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid var(--color-line);
  }

  .site-header.menu-open {
    background: var(--color-cream);
    color: var(--color-ink);
  }

  .site-header.menu-open .site-brand__light {
    opacity: 0;
  }

  .site-header.menu-open .site-brand__dark {
    opacity: 1;
  }

  .site-header.menu-open .site-nav,
  .no-js .site-nav {
    display: grid;
  }

  .site-header.is-hidden:not(.menu-open) {
    transform: translateY(-100%);
  }

  .hero__copy {
    grid-column: 1 / span 10;
  }

  .hero h1 {
    font-size: 5.2rem;
  }

  .hero__line {
    font-size: 1.8rem;
  }

  .chapter-heading {
    grid-column: 1 / span 10;
  }

  .material-lead {
    grid-column: 1 / span 9;
  }

  .material-detail--hands {
    grid-column: 10 / span 3;
    margin-top: 100px;
  }

  .material-detail--object {
    grid-column: 6 / span 5;
  }

  .material-note {
    grid-column: 11 / span 2;
  }

  .encounters-media,
  .encounters-copy,
  .authorship-copy,
  .authorship-media {
    grid-column: 1 / span 6;
  }

  .encounters-copy,
  .authorship-media {
    grid-column: 7 / span 6;
  }

  .objects-heading > div {
    grid-column: 1 / span 7;
  }

  .objects-heading > p {
    grid-column: 8 / span 5;
  }

  .product-grid--catalog,
  html[data-grid="3"] .product-grid--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-manifesto h2 {
    grid-column: 4 / span 6;
  }

  .catalog-manifesto__inner > div {
    grid-column: 10 / span 3;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
    --section-space: 82px;
  }

  body {
    font-size: 15px;
  }

  .page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px;
  }

  .site-brand {
    width: 108px;
  }

  .hero,
  .hero__content {
    min-height: 92svh;
  }

  .hero__image {
    object-position: center 45%;
  }

  .hero__content {
    padding-bottom: 96px;
  }

  .hero__copy {
    grid-column: 1 / -1;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 4.5rem;
  }

  .hero__line {
    max-width: 300px;
    font-size: 1.5rem;
  }

  .hero__actions {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-top: 28px;
  }

  .hero__chapter {
    right: var(--gutter);
    bottom: 24px;
  }

  .chapter--material {
    padding-bottom: 104px;
  }

  .chapter--material .chapter__inner {
    row-gap: 28px;
  }

  .chapter-heading {
    grid-column: 1 / -1;
    margin-bottom: 42px;
  }

  .chapter-heading h2,
  .objects-heading h2,
  .authorship-copy h2 {
    font-size: 3.35rem;
  }

  .chapter-heading > p:last-child {
    margin-top: 24px;
  }

  .material-lead {
    grid-column: 1 / -1;
  }

  .material-lead img {
    aspect-ratio: 4 / 3;
  }

  .material-detail--hands {
    grid-column: 2 / -1;
    margin-top: 20px;
  }

  .material-detail--object {
    grid-column: 1 / span 3;
    margin-top: 18px;
  }

  .material-note {
    grid-column: 4;
    align-self: end;
    writing-mode: vertical-rl;
  }

  .chapter--encounters {
    padding: 82px 0 92px;
  }

  .encounters-media,
  .encounters-copy,
  .authorship-copy,
  .authorship-media {
    grid-column: 1 / -1;
  }

  .encounters-copy {
    margin-top: 54px;
  }

  .encounters-copy h2 {
    font-size: 3.15rem;
  }

  .chapter--objects {
    padding: 96px 0 104px;
  }

  .objects-heading {
    margin-bottom: 50px;
  }

  .objects-heading > div,
  .objects-heading > p {
    grid-column: 1 / -1;
  }

  .objects-heading > p {
    margin-top: 24px;
  }

  .product-grid {
    gap: 42px 12px;
  }

  .product-grid--preview,
  .product-grid--catalog,
  html[data-grid="3"] .product-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card__info {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .product-card__info .product-price {
    grid-row: 2;
  }

  .objects-footer {
    margin-top: 54px;
  }

  .objects-footer > p,
  .objects-footer > a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .objects-footer > a {
    margin-top: 16px;
  }

  .chapter--authorship {
    padding: 90px 0;
  }

  .authorship-media {
    margin-top: 58px;
  }

  .catalog-intro {
    min-height: 0;
    padding: 100px 0 28px;
  }

  .catalog-intro__inner > div {
    grid-column: 1 / span 2;
  }

  .catalog-intro h1 {
    font-size: 2.6rem;
  }

  .catalog-intro__line {
    grid-column: 3 / span 2;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .catalog-count {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 18px;
  }

  .category-rail__inner {
    gap: 24px;
  }

  .catalog-products {
    padding: 30px 0 92px;
  }

  .catalog-manifesto {
    padding: 84px 0;
  }

  .catalog-manifesto__inner > .chapter-index,
  .catalog-manifesto h2,
  .catalog-manifesto__inner > div {
    grid-column: 1 / -1;
  }

  .catalog-manifesto h2 {
    margin-top: 24px;
    font-size: 3rem;
  }

  .catalog-manifesto__inner > div {
    margin-top: 30px;
  }

  .site-footer {
    padding: 58px 0 46px;
  }

  .site-footer__brand,
  .site-footer__nav,
  .site-footer__meta {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }

  .site-footer__nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .site-footer__meta {
    margin-top: 40px;
  }
}

@media (max-width: 350px) {
  .header-instagram {
    display: none;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .product-grid--preview,
  .product-grid--catalog,
  html[data-grid="3"] .product-grid--catalog {
    grid-template-columns: 1fr;
  }

  .product-card__media img {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.motion-ready[data-motion="quiet"] [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }

  .demo-control--motion,
  [data-motion-toggle] {
    display: none;
  }
}

/* Matter gallery */

.matter-gallery {
  --gallery-ease: cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}

.matter-gallery__stage {
  --gallery-plane-height: clamp(350px, 48vw, 690px);
  --gallery-bottom-safe: clamp(52px, 5vw, 76px);
  --gallery-gap-inner: clamp(12px, 2vw, 30px);
  --gallery-gap-outer: clamp(13px, 3.75vw, 54px);
  position: relative;
}

.matter-gallery__viewport {
  height: calc(var(--gallery-plane-height) + var(--gallery-bottom-safe));
  overflow: hidden;
  outline-offset: -3px;
  touch-action: pan-y;
}

.matter-gallery__track {
  display: grid;
  grid-template-columns:
    15fr var(--gallery-gap-outer)
    20fr var(--gallery-gap-inner)
    28fr var(--gallery-gap-inner)
    17fr var(--gallery-gap-outer)
    13fr;
  width: 110vw;
  height: var(--gallery-plane-height);
  margin-left: 50%;
  align-items: start;
  transform: translateX(-50%);
}

.matter-window {
  --plane-angle: 0deg;
  --plane-origin: center;
  --plane-perspective: 1000px;
  --plane-vp-x: 50%;
  --plane-vp-y: 50%;
  width: 100%;
  height: var(--frame-height);
  overflow: visible;
  perspective: var(--plane-perspective);
  perspective-origin: var(--plane-vp-x) var(--plane-vp-y);
  transform: translateY(var(--frame-offset));
}

.matter-window__plane {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(30px, 3.7vw, 58px);
  background: #e7e0d8;
  backface-visibility: hidden;
  transform: rotateY(var(--plane-angle));
  transform-origin: var(--plane-origin);
}

.matter-window--one {
  grid-column: 1;
  --plane-angle: 6deg;
  --plane-origin: right center;
  --plane-perspective: 980px;
  --plane-vp-x: 138%;
  --plane-vp-y: 44%;
  --frame-height: 72%;
  --frame-offset: 13%;
}

.matter-window--two {
  grid-column: 3;
  --plane-angle: 11deg;
  --plane-origin: right center;
  --plane-perspective: 860px;
  --plane-vp-x: 126%;
  --plane-vp-y: 50%;
  --frame-height: 84%;
  --frame-offset: 4%;
}

.matter-window--three {
  grid-column: 5;
  --plane-perspective: none;
  --frame-height: 78%;
  --frame-offset: 8%;
}

.matter-window--four {
  grid-column: 7;
  --plane-angle: -13deg;
  --plane-origin: left center;
  --plane-perspective: 760px;
  --plane-vp-x: -34%;
  --plane-vp-y: 57%;
  --frame-height: 64%;
  --frame-offset: 21%;
}

.matter-window--five {
  grid-column: 9;
  --plane-angle: -8deg;
  --plane-origin: left center;
  --plane-perspective: 920px;
  --plane-vp-x: -48%;
  --plane-vp-y: 47%;
  --frame-height: 58%;
  --frame-offset: 28%;
}

.matter-window img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.matter-gallery__layer--current {
  z-index: 1;
  opacity: 1;
}

.matter-gallery__layer--incoming {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.matter-window--one img {
  object-position: 58% 42%;
}

.matter-window--two img {
  object-position: 60% center;
}

.matter-window--three img {
  object-position: center 48%;
}

.matter-window--four img {
  object-position: 40% 42%;
}

.matter-window--five img {
  object-position: 36% center;
}

.matter-gallery__arrow {
  position: absolute;
  z-index: 5;
  top: calc(var(--gallery-plane-height) / 2);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(44, 24, 16, 0.28);
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 200ms var(--gallery-ease),
    color 200ms var(--gallery-ease);
}

.matter-gallery__arrow:hover,
.matter-gallery__arrow:focus-visible {
  background: var(--color-green);
  color: var(--color-white);
}

.matter-gallery__arrow--previous {
  left: clamp(10px, 1.6vw, 24px);
}

.matter-gallery__arrow--next {
  right: clamp(10px, 1.6vw, 24px);
}

.matter-gallery__meta {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  width: min(100%, var(--content-max));
  margin: 22px auto 0;
  padding-inline: var(--gutter);
  color: var(--color-muted);
  font-size: 0.68rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.matter-gallery__meta p:last-child {
  justify-self: end;
  text-align: right;
}

@media (max-width: 820px) {
  .matter-gallery__track {
    width: 118vw;
  }
}

@media (max-width: 620px) {
  .matter-gallery__stage {
    --gallery-plane-height: clamp(350px, 92vw, 430px);
    --gallery-bottom-safe: 58px;
  }

  .matter-gallery__viewport {
    min-height: 0;
  }

  .matter-gallery__track {
    grid-template-columns:
      14fr var(--gallery-gap-outer)
      20fr var(--gallery-gap-inner)
      29fr var(--gallery-gap-inner)
      17fr var(--gallery-gap-outer)
      12fr;
    width: 120vw;
  }

  .matter-gallery__arrow {
    top: auto;
    bottom: -58px;
    width: 42px;
    height: 42px;
  }

  .matter-gallery__arrow--previous {
    left: 20px;
  }

  .matter-gallery__arrow--next {
    right: 20px;
  }

  .matter-gallery__meta {
    min-height: 48px;
    margin-top: 18px;
    padding-inline: 74px;
    font-size: 0.58rem;
  }

  .matter-gallery__meta p:last-child {
    max-width: 180px;
  }
}

/* Opening sequence */

.opening-sequence {
  --opening-extent: 170svh;
  --opening-curtain-travel: calc(var(--opening-extent) - 100svh);
  position: relative;
  isolation: isolate;
  background: var(--color-cream);
}

.opening-stage {
  position: sticky;
  z-index: 0;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--color-green);
  color: var(--color-white);
}

.opening-stage__visual,
.opening-stage__poster,
.opening-stage__video,
.opening-stage__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.opening-stage__poster,
.opening-stage__video {
  object-fit: cover;
  object-position: center 42%;
}

.opening-stage__video {
  z-index: 1;
  opacity: 0;
}

.opening-stage__shade {
  z-index: 2;
  background: rgba(12, 32, 17, 0.3);
  pointer-events: none;
}

html[data-motion="quiet"][data-video-mode="video"][data-video-state="ready"] .opening-stage__video,
html[data-motion="quiet"][data-video-mode="video"][data-video-state="ended"] .opening-stage__video {
  opacity: 1;
}

html[data-motion="quiet"] .opening-stage__video {
  transition: opacity 200ms linear;
}

.opening-copy {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 100svh;
  align-items: end;
  padding-bottom: 116px;
  color: var(--color-white);
  pointer-events: none;
}

.opening-copy__inner {
  grid-column: 1 / span 8;
  pointer-events: auto;
}

.opening-copy h1 {
  margin-top: 20px;
  font-size: 7.5rem;
}

.opening-copy__line {
  max-width: 620px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.1;
}

.opening-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 36px;
}

.opening-copy__chapter {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  font-size: 0.68rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.64);
}

.page-opening .chapter--material {
  z-index: 3;
  margin-top: var(--opening-curtain-travel);
}

html[data-motion="off"] .opening-stage {
  position: relative;
  height: 92svh;
  min-height: 620px;
}

html[data-motion="off"] .opening-stage__video {
  display: none;
}

html[data-motion="off"] .opening-copy {
  height: 92svh;
  min-height: 620px;
}

html[data-motion="off"] .page-opening .chapter--material {
  margin-top: -12svh;
}

@media (max-width: 1120px) {
  .opening-copy h1 {
    font-size: 6rem;
  }
}

@media (max-width: 820px) {
  .opening-sequence {
    --opening-extent: 140svh;
  }

  .opening-copy {
    padding-bottom: 92px;
  }

  .opening-copy__inner {
    grid-column: 1 / -1;
  }

  .opening-copy h1 {
    font-size: 5rem;
  }

  .opening-copy__line {
    font-size: 1.8rem;
  }
}

@media (max-width: 620px) {
  .opening-stage__poster,
  .opening-stage__video {
    object-position: 56% center;
  }

  .opening-copy {
    padding-bottom: 76px;
  }

  .opening-copy h1 {
    font-size: 4.4rem;
  }

  .opening-copy__line {
    max-width: 290px;
    font-size: 1.55rem;
  }

  .opening-copy__actions {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-top: 28px;
  }

  .opening-copy__chapter {
    display: none;
  }
}

@media (max-width: 350px) {
  .opening-copy h1 {
    font-size: 3.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-stage {
    position: relative;
    height: 92svh;
    min-height: 620px;
  }

  .opening-stage__video {
    display: none;
  }

  .opening-copy {
    height: 92svh;
    min-height: 620px;
  }

  .page-opening .chapter--material {
    margin-top: -12svh;
  }
}
