:root {
  color-scheme: dark;
  --about-bg: #050505;
  --about-bg-soft: #090909;
  --about-text: #f4f0e8;
  --about-text-soft: rgba(244, 240, 232, 0.72);
  --about-text-faint: rgba(244, 240, 232, 0.42);
  --about-line: rgba(244, 240, 232, 0.09);
  --about-line-strong: rgba(244, 240, 232, 0.24);
  --about-accent: #f2d2a5;
  --about-accent-soft: rgba(242, 210, 165, 0.22);
  --about-surface-width: min(1320px, calc(100vw - 40px));
  --about-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

html.light {
  color-scheme: light;
  --about-bg: #F1EFE7;
  --about-bg-soft: #FFFFFF;
  --about-text: #000000;
  --about-text-soft: #666666;
  --about-text-faint: #666666;
  --about-line: #E9E3D8;
  --about-line-strong: #E9E3D8;
  --about-accent: #000000;
  --about-accent-soft: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

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

html {
  background: var(--about-bg);
}

body.about-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.05), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(242, 210, 165, 0.05), transparent 28%),
    linear-gradient(180deg, #050505 0%, #070707 45%, #050505 100%);
  color: var(--about-text);
  font-family: var(--font-sans);
  overflow-x: clip;
}

html.light body.about-body {
  background: #F1EFE7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.about-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform-origin: center center;
  transition:
    opacity 820ms var(--about-ease),
    transform 1100ms var(--about-ease);
}

.about-glow,
.about-grid,
.about-noise {
  position: absolute;
}

.about-glow {
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.78;
  will-change: transform;
}

.about-glow-1 {
  top: -16rem;
  left: -10rem;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11), transparent 70%);
}

.about-glow-2 {
  top: 24vh;
  right: -14rem;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(242, 210, 165, 0.14), transparent 72%);
}

.about-glow-3 {
  bottom: -18rem;
  left: 26vw;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

html.light .about-glow-1,
html.light .about-glow-2,
html.light .about-glow-3 {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03), transparent 70%);
  opacity: 0.28;
}

.about-grid {
  inset: -10%;
  background-image:
    linear-gradient(rgba(244, 240, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.03) 1px, transparent 1px);
  background-size: 118px 118px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 34%, transparent 84%);
  opacity: 0.18;
}

html.light .about-grid {
  display: none;
}

html.light .about-noise {
  display: none;
}

.about-noise {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: soft-light;
}

.about-page {
  position: relative;
  z-index: 1;
  animation: about-page-intro 920ms var(--about-ease) 80ms both;
}

.about-atmosphere {
  animation: about-atmosphere-intro 980ms var(--about-ease) both;
}

.about-surface {
  position: relative;
  width: var(--about-surface-width);
  margin: 0 auto;
  padding-top: calc(max(var(--site-nav-offset, 48px), 48px) + 10vh);
  padding-bottom: 22vh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(0.9rem, 1.8vw, 1.5rem);
  row-gap: clamp(0.1rem, 0.9vw, 0.7rem);
}

.about-thread {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(244, 240, 232, 0), var(--about-line), rgba(244, 240, 232, 0));
  transform: translateX(-50%);
  pointer-events: none;
}

.about-thread-progress {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(242, 210, 165, 0.95), rgba(244, 240, 232, 0.06));
  transform: scaleY(0);
  transform-origin: top center;
}

.about-node {
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
}

.about-node-center {
  grid-column: 3 / 11;
  justify-self: center;
  text-align: center;
  width: min(100%, 64rem);
}

.about-node-left {
  grid-column: 1 / 6;
  justify-self: start;
  width: min(100%, 34rem);
}

.about-node-right {
  grid-column: 8 / 13;
  justify-self: end;
  width: min(100%, 34rem);
}

.about-node-wide {
  width: min(100%, 72rem);
}

.about-node-medium {
  width: min(100%, 38rem);
}

