:root {
  --about-bg: #080909;
  --about-surface: #111311;
  --about-text: #f3efe6;
  --about-muted: #b8b4aa;
  --about-faint: #85837c;
  --about-line: #32342f;
  --about-cyan: #79d9dc;
  --about-warm: #e7d5ad;
  --about-shell: min(var(--ribbon-content-width), calc(100% - 48px));
  --about-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--about-bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.about-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--about-bg);
  color: var(--about-text);
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.about-page img { display: block; width: 100%; max-width: 100%; }
.about-page h1, .about-page h2, .about-page p { overflow-wrap: anywhere; }
.about-page h1, .about-page h2 { text-wrap: balance; }
.about-page p { text-wrap: pretty; }
.about-page button, .about-page input { font: inherit; }
.about-page :focus-visible { outline: 2px solid var(--about-cyan); outline-offset: 4px; }

.about-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--about-text);
  color: var(--about-bg);
  text-decoration: none;
}
.about-skip-link:focus { transform: translateY(0); }

.about-shell { width: var(--about-shell); margin-inline: auto; }

.about-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0;
  border-bottom: 0;
  background: rgba(8, 9, 9, 0.88);
  backdrop-filter: blur(18px);
}
.about-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--ribbon-content-width), calc(100% - 48px));
  min-height: 66px;
  margin-inline: auto;
}
.about-navigation { display: flex; align-items: center; gap: 26px; }
.about-navigation a { color: var(--about-muted); font-size: 15px; text-decoration: none; transition: color 180ms var(--about-ease); }
.about-navigation a:hover, .about-navigation a[aria-current="page"] { color: var(--about-text); }
.about-nav-toggle { display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: var(--about-text); cursor: pointer; }
.about-nav-toggle__label { font-family: "JetBrains Mono", monospace; font-size: 10px; text-transform: uppercase; }
.about-nav-toggle__icon { position: relative; width: 16px; height: 10px; }
.about-nav-toggle__icon::before, .about-nav-toggle__icon::after { content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform 180ms var(--about-ease), top 180ms var(--about-ease); }
.about-nav-toggle__icon::before { top: 1px; }
.about-nav-toggle__icon::after { top: 8px; }
.about-nav-toggle[aria-expanded="true"] .about-nav-toggle__icon::before { top: 5px; transform: rotate(45deg); }
.about-nav-toggle[aria-expanded="true"] .about-nav-toggle__icon::after { top: 5px; transform: rotate(-45deg); }

.about-hero {
  position: relative;
  display: block;
  min-height: 820px;
  overflow: hidden;
  background: #0b0e0d;
}
.about-hero::before, .about-hero::after { display: none; }
.about-hero__wordmark { position: absolute; top: 105px; right: 6%; color: rgba(243, 239, 230, 0.045); font-family: "DM Sans", sans-serif; font-size: 180px; font-style: italic; font-weight: 600; letter-spacing: 0; line-height: 0.76; text-align: right; user-select: none; pointer-events: none; }
.about-hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(18rem, 0.78fr); gap: 80px; align-items: end; padding: 216px 0 76px; animation: about-reveal 720ms var(--about-ease) both; }
.about-hero h1 { max-width: 720px; margin: 0; color: var(--about-text); font-size: 96px; font-weight: 500; letter-spacing: 0; line-height: 0.92; }
.about-hero__copy { max-width: 360px; padding: 12px 0 2px; border-left: 0; }
.about-hero__copy p { margin: 0 0 18px; color: var(--about-muted); font-size: 16px; line-height: 1.55; }
.about-hero__copy p:first-child { color: var(--about-text); }
.about-hero__copy p:last-child { margin-bottom: 0; }
.about-hero__copy::before { display: none; }

