@font-face {
  font-family: "Monument Grotesk";
  src: url("assets/monument-grotesk-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Monument Grotesk";
  src: url("assets/monument-grotesk-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --page-edge: clamp(48px, 5.42vw, 104px);
  --image-inset: clamp(28px, 2.12vw, 40px);
  --marker-size: 14px;
  --white: #fff;
  --black: #050505;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--black);
  background: var(--white);
  font-family: "Monument Grotesk", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.wordmark {
  position: fixed;
  z-index: 7;
  bottom: 39px;
  left: var(--page-edge);
  display: flex;
  flex-direction: column;
  width: max-content;
  color: var(--black);
  font-size: 35px;
  line-height: 0.89;
  letter-spacing: -1.35px;
  text-decoration: none;
}

.image-panel {
  position: absolute;
  z-index: 3;
  top: 2.8%;
  right: 3.2%;
  bottom: 2.8%;
  width: 48.4%;
  height: auto;
  min-width: 0;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.001);
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.21) 0%, rgba(0, 0, 0, 0.1) 28%, rgba(0, 0, 0, 0.1) 76%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.project-copy {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: var(--image-inset);
}

.project-copy p {
  max-width: 600px;
  margin: 0 0 23px;
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.26px;
}

.menu-button {
  position: absolute;
  z-index: 12;
  top: 40px;
  left: var(--page-edge);
  display: flex;
  width: 44px;
  height: 44px;
  padding: 10px 7px;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  color: var(--black);
  color-scheme: only light;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 30px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 300ms ease, opacity 200ms ease;
}

.menu-button.is-open span:first-child {
  transform: translateY(11px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:last-child {
  transform: translateY(-11px) rotate(-45deg);
}

.menu-button.is-open {
  color: var(--white);
}

.rotating-message {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: var(--page-edge);
  width: calc(48.4% - (var(--page-edge) * 1.45));
  transform: translateY(-50%);
}

.rotating-message h1 {
  margin: 0;
  color: #8c8c8c;
  font-size: clamp(40px, 3.15vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.rotating-text {
  position: relative;
  display: inline-block;
  height: 1.08em;
  color: var(--black);
  vertical-align: bottom;
  transition: width 700ms cubic-bezier(0.76, 0, 0.04, 1);
}

.rotating-word {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-100%) rotate(-6deg) scale(0.88);
  transform-origin: center;
  transition:
    transform 700ms cubic-bezier(0.76, 0, 0.04, 1),
    opacity 700ms cubic-bezier(0.76, 0, 0.04, 1);
  will-change: transform, opacity;
}

.rotating-word.is-active {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
}

.rotating-word.is-leaving {
  opacity: 0;
  transform: translateY(100%) rotate(6deg) scale(0.88);
}

.menu-backdrop {
  position: fixed;
  z-index: 8;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  cursor: default;
  transition: opacity 600ms cubic-bezier(0.215, 0.61, 0.355, 1), visibility 600ms;
}

.menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.menu {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  width: 100%;
  height: min(54svh, 560px);
  padding: 105px var(--page-edge) 42px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  color: var(--white);
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 600ms cubic-bezier(0.535, 0, 0, 1), opacity 300ms ease, visibility 600ms;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.how-we-work {
  position: relative;
  padding: clamp(72px, 9vh, 96px) var(--page-edge);
  color: var(--black);
  background: var(--white);
}

.how-we-work-grid {
  --grid-gap: clamp(24px, 2.1vw, 40px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: center;
}

/* Starts at column 3 so the fixed wordmark (bottom left) never overlaps it. */
.how-we-work-visual {
  grid-column: 3 / 9;
  grid-row: 1;
  width: 100%;
  height: auto;
  margin: 0;
  min-height: 0;
}

.how-we-work-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.how-we-work-copy {
  grid-column: 9 / 13;
  grid-row: 1;
  padding-left: var(--grid-gap);
}

.how-we-work-copy h2 {
  margin: 0 0 32px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

.supply-steps {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.supply-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
}

.supply-step-number {
  grid-row: 1 / 3;
  color: #595b60;
  font-size: 14px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.supply-steps h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.supply-steps p {
  margin: 4px 0 0;
  color: #595b60;
  font-size: 14px;
  line-height: 1.38;
  text-wrap: pretty;
}

/*
 * Where the wordmark is fixed: fill the viewport so it rests on this section,
 * and keep the text clear of it.
 */
@media (min-width: 1201px) {
  /* Mirrors the hero: image on the right with the hero panel's 3.2% inset. */
  .how-we-work {
    display: flex;
    min-height: 100svh;
    padding-right: 3.2%;
    align-items: center;
  }

  /* The fixed wordmark is 110px wide; keep just a gutter's clearance from it. */
  .how-we-work-grid {
    width: 100%;
    padding-left: calc(110px + clamp(36px, 3vw, 64px));
    /* The text column widens if needed to keep the heading on one line. */
    grid-template-columns: minmax(clamp(330px, 25vw, 680px), max-content) minmax(0, 1fr);
    column-gap: clamp(40px, 3.6vw, 88px);
    align-items: center;
  }

  .how-we-work-visual {
    grid-column: 2;
  }

  .how-we-work-copy {
    grid-column: 1;
    padding-left: 0;
  }

  .how-we-work-copy h2 {
    margin-bottom: clamp(16px, 1.6vw, 48px);
    line-height: 1.2;
  }

  /* Steps wrap to the column instead of widening it. */
  .supply-steps {
    contain: inline-size;
  }

  .supply-steps h3 {
    line-height: 1.25;
  }

  .supply-steps p {
    margin-top: 0.25em;
  }
}

.origins-carousel {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  color: var(--black);
  background: var(--white);
}

.origins-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: 100%;
  height: 100%;
  padding: 0 var(--page-edge);
  column-gap: clamp(24px, 2.1vw, 40px);
}

.origins-info {
  position: relative;
  grid-column: 1 / 5;
  display: flex;
  min-width: 0;
  padding-left: clamp(156px, 13vw, 260px);
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: clamp(52px, 8vh, 80px);
}

.origins-info h2 {
  position: absolute;
  top: clamp(40px, 6.2vh, 60px);
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.origins-names {
  position: relative;
  display: grid;
  margin: 0;
}

.origin-name {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  margin: 0;
  padding-left: 30px;
  flex-direction: column;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition:
    opacity 500ms ease,
    transform 700ms cubic-bezier(0.215, 0.61, 0.355, 1),
    visibility 700ms;
}

.origin-name::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  width: var(--marker-size);
  height: var(--marker-size);
  background: var(--black);
  content: "";
}

.origin-state {
  color: #6f6f6f;
}

.origin-name.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.origin-name.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: translateY(-28px);
}

.origins-stage {
  position: relative;
  grid-column: 5 / 13;
  height: 100%;
  margin-right: calc(var(--page-edge) * -1);
  overflow: hidden;
  color: var(--white);
  background: #10251b;
}

.origins-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition:
    opacity 650ms ease,
    transform 1100ms cubic-bezier(0.215, 0.61, 0.355, 1),
    visibility 650ms;
}

.origins-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25));
  content: "";
}

.origins-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.origins-slide.is-leaving {
  z-index: 1;
  opacity: 0;
  visibility: visible;
  transform: scale(0.985);
}

.origins-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.origins-controls {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 3vw, 48px);
  bottom: 38px;
  left: clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.origins-counter {
  display: flex;
  min-width: 68px;
  gap: 5px;
  font-size: 18px;
  line-height: 1;
}

.origins-dots {
  display: flex;
  align-items: center;
  gap: 0;
}

.origins-dots button {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: width 250ms ease;
}

.origins-dots button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.42);
  content: "";
  transform: translate(-50%, -50%);
  transition: background-color 250ms ease;
}

.origins-dots button.is-active {
  width: 44px;
}

.origins-dots button.is-active::after {
  width: 42px;
  background: var(--white);
}

.origins-arrows {
  display: flex;
  gap: 8px;
}

.origins-arrows button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.origins-arrows button:hover {
  color: var(--black);
  background: var(--white);
}

.origins-toggle[hidden],
.origins-toggle .icon-play,
.origins-toggle.is-paused .icon-pause {
  display: none;
}

.origins-toggle.is-paused .icon-play {
  display: block;
}

.about-section {
  position: relative;
  min-height: 72svh;
  padding: clamp(64px, 7.5vh, 92px) var(--page-edge);
  color: var(--black);
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: 100%;
  min-height: calc(72svh - (clamp(64px, 7.5vh, 92px) * 2));
  column-gap: clamp(24px, 2.1vw, 40px);
  align-items: start;
}

.about-layout h2 {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: clamp(156px, 13vw, 260px);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}

/* Team frames: full-width portrait photo, then name, role and bio. */
.team-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(64px, 8vh, 120px) 0 0;
  padding: 0 0 0 clamp(156px, 13vw, 260px);
  gap: clamp(24px, 2.1vw, 40px);
  list-style: none;
}

