/* About page: same intro scale as the prototype page, founder cards, slide-in profile panel. */
.about-page { background: #090a0d; }
.about-intro, .about-founders { max-width: 1800px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.about-intro { padding-top: 180px; padding-bottom: 56px; background: linear-gradient(#ffffff1f, #ffffff1f) bottom center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.about-eyebrow { margin: 0 0 25px; font-size: 10px; line-height: 1.5; letter-spacing: .1em; font-weight: 600; color: #a2a7ac; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 6%; }
.about-intro h1 { margin: 0; font-size: clamp(44px, 5.2vw, 74px); font-weight: 400; line-height: 1.01; letter-spacing: -.05em; }
.about-intro-grid > p { margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: #bbc1c5; }

.about-founders { padding-top: 64px; padding-bottom: 120px; }
.about-section-label { margin: 0 0 28px; font-size: 10px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; color: #a2a7ac; }
.founder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 40px clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.founder-card { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.founder-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #12151a; }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.founder-photo::after { content: ""; position: absolute; inset: 0; background: #05070a; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.founder-card:hover .founder-photo::after, .founder-card:focus-visible .founder-photo::after { opacity: .32; }
.founder-card:hover .founder-photo img { transform: scale(1.02); }
.founder-card:focus-visible { outline: none; }
.founder-card:focus-visible .founder-photo { outline: 1px solid #fff9; outline-offset: 4px; }
.founder-photo-placeholder { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 35%, #1b2029 0%, #0d1015 70%); border: 1px solid #ffffff12; }
.founder-mark { display: block; width: 46%; aspect-ratio: 1883 / 244; background: linear-gradient(180deg, #fff 0%, rgba(232,240,250,.8) 25%, rgba(150,170,195,.3) 60%, rgba(255,255,255,.04) 88%, rgba(255,255,255,0) 100%); -webkit-mask: url("assets/vyper/vyper-wordmark.svg") 0 0 / 100% 100% no-repeat; mask: url("assets/vyper/vyper-wordmark.svg") 0 0 / 100% 100% no-repeat; opacity: .8; }
.founder-meta { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px; padding-top: 18px; }
.founder-meta strong { font-size: 20px; font-weight: 400; letter-spacing: -.03em; line-height: 1.2; color: #f2f6fa; }
.founder-meta small { grid-column: 1; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8fa3b6; }
.founder-study { grid-column: 1; margin-top: 2px; font-size: 13px; font-style: normal; color: #a2a7ac; }
.founder-more { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 22px; font-weight: 300; line-height: 1; color: #d0dce8; transition: transform .25s ease; }
.founder-card:hover .founder-more { transform: rotate(90deg); }

.founder-panel { position: fixed; inset: 0 0 0 auto; width: min(560px, 100vw); max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid #ffffff1a; background: #0d0f13; color: #f2f6fa; overflow-y: auto; }
.founder-panel::backdrop { background: rgba(3, 5, 8, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.founder-panel[open] { animation: founder-slide .45s cubic-bezier(.2,.7,.3,1); }
.founder-panel[open]::backdrop { animation: founder-fade .35s ease; }
@keyframes founder-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes founder-fade { from { opacity: 0; } to { opacity: 1; } }
.founder-panel-inner { position: relative; padding: 96px 48px 56px; }
.founder-close { position: absolute; top: 28px; right: 28px; width: 42px; height: 42px; border: 1px solid #ffffff24; border-radius: 50%; background: none; color: #f2f6fa; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.founder-close:hover { background: #ffffff0f; border-color: #ffffff55; }
.founder-close:focus { outline: none; }
.founder-close:focus-visible { border-color: #ffffff99; }
.founder-panel h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 46px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.founder-school { margin: 0; font-size: 13px; color: #8fa3b6; }
.founder-bio { margin-top: 32px; padding-top: 28px; border-top: 1px solid #ffffff1f; }
.founder-bio p { margin: 0 0 18px; font-size: 15px; line-height: 1.75; color: #c3cad1; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.founder-tags li { padding: 7px 12px; border: 1px solid #ffffff24; border-radius: 999px; font-size: 11px; color: #d0dce8; }
.founder-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.founder-links a { display: inline-flex; gap: 22px; padding-bottom: 10px; border-bottom: 1px solid #ffffff66; font-size: 12px; color: #fff; transition: border-color .2s; }
.founder-links a:hover { border-bottom-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .founder-photo img, .founder-photo::after, .founder-more { transition: none; }
  .founder-panel[open], .founder-panel[open]::backdrop { animation: none; }
}
@media (max-width: 920px) {
  .about-intro { padding-top: 128px; padding-bottom: 36px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-intro h1 { font-size: clamp(40px, 10vw, 60px); }
  .about-intro-grid > p { font-size: 14px; }
  .about-founders { padding-top: 44px; padding-bottom: 80px; }
  .founder-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 20px; }
}
@media (max-width: 560px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-panel-inner { padding: 84px 24px 44px; }
  .founder-close { top: 20px; right: 20px; }
}

/* Whitepaper page: live Google Doc preview in a framed viewer. */
.whitepaper-aside > p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: #bbc1c5; }
.whitepaper-viewer { max-width: 1800px; margin: 0 auto; padding: 56px var(--gutter) 120px; }
.whitepaper-viewer iframe { display: block; width: 100%; max-width: 1100px; height: max(720px, calc(100svh - 160px)); margin: 0 auto; border: 1px solid #ffffff1f; border-radius: 10px; background: #fff; }
@media (max-width: 920px) {
  .whitepaper-aside > p { font-size: 14px; }
  .whitepaper-viewer { padding-top: 36px; padding-bottom: 80px; }
  .whitepaper-viewer iframe { height: calc(100svh - 120px); min-height: 560px; border-radius: 6px; }
}