.about-overline {
  margin: 0;
  color: var(--about-text-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.about-display,
.about-title,
.about-headline,
.about-mantra,
.about-quote {
  margin: 0;
  text-wrap: balance;
}

.about-display {
  font-size: clamp(3.6rem, 10vw, 8.7rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.about-display em,
.about-title em,
.about-quote em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.about-title {
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.about-headline {
  font-size: clamp(1.6rem, 2.9vw, 2.65rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.about-copy {
  margin: 0;
  color: var(--about-text-soft);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.8;
}

.about-whisper {
  margin: 0;
  color: rgba(244, 240, 232, 0.34);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  word-spacing: 0.24em;
}

html.light .about-whisper {
  color: #666666;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 240ms var(--about-ease),
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 240ms ease;
}

.about-button:hover {
  transform: translateY(-2px);
}

.about-button-primary {
  color: #050505;
  background: var(--about-text);
  box-shadow: 0 18px 42px rgba(244, 240, 232, 0.07);
}

html.light .about-button-primary {
  color: #FFFFFF;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.about-button-secondary {
  color: var(--about-text);
  background: rgba(244, 240, 232, 0.04);
  border-color: var(--about-line);
}

.about-button-secondary:hover {
  background: rgba(244, 240, 232, 0.07);
  border-color: var(--about-line-strong);
}

html.light .about-button-secondary {
  background: transparent;
}

html.light .about-button-secondary:hover {
  background: #FFFFFF;
}

.about-step-index {
  margin: 0;
  color: rgba(242, 210, 165, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

html.light .about-step-index {
  color: #666666;
}

.about-quote {
  color: var(--about-text);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.about-founder-quote-desktop {
  width: min(100%, 31rem);
  justify-self: center;
  align-self: center;
  grid-row: span 3;
}

.about-founder-quote-mobile {
  display: none;
}

.about-portrait {
  width: min(100%, 28rem);
  margin-top: clamp(2rem, 8vh, 6rem);
  justify-self: end;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 10% 8% -8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 50% 55%, rgba(242, 210, 165, 0.22), transparent 40%);
  filter: blur(50px);
  z-index: 0;
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 2.8rem;
  box-shadow: 0 40px 88px rgba(0, 0, 0, 0.42);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.3));
}

.about-mantra {
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.94);
}

html.light .about-mantra {
  color: #000000;
}

.about-footer {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--maxw, 1180px) + 40px));
  margin: 96px auto 0;
  padding: 0 20px 52px;
  border-top: 0;
  color: inherit;
  animation: about-footer-intro 920ms var(--about-ease) 150ms both;
}

.about-footer__inner {
  border-top: 1px solid rgba(244, 240, 232, 0.11);
  padding-top: 30px;
}

.about-footer__inner p {
  margin: 0;
  text-align: center;
  color: rgba(244, 240, 232, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-family: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

html.light .about-footer__inner {
  border-top-color: #E9E3D8;
}

html.light .about-footer__inner p {
  color: #666666;
}

.about-flow-break {
  margin-top: clamp(5rem, 12vh, 8rem);
}

.about-step-break {
  margin-top: clamp(4rem, 10vh, 6.5rem);
}

.about-node-title {
  margin-top: 0.2rem;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(242, 210, 165, 0.92);
  outline-offset: 4px;
}

html.light a:focus-visible,
html.light button:focus-visible {
  outline: 2px solid #000000;
}

body.about-body .site-nav__bar {
  background: rgba(5, 5, 5, 0.34);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(24px) saturate(1.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
}

body.about-body .site-nav[data-scrolled="true"] .site-nav__bar,
body.about-body .site-nav[data-open="true"] .site-nav__bar {
  background: rgba(5, 5, 5, 0.52);
  border-bottom-color: rgba(244, 240, 232, 0.08);
}

html.light body.about-body .site-nav__bar {
  background: rgba(241, 239, 231, 0.88);
}

html.light body.about-body .site-nav[data-scrolled="true"] .site-nav__bar,
html.light body.about-body .site-nav[data-open="true"] .site-nav__bar {
  background: rgba(241, 239, 231, 0.96);
  border-bottom-color: #E9E3D8;
}

@keyframes about-atmosphere-intro {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes about-page-intro {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes about-footer-intro {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.about-js [data-motion] {
  opacity: 0.001;
  transform: translate3d(0, 3rem, 0) scale(0.96);
}

.about-js.reduced-motion [data-motion] {
  opacity: 1;
  transform: none;
}

.about-js.reduced-motion .about-atmosphere,
.about-js.reduced-motion .about-page,
.about-js.reduced-motion .about-footer {
  animation: none;
}

@media (max-width: 960px) {
  :root {
    --about-surface-width: min(100vw - 28px, 1320px);
  }

  .about-surface {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .about-thread {
    left: 0.75rem;
    transform: none;
  }

  .about-node-center,
  .about-node-left,
  .about-node-right {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
    width: min(100%, 38rem);
    padding-left: 2.3rem;
  }

  .about-actions {
    justify-content: flex-start;
  }

  .about-founder-quote-desktop {
    display: none;
  }

  .about-founder-quote-mobile {
    display: block;
  }

  .about-portrait {
    width: min(100%, 22rem);
    margin-top: 2.4rem;
  }
}

@media (max-width: 720px) {
  .about-surface {
    padding-top: calc(max(var(--site-nav-offset, 48px), 48px) + 8vh);
    padding-bottom: 18vh;
  }

  .about-display {
    font-size: clamp(2.9rem, 16vw, 4.9rem);
  }

  .about-title {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .about-mantra {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-button {
    width: 100%;
  }

  .about-whisper {
    letter-spacing: 0.18em;
    word-spacing: 0.12em;
  }
}
