﻿/* ============================================================
   Chethiya Rathnasekara — portfolio 2026
   Original editorial system inspired by kinetic, thread-led
   portfolio interactions. No loading screen.
   ============================================================ */

@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-100-900-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-100-900-latin-ext.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-400-latin.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-400-latin-ext.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-500-latin.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }

@font-face { font-family: "Archivo Variable"; src: url("../fonts/archivo-latin-var.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo Variable"; src: url("../fonts/archivo-latin-ext-var.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F; }

:root {
  --black: #050505;
  --ink: #050505;
  --ink-soft: #11100f;
  --paper: #f1eee6;
  --paper-deep: #e7e2d6;
  --signal: #ff3b12;
  --signal-soft: #ff5a35;
  --muted: #aaa79f;
  --night-muted: #aaa79f;
  --hairline-dark: rgba(241, 238, 230, 0.24);
  --hairline-light: rgba(11, 11, 10, 0.18);
  --font-sans: "Archivo Variable", "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --gutter: clamp(1.1rem, 2.65vw, 3rem);
  --max-width: 1600px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-physical: cubic-bezier(0.16, 1, 0.3, 1);
  --header-fg: #ffffff;
  --header-fg-soft: #aaa79f;
  --wordmark-size: clamp(1.35rem, 2vw, 1.8rem);
  --header-label-size: clamp(.64rem, .8vw, .78rem);
  --header-pad-y: 1.7rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--ink); color: var(--paper); font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open, body.modal-open { overflow: hidden; }
::selection { background: var(--signal); color: var(--ink); }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, h5, h6, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { display: block; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 10px 16px; background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; transform: translateY(-180%); transition: transform 0.25s var(--ease-out); }
.skip-link:focus { transform: translateY(0); }
.noise { position: fixed; inset: 0; z-index: 8000; pointer-events: none; opacity: 0.045; background-image: url("/github-portfolio/img/noise-texture.png"); background-size: 260px 260px; mix-blend-mode: soft-light; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.mono { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; line-height: 1.45; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; flex: 0 0 auto; background: currentColor; }
.display { font-family: var(--font-sans); font-size: clamp(4.2rem, 12.2vw, 13.2rem); font-weight: 760; font-variation-settings: "wght" 760; letter-spacing: -0.075em; line-height: 0.82; text-transform: uppercase; }
.display--medium { font-size: clamp(3rem, 8.2vw, 8.8rem); line-height: 0.86; letter-spacing: -0.065em; }
.display--small { font-size: clamp(2.4rem, 5.5vw, 5.6rem); line-height: 0.92; letter-spacing: -0.05em; }
.signal { color: var(--signal); }
.outline-text { color: transparent; -webkit-text-stroke: 1px currentColor; }
.muted { color: var(--muted); }
.night-muted { color: var(--night-muted); }

.section { position: relative; isolation: isolate; padding: clamp(96px, 13vh, 180px) var(--gutter); overflow: clip; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--light { background: var(--paper); color: var(--ink); }
.section--flush { padding-inline: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 6rem); }
.section-head__meta { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.section-head__meta p { font-size: clamp(0.98rem, 1.25vw, 1.2rem); line-height: 1.55; }
.page-shell { width: 100%; max-width: var(--max-width); margin: 0 auto; }
.hairline { width: 100%; height: 1px; background: currentColor; opacity: 0.2; }

.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 0.9s var(--ease-out) var(--reveal-delay, 0s), transform 0.9s var(--ease-out) var(--reveal-delay, 0s); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translate3d(-34px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(34px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .reveal-line > span { display: block; filter: blur(9px); transform: translate3d(0, 112%, 0); transition: transform 1.1s var(--ease-out) var(--reveal-delay, 0s), filter 0.9s ease var(--reveal-delay, 0s); will-change: transform, filter; }
.js .is-visible .reveal-line > span, .js .reveal-line.is-visible > span { filter: blur(0); transform: translate3d(0, 0, 0); }
.js [data-clip-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-out) var(--reveal-delay, 0s); }
.js [data-clip-reveal].is-visible { clip-path: inset(0); }

.cursor-dot, .cursor-ring, .cursor-label { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; opacity: 0; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin: -2.5px 0 0 -2.5px; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(241, 238, 230, 0.55); border-radius: 50%; transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), margin 0.25s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease; }
body.is-light .cursor-ring { border-color: rgba(11, 11, 10, 0.55); }
body.cursor-ready .cursor-dot, body.cursor-ready .cursor-ring, body.cursor-ready .cursor-label { opacity: 1; }
body.cursor-hover .cursor-ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(255, 59, 18, 0.12); border-color: var(--signal); }
.cursor-label { z-index: 9501; color: var(--paper); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; opacity: 0; }
body.cursor-hover .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring, .cursor-label { display: none !important; } }

.site-header { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: var(--header-pad-y) var(--gutter); color: var(--header-fg); transition: color 0.35s ease, background-color 0.35s ease, padding 0.35s var(--ease-out); }
.site-header.is-scrolled { padding-top: 0.95rem; padding-bottom: 0.85rem; background: color-mix(in srgb, var(--ink) 98%, transparent); backdrop-filter: none; border-bottom: 1px solid var(--hairline-dark); }
body.is-light .site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom-color: var(--hairline-light); }
body.menu-open .site-header { color: var(--paper); background: transparent; }
.site-header__left, .site-header__right { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.brand { display: inline-flex; align-items: flex-start; gap: 2px; font-family: var(--font-sans); font-size: var(--wordmark-size); font-weight: 800; font-variation-settings: "wght" 800; letter-spacing: -0.08em; line-height: 1.5; text-transform: uppercase; }
.brand__dot { color: var(--signal); transform: translateY(-0.02em); }
.header-meta { display: flex; align-items: center; gap: 14px; color: var(--header-fg-soft); }
.header-meta::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.45; }
.header-meta span { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.site-nav a { position: relative; display: inline-flex; align-items: center; padding: 5px 0; font-family: var(--font-mono); font-size: var(--header-label-size); font-weight: 400; letter-spacing: 0.12em; line-height: 1.2; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 2px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-family: var(--font-mono); font-size: var(--header-label-size); letter-spacing: 0.12em; line-height: 1.2; text-transform: uppercase; }
.menu-toggle__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 59, 18, 0.5); animation: signalPulse 2.4s ease-out infinite; }
@media (max-width: 980px) { .header-meta, .site-nav { display: none; } .site-header { --header-pad-y: .95rem; } }
@media (max-width: 420px) { .site-header { gap: 10px; } }

.menu-overlay { position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column; justify-content: space-between; padding: 104px var(--gutter) 28px; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(circle at 78% 18%, rgba(255, 59, 18, 0.12), transparent 34%), var(--ink); color: var(--paper); clip-path: inset(0 0 100% 0); pointer-events: none; transition: clip-path 0.8s var(--ease-in-out); }
body.menu-open .menu-overlay { clip-path: inset(0); pointer-events: auto; }
.menu-overlay::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06; background-image: url("/github-portfolio/img/noise-texture.png"); background-size: 240px 240px; }
.menu-overlay__top, .menu-overlay__bottom { position: relative; z-index: 1; }
.menu-overlay__top { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.menu-overlay__eyebrow { color: var(--night-muted); }
.menu-overlay__note { justify-self: end; max-width: 300px; color: var(--night-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; line-height: 1.8; text-transform: uppercase; }
.menu-list { position: relative; z-index: 1; display: flex; flex-direction: column; margin: clamp(1.5rem, 4vh, 4rem) 0; }
.menu-list__item { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--hairline-dark); overflow: hidden; }
.menu-list__link { display: flex; align-items: baseline; gap: clamp(12px, 2vw, 32px); width: 100%; padding: clamp(8px, 1.5vh, 16px) 0; font-size: clamp(2.8rem, 8.8vw, 9.5rem); font-weight: 740; font-variation-settings: "wght" 740; letter-spacing: -0.07em; line-height: 0.84; text-transform: uppercase; transform: translateY(115%); transition: transform 0.9s var(--ease-out) calc(var(--i, 0) * 0.055s + 0.15s); }
body.menu-open .menu-list__link { transform: translateY(0); }
.menu-list__num { flex: 0 0 auto; color: var(--signal); font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.06em; transform: translateY(-0.75em); }
.menu-list__arrow { flex: 0 0 auto; color: var(--signal); font-size: 0.45em; transform: translateX(-8px); transition: transform 0.4s var(--ease-out); }
.menu-list__link:hover .menu-list__arrow { transform: translateX(8px); }
.menu-overlay__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; border-top: 1px solid var(--hairline-dark); padding-top: 18px; }
.menu-overlay__email { font-size: clamp(1rem, 1.8vw, 1.4rem); letter-spacing: -0.02em; border-bottom: 1px solid var(--hairline-dark); padding-bottom: 4px; }
.menu-overlay__socials { display: flex; gap: 22px; }
.menu-overlay__socials a { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-muted); transition: color 0.25s ease; }
.menu-overlay__socials a:hover { color: var(--paper); }
@media (max-width: 700px) { .menu-overlay { padding-top: 86px; } .menu-overlay__top { grid-template-columns: 1fr; gap: 1rem; } .menu-overlay__note { justify-self: start; display: none; } .menu-overlay__bottom { align-items: flex-start; flex-direction: column; } }

