:root {
  color-scheme: dark;
  --page: #090b0b;
  --page-soft: #101313;
  --paper: #ecefeb;
  --ink: #f0f2ef;
  --ink-dim: #9aa19d;
  --ink-faint: #666d69;
  --line: rgba(240, 242, 239, .16);
  --line-strong: rgba(240, 242, 239, .34);
  --accent: #1bc282;
  --accent-deep: #225b4d;
  --header-height: 76px;
  --dock-height: 12px;
  --glass-radius: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.76, 0, .24, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #0a1511;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 90;
  transform: translateY(-160%);
  background: var(--accent);
  padding: 10px 14px;
  color: #08110e;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: var(--header-height);
  align-items: center;
  border-bottom: 1px solid transparent;
  padding-inline: max(28px, calc((100vw - 1400px) / 2));
  transition: background-color 350ms ease, border-color 350ms ease;
}

.site-header.is-solid,
.site-header.menu-active {
  border-color: var(--line);
  background: rgba(9, 11, 11, .88);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  display: inline-grid;
  grid-template-columns: 36px auto;
  grid-template-rows: auto auto;
  column-gap: 11px;
  align-items: center;
  justify-self: start;
  width: max-content;
}

.brand-glyph {
  display: grid;
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  transition: background-color 260ms ease, color 260ms ease, transform 400ms var(--ease-out);
}

.brand-mark {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.brand-wave {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 260ms ease, transform 500ms var(--ease-out);
}

.brand-wave-top {
  opacity: .58;
}

.brand-wave-mid {
  opacity: 1;
}

.brand-wave-low {
  opacity: .76;
}

.brand:hover .brand-glyph {
  transform: rotate(-6deg);
  background: var(--accent);
  color: #08110e;
}

.brand:hover .brand-wave-top {
  transform: translateX(1.5px);
}

.brand:hover .brand-wave-mid {
  transform: translateX(-1px);
}

.brand:hover .brand-wave-low {
  transform: translateX(1px);
}

.brand-name {
  align-self: end;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 10px;
}

.brand-domain {
  align-self: start;
  color: var(--ink-faint);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 15px;
  line-height: 1.2;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-self: center;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  overflow: hidden;
  align-items: center;
  isolation: isolate;
  border: 1px solid rgba(240, 242, 239, .2);
  border-radius: var(--glass-radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .16), transparent 38%),
    linear-gradient(135deg, rgba(240, 242, 239, .11), rgba(139, 211, 183, .045) 58%, rgba(240, 242, 239, .035));
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(139, 211, 183, .05),
    0 8px 24px rgba(2, 8, 7, .16);
  padding: 9px 14px;
  color: var(--ink-dim);
  font-size: 15px;
  transition:
    color 220ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 320ms ease,
    transform 320ms var(--ease-out);
}

.desktop-nav a::before,
.header-entry::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-125%) skewX(-16deg);
  background: linear-gradient(105deg, transparent 24%, rgba(255, 255, 255, .2) 48%, transparent 72%);
  content: "";
  pointer-events: none;
  transition: transform 680ms var(--ease-out);
}

.desktop-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 300ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="true"] {
  transform: translateY(-2px);
  border-color: rgba(139, 211, 183, .5);
  background-color: rgba(139, 211, 183, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -1px 0 rgba(139, 211, 183, .1),
    0 12px 30px rgba(3, 12, 10, .24),
    0 0 18px rgba(139, 211, 183, .07);
  color: var(--ink);
}

.desktop-nav a:hover::before,
.desktop-nav a[aria-current="true"]::before,
.header-entry:hover::before {
  transform: translateX(125%) skewX(-16deg);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-entry,
.primary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 18px;
  justify-content: center;
  background: var(--paper);
  padding: 10px 15px;
  color: #0a0c0c;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms var(--ease-out);
}

.header-entry {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  justify-self: end;
  border: 1px solid rgba(240, 242, 239, .28);
  border-radius: var(--glass-radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .22), transparent 38%),
    linear-gradient(135deg, rgba(240, 242, 239, .16), rgba(139, 211, 183, .08) 58%, rgba(240, 242, 239, .055));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    inset 0 -1px 0 rgba(139, 211, 183, .08),
    0 10px 28px rgba(2, 8, 7, .2);
  color: var(--ink);
  transition:
    color 220ms ease,
    border-color 260ms ease,
    background 320ms ease,
    box-shadow 320ms ease,
    transform 320ms var(--ease-out);
}

