From df8d12814346a24a56d5f38f70d3a54d97963988 Mon Sep 17 00:00:00 2001 From: Olen Latham Date: Fri, 2 Oct 2026 14:33:48 -0500 Subject: [PATCH] Extend cinematic design through projects, usage, portrait, and contact --- cinematic/gallery.js | 162 ++++ cinematic/scene.js | 1 + src/lib/components/PortfolioSpace.svelte | 31 + src/lib/styles/orbit.css | 1 + src/lib/styles/portfolio-home.css | 900 ++++++++++++++++++----- src/routes/+page.svelte | 177 +++-- 6 files changed, 1020 insertions(+), 252 deletions(-) create mode 100644 cinematic/gallery.js create mode 100644 src/lib/components/PortfolioSpace.svelte diff --git a/cinematic/gallery.js b/cinematic/gallery.js new file mode 100644 index 0000000..cb998c8 --- /dev/null +++ b/cinematic/gallery.js @@ -0,0 +1,162 @@ +import * as THREE from 'three'; + +export function mountPortfolioSpace(canvas) { + const root = canvas.closest('.portfolio-content'); + const reduced = matchMedia('(prefers-reduced-motion: reduce)'); + let renderer; + try { + renderer = new THREE.WebGLRenderer({ + canvas, + alpha: true, + antialias: true, + powerPreference: 'low-power' + }); + } catch { + return () => {}; + } + renderer.setPixelRatio(Math.min(devicePixelRatio, 1.25)); + const scene = new THREE.Scene(); + const camera = new THREE.PerspectiveCamera(50, 1, 0.1, 70); + camera.position.z = 12; + const geometry = new THREE.BufferGeometry(); + const positions = new Float32Array(900 * 3); + let seed = 74; + const random = () => { + seed = (seed * 16807) % 2147483647; + return seed / 2147483647; + }; + for (let i = 0; i < positions.length; i += 3) { + positions[i] = (random() - 0.5) * 42; + positions[i + 1] = (random() - 0.5) * 28; + positions[i + 2] = -random() * 25; + } + geometry.setAttribute('position', new THREE.BufferAttribute(positions, 3)); + const material = new THREE.PointsMaterial({ + color: '#cfdae4', + size: 0.032, + transparent: true, + opacity: 0.5, + depthWrite: false + }); + const stars = new THREE.Points(geometry, material); + scene.add(stars); + const orbitGeometry = new THREE.RingGeometry(4.2, 4.217, 180); + const orbitMaterial = new THREE.MeshBasicMaterial({ + color: '#dfa57a', + side: THREE.DoubleSide, + transparent: true, + opacity: 0.075, + depthWrite: false + }); + const orbits = new THREE.Group(); + for (let i = 0; i < 3; i++) { + const ring = new THREE.Mesh(orbitGeometry, orbitMaterial); + ring.scale.setScalar(1 + i * 0.19); + ring.rotation.set(0.7 + i * 0.16, 0.25, -0.4); + orbits.add(ring); + } + orbits.position.set(4, 0, -1); + scene.add(orbits); + let frame = 0, + last = 0, + visible = false, + progress = 0, + lost = false, + disposed = false; + let renderWidth = 0, + renderHeight = 0; + let enabled = document.body.dataset.motion !== 'off' && !reduced.matches; + const warm = new THREE.Color('#dfa57a'), + cool = new THREE.Color('#85c4e4'); + function draw(now = 0) { + frame = 0; + if (disposed || lost || document.hidden || !visible) return; + if (now - last >= 32 || !enabled) { + const delta = Math.min((now - last) / 1000, 0.05); + last = now; + if (enabled) stars.rotation.y += delta * 0.008; + stars.position.y = enabled ? progress * 2 : 0; + orbits.rotation.z = enabled ? -progress * 0.7 : -0.2; + orbits.position.x = enabled ? 4 - Math.sin(progress * Math.PI) * 7 : 2; + orbitMaterial.color.copy(warm).lerp(cool, Math.sin(progress * Math.PI)); + renderer.render(scene, camera); + } + if (enabled) frame = requestAnimationFrame(draw); + } + function schedule() { + if (!frame && visible && !document.hidden && !disposed && !lost) + frame = requestAnimationFrame(draw); + } + function scroll() { + const rect = root.getBoundingClientRect(); + progress = THREE.MathUtils.clamp(-rect.top / Math.max(1, rect.height - innerHeight), 0, 1); + schedule(); + } + function resize() { + const width = canvas.clientWidth, + height = innerHeight; + if (!width || (renderWidth === width && renderHeight === height)) return; + renderWidth = width; + renderHeight = height; + renderer.setSize(width, height, false); + camera.aspect = width / height; + camera.updateProjectionMatrix(); + scroll(); + } + function motion() { + enabled = document.body.dataset.motion !== 'off' && !reduced.matches; + cancelAnimationFrame(frame); + frame = 0; + last = 0; + schedule(); + } + function visibility() { + cancelAnimationFrame(frame); + frame = 0; + last = 0; + schedule(); + } + function contextLost(event) { + event.preventDefault(); + lost = true; + canvas.style.opacity = '0'; + visible = false; + cancelAnimationFrame(frame); + frame = 0; + } + const observer = new IntersectionObserver(([entry]) => { + visible = entry.isIntersecting; + if (visible) schedule(); + else { + cancelAnimationFrame(frame); + frame = 0; + } + }); + observer.observe(root); + const sizing = new ResizeObserver(resize); + sizing.observe(canvas); + window.addEventListener('scroll', scroll, { passive: true }); + window.addEventListener('resize', resize); + document.addEventListener('orbit-motion', motion); + document.addEventListener('visibilitychange', visibility); + reduced.addEventListener('change', motion); + canvas.addEventListener('webglcontextlost', contextLost); + resize(); + return () => { + disposed = true; + cancelAnimationFrame(frame); + observer.disconnect(); + sizing.disconnect(); + window.removeEventListener('scroll', scroll); + window.removeEventListener('resize', resize); + document.removeEventListener('orbit-motion', motion); + document.removeEventListener('visibilitychange', visibility); + reduced.removeEventListener('change', motion); + canvas.removeEventListener('webglcontextlost', contextLost); + geometry.dispose(); + material.dispose(); + orbitGeometry.dispose(); + orbitMaterial.dispose(); + renderer.dispose(); + }; +} diff --git a/cinematic/scene.js b/cinematic/scene.js index 60186c5..cf9896f 100644 --- a/cinematic/scene.js +++ b/cinematic/scene.js @@ -6,6 +6,7 @@ import { UnrealBloomPass } from 'three/addons/postprocessing/UnrealBloomPass.js' import { OutputPass } from 'three/addons/postprocessing/OutputPass.js'; import { ShaderPass } from 'three/addons/postprocessing/ShaderPass.js'; import { createVoyage } from './voyage.js'; +export { mountPortfolioSpace } from './gallery.js'; export function mountOrbit(hero) { const body = document.body; diff --git a/src/lib/components/PortfolioSpace.svelte b/src/lib/components/PortfolioSpace.svelte new file mode 100644 index 0000000..f029e2b --- /dev/null +++ b/src/lib/components/PortfolioSpace.svelte @@ -0,0 +1,31 @@ + + + diff --git a/src/lib/styles/orbit.css b/src/lib/styles/orbit.css index b771e8d..f8697e9 100644 --- a/src/lib/styles/orbit.css +++ b/src/lib/styles/orbit.css @@ -289,6 +289,7 @@ body[data-film='off'][data-motion='on'] .hero-content { .orbit-stage { position: relative; + z-index: 1; min-height: 870px; isolation: isolate; overflow: clip; diff --git a/src/lib/styles/portfolio-home.css b/src/lib/styles/portfolio-home.css index 3e9f84e..be1cc64 100644 --- a/src/lib/styles/portfolio-home.css +++ b/src/lib/styles/portfolio-home.css @@ -1,61 +1,202 @@ .portfolio-content { - width: min(100% - 10%, 1200px); - margin: auto; + position: relative; + isolation: isolate; + background: #030509; + --copper: #efb58b; + --ice: #a6def5; +} +.portfolio-space { + position: absolute; + inset: 0; + z-index: -1; + pointer-events: none; + overflow: clip; + clip-path: inset(0); +} +.portfolio-space canvas { + display: block; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100svh; + opacity: 0.8; } .selected-work { - padding: 110px 0 80px; + padding-top: 130px; +} +.selected-work > header, +.usage-section, +.human-section { + width: min(90%, 1200px); + margin: auto; +} +.selected-work > header { + position: relative; + padding-bottom: 80px; + display: grid; + grid-template-columns: 1.2fr 0.8fr; + column-gap: 100px; + align-items: end; } .section-label, .project-kind { - font-size: 11px; - letter-spacing: 0.06em; - color: var(--accent); - margin: 0 0 20px; + font-size: 12px; + color: var(--faint); + margin: 0 0 22px; } -.selected-work > header { - max-width: 750px; +.selected-work > header .section-label { + grid-column: 1/-1; } .selected-work h2, -.capabilities h2, +.human-section h2, .closing h2 { - font: 400 clamp(46px, 5vw, 76px)/1.05 var(--display); - letter-spacing: -0.025em; + font: 400 clamp(50px, 6.5vw, 92px)/1.02 var(--display); + letter-spacing: -0.035em; margin: 0; - text-wrap: balance; } .selected-work > header > p:not(.section-label) { - max-width: 580px; + max-width: 39ch; color: var(--muted); line-height: 1.8; font-size: 15px; - margin: 24px 0 0; + margin: 0 0 8px; +} +.project-index { + grid-column: 1/-1; + display: flex; + gap: 55px; + margin-top: 55px; + padding-top: 24px; + border-top: 1px solid var(--line); +} +.project-index a { + color: var(--ink); + font: 400 21px var(--display); + text-decoration: none; + padding: 8px 0; +} +.project-index span { + display: block; + font: + 11px/1.5 'Geist Variable', + sans-serif; + margin-top: 8px; + color: var(--faint); } .project { + position: relative; + isolation: isolate; display: grid; - grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); - gap: 70px; + grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); align-items: center; - padding: 80px 0; - border-bottom: 1px solid var(--line); -} -.project-deploylint .project-image { + gap: 70px; + min-height: 740px; + padding: 100px max(5%, calc((100vw - 1280px) / 2)); + overflow: clip; + scroll-margin-top: 0; +} +.project::before { + content: ''; + position: absolute; + inset: 0; + z-index: -2; + pointer-events: none; +} +.project-omg { + --project-accent: var(--copper); +} +.project-omg::before { + background: + radial-gradient(ellipse at 21% 57%, #9c54262e, transparent 55%), + linear-gradient(180deg, transparent, #1b0d062b 50%, transparent); +} +.project-deploylint { + --project-accent: var(--ice); + grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr); +} +.project-deploylint::before { + background: radial-gradient(ellipse at 76% 54%, #15598735, transparent 58%); +} +.project-visual { + min-width: 0; + position: relative; + padding: 80px 0 60px; +} +.project-deploylint .project-visual { order: 2; } +.project-world { + position: absolute; + inset: -80px -100px; + pointer-events: none; + z-index: -1; +} +.world-core { + position: absolute; + width: 78%; + aspect-ratio: 1; + top: 6%; + left: 5%; + border-radius: 50%; + background: radial-gradient(circle at 33% 22%, #dba27914, #47261122 39%, #030509 69%); + border-top: 1px solid #db9a6355; + box-shadow: 0 -12px 80px #b45d2522; + transform: rotate(-24deg); +} +.world-orbit { + position: absolute; + inset: 20% -5%; + border: 1px solid #d9a57f38; + border-radius: 50%; + transform: rotate(-27deg); +} +.project-deploylint .world-core { + background: radial-gradient(circle at 60% 22%, #7dbdec17, #152d4122 40%, #030509 72%); + border-color: #85d1ff55; + box-shadow: 0 -12px 70px #397cb422; +} +.project-deploylint .world-orbit { + border-color: #81c9e644; + transform: rotate(28deg); +} +.project-watermark { + position: absolute; + font: 700 clamp(170px, 22vw, 330px)/1 var(--display); + letter-spacing: -0.06em; + color: #eaaa6518; + left: -4%; + top: -80px; + pointer-events: none; +} .project-image { display: block; - border: 1px solid #abcfff2a; - border-radius: 8px; + position: relative; overflow: hidden; - background: #0c1224; - box-shadow: 0 20px 100px #0005; - transform: perspective(1500px) rotateY(5deg); - transition: transform 0.4s; + border: 1px solid #f9c89c35; + border-radius: 9px; + background: #07090d; + box-shadow: + 0 40px 70px #0009, + 0 0 80px #e1843110; + transform: perspective(1500px) rotateY(11deg) rotateX(4deg) rotateZ(-3deg); + transition: + transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), + box-shadow 0.6s; } .project-deploylint .project-image { - transform: perspective(1500px) rotateY(-5deg); -} -.project-image:hover { - transform: perspective(1500px) rotateY(0); + transform: perspective(1500px) rotateY(-11deg) rotateX(4deg) rotateZ(3deg); + border-color: #a6def548; + box-shadow: + 0 40px 70px #0009, + 0 0 80px #78ccff14; +} +.project-image:hover, +.project-image:focus-visible { + transform: perspective(1500px) rotateY(0) rotateX(0); + box-shadow: + 0 45px 90px #000b, + 0 0 90px #a6def518; } .project-image img { display: block; @@ -65,106 +206,350 @@ object-fit: cover; object-position: top; } +.command-strip, +.pipeline-strip { + position: relative; + display: flex; + align-items: center; + gap: 14px; + width: 88%; + margin: -10px auto 0; + padding: 21px 24px; + border: 1px solid #f0bd8340; + background: #120e0bf5; + box-shadow: 0 20px 45px #0009; + transform: rotate(-3deg); + color: #e5cbb2; + font-size: 12px; +} +.command-strip > span:first-child { + color: #cb8e61; +} +.command-strip code { + font-size: 17px; +} +.command-strip > span:last-child { + margin-left: auto; + color: #b3a79b; + font-size: 10px; +} +.pipeline-strip { + border-color: #95ddff40; + background: #080f18f5; + color: #c2d9e8; + font-size: 10px; + transform: rotate(3deg); +} +.pipeline-strip i { + height: 1px; + flex: 1; + background: #7cbbd966; + position: relative; +} +.pipeline-strip i::after { + content: ''; + width: 5px; + height: 5px; + border-top: 1px solid #a6def5; + border-right: 1px solid #a6def5; + position: absolute; + right: 0; + top: -2px; + transform: rotate(45deg); +} +.project-copy { + position: relative; +} +.project-kind { + color: var(--project-accent); + display: flex; + align-items: center; + gap: 9px; +} +.project-kind > span { + width: 5px; + height: 5px; + border-radius: 50%; + background: currentColor; + box-shadow: 0 0 14px currentColor; +} .project-copy h3 { - font: 400 clamp(48px, 5vw, 70px)/1 var(--display); - letter-spacing: -0.025em; - margin: 0 0 20px; + font: 400 clamp(57px, 6vw, 88px)/1 var(--display); + letter-spacing: -0.03em; + margin: 0 0 26px; } .project-copy h4 { - font: 400 21px/1.3 var(--display); + font: 400 clamp(25px, 2.6vw, 35px)/1.15 var(--display); margin: 0 0 22px; - color: #d2e7f5; + color: #e4e8ec; } .project-copy > p:not(.project-kind) { font-size: 14px; color: var(--muted); - line-height: 1.8; - max-width: 52ch; + line-height: 1.85; + max-width: 45ch; +} +.project-tech { + display: flex; + flex-wrap: wrap; + list-style: none; + padding: 0; + margin: 25px 0; + gap: 20px; + color: #8998aa; + font-size: 11px; } .project-links { display: flex; flex-wrap: wrap; - gap: 18px; - margin-top: 27px; + column-gap: 23px; + row-gap: 10px; + margin-top: 30px; } .project-links a, .side-project a, -.capabilities a, +.human-section a, .closing a { color: var(--accent); display: inline-flex; align-items: center; - gap: 6px; + gap: 8px; font-size: 12px; line-height: 1.5; text-decoration: none; - padding: 8px 0; + padding: 12px 0; +} +.project-links a { + color: var(--project-accent); } .project-links a:first-child { - border-bottom: 1px solid #9ae7ff66; + flex-basis: 100%; + color: var(--ink); + font-size: 14px; +} +.project-links a:hover, +.side-project a:hover, +.human-section a:hover { + text-decoration: underline; + text-underline-offset: 5px; } .side-project { - display: flex; + display: grid; + grid-template-columns: 1fr 1fr; align-items: center; - justify-content: space-between; - gap: 45px; - padding: 35px 0; - border-bottom: 1px solid var(--line); + gap: 90px; + width: min(90%, 1080px); + margin: 80px auto 30px; + padding: 30px 0; } .side-project h3 { - font: 400 30px/1.2 var(--display); - margin: 0 0 15px; + font: 400 clamp(44px, 5vw, 70px)/1 var(--display); + letter-spacing: -0.025em; + margin: 0 0 24px; } .side-project p:not(.section-label) { - max-width: 680px; color: var(--muted); - font-size: 13px; - line-height: 1.8; + font-size: 14px; + line-height: 1.85; + max-width: 46ch; } -.side-project > a { - flex-shrink: 0; +.token-instrument { + position: relative; + width: 100%; + aspect-ratio: 1; + max-width: 460px; + border-radius: 50%; + background: radial-gradient(circle, #287e8920 0, #13322b10 35%, transparent 67%); } -.side-project .section-label { - margin-bottom: 15px; +.instrument-ring { + position: absolute; + border: 1px solid #97ddcb39; + border-radius: 50%; } -.capabilities { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 100px; - padding: 90px 0 110px; - border-top: 1px solid var(--line); +.instrument-ring.outer { + inset: 6%; + border-left-color: #b7e8d2; + transform: rotate(-40deg); +} +.instrument-ring.inner { + inset: 16%; + border-style: dashed; + opacity: 0.6; +} +.instrument-ring.outer::before, +.instrument-ring.outer::after { + content: ''; + position: absolute; + inset: -10%; + border-radius: 50%; + border: 1px solid #97ddcb10; } -.capabilities > header { - align-self: center; +.instrument-ring.outer::after { + inset: 4%; + border-color: #97ddcb21; } -.capabilities h2 { - max-width: 12ch; +.instrument-core { + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + gap: 14px; } -.capabilities > header > p:not(.section-label) { - font-size: 15px; +.instrument-core > span, +.instrument-core small { + font-size: 11px; + color: #a7c5bc; +} +.instrument-core strong { + font: 400 clamp(70px, 8vw, 108px)/1 var(--display); + letter-spacing: -0.05em; + color: #e5fff7; +} +.instrument-core strong span { + font-size: 0.55em; + color: #99d2ba; + margin-left: 6px; +} +.instrument-core small { + color: #78978e; + font-size: 10px; +} +.instrument-satellite { + position: absolute; + inset: 6%; + border-radius: 50%; + animation: telemetry-orbit 70s linear infinite; +} +.usage-section { + padding: 25px 0 120px; + display: grid; + grid-template-columns: 0.9fr 1.1fr; + column-gap: 65px; + border-bottom: 1px solid var(--line); +} +.usage-section h2 { + font: 400 29px/1.2 var(--display); + margin: 0 0 16px; +} +.usage-section > div > p { + font-size: 12px; line-height: 1.8; color: var(--muted); - max-width: 48ch; - margin: 25px 0; + max-width: 49ch; +} +.usage-section dl { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 25px; + margin: 0; +} +.usage-section dl > div { + display: flex; + flex-direction: column-reverse; + justify-content: end; + gap: 14px; +} +.usage-section dt { + font-size: 10px; + line-height: 1.7; + color: var(--faint); +} +.usage-section dd { + margin: 0; + font: 400 clamp(30px, 3.2vw, 45px)/1 var(--display); +} +.usage-section dd span { + font-size: 0.65em; + color: #a0d6c2; +} +.usage-note { + grid-column: 1/-1; + font-size: 10px; + line-height: 1.8; + color: var(--faint); + margin-top: 28px; + max-width: 100ch; +} +.usage-note a { + color: var(--accent); +} +.human-section { + display: grid; + grid-template-columns: 0.85fr 1.15fr; + align-items: center; + gap: 80px; + padding: 155px 0 110px; +} +.human-portrait { + position: relative; + margin: 0 25px; } .builder-portrait { display: block; - width: 180px; - height: 180px; + width: 100%; + height: auto; + aspect-ratio: 4/5; object-fit: cover; + border-radius: 48% 48% 2px 2px; + filter: saturate(0.55); + position: relative; + border: 1px solid #e8bf8a22; +} +.portrait-orbit { + position: absolute; + inset: -9% -14% 0; + border: 1px solid #d6ae7738; + border-radius: 50%; + transform: rotate(-22deg); +} +.portrait-orbit::after { + content: ''; + position: absolute; + width: 7px; + height: 7px; + background: #e7ba80; + box-shadow: 0 0 22px #ddbb77; + left: 7%; + top: 21%; border-radius: 50%; - margin: 0 0 38px; - border: 1px solid #9ae7ff44; - padding: 6px; - filter: saturate(0.7); +} +.human-portrait figcaption { + font-size: 10px; + color: #b3a999; + line-height: 1.8; + margin: 20px 0 0 12px; +} +.human-portrait figcaption span { + display: block; + color: #87909d; +} +.human-section h2 { + font-size: clamp(43px, 4.5vw, 64px); + max-width: 18ch; +} +.human-section header > p:not(.section-label) { + font-size: 14px; + line-height: 1.85; + color: var(--muted); + max-width: 48ch; + margin: 28px 0 20px; +} +.capability-list { + grid-column: 1/-1; + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 60px; + margin-top: 15px; } .capability-list article { - padding: 23px 0; - border-top: 1px solid var(--line); + border-top: 1px solid #c6a37240; + padding-top: 25px; } .capability-list h3 { - font: 400 25px/1.3 var(--display); - margin: 0 0 10px; + font: 400 28px/1.2 var(--display); + margin: 0 0 16px; } .capability-list p { font-size: 13px; @@ -173,159 +558,292 @@ margin: 0; } .closing { - display: grid; - grid-template-columns: 1.2fr 1fr; - align-items: center; - gap: 80px; - padding: 70px 0 100px; - border-top: 1px solid var(--line); + position: relative; + isolation: isolate; + overflow: clip; + text-align: center; + min-height: 780px; + padding: 120px 24px 160px; +} +.closing-horizon { + position: absolute; + z-index: -1; + inset: 0; + overflow: clip; + pointer-events: none; + background: radial-gradient(ellipse at 50% 100%, #a0834538, transparent 60%); +} +.closing-horizon::before { + content: ''; + position: absolute; + width: 150%; + height: 550px; + bottom: -400px; + left: -25%; + border-radius: 50%; + background: #030509; + border-top: 2px solid #d8b98c; + box-shadow: + 0 -3px 20px #eec48c80, + 0 -28px 100px #dfa35835, + 0 -80px 170px #7f807824; +} +.closing-horizon span { + position: absolute; + width: 180px; + height: 180px; + left: calc(50% - 90px); + bottom: 55px; + border-radius: 50%; + background: radial-gradient(circle, #e8d1a81f, transparent 68%); } .closing h2 { - max-width: 13ch; + font-size: clamp(70px, 9vw, 132px); } -.closing > div:first-child p { +.closing > div:not(.closing-horizon) { + position: relative; +} +.closing > div > p:not(.section-label) { max-width: 52ch; color: var(--muted); font-size: 14px; line-height: 1.8; - margin-top: 25px; + margin: 30px auto; } .closing-actions { display: flex; + justify-content: center; flex-wrap: wrap; - gap: 15px 28px; + gap: 20px 30px; + margin: 30px auto 0; + max-width: 500px; +} +.closing-actions .primary-action { + background: #e8d1aa; + color: #100c08; + padding: 14px 25px; + border-radius: 4px; + min-height: 48px; +} +.closing-actions > a:not(.primary-action) { + color: #e5d5ba; } .closing-actions p { width: 100%; - font-size: 13px; - color: var(--muted); + font-size: 12px; + color: var(--faint); line-height: 2; } -.closing-actions .primary-action { - color: var(--bg); - background: var(--accent); - padding: 12px 23px; - border-radius: 4px; - min-height: 48px; +.closing-actions p a { + color: #b9bec6; } -@media (max-width: 800px) { - .portfolio-content { - width: calc(100% - 40px); +body:has(.portfolio-content) .public-footer { + background: #030509; +} +body:has(.portfolio-content) .public-universe { + background: #030509; +} +@media (max-width: 1000px) { + .selected-work > header { + column-gap: 50px; + } + .project { + gap: 35px; + min-height: 640px; + padding-top: 65px; + padding-bottom: 65px; + } + .project-copy h3 { + font-size: 60px; + } + .project-tech { + gap: 13px; + } + .side-project { + gap: 45px; + } + .human-section { + gap: 45px; } + .usage-section { + column-gap: 35px; + } +} +@media (max-width: 700px) { .selected-work { - padding: 70px 0 50px; + padding-top: 80px; } - .project { + .selected-work > header, + .usage-section, + .human-section { + width: calc(100% - 40px); + } + .selected-work > header { + display: block; + padding-bottom: 30px; + } + .selected-work h2 { + font-size: 61px; + } + .selected-work > header > p:not(.section-label) { + margin-top: 25px; + font-size: 14px; + } + .project-index { + gap: 0; + justify-content: space-between; + margin-top: 34px; + } + .project-index a { + font-size: 18px; + } + .project-index span { + font-size: 9px; + } + .project, + .project-deploylint { grid-template-columns: 1fr; - gap: 32px; - padding: 50px 0; + gap: 20px; + min-height: auto; + padding: 70px 20px 85px; } - .project-deploylint .project-image { + .project-visual, + .project-deploylint .project-visual { order: 0; + padding: 30px 9px 20px; + } + .project-world { + inset: -40px -20px; + } + .project-watermark { + top: -30px; + font-size: 150px; + } + .project-copy { + padding-top: 18px; + } + .project-copy h3 { + font-size: 64px; + margin-bottom: 22px; + } + .project-copy h4 { + font-size: 31px; } .project-image, .project-deploylint .project-image { - transform: none; + transform: perspective(1000px) rotateY(0) rotateZ(-2deg); } - .project-copy h3 { - font-size: 50px; + .project-deploylint .project-image { + transform: perspective(1000px) rotateY(0) rotateZ(2deg); + } + .command-strip, + .pipeline-strip { + padding: 16px; + } + .command-strip > span:last-child { + font-size: 9px; + } + .project-links { + margin-top: 23px; } .side-project { - align-items: start; - flex-direction: column; - gap: 12px; + grid-template-columns: 1fr; + width: calc(100% - 40px); + gap: 25px; + margin: 0 auto; } - .capabilities, - .closing { + .token-instrument { + max-width: 340px; + justify-self: center; + } + .instrument-core strong { + font-size: 84px; + } + .side-project h3 { + font-size: 52px; + } + .usage-section { + display: block; + padding: 35px 0 70px; + } + .usage-section dl { + margin-top: 28px; + gap: 16px; + } + .usage-section dd { + font-size: 35px; + } + .usage-section dt { + font-size: 9px; + } + .usage-note { + margin-top: 25px; + } + .human-section { grid-template-columns: 1fr; - gap: 45px; - padding: 60px 0; + gap: 50px; + padding-top: 95px; + padding-bottom: 60px; } - .capabilities h2, - .closing h2 { - max-width: 20ch; + .human-portrait { + max-width: 310px; + margin: 0 auto; + } + .human-section h2 { + font-size: 48px; + } + .capability-list { + grid-template-columns: 1fr; + gap: 30px; + margin-top: 0; + } + .capability-list h3 { + font-size: 27px; } - .builder-portrait { - width: 140px; - height: 140px; + .closing { + min-height: 740px; + padding-top: 80px; } - .selected-work h2, - .capabilities h2, .closing h2 { - font-size: 47px; + font-size: 77px; + } + .closing-horizon::before { + width: 210%; + left: -55%; } } @media (prefers-reduced-motion: reduce) { - .project-image { + .project-image, + .project-deploylint .project-image { transition: none; transform: none; } } -.usage-section { - padding: 40px 0 80px; - border-top: 1px solid var(--line); -} -.usage-section h2 { - font: 400 42px/1.1 var(--display); - margin: 0 0 22px; -} -.usage-section > div > p:not(.section-label) { - max-width: 680px; - font-size: 13px; - line-height: 1.8; - color: var(--muted); -} -.usage-section dl { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 30px; - margin: 40px 0 30px; -} -.usage-section dl > div { - display: flex; - flex-direction: column-reverse; - gap: 15px; -} -.usage-section dt { - font-size: 11px; - color: var(--faint); -} -.usage-section dd { - margin: 0; - font: 400 clamp(36px, 5vw, 64px)/1 var(--display); -} -.usage-section dd span { - font-size: 0.65em; - color: var(--accent); -} -.usage-note { - font-size: 11px; - line-height: 1.8; - max-width: 85ch; - color: var(--faint); -} -.usage-note a { - color: var(--accent); +.instrument-satellite::after { + content: ''; + position: absolute; + left: -4px; + top: 50%; + width: 8px; + height: 8px; + background: #dafff1; + border-radius: 50%; + box-shadow: 0 0 20px #98e9c8; } -@media (max-width: 600px) { - .usage-section dl { - grid-template-columns: 1fr; - gap: 25px; +@keyframes telemetry-orbit { + from { + transform: rotate(35deg); } - .usage-section dl > div { - flex-direction: row-reverse; - justify-content: space-between; - align-items: center; - border-bottom: 1px solid var(--line); - padding-bottom: 18px; - } - .usage-section dt { - max-width: 140px; - } - .usage-section dd { - font-size: 44px; + to { + transform: rotate(395deg); } - .usage-section h2 { - font-size: 36px; +} +body[data-motion='off'] .instrument-satellite { + animation-play-state: paused; +} +@media (prefers-reduced-motion: reduce) { + .instrument-satellite { + animation: none; + transform: rotate(35deg); } } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 52b6191..6c3ba89 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,7 @@