/* Copyright (c) 2026 Quantum Alkimia. All Rights Reserved.
   Confidential and proprietary. Unauthorized use, reproduction, or
   distribution is strictly prohibited. */

@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("assets/fonts/cormorant-garamond-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400;
  font-display: swap; src: url("assets/fonts/cormorant-garamond-italic.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("assets/fonts/ibm-plex-mono-regular.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #08080b;
  --text: #ece7dc;
  --muted: #aaa79e;
  --gold: #d9b873;
  --gold-light: #f0d9a3;
  --cyan: #7cc9c4;
  --line: rgba(217, 184, 115, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 18px/1.8 var(--sans); -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 65% at 50% 44%, rgba(69, 55, 30, .12), transparent 80%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 110; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font: 400 1em/1.06 var(--serif); }
h2 { font-size: clamp(49px, 5.99vw, 86px); letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 46px; letter-spacing: -.025em; text-wrap: balance; }
em { font-weight: 400; color: var(--gold-light); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 7px; }
main:focus, section:focus { outline: none; }
.arrow { width: 17px; height: 17px; flex: 0 0 17px; }
.eyebrow, .micro, .role { font: 400 12px/1.75 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { color: var(--gold); margin-bottom: 30px; }
.micro, .role { color: var(--muted); }
.lead { font-size: 22px; line-height: 1.85; max-width: 620px; margin: 34px auto 0; color: var(--text); text-wrap: pretty; }
.supporting { max-width: 620px; margin: 24px auto 0; color: var(--muted); font-size: 18px; line-height: 1.9; text-wrap: pretty; }
.quiet-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 17px;
  min-height: 44px; margin-top: 35px; padding: 9px 0; color: var(--gold-light);
  font: 13px/1.7 var(--mono); letter-spacing: .03em; position: relative;
}
.quiet-link::after {
  content: ""; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(.3); opacity: .35; transition: transform .35s, opacity .35s;
}
.quiet-link:hover::after { transform: scaleX(1); opacity: .8; }
.skip-link {
  position: fixed; top: -100px; left: 20px; z-index: 200;
  background: var(--gold); color: var(--bg); padding: 10px 18px;
}
.skip-link:focus { top: 12px; }

/* A quiet navigation layer above the continuous story. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, backdrop-filter .4s; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(8, 8, 11, .92); backdrop-filter: blur(18px); }
.header-inner { width: min(100% - 80px, 1080px); min-height: 90px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.header-brand { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold-light); }
.header-brand svg { width: 33px; height: 33px; }
.site-nav { display: flex; align-items: center; gap: clamp(25px, 4vw, 56px); }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font: 13px/1.6 var(--mono); color: var(--muted); transition: color .25s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--gold-light); }
.site-nav .arrow { width: 13px; height: 13px; flex-basis: 13px; }
.menu-toggle { display: none; }

/* Original stealth emblem: draw, orbit, then reveal the message. */
.hero {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: max(760px, 100svh); padding: 118px 24px 155px; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 48% 53% at 50% 41%, rgba(138, 102, 48, .11), transparent 76%);
}
.hero-inner { width: 100%; max-width: 1060px; display: flex; flex-direction: column; align-items: center; }
.emblem {
  width: clamp(185px, 25svh, 230px); aspect-ratio: 1; margin-bottom: 43px;
  animation: emblem-in 1.5s cubic-bezier(.16, 1, .3, 1) .05s both, float 7s ease-in-out 1.8s infinite;
}
.emblem svg { width: 100%; height: 100%; overflow: visible; }
.mark { fill: none; stroke: var(--text); stroke-width: 3; }
.mark-circle, .mark-triangle, .mark-bar { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mark-circle { animation: draw 1.5s ease .15s both; }
.mark-triangle { animation: draw 1.45s ease .5s both; }
.mark-bar { animation: draw 1s ease .9s both; }
.orbit { transform-origin: 110px 110px; fill: none; stroke-width: 1.05; }
.orbit-gold { stroke: var(--gold); animation: fade 1.35s ease 1.15s both, spin 34s linear 1.15s infinite; }
.orbit-cyan { stroke: var(--cyan); animation: fade 1.35s ease 1.45s both, spin 26s linear 1.45s infinite reverse; }
.electron { transform-origin: 110px 110px; animation: fade 1.3s ease 1.6s both, spin 11s linear 1.6s infinite; }
.core-fill { fill: var(--text); transform-origin: 110px 110px; animation: fade 1s ease .7s both, core-pulse 4.5s ease-in-out 1.4s infinite; }
.core-halo { fill: var(--gold-light); opacity: 0; transform-origin: 110px 110px; animation: halo-pulse 4.5s ease-in-out 1.4s infinite; }
.hero-kicker { margin-bottom: 22px; color: var(--muted); font-size: 12px; letter-spacing: .34em; animation: rise 1.2s ease 1.1s both; }
.hero h1 { font-size: clamp(48px, 7.02vw, 102px); letter-spacing: -.018em; animation: rise 1.25s ease 1.3s both; }
.hero-tagline { margin-top: 24px; font: italic clamp(22px, 2.27vw, 30px)/1.35 var(--serif); color: var(--muted); animation: rise 1.25s ease 1.55s both; }
.hero-description { margin-top: 23px; color: var(--muted); font-size: 16px; line-height: 1.9; animation: rise 1.25s ease 1.75s both; }
.scroll-cue {
  position: absolute; bottom: 74px; display: flex; flex-direction: column; align-items: center;
  gap: 16px; min-width: 80px; font: 11px/1.7 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); animation: fade 1.5s ease 2.1s both;
}
.scroll-line { display: block; width: 1px; height: 37px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: scroll-breathe 3s ease-in-out 2.5s infinite; }
.hero-locations { position: absolute; bottom: 25px; padding-inline: 20px; font-size: 11px; letter-spacing: .12em; animation: fade 1.5s ease 2.2s both; }
.hero-locations span { margin-inline: 13px; color: var(--gold); }
.hero.is-away .emblem, .hero.is-away .emblem *, .hero.is-away .scroll-line { animation-play-state: paused; }

/* Centered chapters, separated by space and a fine vertical thread. */
.chapter {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: clamp(140px, 17svh, 210px) 30px; text-align: center; isolation: isolate;
}
.chapter::before {
  content: ""; position: absolute; top: 0; left: calc(50% - .5px); width: 1px; height: 82px;
  background: linear-gradient(transparent, var(--line), transparent); pointer-events: none;
}
.centered { width: min(100%, 890px); margin-inline: auto; position: relative; }
.centered.wide { width: min(100%, 1050px); }
.section-aura { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.purpose .section-aura::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 130vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 201, 196, .026), transparent 65%);
  border: 1px solid rgba(217, 184, 115, .045);
}
.purpose .section-aura::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(217, 184, 115, .023);
}
.partnership .section-aura { background: radial-gradient(ellipse 44% 60% at 50% 50%, rgba(69, 95, 87, .065), transparent 80%); }
.partnership-symbol { width: 112px; margin: 0 auto 38px; }
.partnership { min-height: 95svh; }