.primary-link:hover {
  background: var(--accent);
}

.header-entry:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 211, 183, .58);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .28), transparent 40%),
    linear-gradient(135deg, rgba(240, 242, 239, .2), rgba(139, 211, 183, .14) 58%, rgba(240, 242, 239, .07));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 -1px 0 rgba(139, 211, 183, .12),
    0 14px 34px rgba(3, 12, 10, .26),
    0 0 20px rgba(139, 211, 183, .08);
  color: var(--ink);
}

.desktop-nav a:active {
  transform: translateY(0) scale(.98);
}

.header-entry:active,
.primary-link:active,
.legacy-main-link:active {
  transform: translateY(1px) scale(.98);
}

.header-entry svg,
.primary-link svg,
.legacy-main-link svg,
.service-item svg,
.preview-arrow svg,
.mobile-menu svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.scene-rail {
  width: 100%;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.scene-rail::-webkit-scrollbar {
  display: none;
}

.scene {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}

.scene-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, 1360px);
  height: 100%;
  min-height: 100dvh;
  margin-inline: auto;
  padding-block: calc(var(--header-height) + 34px) calc(var(--dock-height) + 30px);
}

.scene-kicker {
  margin: 0;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 600;
}

.scene-kicker::before {
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 10px;
  background: currentColor;
  content: "";
  vertical-align: middle;
}

.js [data-animate] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: 0ms;
}

.js .scene.is-active [data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0ms);
}

.title-line {
  display: block;
  overflow: hidden;
  padding-block: .2em;
}

.title-line > span {
  display: block;
}

.hero {
  min-height: 100dvh;
  background: #0b1111;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  --px: 0px;
  --py: 0px;
  z-index: -3;
  transform: translate3d(var(--px), var(--py), 0) scale(1.08);
  clip-path: inset(6% 4% 6% 4%);
  transition: clip-path 1300ms var(--ease-snap), transform 1200ms var(--ease-out);
  will-change: transform, clip-path;
}

.hero.is-active .hero-media,
.hero.has-entered .hero-media {
  transform: translate3d(var(--px), var(--py), 0) scale(1.025);
  clip-path: inset(0 0 0 0);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(.55) contrast(1.08) brightness(.72);
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 8, 8, .9) 0%, rgba(5, 8, 8, .58) 46%, rgba(5, 8, 8, .13) 78%),
    linear-gradient(0deg, rgba(5, 8, 8, .68) 0%, transparent 42%);
}

.hero-coordinates {
  position: absolute;
  top: calc(var(--header-height) + 56px);
  right: max(32px, calc((100vw - 1360px) / 2));
  z-index: 2;
  display: flex;
  gap: 34px;
  color: rgba(240, 242, 239, .62);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 9px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100% - 64px, 1360px);
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  column-gap: clamp(48px, 8vw, 132px);
  align-items: center;
  margin-inline: auto;
  padding-block: calc(var(--header-height) + 40px) calc(var(--dock-height) + 48px);
}

.hero-title {
  width: max-content;
  margin: 2px 0 0;
  font-size: 8rem;
  font-weight: 620;
  line-height: .8;
  letter-spacing: 0;
}

.hero-title .title-line-offset {
  margin-left: 1em;
  margin-top: .22em;
  color: var(--accent);
}

.hero-foot {
  width: min(100%, 600px);
  margin-right: -100px;
  justify-self: end;
  translate: 0 300px;
}