.route-transition { position: fixed; inset: 0; z-index: 7000; display: flex; align-items: center; justify-content: center; pointer-events: none; visibility: hidden; }
.route-transition__panel { position: absolute; inset: 0; background: var(--signal); transform: translateY(101%); transition: transform 0.7s var(--ease-in-out); }
.route-transition__label { position: relative; color: var(--ink); font-family: var(--font-mono); font-size: clamp(11px, 1.2vw, 14px); letter-spacing: 0.13em; line-height: 1; text-transform: uppercase; opacity: 0; transform: translateY(14px); transition: opacity 0.3s ease 0.2s, transform 0.55s var(--ease-out) 0.18s; }
.route-transition.is-active { visibility: visible; }
.route-transition.is-active .route-transition__panel { transform: translateY(0); }
.route-transition.is-active .route-transition__label { opacity: 1; transform: translateY(0); }

.text-link { position: relative; display: inline-flex; align-items: center; gap: 14px; width: fit-content; padding: 9px 0; border-bottom: 1px solid currentColor; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; line-height: 1; text-transform: uppercase; }
.text-link__arrow { display: inline-flex; transition: transform 0.4s var(--ease-out); }
.text-link:hover .text-link__arrow { transform: translate(4px, -4px); }
.text-link--large { font-size: clamp(11px, 1vw, 13px); gap: 22px; padding-bottom: 13px; }
.pill-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.11em; line-height: 1; text-transform: uppercase; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.pill-link:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }

.svg-thread { position: absolute; pointer-events: none; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.svg-thread path { vector-effect: non-scaling-stroke; stroke: var(--signal); stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.1s var(--ease-out); }
.svg-thread.is-drawn path { stroke-dashoffset: 0; }
.svg-thread .thread-dot { fill: var(--signal); stroke: var(--ink); stroke-width: 2; opacity: 0; transition: opacity 0.5s ease 1.4s; }
.svg-thread.is-drawn .thread-dot { opacity: 1; }
.thread-cross { position: absolute; width: 16px; height: 16px; border: 1px solid var(--signal); border-radius: 50%; z-index: 2; }
.thread-cross::before, .thread-cross::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--signal); transform: translate(-50%, -50%); }
.thread-cross::before { width: 5px; height: 1px; }
.thread-cross::after { width: 1px; height: 5px; }
.scroll-rail { position: fixed; z-index: 90; top: 20vh; right: 15px; width: 1px; height: 60vh; background: rgba(241, 238, 230, 0.16); pointer-events: none; transition: background-color 0.3s ease; }
body.is-light .scroll-rail { background: rgba(11, 11, 10, 0.16); }
.scroll-rail__fill { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--signal); transform: scaleY(var(--scroll-progress, 0)); transform-origin: top; transition: transform 0.12s linear; }
.scroll-rail__label { position: absolute; top: -26px; left: 50%; color: var(--night-muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); }
@media (max-width: 700px) { .scroll-rail { display: none; } }

.hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100svh; padding: 112px var(--gutter) 26px; overflow: clip; background: var(--ink); color: var(--paper); }
.hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.hero__status { display: flex; align-items: center; gap: 9px; color: var(--night-muted); }
.hero__status::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255, 59, 18, 0.12); animation: signalPulse 2.4s ease-out infinite; }
.hero__meta { text-align: right; color: var(--night-muted); }
.hero__main { position: relative; z-index: 1; display: flex; flex: 1; align-items: center; margin: clamp(26px, 5vh, 60px) 0 clamp(34px, 7vh, 76px); }
.hero__title { position: relative; z-index: 2; width: 100%; font-size: clamp(3.55rem, 14.7vw, 14.7rem); font-weight: 800; font-variation-settings: "wght" 800; letter-spacing: -0.085em; line-height: 0.78; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: block; transform: translate3d(0, 110%, 0); animation: heroLineUp 1.2s var(--ease-out) both; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero__title .hero__word-signal { color: var(--signal); }
.hero__art { position: absolute; z-index: 0; inset: 0; pointer-events: none; overflow: hidden; }
.hero__thread { width: 100%; height: 100%; }
.hero__thread path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawThread 2.7s 0.3s var(--ease-out) forwards; }
.hero__thread .thread-dot { opacity: 0; animation: threadDotIn 0.7s 2.2s ease forwards; }
.hero__orbit { position: absolute; right: -28px; bottom: 6%; width: clamp(180px, 24vw, 360px); aspect-ratio: 1; opacity: 0.58; animation: spinSlow 38s linear infinite; pointer-events: none; }
.hero__bottom { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.8fr); align-items: end; gap: 2rem; padding-top: 18px; border-top: 1px solid var(--hairline-dark); }
.hero__copy { max-width: 530px; color: var(--night-muted); font-size: clamp(0.96rem, 1.25vw, 1.13rem); line-height: 1.6; }
.hero__copy strong { color: var(--paper); font-weight: 550; }
.hero__scroll { display: flex; align-items: center; justify-content: flex-end; gap: 13px; color: var(--night-muted); }
.hero__scroll-line { position: relative; width: 66px; height: 1px; overflow: hidden; background: rgba(241, 238, 230, 0.2); }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: left; animation: scrollLine 2.2s var(--ease-in-out) infinite; }
.hero__scroll-arrow { color: var(--signal); animation: nudgeDown 1.8s var(--ease-in-out) infinite; }
@media (max-width: 700px) { .hero { padding-top: 96px; } .hero__title { font-size: clamp(3.55rem, 15.3vw, 7.6rem); line-height: 0.79; } .hero__top { flex-direction: column; gap: 14px; } .hero__meta { text-align: left; } .hero__main { margin-top: 38px; margin-bottom: 42px; } .hero__bottom { grid-template-columns: 1fr; gap: 26px; } .hero__scroll { justify-content: flex-start; } .hero__orbit { width: 210px; right: -70px; bottom: 4%; opacity: 0.35; } }

.marquee { position: relative; z-index: 2; display: flex; overflow: hidden; border-top: 1px solid var(--hairline-dark); border-bottom: 1px solid var(--hairline-dark); background: var(--ink); color: var(--paper); user-select: none; }
.marquee--light { background: var(--paper); color: var(--ink); border-color: var(--hairline-light); }
.marquee__track { display: flex; flex-shrink: 0; min-width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; gap: clamp(22px, 3vw, 50px); padding: 17px 0; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 50px); white-space: nowrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase; }
.marquee__item::after { content: "✦"; color: var(--signal); font-size: 14px; letter-spacing: 0; }
.marquee--large .marquee__track { animation-duration: 24s; }
.marquee--large .marquee__item { font-family: var(--font-sans); font-size: clamp(2.2rem, 4.6vw, 4.8rem); font-weight: 700; letter-spacing: -0.055em; text-transform: uppercase; }
.marquee--large .marquee__item:nth-child(3n) { color: var(--signal); }
.marquee--large .marquee__item:nth-child(3n+1) { color: transparent; -webkit-text-stroke: 1px currentColor; }

.manifesto { position: relative; overflow: clip; }
.manifesto__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.6fr); gap: clamp(2.5rem, 7vw, 100px); align-items: end; }
.manifesto__heading { font-size: clamp(3.8rem, 9.2vw, 9.3rem); font-weight: 760; font-variation-settings: "wght" 760; letter-spacing: -0.075em; line-height: 0.84; text-transform: uppercase; }
.manifesto__heading em { font-style: normal; color: var(--signal); }
.manifesto__side { max-width: 330px; padding-bottom: 8px; }
.manifesto__side p { font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.6; }
.manifesto__side .text-link { margin-top: 30px; }
.manifesto__nodes { position: relative; display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(4rem, 9vw, 9rem); padding-top: 22px; border-top: 1px solid var(--hairline-light); }
.manifesto-node { display: flex; align-items: center; gap: 10px; }
.manifesto-node::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--signal); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--paper); }
.manifesto__drawing { position: absolute; z-index: 0; right: -8%; bottom: -8%; width: min(480px, 44vw); opacity: 0.85; pointer-events: none; }
@media (max-width: 860px) { .manifesto__grid { grid-template-columns: 1fr; } .manifesto__side { max-width: 520px; } .manifesto__drawing { width: 55vw; right: -12%; bottom: -6%; opacity: 0.42; } .manifesto__nodes { flex-wrap: wrap; } }

