@font-face { font-family: 'Syne'; src: url('./fonts/syne-latin.woff2') format('woff2'); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('./fonts/manrope-latin.woff2') format('woff2'); font-style: normal; font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('./fonts/jetbrains-mono-latin.woff2') format('woff2'); font-style: normal; font-weight: 300 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #132433;
  --muted: #627482;
  --paper: #f4f7f9;
  --white: #fff;
  --line: #d8e2e8;
  --forest: #102e44;
  --forest-deep: #071724;
  --lime: #68def0;
  --coral: #ff8968;
  --signal-cyan: #49d2ef;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --display: 'Syne', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--lime); color: var(--forest-deep); }

.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 12px 16px; background: var(--lime); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; z-index: 50; top: 0; left: 0; width: 0; height: 3px; background: var(--signal-cyan); box-shadow: 0 0 12px rgba(73,201,238,.55); pointer-events: none; }
.hero { --hero-bg: #081725; --hero-ink: #f2f7fa; --hero-muted: #aabdc9; --hero-rule: rgba(220,237,248,.18); --hero-shade: rgba(7,18,28,.2); --hero-accent: var(--signal-cyan); position: relative; isolation: isolate; min-height: min(840px, calc(100svh - 44px)); overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); display: flex; flex-direction: column; transition: background-color .35s ease, color .35s ease; }
.hero[data-field="daylight"] { --hero-bg: #dce8e7; --hero-ink: #102b30; --hero-muted: rgba(18,49,52,.66); --hero-rule: rgba(18,49,52,.2); --hero-shade: rgba(228,239,235,.17); --hero-accent: #087f98; --hero-gradient: linear-gradient(105deg, #087f98 0%, #198b82 56%, #3b9675 100%); }
.terrain, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.terrain { z-index: 0; opacity: 1; }
.hero-shade { z-index: 1; background: var(--hero-shade); transition: background .35s ease; }
.hero-grain { position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23noise)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }
.map-signal { position: absolute; z-index: 2; right: 10%; top: 23%; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; color: var(--hero-accent); font: 11px var(--mono); }
.signal-cross { grid-row: span 2; font-size: 34px; font-weight: 300; }
.map-signal small { font: 10px var(--mono); color: var(--hero-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.cursor-follower { position: fixed; z-index: 100; top: 0; left: 0; width: 30px; height: 30px; border: 1px solid var(--coral); border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(calc(var(--cursor-left, -100px) - 50%), calc(var(--cursor-top, -100px) - 50%)); transition: width .2s ease, height .2s ease, background .2s ease, opacity .2s ease; }
.cursor-follower.is-active { opacity: .75; }
.cursor-follower.is-link { width: 52px; height: 52px; background: var(--coral); border-color: var(--coral); opacity: .9; }
.cursor-follower span { display: grid; height: 100%; place-items: center; color: #101d27; font-size: 24px; opacity: 0; }
.cursor-follower.is-link span { opacity: 1; }
.map-reticle { --cursor-x: 50%; --cursor-y: 50%; position: absolute; z-index: 4; top: var(--cursor-y); left: var(--cursor-x); width: 24px; height: 24px; opacity: 0; transform: translate(-50%, -50%); transition: opacity .18s ease; pointer-events: none; }
.hero.is-exploring .map-reticle { opacity: 1; }
.reticle-ring { position: absolute; inset: 0; display: grid; place-items: center; border: 1px solid var(--hero-accent); border-radius: 50%; box-shadow: 0 0 20px color-mix(in srgb, var(--hero-accent) 28%, transparent); }
.reticle-ring::before, .reticle-ring::after { position: absolute; background: var(--hero-accent); content: ''; opacity: .8; }
.reticle-ring::before { width: 34px; height: 1px; }
.reticle-ring::after { width: 1px; height: 34px; }
.reticle-ring span { width: 4px; height: 4px; border-radius: 50%; background: var(--hero-accent); }
.reticle-readout { position: absolute; top: 20px; left: 25px; padding: 5px 7px; border: 1px solid var(--hero-rule); background: rgba(7,23,36,.78); color: var(--hero-ink); font: 8px var(--mono); letter-spacing: .6px; white-space: nowrap; }
.reticle-readout b { color: var(--hero-accent); font-weight: 500; }
.hero::before { position: absolute; z-index: 2; top: 82px; right: 7.5%; bottom: 48px; width: 1px; background: linear-gradient(transparent, var(--hero-accent) 18%, var(--hero-rule) 50%, var(--hero-accent) 82%, transparent); opacity: .42; content: ''; pointer-events: none; }
.hero::after { position: absolute; z-index: 2; top: 82px; right: calc(7.5% - 3px); bottom: 48px; width: 7px; background: repeating-linear-gradient(to bottom, transparent 0 20px, var(--hero-accent) 20px 21px, transparent 21px 42px); opacity: .32; content: ''; pointer-events: none; }
.hero-content, .hero-coordinates, .hero-footer { z-index: 3; }
.site-header { position: relative; z-index: 5; width: min(100% - 104px, 1180px); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hero-rule); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 225px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--hero-accent); color: var(--hero-accent); font: 800 24px var(--display); transform: rotate(-7deg); transition: transform .3s ease; }
.brand:hover .brand-mark { transform: rotate(0deg); }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-size: 13px; letter-spacing: 1.4px; font-weight: 800; }
.brand-copy span { color: var(--hero-muted); font: 10px var(--mono); letter-spacing: .8px; }
.primary-nav { position: relative; display: flex; align-items: center; gap: 24px; margin-left: auto; margin-right: 20px; padding: 0 17px; min-height: 44px; border: 1px solid var(--hero-rule); border-radius: 4px; background: rgba(7,20,31,.12); }
.primary-nav a { position: relative; z-index: 1; padding: 12px 0; color: var(--hero-muted); font: 11px var(--mono); letter-spacing: 0; text-transform: uppercase; transition: color .2s ease; }
.nav-indicator { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; border-radius: 2px; background: rgba(104,222,240,.12); opacity: 0; pointer-events: none; transition: transform .3s ease, width .3s ease, opacity .2s ease; }
.primary-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--hero-accent); content: ''; transition: transform .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-current, .primary-nav a[aria-current="location"] { color: var(--hero-ink); }
.primary-nav a:hover::after, .primary-nav a.is-current::after, .primary-nav a[aria-current="location"]::after { transform: scaleX(1); }
.primary-nav .nav-contact { color: var(--hero-ink); }
.nav-contact span { color: var(--lime); padding-left: 4px; }
.language-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; border: 1px solid var(--hero-rule); border-radius: 9px; padding: 0 11px; background: transparent; color: var(--hero-muted); font: 10px var(--mono); cursor: pointer; }
.language-option { transition: color .2s ease; }
.language-option.is-active { color: var(--hero-accent); }
.language-divider { opacity: .35; }
.field-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; border: 1px solid var(--hero-rule); border-radius: 9px; background: transparent; color: var(--hero-ink); font: 8px var(--mono); letter-spacing: .5px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.field-toggle:hover { border-color: var(--hero-accent); background: rgba(255,255,255,.06); }
.field-icon { color: var(--hero-accent); font-size: 16px; }
.menu-toggle { display: none; }
.hero-coordinates { position: absolute; top: 126px; right: max(52px, calc((100vw - 1180px) / 2)); display: flex; align-items: flex-start; gap: 10px; color: var(--hero-muted); font: 10px var(--mono); letter-spacing: .65px; }
.coordinate-copy { display: grid; gap: 7px; }
.coordinate-copy small { opacity: .62; font: 9px var(--mono); }
.coordinate-mark, .footnote-dot { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 16px rgba(239,118,85,.7); }
.hero-content { position: relative; width: min(100% - 104px, 1180px); margin: auto; padding: 100px 0 112px; translate: 0 var(--hero-shift, 0px); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0; color: rgba(229,239,225,.62); font: 9px var(--mono); letter-spacing: 1.35px; line-height: 1.5; }
.hero .eyebrow { color: var(--hero-muted); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; }
.eyebrow-line { width: 34px; height: 2px; background: var(--hero-accent); }
.hero h1 { max-width: 100%; margin: 18px 0 34px; font: 800 172px/.95 var(--display); letter-spacing: 0; }
.hero-name { display: inline-flex; }
.hero-name > span { display: inline-block; }
.hero-period { color: var(--coral); }
.hero-copy-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 52px; max-width: none; padding-top: 28px; border-top: 1px solid var(--hero-rule); }
.hero-role { margin: 0; font: 700 34px/1.25 var(--display); }
.hero-role em { color: var(--hero-accent); font-style: normal; }
.hero-copy { max-width: 490px; margin: 0; color: var(--hero-muted); font-size: 17px; font-weight: 500; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; padding-bottom: 4px; white-space: nowrap; }
.button { position: relative; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border-radius: 2px; font-size: 14px; font-weight: 800; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button { translate: var(--mag-x, 0px) var(--mag-y, 0px); }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--lime); color: var(--forest-deep); }
.button-light:hover { background: var(--coral); }
.button-arrow { font-size: 17px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 700; }
.text-link span:last-child { color: var(--lime); font-size: 15px; transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translate(2px, -2px); }
.hero-footer { position: absolute; right: max(52px, calc((100vw - 1180px) / 2)); bottom: 28px; left: max(52px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; align-items: center; color: var(--hero-muted); font: 10px var(--mono); letter-spacing: .45px; }
.hero-caption, .scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.caption-index { color: var(--hero-accent); }
.scroll-cue { color: var(--hero-muted); }
.scroll-cue span:last-child { color: var(--hero-accent); font-size: 15px; transition: transform .2s ease; }
.scroll-cue:hover span:last-child { transform: translateY(4px); }

.section-pad { padding-right: max(52px, calc((100vw - 1376px) / 2)); padding-left: max(52px, calc((100vw - 1376px) / 2)); }
.intro-section { position: relative; display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 54px; padding-top: 104px; padding-bottom: 112px; border-top: 4px solid var(--coral); }
.intro-section::before { position: absolute; top: 34px; right: 52px; color: transparent; -webkit-text-stroke: 1px #dbe3e7; font: 800 190px/.8 var(--display); content: attr(data-section); pointer-events: none; }
.intro-content, .section-heading-main, .about-heading { position: relative; }
.section-rail { display: flex; align-items: center; gap: 12px; color: #7c8780; font: 10px var(--mono); letter-spacing: .9px; }
.section-number { color: #217b93; font-size: 13px; }
.rail-rule { width: 28px; height: 1px; background: #b8c2ba; }
.rail-label { white-space: nowrap; }
.intro-content { max-width: 900px; }
.eyebrow-dark { color: #607068; }
.intro-content h2, .section-heading h2, .about-heading h2 { margin: 20px 0 0; font: 800 64px/1.08 var(--display); letter-spacing: 0; overflow-wrap: break-word; }
.intro-content h2 em, .section-heading h2 em, .about-heading h2 em { color: #147a94; font-family: inherit; font-weight: inherit; font-style: normal; }
.intro-bottom { display: grid; grid-template-columns: 42px minmax(0, 590px) 1fr; align-items: end; gap: 25px; margin-top: 42px; }
.intro-star { color: var(--coral); font-size: 26px; line-height: 1; }
.intro-bottom p { margin: 0; color: #58635d; font-size: 16px; line-height: 1.8; }
.intro-aside { justify-self: end; color: #7b867f; font: 10px/1.8 var(--mono); letter-spacing: .65px; text-align: right; }

.work-section { padding-top: 94px; padding-bottom: 102px; background: #101d27; color: #f0f5f7; }
.work-section .section-rail, .work-section .eyebrow-dark, .work-section .section-heading-note { color: #a4b6c2; }
.work-section .section-number, .work-section .section-heading h2 em { color: var(--lime); }
.work-heading { padding-bottom: 42px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; }
.project-card { min-width: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.project-card:hover { transform: translateY(-4px); }
.project-preview::before { position: absolute; z-index: 1; inset: 0; background: radial-gradient(420px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(73,210,239,.22), transparent 62%); opacity: 0; transition: opacity .3s ease; content: ''; pointer-events: none; }
.project-card:hover .project-preview::before, .project-card:focus-within .project-preview::before { opacity: 1; }
.project-preview > .mock-window, .project-preview > .flow-window, .project-preview > .form-window { position: relative; z-index: 0; }
.preview-stamp { z-index: 2; }
.project-card-wide { grid-column: 1 / -1; }
.project-preview { position: relative; min-height: 360px; display: grid; place-items: center; overflow: hidden; padding: 28px; }
.preview-northstar { min-height: 470px; background: #203a49; }
.preview-relay { background: #694b43; }
.preview-form { background: #3a5552; }
.project-preview { cursor: pointer; border: 1px solid rgba(217,238,249,.18); border-radius: 4px; background-image: linear-gradient(rgba(219,242,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(219,242,255,.045) 1px, transparent 1px); background-size: 44px 44px; transition: border-color .3s ease, box-shadow .3s ease; }
.project-preview::after { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; font-size: 26px; content: '\2197'; transition: background .25s ease, color .25s ease, transform .25s ease; }
.project-card:hover .project-preview, .project-card:focus-within .project-preview { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.project-card:hover .project-preview::after { background: var(--coral); color: var(--forest-deep); transform: rotate(45deg); border-color: var(--coral); }
.project-preview > .mock-window, .project-preview > .flow-window, .project-preview > .form-window { transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.project-card:hover .project-preview > .mock-window, .project-card:hover .project-preview > .flow-window, .project-card:hover .project-preview > .form-window { transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-3px) scale(1.015); box-shadow: 0 24px 54px rgba(31,57,40,.2); }
.preview-stamp { position: absolute; left: 22px; right: auto; bottom: 18px; color: #c5d5dc; font: 11px var(--mono); letter-spacing: 0; }
.mock-window { width: min(850px, 100%); min-height: 310px; overflow: hidden; background: #fbfcfa; border: 1px solid rgba(30,55,39,.12); box-shadow: 0 17px 42px rgba(31,57,40,.12); color: #26352b; }
.mock-topbar { height: 41px; display: flex; align-items: center; gap: 17px; padding: 0 16px; border-bottom: 1px solid #e9eeea; }
.mock-brand { display: flex; align-items: center; gap: 7px; margin-right: auto; color: #324d3a; font-size: 10px; font-weight: 800; }
.mock-brand i { width: 13px; height: 13px; display: block; background: #74a57c; border-radius: 4px 4px 4px 1px; }
.mock-date { color: #8a968d; font: 6px var(--mono); }
.mock-avatar { width: 21px; height: 21px; display: grid; place-items: center; background: #e8eee7; border-radius: 50%; color: #57735e; font-size: 8px; }
.mock-dashboard { display: grid; grid-template-columns: 47px 1fr; min-height: 269px; }
.mock-sidebar { display: flex; flex-direction: column; align-items: center; gap: 17px; padding-top: 18px; border-right: 1px solid #e9eeea; }
.mock-sidebar b, .mock-sidebar i, .mock-sidebar span { width: 13px; height: 13px; display: block; border-radius: 4px; background: #e6ece7; }
.mock-sidebar b { background: #587b61; }
.mock-sidebar span { margin-top: 22px; border-radius: 50%; }
.mock-main { padding: 17px 20px; }
.mock-title-line { display: flex; align-items: center; justify-content: space-between; color: #34483a; font-size: 10px; font-weight: 700; }
.mock-title-line b { padding: 5px 7px; border: 1px solid #dfe6df; color: #69766d; font-size: 6px; font-weight: 500; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; }
.mock-kpis > div { display: grid; gap: 5px; padding: 10px; border: 1px solid #e7ece7; }
.mock-kpis small, .mock-chart small { color: #849087; font: 6px var(--mono); }
.mock-kpis strong { color: #344b3a; font-size: 15px; font-weight: 700; }
.mock-kpis em { color: #5d9668; font: normal 6px var(--mono); }
.mock-chart { margin-top: 10px; padding: 10px 10px 6px; border: 1px solid #e7ece7; }
.chart-head { display: flex; align-items: center; justify-content: space-between; color: #44564a; font-size: 7px; }
.chart-lines { position: relative; height: 76px; margin-top: 8px; }
.chart-lines > span { position: absolute; right: 0; left: 0; height: 1px; background: #edf0ed; }
.chart-lines > span:nth-child(1) { top: 10%; }.chart-lines > span:nth-child(2) { top: 36%; }.chart-lines > span:nth-child(3) { top: 62%; }.chart-lines > span:nth-child(4) { top: 88%; }
.chart-lines svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart-lines path { fill: none; stroke: #6c9d74; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.chart-axis { display: flex; justify-content: space-between; color: #9ba49d; font: 5px var(--mono); }
.project-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 16px 1px 0; }
.project-meta h3 { margin: 0 0 8px; color: #f0f5f7; font: 700 30px var(--display); }
.project-meta p { margin: 0; color: #adbfca; font-size: 16px; line-height: 1.65; }
.project-type { padding-top: 9px; color: #93aab9; font: 11px var(--mono); letter-spacing: 0; white-space: nowrap; }
.project-open { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; margin-top: 10px; padding: 0; border: 0; border-bottom: 1px solid #4f6979; background: transparent; color: #e0eef4; font-size: 13px; font-weight: 800; cursor: pointer; }
.project-open span:last-child { color: #348e9e; font-size: 16px; transition: transform .2s ease; }
.project-open:hover span:last-child { transform: translate(3px, -3px); }
.flow-window { width: min(470px, 100%); overflow: hidden; border: 1px solid rgba(44,55,47,.12); background: #fbfaf7; box-shadow: 0 18px 42px rgba(69,46,35,.14); color: #394138; }
.flow-top { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 13px; border-bottom: 1px solid #ebe8e1; }
.flow-logo { font-size: 10px; font-weight: 800; letter-spacing: -.3px; }.flow-logo span { color: #e57a56; }
.flow-status { color: #8b9388; font-size: 6px; }.flow-status i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #85aa78; }
.flow-top b { padding: 6px 9px; background: #24352b; color: white; font-size: 6px; font-weight: 500; }
.flow-body { width: 228px; margin: 17px auto 20px; }
.flow-label { display: flex; justify-content: space-between; margin-bottom: 10px; color: #9a9a8c; font: 6px var(--mono); letter-spacing: .4px; }
.flow-node { display: flex; align-items: center; gap: 8px; min-height: 45px; padding: 7px; border: 1px solid #e5e4dc; background: #fff; }
.flow-node > i { width: 24px; height: 24px; display: grid; place-items: center; background: #edf2e9; color: #719069; font-style: normal; font-size: 11px; }
.action-node > i { background: #f6eae4; color: #d07b5e; }
.flow-node span { display: grid; gap: 3px; }.flow-node small { color: #96978c; font: 5px var(--mono); }.flow-node b { color: #41483e; font-size: 8px; font-weight: 600; }.flow-node em { margin-left: auto; color: #9ca398; font-size: 9px; font-style: normal; }
.flow-connector { height: 20px; display: grid; justify-items: center; }.flow-connector i { width: 1px; height: 100%; background: #d6d9d0; }.connector-short { height: 13px; }
.flow-add { padding: 7px; border: 1px dashed #cdd2c8; color: #81897e; font-size: 7px; text-align: center; }
.flow-note { display: flex; gap: 6px; margin-top: 14px; color: #90978a; font-size: 6px; }.flow-note span { color: #d68a62; }
.form-window { width: min(410px, 100%); min-height: 276px; background: #faf9f5; box-shadow: 0 18px 42px rgba(43,63,46,.14); color: #234331; }
.form-top { height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid #e3e6dc; font: 7px var(--mono); letter-spacing: .8px; }
.form-top i { color: #e27b5b; font-style: normal; }
.form-body { position: relative; min-height: 240px; padding: 20px 21px; overflow: hidden; }
.form-kicker { color: #7c8879; font: 6px var(--mono); letter-spacing: .8px; }
.form-product { position: absolute; top: 36px; right: 18px; width: 133px; height: 100px; }
.paper-stack { position: absolute; right: 17px; bottom: 9px; width: 72px; height: 74px; transform: rotate(8deg); background: #ebeee4; box-shadow: 4px 4px 0 #d9dfd1, 8px 8px 0 #c9d3c2; }
.paper-stack > span:first-child { position: absolute; inset: 9px 8px; border: 1px solid #c8d2c3; }
.paper-stack > span:nth-child(2) { position: absolute; top: 24px; right: 16px; left: 16px; height: 1px; background: #c0cdbb; box-shadow: 0 5px #c0cdbb, 0 10px #c0cdbb; }
.paper-stack > i { position: absolute; top: 12px; left: 11px; color: #53745c; font: italic 17px Georgia, serif; }
.form-sun { position: absolute; top: 3px; right: 1px; width: 32px; height: 32px; border-radius: 50%; background: #e98b66; }
.form-body h4 { position: relative; margin: 28px 0 18px; font: 29px/1.02 Georgia, 'Times New Roman', serif; letter-spacing: 0; }
.form-bottom { display: flex; justify-content: space-between; align-items: end; color: #708073; font-size: 6px; line-height: 1.5; }
.form-bottom b { color: #365642; font-size: 6px; font-weight: 600; }
.work-disclaimer { margin: 32px 0 0; color: #94aab7; font: 11px/1.7 var(--mono); }

.services-section { padding-top: 104px; padding-bottom: 110px; background: #fff; }
.section-heading { display: grid; grid-template-columns: 170px 1fr 270px; gap: 54px; align-items: start; padding-bottom: 57px; }
.section-heading-main { max-width: 640px; }
.section-heading h2 { margin-top: 16px; font-size: 60px; }
.section-heading-note { max-width: 275px; justify-self: end; margin: 50px 0 0; color: #596975; font-size: 16px; line-height: 1.75; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px 44px; gap: 0 40px; align-items: center; min-height: 152px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .25s ease; }
.service-row:hover, .service-row.is-expanded { background: #f3f7f8; }
.service-index { align-self: start; padding-top: 34px; color: #738078; font: 10px var(--mono); }
.service-main h3 { margin: 0 0 9px; font: 700 30px var(--display); transition: translate .25s ease; }
.service-row:hover .service-main h3 { translate: 6px 0; }
.service-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c3d0d8; border-radius: 50%; padding: 0; background: transparent; cursor: pointer; font: 400 26px var(--sans); transition: background .2s ease, border-color .2s ease; }
.service-toggle > span:last-child { transition: rotate .25s ease; }
.service-toggle[aria-expanded="true"] { background: var(--coral); border-color: var(--coral); }
.service-toggle[aria-expanded="true"] > span:last-child { rotate: 45deg; }
.service-detail { grid-column: 2 / 4; max-width: 660px; padding: 22px 0 4px; }
.detail-label { color: #147a94; font: 11px var(--mono); }
.service-detail p { margin: 12px 0 8px; color: #536774; font-size: 16px; line-height: 1.8; }
.service-detail .dark-link { margin-top: 6px; }
.service-main p { max-width: 610px; margin: 0; color: #59675f; font-size: 16px; line-height: 1.75; }
.service-tag { color: #738078; font: 9px var(--mono); letter-spacing: .45px; }
.service-arrow { color: #668a71; font-size: 18px; transition: color .2s ease, transform .2s ease; }
.service-row:hover .service-arrow { color: var(--coral); transform: translate(2px, -2px); }
.service-footnote { display: flex; align-items: center; gap: 12px; margin-top: 23px; color: #6c7971; font: 10px var(--mono); }
.service-footnote .footnote-dot { width: 6px; height: 6px; background: #7da77c; box-shadow: none; }

.approach-section { padding-top: 115px; padding-bottom: 136px; background: var(--forest); color: #f3f7f0; }
.section-rail-light { color: rgba(238,246,235,.5); }
.section-rail-light .section-number { color: var(--lime); }
.section-rail-light .rail-rule { background: rgba(238,246,235,.3); }
.approach-section .section-heading { padding-bottom: 57px; }
.approach-section .section-heading h2 em { color: var(--lime); }
.approach-section .section-heading-note { color: rgba(237,245,234,.6); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(236,244,235,.22); }
.process-item { position: relative; min-height: 218px; padding: 24px 28px 20px 0; border-right: 1px solid rgba(236,244,235,.22); }
.process-item + .process-item { padding-left: 28px; }
.process-item:last-child { border-right: 0; }
.process-index { color: transparent; -webkit-text-stroke: 1px var(--lime); font: 800 64px/1 var(--display); }
.process-content { margin-top: 50px; }
.process-content h3 { margin: 0 0 12px; font: 700 26px var(--display); }
.process-item::after { position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--coral); content: ''; transition: width .5s ease; }
.process-item:hover::after { width: 100%; }
.process-content p { max-width: 300px; margin: 0; color: rgba(237,245,234,.78); font-size: 15px; line-height: 1.75; }
.process-mark { position: absolute; right: 25px; bottom: 21px; color: rgba(214,242,139,.73); font-size: 18px; }

.about-section { padding-top: 132px; padding-bottom: 0; }
.about-section > .section-rail { margin-bottom: 52px; }
.about-content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; padding-left: 0; }
.about-heading h2 { font-size: 60px; }
.about-copy { padding-top: 24px; }
.about-copy p { margin: 0 0 17px; color: #536158; font-size: 16px; line-height: 1.85; }
.dark-link { margin-top: 12px; color: var(--ink); }
.dark-link span:last-child { color: #4d825f; }
.capability-strip { display: block; overflow: hidden; margin-top: 92px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #243f4e; font: 700 24px var(--display); letter-spacing: 0; }
.capability-track { display: flex; width: max-content; }
.capability-group { display: flex; flex: 0 0 auto; align-items: center; gap: 46px; padding-right: 46px; }
.strip-star { color: var(--coral); font-size: 34px; }

.contact-section { position: relative; isolation: isolate; overflow: hidden; min-height: 600px; display: grid; place-items: center; padding: 108px 52px 94px; background: var(--forest-deep); color: #f4f7f1; }
.contact-visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; opacity: .85; }
.contact-visual::before { position: absolute; inset: 0; background: rgba(57,157,183,.1); content: ''; }
.contact-orbit { position: absolute; right: -150px; bottom: -520px; width: 800px; height: 800px; border: 1px solid rgba(104,222,240,.24); border-radius: 50%; }
.orbit-two { right: -70px; bottom: -440px; width: 640px; height: 640px; border-color: rgba(104,222,240,.16); }
.contact-cross { position: absolute; color: var(--lime); font: 18px var(--mono); }
.cross-one { top: 22%; right: 19%; }
.cross-two { right: 10%; bottom: 20%; color: var(--coral); }
.contact-coord { position: absolute; right: 52px; bottom: 42px; color: rgba(229,239,225,.45); font: 8px/1.8 var(--mono); letter-spacing: .5px; }
.contact-inner { position: relative; width: min(100%, 1150px); }
.contact-rail { margin-bottom: 56px; }
.contact-inner > .eyebrow { margin-bottom: 20px; }
.contact-inner h2 { margin: 0; font: 800 88px/1.05 var(--display); }
.contact-inner h2 em { color: var(--lime); font-family: inherit; font-weight: inherit; font-style: normal; }
.contact-copy { max-width: 500px; margin: 22px 0 29px; color: rgba(241,246,237,.8); font-size: 17px; line-height: 1.75; }
.button-accent { background: var(--lime); color: var(--forest-deep); }
.button-accent:hover { background: var(--coral); }
.contact-small { display: block; margin-top: 32px; color: rgba(236,243,232,.54); font: 10px var(--mono); letter-spacing: 1px; }
.site-footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(52px, calc((100vw - 1376px) / 2)); background: #06121b; color: rgba(237,244,233,.5); }
.footer-brand { color: #f3f7f0; font-size: 19px; font-weight: 700; }
.footer-brand span { color: var(--lime); }
.footer-note { margin-left: 20px; margin-right: auto; font-size: 10px; }
.footer-right { display: flex; gap: 32px; font: 8px var(--mono); letter-spacing: .6px; }
.footer-right a { color: rgba(237,244,233,.7); }
.footer-right a:hover { color: var(--lime); }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

body.has-motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
body.has-motion [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.project-dialog { width: min(700px, calc(100% - 36px)); max-width: none; max-height: calc(100svh - 40px); padding: 0; border: 1px solid #365263; border-radius: 4px; background: #f4f7f9; color: var(--ink); box-shadow: 0 30px 100px rgba(5,20,12,.28); }
.project-dialog::backdrop { background: rgba(7,18,15,.72); backdrop-filter: blur(6px); }
.dialog-shell { padding: 34px 38px 38px; }
.dialog-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid #d8e0da; }
.dialog-kicker, .dialog-index { color: #527163; font: 10px var(--mono); letter-spacing: .8px; }
.dialog-close { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ccd8d0; background: transparent; color: #355c47; font-size: 24px; line-height: 1; cursor: pointer; }
.dialog-index { display: block; margin-top: 35px; color: #1685a0; }
.dialog-shell h2 { margin: 11px 0 14px; font-size: 42px; font-weight: 800; }
.dialog-copy { max-width: 500px; color: #536158; font-size: 16px; line-height: 1.8; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.dialog-tags span { padding: 8px 10px; border: 1px solid #cedbd2; color: #365944; font: 10px var(--mono); }
.dialog-cta { margin-top: 2px; }

@media (max-width: 1050px) {
  .site-header, .hero-content { width: calc(100% - 64px); }
  .hero-coordinates { right: 32px; }
  .hero-footer { right: 32px; left: 32px; }
  .section-pad { padding-right: 36px; padding-left: 36px; }
  .primary-nav { gap: 16px; margin-right: 14px; padding-right: 12px; padding-left: 12px; }
  .brand { min-width: 195px; }
  .hero-copy-row { gap: 30px; }
  .intro-section { grid-template-columns: 130px 1fr; gap: 32px; }
  .section-heading { grid-template-columns: 130px 1fr 210px; gap: 32px; }
  .service-row { grid-template-columns: 100px minmax(250px,1fr) 170px 18px; gap: 30px; }
  .about-content { grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); padding-left: clamp(0px, 10vw, 100px); gap: 24px; }
  .site-footer { padding-right: 36px; padding-left: 36px; }
}

@media (min-width: 761px) and (max-width: 840px) {
  .section-pad { padding-right: 28px; padding-left: 28px; }
  .section-heading { grid-template-columns: 120px minmax(0, 1fr); gap: 26px; }
  .section-heading-note { grid-column: 2; justify-self: start; max-width: 520px; margin: 12px 0 0; }
  .about-content { grid-template-columns: minmax(0, 1fr); padding-left: 120px; gap: 22px; }
  .about-copy { max-width: 540px; padding-top: 0; }
}


@media (max-width: 760px) {
  html { scroll-padding-top: 12px; }
  .hero { min-height: max(760px, 100vh); min-height: max(760px, 100svh); height: auto; max-height: none; }
  .map-reticle { display: none; }
  .hero-shade { background: var(--hero-shade); }
  .hero::before, .hero::after { right: 20px; opacity: .22; }
  .hero::after { right: 17px; }
  .site-header { width: calc(100% - 40px); min-height: 78px; justify-content: flex-start; gap: 7px; }
  .brand { min-width: 0; margin-right: auto; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-copy span { font-size: 8px; }
  .primary-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; margin: 0; padding: 8px 16px; border: 1px solid var(--hero-rule); border-radius: 10px; background: var(--hero-bg); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--hero-rule); font: 600 14px var(--sans); letter-spacing: 0; text-transform: none; }
  .primary-nav a:last-child { border-bottom: 0; }
  .language-toggle { margin-left: 0; padding: 0 8px; }
  .field-toggle { order: 1; width: 36px; min-height: 36px; justify-content: center; padding: 0; }
  .language-toggle { order: 2; }
  .field-label { display: none; }
  .field-icon { font-size: 17px; }
  .menu-toggle { order: 3; width: 36px; height: 36px; display: grid; align-content: center; justify-items: center; gap: 5px; padding: 0; border: 1px solid var(--hero-rule); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 14px; height: 1px; background: var(--hero-ink); transition: transform .2s ease; }
  .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-coordinates { top: 108px; right: 20px; max-width: 205px; font-size: 8px; line-height: 1.7; }
  .coordinate-copy { min-width: 0; }
  .coordinate-copy > span { max-width: 100%; white-space: normal; }
  .coordinate-copy small { font-size: 8px; }
  .hero-content { width: calc(100% - 40px); padding: 60px 0 100px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-copy-row { display: block; }
  .hero-copy { max-width: 470px; font-size: 16px; line-height: 1.75; }
  .hero-actions { flex-wrap: wrap; gap: 18px; margin-top: 24px; }
  .button { min-height: 48px; }
  .hero-footer { right: 20px; bottom: 20px; left: 20px; align-items: flex-end; font-size: 9px; }
  .hero-caption { max-width: 62%; align-items: flex-start; gap: 8px; line-height: 1.7; }
  .scroll-cue { gap: 7px; white-space: nowrap; }
  .section-pad { padding-right: 22px; padding-left: 22px; }
  .intro-section { grid-template-columns: 1fr; gap: 35px; padding-top: 86px; padding-bottom: 92px; }
  .section-rail { gap: 9px; font-size: 9px; }
  .intro-content h2, .section-heading h2, .about-heading h2 { font-size: 44px; }
  .intro-bottom { grid-template-columns: 22px 1fr; gap: 14px; margin-top: 28px; }
  .intro-bottom p { font-size: 14px; }
  .intro-aside { grid-column: 2; justify-self: start; margin-top: 3px; text-align: left; }
  .work-section { padding-top: 76px; padding-bottom: 77px; }
  .work-grid { grid-template-columns: 1fr; gap: 29px; }
  .project-card-wide { grid-column: auto; }
  .project-preview, .preview-northstar { min-height: 275px; padding: 17px; }
  .mock-window { min-height: 240px; }
  .mock-dashboard { min-height: 199px; grid-template-columns: 33px 1fr; }
  .mock-sidebar { gap: 12px; padding-top: 14px; }
  .mock-sidebar b, .mock-sidebar i, .mock-sidebar span { width: 10px; height: 10px; }
  .mock-main { padding: 12px 10px; }
  .mock-kpis { gap: 4px; margin-top: 9px; }
  .mock-kpis > div { gap: 4px; padding: 6px 5px; }
  .mock-kpis small { font-size: 5px; }
  .mock-kpis strong { font-size: 11px; }
  .mock-chart { margin-top: 6px; padding: 6px 6px 4px; }
  .chart-lines { height: 56px; }
  .project-meta { gap: 9px; }
  .project-meta h3 { font-size: 18px; }
  .project-meta p { font-size: 12px; }
  .project-type { font-size: 8px; }
  .project-open { font-size: 11px; }
  .work-disclaimer { font-size: 9px; }
  .services-section { padding-top: 78px; padding-bottom: 88px; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; padding-bottom: 37px; }
  .section-heading .section-rail { order: 0; }
  .section-heading-main { order: 1; }
  .section-heading-note { order: 2; justify-self: start; max-width: 390px; margin: -8px 0 0; font-size: 11px; }
  .section-heading h2 { font-size: 42px; }
  .service-row { position: relative; grid-template-columns: 1fr 22px; gap: 8px 15px; align-items: start; min-height: 0; padding: 23px 0 25px; }
  .service-row:hover { padding-right: 0; padding-left: 0; }
  .service-index { grid-column: 1; grid-row: 1; padding: 0; }
  .service-arrow { grid-column: 2; grid-row: 1 / span 3; justify-self: end; }
  .service-main { grid-column: 1; grid-row: 2; }
  .service-main h3 { margin-top: 8px; font-size: 21px; }
  .service-main p { font-size: 13px; }
  .service-tag { grid-column: 1; grid-row: 3; margin-top: 7px; font-size: 8px; }
  .service-footnote { align-items: flex-start; font-size: 9px; line-height: 1.7; }
  .approach-section { padding-top: 82px; padding-bottom: 84px; }
  .approach-section .section-heading { padding-bottom: 36px; }
  .process-list { grid-template-columns: 1fr; }
  .process-item, .process-item + .process-item { min-height: 0; padding: 20px 35px 24px 0; border-right: 0; border-bottom: 1px solid rgba(236,244,235,.22); }
  .process-item:last-child { border-bottom: 0; }
  .process-content { margin-top: 22px; }
  .process-content h3 { font-size: 18px; }
  .process-content p { font-size: 13px; }
  .process-mark { right: 4px; bottom: 22px; }
  .about-section { padding-top: 88px; }
  .about-section > .section-rail { margin-bottom: 34px; }
  .about-content { grid-template-columns: 1fr; gap: 8px; padding-left: 0; }
  .about-heading h2 { font-size: 40px; }
  .about-copy { padding-top: 8px; }
  .about-copy p { font-size: 13px; }
  .capability-strip { flex-wrap: wrap; justify-content: flex-start; gap: 13px; margin-top: 62px; padding: 19px 0; font-size: 9px; }
  .strip-star { font-size: 10px; }
  .contact-section { min-height: 570px; padding: 74px 22px 72px; }
  .contact-rail { margin-bottom: 42px; }
  .contact-inner h2 { font-size: 49px; }
  .contact-copy { max-width: 340px; font-size: 14px; }
  .contact-coord { right: 22px; bottom: 20px; font-size: 8px; }
  .contact-orbit { right: -410px; bottom: -500px; }
  .orbit-two { right: -340px; bottom: -420px; }
  .site-footer { min-height: 80px; flex-wrap: wrap; gap: 8px 12px; padding: 16px 22px; }
  .footer-note { font-size: 10px; }
  .footer-right { gap: 16px; font-size: 8px; }
  .dialog-shell { padding: 25px 22px 27px; }
  .dialog-shell h2 { font-size: 34px; }
  .dialog-copy { font-size: 14px; }
}

@media (max-width: 350px) {
  .brand-copy span { display: none; }
  .language-toggle { gap: 6px; padding: 0 6px; }
  .site-header { gap: 6px; }
}

@media (max-width: 390px) {
  .brand-copy strong { font-size: 11px; }
  .brand-copy span { letter-spacing: .45px; }
  .hero-actions { gap: 14px; }
  .hero-secondary { font-size: 10px; }
  .brand-copy span { letter-spacing: .2px; }
  .hero h1 { font-size: 42px; }
  .hero-copy { font-size: 15px; }
  .contact-inner h2 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  body.has-motion [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Motion & extras ---------- */
.hero[data-field="daylight"] { --hero-bg: #dce8e7; --hero-ink: #102b30; --hero-muted: #3c5a60; --hero-rule: rgba(18,49,52,.2); --hero-shade: rgba(228,239,235,.17); --hero-accent: #087f98; }
.hero[data-field="daylight"] .hero-grain { opacity: .08; mix-blend-mode: multiply; }
.hero[data-field="daylight"] .primary-nav { background: rgba(255,255,255,.3); }
.hero[data-field="daylight"] .reticle-readout { background: rgba(255,255,255,.82); color: #102b30; }
.hero[data-field="daylight"] .button-light { background: #102b30; color: #fff; }
@keyframes letter-rise { from { opacity: 0; transform: translateY(60%) skewY(6deg); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes signal-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes scroll-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
body.has-motion .hero-name > span { opacity: 0; animation: letter-rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
body.has-motion .hero-name > span:nth-child(1) { animation-delay: .08s; }
body.has-motion .hero-name > span:nth-child(2) { animation-delay: .16s; }
body.has-motion .hero-name > span:nth-child(3) { animation-delay: .24s; }
body.has-motion .hero-name > span:nth-child(4) { animation-delay: .32s; }
body.has-motion .hero-name > span:nth-child(5) { animation-delay: .4s; }
body.has-motion .hero-name > span:nth-child(6) { animation-delay: .52s; }
body.has-motion .hero-eyebrow { opacity: 0; animation: fade-up .7s ease .05s forwards; }
body.has-motion .hero-copy-row { opacity: 0; animation: fade-up .8s ease .7s forwards; }
body.has-motion .hero-footer, body.has-motion .hero-coordinates, body.has-motion .map-signal { opacity: 0; animation: fade-up .8s ease .95s forwards; }
body.has-motion .signal-cross { animation: signal-blink 2.2s ease-in-out infinite; }
body.has-motion .scroll-cue span:last-child { animation: scroll-bob 1.6s ease-in-out infinite; }
body.has-motion .capability-track { animation: marquee 28s linear infinite; }
.capability-strip:hover .capability-track { animation-play-state: paused; }
body.has-motion .section-heading h2, body.has-motion .intro-content h2, body.has-motion .about-heading h2 { clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.2,.8,.2,1) .1s; }
body.has-motion [data-reveal].is-visible h2 { clip-path: inset(0 0 -10% 0); }
body.has-motion .project-card[data-reveal] { transform: translateY(44px); transition-duration: .85s; }
body.has-motion .project-card[data-reveal].is-visible { transform: none; }
body.has-motion .process-item[data-reveal]:nth-child(2) { transition-delay: .12s; }
body.has-motion .process-item[data-reveal]:nth-child(3) { transition-delay: .24s; }
body.has-motion .service-row[data-reveal]:nth-child(2) { transition-delay: .08s; }
body.has-motion .service-row[data-reveal]:nth-child(3) { transition-delay: .16s; }
body.has-motion .service-row[data-reveal]:nth-child(4) { transition-delay: .24s; }
.project-dialog[open] { animation: dialog-in .4s cubic-bezier(.2,.8,.2,1); }
.project-dialog[open]::backdrop { animation: backdrop-in .35s ease; }
.dialog-shell h2 { font: 800 44px var(--display); }
.dialog-tags span { border-radius: 2px; font-size: 11px; }
.button::after { position: absolute; inset: 0; border: 1px solid currentColor; opacity: 0; transform: scale(1.08); content: ''; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.button:hover::after { opacity: .5; transform: scale(1); }
.eyebrow { font-size: 11px; letter-spacing: 0; }
.section-rail, .service-index, .service-tag, .footer-right, .contact-small, .hero-footer, .hero-coordinates { font-size: 11px; letter-spacing: 0; }
.section-number { font-size: 15px; font-weight: 700; }
.intro-bottom p, .about-copy p, .process-content p { font-size: 17px; }
.contact-copy { font-size: 18px; }
.footer-note { font-size: 13px; }
.site-footer { font-family: var(--sans); }
@media (hover: hover) and (pointer: fine) { body.has-motion a, body.has-motion button, body.has-motion .project-preview { cursor: none; } }
@media (max-width: 1250px) { .hero h1 { font-size: 140px; } }
@media (max-width: 1050px) {
  .hero h1 { font-size: 112px; }
  .hero-role { font-size: 28px; }
  .intro-section::before { font-size: 140px; right: 36px; }
  .service-row { grid-template-columns: 100px minmax(0,1fr) 150px 44px; gap: 0 24px; }
  .about-content { grid-template-columns: minmax(0,1fr); gap: 20px; padding-left: 0; }
}
@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 48px 0 110px; }
  .hero h1 { margin: 14px 0 24px; font-size: 76px; line-height: .95; overflow-wrap: normal; }
  .hero-copy-row { grid-template-columns: 1fr; gap: 18px; padding-top: 20px; }
  .hero-role { font-size: 24px; }
  .hero-copy { font-size: 16px; }
  .map-signal { display: none; }
  .cursor-follower { display: none; }
  .intro-section::before { top: 20px; right: 18px; font-size: 96px; }
  .intro-content h2, .section-heading h2, .about-heading h2 { font-size: 40px; }
  .service-row { grid-template-columns: 1fr 44px; gap: 8px 14px; padding: 22px 0; }
  .service-toggle { grid-column: 2; grid-row: 1 / span 3; justify-self: end; }
  .service-detail { grid-column: 1 / -1; padding-top: 14px; }
  .service-main h3 { font-size: 24px; }
  .service-row:hover .service-main h3 { translate: 0; }
  .process-index { font-size: 44px; }
  .project-meta h3 { font-size: 24px; }
  .project-preview::after { width: 38px; height: 38px; top: 14px; right: 14px; font-size: 20px; }
  .capability-strip { font-size: 18px; padding: 20px 0; }
  .capability-group { gap: 28px; padding-right: 28px; }
  .strip-star { font-size: 24px; }
  .contact-inner h2 { font-size: 48px; }
  .dialog-shell h2 { font-size: 34px; }
}
@media (max-width: 390px) { .hero h1 { font-size: 62px; } .contact-inner h2 { font-size: 42px; } }
@media (max-width: 350px) { .hero h1 { font-size: 54px; } }
@media (prefers-reduced-motion: reduce) {
  body.has-motion .hero-name > span, body.has-motion .hero-eyebrow, body.has-motion .hero-copy-row, body.has-motion .hero-footer, body.has-motion .hero-coordinates, body.has-motion .map-signal { opacity: 1; animation: none; }
  body.has-motion .capability-track { animation: none; }
  body.has-motion .section-heading h2, body.has-motion .intro-content h2, body.has-motion .about-heading h2 { clip-path: none; }
}
@media (max-width: 1050px) { .section-heading { grid-template-columns: 130px minmax(0,1fr) 210px; } .section-heading-main, .intro-content { min-width: 0; } }
@media (max-width: 760px) { .hero h1 { font-size: 66px; } .section-heading { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 390px) { .hero h1 { font-size: 50px; } }
@media (max-width: 350px) { .hero h1 { font-size: 44px; } }
@media (max-width: 330px) { .hero h1 { font-size: 40px; } }

/* ---------- v5: 导航、吸顶、聚光、按钮 ---------- */
.hero { isolation: auto; z-index: 10; padding-top: 82px; }
.site-header { position: absolute; top: 0; left: 50%; transform: translateX(-50%); gap: 0; transition: top .35s ease, background .35s ease, padding .35s ease, box-shadow .35s ease; }
body.header-stuck .site-header { position: fixed; top: 12px; min-height: 64px; padding: 0 14px; border: 1px solid var(--hero-rule); border-radius: 6px; background: rgba(7,20,31,.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(2,10,16,.35); animation: header-drop .4s cubic-bezier(.2,.8,.2,1); }
.hero[data-field="daylight"] .site-header { color: var(--hero-ink); }
body.header-stuck .hero[data-field="daylight"] .site-header { background: rgba(236,244,243,.88); }
@keyframes header-drop { from { transform: translate(-50%, -120%); } to { transform: translateX(-50%); } }
.brand-copy strong { font: 800 15px var(--display); letter-spacing: 1px; }
.brand-copy span { font-size: 10px; font-weight: 600; letter-spacing: 0; }
.primary-nav { gap: 28px; margin-right: 0; padding: 0 20px; min-height: 46px; }
.primary-nav a { font: 700 13px var(--sans); letter-spacing: .6px; color: #c6d6e0; }
.hero[data-field="daylight"] .primary-nav a { color: #2c4a50; }
.primary-nav a:hover, .primary-nav a.is-current { color: var(--hero-ink); }
.nav-indicator { background: rgba(104,222,240,.16); box-shadow: inset 0 -2px 0 var(--hero-accent); }
.field-toggle, .language-toggle { min-height: 46px; border-radius: 4px; font: 700 12px var(--mono); letter-spacing: 0; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.field-toggle { margin-left: 14px; padding: 0 14px; gap: 9px; }
.language-toggle { margin-left: 10px; padding: 0 14px; gap: 10px; color: var(--hero-muted); }
.field-toggle:hover, .language-toggle:hover { border-color: var(--hero-accent); background: rgba(104,222,240,.08); transform: translateY(-1px); }
.language-option.is-active { color: var(--hero-accent); }
.hero-shade { background: radial-gradient(circle 380px at var(--spot-x, 72%) var(--spot-y, 46%), rgba(73,210,239,.13), transparent 70%), var(--hero-shade); }
.hero[data-field="daylight"] .hero-shade { background: radial-gradient(circle 380px at var(--spot-x, 72%) var(--spot-y, 46%), rgba(255,255,255,.35), transparent 70%), var(--hero-shade); }
.hero-name > span { transition: translate .45s cubic-bezier(.2,.8,.2,1), color .3s ease, text-shadow .3s ease; }
.hero-name > span.is-near { color: var(--hero-accent); text-shadow: 0 0 40px rgba(73,210,239,.45); }
.hero-name > span.hero-period.is-near { color: var(--coral); }
.button { overflow: hidden; isolation: isolate; }
.button::before { position: absolute; z-index: -1; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.7,0,.2,1); content: ''; }
.button:hover::before { transform: scaleX(1); transform-origin: left; }
.button-light:hover, .button-accent:hover { background: var(--lime); color: var(--forest-deep); }
.button .button-arrow { transition: transform .3s ease; }
.button:hover .button-arrow { transform: translate(3px, -3px) rotate(-10deg); }
.cursor-follower { transition: width .25s ease, height .25s ease, background .25s ease, opacity .2s ease, border-color .25s ease; mix-blend-mode: normal; }
@media (max-width: 1050px) { .primary-nav { gap: 18px; padding: 0 14px; } .primary-nav a { font-size: 12px; } .field-toggle { margin-left: 10px; } }
@media (max-width: 760px) {
  .hero { padding-top: 78px; }
  .site-header { gap: 8px; }
  body.header-stuck .site-header { top: 8px; width: calc(100% - 20px); padding: 0 10px; }
  .field-toggle, .language-toggle { min-height: 40px; margin-left: 0; }
  .field-toggle { width: 40px; padding: 0; }
  .language-toggle { padding: 0 10px; }
  .menu-toggle { width: 40px; height: 40px; border-radius: 4px; }
  .primary-nav a { font: 700 16px var(--sans); }
}
@media (prefers-reduced-motion: reduce) { body.header-stuck .site-header { animation: none; } .button::before { transition: none; } }
@media (min-width: 761px) and (max-width: 900px) { .brand { min-width: 0; } .brand-copy span { display: none; } .primary-nav { gap: 14px; padding: 0 12px; } .field-label { display: none; } .field-toggle { width: 46px; justify-content: center; padding: 0; } }

/* ---------- v6: 稳定导航 + 统一标题字体 ---------- */
:root { --display: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif; --brand-display: 'Syne', 'Manrope', sans-serif; }
.hero h1, .brand-mark { font-family: var(--brand-display); }
.primary-nav a { display: inline-block; white-space: nowrap; }
.primary-nav a::after { bottom: 4px; }
.field-toggle:hover, .language-toggle:hover { transform: none; }
.brand-mark, .brand:hover .brand-mark { transform: rotate(-7deg); }
.nav-indicator { transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), opacity .2s ease; will-change: transform; }
.site-header { will-change: transform; }
.intro-content h2, .section-heading h2, .about-heading h2, .contact-inner h2 { font-weight: 800; line-height: 1.06; }
.hero-role, .project-meta h3, .service-main h3, .process-content h3, .dialog-shell h2, .capability-strip { font-family: var(--display); font-weight: 800; }
.process-index { font-family: var(--display); }
.intro-section::before { font-family: var(--display); }
html[lang="zh-CN"] .intro-content h2, html[lang="zh-CN"] .section-heading h2, html[lang="zh-CN"] .about-heading h2, html[lang="zh-CN"] .contact-inner h2 { line-height: 1.2; }

/* ---------- v8: 好评泳道（参考 Adam Field reports） ---------- */
.testimonials-section { position: relative; overflow: hidden; padding: 120px 0 110px; background: #0b1a25; color: #f0f5f7; }
.rec-lanes { position: absolute; inset: 0; display: grid; align-content: center; gap: 22px; padding: 40px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rec-lane { overflow: hidden; }
.rec-track { display: flex; width: max-content; gap: 22px; animation: rec-scroll var(--lane-dur, 100s) linear infinite; }
.rec-lane.is-reverse .rec-track { animation-direction: reverse; }
@keyframes rec-scroll { to { transform: translateX(-25%); } }
.rec-card { width: 380px; flex: 0 0 auto; margin: 0; padding: 24px 26px; border: 1px solid rgba(217,238,249,.14); border-radius: 4px; background: rgba(16,33,46,.72); opacity: .5; transition: opacity .3s ease, border-color .3s ease, transform .3s ease; }
.rec-card:hover { opacity: 1; border-color: var(--lime); transform: translateY(-3px); }
.rec-card blockquote { margin: 0 0 18px; color: #dce8ee; font-size: 15px; line-height: 1.7; }
.rec-card blockquote::before { content: '\201C'; color: var(--coral); font: 800 22px/0 var(--display); margin-right: 4px; }
.rec-card figcaption strong { display: block; font: 800 15px var(--display); }
.rec-card figcaption span { display: block; margin-top: 4px; color: #93aab9; font: 11px var(--mono); }
.rec-inner { position: relative; z-index: 1; pointer-events: none; display: grid; grid-template-columns: minmax(0,1fr) 440px; align-items: center; gap: 40px; }
.rec-inner a, .rec-anchor { pointer-events: auto; }
.rec-header h2 { margin: 22px 0 0; font: 800 76px/1.02 var(--display); text-shadow: 0 6px 40px rgba(11,26,37,.9); }
.rec-header h2 em { color: var(--lime); font-style: normal; }
.rec-anchor { padding: 34px; border: 1px solid rgba(104,222,240,.4); border-radius: 6px; background: rgba(8,20,29,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 3px 0 var(--coral); }
.rec-stat { display: flex; align-items: baseline; gap: 16px; margin: 0; }
.rec-count { font: 800 96px/.9 var(--display); color: var(--lime); }
.rec-stars { color: var(--coral); font-size: 18px; letter-spacing: 3px; }
.rec-label { margin: 12px 0 22px; color: #c6d6e0; font-size: 16px; font-weight: 700; }
.rec-tally { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 0 0 22px; padding: 0; list-style: none; background: rgba(217,238,249,.14); border: 1px solid rgba(217,238,249,.14); }
.rec-tally li { display: grid; gap: 4px; padding: 14px; background: #0b1a25; color: #93aab9; font: 11px var(--mono); }
.rec-tally strong { color: #fff; font: 800 26px var(--display); }
.rec-text { margin: 0 0 24px; color: #a4b6c2; font-size: 15px; line-height: 1.7; }
.rec-note { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 1050px) { .rec-inner { grid-template-columns: 1fr; } .rec-anchor { max-width: 480px; } .rec-header h2 { font-size: 60px; } .rec-lanes { align-content: start; padding-top: 260px; } }
@media (max-width: 760px) { .testimonials-section { padding: 84px 0 80px; } .rec-header h2 { font-size: 42px; } .rec-card { width: 280px; padding: 18px; } .rec-card blockquote { font-size: 13px; } .rec-anchor { padding: 24px; } .rec-count { font-size: 72px; } .rec-tally li { padding: 10px; } .rec-tally strong { font-size: 20px; } .rec-lanes { padding-top: 200px; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .rec-track { animation: none; } }
/* 首屏聚光只在鼠标经过时出现 */
.hero .hero-shade, .hero[data-field="daylight"] .hero-shade { background: var(--hero-shade); }
.hero.is-exploring .hero-shade { background: radial-gradient(circle 380px at var(--spot-x, 72%) var(--spot-y, 46%), rgba(73,210,239,.1), transparent 70%), var(--hero-shade); }
.hero[data-field="daylight"].is-exploring .hero-shade { background: radial-gradient(circle 380px at var(--spot-x, 72%) var(--spot-y, 46%), rgba(255,255,255,.3), transparent 70%), var(--hero-shade); }

/* ── v10: 修复导航双高亮 + 能力条持续滚动 ─────────────────────────────── */
/* 禁用 a::after 底线，统一由 nav-indicator box-shadow 表示激活 */
.primary-nav a::after { display: none; }

/* 能力跑马灯悬停时继续播放（与好评区保持一致） */
.capability-strip:hover .capability-track { animation-play-state: running; }

/* nav-indicator 激活态更清晰：加强背景光 + 顶部高光线 */
body.header-stuck .nav-indicator {
  background: rgba(104,222,240,.2);
  box-shadow: inset 0 -2px 0 var(--hero-accent), inset 0 1px 0 rgba(104,222,240,.35);
}

/* 导航激活链接颜色更醒目 */
body.header-stuck .primary-nav a.is-current,
body.header-stuck .primary-nav a[aria-current="location"] {
  color: #fff;
  font-weight: 800;
}

/* 好评区卡片：悬停微发光 */
.rec-card:hover {
  box-shadow: 0 0 28px rgba(104,222,240,.18), 0 8px 24px rgba(0,0,0,.3);
}

/* 项目弹窗打开时背景模糊 */
body.dialog-open .hero,
body.dialog-open main > section:not(.project-dialog) {
  filter: blur(2px);
  transition: filter .3s ease;
}

/* 滚动进度条光晕加强 */
.scroll-progress {
  box-shadow: 0 0 18px rgba(73,201,238,.8), 0 0 6px rgba(73,201,238,.5);
}

/* ── v10 修正：撤销无效的 dialog-open 规则 ─────────────────────────────── */
body.dialog-open .hero,
body.dialog-open main > section:not(.project-dialog) { filter: none; }

/* ── v11: 视觉提升 ────────────────────────────────────────────────────── */

/* 1. 自定义光标：加发光拖尾 */
.cursor-follower { box-shadow: 0 0 12px rgba(239,118,85,.35); }
.cursor-follower.is-link { box-shadow: 0 0 24px rgba(239,118,85,.6), 0 0 8px rgba(239,118,85,.4); }

/* 2. 联系区 orbit 环：缓慢旋转，增加动感 */
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { to { transform: rotate(-360deg); } }
.orbit-one { transform-origin: center center; animation: orbit-spin 48s linear infinite; }
.orbit-two { transform-origin: center center; animation: orbit-spin-rev 36s linear infinite; }

/* 3. process-item 悬停：序号发光 + 背景浅变 */
.process-item { transition: background .3s ease; }
.process-item:hover { background: rgba(214,242,139,.04); }
.process-item:hover .process-index {
  -webkit-text-stroke-color: var(--lime);
  text-shadow: 0 0 28px rgba(214,242,139,.55);
  transition: text-shadow .3s ease, -webkit-text-stroke-color .3s ease;
}

/* 4. 服务行展开态：左侧青色边框 */
.service-row.is-expanded { border-left: 3px solid var(--hero-accent); padding-left: 17px; }

/* 5. intro 区大数字：鼠标进入区域时高亮 */
.intro-section:hover::before { -webkit-text-stroke-color: #b0c0c8; transition: -webkit-text-stroke-color .4s ease; }

/* 6. 首屏英雄区 AARON 句点：加强橙色脉冲 */
@keyframes dot-pulse { 0%, 100% { text-shadow: 0 0 14px rgba(239,118,85,.5); } 50% { text-shadow: 0 0 40px rgba(239,118,85,.9), 0 0 80px rgba(239,118,85,.4); } }
.hero-name .hero-dot { animation: dot-pulse 3s ease-in-out infinite; }

/* 7. 好评区 rec-count（数字12）：轻微呼吸动画 */
@keyframes count-glow { 0%, 100% { text-shadow: none; } 50% { text-shadow: 0 0 32px rgba(214,242,139,.5); } }
.rec-count { animation: count-glow 4s ease-in-out infinite; }

/* 8. 按钮 focus-visible：更清晰的键盘焦点环 */
.button:focus-visible { outline: 2px solid var(--hero-accent); outline-offset: 3px; }

/* 9. footer back-to-top 悬停：↑ 上移 */
.footer-right a { transition: color .2s ease; }
.footer-right a:last-child:hover { letter-spacing: .6px; }

/* ── v11 修正 ────────────────────────────────────────────────────────── */
/* 修正 hero-dot → hero-period 类名 */
.hero-name .hero-dot { animation: none; }
@keyframes period-pulse { 0%, 100% { text-shadow: 0 0 14px rgba(239,118,85,.5); } 50% { text-shadow: 0 0 40px rgba(239,118,85,.9), 0 0 80px rgba(239,118,85,.4); } }
.hero-name .hero-period { animation: period-pulse 3s ease-in-out infinite; }

/* orbit 改为边框亮度脉冲（旋转对纯圆环无视觉效果） */
.orbit-one { animation: none; transform-origin: unset; }
.orbit-two { animation: none; transform-origin: unset; }
@keyframes orbit-pulse { 0%, 100% { border-color: rgba(104,222,240,.24); box-shadow: none; } 50% { border-color: rgba(104,222,240,.55); box-shadow: 0 0 40px rgba(104,222,240,.15); } }
@keyframes orbit-pulse-slow { 0%, 100% { border-color: rgba(104,222,240,.16); box-shadow: none; } 50% { border-color: rgba(104,222,240,.38); box-shadow: 0 0 28px rgba(104,222,240,.1); } }
.contact-orbit { animation: orbit-pulse 6s ease-in-out infinite; }
.orbit-two { animation: orbit-pulse-slow 8s ease-in-out infinite 2s; }

/* service-row 展开态：用 background 而非 border-left（避免布局偏移） */
.service-row.is-expanded { border-left: none; padding-left: unset; }
.service-row.is-expanded { background: linear-gradient(90deg, rgba(104,222,240,.06) 0%, transparent 60%); }


/* v12：联系区补充、页脚可读性、句点脉冲修复 */
::selection { background: #35d6c8; color: #04121c; }
body.has-motion .hero-name > span.hero-period { animation: letter-rise .8s cubic-bezier(.2,.8,.2,1) .52s forwards, period-pulse 3s ease-in-out 1.4s infinite; }
.copy-email { margin: 14px 0 0 12px; padding: 14px 22px; font: 700 14px/1 var(--sans); color: inherit; background: transparent; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.copy-email:hover { border-color: #35d6c8; background: rgba(53,214,200,.12); transform: translateY(-2px); }
.copy-email.is-copied { border-color: #35d6c8; color: #35d6c8; }
.contact-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 0; font: 600 14px/1.5 var(--sans); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: status-ping 2s ease-out infinite; }
.status-sep { opacity: .5; }
.local-time { font-family: var(--mono); font-size: 13px; opacity: .85; }
@keyframes status-ping { to { box-shadow: 0 0 0 10px rgba(61,220,132,0); } }
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.stack-chips li { padding: 7px 14px; font: 600 13px/1 var(--mono); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; transition: border-color .25s, color .25s, transform .25s; }
.stack-chips li:hover { border-color: #35d6c8; color: #35d6c8; transform: translateY(-2px); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 18px; }
.social-links a { font: 700 14px/1.4 var(--sans); color: inherit; text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.social-links a:hover, .social-links a:focus-visible { color: #35d6c8; border-color: #35d6c8; }
.footer-note { font-size: 13px; line-height: 1.6; }
.footer-right, .footer-right a, .footer-right span { font-size: 12px; line-height: 1.6; }
@media (max-width: 520px) { .copy-email { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } body.has-motion .hero-name > span.hero-period { animation: none; opacity: 1; transform: none; } }