.hero-intro p {
  margin: 0;
  color: rgba(240, 242, 239, .86);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-intro span {
  display: block;
  margin-top: 8px;
  color: var(--ink-dim);
  font-size: 13px;
}

.hero-side-note {
  position: absolute;
  right: max(32px, calc((100vw - 1360px) / 2));
  bottom: calc(var(--dock-height) + 54px);
  z-index: 2;
  max-width: 220px;
  border-left: 1px solid rgba(240, 242, 239, .42);
  padding-left: 18px;
}

.hero-side-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-dim);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 8px;
}

.hero-side-note strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.services-scene {
  background: #0b0d0d;
}

.services-scene::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(139, 211, 183, .055), transparent 34%);
  content: "";
}

.services-shell {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(620px, 1.9fr);
  gap: 70px;
  align-items: center;
}

.scene-intro {
  align-self: center;
}

.scene-intro h2,
.about-content h2,
.legacy-heading h2 {
  margin: 20px 0 0;
  font-size: 4.6rem;
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.scene-summary {
  max-width: 340px;
  margin: 25px 0 0 32px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, .9fr);
  gap: 18px;
  align-items: stretch;
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 78px 18px;
  min-height: 64px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 0 6px;
  transition: color 260ms ease, padding 420ms var(--ease-out), background-color 260ms ease;
}

.service-item::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 0;
  transform: translateY(-50%);
  background: var(--accent);
  content: "";
  transition: height 360ms var(--ease-out);
}

.service-item:hover,
.service-item:focus-visible,
.service-item.is-selected {
  background: rgba(240, 242, 239, .035);
  color: var(--ink);
  padding-left: 18px;
}

.service-item:hover::before,
.service-item:focus-visible::before,
.service-item.is-selected::before {
  height: 58%;
}

.service-item > span,
.service-item > small {
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 11px;
}

.service-item > span {
  color: var(--ink-faint);
}

.service-item > strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 570;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-item > small {
  color: var(--ink-faint);
}

.service-item svg {
  transform: translate(-4px, 4px);
  opacity: 0;
  transition: opacity 260ms ease, transform 360ms var(--ease-out);
}

.service-item:hover svg,
.service-item:focus-visible svg,
.service-item.is-selected svg {
  transform: translate(0, 0);
  opacity: 1;
}

.service-preview {
  position: relative;
  min-height: 386px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101515;
  padding: 26px;
  transition: border-color 260ms ease, transform 360ms var(--ease-out);
}

.service-preview:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.preview-image {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  background:
    linear-gradient(0deg, rgba(7, 11, 11, .94), rgba(7, 11, 11, .14)),
    url("assets/hero-ocean.jpg") center / cover;
  filter: saturate(.45);
  opacity: .52;
  transition: transform 700ms var(--ease-out), filter 500ms ease;
}

.service-preview.is-changing .preview-image {
  transform: scale(1.14);
  filter: saturate(.8);
}

.preview-index {
  position: relative;
  z-index: 2;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 13px;
}

.preview-copy {
  position: absolute;
  right: 26px;
  bottom: 27px;
  left: 26px;
  z-index: 2;
  transition: opacity 180ms ease, transform 360ms var(--ease-out);
}

.service-preview.is-changing .preview-copy {
  transform: translateY(10px);
  opacity: .2;
}

.preview-copy p {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 11px;
}

.preview-copy h3 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 560;
  line-height: 1.08;
}

.preview-copy span {
  display: block;
  max-width: 320px;
  margin-top: 14px;
  color: rgba(240, 242, 239, .72);
  font-size: 14px;
  line-height: 1.65;
}

.preview-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  width: auto;
  height: 38px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 242, 239, .4);
  padding-inline: 12px;
  font-size: 11px;
  transition: background-color 220ms ease, color 220ms ease, transform 360ms var(--ease-out);
}

.preview-arrow > span {
  white-space: nowrap;
}

.service-preview:hover .preview-arrow {
  transform: translate(2px, -2px);
  background: var(--accent);
  color: #08110e;
}

.domain-ticker {
  position: absolute;
  right: 0;
  bottom: var(--dock-height);
  left: 0;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-block: 8px;
  color: var(--ink-faint);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 10px;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 54px;
  animation: ticker-move 34s linear infinite;
}

