@font-face {
  font-family: "Arboria About";
  src: url("about/arboria-text.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Arboria About";
  src: url("fonts/arboria-medium.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
.about-page {
  --about-paper: #fcfcfc;
  --about-story-paper: #f7f6ee;
  --about-surface: #eff5f7;
  --about-heading: #29554f;
  --about-values-heading: #31576b;
  background: var(--about-paper);
  color: #444;
}
.about-page main {
  font-family: "Arboria About", Arboria, sans-serif;
}
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--about-story-paper);
}
.about-story-copy {
  align-self: center;
  margin-inline: 16%;
  padding-block: min(9.4vw, 160px);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}
.about-story h1, .about-values h2, .about-team h2 {
  margin: 0;
  font-weight: 700;
  color: var(--about-heading);
  line-height: 1.1;
}
.about-story h1 { margin-bottom: 54px; font-size: 4vw; }
.about-story h1 span,
.about-values h2 span, .about-team h2 span { color: transparent; -webkit-text-stroke: 1px var(--about-heading); }
.about-story-copy p { margin: 0 0 26px; }
.about-story-copy p:last-child { margin-bottom: 0; }
.about-story-image {
  position: relative;
  min-height: 20rem;
  margin: 1vw;
  overflow: hidden;
  border-radius: 4px;
}
.about-story-image img { position: absolute; inset: 0; object-position: center; }
.about-values, .about-team { padding-inline: 8%; }
.about-values {
  --about-heading: var(--about-values-heading);
  padding-block: 8vw;
  background: var(--about-surface);
}
.about-values h2, .about-team h2 { font-size: 5vw; }
.about-values h2 { margin-bottom: 32px; }
.about-value {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 21px 24px;
}
.about-value::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #cbd9dd;
  transform-origin: left;
}
.about-value > div { max-width: 61%; }
.about-value h3, .about-member h3 { margin: 0 0 8px; color: var(--about-heading); font-weight: 700; line-height: 1.35; }
.about-value h3 { font-size: 2vw; }
.about-value p, .about-member p { margin: 0; font-size: 18px; line-height: 34px; }
.about-value-number { color: #ce715f; font-size: clamp(32px, 7vw, 108px); line-height: 1; font-weight: 700; }
.about-team {
  padding-block: 28px 3vw;
  background: var(--about-surface);
}
.about-team h2 {
  --about-heading: var(--about-values-heading);
  margin-bottom: 6vw;
}
.about-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6.25vw; }
.about-member { cursor: pointer; margin-top: 4vw; }
.about-member:nth-child(2) { margin-top: 0; }
.about-member-portrait { perspective: 570px; }
.about-member-portrait img { height: auto; aspect-ratio: 4 / 5; border-radius: 5px; }
.about-member-frame { overflow: hidden; border-radius: 5px; }
.about-member-frame img {
  transform: scale(1.28);
  transform-origin: 55% 29%;
}
.about-member h3 { margin-top: 35px; font-size: 28px; font-weight: 500; }
.about-member p { min-height: 115px; font-weight: 400; }
.about-member-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #0a0a0a;
  background: none;
  border: 0;
  cursor: pointer;
}
.about-member-button svg {
  width: 26px;
  height: 18px;
  overflow: visible;
}
.about-member-button path { transform-box: fill-box; transform-origin: right; }