/* The photo runs edge to edge across the top; only the text is inset. */
.team-card {
  display: flex;
  padding: 0 0 clamp(16px, 1.6vw, 28px);
  flex-direction: column;
  background: #f2f2ef;
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e4e4df;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-text {
  padding: clamp(20px, 2vw, 36px) clamp(16px, 1.6vw, 28px) 0;
}

.team-name {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.team-role {
  margin: 10px 0 0;
  color: #595b60;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-bio {
  margin: 14px 0 0;
  color: #595b60;
  font-size: 14px;
  line-height: 1.38;
}

.site-footer {
  min-height: 520px;
  padding: 64px var(--page-edge) 40px;
  color: var(--black);
  background: #f2f2ef;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(24px, 2.1vw, 40px);
  align-items: start;
  width: 100%;
}

.footer-title {
  grid-column: 1 / 13;
  margin: 0 0 clamp(72px, 10vh, 112px);
  padding-left: clamp(156px, 13vw, 260px);
  color: var(--black);
  font-size: clamp(56px, 10.5vw, 180px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.footer-links:nth-of-type(1) { grid-column: 3 / 5; }
.footer-links:nth-of-type(2) { grid-column: 5 / 7; }
.footer-links:nth-of-type(3) { grid-column: 7 / 9; }

.footer-links h3 {
  margin: 0 0 32px;
  color: var(--black);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.footer-links ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: baseline;
  flex-wrap: nowrap;
  list-style: none;
  white-space: nowrap;
}

.footer-links li {
  line-height: 1.38;
}

.footer-links li + li::before {
  margin: 0 6px;
  color: #666662;
  content: "/";
}

.footer-links p,
.footer-links address {
  margin: 0;
  color: #666662;
  font-size: 14px;
  font-style: normal;
  line-height: 1.38;
}

.footer-links a {
  color: #666662;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.footer-links a:hover {
  opacity: 0.55;
}

.footer-copyright {
  grid-column: 1 / 13;
  margin: 140px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-details {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(280px, 1.35fr) minmax(120px, 0.65fr);
  width: min(1120px, calc(100% - 450px));
  gap: clamp(24px, 2.4vw, 48px);
  font-size: 14px;
  line-height: 1.38;
  opacity: 0;
  transform: translateY(-18px);
  transition: transform 650ms 170ms cubic-bezier(0.4, 0, 0.2, 1), opacity 650ms 170ms ease;
}

.menu.is-open .menu-details {
  opacity: 1;
  transform: translateY(0);
}

.menu-detail .menu-detail-title {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: inherit;
  font-weight: 400;
}

.menu-detail p {
  margin: 0;
}

.menu-detail address {
  font-style: normal;
}

.menu-detail a,
.menu-detail span {
  display: block;
  color: inherit;
  text-decoration: none;
}

.menu-detail p a {
  display: inline;
}

.menu-social {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.menu-social span {
  display: inline;
}

.menu-social span + span::before {
  margin: 0 6px;
  content: "/";
}

.menu-detail a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-links {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
}

.menu-links > a {
  width: max-content;
  font-size: clamp(24px, calc(4vw - 10px), 58px);
  line-height: 1.05;
  text-decoration: none;
  opacity: 0;
  transform: translateX(45px);
  transform-origin: right center;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1), opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu.is-open .menu-links > a {
  opacity: 1;
  transform: translateX(0);
}

.menu.is-open .menu-links > a:nth-child(1) { transition-delay: 180ms; }
.menu.is-open .menu-links > a:nth-child(2) { transition-delay: 230ms; }
.menu.is-open .menu-links > a:nth-child(3) { transition-delay: 280ms; }
.menu.is-open .menu-links > a:nth-child(4) { transition-delay: 330ms; }
.menu.is-open .menu-links > a:nth-child(5) { transition-delay: 380ms; }
.menu.is-open .menu-links > a:nth-child(6) { transition-delay: 430ms; }

@media (hover: hover) {
  .menu.is-open .menu-links > a:hover {
    transform: scale(1.14);
    transition-delay: 0ms;
    transition-duration: 240ms;
  }
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

@media (max-width: 1200px) {
  .menu {
    height: min(62svh, 620px);
  }

  .menu-details {
    grid-template-columns: minmax(230px, 1fr) minmax(200px, 1fr);
    width: calc(100% - 330px);
    row-gap: 24px;
  }

  .project-copy p {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 240px));
    column-gap: clamp(32px, 5vw, 64px);
    justify-content: center;
  }

  .footer-title,
  .footer-copyright {
    grid-column: 1 / 4;
  }

  .footer-links:nth-of-type(1) { grid-column: 1 / 2; }
  .footer-links:nth-of-type(2) { grid-column: 2 / 3; }
  .footer-links:nth-of-type(3) { grid-column: 3 / 4; }

  .footer-links a {
    overflow-wrap: anywhere;
  }

  .wordmark {
    position: absolute;
    top: calc(100svh - 132px);
    bottom: auto;
  }

  .origins-info {
    padding-left: 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .how-we-work {
    padding: 72px var(--page-edge);
  }
}

/* The wordmark scrolls away with the hero here, so the text can start at the edge. */
@media (min-width: 761px) and (max-width: 1200px) {
  .how-we-work-visual {
    grid-column: 7 / 13;
  }

  .how-we-work-copy {
    grid-column: 1 / 7;
    padding-left: 0;
  }

  /* 24px until the column gets too narrow to hold it on one line. */
  .how-we-work-copy h2 {
    font-size: min(24px, 2.95vw);
  }

}

@media (max-width: 760px) {
  :root {
    --page-edge: 24px;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .rotating-message {
    z-index: 5;
    top: 51%;
    left: var(--page-edge);
    display: block;
    width: calc(100% - (var(--page-edge) * 2));
    transform: translateY(-50%);
  }

  .rotating-message h1 {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32);
  }

  .rotating-text {
    color: var(--white);
  }

  .wordmark {
    position: absolute;
    z-index: 6;
    top: calc(100svh - 102px);
    bottom: auto;
    left: var(--page-edge);
    color: var(--white);
    font-size: 29px;
    pointer-events: auto;
  }

  .image-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-image {
    object-position: 54% center;
  }

  .shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 30%, transparent 63%, rgba(0, 0, 0, 0.36));
  }

  .project-copy {
    top: 91px;
    left: var(--page-edge);
    right: var(--page-edge);
    width: calc(100% - (var(--page-edge) * 2));
  }

  .project-copy p {
    max-width: 430px;
    margin-bottom: 18px;
    font-size: 21px;
    line-height: 1.3;
  }

  .menu-button {
    top: 14px;
    left: var(--page-edge);
    width: 44px;
    height: 44px;
    padding: 12px 8px;
    color: var(--white);
    background: transparent;
    mix-blend-mode: normal;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
  }

  .menu-button.is-open span:first-child {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-button.is-open span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }

  .menu-button.is-open {
    color: var(--white);
    background: transparent;
  }

  .menu-button span {
    width: 28px;
  }

  .menu {
    inset: 0 0 auto;
    width: 100%;
    height: 100svh;
    padding: 76px var(--page-edge) 32px;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    gap: 24px;
  }

  .menu-details {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 18px;
  }

  .menu-detail a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .menu-links {
    order: -1;
  }

  .menu-links > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    font-size: 28px;
  }

  .how-we-work {
    min-height: 0;
    padding: 76px var(--page-edge) 96px;
  }

  .how-we-work-grid {
    display: block;
  }

  .how-we-work-visual {
    width: calc(100% + (var(--page-edge) * 2));
    height: auto;
    min-height: 0;
    margin-left: calc(var(--page-edge) * -1);
  }

  .how-we-work-copy {
    padding: 48px 0 0;
  }

  /* 24px until the screen is too narrow to hold it on one line. */
  .how-we-work-copy h2 {
    margin-bottom: 28px;
    font-size: min(24px, calc((100vw - (var(--page-edge) * 2)) / 13.6));
  }

  .origins-carousel {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .origins-layout {
    display: block;
    padding: 0;
  }

  .origins-info {
    min-height: 290px;
    padding: 64px var(--page-edge) 54px;
    align-items: stretch;
    gap: 0;
  }

  .origins-info h2 {
    position: static;
    margin: 0;
    font-size: 24px;
  }

  .origins-names {
    margin: auto 0 0;
  }

  .origin-name {
    padding-left: 22px;
    font-size: 18px;
  }

  .origins-stage {
    width: 100%;
    height: 72svh;
    min-height: 520px;
    max-height: 680px;
    margin: 0;
  }

  .origins-controls {
    right: var(--page-edge);
    bottom: 24px;
    left: var(--page-edge);
    justify-content: space-between;
    gap: 16px;
  }

  .origins-counter {
    font-size: 16px;
  }

  .origins-dots {
    display: none;
  }

  .origins-dots button::after {
    width: 20px;
  }

  .origins-dots button.is-active::after {
    width: 34px;
  }

  .origins-arrows {
    display: flex;
    margin-left: auto;
  }

  .about-section {
    min-height: 0;
    padding: 64px var(--page-edge) 96px;
  }

  .about-layout {
    display: block;
    min-height: 0;
  }

  .about-layout h2 {
    padding-left: 0;
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 56px;
    padding-left: 0;
    gap: 16px;
  }

  .site-footer {
    min-height: 820px;
    padding: 64px var(--page-edge) 48px;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .footer-title {
    width: 100%;
    margin-bottom: 88px;
    padding-left: 0;
    font-size: clamp(48px, 15vw, 72px);
    line-height: 0.92;
    text-align: left;
    white-space: normal;
  }

  .footer-links {
    width: 100%;
    margin-top: 32px;
    text-align: left;
  }

  .footer-links:first-of-type {
    margin-top: 0;
  }

  .footer-links h3 {
    margin-bottom: 20px;
    padding: 0;
    border: 0;
  }

  .footer-links li {
    line-height: 1.5;
  }

  .footer-links a {
    display: inline;
    min-height: 0;
    line-height: 1.5;
  }

  .footer-copyright {
    width: 100%;
    margin-top: 72px;
    text-align: center;
  }
}

body.auto-dark-theme .menu-button {
  color: var(--white);
}

/* Chrome's auto dark theme leaves dark fills as they are, so the square
   markers vanish into the darkened page. Opt them out and paint them white. */
.origin-name::before {
  color-scheme: only light;
}

body.auto-dark-theme .origin-name::before {
  background: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
