:root {
  --about-rule: rgb(91 91 86 / 20%);
  --about-muted: rgb(5 5 5 / 58%);
  --about-accent: #b6ff00;
  --about-column-gap: clamp(44px, 6vw, 96px);
}

.about-page-body {
  min-height: 100%;
  background: var(--about-paper);
}

.about-page {
  position: relative;
  min-height: 100dvh;
  overflow: clip;
  background: var(--about-paper);
  color: var(--ink);
  isolation: isolate;
}

.about-atmosphere {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 14% 12%, rgb(154 218 255 / 27%), transparent 31%),
    radial-gradient(circle at 82% 31%, rgb(255 230 197 / 25%), transparent 34%),
    radial-gradient(circle at 62% 76%, rgb(255 196 225 / 17%), transparent 36%),
    var(--about-paper);
  pointer-events: none;
}

.about-pointer-canvas {
  z-index: 3;
  filter: none;
}

.about-site-header,
.about-site-footer {
  color: var(--ink);
  transition: color 240ms ease;
}

.about-site-header {
  mix-blend-mode: normal;
}

.about-site-header [aria-current="page"]::after {
  transform: scaleX(1);
}

.about-hero,
.about-story {
  position: relative;
  z-index: 1;
  padding-right: calc(var(--frame-x) + clamp(22px, 2.2vw, 36px));
  padding-left: calc(var(--frame-x) + clamp(22px, 2.2vw, 36px));
}