.about-story, .about-culture { border-bottom: 0; }
.about-story { padding: 116px 0 122px; background: #e7e3d8; color: #121614; }
.about-story__inner { position: relative; display: block; }
.about-story h2 { position: relative; max-width: 720px; margin: 0; color: #121614; font-size: 76px; font-weight: 500; letter-spacing: 0; line-height: 0.98; }
.about-story__copy { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; max-width: none; margin-top: 78px; padding: 78px 0 0; }
.about-story__copy::before { content: "\201C"; position: absolute; top: -52px; right: 0; color: rgba(18, 22, 20, 0.08); font-family: Georgia, serif; font-size: 220px; line-height: 1; }
.about-story__copy p { margin: 0; color: #3f443f; font-size: 16px; line-height: 1.55; }
.about-story__copy p:first-child { color: #121614; font-size: 16px; line-height: 1.55; }
.about-story__copy p:last-child { margin-bottom: 0; }

.about-culture { padding: 116px 0 126px; background: #0e1211; }
.about-culture__inner { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(42px, 7vw, 100px); align-items: start; }
.about-culture__intro, .about-culture__explanation { max-width: 520px; margin: 0; color: var(--about-muted); font-size: 16px; line-height: 1.58; }
.about-culture__intro { grid-column: 1; padding-top: 0; }
.about-culture__statement { grid-column: 1 / -1; margin: 0 0 60px; padding: 0; }
.about-culture h2 { max-width: 100%; margin: 0; color: var(--about-text); font-family: "Outfit", "Noto Sans SC", sans-serif; font-size: 74px; font-weight: 500; letter-spacing: 0; line-height: 1.08; }
.about-culture__explanation { grid-column: 2; text-align: left; }

.about-page [data-about-waitlist][hidden] { display: none; }
.about-page .about-footer .waitlist__success:not([hidden]), .about-page .about-footer .waitlist__error:not([hidden]) { display: block; }
.about-footer { position: relative; }
.about-page .site-waitlist {
  background-color: #0b0a09;
  background-image: url("./images/waitlist-back.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.about-page .site-waitlist::after { display: block; }

@keyframes about-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .about-hero__content { grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr); gap: 56px; }
  .about-hero h1 { font-size: 72px; }
  .about-hero__wordmark { top: 116px; font-size: 132px; }
  .about-story h2 { font-size: 56px; }
  .about-story__copy { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; }
  .about-culture h2 { font-size: 60px; }
}

@media (max-width: 760px) {
  :root { --about-shell: calc(100% - 32px); }
  body.about-menu-open { overflow: hidden; }
  .about-hero { padding-inline: 0; }
  .about-header { min-height: 58px; padding: 0; }
  .about-header__inner { width: calc(100% - 32px); min-height: 58px; }
  .about-nav-toggle { display: inline-flex; }
  .about-navigation { position: absolute; top: calc(100% + 13px); right: -18px; left: -18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 0; background: rgba(8, 9, 9, 0.98); }
  .about-navigation.is-open { display: flex; }
  .about-navigation a { padding: 15px 2px; border-bottom: 0; font-size: 18px; }
  .about-navigation a:last-child { border-bottom: 0; }
  .about-hero { min-height: 760px; }
  .about-hero__wordmark { top: 92px; right: -4%; font-size: 86px; }
  .about-hero__content, .about-story__inner, .about-culture__inner { grid-template-columns: 1fr; }
  .about-hero__content { gap: 42px; padding: 172px 0 58px; }
  .about-hero h1 { max-width: 560px; font-size: 52px; line-height: 0.98; }
  .about-hero__copy { max-width: 420px; }
  .about-hero__copy p { font-size: 16px; line-height: 1.58; }
  .about-story { padding: 84px 0 94px; }
  .about-story__inner { gap: 48px; }
  .about-story h2 { font-size: 48px; }
  .about-story__copy { grid-template-columns: 1fr; gap: 24px; margin-top: 42px; padding-top: 44px; }
  .about-story__copy p, .about-story__copy p:first-child { font-size: 18px; line-height: 1.62; }
  .about-story__copy::before { top: -34px; font-size: 142px; }
  .about-culture { padding: 84px 0 96px; }
  .about-culture__inner { gap: 0; }
  .about-culture__intro, .about-culture__explanation { font-size: 17px; line-height: 1.64; }
  .about-culture__statement { margin: 0 0 42px; padding: 0; }
  .about-culture h2 { font-size: 42px; line-height: 1.14; }
  .about-culture__explanation { grid-column: 1; margin-top: 0; }
}

@media (max-width: 480px) {
  :root { --about-shell: calc(100% - 32px); }
  .about-hero { min-height: 720px; }
  .about-hero__content { gap: 32px; padding: 164px 0 42px; }
  .about-hero h1 { font-size: 44px; }
  .about-hero__wordmark { top: 84px; font-size: 68px; }
  .about-story { padding-block: 76px 86px; }
  .about-story h2 { font-size: 38px; }
  .about-culture h2 { font-size: 36px; }
}

@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; }
}