.ticker-track span::after {
  margin-left: 54px;
  color: var(--accent);
  content: "/";
}

@keyframes ticker-move {
  to { transform: translateX(-50%); }
}

.about-scene {
  background: var(--paper);
  color: #111414;
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(340px, .85fr) minmax(480px, 1.15fr);
  gap: 8%;
  align-items: center;
}

.about-photo {
  position: relative;
  max-height: 560px;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1100ms var(--ease-snap);
}

.about-scene.is-active .about-photo {
  clip-path: inset(0 0 0 0);
}

.about-photo img {
  width: 100%;
  height: min(66dvh, 560px);
  object-fit: cover;
  filter: saturate(.55) contrast(1.04);
  transform: scale(1.12);
  transition: transform 1400ms var(--ease-out);
}

.about-scene.is-active .about-photo img {
  transform: scale(1);
}

.photo-code {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: flex;
  gap: 4px;
  color: rgba(255, 255, 255, .82);
  font-size: 3.6rem;
  font-weight: 650;
  line-height: 1;
  mix-blend-mode: difference;
}

.photo-code span:last-child {
  transform: translateY(18px);
}

.about-content .scene-kicker {
  color: var(--accent-deep);
}

.about-content h2 {
  max-width: 780px;
  font-size: 5rem;
}

.about-lead {
  max-width: 660px;
  margin: 30px 0 0 70px;
  color: #4f5753;
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0 0 70px;
  border-top: 1px solid rgba(17, 20, 20, .2);
}

.discipline-grid span {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  border-bottom: 1px solid rgba(17, 20, 20, .2);
  padding-block: 12px;
  font-size: 14px;
  font-weight: 620;
}

.discipline-grid span:nth-child(odd) {
  border-right: 1px solid rgba(17, 20, 20, .2);
}

.discipline-grid span:nth-child(even) {
  padding-left: 18px;
}

.discipline-grid small {
  color: #858d89;
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 10px;
}

.about-footer {
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 0 70px;
}

.about-footer > p {
  max-width: 360px;
  margin: 0;
  color: #606864;
  font-size: 13px;
  line-height: 1.65;
}

.about-footer .primary-link {
  background: #111414;
  color: var(--paper);
}

.about-footer .primary-link:hover {
  background: var(--accent-deep);
}

.legacy-scene {
  background: #0d1010;
}

.legacy-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(139, 211, 183, .08), transparent 36%),
    url("assets/hero-ocean.jpg") center / cover;
  filter: grayscale(1) contrast(1.2);
  opacity: .12;
}

.legacy-shell {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}

.legacy-heading {
  align-self: center;
  max-width: 820px;
}

.legacy-heading h2 {
  font-size: 7.2rem;
  line-height: .86;
}

.legacy-heading .title-line-offset {
  margin-left: .8em;
  color: var(--accent);
}

.legacy-actions {
  position: absolute;
  top: 31%;
  right: 0;
  width: min(36%, 470px);
}

.legacy-actions > p {
  max-width: 420px;
  margin: 0 0 28px;
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.migration-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}

.migration-route > span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.migration-route small {
  color: var(--ink-faint);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 9px;
}

.migration-route strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migration-route svg {
  width: 18px;
  color: var(--accent);
  stroke-width: 1.5;
}

.legacy-main-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  align-items: center;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding-block: 17px;
  transition: color 220ms ease, padding 360ms var(--ease-out), transform 220ms var(--ease-out);
}

.legacy-main-link:hover {
  padding-inline: 12px;
  color: var(--accent);
}

.legacy-main-link span {
  color: var(--ink-dim);
  font-size: 11px;
}

.legacy-main-link strong {
  grid-column: 1;
  font-size: 24px;
  font-weight: 560;
}

.legacy-main-link svg {
  grid-row: 1 / 3;
  grid-column: 2;
}

.scene-footer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.scene-footer > div:first-child {
  display: grid;
}

.scene-footer strong {
  font-size: 17px;
}

