:root {
  color-scheme: dark;
  --site-bg: #111213;
  --site-fg: #f0ede7;
  --site-accent: #ff885b;
  --site-on-accent: #24170f;
  --site-surface: #1b1c1e;
  --site-muted: #a5a5a1;
  --site-border: #343537;
  --site-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --site-radius: 20px;
  --site-space: 1;
  --site-type: 1;
  --site-motion: 1;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --duration: calc(240ms * var(--site-motion, 1));
  --card-padding: calc(28px * var(--site-space, 1));
  --project-teal: #82d2b3;
  --project-blue: #91b5ed;
  --project-green: #c0d798;
  --project-purple: #c4b3ed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--site-bg); color: var(--site-fg); font-family: var(--site-font); font-size: calc(16px * var(--site-type, 1)); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--site-accent); outline-offset: 5px; }
::selection { background: var(--site-accent); color: var(--site-on-accent); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-shell { width: min(100% - 96px, 1200px); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px 20px; background: var(--site-accent); color: var(--site-on-accent); border-radius: var(--site-radius); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 104px; border-bottom: 1px solid var(--site-border); gap: 24px; }
.wordmark { display: inline-flex; gap: 12px; align-items: center; font-size: calc(15px * var(--site-type, 1)); font-weight: 750; letter-spacing: .035em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--site-accent); background: var(--site-surface); font-size: 29px; line-height: 1; letter-spacing: -.14em; padding: 0 5px 5px 0; }
.wordmark-divider { margin: 0 8px; color: var(--site-muted); font-weight: 400; }
.header-nav { display: flex; align-items: center; gap: calc(34px * var(--site-space, 1)); font-size: calc(14px * var(--site-type, 1)); }
.header-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; transition: color var(--duration); }
.header-nav a:hover { color: var(--site-accent); }
.github-nav { color: var(--site-muted); }
.github-nav .icon { width: 15px; height: 15px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 52px; padding: calc(72px * var(--site-space, 1)) 0 calc(70px * var(--site-space, 1)); }
.eyebrow { color: var(--site-muted); font-size: calc(12px * var(--site-type, 1)); font-weight: 600; letter-spacing: .12em; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.tiny-cross { color: var(--site-accent); font-size: 20px; line-height: 1; }
.hero-main { min-width: 0; }
h1 { overflow-wrap: anywhere; font-size: clamp(42px, 5.05vw, 72px); font-size: calc(clamp(42px, 5.05vw, 72px) * var(--site-type, 1)); line-height: 1.08; font-weight: 650; letter-spacing: -.065em; }
.hero-emphasis { color: var(--site-accent); }
.hero-line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-line > span { display: block; }
.hero-aside { padding-bottom: 3px; }
.hero-aside p { color: var(--site-muted); font-size: calc(15px * var(--site-type, 1)); line-height: 1.75; max-width: 300px; }
.hero-cta { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; margin-top: 20px; font-size: calc(14px * var(--site-type, 1)); font-weight: 600; }
.hero-cta .icon { color: var(--site-accent); transition: transform var(--duration) var(--ease); }
.hero-cta:hover .icon { transform: translateY(4px); }
.lab-glyph { position: relative; width: 100%; height: 64px; margin-bottom: 16px; color: var(--site-accent); }
.lab-glyph > .icon { position: absolute; top: 7px; left: 29px; width: 28px; height: 28px; }
.glyph-ring { position: absolute; left: 12px; top: 1px; width: 64px; height: 44px; border: 1px solid var(--site-border); border-radius: 50%; transform: rotate(-26deg); }
.glyph-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--site-accent); left: 67px; top: 14px; }
.glyph-caption { position: absolute; left: 98px; top: 15px; font-size: 10px; letter-spacing: .095em; color: var(--site-muted); }
.hero-stage { height: calc(196px * var(--site-space, 1)); margin-bottom: calc(12px * var(--site-space, 1)); }
.hero-stage .lab-glyph { position: absolute; left: 0; right: 0; top: 50%; margin: -32px 0 0; }
.hero-stage > .scene-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; color: var(--site-muted); font-size: calc(9px * var(--site-type, 1)); line-height: 1.5; letter-spacing: .09em; }