.about-bio {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f0f0f0;
  color: #303030;
  overflow: auto;
  overscroll-behavior: contain;
}
.about-bio[open] { display: grid; grid-template-columns: 1fr 1fr; }
.about-bio::backdrop { background: #0005; }
body:has(.about-bio[open]) { overflow: hidden; }
.about-bio-copy { align-self: center; padding: 80px 20%; }
.about-bio .about-bio-copy h2 { margin: 0 0 32px; color: #000; font-size: 34px; }
.about-bio-copy p { margin: 0; font-size: 18px; line-height: 34px; }
.about-bio > img { width: 100%; height: 100%; min-height: 100dvh; object-fit: cover; }
.about-bio-interview {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100dvh;
}
.about-bio-interview video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 52%;
  background: #171717;
}
.about-bio form { position: fixed; z-index: 1; top: 24px; right: 24px; }
.about-bio-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #f0f0f0;
  color: #111;
  font-size: 28px;
  cursor: pointer;
}
.about-bio-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.about-bio-links a { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .about-bio[open] { animation: about-bio-in .45s var(--ease); }
  .about-story h1 { animation: about-rise-in .75s var(--ease) both; }
  .about-story-copy p { animation: about-rise-in .8s var(--ease) var(--story-delay, 150ms) both; }
  .about-story-copy p:nth-of-type(2) { --story-delay: 240ms; }
  .about-story-copy p:nth-of-type(3) { --story-delay: 330ms; }
  .about-story-copy p:nth-of-type(4) { --story-delay: 420ms; }
  .about-story-image { animation: about-image-in .95s var(--ease) 300ms both; }
  .about-values h2.is-entering, .about-team h2.is-entering,
  .about-value.is-entering > div {
    animation: about-rise-in .8s var(--ease) 80ms both;
  }
  .about-value.is-entering::before { animation: about-divider-in .8s var(--ease) both; }
  .about-value.is-entering .about-value-number { animation: about-rise-in .8s var(--ease) 160ms both; }
  .about-member-button svg, .about-member-button path { transition: transform .32s var(--ease); }
  .about-member-button:focus-visible svg { transform: translateX(4px); }
  .about-member-button:focus-visible path { transform: scaleX(1.3); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .about-member-portrait > :is(img, .about-member-frame) { transition: transform .25s ease-out; }
  .about-member-portrait:hover > :is(img, .about-member-frame) {
    transform: rotateX(var(--portrait-rx, 0deg)) rotateY(var(--portrait-ry, 0deg));
  }
  .about-member:hover .about-member-button svg { transform: translateX(4px); }
  .about-member:hover .about-member-button path { transform: scaleX(1.3); }
}
@keyframes about-bio-in { from { transform: translateX(100%); } }
@keyframes about-rise-in {
  from { opacity: 0; transform: translateY(24px); }
}
@keyframes about-image-in {
  from { opacity: 0; transform: translateX(-24px); }
}
@keyframes about-divider-in {
  from { transform: scaleX(0); }
}
@media (max-width: 999px) {
  .about-story { grid-template-columns: 1fr; }
  .about-story-image { grid-row: 1; height: min(70vw, 560px); margin: 1%; }
  .about-story-copy { margin-inline: 8%; padding-block: 8vw; }
  .about-story h1, .about-values h2, .about-team h2 { font-size: clamp(36px, 7vw, 58px); }
  .about-story h1 { margin-bottom: 32px; }
  .about-value h3 { font-size: 24px; }
  .about-value > div { max-width: 78%; }
  .about-bio-copy { padding-inline: 12%; }
}
@media (max-width: 690px) {
  .about-page .site-header .logo { display: none; }
  .about-page .site-header .menu-toggle { margin-inline-start: auto; }
  .about-values { padding-block: 10vw 20vw; }
  .about-value p, .about-member p, .about-bio-copy p { font-size: 16px; line-height: 28px; }
  .about-team-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-member, .about-member:nth-child(2) { margin-top: 0; }
  .about-member h3 { margin-top: 22px; }
  .about-member p { min-height: 0; }
  .about-bio[open] {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: max-content;
    align-content: start;
  }
  .about-bio > img { order: -1; min-height: 0; height: min(75vw, 48dvh); object-position: center 34%; }
  .about-bio-interview {
    order: -1;
    width: 100%;
    height: 60vh;
    height: 60dvh;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #171717;
  }
  .about-bio-interview video { object-fit: cover; }
  .about-bio:has(.about-bio-interview) form {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
  }
  .about-bio:has(.about-bio-interview) .about-bio-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: rgb(245 245 245 / .96);
    box-shadow: 0 2px 12px #0003;
  }
  .about-bio-copy { padding: 40px 8%; }
  .about-bio:has(.about-bio-interview) .about-bio-copy {
    padding-top: 28px;
    padding-bottom: max(36px, calc(env(safe-area-inset-bottom) + 20px));
  }
  .about-bio:has(.about-bio-interview) .about-bio-copy h2 { margin-bottom: 16px; }
}