.scene-footer span,
.scene-footer a {
  color: var(--ink-dim);
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  position: relative;
  padding-block: 4px;
  transition: color 220ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-legal {
  display: grid;
  justify-items: end;
}

.footer-legal a:hover {
  color: var(--ink);
}

.legacy-word {
  position: absolute;
  right: 4px;
  top: 800px;
  bottom: calc(var(--dock-height) - 32px);
  z-index: 1;
  margin: 0;
  color: rgba(240, 242, 239, .035);
  font-size: 11rem;
  font-weight: 800;
  line-height: .8;
  pointer-events: none;
}

.stage-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: flex;
  height: var(--dock-height);
  align-items: center;
  background: rgba(9, 11, 11, .54);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
  padding-block: 4px;
}

.stage-progress {
  position: relative;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(240, 242, 239, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.stage-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  transform-origin: left;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 34%, #e8fff6 54%, var(--accent) 72%, var(--accent-deep));
  background-size: 220% 100%;
  box-shadow: 0 0 12px rgba(139, 211, 183, .52);
  animation: progress-flow 3.2s linear infinite;
  transition: width 760ms var(--ease-snap);
}

@keyframes progress-flow {
  to { background-position: -220% 0; }
}

@media (max-width: 1100px) {
  .hero-title { font-size: 6.5rem; }
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); column-gap: 48px; }
  .services-shell { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
  .service-layout { grid-template-columns: minmax(300px, 1.08fr) minmax(220px, .82fr); gap: 14px; }
  .scene-intro h2,
  .about-content h2 { font-size: 3.7rem; }
  .legacy-heading h2 { font-size: 6rem; }
  .about-shell { gap: 5%; }
}