.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: calc(24px * var(--site-space, 1)); }
.section-heading h2 { font-size: calc(17px * var(--site-type, 1)); letter-spacing: -.02em; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.count { font-size: calc(11px * var(--site-type, 1)); font-weight: 500; border: 1px solid var(--site-border); border-radius: 5px; padding: 1px 7px; color: var(--site-muted); line-height: 1.7; font-variant-numeric: tabular-nums; }
.section-note { font-size: calc(10px * var(--site-type, 1)); letter-spacing: .12em; color: var(--site-muted); }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: calc(16px * var(--site-space, 1)); }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.project-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: var(--site-surface); transition: border-color var(--duration), transform var(--duration) var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(450px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), color-mix(in srgb, var(--site-fg) 5%, transparent), transparent 65%); transition: opacity var(--duration); }
.project-card:hover::after { opacity: 1; }
.project-card:hover { border-color: color-mix(in srgb, var(--site-fg) 32%, var(--site-border)); }
.card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: var(--card-padding) var(--card-padding) 0; min-height: 54px; position: relative; z-index: 2; }
.category { font-size: calc(10px * var(--site-type, 1)); letter-spacing: .105em; font-weight: 550; color: var(--site-muted); }
.outline-label, .status-label { font-size: calc(9px * var(--site-type, 1)); letter-spacing: .06em; line-height: 1.4; border: 1px solid var(--site-border); border-radius: 5px; padding: 5px 8px; white-space: nowrap; }
.status-label { color: var(--project-teal); border-color: color-mix(in srgb, var(--project-teal) 32%, transparent); }
.muted-icon { color: var(--site-muted); width: 19px; height: 19px; }
.card-body { padding: 0 var(--card-padding) calc(22px * var(--site-space, 1)); margin-top: auto; position: relative; z-index: 2; }
.card-body h3 { display: flex; align-items: center; gap: 10px; font-size: calc(26px * var(--site-type, 1)); letter-spacing: -.04em; line-height: 1.2; font-weight: 600; margin-bottom: 12px; }
.card-body p { color: var(--site-muted); font-size: calc(14px * var(--site-type, 1)); line-height: 1.7; max-width: 440px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: calc(18px * var(--site-space, 1)); }
.tech-label { color: var(--site-muted); font-size: calc(11px * var(--site-type, 1)); letter-spacing: .015em; }
.icon-link { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--site-border); border-radius: 50%; transition: color var(--duration), background var(--duration), border-color var(--duration); }
.icon-link:hover { color: var(--site-on-accent); background: var(--site-accent); border-color: var(--site-accent); }
.icon-link .icon { width: 18px; height: 18px; }
.project-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 46px; padding: 10px 16px; border-radius: 8px; font-size: calc(13px * var(--site-type, 1)); font-weight: 600; background: var(--site-accent); color: var(--site-on-accent); transition: transform var(--duration) var(--ease), opacity var(--duration); }
.project-link:hover { transform: translateY(-2px); }
.project-link .icon { width: 17px; height: 17px; }

