/* Editorial foundations. Content is visible before animation initializes. */
:root { color-scheme: dark; --bg: #171916; --surface: #20231e; --text: #f1f1e9; --muted: #a1a69b; --line: #373b32; --accent: #d5ff64; --ink: #171916; --paper: #eeeee5; --display: 'Manrope', sans-serif; --body: 'DM Sans', sans-serif; --mono: 'Space Mono', monospace; }
:root[data-theme='light'] { color-scheme: light; --bg: #f4f3ed; --surface: #e9e9df; --text: #20251b; --muted: #626959; --line: #d0d3c6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px var(--body); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; border: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
img, canvas { display: block; max-width: 100%; }
p, h1, h2, h3, h4, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[data-theme='light'] :focus-visible { outline-color: #52652d; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--accent); color: var(--ink); padding: 15px 24px; }
.skip-link:focus { top: 10px; }
.boot-fallback { padding: 12vw 6vw; }
.boot-fallback h1 { font-size: clamp(3rem, 8vw, 7rem); margin: 30px 0; }
.shell { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 110px; }
.eyebrow { font: 400 10px/1.7 var(--mono); letter-spacing: 1.4px; }
.muted { color: var(--muted); }
.section-index { color: var(--muted); margin-right: 18px; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 45px; }
.section-note { color: var(--muted); font-size: 12px; }
h2 { font: 500 clamp(34px, 4.3vw, 66px)/1.13 var(--display); letter-spacing: -2.7px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 45px; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.8; padding-bottom: 5px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #d5ff6410; }
[data-theme='light'] .availability .status-dot { background: #597522; }
.availability { display: inline-flex; align-items: center; gap: 11px; font-size: 11px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 19px 23px; font-size: 12px; font-weight: 600; min-height: 54px; transition: background .25s, color .25s; }
.button svg { width: 18px; height: 18px; }
.button-lime { background: var(--accent); color: var(--ink); }
.button-lime:hover { background: #e7ffa3; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 13px; border-bottom: 1px solid currentColor; padding-block: 8px; }
.text-link svg { width: 18px; height: 18px; transition: transform .25s; }
.text-link:hover svg { transform: translate(3px, -3px); }
.icon-button { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; transition: background .2s; }
.icon-button:hover { background: var(--surface); }
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 60; }

/* Navigation */
.site-header { height: 92px; padding: 0 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 40; }
.wordmark { font: 800 33px/.9 var(--display); letter-spacing: -2.2px; }
.wordmark > span { color: var(--accent); display: inline-block; font-size: 15px; vertical-align: top; margin-left: 5px; letter-spacing: 0; }
[data-theme='light'] .wordmark > span { color: #52652d; }
.desktop-nav { display: flex; align-items: center; gap: 38px; margin-left: 70px; }
.desktop-nav a { font-size: 12px; color: var(--muted); padding: 10px 0; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--text); }
.desktop-nav a span { font: 8px var(--mono); vertical-align: super; margin-left: 4px; color: var(--accent); }
[data-theme='light'] .desktop-nav a span { color: #52652d; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.theme-toggle { border: 0; width: 34px; height: 34px; }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.3; width: 19px; height: 19px; }
.header-designs { font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); padding-block: 4px; display: none; }
.header-designs:hover { color: var(--text); border-color: var(--text); }
@media (min-width: 900px) { .header-designs { display: inline-block; } }
.header-contact { display: flex; align-items: center; gap: 25px; font-size: 12px; }
.header-contact svg { width: 17px; height: 17px; color: var(--accent); }
[data-theme='light'] .header-contact svg { color: var(--text); }
.menu-toggle { display: none; }
.mobile-menu { position: fixed; inset: 76px 0 auto; background: var(--bg); z-index: 39; padding: 25px; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 76px); overflow: auto; box-shadow: 0 25px 30px #0003; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; font: 500 25px var(--display); }

/* Opening composition */
.hero { padding-top: 35px; }
.hero-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hero-topline .eyebrow { font-size: 9px; letter-spacing: 1.5px; color: var(--muted); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; padding-block: 48px 38px; position: relative; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-intro { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-bottom: 25px; }
.short-line { width: 25px; height: 1px; background: var(--accent); }
.hero h1 { font: 500 clamp(62px, 7.8vw, 120px)/1.045 var(--display); letter-spacing: -6px; margin-left: -5px; }
.title-line { display: block; overflow: hidden; padding-bottom: 7px; margin-bottom: -7px; }
.title-line > span { display: inline-block; transform-origin: left bottom; }
.hero h1 .outline-type { font-size: .83em; -webkit-text-stroke: 1px var(--text); color: transparent; letter-spacing: -3px; }
.accent-dot { color: var(--accent); }
[data-theme='light'] .accent-dot { color: #7d9f2d; }
.hero-description { max-width: 360px; margin: 30px 0 27px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.hero-art { width: 100%; height: clamp(400px, 39vw, 590px); position: relative; min-width: 0; isolation: isolate; overflow: clip; background: radial-gradient(ellipse at 55% 48%, #2c3422 0%, #17191600 65%); }
[data-theme='light'] .hero-art { background: radial-gradient(ellipse at 55% 48%, #d8e0c3 0%, #f4f3ed00 65%); }
.hero-art::before { content: ''; position: absolute; left: 9%; right: 5%; top: 14%; bottom: 14%; border: 1px solid #89917716; border-radius: 50%; transform: rotate(-35deg); }
.art-grid { position: absolute; inset: 3% 0; background-image: linear-gradient(#7b8a6510 1px, transparent 1px), linear-gradient(90deg, #7b8a6510 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse, #0009, transparent 70%); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.art-coordinate { font: 8px var(--mono); letter-spacing: 1px; color: var(--muted); position: absolute; z-index: 2; }
.coordinate-top { top: 0; left: 11%; }
.coordinate-side { right: -26px; top: 49%; transform: rotate(90deg); font-size: 7px; }
.art-caption { position: absolute; bottom: 0; left: 11%; right: 4%; display: flex; align-items: center; justify-content: space-between; z-index: 2; gap: 12px; }
.art-caption > span { display: flex; align-items: center; gap: 10px; font: 8px var(--mono); letter-spacing: 1px; }
.art-caption .status-dot { width: 4px; height: 4px; }
.scene-toggle { font: 8px var(--mono); color: var(--muted); background: none; text-decoration: underline; text-underline-offset: 4px; padding: 12px 0; min-height: 36px; }
.scene-toggle:disabled { opacity: .6; }
.scene-fallback { position: absolute; inset: 16% 9%; perspective: 700px; }
.fallback-ring { position: absolute; width: 65%; aspect-ratio: 1; top: 12%; left: 12%; border: 40px solid #d5ff64; border-radius: 50%; box-shadow: inset 7px 0 20px #2229, 10px 15px 25px #0004; }
.ring-one { transform: rotateX(48deg) rotateY(-25deg) rotateZ(25deg); }
.ring-two { transform: translate(38px, 20px) rotateY(65deg) rotateX(30deg); border-color: #d6d6c8; }
.ring-three { transform: translate(-30px, -20px) rotateY(50deg) rotateX(-25deg); border-width: 12px; border-color: #939f7e; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 23px 0 28px; gap: 20px; }
.scroll-cue { display: flex; align-items: center; gap: 11px; font: 8px var(--mono); letter-spacing: 1px; }
.circle-arrow { border: 1px solid var(--line); border-radius: 50%; width: 31px; height: 31px; display: grid; place-items: center; font-size: 14px; }
.hero-specialties { font: 8px var(--mono); letter-spacing: 1px; color: var(--muted); }
.hero-specialties i { font-style: normal; color: var(--accent); padding: 0 12px; }
.location-label { font: 8px/1.8 var(--mono); letter-spacing: 1px; }
.small-globe { font-size: 16px; margin-left: 8px; vertical-align: middle; }
.tech-ribbon { border-block: 1px solid var(--line); padding: 28px 0; overflow: hidden; background: var(--surface); }
.ribbon-track { display: flex; width: max-content; align-items: center; gap: 45px; padding-right: 45px; }
.ribbon-track > span { font: 600 23px var(--display); letter-spacing: -.8px; white-space: nowrap; color: var(--muted); }
.ribbon-track > .ribbon-star { color: var(--accent); font-size: 25px; }
[data-theme='light'] .ribbon-track > .ribbon-star { color: #6c862f; }

/* Project studies and illustrative interfaces */
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-button { display: flex; align-items: center; gap: 9px; background: transparent; border: 1px solid var(--line); padding: 10px 17px; border-radius: 50px; color: var(--muted); font-size: 10px; min-height: 38px; transition: background .25s, color .25s; }
.filter-button > span { font-size: 8px; }
.filter-button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-button:hover:not(.active) { color: var(--text); background: var(--surface); }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 25px; }
.project-card { min-width: 0; position: relative; }
.project-open { text-align: left; display: block; width: 100%; padding: 0; background: none; }
.project-open::after { content: ''; position: absolute; inset: 0; z-index: 4; }
.project-card:focus-within { outline: 2px solid var(--muted); outline-offset: 6px; }
.project-visual { aspect-ratio: 1.45; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 40px 25px; background: #dce5cf; }
.visual-1 { background: #d0d7e0; }
.visual-2 { background: #dbd4e7; }
.visual-3 { background: #e8ded1; }
.project-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at top left, #fff4, transparent 70%); }
.preview-label { position: absolute; top: 17px; left: 20px; font: 7px var(--mono); letter-spacing: 1.1px; color: #4c5745; z-index: 2; }
.mock-window { width: 100%; background: #fafbf8; color: #262c25; border: 1px solid #fff9; box-shadow: 0 20px 45px #2223; border-radius: 7px; transform: rotate(-4deg) translateY(7px); transition: transform .65s cubic-bezier(.2,.7,.2,1); overflow: hidden; pointer-events: none; }
.project-card:hover .mock-window { transform: rotate(0) translateY(-3px) scale(1.03); }
.project-card:hover .project-arrow { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: rotate(45deg); }
.project-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 19px; }
.project-heading h3 { font: 500 clamp(15px, 1.5vw, 21px)/1.4 var(--display); letter-spacing: -.5px; }
.project-arrow { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: background .25s, transform .3s, color .25s; }
.project-arrow svg { width: 15px; height: 15px; }
.project-tags { display: flex; flex-wrap: wrap; margin-top: 8px; gap: 8px 15px; font: 8px/1.5 var(--mono); color: var(--muted); }
.project-tags span + span::before { content: '/'; padding-right: 15px; color: var(--line); }
.project-view { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 11px 15px; background: var(--ink); color: #fff; border-radius: 40px; font-size: 10px; transform: translateY(60px); transition: transform .3s; z-index: 3; }
.project-view svg { width: 13px; height: 13px; }
.project-card:hover .project-view, .project-card:focus-within .project-view { transform: translateY(0); }
.mock-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e5e8e2; font-size: 10px; }
.mock-brand { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; letter-spacing: -.6px; }
.mock-brand b { font-weight: 400; font-size: 7px; border: 1px solid #c8cebc; padding: 2px 3px; border-radius: 3px; margin-left: 3px; }
.tiny-spark { font-size: 20px; margin-right: 3px; }
.mock-dots { color: #9b9f95; font-size: 11px; letter-spacing: 2px; }
.ai-body { padding: 20px 28px 18px; text-align: center; }
.ai-orb { width: 39px; height: 39px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 12px; background: #e6efda; transform: rotate(-12deg); }
.ai-orb svg { width: 22px; height: 22px; }
.ai-body > p { font: 500 clamp(15px, 1.6vw, 25px)/1.3 var(--display); letter-spacing: -.7px; }
.mock-prompt { background: #fff; border: 1px solid #dce1d5; border-radius: 6px; padding: 10px; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 7px; color: #878c7f; box-shadow: 0 3px 10px #00000004; }
.mock-prompt > span { background: #d5ff64; color: #20251b; display: grid; place-items: center; padding: 3px; border-radius: 4px; }
.mock-prompt svg { width: 13px; height: 13px; }
.mock-chips { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.mock-chips > span { font-size: 6px; border: 1px solid #e0e4d9; border-radius: 4px; padding: 4px 7px; }
.mock-bottom { padding: 10px 16px; font: 5px var(--mono); letter-spacing: 1px; display: flex; align-items: center; gap: 6px; border-top: 1px solid #e5e8e2; }
.mock-bottom .status-dot { width: 4px; height: 4px; background: #6f8c3e; }
.dashboard-window { display: flex; transform: rotate(4deg) translateY(7px); min-height: 265px; }
.dashboard-sidebar { width: 44px; background: #222b3e; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.dashboard-logo { font: 700 28px var(--display); color: #fff; margin: 8px 0; }
.dashboard-logo > span { color: #b8c9ff; }
.dashboard-sidebar > i { border: 1px solid #92a3c3; width: 10px; height: 10px; border-radius: 2px; }
.dashboard-main { flex: 1; min-width: 0; padding: 0 15px 16px; background: #f7f8fb; }
.dashboard-main .mock-top { padding: 14px 0; font-size: 10px; font-weight: 500; }
.mock-avatar { border-radius: 50%; background: #d5dfef; padding: 4px 6px; font-size: 6px; }
.mock-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; }
.mock-metrics > div { background: #fff; padding: 10px; border: 1px solid #e5e9f0; border-radius: 5px; }
.mock-metrics small { display: block; font-size: 6px; color: #7c8291; }
.mock-metrics strong { font: 600 clamp(14px, 1.5vw, 23px)/1.8 var(--display); letter-spacing: -.6px; }
.mock-metrics em { display: block; font-size: 5px; font-style: normal; color: #64826b; }
.mock-chart { margin-top: 12px; background: #fff; border: 1px solid #e5e9f0; padding: 12px; border-radius: 5px; }
.chart-label { display: flex; justify-content: space-between; font-size: 7px; }
.chart-label small { font-size: 5px; color: #7c8291; }
.chart-bars { display: flex; height: 72px; gap: 6px; align-items: end; padding-top: 14px; background: repeating-linear-gradient(to top, #eef0f5 0 1px, transparent 1px 24px); }
.chart-bars i { height: var(--bar); background: #b8c9f0; flex: 1; border-radius: 2px 2px 0 0; }
.chart-bars i:nth-child(3n) { background: #667fac; }
.chart-months { display: flex; justify-content: space-between; font-size: 5px; color: #7c8291; margin-top: 5px; }
.shop-window { background: #f5f0e8; transform: rotate(4deg) translateY(7px); }
.shop-window .mock-top { border-color: #ded9d0; font-size: 6px; }
.shop-brand { font: 600 13px var(--display); letter-spacing: -1px; }
.shop-brand sup { font-size: 5px; vertical-align: top; margin-left: 2px; }
.shop-body { position: relative; min-height: 230px; padding: 25px 20px; overflow: hidden; }
.shop-body > small { font: 5px var(--mono); letter-spacing: 1px; }
.shop-body > p { font: 24px/1.15 Georgia, serif; letter-spacing: -.8px; margin-top: 13px; position: relative; z-index: 2; }
.vase { position: absolute; width: 95px; height: 125px; border-radius: 35% 35% 40% 40%; bottom: 10px; right: 35px; background: linear-gradient(90deg, #7e4d32, #c19870 35%, #af7e55 60%, #694129); box-shadow: 14px 8px 16px #60412625; transform: rotate(7deg); }
.vase::before { content: ''; position: absolute; width: 44%; height: 40px; border-radius: 10px 10px 20% 20%; background: inherit; top: -25px; left: 28%; }
.vase::after { content: ''; position: absolute; width: 40%; height: 8px; border-radius: 50%; background: #593d2a; top: -25px; left: 30%; }
.vase-two { transform: scale(.7) rotate(-8deg); right: 100px; bottom: -10px; background: linear-gradient(90deg, #727158, #bcbba3 40%, #8b8b6e 80%, #62624d); }
.shop-link { position: absolute; left: 20px; bottom: 22px; font-size: 6px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid; padding-bottom: 4px; z-index: 3; }
.shop-link svg { width: 10px; height: 10px; }
.work-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); padding: 48px 0 25px; }
.work-bottom .eyebrow { color: var(--muted); font-size: 8px; }

/* About */
.about-section { background: var(--paper); color: var(--ink); }
.about-section :focus-visible { outline-color: var(--ink); }
.about-section .section-index { color: #777e6d; }
.asterisk { font: 70px/.8 var(--display); color: #5a693c; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.about-grid h2 { font-size: clamp(36px, 4.3vw, 64px); }
.identity-card { width: 100%; max-width: 360px; aspect-ratio: 1.28; margin-top: 38px; padding: 20px; background: #e0e2d4; border: 1px solid #ced1c0; position: relative; overflow: hidden; }
.identity-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 35px, #626c4610 35px 36px); }
.identity-card > .eyebrow { font-size: 7px; position: relative; }
.identity-mark { height: 65%; position: relative; font: 800 140px/.95 var(--display); letter-spacing: -20px; text-align: center; color: #596445; }
.identity-mark > span { -webkit-text-stroke: 1px #596445; color: transparent; }
.identity-mark > i { position: absolute; font: normal 50px var(--display); right: 5%; top: 3%; color: #7b8960; }
.identity-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: absolute; bottom: 20px; left: 20px; right: 20px; font-size: 12px; }
.identity-bottom small { display: block; font-size: 8px; color: #6c745f; margin-top: 4px; }
.identity-code { font: 20px var(--mono); letter-spacing: -3px; color: #6d765e; }
.about-copy { padding-top: 6px; }
.about-copy > .about-lead { font: 500 clamp(23px, 2.3vw, 34px)/1.4 var(--display); letter-spacing: -1px; color: var(--ink); margin-bottom: 24px; }
.about-lead > span { color: #687854; }
.about-copy > p { color: #686e60; font-size: 13px; line-height: 1.95; margin-bottom: 17px; }
.about-copy .text-link { font-size: 11px; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cdd0c2; margin-top: 36px; padding-top: 25px; gap: 18px; }
.stats > div { display: flex; flex-direction: column; gap: 6px; }
.stats strong { font: 500 clamp(32px, 3.5vw, 52px)/1.1 var(--display); letter-spacing: -2px; }
.stats > div > span { font-size: 9px; color: #747a6a; }

/* Capabilities and experience */
.expertise-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 9%; }
.expertise-intro h2 { font-size: clamp(33px, 3.7vw, 53px); letter-spacing: -2px; }
.expertise-intro > p { font-size: 13px; line-height: 1.9; max-width: 280px; color: var(--muted); margin-top: 24px; }
.capability-symbol { width: 165px; height: 165px; position: relative; margin: 50px 0 0 30px; }
.capability-symbol > span { width: 100%; height: 60%; position: absolute; top: 20%; border: 1px solid #8c9c6670; border-radius: 50%; }
.capability-symbol > span:nth-child(2) { transform: rotate(60deg); }
.capability-symbol > span:nth-child(3) { transform: rotate(120deg); }
.capability-symbol > i { position: absolute; inset: 0; display: grid; place-items: center; font: normal 45px var(--display); color: var(--accent); }
[data-theme='light'] .capability-symbol > i { color: #52652d; }
.capability { border-bottom: 1px solid var(--line); }
.capability:first-child { border-top: 1px solid var(--line); }
.capability summary { display: flex; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; }
.capability summary::-webkit-details-marker { display: none; }
.capability-number { color: var(--muted); font: 9px var(--mono); }
.capability h3 { font: 500 clamp(14px, 1.5vw, 21px)/1.5 var(--display); letter-spacing: -.5px; flex: 1; }
.capability-plus { color: var(--muted); transition: transform .3s; }
.capability-plus svg { width: 18px; height: 18px; display: block; }
.capability[open] .capability-plus { transform: rotate(45deg); color: var(--accent); }
[data-theme='light'] .capability[open] .capability-plus { color: #52652d; }
.capability-content { padding: 0 30px 27px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tags > span { font: 8px/1.5 var(--mono); color: var(--muted); border: 1px solid var(--line); padding: 6px 9px; border-radius: 3px; }
.experience-section { padding-top: 0; }
.experience-section .section-top { border-top: 1px solid var(--line); padding-top: 65px; align-items: flex-start; }
.experience-section h2 { font-size: clamp(33px, 3.7vw, 53px); width: 52.3%; letter-spacing: -2px; }
.experience-row { display: grid; grid-template-columns: .85fr 1.3fr 30px; gap: 40px; padding: 35px 0; border-top: 1px solid var(--line); }
.experience-row:last-child { border-bottom: 1px solid var(--line); }
.experience-date { font: 10px var(--mono); color: var(--muted); padding-top: 4px; }
.current-label { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 7px; margin-top: 15px; }
.current-label .status-dot { width: 4px; height: 4px; }
.company { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.experience-row h3, .education-row h4 { font: 500 21px/1.5 var(--display); letter-spacing: -.7px; }
.experience-meta { font-size: 11px; line-height: 1.8; color: var(--muted); margin-top: 10px; }
.experience-meta + .skill-tags { margin-top: 16px; }
.education-block { margin-top: 50px; }
.education-block > .eyebrow { color: var(--muted); margin-bottom: 22px; }
.education-field { color: var(--muted); font-size: 13px; margin-top: 10px; }
.experience-description { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 15px 0 20px; max-width: 620px; }
.experience-number { font: 10px var(--mono); color: var(--muted); text-align: right; }

/* Manual testimonials avoid unsolicited carousel motion. */
.testimonials-section { background: var(--surface); border-block: 1px solid var(--line); padding-block: 60px 70px; }
.quote-controls { display: flex; align-items: center; gap: 18px; }
.quote-controls .icon-button { width: 34px; height: 34px; font-size: 18px; }
.quote-count { font: 9px var(--mono); color: var(--muted); }
.quote-stage { min-height: 270px; }
.quote { position: relative; max-width: 980px; margin: auto; padding-left: 55px; }
.quote-mark { position: absolute; top: -10px; left: -8px; font: 100px/1 Georgia, serif; color: var(--accent); }
[data-theme='light'] .quote-mark { color: #718d39; }
.quote blockquote { margin: 0; font: 400 clamp(22px, 2.6vw, 38px)/1.5 var(--display); letter-spacing: -1px; }
.quote figcaption { display: flex; align-items: center; gap: 15px; margin-top: 35px; }
.quote-avatar { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 10px var(--mono); color: var(--accent); }
[data-theme='light'] .quote-avatar { color: var(--text); }
.quote figcaption strong { display: block; font-size: 11px; font-weight: 500; }
.quote figcaption small { display: block; font-size: 9px; color: var(--muted); margin-top: 5px; }
.quote-line { flex: 1; background: var(--line); height: 1px; margin: 0 10px 0 25px; }
.quote figcaption .eyebrow { font-size: 7px; color: var(--muted); }

/* Contact */
.contact-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 60px; }
.contact-main h2 { font-size: clamp(40px, 5.7vw, 85px); letter-spacing: -4px; }
.contact-main h2 span { color: var(--accent); }
[data-theme='light'] .contact-main h2 span { color: #627e2a; }
.contact-main p { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 25px; }
.contact-orb { flex-shrink: 0; width: 155px; height: 155px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin-right: 4%; transition: background .3s; }
.contact-orb svg { width: 48px; height: 48px; stroke-width: 1; }
.contact-orb span { font: 8px var(--mono); letter-spacing: 1px; }
.contact-orb:hover { background: #e4ff9f; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 9%; padding-top: 45px; border-top: 1px solid var(--line); }
.contact-details .eyebrow { color: var(--muted); font-size: 8px; }
.contact-email { font: 500 clamp(18px, 2vw, 28px)/1.5 var(--display); display: flex; align-items: center; gap: 15px; margin-top: 20px; letter-spacing: -.7px; overflow-wrap: anywhere; }
.contact-email svg { width: 19px; height: 19px; }
.contact-note { font-size: 12px; line-height: 1.9; color: var(--muted); max-width: 300px; margin-top: 12px; }
.contact-details .location-label { display: block; color: var(--muted); margin-top: 38px; font-size: 7px; }
.contact-details .text-link { margin-top: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; font-size: 10px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 15px 0; font-size: 12px; margin: 0 0 25px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: .75; }
.contact-form textarea { min-height: 95px; }
.form-footer { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.form-footer > span { font-size: 9px; color: var(--muted); line-height: 1.7; max-width: 160px; }
.form-footer .button { font-size: 10px; padding: 15px 17px; gap: 17px; flex-shrink: 0; }
.form-status { font-size: 11px; line-height: 1.8; margin-top: 12px; color: var(--muted); }
.contact-form .brief-fallback { border: 1px solid var(--line); padding: 10px; margin-top: 16px; }
.site-footer { border-top: 1px solid var(--line); padding-top: 45px; overflow: hidden; }
.footer-wordmark { font: 800 clamp(120px, 24vw, 365px)/1 var(--display); letter-spacing: -.09em; display: block; width: fit-content; color: var(--text); padding-right: .1em; }
.footer-wordmark span { display: inline-block; font: 500 .22em/1 var(--display); vertical-align: top; margin: .4em 0 0 .5em; letter-spacing: 0; color: var(--accent); }
[data-theme='light'] .footer-wordmark span { color: #6e843c; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 25px 0; margin-top: 30px; color: var(--muted); font-size: 9px; }
.footer-bottom > span:nth-child(2) { font: 7px var(--mono); letter-spacing: 1px; }
.footer-bottom a { color: var(--text); }

/* Native dialog provides focus trapping and Escape dismissal. */
.project-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); background: var(--bg); color: var(--text); border: 1px solid var(--line); padding: 50px 40px 40px; overflow: auto; }
.project-dialog::backdrop { background: #080b08c9; backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: 13px; top: 13px; font-size: 23px; width: 32px; height: 32px; }
.dialog-content > .eyebrow { color: var(--muted); margin-bottom: 18px; }
.dialog-content h2 { font-size: 36px; letter-spacing: -1.5px; }
.dialog-content > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 22px 0; }
.dialog-content > .dialog-note { font-size: 10px !important; border-top: 1px solid var(--line); padding-top: 20px; }
.dialog-links { display: flex; gap: 12px; flex-wrap: wrap; }
.dialog-links p { font-size: 11px; line-height: 1.8; color: var(--muted); }

@media (min-width: 1600px) {
  .site-header { padding-inline: max(56px, calc((100vw - 1440px) / 2)); }
  .hero-body { padding-block: 60px; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 72px); }
  .site-header { padding-inline: 36px; }
  .hero h1 { letter-spacing: -4px; }
  .hero h1 .outline-type { letter-spacing: -3px; }
  .hero-art { height: 420px; }
  .hero-specialties { font-size: 7px; letter-spacing: .5px; }
  .hero-specialties i { padding-inline: 6px; }
  .section { padding-block: 85px; }
  .project-visual { padding: 45px 25px 25px; }
  .mock-window { scale: .95; }
  .about-grid { gap: 7%; }
  .experience-section { padding-top: 0; }
  .quote-stage { min-height: 260px; }
  .contact-grid { gap: 6%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .shell { width: calc(100% - 40px); }
  .site-header { height: 76px; padding-inline: 20px; gap: 20px; }
  .wordmark { font-size: 30px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 15px; }
  .header-contact { gap: 12px; font-size: 11px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; width: 35px; height: 35px; border: 0; }
  .menu-toggle > span { width: 18px; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] > span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] > span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { padding-top: 24px; }
  .hero-topline .eyebrow { max-width: 180px; font-size: 7px; letter-spacing: .8px; }
  .hero-topline .availability { font-size: 8px; gap: 7px; }
  .hero-body { grid-template-columns: 1fr; padding-top: 45px; padding-bottom: 20px; }
  .hero-intro { font-size: 12px; margin-bottom: 23px; }
  .hero h1 { font-size: clamp(60px, 12.7vw, 96px); letter-spacing: -4px; }
  .hero h1 .outline-type { font-size: .86em; letter-spacing: -2px; }
  .hero-description { max-width: 370px; margin: 24px 0; font-size: 12px; }
  .hero-copy .button { padding: 16px 20px; font-size: 11px; }
  .hero-art { height: 380px; width: min(100%, 500px); justify-self: center; margin-top: 35px; }
  .coordinate-top { left: 5%; font-size: 7px; }
  .coordinate-side { right: -30px; }
  .art-caption { left: 5%; right: 5%; }
  .hero-bottom { padding: 20px 0; }
  .hero-specialties { display: none; }
  .location-label { font-size: 7px; }
  .scroll-cue { font-size: 7px; }
  .tech-ribbon { padding-block: 22px; }
  .ribbon-track { gap: 28px; padding-right: 28px; }
  .ribbon-track > span, .ribbon-track > .ribbon-star { font-size: 20px; }
  .section { padding-block: 65px; }
  .section-top { margin-bottom: 30px; gap: 20px; }
  .eyebrow { font-size: 8px; letter-spacing: .8px; }
  .section-index { margin-right: 10px; }
  .section-note { display: none; }
  h2 { font-size: clamp(34px, 7vw, 48px); letter-spacing: -1.7px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { font-size: 12px; margin-top: 20px; }
  .project-filters { gap: 6px; margin-bottom: 25px; }
  .filter-button { font-size: 9px; padding: 9px 12px; }
  .projects-grid { gap: 35px 18px; }
  .project-visual { padding: 42px 16px 22px; aspect-ratio: 1.25; }
  .project-heading { gap: 10px; margin-top: 14px; }
  .project-heading h3 { font-size: 15px; }
  .project-tags { font-size: 7px; gap: 6px 10px; }
  .project-tags span + span::before { padding-right: 10px; }
  .project-arrow { width: 28px; height: 28px; }
  .mock-window { width: 320px; flex-shrink: 0; scale: .65; }
  .ai-body > p { font-size: 22px; }
  .mock-metrics strong { font-size: 20px; }
  .preview-label { font-size: 6px; top: 14px; left: 14px; }
  .work-bottom { padding-top: 32px; align-items: flex-start; }
  .work-bottom .eyebrow { max-width: 150px; line-height: 1.8; }
  .work-bottom .text-link { font-size: 10px; gap: 12px; padding-top: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-grid h2 { font-size: 42px; }
  .asterisk { font-size: 45px; }
  .identity-card { max-width: 100%; height: 250px; aspect-ratio: auto; margin-top: 25px; }
  .identity-mark { font-size: 135px; }
  .identity-mark > i { right: 16%; }
  .about-copy > .about-lead { font-size: 27px; }
  .about-copy > p { font-size: 12px; }
  .stats strong { font-size: 40px; }
  .stats > div > span { font-size: 8px; }
  .expertise-layout { grid-template-columns: 1fr; gap: 30px; }
  .expertise-intro h2 { font-size: 38px; }
  .expertise-intro > p { max-width: 350px; font-size: 12px; margin-top: 20px; }
  .capability-symbol { display: none; }
  .capability summary { padding-block: 22px; }
  .capability h3 { font-size: 17px; }
  .capability-content { padding-left: 33px; }
  .experience-section { padding-top: 0; }
  .experience-section .section-top { display: block; padding-top: 45px; }
  .experience-section h2 { width: 100%; font-size: 38px; margin-top: 25px; }
  .experience-row { grid-template-columns: 1fr; gap: 17px; position: relative; padding-block: 25px; }
  .experience-date { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-right: 28px; font-size: 9px; }
  .current-label { margin-top: 0; }
  .experience-number { position: absolute; right: 0; top: 30px; font-size: 8px; }
  .experience-row h3, .education-row h4 { font-size: 20px; }
  .experience-description { font-size: 12px; }
  .quote-controls { gap: 10px; }
  .quote-controls .icon-button { width: 30px; height: 30px; }
  .quote-count { font-size: 8px; }
  .quote-stage { min-height: 290px; }
  .quote { padding-left: 27px; }
  .quote-mark { font-size: 65px; left: -8px; }
  .quote blockquote { font-size: 22px; letter-spacing: -.6px; }
  .quote figcaption { margin-top: 27px; gap: 11px; }
  .quote figcaption .eyebrow, .quote-line { display: none; }
  .contact-main { gap: 20px; padding-bottom: 35px; }
  .contact-main h2 { font-size: clamp(33px, 6.7vw, 50px); letter-spacing: -1.7px; }
  .contact-main p { font-size: 11px; margin-top: 20px; }
  .contact-orb { width: 85px; height: 85px; margin-right: 0; gap: 6px; }
  .contact-orb svg { width: 30px; height: 30px; }
  .contact-orb span { font-size: 6px; }
  .contact-section .section-top .availability { font-size: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 30px; }
  .contact-details .location-label { margin-top: 20px; }
  .contact-email { font-size: 23px; margin-top: 14px; }
  .form-footer .button { min-height: 46px; }
  .site-footer { padding-top: 25px; }
  .footer-wordmark { font-size: 25vw; }
  .footer-bottom { font-size: 8px; margin-top: 20px; padding-block: 20px; }
  .footer-bottom > span:nth-child(2) { display: none; }
}
@media (max-width: 520px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-visual { aspect-ratio: 1.3; padding: 40px 25px 25px; }
  .mock-window { width: 100%; scale: 1; }
  .project-heading h3 { font-size: 18px; }
  .ai-body { padding: 20px; }
  .ai-body > p { font-size: 22px; }
  .project-tags { font-size: 8px; }
  .contact-main { align-items: flex-start; }
  .contact-orb { width: 66px; height: 66px; margin-top: 7px; }
  .contact-orb svg { width: 26px; height: 26px; }
  .contact-orb span { font-size: 5px; }
  .contact-main h2 { font-size: 33px; }
  .project-dialog { padding: 50px 24px 28px; }
  .dialog-content h2 { font-size: 30px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 53px; letter-spacing: -3px; }
  .hero h1 .outline-type { letter-spacing: -2.5px; }
  .hero-topline { align-items: flex-start; }
  .hero-topline .availability { max-width: 115px; }
  .header-actions { gap: 9px; }
  .hero-art { height: 310px; }
  .contact-main h2 { font-size: 29px; }
  .contact-orb { width: 53px; height: 53px; }
  .form-footer { flex-wrap: wrap; }
  .form-footer > span { max-width: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .mock-window { scale: .9; }
  .quote blockquote { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .project-card:hover .mock-window { transform: none; }
}