@media (max-height: 760px) and (min-width: 901px) {
  :root { --header-height: 66px; --dock-height: 12px; }
  .brand-glyph { width: 32px; height: 32px; }
  .hero-title { font-size: 6.7rem; }
  .scene-shell { padding-block: calc(var(--header-height) + 22px) calc(var(--dock-height) + 24px); }
  .scene-intro h2,
  .about-content h2 { font-size: 3.5rem; }
  .service-item { min-height: 56px; }
  .service-preview { min-height: 338px; }
  .about-photo img { height: min(63dvh, 470px); }
  .about-lead { margin-top: 20px; }
  .discipline-grid { margin-top: 22px; }
  .discipline-grid span { padding-block: 9px; }
  .about-footer { margin-top: 20px; }
  .legacy-heading h2 { font-size: 5.8rem; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .scene-intro h2 { font-size: 3.25rem; }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
    --dock-height: 12px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 16px;
  }

  .brand-domain,
  .desktop-nav,
  .header-entry {
    display: none;
  }

  .brand {
    grid-template-columns: 32px auto;
    grid-template-rows: auto;
  }

  .brand-glyph {
    grid-row: auto;
    width: 32px;
    height: 32px;
  }

  .brand-mark {
    width: 21px;
    height: 21px;
  }

  .brand-name {
    align-self: center;
  }

  .menu-toggle {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: rgba(9, 11, 11, .3);
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.7;
  }

  .site-header.menu-active {
    height: 100dvh;
    align-content: start;
    background: var(--page);
  }

  .mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: grid;
    align-content: start;
    background: var(--page);
    padding: 24px 16px calc(var(--dock-height) + 20px);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    position: relative;
    display: flex;
    min-height: 66px;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    border: 1px solid rgba(240, 242, 239, .18);
    border-radius: var(--glass-radius);
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .12), transparent 36%),
      linear-gradient(135deg, rgba(240, 242, 239, .08), rgba(139, 211, 183, .035));
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    padding-inline: 16px;
    font-size: 22px;
    font-weight: 600;
    transition: border-color 240ms ease, background-color 240ms ease, transform 240ms var(--ease-out);
  }

  .mobile-menu a:active,
  .mobile-menu a.is-current {
    transform: scale(.985);
    border-color: rgba(139, 211, 183, .5);
    background-color: rgba(139, 211, 183, .09);
  }

  .mobile-menu small {
    color: var(--ink-faint);
    font-family: "Cascadia Mono", monospace;
    font-size: 9px;
  }

  .scene-rail {
    scroll-snap-type: none;
  }

  .scene {
    min-height: 100dvh;
    scroll-snap-stop: normal;
  }

  .scene-shell,
  .hero-content {
    width: min(100% - 32px, 1360px);
  }

  .hero-coordinates {
    top: calc(var(--header-height) + 34px);
    right: 16px;
    left: 16px;
    justify-content: space-between;
    font-size: 7px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-block: calc(var(--header-height) + 56px) calc(var(--dock-height) + 48px);
  }

  .hero-title {
    margin-top: 18px;
    font-size: 4.7rem;
    line-height: .84;
  }

  .hero-title .title-line-offset {
    margin-left: .5em;
  }

  .hero-foot {
    margin: 28px 0 0;
  }

  .hero-intro p {
    max-width: 340px;
    font-size: 15px;
  }

  .hero-intro span {
    font-size: 12px;
  }

  .hero-side-note {
    display: none;
  }

  .primary-link {
    min-height: 44px;
  }

  .services-scene,
  .about-scene,
  .legacy-scene {
    min-height: auto;
  }

  .services-shell {
    display: block;
    height: auto;
    min-height: auto;
    padding-block: calc(var(--header-height) + 45px) calc(var(--dock-height) + 60px);
  }

  .scene-intro {
    max-width: 520px;
  }

  .scene-intro h2,
  .about-content h2,
  .legacy-heading h2 {
    font-size: 3rem;
  }

  .scene-summary {
    margin: 18px 0 0 32px;
  }

  .service-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }

  .service-item {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    min-height: 60px;
  }

  .service-item > small {
    display: none;
  }

  .service-preview {
    min-height: 300px;
  }

  .domain-ticker {
    bottom: var(--dock-height);
  }

  .about-shell {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    gap: 46px;
    align-content: center;
    padding-block: calc(var(--header-height) + 48px) calc(var(--dock-height) + 52px);
  }

  .about-photo {
    width: min(88%, 520px);
    max-height: none;
  }

  .about-photo img {
    height: 300px;
  }

  .about-lead,
  .discipline-grid,
  .about-footer {
    margin-left: 0;
  }

  .about-lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .discipline-grid {
    margin-top: 26px;
  }

  .about-footer {
    align-items: flex-start;
    margin-top: 24px;
  }

  .legacy-shell {
    min-height: 100dvh;
    padding-block: calc(var(--header-height) + 56px) calc(var(--dock-height) + 34px);
  }

  .legacy-heading {
    align-self: start;
    margin-top: 9vh;
  }

  .legacy-heading .title-line-offset {
    margin-left: .3em;
  }

  .legacy-actions {
    position: static;
    width: 100%;
    align-self: center;
    margin-top: 48px;
  }

  .legacy-actions > p {
    font-size: 15px;
  }

  .scene-footer {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .footer-links {
    justify-self: end;
  }

  .footer-legal {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .legacy-word {
    bottom: calc(var(--dock-height) + 44px);
    font-size: 5.2rem;
  }

}

@media (max-width: 520px) {
  .hero-title {
    font-size: 4.1rem;
  }

  .scene-intro h2,
  .about-content h2,
  .legacy-heading h2 {
    font-size: 2.65rem;
  }

  .service-preview {
    min-height: 270px;
  }

  .preview-copy h3 {
    font-size: 1.9rem;
  }

  .about-photo {
    width: 92%;
  }

  .about-photo img {
    height: 270px;
  }

  .discipline-grid span {
    grid-template-columns: 22px 1fr;
    font-size: 13px;
  }

  .about-footer {
    flex-direction: column;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  .scene-rail {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-animate] {
    opacity: 1;
    transform: none;
  }

  .hero-media,
  .hero.is-active .hero-media,
  .about-photo,
  .about-scene.is-active .about-photo,
  .about-photo img,
  .about-scene.is-active .about-photo img {
    transform: none;
    clip-path: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-solid,
  .site-header.menu-active,
  .stage-dock,
  .desktop-nav a,
  .header-entry,
  .mobile-menu a {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--page);
  }
}