/* The five fields share one space; all remain readable without JavaScript. */
.industry-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 35px; margin: 53px auto 12px; }
.industry-tabs a { padding: 13px 0; min-height: 48px; font: 25px/1.35 var(--serif); color: var(--muted); position: relative; transition: color .25s; }
.industry-tabs a:hover, .industry-tabs a[aria-selected="true"] { color: var(--gold-light); }
.industry-tabs a[aria-selected="true"]::after { content: ""; position: absolute; bottom: 5px; height: 1px; left: 25%; right: 25%; background: var(--gold); }
.industry-panels { max-width: 720px; margin: 0 auto; }
.industry-panel { padding: 26px 0 55px; }
.industry-panel + .industry-panel { margin-top: 80px; }
.js .industry-panel + .industry-panel { margin-top: 0; }
.js .industry-panels { min-height: 580px; }
.industry-art { display: block; width: 295px; height: 230px; object-fit: contain; margin: 0 auto 20px; }
.industry-name { margin-bottom: 15px; font-size: 11px; color: var(--cyan); }
.js .industry-name { display: none; }
.industry-panel h3 { max-width: 700px; margin-inline: auto; }
.industry-description { font-size: 19px; color: var(--muted); line-height: 1.9; max-width: 590px; margin: 23px auto 0; text-wrap: pretty; }
.industry-tags { font-size: 11px; letter-spacing: .09em; color: var(--cyan); margin-top: 22px; }
.industry-panel .quiet-link { margin-top: 22px; }
.research-note { margin: 15px auto 0; max-width: 530px; }
.research-note summary { display: list-item; width: fit-content; margin-inline: auto; padding: 9px 5px; cursor: pointer; color: var(--muted); font: 12px/1.7 var(--mono); }
.research-note p { color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 12px; }
.research-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }

/* Portraits and biographies stay within the same central composition. */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-top: 85px; }
.founder-portrait { width: 212px; margin: 0 auto 36px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; }
.founder-portrait img { width: 100%; height: 244px; border-radius: 50%; object-fit: cover; object-position: center 32%; filter: grayscale(1); }
.founder h3 { font-size: 37px; }
.role { color: var(--gold); font-size: 11px; letter-spacing: .07em; margin-top: 13px; }
.founder-bio { max-width: 410px; margin: 25px auto 0; color: var(--muted); font-size: 17px; line-height: 1.95; }
.founder-bio p + p { margin-top: 18px; }

/* A single invitation, followed by the two locations. */
.contact { min-height: 92svh; padding-bottom: 120px; }
.contact .section-aura { background: radial-gradient(ellipse 50% 55% at 50% 48%, rgba(138, 102, 48, .08), transparent 80%); }
.contact .lead { color: var(--muted); font-size: 19px; }
.contact-email {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding-block: 14px;
  margin-top: 25px; color: var(--gold-light); font: 33px/1.4 var(--serif); border-bottom: 1px solid var(--line);
  transition: border-color .3s;
}
.contact-email:hover { border-color: var(--gold); }
.locations { display: flex; justify-content: center; align-items: center; gap: 38px; margin-top: 85px; }
.locations p { font: 33px/1.25 var(--serif); }
.locations span:not(.location-separator) { display: block; margin-top: 11px; color: var(--muted); font: 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .18em; }
.location-separator { width: 1px; height: 45px; background: linear-gradient(transparent, var(--line), transparent); }
.site-footer { text-align: center; padding: 35px 24px 45px; }
.footer-mark { display: block; width: 37px; margin: 0 auto 20px; color: var(--gold); opacity: .65; }
.site-footer .micro { font-size: 11px; letter-spacing: .13em; }
.footer-signature { margin-top: 10px; font: italic 19px/1.5 var(--serif); color: var(--muted); }
.redirect-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 30px; }
.redirect-page h1 { font-size: 54px; }
.redirect-page p { margin-top: 25px; color: var(--gold-light); }

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes core-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes halo-pulse { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: .18; transform: scale(2.4); } }
@keyframes emblem-in { from { opacity: 0; transform: scale(.88); filter: blur(3px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes scroll-breathe { 0%, 100% { transform: scaleY(1); opacity: .6; } 50% { transform: scaleY(.65); opacity: 1; } }

@media (min-width: 1700px) {
  .chapter { padding-block: 190px; }
  .centered { width: min(100%, 1000px); }
}
@media (min-width: 601px) and (max-height: 850px) {
  .hero { padding-top: 100px; padding-bottom: 160px; }
  .emblem { width: 180px; margin-bottom: 30px; }
  .hero h1 { font-size: clamp(48px, 6.8vw, 91px); }
  .hero-tagline { font-size: 26px; margin-top: 20px; }
  .hero-description { margin-top: 18px; }
}
@media (max-width: 800px) {
  .header-inner { width: calc(100% - 40px); min-height: 76px; gap: 15px; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: 12px; }
  .chapter { min-height: 85svh; padding: 125px 28px; }
  .lead { font-size: 20px; }
  .founders-grid { gap: 36px; margin-top: 65px; }
  .founder h3 { font-size: 33px; }
  .founder-portrait { width: 188px; }
  .founder-portrait img { height: 216px; }
  .founder-bio { font-size: 16px; }
  .industry-tabs { gap: 3px 28px; }
  .industry-tabs a { font-size: 24px; }
  .industry-panel h3 { font-size: 43px; }
}
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; padding-block: 13px; }
  .header-brand { width: 36px; height: 44px; }
  .site-nav { width: 100%; flex-wrap: wrap; justify-content: center; gap: 2px 24px; padding-bottom: 6px; }
  .site-nav a { font-size: 13px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 8px 17px; }
  .js .site-nav.is-open a { justify-content: center; min-height: 49px; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; padding: 8px 9px; border: 0; background: transparent; color: var(--muted); font: 12px/1.6 var(--mono); }
  .menu-toggle-icon { position: relative; width: 13px; height: 13px; }
  .menu-toggle-icon::before, .menu-toggle-icon::after { content: ""; position: absolute; width: 13px; height: 1px; top: 6px; left: 0; background: var(--gold); }
  .menu-toggle-icon::after { transform: rotate(90deg); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: rotate(0); }
  .hero { min-height: max(740px, 100svh); padding: 120px 24px 160px; }
  .emblem { width: 185px; margin-bottom: 36px; }
  .hero-kicker { font-size: 11px; letter-spacing: .23em; margin-bottom: 23px; }
  .hero h1 { font-size: clamp(45px, 11.66vw, 66px); }
  .hero-tagline { font-size: 23px; max-width: 330px; margin-top: 22px; }
  .hero-description { font-size: 15px; max-width: 320px; }
  .hero-locations { font-size: 10px; letter-spacing: .08em; bottom: 27px; }
  .hero-locations span { margin-inline: 8px; }
  .chapter { padding: 120px 24px; min-height: 85svh; }
  .chapter::before { height: 64px; }
  h2 { font-size: clamp(44px, 11.34vw, 63px); line-height: 1.1; }
  .eyebrow { font-size: 11px; letter-spacing: .18em; margin-bottom: 27px; }
  .lead { font-size: 19px; line-height: 1.9; margin-top: 30px; }
  .supporting { font-size: 17px; }
  .supporting br { display: none; }
  .industry-tabs { margin-top: 38px; gap: 0 22px; }
  .industry-tabs a { font-size: 23px; }
  .industry-panel { padding-top: 19px; padding-bottom: 15px; }
  .industry-art { width: 250px; height: 195px; margin-bottom: 16px; }
  .industry-panel h3 { font-size: 38px; }
  .industry-description { font-size: 17px; line-height: 1.9; }
  .industry-tags { font-size: 10px; }
  .js .industry-panels { min-height: 620px; }
  .partnership-symbol { width: 96px; }
  .founders-grid { grid-template-columns: 1fr; gap: 75px; margin-top: 57px; }
  .founder-portrait { width: 196px; }
  .founder-portrait img { height: 226px; }
  .founder h3 { font-size: 36px; }
  .role { font-size: 10px; }
  .founder-bio { max-width: 380px; font-size: 17px; }
  .contact { padding-bottom: 90px; }
  .contact-email { font-size: clamp(26px, 7.24vw, 33px); gap: 12px; }
  .contact-email .arrow { width: 14px; height: 14px; flex-basis: 14px; }
  .locations { gap: 29px; margin-top: 70px; }
  .locations p { font-size: 31px; }
}
@media (max-width: 360px) {
  .contact-email { font-size: 25px; }
  .contact-email .arrow { display: none; }
  .hero h1 { font-size: 42px; }
  .hero-tagline { font-size: 21px; }
  .hero-description { font-size: 14px; }
  .hero-locations { font-size: 9px; }
  .industry-tabs { gap: 0 17px; }
  .industry-tabs a { font-size: 22px; }
  .industry-tags { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark-circle, .mark-triangle, .mark-bar { stroke-dashoffset: 0; }
}

@media (max-width: 600px) {
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .hero { padding-top: 80px; }
}