.capabilities { position: relative; overflow: clip; }
.capabilities__head { position: relative; z-index: 2; max-width: 1200px; margin-bottom: clamp(3.5rem, 7vw, 7rem); }
.capabilities__heading { font-size: clamp(3.2rem, 8.5vw, 8.6rem); font-weight: 760; font-variation-settings: "wght" 760; letter-spacing: -0.075em; line-height: 0.84; text-transform: uppercase; }
.capabilities__heading .signal { color: var(--signal); }
.capability-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 8vw, 130px); }
.capability-group__label { padding-bottom: 18px; border-bottom: 1px solid var(--hairline-dark); color: var(--night-muted); }
.capability-list { display: flex; flex-direction: column; }
.capability-item { position: relative; display: grid; grid-template-columns: 34px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--hairline-dark); transition: transform 0.45s var(--ease-out), border-color 0.3s ease; }
.capability-item::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.capability-item:hover { transform: translateX(8px); border-color: transparent; }
.capability-item:hover::before { transform: scaleX(1); }
.capability-item__num { color: var(--signal); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; }
.capability-item__name { font-size: clamp(1rem, 1.2vw, 1.16rem); font-weight: 560; }
.capability-item__desc { color: var(--night-muted); font-size: 0.88rem; line-height: 1.55; }
.capability-orbit { position: absolute; z-index: 0; width: min(46vw, 640px); aspect-ratio: 1; right: -9%; top: 18%; border-radius: 50%; border: 1px solid rgba(255, 59, 18, 0.25); pointer-events: none; animation: spinSlow 42s linear infinite; }
.capability-orbit::before, .capability-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.capability-orbit::before { inset: 12%; border: 1px dashed rgba(241, 238, 230, 0.15); }
.capability-orbit::after { inset: 36%; border: 1px solid rgba(255, 59, 18, 0.3); }
.capability-orbit__text { position: absolute; inset: 0; color: var(--night-muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 860px) { .capability-grid { grid-template-columns: 1fr; gap: 4rem; } .capability-item { grid-template-columns: 26px 1fr; } .capability-item__desc { grid-column: 2; } .capability-orbit { opacity: 0.35; right: -38%; top: 26%; } }

.work-intro { padding-bottom: clamp(30px, 4vw, 60px); }
.work-intro__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.work-intro__count { color: var(--signal); font-family: var(--font-mono); font-size: clamp(11px, 1.1vw, 13px); letter-spacing: 0.1em; text-transform: uppercase; }
.work-intro__copy { max-width: 390px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
@media (max-width: 700px) { .work-intro__row { align-items: flex-start; flex-direction: column; gap: 24px; } }

.project-world { --scene-progress: 0.5; position: relative; isolation: isolate; min-height: 100svh; padding: clamp(82px, 11vh, 150px) var(--gutter); overflow: clip; }
.project-world--dark { background: var(--ink); color: var(--paper); --world-muted: var(--night-muted); --world-line: var(--hairline-dark); }
.project-world--light { background: var(--paper); color: var(--ink); --world-muted: #77736b; --world-line: var(--hairline-light); }
.project-world__topline { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 12px; border-bottom: 1px solid var(--world-line); color: var(--world-muted); }
.project-world__topline strong { color: inherit; font-weight: 500; }
.project-world__heading { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr); gap: 2rem; align-items: end; margin-top: clamp(1.5rem, 3.5vw, 3.3rem); }
.project-world__title { font-size: clamp(4.2rem, 12.2vw, 13.2rem); font-weight: 770; font-variation-settings: "wght" 770; letter-spacing: -0.08em; line-height: 0.78; text-transform: uppercase; }
.project-world__title em { font-style: normal; color: var(--signal); }
.project-world__desc { max-width: 380px; justify-self: end; color: var(--world-muted); font-size: clamp(0.98rem, 1.25vw, 1.15rem); line-height: 1.6; }
.project-world__desc strong { color: inherit; font-weight: 550; }
.project-world__stage { --world-x: 0; --world-y: 0; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: clamp(360px, 68vh, 750px); margin-top: clamp(2rem, 5vw, 5rem); }
.project-world--right .project-world__stage { justify-content: center; }
.project-shot { position: relative; z-index: 2; width: min(100%, 980px); overflow: hidden; border: 1px solid var(--world-line); background: color-mix(in srgb, var(--world-muted) 9%, transparent); box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18); transform: rotate(-1.3deg); translate: calc(var(--world-x) * 9px + var(--shot-scroll-x, 0px)) calc(var(--world-y) * 6px + var(--shot-scroll-y, 0px)); scale: var(--shot-scale, 1); transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out), translate 0.12s linear, scale 0.2s linear; will-change: transform, translate, scale; }
.project-world--right .project-shot { transform: rotate(1.3deg); }
.project-world:hover .project-shot { transform: rotate(0) translateY(-8px) scale(1.012); box-shadow: 0 44px 100px rgba(0, 0, 0, 0.25); }
.project-world--dark .project-shot { box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6); }
.project-shot img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.project-shot__chrome { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--world-line); background: color-mix(in srgb, var(--world-muted) 12%, transparent); }
.project-shot__chrome i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--world-muted); opacity: 0.65; }
.project-shot__chrome i:first-child { background: var(--signal); opacity: 1; }
.project-shot__chrome span { margin-left: auto; color: var(--world-muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.project-artifact { position: absolute; z-index: 3; min-width: 140px; padding: 12px 14px; border: 1px solid var(--world-line); box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2); backdrop-filter: blur(12px); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; line-height: 1.55; text-transform: uppercase; animation: artifactFloat 7s ease-in-out infinite; }
.project-world--light .project-artifact { --world-bg: var(--paper); --world-fg: var(--ink); background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink); }
.project-world--dark .project-artifact { --world-bg: var(--ink); --world-fg: var(--paper); background: color-mix(in srgb, var(--ink) 92%, transparent); color: var(--paper); }
.project-artifact--a { top: 11%; left: 2%; transform: rotate(-5deg); animation-delay: -1.4s; }
.project-artifact--b { right: 1%; top: 17%; transform: rotate(4deg); animation-delay: -3.1s; }
.project-artifact--c { bottom: 9%; left: 9%; transform: rotate(3deg); animation-delay: -2s; }
.project-artifact--d { right: 9%; bottom: 10%; transform: rotate(-4deg); animation-delay: -4.2s; }
.project-artifact__label { display: block; color: var(--world-muted); margin-bottom: 6px; }
.project-artifact__value { display: block; color: inherit; font-family: var(--font-sans); font-size: 22px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; text-transform: none; }
.project-artifact__value em { font-style: normal; color: var(--signal); }
.project-world__bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: clamp(1.6rem, 3vw, 3.5rem); padding-top: 16px; border-top: 1px solid var(--world-line); }
.project-world__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--world-line); border-radius: 999px; color: var(--world-muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.project-world__link { flex: 0 0 auto; }
.project-world__thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.project-world__thread path { stroke: var(--signal); stroke-width: 1.25; fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out); }
.project-world__thread.is-drawn path { stroke-dashoffset: 0; }
.project-world__number { position: absolute; z-index: 0; right: 3%; top: 17%; color: transparent; font-family: var(--font-sans); font-size: clamp(8rem, 26vw, 28rem); font-weight: 800; letter-spacing: -0.09em; line-height: 0.7; -webkit-text-stroke: 1px var(--world-line); opacity: 0.42; pointer-events: none; }
@media (max-width: 900px) { .project-world { min-height: auto; } .project-world__heading { grid-template-columns: 1fr; align-items: start; } .project-world__desc { justify-self: start; } .project-world__stage { min-height: 48vw; margin-top: 2.5rem; } .project-artifact { min-width: 112px; padding: 9px 10px; font-size: 7px; } .project-artifact__value { font-size: 17px; } .project-artifact--a { top: 3%; left: 0; } .project-artifact--b { right: 0; top: 5%; } .project-artifact--c { bottom: 2%; left: 4%; } .project-artifact--d { right: 3%; bottom: 3%; } .project-world__bottom { flex-direction: column; align-items: flex-start; } }
@media (max-width: 640px) { .project-world__stage { min-height: 70vw; } .project-shot { width: 88%; } .project-artifact--c, .project-artifact--d { display: none; } .project-world__number { top: 20%; right: -4%; } .project-world__title { font-size: clamp(3.4rem, 17vw, 6rem); } }

