| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900 |
- <!DOCTYPE html>
- <html lang='en'>
- <head>
- <meta charset='utf-8' />
- <meta name='viewport' content='width=device-width, initial-scale=1' />
- <title>Open Design · Vol. 01 / Issue Nº 26</title>
- <meta name='description' content='Open Design pitch deck — Vol. 01.' />
- <link rel='preconnect' href='https://fonts.googleapis.com' />
- <link rel='preconnect' href='https://fonts.gstatic.com' crossorigin />
- <link href='https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,400;1,500;1,600;1,700&family=JetBrains+Mono:wght@400;500&display=swap' rel='stylesheet' />
- <style>/*
- * Atelier Zero — canonical landing-page stylesheet.
- *
- * This file is the SINGLE SOURCE OF TRUTH for the open-design-landing
- * skill's visual system. It is consumed by:
- *
- * 1. `scripts/compose.ts` — inlined into the standalone HTML output.
- * 2. `apps/landing-page/app/globals.css` — copied verbatim for the
- * Astro static deployable counterpart.
- * 3. `example.html` — the pre-rendered known-good demo.
- *
- * If you change tokens, layout, motion, or component styles, edit them
- * here. The `@import` at top loads the four Google fonts the system
- * requires (Inter Tight, Inter, Playfair Display, JetBrains Mono).
- *
- * Tokens, grid posture, and motion language are defined by
- * `design-systems/atelier-zero/DESIGN.md`. Do not invent new colors or
- * typefaces here; either extend the design system first.
- */
- @import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,400;1,500;1,600;1,700&family=JetBrains+Mono:wght@400;500&display=swap');
- :root {
- --paper: #efe7d2;
- --paper-warm: #ece4cf;
- --paper-dark: #ddd2b6;
- --ink: #15140f;
- --ink-soft: #2a2620;
- --ink-mute: #5a5448;
- --ink-faint: #8b8676;
- --coral: #ed6f5c;
- --coral-soft: #f08e7c;
- --mustard: #e9b94a;
- --olive: #6e7448;
- --bone: #f7f1de;
- --line: rgba(21, 20, 15, 0.16);
- --line-soft: rgba(21, 20, 15, 0.08);
- --line-faint: rgba(21, 20, 15, 0.05);
- --shadow: 0 30px 60px -30px rgba(21, 20, 15, 0.18);
- --serif: 'Playfair Display', 'Times New Roman', serif;
- --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
- --body: 'Inter', -apple-system, system-ui, sans-serif;
- --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
- }
- * { box-sizing: border-box; margin: 0; padding: 0; }
- html, body { background: var(--paper); color: var(--ink); }
- body {
- font-family: var(--body);
- font-size: 16px;
- line-height: 1.55;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- overflow-x: hidden;
- position: relative;
- }
- /* paper texture overlay across the whole page */
- body::before {
- content: '';
- position: fixed;
- inset: 0;
- pointer-events: none;
- z-index: 1;
- background-image:
- radial-gradient(circle at 12% 18%, rgba(106, 92, 56, 0.07) 0, transparent 28%),
- radial-gradient(circle at 88% 72%, rgba(106, 92, 56, 0.06) 0, transparent 32%),
- url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.12 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
- background-size: auto, auto, 240px 240px;
- mix-blend-mode: multiply;
- opacity: 0.92;
- }
- .shell { position: relative; z-index: 2; }
- .container {
- max-width: 1360px;
- padding: 0 64px;
- margin: 0 auto;
- position: relative;
- }
- .container.wide { max-width: 1480px; }
- /* fixed side rails — rotated brand text on the right edge */
- .side-rail {
- position: fixed;
- top: 0;
- bottom: 0;
- width: 36px;
- z-index: 3;
- pointer-events: none;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .side-rail.right { right: 0; border-left: 1px solid var(--line-faint); }
- .side-rail.left { left: 0; border-right: 1px solid var(--line-faint); }
- .side-rail .rail-text {
- font-family: var(--sans);
- font-size: 10px;
- font-weight: 600;
- letter-spacing: 0.42em;
- text-transform: uppercase;
- color: var(--ink-faint);
- writing-mode: vertical-rl;
- transform: rotate(180deg);
- white-space: nowrap;
- }
- .side-rail.right .rail-text { transform: rotate(180deg); }
- .side-rail.left .rail-text { writing-mode: vertical-rl; transform: none; }
- /* top metadata strip */
- .topbar {
- border-bottom: 1px solid var(--line);
- padding: 10px 0;
- background: var(--paper);
- position: relative;
- z-index: 4;
- }
- .topbar-inner {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 24px;
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: var(--ink-faint);
- }
- .topbar-inner b { color: var(--ink); font-weight: 600; }
- .topbar-inner .coral { color: var(--coral); }
- .topbar-inner > span { white-space: nowrap; }
- .topbar-inner .mid { display: inline-flex; gap: 26px; }
- .topbar-inner .mid > span { white-space: nowrap; }
- .topbar-inner .right { display: inline-flex; gap: 18px; align-items: center; }
- .topbar-inner .right > span,
- .topbar-inner .right > a { white-space: nowrap; }
- .topbar-link {
- color: inherit;
- text-decoration: none;
- border-bottom: 1px solid transparent;
- transition: color 160ms ease, border-color 160ms ease;
- }
- .topbar-link:hover { color: var(--coral); border-bottom-color: var(--coral); }
- .topbar .pulse {
- width: 6px; height: 6px;
- border-radius: 50%;
- background: var(--coral);
- display: inline-block;
- margin-right: 6px;
- animation: pulse 2.4s ease-in-out infinite;
- }
- @keyframes pulse {
- 0%, 100% { opacity: 1; }
- 50% { opacity: 0.35; }
- }
- /* nav */
- /*
- * Headroom-style sticky header.
- *
- * The element is always `position: sticky`, so the browser docks it to the
- * top of the viewport once the topbar has scrolled away. The
- * `<Header />` client island then toggles the `is-hidden` modifier based
- * on scroll direction, which animates the bar in and out via `transform`.
- *
- * When the user is at the very top of the page, the topbar is still
- * visible above the nav and `position: sticky` simply leaves the nav in
- * its natural flow position — exactly the brief.
- */
- .nav {
- padding: 22px 0;
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--paper);
- transform: translateY(0);
- transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
- box-shadow 220ms ease,
- border-color 220ms ease;
- border-bottom: 1px solid transparent;
- will-change: transform;
- }
- /*
- * Subtle visual cue once we leave the top of the page. We can't tell from
- * CSS alone whether the bar is "stuck"; the deadband + class toggle in
- * <Header /> approximates it well enough for our purpose. We rely on the
- * `is-hidden` toggle to flicker the border while moving and a steady
- * border once docked.
- */
- .nav.is-hidden {
- transform: translateY(-100%);
- pointer-events: none;
- box-shadow: none;
- }
- .nav-inner {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 24px;
- }
- .brand {
- display: inline-flex;
- align-items: center;
- gap: 14px;
- font-family: var(--sans);
- font-weight: 700;
- letter-spacing: -0.01em;
- color: var(--ink);
- text-decoration: none;
- font-size: 18px;
- }
- .brand-mark {
- width: 36px; height: 36px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- border: 1.5px solid var(--ink);
- border-radius: 50%;
- font-family: var(--serif);
- font-style: italic;
- font-size: 17px;
- color: var(--ink);
- background: transparent;
- }
- .brand-meta {
- font-family: var(--sans);
- font-size: 10px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: var(--ink-faint);
- line-height: 1.3;
- margin-left: 4px;
- border-left: 1px solid var(--line);
- padding-left: 14px;
- }
- .brand-meta b { display: block; color: var(--ink); font-weight: 600; }
- .nav-links {
- display: flex;
- gap: 38px;
- list-style: none;
- }
- .nav-links a {
- color: var(--ink);
- text-decoration: none;
- font-family: var(--sans);
- font-size: 14px;
- font-weight: 500;
- transition: color 0.18s ease;
- position: relative;
- }
- .nav-links a:hover { color: var(--coral); }
- .nav-links a .num {
- font-size: 9px;
- color: var(--ink-faint);
- position: absolute;
- top: -7px;
- right: -16px;
- letter-spacing: 0.04em;
- }
- .nav-side {
- display: inline-flex;
- align-items: center;
- gap: 18px;
- }
- .nav-cta {
- display: inline-flex;
- align-items: center;
- gap: 10px;
- padding: 9px 16px;
- border-radius: 999px;
- background: var(--ink);
- color: var(--paper);
- font-family: var(--sans);
- font-size: 13px;
- font-weight: 500;
- text-decoration: none;
- white-space: nowrap;
- flex-shrink: 0;
- }
- .nav-cta [data-github-stars],
- .nav-cta [data-github-version] {
- font-variant-numeric: tabular-nums;
- }
- .nav-cta::after {
- content: '★';
- color: var(--mustard);
- font-size: 11px;
- }
- .status-dot {
- width: 28px; height: 28px;
- border-radius: 50%;
- border: 1px solid var(--line);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- }
- .status-dot::after {
- content: '';
- width: 6px; height: 6px;
- border-radius: 50%;
- background: var(--coral);
- }
- /* ---------- typography primitives ---------- */
- .label {
- font-family: var(--sans);
- font-size: 11px;
- font-weight: 600;
- letter-spacing: 0.22em;
- text-transform: uppercase;
- color: var(--coral);
- display: inline-flex;
- align-items: center;
- gap: 12px;
- }
- .label::before {
- content: '';
- width: 18px;
- height: 1px;
- background: var(--coral);
- display: inline-block;
- }
- .label .ix {
- color: var(--ink-faint);
- font-weight: 500;
- margin-left: 4px;
- }
- .display {
- font-family: var(--sans);
- font-weight: 800;
- letter-spacing: -0.028em;
- color: var(--ink);
- line-height: 1.0;
- }
- .display em {
- font-family: var(--serif);
- font-style: italic;
- font-weight: 500;
- letter-spacing: -0.018em;
- }
- .display .dot { color: var(--coral); }
- .lead {
- font-family: var(--body);
- font-size: 16px;
- line-height: 1.55;
- color: var(--ink-soft);
- max-width: 36ch;
- }
- .meta {
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: var(--ink-faint);
- }
- .coord {
- font-family: var(--mono);
- font-size: 10px;
- letter-spacing: 0.04em;
- color: var(--ink-faint);
- }
- .roman {
- font-family: var(--serif);
- font-style: italic;
- font-weight: 500;
- color: var(--coral);
- }
- /* buttons */
- .btn {
- display: inline-flex;
- align-items: center;
- gap: 12px;
- padding: 14px 22px;
- border-radius: 999px;
- font-family: var(--sans);
- font-size: 14px;
- font-weight: 500;
- letter-spacing: -0.005em;
- text-decoration: none;
- border: 1px solid transparent;
- transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
- cursor: pointer;
- white-space: nowrap;
- }
- .btn-primary {
- background: var(--coral);
- color: #fff;
- box-shadow: 0 14px 26px -16px rgba(237, 111, 92, 1);
- }
- .btn-primary:hover { transform: translateY(-1px); background: #e25e4a; }
- .btn-ghost {
- background: transparent;
- color: var(--ink);
- border-color: rgba(21, 20, 15, 0.2);
- }
- .btn-ghost:hover { background: rgba(21, 20, 15, 0.04); }
- .btn .arrow {
- width: 16px; height: 16px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- }
- .btn .arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
- /* helper used inline in headlines */
- .code-inline {
- font-family: var(--mono);
- font-size: 14px;
- background: var(--bone);
- padding: 1px 6px;
- border-radius: 4px;
- }
- /* ---------- HERO ---------- */
- .hero {
- position: relative;
- padding: 0;
- min-height: calc(100vh - 140px);
- display: flex;
- flex-direction: column;
- align-items: stretch;
- border-bottom: 1px solid var(--line);
- }
- .hero > .container { flex: 0 0 auto; }
- .hero > .container.hero-grid { flex: 1 1 auto; }
- .hero::before {
- content: '';
- position: absolute;
- left: 50%;
- top: 0;
- bottom: 0;
- width: 1px;
- background: var(--line-soft);
- z-index: 0;
- display: none;
- }
- .hero-grid {
- display: grid;
- grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
- gap: 36px;
- align-items: stretch;
- width: 100%;
- position: relative;
- }
- .hero-copy {
- padding: 4vh 0 4vh;
- display: flex;
- flex-direction: column;
- position: relative;
- }
- .hero-copy .label { margin-bottom: 28px; }
- .hero-copy .lead { margin-bottom: 30px; max-width: 38ch; font-size: 16px; }
- .hero h1 {
- font-size: clamp(44px, 5vw, 78px);
- line-height: 1.0;
- margin-bottom: 28px;
- }
- .hero-actions {
- display: inline-flex;
- align-items: center;
- gap: 14px;
- margin-bottom: 38px;
- }
- .hero-stats {
- display: flex;
- align-items: center;
- gap: 22px;
- flex-wrap: nowrap;
- margin-bottom: 28px;
- }
- .hero-stats .stat { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
- .hero-stats .stat .ring {
- width: 34px; height: 34px;
- border-radius: 50%;
- border: 1px dashed var(--ink);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- font-family: var(--sans);
- font-size: 11px;
- font-weight: 700;
- flex-shrink: 0;
- }
- .hero-stats .stat .ring.solid { border-style: solid; }
- .hero-stats .stat .ring.coral { border-color: var(--coral); color: var(--coral); }
- .hero-stats .stat-label {
- font-family: var(--sans);
- font-size: 11px;
- line-height: 1.25;
- color: var(--ink-soft);
- letter-spacing: 0.04em;
- text-transform: uppercase;
- }
- .hero-stats .stat-label b { display: block; font-weight: 700; color: var(--ink); font-size: 12px; }
- .hero-foot {
- margin-top: auto;
- padding-top: 22px;
- border-top: 1px solid var(--line);
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 24px;
- }
- .hero-foot .meta { line-height: 1.4; }
- .hero-art {
- position: relative;
- height: calc(100vh - 160px);
- max-height: 860px;
- margin-left: auto;
- margin-right: -12px;
- width: 100%;
- overflow: visible;
- }
- .hero-art img {
- width: 100%; height: 100%;
- object-fit: contain;
- object-position: right center;
- display: block;
- }
- /* image annotations */
- .annot {
- position: absolute;
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: var(--ink-faint);
- line-height: 1.4;
- white-space: nowrap;
- }
- .annot.has-line::before {
- content: '';
- position: absolute;
- background: var(--ink-faint);
- }
- .annot-tl { top: 14px; left: 14px; }
- .annot-tr { top: 14px; right: 14px; text-align: right; }
- .annot-bl { bottom: 14px; left: 14px; }
- .annot-br { bottom: 14px; right: 14px; text-align: right; }
- .annot.coord { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: none; }
- .hero-art .index {
- position: absolute;
- right: 12px;
- top: 36%;
- font-family: var(--sans);
- font-size: 10.5px;
- font-weight: 600;
- letter-spacing: 0.16em;
- color: var(--ink-faint);
- text-transform: uppercase;
- background: rgba(239, 231, 210, 0.7);
- padding: 10px 12px;
- border: 1px solid var(--line-soft);
- border-radius: 6px;
- backdrop-filter: blur(2px);
- }
- .hero-art .index span { display: block; line-height: 1.6; }
- .hero-art .index span .n { color: var(--coral); margin-right: 6px; font-weight: 700; }
- .hero-art .index span.on { color: var(--ink); font-weight: 700; }
- .hero-art .index span.on .n { color: var(--coral); }
- .hero-art .corner {
- position: absolute;
- width: 22px; height: 22px;
- border-color: var(--ink-faint);
- border-style: solid;
- border-width: 0;
- }
- .hero-art .corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
- .hero-art .corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
- .hero-art .corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
- .hero-art .corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
- /* ---------- common section header ---------- */
- section { position: relative; padding: 130px 0; }
- section.tight { padding: 90px 0; }
- .sec-rule {
- border-top: 1px solid var(--line);
- padding-top: 18px;
- margin-bottom: 48px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: var(--ink-faint);
- }
- .sec-rule .roman {
- font-family: var(--serif);
- font-style: italic;
- color: var(--coral);
- font-size: 14px;
- letter-spacing: 0.05em;
- text-transform: none;
- }
- .sec-rule .meta-grp { display: inline-flex; gap: 26px; }
- .sec-rule .dot-mark { color: var(--coral); }
- .section-header { margin-bottom: 70px; }
- .section-header .label { margin-bottom: 32px; }
- .section-header h2 {
- font-size: clamp(40px, 4.6vw, 66px);
- max-width: 22ch;
- }
- .section-header .lead { margin-top: 22px; }
- /* ---------- WIRE / GLOBAL TICKER ----------
- *
- * Slim editorial strip between the hero and the About section. Two
- * counter-scrolling marquees (cities → and contributors ←) signal that
- * the project is global and community-driven, without disrupting the
- * existing roman-numeral section count. Pure CSS animation; the track
- * content is duplicated in markup so the loop wraps seamlessly.
- */
- .wire {
- border-bottom: 1px solid var(--line);
- padding: 26px 0 28px;
- background: var(--paper);
- position: relative;
- overflow: hidden;
- }
- .wire-inner {
- display: grid;
- grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
- gap: 32px;
- align-items: center;
- }
- .wire-left {
- display: inline-flex;
- align-items: center;
- gap: 14px;
- border-right: 1px solid var(--line);
- padding-right: 24px;
- min-height: 56px;
- }
- .wire-mark {
- width: 22px;
- height: 22px;
- border-radius: 50%;
- border: 1px solid var(--line);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- flex-shrink: 0;
- }
- .wire-pulse {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: var(--coral);
- display: inline-block;
- animation: pulse 2.4s ease-in-out infinite;
- }
- .wire-title {
- font-family: var(--sans);
- font-size: 11px;
- line-height: 1.4;
- display: flex;
- flex-direction: column;
- gap: 3px;
- }
- .wire-title b {
- color: var(--ink);
- font-weight: 700;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- }
- .wire-title span {
- color: var(--ink-faint);
- font-size: 10px;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- }
- .wire-rows {
- display: grid;
- gap: 8px;
- min-width: 0;
- }
- .wire-row {
- overflow: hidden;
- mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
- -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
- }
- .marquee-track {
- display: inline-flex;
- align-items: center;
- gap: 36px;
- width: max-content;
- white-space: nowrap;
- animation: marquee-x 52s linear infinite;
- will-change: transform;
- }
- .wire-row.reverse .marquee-track {
- animation-direction: reverse;
- animation-duration: 64s;
- }
- .wire-row:hover .marquee-track {
- animation-play-state: paused;
- }
- @keyframes marquee-x {
- from { transform: translateX(0); }
- to { transform: translateX(-50%); }
- }
- .wire-item {
- display: inline-flex;
- align-items: baseline;
- gap: 8px;
- font-family: var(--sans);
- font-size: 12px;
- letter-spacing: 0.04em;
- color: var(--ink-mute);
- text-decoration: none;
- flex-shrink: 0;
- }
- .wire-item .wire-dot {
- color: var(--coral);
- font-size: 16px;
- line-height: 0;
- position: relative;
- top: -1px;
- margin-right: 2px;
- }
- .wire-item .wire-coord {
- font-family: var(--mono);
- font-size: 10.5px;
- color: var(--ink-faint);
- letter-spacing: 0;
- }
- .wire-item .wire-name {
- text-transform: uppercase;
- letter-spacing: 0.18em;
- color: var(--ink);
- font-weight: 500;
- }
- .wire-item .wire-handle {
- font-family: var(--mono);
- color: var(--ink);
- font-size: 11.5px;
- font-weight: 500;
- }
- .wire-item .wire-role {
- text-transform: uppercase;
- letter-spacing: 0.16em;
- color: var(--coral);
- font-size: 10px;
- }
- .wire-item.is-link {
- transition: color 160ms ease;
- }
- .wire-item.is-link:hover .wire-handle {
- color: var(--coral);
- }
- @media (prefers-reduced-motion: reduce) {
- .marquee-track { animation: none; }
- }
- /* ---------- ABOUT ---------- */
- .about-grid {
- display: grid;
- grid-template-columns: 1.05fr 1fr;
- gap: 80px;
- align-items: center;
- }
- .about h2 {
- font-size: clamp(44px, 5.4vw, 78px);
- margin: 30px 0 36px;
- }
- .about .label { margin-bottom: 28px; }
- .about .lead { margin-bottom: 36px; max-width: 42ch; font-size: 17px; }
- .about .footer-row {
- display: flex;
- align-items: center;
- gap: 20px;
- margin-top: 56px;
- color: var(--ink-faint);
- font-family: var(--sans);
- font-size: 11px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- }
- .about .footer-row .mark {
- width: 30px; height: 30px;
- border-radius: 50%;
- border: 1px solid var(--ink);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- font-family: var(--serif);
- font-style: italic;
- font-size: 14px;
- color: var(--ink);
- }
- .about .stamp {
- margin-left: auto;
- display: inline-flex;
- flex-direction: column;
- align-items: flex-end;
- line-height: 1.4;
- }
- .about .stamp span:first-child { color: var(--coral); }
- .about-art {
- position: relative;
- aspect-ratio: 1 / 1;
- max-width: 620px;
- margin-left: auto;
- }
- .about-art img { width: 100%; height: 100%; object-fit: contain; }
- .about-side-note {
- position: absolute;
- right: -8px;
- top: 26px;
- text-align: right;
- font-family: var(--sans);
- font-size: 10.5px;
- line-height: 1.55;
- color: var(--ink-faint);
- letter-spacing: 0.04em;
- max-width: 16ch;
- }
- .about-side-note b {
- display: block;
- color: var(--coral);
- width: 36px;
- height: 1px;
- background: var(--coral);
- margin: 0 0 10px auto;
- }
- .about-caption {
- position: absolute;
- right: 18px;
- bottom: 4px;
- font-family: var(--sans);
- font-size: 9.5px;
- color: var(--ink-faint);
- text-align: right;
- letter-spacing: 0.06em;
- line-height: 1.45;
- }
- .about-caption b { color: var(--ink); display: block; }
- /* ---------- CAPABILITIES ---------- */
- .capabilities-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 70px;
- align-items: center;
- }
- .capabilities-art {
- position: relative;
- aspect-ratio: 1 / 1;
- max-width: 600px;
- }
- .capabilities-art img { width: 100%; height: 100%; object-fit: contain; }
- .capabilities-art .ribbon {
- position: absolute;
- right: -42px;
- top: 50%;
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.42em;
- text-transform: uppercase;
- color: var(--ink-faint);
- writing-mode: vertical-rl;
- transform: rotate(180deg);
- }
- .capabilities-art .ribbon b { color: var(--coral); }
- .capabilities-art .corner { position: absolute; width: 22px; height: 22px; border-color: var(--ink-faint); border-style: solid; border-width: 0; }
- .capabilities-art .corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
- .capabilities-art .corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
- .capabilities-copy h2 { font-size: clamp(40px, 4.8vw, 64px); margin: 22px 0 30px; }
- .cards {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 18px;
- margin-top: 22px;
- }
- .card {
- padding: 28px 26px 32px;
- background: var(--bone);
- border-radius: 18px;
- box-shadow: var(--shadow), inset 0 0 0 1px rgba(21, 20, 15, 0.06);
- position: relative;
- overflow: hidden;
- transition: transform 0.2s ease;
- }
- .card:hover { transform: translateY(-3px); }
- .card .num {
- font-family: var(--serif);
- font-style: italic;
- font-size: 22px;
- font-weight: 500;
- color: var(--coral);
- letter-spacing: 0.04em;
- margin-bottom: 16px;
- display: flex;
- justify-content: space-between;
- align-items: baseline;
- }
- .card .num .tag {
- font-family: var(--sans);
- font-size: 9.5px;
- color: var(--ink-faint);
- letter-spacing: 0.18em;
- text-transform: uppercase;
- font-style: normal;
- font-weight: 500;
- }
- .card .icon {
- width: 28px;
- height: 28px;
- margin-bottom: 16px;
- color: var(--ink);
- }
- .card h3 {
- font-family: var(--sans);
- font-size: 22px;
- font-weight: 700;
- line-height: 1.05;
- letter-spacing: -0.014em;
- margin-bottom: 14px;
- }
- .card p {
- font-family: var(--body);
- font-size: 13.5px;
- color: var(--ink-mute);
- line-height: 1.55;
- max-width: 24ch;
- }
- .card .arrow-mark {
- position: absolute;
- right: 22px;
- bottom: 22px;
- width: 28px; height: 28px;
- border: 1px solid var(--line);
- border-radius: 50%;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- color: var(--ink);
- transition: all 0.18s ease;
- }
- .card:hover .arrow-mark { background: var(--coral); border-color: var(--coral); color: #fff; }
- .card .arrow-mark svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.6; }
- /* ---------- LABS ---------- */
- .labs-head {
- display: grid;
- grid-template-columns: 1.4fr 1fr;
- gap: 60px;
- align-items: end;
- margin-bottom: 48px;
- }
- .labs-head h2 { font-size: clamp(40px, 4.8vw, 68px); }
- .pills {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- justify-content: flex-end;
- }
- .pill {
- padding: 9px 18px;
- border-radius: 999px;
- border: 1px solid var(--line);
- font-family: var(--sans);
- font-size: 13px;
- color: var(--ink-soft);
- background: transparent;
- cursor: pointer;
- transition: all 0.18s ease;
- display: inline-flex;
- align-items: center;
- gap: 8px;
- }
- .pill:hover { background: rgba(21, 20, 15, 0.04); }
- .pill.active {
- background: var(--coral);
- border-color: var(--coral);
- color: #fff;
- }
- .pill .count {
- font-size: 10px;
- color: var(--ink-faint);
- border-left: 1px solid var(--line);
- padding-left: 8px;
- }
- .pill.active .count { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
- .labs-meta {
- display: flex;
- align-items: flex-start;
- justify-content: flex-end;
- gap: 22px;
- margin-bottom: 30px;
- }
- .labs-meta .ring {
- width: 38px; height: 38px;
- border-radius: 50%;
- border: 1px dashed var(--ink);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- font-family: var(--sans);
- font-size: 11px;
- font-weight: 700;
- }
- .labs-meta .meta-text {
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- line-height: 1.55;
- color: var(--ink-faint);
- max-width: 28ch;
- }
- .labs-meta .meta-text b { display: block; color: var(--ink); }
- .labs-grid {
- display: grid;
- grid-template-columns: repeat(5, 1fr);
- gap: 22px;
- }
- .lab {
- display: flex;
- flex-direction: column;
- }
- .lab-img {
- aspect-ratio: 4 / 5;
- background: var(--bone);
- border-radius: 14px;
- overflow: hidden;
- margin-bottom: 18px;
- box-shadow: var(--shadow);
- position: relative;
- }
- .lab-img img { width: 100%; height: 100%; object-fit: cover; }
- .lab-img .badge {
- position: absolute;
- top: 12px;
- left: 12px;
- background: rgba(239, 231, 210, 0.9);
- color: var(--ink);
- padding: 4px 9px;
- border-radius: 4px;
- font-family: var(--sans);
- font-size: 9.5px;
- font-weight: 600;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- }
- .lab .num-row {
- font-family: var(--sans);
- font-size: 10.5px;
- color: var(--ink-faint);
- letter-spacing: 0.14em;
- margin-bottom: 8px;
- display: flex;
- justify-content: space-between;
- text-transform: uppercase;
- }
- .lab h4 {
- font-family: var(--sans);
- font-size: 18px;
- font-weight: 700;
- letter-spacing: -0.014em;
- margin-bottom: 8px;
- }
- .lab p {
- font-family: var(--body);
- font-size: 13px;
- color: var(--ink-mute);
- line-height: 1.55;
- margin-bottom: 14px;
- }
- .lab .arrow-mark {
- width: 28px; height: 28px;
- border: 1px solid var(--line);
- border-radius: 50%;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- color: var(--ink);
- margin-top: auto;
- align-self: flex-start;
- }
- .lab .arrow-mark svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.6; }
- .labs-foot {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 50px;
- border-top: 1px dashed var(--line);
- padding-top: 22px;
- }
- .progress {
- display: flex;
- align-items: center;
- gap: 8px;
- }
- .progress span {
- width: 26px; height: 2px;
- background: var(--line);
- border-radius: 2px;
- }
- .progress span.on { background: var(--coral); }
- /* ---------- METHOD ---------- */
- .method-head {
- display: grid;
- grid-template-columns: 1.4fr 1fr;
- gap: 60px;
- align-items: start;
- margin-bottom: 80px;
- }
- .method-head h2 { font-size: clamp(44px, 5.2vw, 76px); }
- .method-head .right {
- display: flex;
- align-items: flex-start;
- gap: 14px;
- padding-top: 14px;
- }
- .method-head .plus {
- color: var(--coral);
- font-size: 24px;
- line-height: 1;
- font-family: var(--sans);
- }
- .method-head .right p {
- font-family: var(--sans);
- font-size: 13px;
- color: var(--ink-soft);
- max-width: 22ch;
- line-height: 1.55;
- }
- .method-grid {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 50px;
- position: relative;
- }
- .method-grid::before {
- content: '';
- position: absolute;
- top: 60px;
- left: 50px;
- right: 50px;
- height: 1px;
- background: var(--line-soft);
- }
- .method-step { position: relative; }
- .method-step .num {
- font-family: var(--serif);
- font-style: italic;
- font-weight: 500;
- font-size: 78px;
- color: var(--coral);
- line-height: 0.85;
- margin-bottom: 24px;
- letter-spacing: -0.02em;
- background: var(--paper);
- display: inline-block;
- padding-right: 12px;
- position: relative;
- z-index: 1;
- }
- .method-step h4 {
- font-family: var(--sans);
- font-size: 30px;
- font-weight: 800;
- letter-spacing: -0.022em;
- margin-bottom: 18px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding-right: 18px;
- }
- .method-step h4 .arrow-r {
- color: var(--ink-faint);
- font-size: 22px;
- line-height: 1;
- }
- .method-step:last-child h4 .arrow-r { display: none; }
- .method-step p {
- font-family: var(--body);
- font-size: 13.5px;
- color: var(--ink-mute);
- line-height: 1.55;
- margin-bottom: 24px;
- max-width: 24ch;
- }
- .method-step .img {
- aspect-ratio: 1 / 1;
- background: var(--bone);
- border-radius: 12px;
- overflow: hidden;
- box-shadow: var(--shadow);
- }
- .method-step .img img { width: 100%; height: 100%; object-fit: cover; }
- .method-foot {
- margin-top: 80px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-top: 1px dashed var(--line);
- padding-top: 24px;
- }
- .method-foot .left,
- .method-foot .right {
- font-family: var(--sans);
- font-size: 11px;
- color: var(--ink-faint);
- letter-spacing: 0.18em;
- text-transform: uppercase;
- }
- .method-foot .left {
- display: inline-flex;
- align-items: center;
- gap: 12px;
- }
- .method-foot .left .ring {
- width: 20px; height: 20px;
- border: 1px dashed var(--ink-faint);
- border-radius: 50%;
- }
- .method-foot .right b { color: var(--ink); }
- /* ---------- WORK ---------- */
- .work {
- background: #15140f;
- color: var(--paper);
- border-radius: 32px;
- margin: 0 64px;
- overflow: hidden;
- position: relative;
- padding: 110px 64px;
- }
- .work::before {
- content: '';
- position: absolute;
- inset: 0;
- pointer-events: none;
- background-image:
- url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n2'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n2)'/></svg>");
- background-size: 240px 240px;
- opacity: 0.6;
- mix-blend-mode: screen;
- }
- .work-rule {
- position: relative;
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-top: 1px solid rgba(247, 241, 222, 0.16);
- padding-top: 16px;
- margin-bottom: 60px;
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: rgba(247, 241, 222, 0.55);
- }
- .work-rule .roman { color: var(--coral); font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: 0.04em; text-transform: none; }
- .work-grid {
- display: grid;
- grid-template-columns: 1fr 1.05fr 0.85fr;
- gap: 48px;
- align-items: center;
- position: relative;
- }
- .work .label { color: var(--coral); }
- .work .label::before { background: var(--coral); }
- .work-copy h2 {
- font-family: var(--sans);
- font-weight: 800;
- font-size: clamp(40px, 5vw, 66px);
- line-height: 1.0;
- letter-spacing: -0.024em;
- margin: 28px 0 36px;
- color: var(--paper);
- }
- .work-copy h2 em {
- font-family: var(--serif);
- font-style: italic;
- font-weight: 500;
- }
- .work-copy h2 .dot { color: var(--coral); }
- .work-link {
- display: inline-flex;
- align-items: center;
- gap: 18px;
- color: var(--paper);
- font-family: var(--sans);
- font-size: 14px;
- text-decoration: none;
- border-bottom: 2px solid var(--coral);
- padding-bottom: 12px;
- width: fit-content;
- }
- .work-link::after { content: '↗'; color: var(--coral); }
- .work-card {
- background: var(--paper);
- color: var(--ink);
- border-radius: 18px;
- padding: 32px 30px;
- position: relative;
- transform: rotate(-1.2deg);
- text-decoration: none;
- display: block;
- transition: transform 280ms ease, box-shadow 280ms ease;
- }
- .work-card:hover {
- transform: rotate(-1.2deg) translateY(-4px);
- box-shadow: var(--shadow);
- }
- .work-card.alt {
- transform: rotate(2.4deg) translateY(20px);
- padding: 28px 26px;
- }
- .work-card.alt:hover {
- transform: rotate(2.4deg) translateY(16px);
- box-shadow: var(--shadow);
- }
- .work-card .label-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 22px;
- }
- .work-card .small-label {
- font-family: var(--sans);
- font-size: 10.5px;
- color: var(--coral);
- letter-spacing: 0.18em;
- text-transform: uppercase;
- font-weight: 600;
- }
- .work-card .index {
- font-family: var(--mono);
- font-size: 11px;
- color: var(--ink-faint);
- letter-spacing: 0.04em;
- }
- .work-card h3 {
- font-family: var(--sans);
- font-size: clamp(26px, 2.4vw, 38px);
- font-weight: 800;
- letter-spacing: -0.022em;
- line-height: 1.05;
- margin-bottom: 14px;
- }
- .work-card p {
- font-family: var(--body);
- font-size: 14px;
- color: var(--ink-mute);
- line-height: 1.55;
- margin-bottom: 22px;
- max-width: 28ch;
- }
- .work-card .img {
- aspect-ratio: 4 / 3;
- background: var(--bone);
- border-radius: 12px;
- overflow: hidden;
- margin-bottom: 22px;
- }
- .work-card .img img { width: 100%; height: 100%; object-fit: cover; }
- .work-card .meta-row {
- display: flex;
- justify-content: space-between;
- color: var(--ink-faint);
- font-family: var(--sans);
- font-size: 11px;
- letter-spacing: 0.16em;
- text-transform: uppercase;
- border-top: 1px solid var(--line);
- padding-top: 14px;
- }
- .work-card .year { color: var(--coral); font-weight: 600; }
- .work-arrows {
- position: absolute;
- right: 64px;
- bottom: 64px;
- display: inline-flex;
- align-items: center;
- gap: 10px;
- }
- .work-arrows .nav-btn {
- width: 46px; height: 46px;
- border-radius: 50%;
- border: 1px solid rgba(247, 241, 222, 0.2);
- background: transparent;
- color: var(--paper);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- }
- .work-arrows .nav-btn.active { background: var(--coral); border-color: var(--coral); }
- /* ---------- TESTIMONIAL / COLLABORATORS ---------- */
- .testimonial-grid {
- display: grid;
- grid-template-columns: 1.2fr 1fr;
- gap: 80px;
- align-items: center;
- }
- .testimonial-copy h2 {
- font-family: var(--sans);
- font-size: clamp(36px, 4vw, 54px);
- font-weight: 700;
- letter-spacing: -0.022em;
- line-height: 1.12;
- margin-bottom: 36px;
- }
- .testimonial-copy h2 em {
- font-family: var(--serif);
- font-style: italic;
- font-weight: 500;
- }
- .author {
- display: flex;
- align-items: center;
- gap: 18px;
- margin-top: 22px;
- }
- .author .avatar {
- width: 50px; height: 50px;
- border-radius: 50%;
- background: var(--ink);
- overflow: hidden;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- color: var(--paper);
- font-family: var(--serif);
- font-style: italic;
- font-size: 24px;
- }
- .author p {
- font-family: var(--sans);
- font-size: 14px;
- color: var(--ink);
- font-weight: 600;
- }
- .author p span {
- display: block;
- color: var(--ink-mute);
- font-weight: 400;
- }
- .divider {
- border-top: 1px solid var(--line);
- margin: 60px 0 32px;
- }
- .partners-text {
- font-family: var(--body);
- font-size: 14px;
- color: var(--ink-mute);
- margin-bottom: 26px;
- max-width: 38ch;
- }
- .partners {
- display: grid;
- grid-template-columns: repeat(6, 1fr);
- gap: 22px;
- align-items: end;
- }
- .partner {
- display: flex;
- flex-direction: column;
- gap: 10px;
- text-decoration: none;
- color: inherit;
- cursor: pointer;
- transition: transform 220ms ease;
- }
- .partner:hover { transform: translateY(-2px); }
- .partner:hover .glyph { color: var(--coral); }
- .partner:hover span { color: var(--coral); }
- .partner .glyph {
- height: 32px;
- display: flex;
- align-items: center;
- color: var(--ink);
- transition: color 220ms ease;
- }
- .partner .glyph svg { height: 100%; width: auto; max-width: 90px; }
- .partner span {
- font-family: var(--sans);
- font-size: 13px;
- color: var(--ink);
- letter-spacing: -0.005em;
- font-weight: 600;
- transition: color 220ms ease;
- }
- .partner small {
- font-family: var(--sans);
- font-size: 10px;
- color: var(--ink-faint);
- letter-spacing: 0.1em;
- text-transform: uppercase;
- }
- .read-more {
- margin-top: 56px;
- display: inline-flex;
- align-items: center;
- gap: 10px;
- font-family: var(--sans);
- font-size: 13px;
- color: var(--ink);
- text-decoration: none;
- letter-spacing: 0.04em;
- border-bottom: 1px solid var(--coral);
- padding-bottom: 6px;
- }
- .read-more::after { content: '→'; color: var(--coral); }
- .testimonial-art {
- position: relative;
- aspect-ratio: 1 / 1;
- max-width: 560px;
- }
- .testimonial-art img { width: 100%; height: 100%; object-fit: contain; }
- /* ---------- CTA ---------- */
- .cta-grid {
- display: grid;
- grid-template-columns: 1.05fr 1fr;
- gap: 50px;
- align-items: center;
- }
- .cta h2 {
- font-size: clamp(54px, 6.6vw, 100px);
- margin: 32px 0 32px;
- }
- .cta .lead { margin-bottom: 36px; max-width: 36ch; font-size: 16px; }
- .cta-actions {
- display: inline-flex;
- align-items: center;
- gap: 14px;
- margin-bottom: 32px;
- }
- .email-pill {
- display: inline-flex;
- align-items: center;
- gap: 12px;
- padding: 14px 18px 14px 22px;
- border-radius: 999px;
- border: 1px solid var(--line);
- font-family: var(--sans);
- font-size: 14px;
- color: var(--ink);
- text-decoration: none;
- }
- .email-pill .arrow-circle {
- width: 22px; height: 22px;
- border-radius: 50%;
- background: var(--ink);
- color: var(--paper);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- font-size: 12px;
- }
- .cta-foot {
- display: flex;
- gap: 28px;
- align-items: center;
- margin-top: 32px;
- padding-top: 22px;
- border-top: 1px solid var(--line);
- font-family: var(--sans);
- font-size: 11px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: var(--ink-faint);
- }
- .cta-foot .stamp { color: var(--coral); font-weight: 600; }
- .cta-art {
- position: relative;
- aspect-ratio: 1 / 1;
- max-width: 620px;
- margin-left: auto;
- }
- .cta-art img { width: 100%; height: 100%; object-fit: contain; }
- .cta-art .index {
- position: absolute;
- right: 8px;
- top: 24px;
- font-family: var(--serif);
- font-style: italic;
- font-size: 28px;
- color: var(--ink-faint);
- }
- .cta-art .ribbon {
- position: absolute;
- left: -32px;
- top: 50%;
- font-family: var(--sans);
- font-size: 10.5px;
- letter-spacing: 0.42em;
- text-transform: uppercase;
- color: var(--ink-faint);
- writing-mode: vertical-rl;
- transform: rotate(180deg);
- }
- /* ---------- FOOTER ---------- */
- footer {
- border-top: 1px solid var(--line);
- padding: 60px 0 30px;
- margin-top: 60px;
- }
- .foot-grid {
- display: grid;
- grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
- gap: 40px;
- margin-bottom: 60px;
- }
- .foot-brand .brand { margin-bottom: 18px; }
- .foot-brand p {
- font-family: var(--body);
- font-size: 13.5px;
- color: var(--ink-mute);
- line-height: 1.55;
- max-width: 38ch;
- }
- .foot-brand p .inline-link,
- .inline-link {
- color: var(--ink);
- text-decoration: none;
- border-bottom: 1px solid var(--line);
- transition: color 160ms ease, border-color 160ms ease;
- }
- .inline-link:hover {
- color: var(--coral);
- border-bottom-color: var(--coral);
- }
- .method-repo-link {
- color: inherit;
- text-decoration: none;
- border-bottom: 1px solid transparent;
- transition: color 160ms ease, border-color 160ms ease;
- }
- .method-repo-link:hover {
- color: var(--coral);
- border-bottom-color: var(--coral);
- }
- .library-link {
- text-decoration: none;
- border-bottom: 1px solid transparent;
- transition: border-color 160ms ease;
- }
- .library-link:hover { border-bottom-color: var(--coral); }
- .foot-col h5 {
- font-family: var(--sans);
- font-size: 11px;
- color: var(--ink);
- letter-spacing: 0.18em;
- text-transform: uppercase;
- margin-bottom: 18px;
- font-weight: 700;
- }
- .foot-col ul { list-style: none; }
- .foot-col li { margin-bottom: 10px; }
- .foot-col a {
- font-family: var(--body);
- font-size: 13.5px;
- color: var(--ink-soft);
- text-decoration: none;
- }
- .foot-col a:hover { color: var(--coral); }
- .foot-bottom {
- border-top: 1px solid var(--line);
- padding-top: 22px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-family: var(--sans);
- font-size: 11px;
- letter-spacing: 0.16em;
- text-transform: uppercase;
- color: var(--ink-faint);
- }
- .foot-bottom .right { display: inline-flex; gap: 24px; align-items: center; }
- .foot-bottom .pulse {
- width: 6px; height: 6px;
- border-radius: 50%;
- background: var(--coral);
- display: inline-block;
- margin-right: 6px;
- vertical-align: middle;
- }
- .foot-mega {
- margin-top: 60px;
- padding-top: 0;
- padding-bottom: 12px;
- border-top: 1px solid var(--line);
- overflow-x: hidden;
- overflow-y: visible;
- }
- .foot-mega .word {
- font-family: var(--sans);
- font-weight: 900;
- font-size: clamp(70px, 13vw, 200px);
- letter-spacing: -0.04em;
- line-height: 1.05;
- color: var(--ink);
- white-space: nowrap;
- margin-top: 30px;
- padding-bottom: 0.18em;
- }
- .foot-mega .word em {
- font-family: var(--serif);
- font-style: italic;
- font-weight: 500;
- color: var(--coral);
- }
- /* ---------- scroll-reveal motion ----------
- *
- * Driven by `app/_components/reveal-root.tsx`. Elements with
- * `data-reveal` start hidden + offset; the observer sets
- * `data-revealed='true'` once they enter the viewport, triggering
- * the transition.
- *
- * Uses `translate` / `scale` longhand properties (not `transform`) so
- * that elements like `.work-card` keep their static `transform: rotate()`
- * intact while still translating in.
- */
- [data-reveal] {
- opacity: 0;
- translate: 0 28px;
- transition:
- opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
- translate 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
- scale 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
- will-change: opacity, translate, scale;
- }
- [data-reveal='left'] { translate: -36px 0; }
- [data-reveal='right'] { translate: 36px 0; }
- [data-reveal='scale'] { translate: 0 0; scale: 0.96; }
- [data-reveal='rise-lg'] { translate: 0 64px; scale: 0.985; }
- [data-reveal][data-revealed='true'] {
- opacity: 1;
- translate: 0 0;
- scale: 1;
- }
- /* stagger primitives — set --reveal-delay on grid children so siblings
- * appear in sequence rather than all at once. */
- .cards > .card[data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
- .cards > .card[data-reveal]:nth-child(2) { --reveal-delay: 90ms; }
- .cards > .card[data-reveal]:nth-child(3) { --reveal-delay: 180ms; }
- .cards > .card[data-reveal]:nth-child(4) { --reveal-delay: 270ms; }
- .labs-grid > .lab[data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
- .labs-grid > .lab[data-reveal]:nth-child(2) { --reveal-delay: 90ms; }
- .labs-grid > .lab[data-reveal]:nth-child(3) { --reveal-delay: 180ms; }
- .labs-grid > .lab[data-reveal]:nth-child(4) { --reveal-delay: 270ms; }
- .labs-grid > .lab[data-reveal]:nth-child(5) { --reveal-delay: 360ms; }
- .method-grid > .method-step[data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
- .method-grid > .method-step[data-reveal]:nth-child(2) { --reveal-delay: 110ms; }
- .method-grid > .method-step[data-reveal]:nth-child(3) { --reveal-delay: 220ms; }
- .method-grid > .method-step[data-reveal]:nth-child(4) { --reveal-delay: 330ms; }
- .partners > .partner[data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
- .partners > .partner[data-reveal]:nth-child(2) { --reveal-delay: 70ms; }
- .partners > .partner[data-reveal]:nth-child(3) { --reveal-delay: 140ms; }
- .partners > .partner[data-reveal]:nth-child(4) { --reveal-delay: 210ms; }
- .partners > .partner[data-reveal]:nth-child(5) { --reveal-delay: 280ms; }
- .partners > .partner[data-reveal]:nth-child(6) { --reveal-delay: 350ms; }
- /* hero copy — let label, headline, lead, actions, stats arrive in sequence
- * so the headline isn't waiting on a single block-level reveal. */
- .hero-copy > [data-reveal]:nth-of-type(1) { --reveal-delay: 0ms; }
- .hero-copy > [data-reveal]:nth-of-type(2) { --reveal-delay: 80ms; }
- .hero-copy > [data-reveal]:nth-of-type(3) { --reveal-delay: 160ms; }
- .hero-copy > [data-reveal]:nth-of-type(4) { --reveal-delay: 240ms; }
- .hero-copy > [data-reveal]:nth-of-type(5) { --reveal-delay: 320ms; }
- .hero-copy > [data-reveal]:nth-of-type(6) { --reveal-delay: 400ms; }
- @media (prefers-reduced-motion: reduce) {
- [data-reveal] {
- opacity: 1 !important;
- translate: 0 0 !important;
- scale: 1 !important;
- transition: none !important;
- }
- /* Skip the slide-in on the sticky header for users who prefer no motion;
- * the show/hide still toggles, just instantly. */
- .nav { transition: none !important; }
- }
- /* responsive */
- @media (max-width: 1280px) {
- .container { padding: 0 44px; }
- .work { margin: 0 44px; padding: 90px 44px; }
- .side-rail { display: none; }
- }
- /* hide topbar mid text early — between 1200 and 1280 it crowds even with nowrap */
- @media (max-width: 1200px) {
- .topbar-inner .mid { display: none; }
- }
- /* nav: between 1080 and 1180 the brand tail + 5 nav links + 2 CTAs + dot
- * crowd the row. Drop the brand sub-meta first, then tighten link spacing,
- * so the Star CTA never has to compress. */
- @media (max-width: 1180px) {
- .nav-inner { gap: 18px; }
- .brand-meta { display: none; }
- .nav-links { gap: 28px; }
- }
- @media (max-width: 1080px) {
- .container { padding: 0 32px; }
- .hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
- .section-header h2 { font-size: clamp(32px, 4vw, 50px); }
- .labs-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
- .partners { grid-template-columns: repeat(3, 1fr); gap: 18px; row-gap: 28px; }
- .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
- .foot-grid .foot-col:nth-child(4),
- .foot-grid .foot-col:nth-child(5) { display: none; }
- }
- @media (max-width: 880px) {
- .container { padding: 0 24px; }
- .hero-grid, .about-grid, .capabilities-grid, .testimonial-grid, .cta-grid {
- grid-template-columns: 1fr;
- gap: 50px;
- }
- .labs-head, .method-head { grid-template-columns: 1fr; }
- .labs-grid { grid-template-columns: repeat(2, 1fr); }
- .method-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
- .method-grid::before { display: none; }
- .work { margin: 0 12px; padding: 60px 24px; }
- .work-grid { grid-template-columns: 1fr; }
- .partners { grid-template-columns: repeat(3, 1fr); gap: 18px; }
- .nav-links, .brand-meta, .nav-cta { display: none; }
- /* wire — stack the field label above the marquee rows */
- .wire-inner { grid-template-columns: 1fr; gap: 14px; }
- .wire-left {
- border-right: none;
- border-bottom: 1px solid var(--line);
- padding-right: 0;
- padding-bottom: 12px;
- min-height: 0;
- }
- }
- @media (max-width: 560px) {
- .container { padding: 0 16px; }
- .hero h1 { font-size: 38px; }
- .labs-grid { grid-template-columns: 1fr; }
- .cards { grid-template-columns: 1fr; }
- .pills { justify-content: flex-start; }
- section { padding: 80px 0; }
- .topbar-inner { font-size: 9px; }
- }
- /* ---------- base host ---------- */
- html, body { width: 100%; height: 100%; overflow: hidden; }
- body { background: var(--paper); color: var(--ink); }
- /* the base stylesheet's body::before paper texture sits at z-index:3
- * which is above our slide content. Re-pin it to behind the deck. */
- body::before { z-index: 0; }
- /* ---------- deck flex track (horizontal pagination) ---------- */
- #deck {
- position: fixed;
- inset: 0;
- height: 100vh;
- display: flex;
- flex-wrap: nowrap;
- transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
- z-index: 5;
- will-change: transform;
- }
- .slide {
- width: 100vw;
- height: 100vh;
- flex: 0 0 100vw;
- position: relative;
- padding: 64px 80px 80px;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .slide-inner {
- max-width: 1360px;
- margin: 0 auto;
- width: 100%;
- height: 100%;
- display: grid;
- align-content: center;
- gap: 28px;
- position: relative;
- min-height: 0;
- }
- /* keep art panels inside the slide footprint */
- .s-cover .art,
- .s-content .art,
- .s-quote .art {
- max-height: calc(100vh - 200px);
- min-height: 0;
- }
- /* ---------- magazine chrome (top + bottom strips on every slide) ---------- */
- .slide-chrome {
- position: absolute;
- top: 22px; left: 0; right: 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 80px;
- font-family: var(--sans);
- font-size: 10px;
- font-weight: 600;
- letter-spacing: 0.22em;
- text-transform: uppercase;
- color: var(--ink-faint);
- z-index: 4;
- pointer-events: none;
- }
- .slide-chrome .left,
- .slide-chrome .right {
- display: inline-flex;
- align-items: center;
- gap: 14px;
- }
- .slide-chrome .mark {
- width: 22px; height: 22px;
- border-radius: 50%;
- border: 1px solid var(--ink);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- font-family: var(--serif);
- font-style: italic;
- font-size: 12px;
- color: var(--ink);
- background: rgba(239, 231, 210, 0.85);
- }
- .slide-chrome .coral { color: var(--coral); }
- .slide-foot {
- position: absolute;
- bottom: 22px; left: 0; right: 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 80px;
- font-family: var(--mono);
- font-size: 10px;
- letter-spacing: 0.18em;
- text-transform: uppercase;
- color: var(--ink-faint);
- z-index: 4;
- pointer-events: none;
- }
- .slide-foot .counter {
- font-family: var(--mono);
- letter-spacing: 0.04em;
- color: var(--ink);
- background: rgba(239, 231, 210, 0.85);
- padding: 4px 8px;
- border: 1px solid var(--line);
- border-radius: 4px;
- }
- /* ---------- progress bar ---------- */
- .deck-progress {
- position: fixed;
- left: 0; right: 0; bottom: 0;
- height: 2px;
- background: var(--line-soft);
- z-index: 30;
- }
- .deck-progress .bar {
- height: 100%;
- background: var(--coral);
- width: 0%;
- transition: width 0.6s cubic-bezier(0.77, 0, 0.175, 1);
- }
- /* ---------- dot nav ---------- */
- #nav {
- position: fixed;
- left: 50%;
- bottom: 40px;
- transform: translateX(-50%);
- z-index: 30;
- display: flex;
- gap: 10px;
- padding: 8px 14px;
- border-radius: 999px;
- background: rgba(239, 231, 210, 0.78);
- border: 1px solid var(--line-soft);
- backdrop-filter: blur(8px);
- -webkit-backdrop-filter: blur(8px);
- }
- #nav .dot {
- width: 7px; height: 7px;
- border-radius: 50%;
- background: rgba(21, 20, 15, 0.22);
- cursor: pointer;
- transition: all 0.3s ease;
- border: 0;
- padding: 0;
- }
- #nav .dot:hover {
- background: rgba(21, 20, 15, 0.45);
- transform: scale(1.15);
- }
- #nav .dot.active {
- background: var(--coral);
- width: 22px;
- border-radius: 999px;
- }
- /* ---------- key hint ---------- */
- #hint {
- position: fixed;
- bottom: 36px; right: 28px;
- z-index: 30;
- font-family: var(--mono);
- font-size: 9.5px;
- letter-spacing: 0.22em;
- text-transform: uppercase;
- color: var(--ink-faint);
- opacity: 0.75;
- }
- /* ---------- COVER slide ---------- */
- .s-cover .slide-inner {
- grid-template-columns: 1.05fr 0.95fr;
- align-content: center;
- gap: 60px;
- }
- .s-cover .copy { display: flex; flex-direction: column; gap: 22px; }
- .s-cover .eyebrow {
- font-family: var(--sans); font-size: 11px; font-weight: 600;
- letter-spacing: 0.22em; text-transform: uppercase;
- color: var(--coral);
- display: inline-flex; align-items: center; gap: 12px;
- }
- .s-cover .eyebrow::before {
- content: ''; width: 18px; height: 1px;
- background: var(--coral); display: inline-block;
- }
- .s-cover h1 {
- font-family: var(--sans);
- font-weight: 800;
- font-size: clamp(40px, 5.6vw, 84px);
- line-height: 1.0;
- letter-spacing: -0.028em;
- color: var(--ink);
- margin: 0;
- }
- .s-cover h1 em {
- font-family: var(--serif);
- font-style: italic; font-weight: 500;
- letter-spacing: -0.018em;
- }
- .s-cover h1 .dot { color: var(--coral); }
- .s-cover .subtitle {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- font-size: 22px; color: var(--ink-soft); margin-top: -6px;
- }
- .s-cover .lead {
- font-family: var(--body); font-size: 17px;
- color: var(--ink-soft); max-width: 42ch; line-height: 1.6;
- }
- .s-cover .meta {
- margin-top: 28px;
- font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
- color: var(--ink-faint);
- }
- .s-cover .art {
- position: relative; aspect-ratio: 1 / 1; max-width: 600px;
- margin-left: auto; margin-right: 0;
- border: 1px solid var(--line-soft); border-radius: 14px;
- overflow: hidden; background: var(--bone);
- }
- .s-cover .art img { width: 100%; height: 100%; object-fit: contain; }
- .s-cover .art .corner {
- position: absolute;
- width: 22px; height: 22px;
- border-color: var(--ink-faint);
- border-style: solid;
- border-width: 0;
- }
- .s-cover .art .corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
- .s-cover .art .corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
- .s-cover .art .corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
- .s-cover .art .corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
- /* ---------- SECTION divider slide ---------- */
- .s-section .slide-inner {
- grid-template-columns: 1fr;
- align-content: center;
- text-align: center;
- gap: 28px;
- }
- .s-section .roman {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- font-size: clamp(80px, 10vw, 160px);
- color: var(--coral); line-height: 1; letter-spacing: -0.02em;
- }
- .s-section h2 {
- font-family: var(--sans); font-weight: 800;
- font-size: clamp(54px, 7vw, 110px);
- letter-spacing: -0.028em; line-height: 1.0; color: var(--ink);
- max-width: 18ch; margin: 0 auto;
- }
- .s-section h2 em {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- }
- .s-section h2 .dot { color: var(--coral); }
- .s-section .lead {
- font-family: var(--body); font-size: 17px;
- color: var(--ink-soft); max-width: 50ch; margin: 0 auto;
- line-height: 1.6;
- }
- /* ---------- CONTENT slide ---------- */
- .s-content .slide-inner { gap: 48px; }
- .s-content.layout-left .slide-inner { grid-template-columns: 1fr 0.9fr; }
- .s-content.layout-right .slide-inner { grid-template-columns: 0.9fr 1fr; }
- .s-content.layout-right .copy { order: 2; }
- .s-content.layout-right .art { order: 1; }
- .s-content.layout-full .slide-inner { grid-template-columns: 1fr; max-width: 980px; }
- .s-content .copy { display: flex; flex-direction: column; gap: 22px; }
- .s-content .eyebrow {
- font-family: var(--sans); font-size: 11px; font-weight: 600;
- letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral);
- display: inline-flex; align-items: center; gap: 12px;
- }
- .s-content .eyebrow::before {
- content: ''; width: 18px; height: 1px;
- background: var(--coral); display: inline-block;
- }
- .s-content h2 {
- font-family: var(--sans); font-weight: 800;
- font-size: clamp(40px, 4.8vw, 64px);
- letter-spacing: -0.024em; line-height: 1.05;
- color: var(--ink); margin: 0;
- }
- .s-content h2 em {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- }
- .s-content h2 .dot { color: var(--coral); }
- .s-content .body {
- font-family: var(--body); font-size: 16px;
- color: var(--ink-soft); max-width: 56ch; line-height: 1.6;
- }
- .s-content .body code {
- font-family: var(--mono); font-size: 14px;
- background: var(--bone); padding: 1px 6px; border-radius: 4px;
- }
- .s-content ul {
- list-style: none; padding: 0; margin: 0;
- display: flex; flex-direction: column; gap: 12px;
- }
- .s-content li {
- font-family: var(--sans); font-size: 15px;
- color: var(--ink-soft); display: flex; gap: 14px; align-items: flex-start;
- line-height: 1.5;
- }
- .s-content li::before {
- content: ''; width: 12px; height: 1px;
- background: var(--coral); margin-top: 11px; flex-shrink: 0;
- }
- .s-content .art {
- position: relative; aspect-ratio: 1 / 1;
- border: 1px solid var(--line-soft); border-radius: 14px;
- overflow: hidden; background: var(--bone);
- }
- .s-content .art img { width: 100%; height: 100%; object-fit: contain; }
- /* ---------- STATS slide ---------- */
- .s-stats .slide-inner { grid-template-columns: 1fr; gap: 56px; }
- .s-stats .head { display: flex; flex-direction: column; gap: 22px; }
- .s-stats .eyebrow {
- font-family: var(--sans); font-size: 11px; font-weight: 600;
- letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral);
- display: inline-flex; align-items: center; gap: 12px;
- }
- .s-stats .eyebrow::before {
- content: ''; width: 18px; height: 1px; background: var(--coral); display: inline-block;
- }
- .s-stats h2 {
- font-family: var(--sans); font-weight: 800;
- font-size: clamp(44px, 5vw, 72px);
- letter-spacing: -0.026em; line-height: 1.05; max-width: 18ch; margin: 0;
- }
- .s-stats h2 em {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- }
- .s-stats h2 .dot { color: var(--coral); }
- .s-stats .grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
- gap: 36px;
- border-top: 1px solid var(--line);
- padding-top: 36px;
- }
- .s-stats .stat { display: flex; flex-direction: column; gap: 10px; }
- .s-stats .stat .num {
- font-family: var(--sans); font-weight: 800;
- font-size: clamp(72px, 8vw, 128px); line-height: 1;
- letter-spacing: -0.04em; color: var(--ink);
- font-feature-settings: 'tnum';
- }
- .s-stats .stat .num em {
- color: var(--coral); font-family: var(--serif); font-style: italic; font-weight: 500;
- }
- .s-stats .stat .label {
- font-family: var(--sans); font-size: 11.5px;
- letter-spacing: 0.22em; text-transform: uppercase;
- color: var(--ink); font-weight: 700;
- }
- .s-stats .stat .sub {
- font-family: var(--body); font-size: 13px;
- color: var(--ink-mute); max-width: 26ch; line-height: 1.5;
- }
- .s-stats .caption {
- font-family: var(--mono); font-size: 11px;
- color: var(--ink-faint); letter-spacing: 0.04em;
- }
- /* ---------- QUOTE slide ---------- */
- .s-quote .slide-inner {
- grid-template-columns: 1.4fr 0.8fr;
- gap: 60px; align-items: center;
- }
- .s-quote.no-art .slide-inner { grid-template-columns: 1fr; max-width: 980px; }
- .s-quote blockquote {
- font-family: var(--sans); font-weight: 700;
- font-size: clamp(34px, 4vw, 56px);
- letter-spacing: -0.022em; line-height: 1.18;
- color: var(--ink); margin: 0;
- position: relative;
- }
- .s-quote blockquote em {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- }
- .s-quote .author {
- margin-top: 38px; display: flex; align-items: center; gap: 16px;
- }
- .s-quote .author .avatar {
- width: 48px; height: 48px; border-radius: 50%;
- background: var(--ink); color: var(--paper);
- font-family: var(--serif); font-style: italic; font-size: 22px;
- display: inline-flex; align-items: center; justify-content: center;
- }
- .s-quote .author p {
- font-family: var(--sans); font-size: 14px; font-weight: 600;
- color: var(--ink);
- }
- .s-quote .author p span {
- display: block; color: var(--ink-mute); font-weight: 400;
- margin-top: 2px;
- }
- .s-quote .art {
- position: relative; aspect-ratio: 1 / 1;
- border: 1px solid var(--line-soft); border-radius: 14px;
- overflow: hidden; background: var(--bone);
- }
- .s-quote .art img { width: 100%; height: 100%; object-fit: contain; }
- /* ---------- CTA slide ---------- */
- .s-cta .slide-inner {
- grid-template-columns: 1fr; max-width: 980px;
- gap: 32px; text-align: left;
- }
- .s-cta .eyebrow {
- font-family: var(--sans); font-size: 11px; font-weight: 600;
- letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral);
- display: inline-flex; align-items: center; gap: 12px;
- }
- .s-cta .eyebrow::before {
- content: ''; width: 18px; height: 1px;
- background: var(--coral); display: inline-block;
- }
- .s-cta h2 {
- font-family: var(--sans); font-weight: 800;
- font-size: clamp(54px, 6.4vw, 96px);
- letter-spacing: -0.028em; line-height: 1.0;
- color: var(--ink); margin: 0;
- }
- .s-cta h2 em {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- }
- .s-cta h2 .dot { color: var(--coral); }
- .s-cta .body {
- font-family: var(--body); font-size: 17px;
- color: var(--ink-soft); max-width: 50ch; line-height: 1.6;
- }
- .s-cta .actions {
- display: inline-flex; gap: 14px; margin-top: 12px;
- align-items: center; flex-wrap: wrap;
- }
- /* ---------- END slide ---------- */
- .s-end .slide-inner {
- grid-template-columns: 1fr;
- align-content: end;
- padding-bottom: 32px;
- text-align: left;
- gap: 16px;
- max-width: none;
- }
- .s-end .word {
- font-family: var(--sans); font-weight: 900;
- font-size: clamp(96px, 16vw, 240px);
- letter-spacing: -0.04em; line-height: 1.0;
- color: var(--ink); white-space: nowrap;
- overflow-x: hidden;
- padding-bottom: 0.18em;
- }
- .s-end .word em {
- font-family: var(--serif); font-style: italic; font-weight: 500;
- color: var(--coral);
- }
- .s-end .footer {
- border-top: 1px solid var(--line);
- padding-top: 22px;
- font-family: var(--sans); font-size: 11px;
- letter-spacing: 0.22em; text-transform: uppercase;
- color: var(--ink-faint);
- }
- /* ---------- ESC overview grid ---------- */
- #overview {
- position: fixed; inset: 0;
- z-index: 100;
- background: rgba(239, 231, 210, 0.96);
- backdrop-filter: blur(12px);
- display: none;
- overflow-y: auto;
- padding: 60px 56px;
- }
- #overview .ov-head {
- display: flex; justify-content: space-between; align-items: baseline;
- margin-bottom: 32px;
- font-family: var(--sans); font-size: 11px;
- letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint);
- }
- #overview .ov-head b { color: var(--ink); font-weight: 700; }
- #overview .ov-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
- gap: 22px;
- max-width: 1280px;
- margin: 0 auto;
- }
- #overview .ov-card {
- cursor: pointer;
- border-radius: 8px;
- overflow: hidden;
- border: 1px solid var(--line);
- transition: border-color 0.2s, transform 0.2s;
- background: var(--bone);
- }
- #overview .ov-card:hover {
- border-color: var(--coral);
- transform: translateY(-2px);
- }
- #overview .ov-card.active { border-color: var(--coral); border-width: 2px; }
- #overview .ov-thumb {
- width: 100%;
- aspect-ratio: 16 / 10;
- overflow: hidden;
- position: relative;
- pointer-events: none;
- background: var(--paper);
- }
- #overview .ov-thumb .clone {
- width: 100vw; height: 100vh;
- transform: scale(0.18);
- transform-origin: top left;
- position: absolute;
- top: 0; left: 0;
- pointer-events: none;
- }
- #overview .ov-label {
- padding: 8px 12px;
- font-family: var(--mono); font-size: 10px;
- letter-spacing: 0.18em; text-transform: uppercase;
- color: var(--ink-mute);
- display: flex; justify-content: space-between; align-items: center;
- }
- #overview .ov-label b { color: var(--ink); font-weight: 600; }
- /* ---------- responsive ---------- */
- @media (max-width: 1080px) {
- .slide { padding: 56px 48px 64px; }
- .slide-chrome, .slide-foot { padding: 0 48px; }
- .s-cover .slide-inner,
- .s-content.layout-left .slide-inner,
- .s-content.layout-right .slide-inner,
- .s-quote .slide-inner {
- grid-template-columns: 1fr; gap: 36px;
- }
- .s-content.layout-right .copy { order: 1; }
- .s-content.layout-right .art { order: 2; }
- }
- @media (max-width: 640px) {
- .slide { padding: 36px 24px 56px; }
- .slide-chrome, .slide-foot { padding: 0 24px; font-size: 9px; letter-spacing: 0.18em; }
- #hint { display: none; }
- }
- </style>
- </head>
- <body>
- <div id='deck'>
- <section class='slide s-cover' data-slide-kind='cover'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='copy'>
- <span class='eyebrow'>Open-source design studio · Nº 01</span>
- <h1>Designing <em>intelligence</em> with skills, <em>taste,</em> and <em>code</em><span class='dot'>.</span></h1>
- <div class='subtitle'>The open-source alternative to Anthropic's Claude Design.</div>
- <p class='lead'>12 coding agents drive 31 composable skills and 72 brand-grade design systems. Local-first, web-deployable, BYOK at every layer.</p>
- <div class='meta'>Berlin · MMXXVI · 52.5200° N · 13.4050° E</div>
- </div>
- <div class='art'>
- <span class='corner tl'></span>
- <span class='corner tr'></span>
- <span class='corner bl'></span>
- <span class='corner br'></span>
- <img src='../open-design-landing/assets/hero.png' alt='' />
- </div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>01 / 11</span>
- </div>
- </section>
- <section class='slide s-section' data-slide-kind='section'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='roman'>I.</div>
- <h2>Why <em>another</em> design tool<span class='dot'>?</span></h2>
- <p class='lead'>Because the strongest agents already live on your laptop — and they deserve a real workflow.</p>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>02 / 11</span>
- </div>
- </section>
- <section class='slide s-content layout-right' data-slide-kind='content'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='copy'>
- <span class='eyebrow'>About the studio · Nº 02</span>
- <h2>We treat <em>your agent</em> as a creative <em>collaborator</em><span class='dot'>.</span></h2>
- <p class='body'>We don't ship one — we wire whichever you trust into a skill-driven design workflow that runs locally with <code>pnpm tools-dev</code>, deploys to Vercel, and stays BYOK at every layer.</p>
- <ul><li>Files, not opaque prompts — every skill is a folder of Markdown.</li><li>Deterministic visual directions, not random generation.</li><li>Sandboxed iframe preview, real cwd, exportable artifacts.</li></ul>
- </div>
- <div class='art'><img src='../open-design-landing/assets/about.png' alt='' /></div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>03 / 11</span>
- </div>
- </section>
- <section class='slide s-content layout-left' data-slide-kind='content'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='copy'>
- <span class='eyebrow'>Capabilities · Nº 03</span>
- <h2>Skills, systems, surfaces — <em>for creative</em> intelligence<span class='dot'>.</span></h2>
- <p class='body'>Four composable surfaces, one feedback loop. Skills supply behavior. Systems supply taste. Adapters bridge agents. BYOK respects your wallet.</p>
- <ul><li>31 file-based SKILL.md bundles — drop in, restart, appears.</li><li>72 portable DESIGN.md systems — Linear, Vercel, Stripe, Apple…</li><li>12 agent adapters — Claude · Codex · Gemini · Cursor · …</li><li>OpenAI-compatible proxy — paste a baseUrl + key, ship.</li></ul>
- </div>
- <div class='art'><img src='../open-design-landing/assets/capabilities.png' alt='' /></div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>04 / 11</span>
- </div>
- </section>
- <section class='slide s-stats' data-slide-kind='stats'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='head'>
- <span class='eyebrow'>By the numbers · Nº 04</span>
- <h2>Composable, <em>shippable,</em> portable<span class='dot'>.</span></h2>
- </div>
- <div class='grid'>
- <div class='stat'>
- <div class='num'>31</div>
- <div class='label'>Skills</div>
- <div class='sub'>file-based, shippable today</div>
- </div>
- <div class='stat'>
- <div class='num'>72</div>
- <div class='label'>Systems</div>
- <div class='sub'>design tokens you already trust</div>
- </div>
- <div class='stat'>
- <div class='num'>12</div>
- <div class='label'>Agents</div>
- <div class='sub'>auto-detected on your $PATH</div>
- </div>
- <div class='stat'>
- <div class='num'>3</div>
- <div class='label'>Commands</div>
- <div class='sub'>from clone to first artifact</div>
- </div>
- </div>
- <div class='caption'>Open Design v0.3.0 · Apache-2.0 · MMXXVI</div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>05 / 11</span>
- </div>
- </section>
- <section class='slide s-section' data-slide-kind='section'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='roman'>II.</div>
- <h2>How it <em>feels</em> to use it<span class='dot'>.</span></h2>
-
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>06 / 11</span>
- </div>
- </section>
- <section class='slide s-content layout-right' data-slide-kind='content'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='copy'>
- <span class='eyebrow'>Method · Nº 05</span>
- <h2>From <em>signals</em> to systems<span class='dot'>.</span></h2>
- <p class='body'>Every project moves through four iterative stages. The agent picks each stage's tools deterministically; you stay in control.</p>
- <ul><li>01 · Detect — daemon scans $PATH, auto-loads skills + systems.</li><li>02 · Discover — 30s question form locks brand · audience · scale.</li><li>03 · Direct — pick one of 5 visual directions in OKLch + type stack.</li><li>04 · Deliver — write to disk, preview in sandbox, export anywhere.</li></ul>
- </div>
- <div class='art'><img src='../open-design-landing/assets/method-1.png' alt='' /></div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>07 / 11</span>
- </div>
- </section>
- <section class='slide s-content layout-left' data-slide-kind='content'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='copy'>
- <span class='eyebrow'>Selected work · Nº 06</span>
- <h2>Skills that turn briefs into <em>memorable</em> artifacts<span class='dot'>.</span></h2>
- <p class='body'>From editorial decks to consumer dashboards — the same loop, different surface. Every output is a real file you can hand to a client tomorrow.</p>
-
- </div>
- <div class='art'><img src='../open-design-landing/assets/work-1.png' alt='' /></div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>08 / 11</span>
- </div>
- </section>
- <section class='slide s-quote' data-slide-kind='quote'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div>
- <blockquote>“Open Design helped us turn vague <em>AI ideas</em> into a visual system that felt <em>sharp, believable,</em> and genuinely new.”</blockquote>
- <div class='author'>
- <span class='avatar'>m</span>
- <p>Mina Kovac<span>Creative Director · North Form</span></p>
- </div>
- </div>
- <div class='art'><img src='../open-design-landing/assets/testimonial.png' alt='' /></div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>09 / 11</span>
- </div>
- </section>
- <section class='slide s-cta' data-slide-kind='cta'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <span class='eyebrow'>Start a conversation · Nº 07</span>
- <h2>Let's build something <em>open</em> and <em>visually</em> unforgettable<span class='dot'>.</span></h2>
- <p class='body'>Star us on GitHub, drop into the issues, or run pnpm tools-dev tonight. Three commands and the loop is yours.</p>
- <div class='actions'>
- <a class='btn btn-primary' href='https://github.com/nexu-io/open-design' target='_blank' rel='noreferrer noopener'>
- Star on GitHub
- <span class='arrow'><svg viewBox='0 0 24 24'><path d='M5 19L19 5M19 5H8M19 5v11'/></svg></span>
- </a>
- <a class='btn btn-ghost' href='https://github.com/nexu-io/open-design/issues' target='_blank' rel='noreferrer noopener'>
- Open an issue
- <span class='arrow'><svg viewBox='0 0 24 24'><path d='M5 19L19 5M19 5H8M19 5v11'/></svg></span>
- </a>
- </div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>10 / 11</span>
- </div>
- </section>
- <section class='slide s-end' data-slide-kind='end'>
- <div class='slide-chrome'>
- <div class='left'>
- <span class='mark'>Ø</span>
- <span><b>Open Design</b> · Vol. 01 / Issue Nº 26</span>
- </div>
- <div class='right'>
- <span class='coral'>•</span>
- <span>Open Design · Vol. 01 / Issue Nº 26</span>
- </div>
- </div>
- <div class='slide-inner'>
- <div class='word'>Open <em>Design</em>.</div>
- <div class='footer'>Apache-2.0 · MMXXVI · Berlin · 52.5200° N · 13.4050° E</div>
- </div>
- <div class='slide-foot'>
- <span>MMXXVI · Berlin / Open / Earth</span>
- <span class='counter'>11 / 11</span>
- </div>
- </section>
- </div>
- <div id='nav'></div>
- <div id='hint'>← / → · esc · swipe</div>
- <div class='deck-progress'><div class='bar'></div></div>
- <script>
- (function () {
- var deck = document.getElementById('deck');
- if (!deck) return;
- var slides = Array.prototype.slice.call(deck.querySelectorAll('.slide'));
- var nav = document.getElementById('nav');
- var bar = document.querySelector('.deck-progress .bar');
- var total = slides.length;
- var idx = 0, lock = false;
- /* match deck width to slide count so transform translateX works */
- deck.style.width = (total * 100) + 'vw';
- /* build dot nav */
- slides.forEach(function (s, i) {
- var b = document.createElement('button');
- b.className = 'dot';
- b.dataset.i = i;
- b.setAttribute('aria-label', 'Slide ' + (i + 1));
- b.onclick = function () { go(i); };
- nav.appendChild(b);
- });
- /* Unthrottled state update. The interaction throttle (`lock`) only
- guards wheel/key/touch so a fast input burst doesn't overshoot the
- transition; host- and observer-driven sync must bypass it, otherwise
- a host message or restoreInitialSlide that lands inside the 700ms
- window after go(0) silently no-ops and the deck stays on slide 1
- while the host counter advances. */
- function applySlide(n) {
- idx = Math.max(0, Math.min(total - 1, n));
- deck.style.transform = 'translateX(' + (-idx * 100) + 'vw)';
- /* load-bearing: .slide.active is read by Open Design's host bridge
- (src/runtime/srcdoc.ts findActiveByClass) to drive the slide
- counter. No CSS targets it — do not remove. */
- slides.forEach(function (s, i) { s.classList.toggle('active', i === idx); });
- nav.querySelectorAll('.dot').forEach(function (d, i) {
- d.classList.toggle('active', i === idx);
- });
- if (bar) bar.style.width = (((idx + 1) / total) * 100) + '%';
- }
- function go(n) {
- if (lock) return;
- applySlide(n);
- lock = true;
- setTimeout(function () { lock = false; }, 700);
- }
- /* ESC overview */
- var overviewOn = false;
- var ov = document.createElement('div');
- ov.id = 'overview';
- document.body.appendChild(ov);
- function buildOverview() {
- ov.innerHTML = '';
- var head = document.createElement('div');
- head.className = 'ov-head';
- head.innerHTML = '<span><b>Slide overview</b> · esc to close</span><span>' +
- String(idx + 1).padStart(2, '0') + ' / ' + String(total).padStart(2, '0') + '</span>';
- ov.appendChild(head);
- var grid = document.createElement('div');
- grid.className = 'ov-grid';
- slides.forEach(function (s, i) {
- var card = document.createElement('div');
- card.className = 'ov-card' + (i === idx ? ' active' : '');
- var thumb = document.createElement('div');
- thumb.className = 'ov-thumb';
- var clone = s.cloneNode(true);
- clone.className = clone.className + ' clone';
- clone.style.transform = 'scale(0.18)';
- thumb.appendChild(clone);
- var label = document.createElement('div');
- label.className = 'ov-label';
- label.innerHTML = '<b>' + String(i + 1).padStart(2, '0') + '</b><span>' +
- (s.dataset.slideKind || '') + '</span>';
- card.appendChild(thumb);
- card.appendChild(label);
- card.onclick = function () { toggleOverview(); go(i); };
- grid.appendChild(card);
- });
- ov.appendChild(grid);
- }
- function toggleOverview() {
- overviewOn = !overviewOn;
- if (overviewOn) { buildOverview(); ov.style.display = 'block'; }
- else { ov.style.display = 'none'; }
- }
- /* keyboard nav */
- addEventListener('keydown', function (e) {
- if (e.key === 'Escape') { e.preventDefault(); toggleOverview(); return; }
- if (overviewOn) return;
- if (e.key === 'ArrowRight' || e.key === 'PageDown' || e.key === ' ' || e.key === 'ArrowDown') {
- e.preventDefault(); go(idx + 1);
- } else if (e.key === 'ArrowLeft' || e.key === 'PageUp' || e.key === 'ArrowUp') {
- e.preventDefault(); go(idx - 1);
- } else if (e.key === 'Home') {
- e.preventDefault(); go(0);
- } else if (e.key === 'End') {
- e.preventDefault(); go(total - 1);
- }
- });
- /* wheel nav (horizontal + vertical accumulation) */
- var wheelTO = null, wheelAcc = 0;
- addEventListener('wheel', function (e) {
- if (overviewOn) return;
- wheelAcc += e.deltaY + e.deltaX;
- if (Math.abs(wheelAcc) > 60) {
- go(idx + (wheelAcc > 0 ? 1 : -1));
- wheelAcc = 0;
- }
- clearTimeout(wheelTO);
- wheelTO = setTimeout(function () { wheelAcc = 0; }, 150);
- }, { passive: true });
- /* touch nav */
- var tx = 0, ty = 0;
- addEventListener('touchstart', function (e) {
- tx = e.touches[0].clientX; ty = e.touches[0].clientY;
- }, { passive: true });
- addEventListener('touchend', function (e) {
- if (overviewOn) return;
- var dx = e.changedTouches[0].clientX - tx;
- var dy = e.changedTouches[0].clientY - ty;
- if (Math.abs(dx) > 50 && Math.abs(dx) > Math.abs(dy)) {
- go(idx + (dx < 0 ? 1 : -1));
- }
- }, { passive: true });
- /* Host-driven navigation: Open Design's host bridge classifies this deck
- as class-driven (because go() toggles .slide.active) but the visible
- slide is moved by deck.style.transform, which the bridge can't drive.
- Two cooperating handlers keep the deck in sync with the host:
- 1. An od:slide message listener routes host nav through go() and
- calls stopImmediatePropagation() so the bridge's own listener
- (registered after this one) doesn't run a second time and
- overshoot by re-reading the freshly-toggled .active class.
- 2. A MutationObserver on each slide watches .active and pulls the
- deck transform onto the active index for class changes that
- don't come through a message — chiefly the bridge's
- restoreInitialSlide path, which calls setActive() directly. */
- addEventListener('message', function (e) {
- var data = e && e.data;
- if (!data || data.type !== 'od:slide') return;
- if (typeof e.stopImmediatePropagation === 'function') e.stopImmediatePropagation();
- if (data.action === 'go' && typeof data.index === 'number') applySlide(data.index);
- else if (data.action === 'next') applySlide(idx + 1);
- else if (data.action === 'prev') applySlide(idx - 1);
- else if (data.action === 'first') applySlide(0);
- else if (data.action === 'last') applySlide(total - 1);
- });
- if (typeof MutationObserver !== 'undefined') {
- var syncFromActiveClass = function () {
- for (var i = 0; i < slides.length; i++) {
- if (slides[i].classList && slides[i].classList.contains('active') && i !== idx) {
- applySlide(i);
- return;
- }
- }
- };
- var mo = new MutationObserver(syncFromActiveClass);
- slides.forEach(function (s) { mo.observe(s, { attributes: true, attributeFilter: ['class'] }); });
- }
- applySlide(0);
- })();
- </script>
- </body>
- </html>
|