.astro-card { min-height: 420px; background: #121417; color: #f5f3ee; }
.astro-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; opacity: .8; transition: transform calc(380ms * var(--site-motion, 1)) var(--ease); }
.astro-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 13, .65) 0%, rgba(10, 11, 13, .12) 100%), linear-gradient(0deg, rgba(10, 11, 13, .95) 0%, rgba(10, 11, 13, .45) 45%, transparent 80%); z-index: 1; }
.astro-card:hover .astro-image { transform: scale(1.035); }
.astro-card .card-top { align-items: start; }
.astro-card .category { color: #c2c2bf; }
.astro-card .outline-label { color: #d8d8d4; border-color: rgba(225, 225, 225, .3); background: rgba(20, 20, 20, .3); }
.astro-content { position: relative; z-index: 2; padding: var(--card-padding); margin-top: auto; max-width: 450px; }
.feature-kicker { color: var(--site-accent); font-size: calc(9px * var(--site-type, 1)); letter-spacing: .16em; }
.astro-content h3 { margin: 7px 0 12px; font-size: calc(43px * var(--site-type, 1)); letter-spacing: -.055em; font-weight: 600; line-height: 1.1; }
.astro-content p { color: #c5c6c6; font-size: calc(14px * var(--site-type, 1)); line-height: 1.7; max-width: 365px; }
.card-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.light-link { color: #151515; background: #f0ede7; }
.astro-card .icon-link { border-color: rgba(245, 243, 238, .3); }
.image-credit { position: absolute; right: var(--card-padding); bottom: var(--card-padding); z-index: 2; color: #a5a6a6; font-size: 8px; letter-spacing: .08em; writing-mode: vertical-rl; }

.hush-card { min-height: 420px; background: color-mix(in srgb, var(--site-surface) 82%, #114132); }
.transfer-visual { height: 186px; display: flex; align-items: center; justify-content: center; padding: 14px 28px 30px; position: relative; gap: 16px; color: var(--project-teal); }
.device { position: relative; border: 1.5px solid currentColor; border-radius: 8px; opacity: .85; flex: none; }
.device-phone { width: 36px; height: 65px; }
.device-phone::before { content: ""; position: absolute; left: 11px; top: 6px; width: 11px; height: 2px; border-radius: 2px; background: currentColor; }
.device-phone::after { content: ""; position: absolute; left: 14px; bottom: 5px; width: 6px; height: 2px; background: currentColor; }
.device-computer { width: 77px; height: 50px; border-radius: 5px; margin-top: -12px; }
.device-computer::before { content: ""; position: absolute; height: 12px; width: 1px; background: currentColor; bottom: -13px; left: 50%; }
.device-computer::after { content: ""; position: absolute; height: 1.5px; width: 28px; background: currentColor; bottom: -15px; left: calc(50% - 14px); }
.device > span { position: absolute; inset: 10px 5px; background: linear-gradient(135deg, transparent 25%, color-mix(in srgb, var(--project-teal) 8%, transparent) 100%); border-radius: 2px; }
.transfer-path { position: relative; height: 2px; flex: 1; max-width: 70px; background: color-mix(in srgb, var(--project-teal) 20%, transparent); display: flex; justify-content: center; gap: 14px; }
.transfer-packet { width: 5px; height: 5px; background: var(--project-teal); border-radius: 1px; transform: translateY(-2px) rotate(45deg); }
.transfer-caption, .visual-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--site-muted); font-size: calc(9px * var(--site-type, 1)); letter-spacing: .13em; }
.title-icon { object-fit: contain; border-radius: 6px; }
.hush-card .card-body h3 { font-size: calc(29px * var(--site-type, 1)); }

.mikro-card, .voice-card { min-height: 406px; }
.mikro-visual { height: 177px; margin: 25px var(--card-padding) 22px; overflow: hidden; border: 1px solid var(--site-border); border-radius: 9px; background: #14171d; }
.mikro-visual img { width: 100%; height: auto; display: block; transition: transform calc(380ms * var(--site-motion, 1)) var(--ease); }
.mikro-card:hover .mikro-visual img { transform: translateY(-12px); }
.voice-card { background: color-mix(in srgb, var(--site-surface) 86%, #583121); }
.voice-visual { height: 222px; padding: 56px 42px 48px; position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; }
.voice-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--site-accent) 25%, transparent); color: var(--site-accent); }
.voice-mark .icon { width: 28px; height: 28px; }
.waveform { flex: 1; height: 100px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.waveform i { height: var(--bar); width: 5px; background: var(--site-accent); border-radius: 5px; opacity: calc(.42 + var(--n) * .02); transform-origin: center; }
.voice-visual .visual-caption { bottom: 22px; }

.devops-card, .trade-card, .namaz-card { min-height: 370px; }
.terminal-visual { margin: 22px var(--card-padding) 24px; padding: 12px 15px 10px; border-radius: 9px; background: color-mix(in srgb, var(--site-bg) 70%, var(--site-surface)); border: 1px solid var(--site-border); font-family: "Cascadia Code", Consolas, monospace; font-size: 10px; }
.terminal-dots { display: flex; align-items: center; gap: 4px; margin-bottom: 14px; }
.terminal-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--site-muted); opacity: .65; }
.terminal-dots span { margin-left: auto; color: var(--site-muted); font-size: 8px; }
.terminal-visual p { color: var(--site-fg); font-size: 10px; margin-bottom: 7px; }
.terminal-visual p span { color: var(--project-teal); }
.terminal-row { display: flex; justify-content: space-between; gap: 12px; color: var(--site-muted); }
.terminal-row b { color: var(--project-teal); font-weight: 400; }
.terminal-footnote { display: block; margin-top: 9px; font-family: var(--site-font); font-size: 7px; letter-spacing: .08em; color: var(--site-muted); opacity: .8; }
.devops-card .card-body h3 { font-size: calc(25px * var(--site-type, 1)); }
.trade-visual { position: relative; height: 166px; padding: 13px 38px 30px; color: var(--project-blue); }
.trade-visual svg { width: 100%; height: 100%; fill: color-mix(in srgb, var(--site-surface) 50%, var(--site-bg)); stroke: currentColor; stroke-width: 1.3px; }
.trade-visual svg path { fill: none; }
.trade-line { opacity: .35; }
.trade-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.trade-links a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-size: calc(12px * var(--site-type, 1)); color: var(--project-blue); transition: color var(--duration); }
.trade-links a:hover { color: var(--site-fg); }
.trade-links .icon { width: 14px; height: 14px; }
.trade-card h3 { font-size: calc(24px * var(--site-type, 1)); }
.namaz-card { background: color-mix(in srgb, var(--site-surface) 86%, #39402a); }
.namaz-visual { height: 166px; position: relative; display: grid; place-items: center; padding-bottom: 26px; }
.compass { position: relative; width: 101px; height: 101px; border: 1px solid color-mix(in srgb, var(--project-green) 35%, transparent); border-radius: 50%; color: var(--project-green); }
.compass::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--project-green) 15%, transparent); }
.compass > span:not(.compass-needle):not(.compass-center) { position: absolute; font-size: 8px; line-height: 1; opacity: .8; }
.compass-n { top: 9px; left: 47px; }
.compass-s { bottom: 8px; left: 47px; }
.compass-w { left: 9px; top: 46px; }
.compass-e { right: 9px; top: 46px; }
.compass-needle { position: absolute; top: 19px; left: 44px; width: 12px; height: 60px; background: linear-gradient(var(--project-green) 50%, color-mix(in srgb, var(--project-green) 20%, transparent) 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transform: rotate(33deg); transition: transform calc(380ms * var(--site-motion, 1)) var(--ease); }
.namaz-card:hover .compass-needle { transform: rotate(51deg); }
.compass-center { position: absolute; top: 46px; left: 46px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--project-green); background: var(--site-surface); }

.eden-card { flex-direction: row; min-height: 280px; background: color-mix(in srgb, var(--site-surface) 80%, #344225); }
.eden-copy { width: 57%; padding: calc(32px * var(--site-space, 1)); position: relative; z-index: 2; }
.eden-copy h3 { font-size: calc(34px * var(--site-type, 1)); line-height: 1.2; letter-spacing: -.045em; margin: 12px 0 12px; font-weight: 600; }
.eden-copy p { color: var(--site-muted); font-size: calc(14px * var(--site-type, 1)); line-height: 1.75; max-width: 495px; }
.eden-copy .project-link { background: var(--project-green); color: #1b2817; margin-top: 24px; }
.eden-visual { position: relative; width: 43%; min-height: 280px; display: grid; place-items: center; overflow: hidden; }
.eden-orbit { position: absolute; width: 260px; height: 156px; border: 1px solid color-mix(in srgb, var(--project-green) 18%, transparent); border-radius: 50%; transform: rotate(-35deg); }
.orbit-two { transform: rotate(35deg); }
.eden-core { display: grid; place-items: center; width: 98px; height: 98px; border: 1px solid color-mix(in srgb, var(--project-green) 40%, transparent); background: radial-gradient(color-mix(in srgb, var(--project-green) 9%, transparent), transparent); border-radius: 50%; color: var(--project-green); transition: transform calc(380ms * var(--site-motion, 1)) var(--ease); }
.eden-core .icon { width: 46px; height: 46px; stroke-width: 1; }
.eden-card:hover .eden-core { transform: scale(1.07); }
.eden-stage { position: absolute; color: var(--project-green); font-size: 9px; letter-spacing: .1em; background: color-mix(in srgb, var(--site-surface) 80%, #344225); padding: 5px 8px; }
.stage-one { top: 48px; left: 60px; }
.stage-two { top: 86px; right: 16px; }
.stage-three { bottom: 48px; left: 65px; }

.extras-section { margin-top: calc(58px * var(--site-space, 1)); }
.extras-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(24px * var(--site-space, 1)); }
.extra-project { display: flex; align-items: center; gap: 16px; padding: calc(20px * var(--site-space, 1)) 0; border-top: 1px solid var(--site-border); min-width: 0; }
.extra-number { font-size: 10px; color: var(--site-muted); align-self: start; margin-top: 3px; }
.extra-project > div { flex: 1; min-width: 0; }
.extra-project h3 { font-size: calc(15px * var(--site-type, 1)); font-weight: 600; letter-spacing: -.015em; margin-bottom: 4px; transition: color var(--duration); }
.extra-project p { font-size: calc(12px * var(--site-type, 1)); color: var(--site-muted); line-height: 1.5; }
.extra-project > .icon { width: 17px; height: 17px; color: var(--site-muted); transition: transform var(--duration) var(--ease), color var(--duration); }
.extra-project:hover h3, .extra-project:hover > .icon { color: var(--site-accent); }
.extra-project:hover > .icon { transform: translate(2px, -2px); }

.about-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: calc(76px * var(--site-space, 1)); padding: calc(66px * var(--site-space, 1)) 0; margin-top: calc(48px * var(--site-space, 1)); border-top: 1px solid var(--site-border); }
.about-section .eyebrow { font-size: 10px; margin-bottom: 20px; }
.about-section h2 { font-size: calc(33px * var(--site-type, 1)); font-weight: 550; line-height: 1.25; letter-spacing: -.045em; }
.about-section h2 span { color: var(--site-muted); }
.about-verb { white-space: nowrap; }
.about-copy { padding-top: 5px; }
.about-copy p { max-width: 455px; font-size: calc(14px * var(--site-type, 1)); color: var(--site-muted); line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 15px; min-height: 44px; font-size: calc(13px * var(--site-type, 1)); }
.text-link .icon { width: 16px; height: 16px; color: var(--site-accent); }
.site-footer { position: relative; display: flex; align-items: center; gap: 26px; justify-content: space-between; min-height: 90px; border-top: 1px solid var(--site-border); font-size: calc(10px * var(--site-type, 1)); color: var(--site-muted); letter-spacing: .04em; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; transform: scaleX(var(--scroll, 0)); transform-origin: left; background: linear-gradient(90deg, var(--site-accent), color-mix(in srgb, var(--site-accent) 30%, transparent)); }
.footer-stage { flex: none; width: 62px; height: 62px; }
.footer-note { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .08em; margin-right: auto; margin-left: 30px; }
.note-stack { display: grid; }
.note-line { grid-area: 1 / 1; opacity: 0; transform: translateY(4px); transition: opacity calc(480ms * var(--site-motion, 1)) var(--ease), transform calc(480ms * var(--site-motion, 1)) var(--ease); }
.note-line.is-active { opacity: 1; transform: none; }
.status-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--site-accent); }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 136 91 / .45); } 70% { box-shadow: 0 0 0 8px rgb(255 136 91 / 0); } }
.js-motion .status-dot { animation: status-pulse calc(2800ms * var(--site-motion, 1)) var(--ease) infinite; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--site-muted); font-size: calc(11px * var(--site-type, 1)); }
.motion-toggle:hover { color: var(--site-fg); }
.motion-indicator { width: 5px; height: 5px; border-radius: 50%; background: var(--site-accent); }
.motion-toggle[aria-pressed="false"] .motion-indicator { background: var(--site-muted); }
.back-top { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.back-top .icon { width: 15px; height: 15px; transform: rotate(180deg); }

.js-motion [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(16px); }
.js-motion [data-reveal] { transition: opacity calc(360ms * var(--site-motion, 1)) var(--ease), transform calc(360ms * var(--site-motion, 1)) var(--ease), border-color var(--duration); }
@keyframes intro-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes intro-line { from { transform: translateY(118%); } }
@keyframes intro-fade { from { opacity: 0; } }
@keyframes rule-sweep { 0% { transform: scaleX(0); opacity: 1; } 62% { transform: scaleX(1); opacity: .8; } 100% { transform: scaleX(1); opacity: 0; } }
.js-motion .site-header { animation: intro-fade calc(520ms * var(--site-motion, 1)) var(--ease) both; }
.js-motion .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; transform-origin: left; background: linear-gradient(90deg, var(--site-accent), transparent 62%); animation: rule-sweep calc(1100ms * var(--site-motion, 1)) var(--ease) calc(160ms * var(--site-motion, 1)) both; }
.js-motion .hero .eyebrow { animation: intro-rise calc(620ms * var(--site-motion, 1)) var(--ease) calc(110ms * var(--site-motion, 1)) both; }
.js-motion .hero-line > span { animation: intro-line calc(760ms * var(--site-motion, 1)) var(--ease) calc(190ms * var(--site-motion, 1)) both; }
.js-motion .hero-line:nth-child(2) > span { animation-delay: calc(310ms * var(--site-motion, 1)); }
.js-motion .hero-stage .lab-glyph { animation: intro-fade calc(700ms * var(--site-motion, 1)) var(--ease) calc(420ms * var(--site-motion, 1)) both; }
.js-motion .hero-stage > .scene-caption { animation: intro-fade calc(600ms * var(--site-motion, 1)) var(--ease) calc(820ms * var(--site-motion, 1)) both; }
.js-motion .hero-aside p { animation: intro-rise calc(700ms * var(--site-motion, 1)) var(--ease) calc(430ms * var(--site-motion, 1)) both; }
.js-motion .hero-cta { animation: intro-rise calc(700ms * var(--site-motion, 1)) var(--ease) calc(540ms * var(--site-motion, 1)) both; }
@keyframes materialize {
  from { -webkit-text-fill-color: transparent; -webkit-text-stroke-color: var(--site-accent); background-position: 0 0, 0 0; }
  72% { -webkit-text-fill-color: transparent; -webkit-text-stroke-color: var(--site-accent); }
  to { -webkit-text-fill-color: var(--site-accent); -webkit-text-stroke-color: transparent; background-position: 0 100%, 0 100%; }
}
.js-motion .hero-emphasis.is-split { -webkit-text-stroke: 1px transparent; }
.js-motion .hero-emphasis.is-split .hero-letter {
  display: inline-block;
  padding: .22em .06em .3em;
  margin: -.22em -.06em -.3em;
  background-image:
    linear-gradient(0deg, transparent 44%, rgba(255, 226, 208, .95) 48% 52%, transparent 56%),
    linear-gradient(0deg, var(--site-accent) 50%, transparent 50.5%);
  background-size: 100% 230%, 100% 230%;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: calc(var(--px, 0) * 4px) calc(var(--py, 0) * 3px) 0 rgb(255 240 226 / calc(55% * var(--sheen, 0)));
  animation: materialize calc(460ms * var(--site-motion, 1)) var(--ease) calc((560ms + var(--i) * 58ms) * var(--site-motion, 1)) both;
}
@property --sheen { syntax: '<number>'; initial-value: 0; inherits: true; }
.hero { --px: 0; --py: 0; --sheen: 0; }
@media (hover: hover) and (pointer: fine) {
  .hero { transition: --sheen var(--duration) var(--ease); }
  .js-motion .hero-main { transform: translate3d(calc(var(--px) * -6px), calc(var(--py) * -3px), 0); will-change: transform; }
  .js-motion .hero-stage { transform: translate3d(calc(var(--px) * 8px), calc(var(--py) * 5px), 0); will-change: transform; }
}
@keyframes forge {
  from { opacity: 0; transform: translateY(.42em) rotate(-7deg) scale(.84); color: var(--tint); }
  46% { opacity: 1; color: var(--tint); }
  to { opacity: 1; transform: none; color: var(--site-muted); }
}
.js-motion .about-verb.is-forging .ink {
  display: inline-block;
  animation: forge calc(640ms * var(--site-motion, 1)) var(--ease) calc(var(--i) * 46ms * var(--site-motion, 1)) both;
}
@keyframes waveform { 50% { transform: scaleY(.7); } }
@keyframes transfer { 50% { transform: translate(7px, -2px) rotate(45deg); opacity: .5; } }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .voice-card:hover .waveform i { animation: waveform calc(600ms * var(--site-motion, 1)) var(--ease) 2; animation-delay: calc(var(--n) * 12ms * var(--site-motion, 1)); }
  html:not([data-motion="off"]) .hush-card:hover .transfer-packet { animation: transfer calc(600ms * var(--site-motion, 1)) var(--ease) 2; }
}
html[data-motion="off"] { scroll-behavior: auto; --site-motion: 0; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }

@media (min-width: 1500px) { .site-shell { width: min(100% - 160px, 1260px); } }
@media (max-width: 1100px) {
  .site-shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  .hero-stage { height: calc(172px * var(--site-space, 1)); }
  h1 { font-size: calc(52px * var(--site-type, 1)); }
  :root { --card-padding: calc(23px * var(--site-space, 1)); }
  .tech-label { font-size: calc(10px * var(--site-type, 1)); }
  .trade-card h3 { font-size: calc(21px * var(--site-type, 1)); }
  .waveform { gap: 4px; }
  .waveform i { width: 4px; }
  .voice-visual { padding-left: 30px; padding-right: 30px; gap: 16px; }
  .image-credit { display: none; }
  .transfer-visual { gap: 10px; padding-left: 22px; padding-right: 22px; }
  .stage-one { left: 35px; }
  .stage-three { left: 40px; }
  .footer-note { margin-left: 0; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding: calc(54px * var(--site-space, 1)) 0; gap: 28px; }
  h1 { font-size: calc(58px * var(--site-type, 1)); max-width: 690px; }
  .hero-aside { display: grid; grid-template-columns: 172px minmax(0, 1fr); align-items: center; gap: 12px 26px; }
  .hero-aside p { max-width: 480px; }
  .hero-stage { grid-row: span 2; height: 142px; margin-bottom: 0; }
  .hero-stage > .scene-caption { font-size: calc(8px * var(--site-type, 1)); letter-spacing: .06em; }
  .hero-stage .glyph-caption { display: none; }
  .hero-cta { margin-top: 0; white-space: nowrap; }
  .span-8 { grid-column: span 12; }
  .span-4 { grid-column: span 6; }
  .hush-card { min-height: 390px; }
  .mikro-card { min-height: 390px; }
  .voice-card { grid-column: span 12; min-height: 340px; }
  .voice-visual { height: 160px; padding: 25px 80px 40px; }
  .voice-card .card-body p { max-width: 100%; }
  .devops-card, .trade-card, .namaz-card { min-height: 370px; }
  .namaz-card { grid-column: span 12; min-height: 265px; }
  .namaz-card .namaz-visual { position: absolute; top: 70px; right: 32px; width: 180px; height: 140px; }
  .namaz-card .namaz-visual .visual-caption { font-size: 8px; bottom: 0; }
  .namaz-card .card-body { width: calc(100% - 200px); margin-top: 35px; }
  .namaz-card .card-footer { margin-top: 14px; }
  .eden-copy { width: 60%; }
  .eden-visual { width: 40%; }
  .eden-orbit { width: 220px; height: 135px; }
  .stage-one { left: 0; top: 64px; }
  .stage-two { right: 0; top: 105px; }
  .stage-three { left: 0; bottom: 64px; }
  .extras-grid { grid-template-columns: 1fr; gap: 0; }
  .extra-project { padding: 20px 0; }
  .extras-section .section-note { display: none; }
  .about-section { gap: 35px; grid-template-columns: 1fr 1fr; }
  .about-section h2 { font-size: calc(28px * var(--site-type, 1)); }
  .footer-note { display: none; }
}
@media (max-width: 560px) {
  .site-shell { width: calc(100% - 36px); }
  .site-header { min-height: 83px; gap: 0 14px; flex-wrap: wrap; padding: 16px 0; }
  .wordmark { font-size: calc(12px * var(--site-type, 1)); gap: 8px; }
  .brand-mark { width: 31px; height: 31px; font-size: 26px; border-radius: 8px; }
  .wordmark-divider { margin: 0 5px; }
  .header-nav { gap: 16px; font-size: calc(12px * var(--site-type, 1)); }
  .header-nav a[href="#about"] { display: none; }
  .github-nav .icon { width: 13px; height: 13px; }
  .hero { padding: calc(43px * var(--site-space, 1)) 0 calc(40px * var(--site-space, 1)); gap: 24px; }
  .hero .eyebrow { font-size: calc(9px * var(--site-type, 1)); letter-spacing: .1em; margin-bottom: 21px; gap: 8px; }
  h1 { font-size: calc(clamp(37px, 10.4vw, 56px) * var(--site-type, 1)); line-height: 1.12; letter-spacing: -.055em; }
  .hero-aside { display: block; }
  .hero-stage { height: 152px; margin-bottom: 12px; }
  .hero-stage .glyph-caption { display: block; }
  .hero-aside p { font-size: calc(15px * var(--site-type, 1)); line-height: 1.75; max-width: 360px; }
  .hero-cta { margin-top: 12px; font-size: calc(14px * var(--site-type, 1)); }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: calc(15px * var(--site-type, 1)); }
  .section-note { display: none; }
  .project-grid { gap: calc(14px * var(--site-space, 1)); }
  .span-4, .span-6, .span-8, .span-12 { grid-column: span 12; }
  :root { --card-padding: calc(24px * var(--site-space, 1)); }
  .astro-card { min-height: 390px; }
  .astro-image { object-position: 58% 50%; }
  .astro-content h3 { font-size: calc(35px * var(--site-type, 1)); }
  .astro-content p { font-size: calc(15px * var(--site-type, 1)); }
  .astro-content { max-width: 100%; }
  .feature-kicker { font-size: calc(8px * var(--site-type, 1)); }
  .astro-content .project-link { font-size: calc(12px * var(--site-type, 1)); gap: 12px; padding-left: 12px; padding-right: 12px; }
  .hush-card { min-height: 370px; }
  .transfer-visual { height: 150px; padding-left: 48px; padding-right: 48px; }
  .card-body h3 { font-size: calc(26px * var(--site-type, 1)); }
  .card-body p { font-size: calc(15px * var(--site-type, 1)); }
  .tech-label { font-size: calc(11px * var(--site-type, 1)); }
  .mikro-card { min-height: 390px; }
  .mikro-visual { height: 154px; }
  .voice-card { min-height: 365px; }
  .voice-visual { height: 172px; padding: 30px 26px 46px; gap: 16px; }
  .voice-mark { width: 46px; height: 46px; border-radius: 12px; }
  .waveform { height: 80px; gap: 4px; }
  .waveform i { width: 4px; }
  .devops-card, .trade-card, .namaz-card { min-height: 360px; }
  .terminal-visual { margin-top: 22px; }
  .trade-card h3 { font-size: calc(25px * var(--site-type, 1)); }
  .trade-links a { font-size: calc(13px * var(--site-type, 1)); }
  .namaz-card .namaz-visual { position: relative; inset: auto; width: auto; height: 156px; }
  .namaz-card .namaz-visual .visual-caption { font-size: 9px; bottom: 17px; }
  .namaz-card .card-body { width: auto; margin-top: auto; }
  .eden-card { display: block; }
  .eden-copy { width: 100%; padding: 25px var(--card-padding) 22px; }
  .eden-copy h3 { font-size: calc(30px * var(--site-type, 1)); }
  .eden-copy p { font-size: calc(15px * var(--site-type, 1)); }
  .eden-visual { width: 100%; min-height: 190px; }
  .eden-orbit { width: 220px; height: 120px; }
  .eden-core { width: 76px; height: 76px; }
  .eden-core .icon { width: 36px; height: 36px; }
  .stage-one { top: 27px; left: 40px; }
  .stage-two { top: 55px; right: 17px; }
  .stage-three { bottom: 22px; left: 33px; }
  .extras-section { margin-top: 40px; }
  .extra-project h3 { font-size: calc(16px * var(--site-type, 1)); }
  .extra-project p { font-size: calc(13px * var(--site-type, 1)); }
  .about-section { grid-template-columns: 1fr; gap: 24px; padding: calc(40px * var(--site-space, 1)) 0; margin-top: 28px; }
  .about-section h2 { font-size: calc(29px * var(--site-type, 1)); }
  .about-copy p { font-size: calc(15px * var(--site-type, 1)); }
  .site-footer { flex-wrap: wrap; padding: 15px 0; gap: 4px 20px; }
  .footer-stage { display: none; }
  .site-footer > span { width: 100%; }
  .motion-toggle { margin-right: auto; }
}
.projects-3d-canvas { position: fixed; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.object-stage { position: relative; }
.scene-caption { display: none; }
.project-card .object-stage > .scene-caption { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; padding: 0 8px; color: var(--site-muted); font-family: var(--site-font); font-size: calc(8px * var(--site-type, 1)); line-height: 1.45; letter-spacing: .09em; }
.object-stage.scene-ready > :not(.scene-caption) { visibility: hidden; }
.object-stage.scene-ready > .scene-caption { display: block; }
.astro-stage { position: absolute; top: 62px; right: 18px; width: 46%; height: 306px; z-index: 2; }
.astro-card.has-3d .astro-image { opacity: .17; }
.astro-card.has-3d .image-credit { display: none; }
.astro-card, .hush-card { min-height: 448px; }
.transfer-visual.object-stage { height: 218px; }
.mikro-card, .voice-card { min-height: 452px; }
.mikro-visual.object-stage { height: 219px; border-color: color-mix(in srgb, var(--site-border) 50%, transparent); }
.mikro-visual.scene-ready > img { visibility: visible; opacity: .07; transform: none; }
.voice-visual.object-stage { height: 228px; }
.terminal-visual.object-stage { height: 206px; position: relative; background: transparent; border-color: transparent; }
.trade-visual.object-stage, .namaz-visual.object-stage { height: 206px; }
.devops-card, .trade-card, .namaz-card { min-height: 418px; }
.motion-toggle:disabled { cursor: default; opacity: .65; }
@media (max-width: 850px) {
  .astro-stage { width: 49%; }
  .voice-visual.object-stage { height: 220px; }
  .namaz-card { min-height: 295px; }
  .namaz-card .namaz-visual.object-stage { width: 200px; height: 170px; top: 70px; right: 24px; }
  .namaz-card .card-body { width: calc(100% - 205px); }
}
@media (max-width: 560px) {
  .astro-card { min-height: 530px; }
  .astro-stage { position: relative; inset: auto; width: calc(100% - 32px); height: 224px; margin: 0 auto; flex: none; order: 1; }
  .astro-card .card-top { order: 0; }
  .astro-card .astro-content { order: 2; }
  .hush-card, .mikro-card, .voice-card { min-height: 420px; }
  .transfer-visual.object-stage, .mikro-visual.object-stage, .voice-visual.object-stage { height: 211px; }
  .devops-card, .trade-card, .namaz-card { min-height: 402px; }
  .terminal-visual.object-stage { height: 189px; }
  .trade-visual.object-stage { height: 195px; }
  .namaz-card .namaz-visual.object-stage { position: relative; inset: auto; width: auto; height: 196px; }
  .namaz-card .card-body { width: auto; }
  .eden-visual.object-stage { min-height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-motion [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}