.about-preview { background: var(--paper); color: var(--ink); }
.about-preview__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); gap: clamp(2.5rem, 7vw, 100px); align-items: center; }
.about-preview__heading { font-size: clamp(3.6rem, 8.8vw, 9rem); font-weight: 760; font-variation-settings: "wght" 760; letter-spacing: -0.075em; line-height: 0.84; text-transform: uppercase; }
.about-preview__heading em { font-style: normal; color: var(--signal); }
.about-preview__copy { max-width: 410px; color: #77736b; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.62; }
.about-preview__copy strong { color: var(--ink); font-weight: 560; }
.about-preview__copy .text-link { margin-top: 30px; color: var(--ink); }
.about-preview__portrait { position: relative; width: 100%; max-width: 390px; justify-self: center; }
.about-preview__portrait::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--hairline-light); pointer-events: none; }
.about-preview__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.95) contrast(1.02); }
.about-preview__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(3.5rem, 7vw, 7rem); border: 1px solid var(--hairline-light); background: var(--hairline-light); }
.about-stat { padding: 18px; background: var(--paper); }
.about-stat strong { display: block; font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 740; letter-spacing: -0.06em; line-height: 1; }
.about-stat span { display: block; margin-top: 8px; color: #77736b; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 860px) { .about-preview__layout { grid-template-columns: 1fr; } .about-preview__portrait { justify-self: center; max-width: 330px; } .about-preview__copy { max-width: 560px; } .about-preview__foot { grid-template-columns: 1fr; } }

.credentials-preview { background: var(--ink); color: var(--paper); }
.credentials-preview__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: clamp(2.5rem, 7vw, 110px); align-items: end; }
.credentials-preview__heading { font-size: clamp(3.8rem, 9.5vw, 9.8rem); font-weight: 760; font-variation-settings: "wght" 760; letter-spacing: -0.075em; line-height: 0.82; text-transform: uppercase; }
.credentials-preview__heading em { font-style: normal; color: var(--signal); }
.credentials-preview__copy { max-width: 380px; color: var(--night-muted); font-size: 1rem; line-height: 1.62; }
.credentials-preview__copy .text-link { margin-top: 28px; }
.credentials-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(3rem, 6vw, 6rem); padding-top: 20px; border-top: 1px solid var(--hairline-dark); }
.credential-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 13px; border: 1px solid var(--hairline-dark); border-radius: 999px; color: var(--night-muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 0.3s ease, color 0.3s ease; }
.credential-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.credential-chip:hover { border-color: var(--signal); color: var(--paper); }
@media (max-width: 860px) { .credentials-preview__grid { grid-template-columns: 1fr; } .credentials-preview__copy { max-width: 540px; } }