.about-hero {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(126px, 16vh, 174px);
  padding-bottom: clamp(108px, 14vh, 152px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  align-items: start;
  column-gap: var(--about-column-gap);
}

.about-hero-heading {
  z-index: 2;
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  align-self: center;
}

.about-kicker,
.story-index,
.about-connect-kicker {
  margin: 0;
  font-family: "Roobert SemiMono Trial", monospace;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.about-kicker {
  margin-bottom: clamp(48px, 7vh, 76px);
}

.about-hero h1 {
  max-width: 9.5ch;
  margin: 0;
  font-family: "Roobert Trial", Arial, sans-serif;
  font-size: clamp(72px, 9.2vw, 142px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-transform: uppercase;
}

.about-hero h1 span {
  display: block;
  white-space: nowrap;
}

.about-portrait-frame {
  position: relative;
  z-index: 1;
  grid-column: 3;
  grid-row: 1 / 3;
  width: min(100%, 420px);
  margin: 0;
  aspect-ratio: 0.82;
  align-self: center;
  justify-self: end;
}

.about-portrait-frame::after {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: clamp(14px, 1.4vw, 22px);
  aspect-ratio: 1;
  background: var(--about-accent);
  content: "";
}

.about-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.about-portrait-frame figcaption {
  position: absolute;
  z-index: 2;
  top: clamp(-45px, -3.2vw, -24px);
  left: clamp(-28px, -2vw, -14px);
  color: var(--about-accent);
  font-family: "UT Breado Script", cursive;
  font-size: clamp(70px, 8vw, 122px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.8;
  pointer-events: none;
  transform: rotate(-7deg);
  white-space: nowrap;
}

.about-hero-intro {
  grid-column: 2 / 4;
  grid-row: 3;
  display: grid;
  margin-top: clamp(52px, 7vh, 82px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--about-column-gap);
}

.about-hero-intro p {
  margin: 0;
}

.about-hero-lead {
  font-family: "Roobert Trial", Arial, sans-serif;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.about-hero-summary {
  color: var(--about-muted);
  font-family: "Roobert SemiMono Trial", monospace;
  font-size: clamp(14px, 1.15vw, 18px);
  letter-spacing: -0.04em;
  line-height: 1.48;
  text-wrap: pretty;
}

.about-scroll-cue {
  position: absolute;
  bottom: clamp(42px, 5vh, 64px);
  left: calc(var(--frame-x) + clamp(22px, 2.2vw, 36px));
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  font-family: "Roobert SemiMono Trial", monospace;
  font-size: 13px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.about-scroll-cue span {
  color: #5e8400;
  font-size: 17px;
}

.about-story {
  padding-bottom: clamp(80px, 12vh, 148px);
}

.story-chapter {
  display: grid;
  min-height: 82vh;
  min-height: 82dvh;
  padding: clamp(104px, 14vh, 156px) 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  column-gap: var(--about-column-gap);
  border-top: 1px solid var(--about-rule);
}

.story-heading {
  position: sticky;
  top: clamp(116px, 14vh, 148px);
  align-self: start;
}

.story-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--about-muted);
}

.story-index span {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--about-accent);
}

.story-heading h2 {
  max-width: 11ch;
  margin: clamp(48px, 7vh, 72px) 0 0;
  font-family: "Roobert Trial", Arial, sans-serif;
  font-size: clamp(42px, 4.8vw, 70px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.story-copy {
  grid-column: 2;
  max-width: 43ch;
  justify-self: end;
  font-family: "Roobert Trial", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.story-copy p {
  margin: 0;
  text-wrap: pretty;
}

.story-copy p + p {
  margin-top: 1.18em;
}

.story-pull {
  position: relative;
  max-width: 22ch;
  margin-top: 1.55em !important;
  margin-bottom: 1.55em !important;
  padding-left: clamp(24px, 2.3vw, 36px);
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.02;
}

.story-pull::before {
  position: absolute;
  top: 0.12em;
  bottom: 0.08em;
  left: 0;
  width: 5px;
  background: var(--about-accent);
  content: "";
}

.story-chapter--last {
  padding-bottom: clamp(124px, 18vh, 194px);
}

.about-connect {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 82vh;
  min-height: 82dvh;
  padding:
    clamp(128px, 18vh, 188px)
    calc(var(--frame-x) + clamp(22px, 2.2vw, 36px))
    clamp(136px, 19vh, 198px);
  align-content: center;
  background: #050505;
  color: var(--about-paper);
}

.about-connect::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(12px, 1.4vw, 20px);
  background:
    linear-gradient(90deg, var(--about-accent) 0 12%, transparent 12% 100%);
  content: "";
}

.about-connect-kicker {
  margin-bottom: clamp(52px, 8vh, 88px);
  color: rgb(251 250 244 / 58%);
}

.about-connect h2 {
  max-width: 13ch;
  margin: 0;
  font-family: "Roobert Trial", Arial, sans-serif;
  font-size: clamp(58px, 7.2vw, 112px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.about-connect-link {
  display: inline-flex;
  width: max-content;
  min-height: 56px;
  margin-top: clamp(54px, 8vh, 86px);
  padding: 0 22px;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  background: var(--about-accent);
  color: var(--ink);
  font-family: "Roobert SemiMono Trial", monospace;
  font-size: 14px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-connect-link:hover {
  transform: translateY(-3px);
}

.about-connect-link:active {
  transform: translateY(1px);
}

.about-connect-link img {
  width: 18px;
  height: 18px;
}

.about-site-footer {
  z-index: 20;
}

.about-footer-email {
  position: relative;
  justify-self: end;
}

.about-footer-email::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-footer-email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.about-mobile-email {
  justify-self: end;
}

.about-dark .about-site-header,
.about-dark .about-site-footer {
  color: var(--about-paper);
}

.about-dark .about-site-footer img,
.about-dark .about-site-header img {
  filter: invert(1);
}

.about-page a:focus-visible,
.about-page button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (min-width: 1024px) and (max-height: 820px) {
  .about-hero {
    padding-top: 96px;
    padding-bottom: 112px;
  }

  .about-kicker {
    margin-bottom: 36px;
  }

  .about-portrait-frame {
    width: min(82%, 310px);
  }

  .about-hero h1 {
    font-size: clamp(72px, 7.6vw, 108px);
  }

  .about-hero-intro {
    margin-top: 28px;
  }

  .about-hero-lead {
    font-size: clamp(24px, 2.15vw, 32px);
  }

  .about-hero-summary {
    font-size: clamp(13px, 1.05vw, 16px);
  }

  .about-scroll-cue {
    bottom: 74px;
  }
}

@media (max-width: 1023px) {
  .about-hero,
  .about-story {
    padding-right: calc(var(--mobile-frame-x) + 24px);
    padding-left: calc(var(--mobile-frame-x) + 24px);
  }

  .about-hero {
    min-height: 100svh;
    padding-top: 112px;
    padding-bottom: 128px;
    column-gap: 40px;
  }

  .about-hero h1 {
    font-size: clamp(58px, 10vw, 98px);
  }

  .about-portrait-frame {
    width: min(100%, 320px);
  }

  .about-hero-intro {
    gap: 40px;
  }

  .about-scroll-cue {
    bottom: 42px;
    left: calc(var(--mobile-frame-x) + 24px);
  }

  .story-chapter {
    min-height: auto;
    padding: 112px 0;
    column-gap: 48px;
  }

  .story-heading {
    top: 112px;
  }

  .story-heading h2 {
    font-size: clamp(38px, 5.8vw, 58px);
  }

  .story-copy {
    font-size: clamp(20px, 2.6vw, 27px);
  }

  .about-site-footer {
    right: var(--mobile-frame-x);
    bottom: var(--mobile-frame-y);
    left: var(--mobile-frame-x);
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
  }

  .about-mobile-menu-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .about-hero,
  .about-story {
    padding-right: calc(var(--mobile-frame-x) + 18px);
    padding-left: calc(var(--mobile-frame-x) + 18px);
  }

  .about-hero {
    display: flex;
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 104px;
    flex-direction: column;
  }

  .about-kicker {
    margin-bottom: 42px;
  }

  .about-hero h1 {
    max-width: 8.5ch;
    font-size: clamp(52px, 15.4vw, 76px);
    line-height: 0.84;
  }

  .about-hero h1 span {
    white-space: normal;
  }

  .about-portrait-frame {
    width: min(78vw, 330px);
    margin-top: 88px;
    align-self: flex-end;
  }

  .about-portrait-frame figcaption {
    left: -24px;
    font-size: clamp(68px, 23vw, 98px);
  }

  .about-hero-intro {
    display: block;
    margin-top: 76px;
  }

  .about-hero-lead {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .about-hero-summary {
    margin-top: 36px !important;
    font-size: 15px;
  }

  .about-scroll-cue {
    position: static;
    margin-top: 54px;
  }

  .story-chapter {
    display: block;
    padding: 92px 0 110px;
  }

  .story-heading {
    position: static;
  }

  .story-heading h2 {
    max-width: 12ch;
    margin-top: 38px;
    font-size: clamp(38px, 11.8vw, 54px);
    line-height: 0.96;
  }

  .story-copy {
    max-width: none;
    margin-top: 68px;
    font-size: clamp(21px, 6vw, 27px);
    line-height: 1.24;
  }

  .story-pull {
    margin-top: 1.4em !important;
    margin-bottom: 1.4em !important;
    padding-left: 22px;
    font-size: clamp(30px, 8.6vw, 40px);
  }

  .about-connect {
    min-height: 100svh;
    padding:
      116px
      calc(var(--mobile-frame-x) + 18px)
      140px;
  }

  .about-connect h2 {
    max-width: none;
    font-size: clamp(34px, 10.8vw, 58px);
  }

  .about-connect-link {
    width: 100%;
    justify-content: space-between;
  }

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

  .about-footer-email {
    display: inline-flex;
  }

  .about-mobile-menu-footer {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
