:root {
  --bg: rgb(218, 226, 236);
  --ink: #0a0a0a;
  --muted: rgba(10, 10, 10, .62);
  --line: rgba(10, 10, 10, .1);
  --glass: rgba(255, 255, 255, .42);
  --sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overscroll-behavior: none; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); overflow-x: hidden; transition: background-color .7s ease-out; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 16px; color: white; background: #111; border-radius: 8px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - 48px, 1280px); margin-inline: auto; }
.section { position: relative; width: 100%; }
.content-section { min-height: 100vh; padding: 128px 0; }
.micro-label, .act-label, .framework small, .process-card small, .monograph small, .project-card small, .sheet-body h4 { font-family: var(--mono); font-size: .625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }

/* Header */
.site-header { position: fixed; z-index: 80; inset: 0 0 auto; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 48px; background: rgba(0, 0, 0, .1); border-bottom: 1px solid rgba(10, 10, 10, .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); user-select: none; }
.brand { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 10, 10, .05); border: 1px solid var(--line); font: 700 .875rem var(--display); transition: transform .3s; }
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font: 600 .875rem/1.2 var(--display); letter-spacing: -.02em; }
.brand-copy small { margin-top: 2px; color: rgba(10, 10, 10, .42); font: .625rem var(--mono); letter-spacing: .08em; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.nav-item { position: relative; display: flex; flex-direction: column; padding: 7px 2px 9px; border: 0; background: none; cursor: pointer; text-align: left; }
.nav-item small { color: rgba(10, 10, 10, .4); font: 500 .6rem var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.nav-item span { margin-top: 3px; color: rgba(10, 10, 10, .6); font: 500 .875rem var(--display); letter-spacing: -.02em; transition: color .2s; }
.nav-item:hover span, .nav-item.is-active span { color: var(--ink); }
.nav-item::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav-item.is-active::after { transform: scaleX(1); }
.header-meta { display: flex; align-items: center; gap: 15px; color: rgba(10, 10, 10, .6); font: .68rem var(--mono); }
.header-meta > span:not(.meta-separator) { display: flex; gap: 6px; white-space: nowrap; }
.header-meta em { color: rgba(10, 10, 10, .4); font-style: normal; }
.header-meta strong { color: var(--ink); font-weight: 500; }
.status i { width: 6px; height: 6px; align-self: center; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: status-pulse 2s infinite; }
.meta-separator { width: 1px; height: 16px; background: rgba(10,10,10,.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.22); font: 500 .62rem var(--mono); }
.language-switch button { border: 0; padding: 0; background: none; opacity: .35; cursor: pointer; }
.language-switch button.is-active { opacity: 1; font-weight: 700; }
.language-switch span { opacity: .2; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,10,10,.05); cursor: pointer; }
.menu-toggle { display: none; }

/* Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 94px 0 48px; overflow: hidden; user-select: none; }
#liquid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 32px; pointer-events: none; }
.hero h1 { margin: 0; text-align: center; font: 700 clamp(2.8rem, 10.5vw, 13rem)/.94 var(--display); letter-spacing: -.04em; animation: hero-in .8s .2s both; }
.hero-intro { max-width: 620px; margin-top: 32px; padding: 0 24px; text-align: center; animation: fade-in 1s .6s both; }
.hero-intro p { margin: 0; color: #525252; font: italic clamp(1rem, 1.4vw, 1.25rem)/1.65 var(--serif); }
.hero-intro div { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; color: rgba(82,82,82,.62); font: .56rem var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.hero-intro i { width: 4px; height: 4px; border-radius: 50%; background: rgba(10,10,10,.25); }
.hero-footer { position: relative; z-index: 2; width: min(100% - 48px, 1280px); margin: auto auto 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.version { display: flex; flex-direction: column; color: #525252; }
.version small, .begin-button small { opacity: .48; font: 500 .625rem var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.version span { margin-top: 5px; opacity: .82; font: .75rem var(--mono); }
.begin-button { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; }
.begin-button span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(10,10,10,.05); transition: background .2s; }
.begin-button:hover span { background: rgba(10,10,10,.1); }
.begin-button svg { width: 16px; animation: bounce 1.5s infinite; }
.discover { display: flex; align-items: center; gap: 16px; color: rgba(82,82,82,.45); font: .625rem var(--mono); }
.discover i { width: 48px; height: 1px; background: var(--line); }

/* Shared section editorial */
.act-label { display: inline-flex; align-items: center; gap: 9px; color: rgba(10,10,10,.6); font-family: var(--display); font-size: .75rem; font-weight: 600; letter-spacing: .15em; }
.act-label i { width: 6px; height: 6px; border-radius: 50%; background: #171717; }
.editorial h2, .section-heading h2 { margin: 22px 0 0; font: 400 clamp(2.5rem, 4.4vw, 3.75rem)/1.05 var(--serif); letter-spacing: -.035em; }
.editorial h2 em, .section-heading h2 strong { font-style: italic; font-weight: 600; }
.editorial > p, .heading-copy > p { max-width: 660px; margin: 23px 0 0; color: #404040; font-size: .94rem; line-height: 1.75; }
.manifesto-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.manifesto-copy { position: sticky; top: 112px; }
.framework { max-width: 420px; margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--line); }
.framework small { color: rgba(10,10,10,.4); }
.framework div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 10px; color: #262626; font: .72rem var(--mono); }
.framework b { font-weight: 400; }
.process-list { display: flex; flex-direction: column; gap: 52px; }
.process-card { padding: 38px; border: 1px solid rgba(0,0,0,.05); border-radius: 24px; background: rgba(0,0,0,.05); transition: background .3s; }
.process-card:hover { background: rgba(0,0,0,.09); }
.process-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.process-number { display: flex; flex-direction: column; }
.process-number strong { color: rgba(10,10,10,.15); font: 700 clamp(2.5rem,4vw,3rem)/1 var(--display); letter-spacing: -.06em; }
.process-number small { margin-top: 8px; color: rgba(10,10,10,.4); }
.directive { padding: 7px 16px; border-radius: 999px; color: white; background: #0a0a0a; font: 500 .625rem var(--display); letter-spacing: .08em; text-transform: uppercase; }
.process-card h3 { margin: 24px 0 0; font: 700 clamp(1.5rem,2.5vw,1.875rem)/1.1 var(--display); letter-spacing: -.035em; }
.process-card > p { margin: 12px 0 0; color: #404040; font-size: .91rem; line-height: 1.7; }
.process-details { margin-top: 25px; padding-top: 23px; border-top: 1px solid rgba(0,0,0,.06); }
.process-details > small { color: rgba(10,10,10,.4); }
.process-details > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin-top: 13px; }
.check-row { display: flex; align-items: flex-start; gap: 8px; color: #262626; font: .72rem/1.45 var(--mono); }
.check-row svg { width: 13px; height: 13px; flex: none; color: #525252; }

/* Duality */
.duality-inner, .artifacts-inner { display: flex; flex-direction: column; gap: 50px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.heading-copy { flex: 1; }
.section-heading h2 { line-height: 1; }
.slider-controls { display: flex; gap: 12px; }
.round-button { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #0a0a0a; border-radius: 50%; background: transparent; cursor: pointer; transition: .2s; }
.round-button:not(:disabled):hover { color: white; background: #0a0a0a; }
.round-button:disabled { color: rgba(10,10,10,.2); border-color: var(--line); cursor: not-allowed; }
.duality-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: stretch; }
.portrait-card { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid rgba(0,0,0,.05); border-radius: 24px; background: rgba(10,10,10,.05); transition: background .3s; }
.portrait-card:hover { background: rgba(10,10,10,.09); }
.portrait-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #e5e5e5; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) contrast(1.08); transition: filter .3s ease-out, transform .3s ease-out; }
.portrait-frame:hover img { filter: grayscale(0) contrast(1); transform: scale(1.012); }
.portrait-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82), transparent 55%, rgba(0,0,0,.3)); }
.portrait-caption { position: absolute; inset: auto 16px 16px; display: flex; flex-direction: column; color: white; }
.portrait-caption small { color: rgba(255,255,255,.6); font: 500 .625rem var(--mono); letter-spacing: .2em; }
.portrait-caption strong { margin-top: 4px; font: 600 .875rem var(--display); }
.monograph { margin-top: 22px; }
.monograph small { color: rgba(10,10,10,.4); }
.monograph p { margin: 8px 0 0; color: #262626; font: italic .875rem/1.6 var(--serif); }
.duality-track { display: flex; gap: 24px; min-width: 0; padding: 16px 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.duality-track::-webkit-scrollbar { display: none; }
.duality-card { flex: 0 0 360px; min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.4); scroll-snap-align: start; transition: .3s; }
.duality-card:hover { background: rgba(255,255,255,.8); box-shadow: 0 15px 30px rgba(0,0,0,.04); }
.duality-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.duality-card header small { color: rgba(10,10,10,.42); font: 500 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.side-pill { padding: 5px 10px; border-radius: 999px; font: 600 .55rem var(--mono); text-transform: uppercase; }
.side-pill.engineering { color: #1e293b; background: #e2e8f0; }
.side-pill.business { color: #92400e; background: #fef3c7; }
.duality-card h3 { margin: 24px 0 0; font: 700 1.55rem/1.12 var(--display); letter-spacing: -.035em; }
.duality-card p { margin: 14px 0 0; color: #525252; font-size: .86rem; line-height: 1.72; }
.card-metric { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(10,10,10,.06); }
.card-metric small { color: rgba(10,10,10,.4); font: .62rem var(--mono); }
.card-metric strong { padding: 5px 8px; border-radius: 4px; background: rgba(10,10,10,.05); font: 600 .69rem var(--mono); }

/* Artifacts and project cards */
.section-heading.single .heading-copy { max-width: 760px; }
.projects-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.project-card { position: relative; min-height: 445px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.5); backdrop-filter: blur(12px); cursor: pointer; transition: transform .3s, background .3s, border-color .3s, box-shadow .3s; }
.project-card::before { content: ""; position: absolute; inset: 0 24px auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(10,10,10,.12), transparent); }
.project-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.8); border-color: rgba(10,10,10,.2); box-shadow: 0 15px 30px rgba(0,0,0,.03); }
.project-card:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-top > div { display: flex; flex-direction: column; }
.project-top small { color: rgba(10,10,10,.42); line-height: 1.5; }
.project-top em { margin-top: 4px; color: rgba(10,10,10,.36); font: normal .62rem var(--mono); }
.project-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(10,10,10,.05); color: #262626; }
.project-icon svg { transition: transform .3s; }
.project-card:hover .project-icon svg { transform: rotate(45deg); }
.project-copy { margin: 28px 0; }
.project-copy h3 { margin: 0; font: 700 1.3rem/1.15 var(--display); letter-spacing: -.035em; }
.project-copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 12px 0 0; color: #525252; font-size: .78rem; line-height: 1.68; }
.project-bottom { padding-top: 17px; border-top: 1px solid var(--line); }
.project-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.project-metrics span { display: flex; flex-direction: column; }
.project-metrics small { color: rgba(10,10,10,.42); font: .55rem var(--mono); letter-spacing: -.01em; }
.project-metrics strong { margin-top: 4px; font: 600 1.08rem var(--display); }
.view-project { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; color: rgba(10,10,10,.42); font: 500 .6rem var(--mono); letter-spacing: .17em; text-align: center; text-transform: uppercase; transition: color .2s; }
.view-project i { width: 6px; height: 6px; border-radius: 50%; background: rgba(10,10,10,.2); }
.project-card:hover .view-project { color: #0a0a0a; }
.project-card:hover .view-project i { background: #16a34a; }

/* Advisory */
.advisory-card { position: relative; display: flex; align-items: stretch; gap: 48px; margin-top: 16px; padding: 60px; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: rgba(255,255,255,.4); box-shadow: 0 20px 50px rgba(0,0,0,.02); backdrop-filter: blur(12px); }
.advisory-card::after { content: ""; position: absolute; z-index: -1; top: -100px; right: -100px; width: 430px; height: 430px; border-radius: 50%; background: rgba(10,10,10,.025); filter: blur(45px); }
.advisory-copy { width: 42%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.protocol-badge { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10,10,10,.05); color: #262626; font: .6rem var(--mono); letter-spacing: .08em; }
.advisory-copy h3 { margin: 18px 0 0; font: 400 clamp(2rem,3vw,2.5rem)/1.15 var(--serif); letter-spacing: -.025em; }
.advisory-copy h3 strong { font-style: italic; font-weight: 600; }
.advisory-copy > div > p { margin: 17px 0 0; color: #404040; font-size: .86rem; line-height: 1.7; }
.contact-meta { display: flex; flex-direction: column; gap: 17px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-meta > div { display: flex; align-items: center; gap: 12px; }
.meta-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(10,10,10,.05); }
.meta-icon svg { width: 14px; }
.contact-meta p { display: flex; flex-direction: column; margin: 0; }
.contact-meta small { color: #737373; font: .6rem var(--mono); }
.contact-meta a { margin-top: 3px; font: 500 .86rem var(--display); text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }
.contact-meta p > span { margin-top: 3px; color: #525252; font-size: .72rem; }
.form-panel { width: 58%; min-height: 510px; display: flex; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.5); }
#advisory-form { width: 100%; display: flex; flex-direction: column; gap: 19px; }
#advisory-form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
#advisory-form label { display: flex; flex-direction: column; gap: 7px; color: #737373; font: .61rem var(--mono); letter-spacing: .06em; }
#advisory-form input, #advisory-form textarea { width: 100%; padding: 13px 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 11px; outline: 0; background: rgba(255,255,255,.8); font: .86rem var(--sans); transition: border-color .2s, box-shadow .2s; }
#advisory-form textarea { resize: none; line-height: 1.5; }
#advisory-form input:focus, #advisory-form textarea:focus { border-color: rgba(10,10,10,.35); box-shadow: 0 0 0 3px rgba(10,10,10,.04); }
.form-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { margin: -6px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: #525252; background: rgba(255,255,255,.6); font: .72rem/1.5 var(--sans); }
.form-status[hidden] { display: none; }
.form-status.is-error { color: #991b1b; border-color: rgba(153,27,27,.2); background: rgba(254,226,226,.55); }
.submit-button { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; border: 0; border-radius: 11px; color: white; background: #0a0a0a; font: 600 .7rem var(--display); letter-spacing: .13em; cursor: pointer; transition: background .2s; }
.submit-button:hover { background: #262626; }
.submit-button:disabled { opacity: .55; cursor: wait; }
.submit-button.is-loading svg { animation: spin 1s linear infinite; }
.success-state { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; animation: scale-in .3s both; }
.success-state[hidden] { display: none; }
.success-state > span { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(34,197,94,.2); border-radius: 50%; color: #16a34a; background: rgba(34,197,94,.1); }
.success-state > span svg { width: 28px; height: 28px; }
.success-state h4 { margin: 18px 0 0; font: 700 1.25rem var(--display); letter-spacing: -.03em; }
.success-state p { max-width: 400px; margin: 9px 0 0; color: #525252; font-size: .75rem; line-height: 1.6; }
.success-state button { margin-top: 20px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(10,10,10,.05); font: .6rem var(--mono); letter-spacing: .08em; cursor: pointer; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; border-top: 1px solid var(--line); color: rgba(10,10,10,.42); font: .72rem var(--mono); }
.site-footer > div { display: flex; flex-direction: column; }
.site-footer small { margin-top: 4px; color: rgba(10,10,10,.3); font-size: .55rem; }
.site-footer nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #0a0a0a; }
.site-footer i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.site-footer .corum-link { display: inline-flex; align-items: baseline; gap: 8px; color: rgba(10,10,10,.58); }
.site-footer .corum-link strong { font-weight: 600; }
.site-footer .corum-link small { margin: 0; color: rgba(10,10,10,.4); font-size: .62rem; white-space: nowrap; }

/* Project sheet */
.project-dialog { position: fixed; z-index: 120; inset: 0; overflow: hidden; }
.project-dialog[hidden] { display: none; }
.dialog-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0,0,0,.64); backdrop-filter: blur(4px); cursor: pointer; animation: fade-in .25s both; }
.project-sheet { position: absolute; inset: 0 0 0 auto; width: min(600px,100%); display: flex; flex-direction: column; color: white; background: #18191c; border-left: 1px solid rgba(255,255,255,.1); box-shadow: -20px 0 50px rgba(0,0,0,.5); animation: sheet-in .45s cubic-bezier(.2,.85,.2,1) both; }
.sheet-notch { display: none; }
.project-sheet > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 30px; border-bottom: 1px solid rgba(255,255,255,.05); }
.project-sheet > header > div { display: flex; flex-direction: column; }
#sheet-category { color: rgba(255,255,255,.42); font: 600 .7rem var(--display); letter-spacing: .15em; text-transform: uppercase; }
#sheet-title { margin: 7px 0 0; font: 700 clamp(1.5rem,3vw,1.875rem)/1.1 var(--display); letter-spacing: -.035em; }
.project-sheet > header p { margin: 8px 0 0; color: rgba(255,255,255,.5); font: .7rem var(--mono); }
.project-sheet > header p strong { color: white; font-weight: 500; }
.sheet-close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; color: white; background: rgba(255,255,255,.05); cursor: pointer; }
.sheet-close:hover { background: rgba(255,255,255,.1); }
.sheet-body { flex: 1; display: flex; flex-direction: column; gap: 31px; padding: 30px; overflow-y: auto; scrollbar-width: none; }
.sheet-body::-webkit-scrollbar { display: none; }
.sheet-body section { display: flex; flex-direction: column; gap: 12px; }
.sheet-body h4 { margin: 0; color: rgba(255,255,255,.4); }
.sheet-body p { margin: 0; color: rgba(255,255,255,.78); font-size: .94rem; line-height: 1.7; }
.sheet-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sheet-metric { display: flex; flex-direction: column; justify-content: space-between; min-height: 125px; padding: 20px; border: 1px solid rgba(255,255,255,.05); border-radius: 16px; background: rgba(255,255,255,.05); }
.sheet-metric small { color: rgba(255,255,255,.4); font: .7rem var(--mono); }
.sheet-metric strong { margin-top: 10px; font: 700 1.8rem var(--display); letter-spacing: -.04em; }
.impact-panel { padding: 23px; border: 1px solid rgba(52,211,153,.12); border-radius: 16px; background: rgba(6,78,59,.2); }
.impact-panel h4 { display: flex; align-items: center; gap: 10px; color: #34d399; font: 600 .84rem var(--display); letter-spacing: -.01em; }
.impact-panel h4 svg { width: 20px; }
.impact-panel p { color: rgba(209,250,229,.82); font-size: .84rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); font: .7rem var(--mono); }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.integrity-list { display: flex; flex-direction: column; gap: 11px; }
.integrity-list div { display: flex; align-items: flex-start; gap: 11px; color: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.5; }
.integrity-list svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: rgba(255,255,255,.4); }
.project-sheet > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-top: 1px solid rgba(255,255,255,.05); background: #141517; }
.project-sheet > footer div { display: flex; flex-direction: column; }
.project-sheet > footer small { color: rgba(255,255,255,.4); font: .6rem var(--mono); }
.project-sheet > footer span { margin-top: 3px; color: rgba(255,255,255,.7); font-size: .72rem; }
.project-sheet > footer a { padding: 11px 20px; color: black; border-radius: 999px; background: white; font: 600 .72rem var(--display); text-decoration: none; }

/* Mobile navigation */
.mobile-menu { position: fixed; z-index: 70; inset: var(--header-height) 0 auto; padding: 24px; color: var(--ink); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); animation: mobile-menu-in .28s both; }
.mobile-menu[hidden] { display: none; }
#mobile-nav { display: grid; gap: 7px; margin-top: 13px; }
.mobile-nav-item { display: flex; align-items: center; justify-content: space-between; padding: 11px; border: 1px solid transparent; border-radius: 12px; background: none; text-align: left; cursor: pointer; }
.mobile-nav-item.is-active { border-color: var(--line); background: rgba(10,10,10,.05); }
.mobile-nav-item > span { display: flex; align-items: center; gap: 12px; }
.mobile-nav-item svg { color: rgba(10,10,10,.45); }
.mobile-nav-item b { display: flex; flex-direction: column; font: 500 .84rem var(--display); }
.mobile-nav-item small { margin-top: 2px; color: rgba(10,10,10,.42); font: .58rem var(--mono); }
.mobile-menu-meta { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font: .64rem var(--mono); }
.mobile-menu-meta span { display: flex; justify-content: space-between; gap: 12px; }
.mobile-menu-meta em { color: rgba(10,10,10,.55); font-style: normal; }
.mobile-menu-meta strong { font-weight: 500; }
.mobile-menu-meta span:first-child strong { color: #16a34a; }
.mobile-tabs { display: none; }

/* Reveal and focus */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
body.dialog-open { overflow: hidden; }

@keyframes hero-in { from { opacity: 0; transform: translateY(30px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-in { from { transform: translateX(100%); } }
@keyframes mobile-menu-in { from { opacity: 0; transform: translateY(-18px); } }
@keyframes scale-in { from { opacity: 0; transform: scale(.95); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes status-pulse { 70% { box-shadow: 0 0 0 5px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

@media (max-width: 1180px) {
  .site-header { padding-inline: 28px; }
  .header-meta { display: none; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .project-card { min-height: 400px; }
}

@media (max-width: 820px) {
  :root { --header-height: 73px; }
  .container { width: min(100% - 40px, 1280px); }
  .content-section { padding: 96px 0; }
  .site-header { padding: 14px 20px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .brand-copy small { max-width: 170px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .hero { padding: 88px 0 112px; }
  .hero-main { padding-inline: 16px; }
  .hero h1 { font-size: clamp(2.8rem, 15.5vw, 7rem); line-height: .98; letter-spacing: -.025em; }
  .hero-intro { margin-top: 28px; padding-inline: 12px; }
  .hero-intro div { flex-wrap: wrap; font-size: .51rem; }
  .hero-footer { width: min(100% - 40px, 1280px); flex-direction: column; align-items: center; margin-top: 25px; }
  .version { align-items: center; }
  .discover { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-copy { position: static; }
  .process-list { gap: 30px; }
  .process-card { padding: 30px; }
  .duality-grid { grid-template-columns: 1fr; }
  .portrait-card { max-width: 560px; }
  .section-heading { align-items: flex-end; }
  .advisory-card { flex-direction: column; padding: 38px; }
  .advisory-copy, .form-panel { width: 100%; }
  .mobile-tabs { position: fixed; z-index: 75; inset: auto 16px 20px; display: flex; align-items: center; justify-content: space-around; max-width: 390px; margin-inline: auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: 0 12px 40px rgba(0,0,0,.07); backdrop-filter: blur(16px); animation: mobile-tabs-in .6s .8s both; }
  .mobile-tab { position: relative; width: 58px; height: 53px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 50%; background: none; color: rgba(10,10,10,.42); cursor: pointer; }
  .mobile-tab::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid transparent; border-radius: 50%; transition: .25s; }
  .mobile-tab.is-active { color: #0a0a0a; }
  .mobile-tab.is-active::before { border-color: rgba(10,10,10,.05); background: rgba(10,10,10,.05); }
  .mobile-tab small { max-width: 55px; overflow: hidden; font: 500 .52rem var(--display); text-overflow: ellipsis; white-space: nowrap; }
  @keyframes mobile-tabs-in { from { opacity: 0; transform: translateY(80px); } }
}

@media (max-width: 620px) {
  .language-switch { padding: 7px; }
  .brand-copy strong { font-size: .8rem; }
  .brand-copy small { max-width: 130px; font-size: .51rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .slider-controls { align-self: flex-end; }
  .editorial h2, .section-heading h2 { font-size: clamp(2.35rem,11vw,3.2rem); }
  .process-details > div { grid-template-columns: 1fr; }
  .process-card { padding: 26px 22px; }
  .directive { font-size: .53rem; padding-inline: 11px; }
  .duality-card { flex-basis: min(290px, calc(100vw - 62px)); min-height: 370px; padding: 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 390px; }
  .advisory-card { gap: 34px; padding: 28px 20px; border-radius: 24px; }
  .form-panel { min-height: 0; padding: 21px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
  .site-footer > div { align-items: center; }
  .site-footer nav { justify-content: center; gap: 11px; }
  .site-footer .corum-link { flex-basis: 100%; justify-content: center; margin-top: 3px; }
  .project-sheet { inset: auto 0 0; width: 100%; height: 87vh; border: 0; border-top: 1px solid rgba(255,255,255,.1); border-radius: 24px 24px 0 0; animation-name: sheet-up; }
  .sheet-notch { display: block; width: 48px; height: 6px; margin: 12px auto 0; border-radius: 999px; background: rgba(255,255,255,.2); }
  .project-sheet > header { padding: 20px; }
  .sheet-body { padding: 22px 20px; }
  .sheet-metric { min-height: 112px; padding: 16px; }
  .sheet-metric strong { font-size: 1.45rem; }
  .project-sheet > footer { padding: 17px 20px; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
}

@media (max-width: 430px) {
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: .76rem; }
  .header-actions { gap: 6px; }
  .language-switch { font-size: .57rem; }
  .hero h1 { font-size: 15.5vw; }
  .hero-intro p { font-size: .95rem; }
  .version small, .begin-button small { font-size: .55rem; }
  .framework div { font-size: .62rem; gap: 7px; }
  .sheet-close { width: 40px; height: 40px; }
  .project-sheet > footer div { display: none; }
  .project-sheet > footer a { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