.contact-finale { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(110px, 15vh, 200px) var(--gutter) 26px; background: var(--ink); color: var(--paper); overflow: clip; }
.contact-finale__eyebrow { color: var(--night-muted); }
.contact-finale__heading { margin-top: auto; margin-bottom: clamp(2rem, 5vh, 4rem); max-width: 900px; font-size: clamp(2.45rem, 7.3vw, 6.57rem); font-weight: 790; font-variation-settings: "wght" 790; letter-spacing: -0.06em; line-height: 0.88; text-transform: uppercase; }
.contact-finale__heading em { font-style: normal; color: var(--signal); }
.contact-finale__link { position: relative; display: inline-flex; align-items: center; gap: 0.15em; width: fit-content; padding-bottom: 0.06em; border-bottom: 1px solid currentColor; font-size: clamp(2.2rem, 5.5vw, 5.8rem); font-weight: 720; letter-spacing: -0.07em; line-height: 0.9; text-transform: uppercase; }
.contact-finale__link::after { content: "↗"; color: var(--signal); font-size: 0.65em; transform: translateY(-0.05em); transition: transform 0.4s var(--ease-out); }
.contact-finale__link:hover::after { transform: translate(8px, -8px); }
.contact-finale__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: clamp(4rem, 9vh, 9rem); padding-top: 18px; border-top: 1px solid var(--hairline-dark); }
.contact-finale__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--night-muted); }
.contact-finale__socials { display: flex; gap: 24px; }
.contact-finale__socials a { color: var(--night-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.25s ease; }
.contact-finale__socials a:hover { color: var(--paper); }
@media (max-width: 700px) { .contact-finale { min-height: 80svh; } .contact-finale__foot { align-items: flex-start; flex-direction: column; } }

.site-footer { background: var(--ink); color: var(--night-muted); padding: 22px var(--gutter); border-top: 1px solid var(--hairline-dark); }
.site-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer a { transition: color 0.25s ease; }
.site-footer a:hover { color: var(--paper); }
@media (max-width: 700px) { .site-footer__row { align-items: flex-start; flex-direction: column; } }

.page-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 72svh; padding: clamp(140px, 20vh, 230px) var(--gutter) 44px; overflow: clip; background: var(--ink); color: var(--paper); }
.page-hero--light { background: var(--paper); color: var(--ink); }
.page-hero__top { position: absolute; top: 105px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 1rem; color: var(--night-muted); }
.page-hero--light .page-hero__top { color: #77736b; }
.page-hero__title { position: relative; z-index: 2; font-size: clamp(4rem, 12.5vw, 13.5rem); font-weight: 760; font-variation-settings: "wght" 760; letter-spacing: -0.08em; line-height: 0.8; text-transform: uppercase; }
.page-hero__bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: clamp(2rem, 5vh, 4rem); padding-top: 18px; border-top: 1px solid var(--hairline-dark); }
.page-hero--light .page-hero__bottom { border-color: var(--hairline-light); }
.page-hero__desc { max-width: 420px; color: var(--night-muted); font-size: clamp(0.98rem, 1.2vw, 1.12rem); line-height: 1.6; }
.page-hero--light .page-hero__desc { color: #77736b; }
.page-hero__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.page-hero__art > .svg-thread { width: 100%; height: 100%; }
@media (max-width: 700px) { .page-hero { min-height: 68svh; padding-top: 125px; } .page-hero__top { top: 86px; flex-direction: column; gap: 8px; } .page-hero__bottom { align-items: flex-start; flex-direction: column; gap: 22px; } }

.archive { position: relative; padding: clamp(70px, 9vh, 120px) var(--gutter) clamp(100px, 14vh, 180px); background: var(--paper); color: var(--ink); }
.archive__top { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 14px; border-bottom: 1px solid var(--hairline-light); color: #77736b; }
.archive-list { position: relative; }
.archive-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(180px, 0.42fr) 80px; gap: 18px; align-items: center; min-height: 104px; padding: 18px 0; border-bottom: 1px solid var(--hairline-light); transition: color 0.35s ease, padding 0.45s var(--ease-out); z-index: 2; }
.archive-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink); opacity: 0; transform: scaleY(0.88); transform-origin: center; transition: opacity 0.3s ease, transform 0.45s var(--ease-out); z-index: -1; }
.archive-row:hover { color: var(--paper); padding-left: 16px; }
.archive-row:hover::before { opacity: 1; transform: scaleY(1); }
.archive-row__num { color: var(--signal); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }
.archive-row__title { font-size: clamp(1.8rem, 4vw, 4.5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.95; }
.archive-row__meta { color: #77736b; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; line-height: 1.6; text-transform: uppercase; transition: color 0.3s ease; }
.archive-row:hover .archive-row__meta { color: var(--night-muted); }
.archive-row__year { justify-self: end; color: #77736b; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }
.archive-row__thumb { display: none; }
.project-preview { position: fixed; z-index: 500; top: 0; left: 0; width: min(36vw, 500px); aspect-ratio: 1.45; overflow: hidden; border: 1px solid rgba(241, 238, 230, 0.22); background: var(--ink); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.82) rotate(-4deg); transition: opacity 0.3s ease, transform 0.55s var(--ease-out); }
.project-preview img { width: 100%; height: 100%; object-fit: cover; }
.project-preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
@media (max-width: 900px) { .archive-row { grid-template-columns: 36px minmax(0, 1fr) 54px; gap: 12px; min-height: 86px; } .archive-row__meta { display: none; } .archive-row__year { justify-self: end; } .project-preview { display: none; } }
@media (max-width: 560px) { .archive-row__title { font-size: clamp(1.55rem, 7vw, 2.6rem); } }

.service-page { background: var(--ink); color: var(--paper); }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 6rem); }
.section-title-row h2 { font-size: clamp(2.4rem, 5.4vw, 5.6rem); font-weight: 740; letter-spacing: -0.065em; line-height: 0.9; text-transform: uppercase; }
.service-rows { border-top: 1px solid var(--hairline-dark); }
.service-row { position: relative; display: grid; grid-template-columns: 44px minmax(0, 0.75fr) minmax(250px, 1.25fr); gap: 22px; padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--hairline-dark); transition: padding 0.45s var(--ease-out); }
.service-row::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease-out); }
.service-row:hover { padding-left: 14px; }
.service-row:hover::before { transform: scaleX(1); }
.service-row__num { color: var(--signal); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }
.service-row__title { font-size: clamp(1.9rem, 4vw, 4.4rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.92; }
.service-row__body { max-width: 600px; justify-self: end; }
.service-row__body p { color: var(--night-muted); font-size: clamp(0.96rem, 1.2vw, 1.05rem); line-height: 1.65; }
.service-row__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.service-row__tags span { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; border: 1px solid var(--hairline-dark); border-radius: 999px; color: var(--night-muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--hairline-light); background: var(--hairline-light); }
.process-step { position: relative; min-height: 260px; padding: 22px; background: var(--paper); color: var(--ink); }
.process-step__num { color: var(--signal); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }
.process-step h3 { margin-top: 70px; font-size: clamp(1.4rem, 2.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.process-step p { max-width: 230px; margin-top: 14px; color: #77736b; font-size: 0.9rem; line-height: 1.55; }
.process-step::after { content: "↗"; position: absolute; top: 18px; right: 20px; color: var(--signal); font-size: 20px; }
@media (max-width: 850px) { .service-row { grid-template-columns: 26px 1fr; } .service-row__body { grid-column: 2; justify-self: start; } .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } .process-step { min-height: 210px; } .process-step h3 { margin-top: 45px; } .section-title-row { flex-direction: column; align-items: flex-start; gap: 16px; } }

.about-page { background: var(--ink); color: var(--paper); }
.about-story { display: grid; grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 8vw, 130px); align-items: start; padding-top: clamp(80px, 10vh, 130px); }
.about-portrait { position: sticky; top: 110px; margin-inline: auto; }
.about-portrait__frame { position: relative; overflow: hidden; border: 1px solid var(--hairline-dark); }
.about-portrait__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.96) contrast(1.02); transform: scale(1.03); transition: transform 1.2s var(--ease-out); }
.about-portrait:hover .about-portrait__frame img { transform: scale(1); }
.about-portrait__caption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 12px; color: var(--night-muted); }
.about-copy h2 { max-width: 900px; font-size: clamp(2.4rem, 5.2vw, 5.2rem); font-weight: 710; letter-spacing: -0.065em; line-height: 0.94; }
.about-copy h2 em { font-style: normal; color: var(--signal); }
.about-copy__body { max-width: 690px; margin-top: clamp(2rem, 4vw, 4rem); color: var(--night-muted); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.72; }
.about-copy__body p + p { margin-top: 1.2em; }
.about-copy__body strong { color: var(--paper); font-weight: 550; }
.about-quote { margin: clamp(3rem, 7vw, 7rem) 0; padding: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--hairline-dark); border-bottom: 1px solid var(--hairline-dark); }
.about-quote blockquote { max-width: 900px; font-size: clamp(2rem, 4.4vw, 4.8rem); font-weight: 680; letter-spacing: -0.065em; line-height: 0.98; }
.about-quote blockquote em { font-style: normal; color: var(--signal); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--hairline-dark); background: var(--hairline-dark); }
.about-fact { padding: 22px; background: var(--ink); }
.about-fact span { display: block; color: var(--night-muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.about-fact strong { display: block; margin-top: 9px; font-size: clamp(1.3rem, 2.2vw, 2.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.toolkit-section { background: var(--paper); color: var(--ink); }
.toolkit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--hairline-light); background: var(--hairline-light); }
.toolkit-item { min-height: 150px; padding: 18px; background: var(--paper); transition: background-color 0.3s ease, color 0.3s ease; }
.toolkit-item:hover { background: var(--signal); color: var(--ink); }
.toolkit-item span { display: block; color: #77736b; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.toolkit-item strong { display: block; margin-top: 55px; font-size: clamp(1.15rem, 1.8vw, 1.7rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; }
.toolkit-item:hover span { color: var(--ink); }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; } .about-portrait { position: static; max-width: 360px; margin-inline: auto; } .toolkit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .about-facts { grid-template-columns: 1fr; } .toolkit-grid { grid-template-columns: 1fr; } .toolkit-item { min-height: 115px; } .toolkit-item strong { margin-top: 30px; } }

.contact-page { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr); gap: clamp(3rem, 9vw, 140px); align-items: start; padding-top: clamp(80px, 10vh, 130px); }
.contact-big { font-size: clamp(3rem, 7.5vw, 7.8rem); font-weight: 740; letter-spacing: -0.075em; line-height: 0.86; text-transform: uppercase; }
.contact-big a { color: var(--signal); }
.contact-details { display: flex; flex-direction: column; gap: 30px; }
.contact-detail { padding-top: 16px; border-top: 1px solid var(--hairline-dark); }
.contact-detail span { display: block; color: var(--night-muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-detail a, .contact-detail p { display: block; margin-top: 10px; font-size: clamp(1.1rem, 1.6vw, 1.45rem); letter-spacing: -0.03em; line-height: 1.35; }
.contact-detail a:hover { color: var(--signal); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 11px; border: 1px solid var(--hairline-dark); border-radius: 999px; color: var(--night-muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.25s ease, border-color 0.25s ease; }
.contact-socials a:hover { color: var(--paper); border-color: var(--signal); }
.contact-form-wrap { background: var(--paper); color: var(--ink); }
.contact-form__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 4rem); }
.contact-form { display: grid; gap: 28px; }
.form-field { position: relative; display: grid; gap: 8px; }
.form-field label { color: #77736b; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 10px 0 13px; border: 0; border-bottom: 1px solid var(--hairline-light); border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.4; transition: border-color 0.25s ease; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--signal); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #aaa69b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 3rem; }
.form-submit button { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.3s ease, color 0.3s ease; }
.form-submit button:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.form-submit span { max-width: 240px; color: #77736b; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; line-height: 1.5; text-transform: uppercase; }
@media (max-width: 850px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-submit { align-items: flex-start; flex-direction: column; } .form-submit button { width: 100%; justify-content: center; } }

.legal-page { background: var(--paper); color: var(--ink); }
.legal-page .page-hero { background: var(--paper); color: var(--ink); }
.legal-page .page-hero__top, .legal-page .page-hero__desc { color: #77736b; }
.legal-content { max-width: 900px; margin: 0 auto; padding: clamp(50px, 8vw, 100px) var(--gutter) clamp(100px, 14vh, 160px); }
.legal-content h2 { margin-top: 2.5em; font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 680; letter-spacing: -0.05em; line-height: 1; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { margin-top: 1em; color: #555149; font-size: 1rem; line-height: 1.7; }
.legal-content ul { padding-left: 1.2em; list-style: disc; }
.legal-content a { border-bottom: 1px solid currentColor; }

.page-404 { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding: 140px var(--gutter) 60px; background: var(--ink); color: var(--paper); overflow: clip; }
.page-404__code { position: relative; z-index: 2; color: var(--signal); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.page-404__title { position: relative; z-index: 2; margin-top: 24px; font-size: clamp(5rem, 19vw, 20rem); font-weight: 770; letter-spacing: -0.09em; line-height: 0.78; text-transform: uppercase; }
.page-404__copy { position: relative; z-index: 2; max-width: 400px; margin-top: 32px; color: var(--night-muted); font-size: 1rem; line-height: 1.6; }
.page-404 .text-link { position: relative; z-index: 2; margin-top: 34px; }

/* ---------- Certificate library theme harmonisation ---------- */
body.certificate-page { background: var(--ink); color: var(--paper); }
body.certificate-page .page-container { padding-top: 112px; }
body.certificate-page .ambient-grid { opacity: 0.3; }
body.certificate-page .top-nav { border-color: var(--hairline-dark); background: rgba(11, 11, 10, 0.64); }
body.certificate-page .nav-btn-credly { background: rgba(255, 59, 18, 0.12); border-color: rgba(255, 59, 18, 0.36); color: #ffb49e; }
body.certificate-page .nav-btn-credly:hover { background: rgba(255, 59, 18, 0.22); border-color: var(--signal); color: var(--paper); }
body.certificate-page .hero-eyebrow { color: var(--signal); }
body.certificate-page .hero-title { font-family: var(--font-sans); letter-spacing: -0.06em; }
body.certificate-page .credly-banner { border-color: rgba(255, 59, 18, 0.25); }
body.certificate-page .credly-avatar { border-color: var(--signal); }
body.certificate-page .tab-btn.active { background: rgba(255, 59, 18, 0.15); box-shadow: 0 0 14px rgba(255, 59, 18, 0.1); }
body.certificate-page .btn-primary { background: var(--signal); color: var(--ink); box-shadow: none; }
body.certificate-page .btn-primary:hover { background: var(--signal-soft); }
body.certificate-page .featured-card { border-color: rgba(255, 59, 18, 0.32); }
body.certificate-page .featured-badge-ribbon { background: var(--signal); color: var(--ink); }
body.certificate-page .featured-issuer { color: var(--signal-soft); }
body.certificate-page .card-btn-view { color: var(--paper); border-color: rgba(255, 59, 18, 0.3); background: rgba(255, 59, 18, 0.12); }
body.certificate-page .card-btn-view:hover { background: rgba(255, 59, 18, 0.22); }
body.certificate-page .card-btn-verify { color: var(--night-muted); }
body.certificate-page .card-btn-verify:hover { color: var(--paper); }
body.certificate-page .featured-card, body.certificate-page .cert-card { opacity: 1; transform: none; }
body.certificate-page .top-nav, body.certificate-page .hero-section, body.certificate-page .credly-banner, body.certificate-page .controls-bar, body.certificate-page .featured-card { animation: fadeUp 0.9s var(--ease-out) backwards; }
body.certificate-page .credly-banner { animation-delay: 0.08s; }
body.certificate-page .controls-bar { animation-delay: 0.14s; }
body.certificate-page .featured-card { animation-delay: 0.2s; }
body.certificate-page .cert-card { animation: fadeUp 0.8s var(--ease-out) backwards; animation-delay: var(--card-delay, 0s); }
body.certificate-page .site-header { color: var(--paper); }
body.certificate-page .site-header.is-light { color: var(--paper); }
body.certificate-page .page-container { color: var(--paper); }
@media (max-width: 700px) { body.certificate-page .page-container { padding-top: 88px; } }

/* ---------- Keyframes ---------- */
@keyframes heroLineUp { from { opacity: 0; filter: blur(12px); transform: translate3d(0, 110%, 0); } to { opacity: 1; filter: none; transform: translate3d(0, 0, 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes drawThread { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes threadDotIn { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes signalPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 18, 0.45); } 50% { box-shadow: 0 0 0 5px rgba(255, 59, 18, 0); } }
@keyframes nudgeDown { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@keyframes scrollLine { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes artifactFloat {
  0%, 100% { translate: calc(var(--artifact-x, 0px) + var(--scroll-x, 0px)) calc(var(--artifact-y, 0px) + var(--scroll-y, 0px)); }
  50% { translate: calc(var(--artifact-x, 0px) + var(--scroll-x, 0px)) calc(var(--artifact-y, 0px) + var(--scroll-y, 0px) - 9px); }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .js [data-reveal], .js [data-clip-reveal], .js .reveal-line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .cursor-dot, .cursor-ring, .cursor-label { display: none !important; }
}

body.is-light { --header-fg: var(--ink); --header-fg-soft: #77736b; }
.marquee--large .marquee__item:nth-child(3n+1) { -webkit-text-stroke: 1px var(--paper); }
body.is-light .marquee--large .marquee__item:nth-child(3n+1) { -webkit-text-stroke-color: var(--ink); }

.contact-form-wrap { padding: clamp(24px, 4vw, 58px); }
.contact-page .page-shell { max-width: 1440px; }
.legal-content .eyebrow { margin-bottom: 30px; }
.legal-content h1 { font-size: clamp(3.2rem, 8vw, 8rem); font-weight: 760; letter-spacing: -0.07em; line-height: 0.84; text-transform: uppercase; }
.legal-content .legal-intro { max-width: 680px; margin-top: 24px; color: #77736b; font-size: 1.05rem; line-height: 1.7; }
.legal-content .legal-meta { margin-top: 32px; color: #77736b; }

@media (max-width: 640px) {
  .contact-finale__heading { font-size: clamp(2.45rem, 7.3vw, 6.57rem); line-height: 0.88; }
  .contact-finale__link { font-size: clamp(2rem, 10vw, 3.4rem); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .section-head__meta { max-width: 100%; }
  .display, .hero__title, .page-hero__title, .project-world__title, .manifesto__heading, .about-preview__heading, .credentials-preview__heading, .capabilities__heading, .contact-big { overflow-wrap: normal; }
  .page-hero__title, .project-world__title, .contact-big, .contact-finale__heading { font-size: clamp(3rem, 12.8vw, 5rem); }
  .manifesto__heading, .about-preview__heading, .credentials-preview__heading, .capabilities__heading { font-size: clamp(2.9rem, 12.2vw, 4.9rem); }
  .project-world__title { font-size: clamp(3rem, 13.3vw, 5.4rem); }
  .display { font-size: clamp(3rem, 13.5vw, 5.4rem); }
}


/* Scroll-velocity type: a very small physical skew on large display type. */
.hero__title, .page-hero__title, .project-world__title, .manifesto__heading,
.capabilities__heading, .about-preview__heading, .credentials-preview__heading,
.contact-finale__heading, .contact-big, .display, .display--medium {
  transform: skewY(var(--scroll-skew, 0deg));
  transform-origin: left center;
  will-change: transform;
}
.site-nav a { transition: font-variation-settings 0.35s var(--ease-out), color 0.25s ease; }
.site-nav a:hover { font-variation-settings: "wght" 750; }

.menu-list__link[aria-current="page"] { color: var(--signal); }
.menu-list__link[aria-current="page"] .menu-list__arrow { color: var(--paper); }


.hero__orbit { right: -95px; bottom: 4%; opacity: 0.36; }
@media (max-width: 900px) {
  .hero__main { display: block; }
  .hero__orbit { right: -95px; bottom: 8%; }
}

/* ---------- Full-width fitted project titles (reference layout) ---------- */
.project-world__heading {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(18px, 2.8vw, 42px);
  margin-top: clamp(1.5rem, 3.5vw, 3.3rem);
}
.project-world__desc {
  order: -1;
  align-self: flex-end;
  max-width: 360px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
}
.project-world__title {
  width: 100%;
  font-size: clamp(4rem, 20vw, 20rem);
  font-weight: 850;
  font-variation-settings: "wght" 850;
  letter-spacing: -0.07em;
  line-height: 0.82;
  white-space: nowrap;
}
.project-world__title .reveal-line { overflow: hidden; }
.project-world__title .reveal-line > span { display: inline-block; white-space: nowrap; }
@media (max-width: 900px) {
  .project-world__desc { align-self: flex-start; max-width: 100%; }
  .project-world__title { font-size: clamp(3.6rem, 20vw, 8rem); }
}

.reveal-line > span, .hero__title .line > span {
  translate: calc(var(--line-x, 0px) + var(--title-x, 0px)) var(--title-y, 0px);
  will-change: translate;
}
@media (prefers-reduced-motion: reduce) { .reveal-line > span, .hero__title .line > span { translate: 0 0 !important; } }

/* ---------- Personal signature / name typography ---------- */
.about-signature {
  margin-top: clamp(1.7rem, 3.4vw, 3.4rem);
  padding-top: 18px;
  border-top: 1px solid var(--hairline-light);
}
.about-signature__name {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 790;
  font-variation-settings: "wght" 790;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-transform: uppercase;
}
.about-signature__role {
  margin-top: 7px;
  color: #66625b;
  font-family: var(--font-mono);
  font-size: clamp(.74rem, .9vw, .9rem);
  line-height: 1.5;
}

@media (min-width: 1181px) {
  .hero__meta { display: none; }
}
@media (max-width: 1180px) {
  .hero__main { display: block; }
}

.about-preview__heading {
  font-size: clamp(3rem, 5.8vw, 6rem);
  font-weight: 790;
  font-variation-settings: "wght" 790;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero__copy {
  max-width: 480px;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.5;
}
.contact-finale {
  min-height: 100svh;
  padding: clamp(110px, 12vh, 150px) var(--gutter) 28px;
}
.contact-finale__heading { max-width: 780px; }
@media (max-width: 700px) {
  .hero__copy { font-size: 0.92rem; }
  .contact-finale { min-height: 84svh; }
  .contact-finale__heading { max-width: 100%; }
}


/* ---------- Extra thread illustrations ---------- */
.about-preview .page-shell { position: relative; z-index: 1; }
.about-fingerprint {
  position: absolute;
  z-index: 0;
  right: 3%;
  top: 12%;
  width: min(42vw, 540px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  overflow: visible;
}
.about-fingerprint path {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s var(--ease-out);
}
.about-fingerprint.is-drawn path { stroke-dashoffset: 0; }
.contact-finale__thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.contact-finale__thread path {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.7s var(--ease-out);
}
.contact-finale__thread.is-drawn path { stroke-dashoffset: 0; }
.contact-finale > :not(.contact-finale__thread) { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .about-fingerprint { width: 72vw; right: -16%; top: 10%; opacity: 0.25; }
}

@media (max-width: 640px) {
  .contact-finale__heading { font-size: clamp(2.45rem, 9.5vw, 4rem); }
}


.hero__meta { display: none; }



/* ---------- Name as the hero display headline ---------- */
.hero__main { flex-direction: column; align-items: stretch; justify-content: center; }
.hero__title--name .line > span {
  display: inline-block;
  white-space: nowrap;
}
.hero__title--name .hero__word-signal { color: var(--signal); }


/* Let the oversized name breathe and carry the signal colour on the surname. */
.hero__title--name { letter-spacing: -0.035em; }
.hero__title--name .hero__surname { color: var(--signal); }
.hero__title--name .hero__surname .hero__word-signal { color: var(--signal); }


/* ---------- Disciplines in the display face ---------- */
.hero__status {
  align-items: flex-start;
  gap: 12px;
  color: var(--paper);
}
.hero__status::before { margin-top: 0.42em; }
.hero__disciplines {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  font-weight: 790;
  font-variation-settings: "wght" 790;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-transform: uppercase;
}
.hero__disciplines span { display: block; }
.hero__discipline-accent { color: var(--signal); }
.hero__availability {
  margin-top: 10px;
  color: var(--night-muted);
  font-size: var(--header-label-size);
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .hero__disciplines { font-size: clamp(1.2rem, 5.4vw, 1.55rem); }
  .hero__availability { margin-top: 7px; }
}


/* Scroll-scrubbed SVG drawing receives its progress from site.js. */
svg[data-draw] path { will-change: stroke-dashoffset; }


.project-world__topline {
  transform: translateY(var(--topline-y, 0px));
  transition: transform 0.12s linear;
}
@media (prefers-reduced-motion: reduce) {
  svg[data-draw] path { stroke-dashoffset: 0 !important; }
}


/* Grain overlay removed: it softened type and forced full-page repaints while scrolling. */
.noise { display: none !important; }
