:root {
  color-scheme: dark;
  --bg: #06110e;
  --bg-2: #0d1f18;
  --ink: #f6f2e7;
  --ink-strong: #ffffff;
  --muted: rgba(246, 242, 231, 0.68);
  --muted-soft: rgba(246, 242, 231, 0.44);
  --line: rgba(246, 242, 231, 0.18);
  --line-strong: rgba(246, 242, 231, 0.36);
  --ember: #ff6a2c;
  --amber: #f2cf5b;
  --mint: #57d7c5;
  --violet: #a99bf5;
  --panel: rgba(6, 17, 14, 0.62);
  --panel-strong: rgba(7, 22, 18, 0.84);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --content: 1240px;
  --pad: max(24px, calc((100vw - var(--content)) / 2));
  --radius: 8px;
  --pointer-x: 50%;
  --pointer-y: 50%;
  --scroll-depth: 0;
  --scroll-angle: 0deg;
  --scroll-shift-x: 0px;
  --scroll-shift-y: 0px;
  --scan-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 18%, rgba(87, 215, 197, 0.12), transparent 28rem),
    radial-gradient(circle at 14% 76%, rgba(255, 106, 44, 0.11), transparent 32rem),
    var(--bg);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

::selection {
  color: #06110e;
  background: var(--amber);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.is-loading {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--ink-strong);
  background:
    linear-gradient(135deg, rgba(87, 215, 197, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(242, 207, 91, 0.12), transparent 44%),
    radial-gradient(circle at 50% 44%, rgba(246, 242, 231, 0.08), transparent 38%),
    #020706;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.site-preloader.is-complete {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.site-preloader::before,
.site-preloader::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.site-preloader::before {
  background-image:
    linear-gradient(rgba(246, 242, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.24;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}

.site-preloader::after {
  background:
    linear-gradient(112deg, transparent 0 38%, rgba(87, 215, 197, 0.2) 47%, transparent 56%),
    linear-gradient(68deg, transparent 0 42%, rgba(242, 207, 91, 0.14) 48%, transparent 56%);
  opacity: 0.62;
  transform: translate3d(calc((var(--loader-progress, 0) - 0.5) * 22vw), 0, 0);
  transition: transform 180ms ease;
}

.preloader-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: min(620px, 100%);
  padding: 28px;
  border: 1px solid rgba(246, 242, 231, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%),
    rgba(4, 14, 11, 0.76);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.44);
}

.preloader-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 122px;
  aspect-ratio: 1;
}

.preloader-orb svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.preloader-track,
.preloader-progress-ring {
  fill: none;
  stroke-width: 4;
}

.preloader-track {
  stroke: rgba(246, 242, 231, 0.14);
}

.preloader-progress-ring {
  stroke: var(--amber);
  stroke-dasharray: 327;
  stroke-dashoffset: var(--loader-ring-offset, 327);
  stroke-linecap: round;
  filter: drop-shadow(0 0 16px rgba(242, 207, 91, 0.28));
  transition: stroke-dashoffset 180ms ease;
}

.preloader-orb span {
  position: relative;
  color: var(--ink-strong);
  font-size: 1.42rem;
  font-weight: 950;
}

.preloader-copy p {
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.preloader-copy h2 {
  margin-top: 12px;
  color: var(--ink-strong);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.preloader-meter {
  position: relative;
  height: 6px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(246, 242, 231, 0.14);
}

.preloader-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--amber));
  transform: scaleX(var(--loader-progress, 0));
  transform-origin: left center;
  transition: transform 180ms ease;
}

.preloader-status {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: rgba(246, 242, 231, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
}

.preloader-status strong {
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}

.ambient-canvas,
.atmosphere,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-canvas {
  z-index: 4;
  opacity: 1;
  mix-blend-mode: screen;
}

.ambient-canvas.is-fallback {
  display: none;
}

.atmosphere {
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, rgba(6, 17, 14, 0.44), rgba(6, 17, 14, 0.8));
}

.scene-stack,
.scene-plate,
.scene-plate span {
  position: absolute;
  inset: 0;
}

.scene-stack {
  overflow: hidden;
}

.scene-stack::before {
  position: absolute;
  inset: -20vh -18vw;
  content: "";
  background:
    radial-gradient(circle at 18% 24%, rgba(39, 91, 73, 0.36), transparent 34%),
    radial-gradient(circle at 78% 62%, rgba(205, 139, 46, 0.22), transparent 30%),
    linear-gradient(135deg, #010604 0%, #06110d 42%, #140c07 100%);
  filter: saturate(1.08) contrast(1.12) brightness(0.78);
  transform: translate3d(calc(var(--scroll-shift-x) * -0.55), calc(var(--scroll-shift-y) * -0.32), 0) scale(1.1);
}

.scene-plate {
  --far-x: 0px;
  --far-y: 0px;
  --near-x: 0px;
  --near-y: 0px;
  --far-scale: 1.08;
  --near-scale: 1.16;
  --diag-top-left: 0px;
  --diag-top-right: 0px;
  --diag-bottom-right: 100vh;
  --diag-bottom-left: 100vh;
  overflow: hidden;
  contain: paint;
  clip-path: polygon(
    0 var(--diag-top-left),
    100% var(--diag-top-right),
    100% var(--diag-bottom-right),
    0 var(--diag-bottom-left)
  );
  will-change: clip-path;
}

.scene-plate span {
  inset: -22vh -24vw;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  backface-visibility: hidden;
  transform-origin: center;
  will-change: transform;
}

.scene-far {
  filter: saturate(1.12) contrast(1.18) brightness(0.78);
  transform: translate3d(var(--far-x), var(--far-y), 0) scale(var(--far-scale));
}

.scene-near {
  opacity: 0.12;
  mix-blend-mode: screen;
  filter: saturate(1.18) contrast(1.14) brightness(0.64);
  transform: translate3d(var(--near-x), var(--near-y), 0) scale(var(--near-scale));
}

.scene-origin .scene-far,
.scene-craft .scene-far,
.scene-studio .scene-far {
  filter: saturate(1.14) contrast(1.18) brightness(0.76);
}

.scene-systems .scene-far,
.scene-process .scene-far,
.scene-contact .scene-far {
  filter: saturate(1.08) contrast(1.04) brightness(1.22);
}

.scene-systems .scene-near,
.scene-process .scene-near,
.scene-contact .scene-near {
  opacity: 0.11;
  filter: saturate(1.02) contrast(1.02) brightness(1);
}

.scene-origin .scene-far {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 9, 0.34), rgba(3, 12, 9, 0.06), rgba(3, 12, 9, 0.36)),
    url("assets/ai/backgrounds/bg-origin-hero-v2.webp");
}

.scene-origin .scene-near {
  opacity: 0.07;
  background-image:
    linear-gradient(90deg, rgba(3, 12, 9, 0.46), rgba(3, 12, 9, 0.08), rgba(3, 12, 9, 0.5)),
    url("assets/ai/backgrounds/bg-work-hires-v2.webp");
}

.scene-systems .scene-far {
  background-image:
    linear-gradient(90deg, rgba(238, 246, 229, 0.34), rgba(246, 242, 231, 0.04) 48%, rgba(242, 207, 91, 0.22)),
    linear-gradient(180deg, rgba(3, 12, 9, 0.08), rgba(3, 12, 9, 0.26)),
    url("assets/ai/backgrounds/bg-work-hires-v2.webp");
}

.scene-systems .scene-near {
  opacity: 0.1;
  background-image:
    linear-gradient(90deg, rgba(246, 242, 231, 0.16), rgba(3, 12, 9, 0.02), rgba(87, 215, 197, 0.16)),
    url("assets/ai/backgrounds/bg-contact-hires-v2.webp");
}

.scene-craft .scene-far {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 9, 0.38), rgba(3, 12, 9, 0.05), rgba(3, 12, 9, 0.38)),
    url("assets/ai/backgrounds/bg-services-hires-v2.webp");
}

.scene-craft .scene-near {
  opacity: 0.06;
  background-image:
    linear-gradient(90deg, rgba(3, 12, 9, 0.52), rgba(3, 12, 9, 0.08), rgba(3, 12, 9, 0.46)),
    url("assets/ai/backgrounds/bg-studio-hires-v2.webp");
}

.scene-process .scene-far {
  background-image:
    linear-gradient(90deg, rgba(246, 242, 231, 0.3), rgba(246, 242, 231, 0.04) 50%, rgba(87, 215, 197, 0.2)),
    linear-gradient(180deg, rgba(3, 12, 9, 0.06), rgba(3, 12, 9, 0.24)),
    url("assets/ai/backgrounds/bg-process-hires-v2.webp");
}

.scene-process .scene-near {
  opacity: 0.1;
  background-image:
    linear-gradient(90deg, rgba(242, 207, 91, 0.14), rgba(3, 12, 9, 0.02), rgba(246, 242, 231, 0.13)),
    url("assets/ai/backgrounds/bg-services-hires-v2.webp");
}

.scene-studio .scene-far {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 9, 0.38), rgba(3, 12, 9, 0.06), rgba(3, 12, 9, 0.38)),
    url("assets/ai/backgrounds/bg-studio-hires-v2.webp");
}

.scene-studio .scene-near {
  opacity: 0.06;
  background-image:
    linear-gradient(90deg, rgba(3, 12, 9, 0.5), rgba(3, 12, 9, 0.08), rgba(3, 12, 9, 0.48)),
    url("assets/ai/backgrounds/bg-work-hires-v2.webp");
}

.scene-contact .scene-far {
  background-image:
    linear-gradient(90deg, rgba(246, 242, 231, 0.26), rgba(246, 242, 231, 0.04) 48%, rgba(242, 207, 91, 0.2)),
    linear-gradient(180deg, rgba(3, 12, 9, 0.08), rgba(3, 12, 9, 0.28)),
    url("assets/ai/backgrounds/bg-contact-hires-v2.webp");
}

.scene-contact .scene-near {
  opacity: 0.1;
  background-image:
    linear-gradient(90deg, rgba(87, 215, 197, 0.16), rgba(3, 12, 9, 0.03), rgba(246, 242, 231, 0.14)),
    url("assets/ai/backgrounds/bg-process-hires-v2.webp");
}

.atmosphere::before,
.atmosphere::after {
  position: absolute;
  inset: -18%;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.atmosphere::before {
  background:
    linear-gradient(110deg, transparent 14%, rgba(87, 215, 197, 0.08) 32%, transparent 48%),
    conic-gradient(from var(--scroll-angle) at 58% 50%, transparent, rgba(87, 215, 197, 0.07), transparent 32%, rgba(255, 106, 44, 0.055), transparent 66%);
  opacity: 0.5;
  mix-blend-mode: screen;
}

.atmosphere::after {
  background:
    linear-gradient(115deg, transparent 18%, rgba(87, 215, 197, 0.12) 19%, transparent 21%),
    linear-gradient(68deg, transparent 48%, rgba(242, 207, 91, 0.12) 49%, transparent 51%),
    radial-gradient(ellipse at 50% 18%, rgba(169, 155, 245, 0.1), transparent 34rem);
  opacity: calc(0.22 + (var(--scroll-depth) * 0.38));
  mix-blend-mode: screen;
  transform: translate3d(var(--scroll-shift-x), var(--scroll-shift-y), 0);
}

.scanline {
  z-index: 1;
  opacity: 0.38;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, transparent, rgba(242, 207, 91, 0.18), transparent);
  background-position: 0 0, 0 0, 0 var(--scan-y);
  background-size: 100% 4px, 72px 100%, 100% 38vh;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 86%, transparent);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 86px;
  padding: 20px var(--pad);
  color: var(--ink-strong);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(2, 8, 6, 0.82), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.site-header.is-scrolled::before,
body.menu-open .site-header::before {
  opacity: 1;
}

.menu-toggle {
  position: relative;
  z-index: 42;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(6, 17, 14, 0.36);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.04);
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 1px;
  margin: 0 auto;
  background: var(--ink);
  transform-origin: center;
  transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.site-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 39;
  display: grid;
  align-content: center;
  gap: 22px;
  width: min(420px, 100vw);
  height: 100dvh;
  padding: 104px 48px 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 106, 44, 0.08), transparent 44%),
    rgba(3, 12, 9, 0.88);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(26px, 0, 0);
  transition: opacity 240ms ease, transform 240ms ease;
}

body.menu-open .site-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.site-menu a {
  display: flex;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink-strong);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--amber);
}

.section-rail {
  position: fixed;
  top: 50%;
  right: max(18px, calc((100vw - 1360px) / 2));
  z-index: 24;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.section-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 20px;
}

.section-rail a::before {
  position: absolute;
  content: "";
  right: 0;
  width: 18px;
  height: 2px;
  background: rgba(246, 242, 231, 0.42);
  transition: width 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.section-rail a::after {
  display: none;
}

.section-rail a.is-active::before,
.section-rail a:hover::before,
.section-rail a:focus-visible::before {
  width: 34px;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(242, 207, 91, 0.42);
}

.section-rail span {
  position: absolute;
  right: 50px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(8px, 0, 0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.section-rail a:hover span,
.section-rail a:focus-visible span,
.section-rail a.is-active span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

main {
  position: relative;
  z-index: 3;
}

.panel {
  position: relative;
  display: grid;
  min-height: max(100svh, 760px);
  padding: 120px var(--pad) 92px;
  overflow: hidden;
}

.panel::before {
  position: absolute;
  inset: auto var(--pad) 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(246, 242, 231, 0.24), transparent);
  opacity: 0.7;
}

.panel-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.overline {
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel h1,
.panel h2 {
  color: var(--ink-strong);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}

.panel h1 {
  font-size: 8.3rem;
}

.panel h1 span {
  display: block;
}

.panel h1 span:first-child {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.86);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.14);
}

.panel h2 {
  font-size: 5.2rem;
}

.panel h3 {
  color: var(--ink-strong);
  font-size: 1.2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.panel p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-panel {
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  align-items: center;
  column-gap: 58px;
}

.hero-copy {
  align-self: center;
  max-width: 740px;
}

.hero-line {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(246, 242, 231, 0.84);
  font-size: 1.22rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.signal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(246, 242, 231, 0.28);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(246, 242, 231, 0.06);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.signal-link:hover,
.signal-link:focus-visible {
  border-color: rgba(242, 207, 91, 0.64);
  color: var(--ink-strong);
  background: rgba(242, 207, 91, 0.12);
  transform: translateY(-2px);
}

.signal-primary {
  border-color: rgba(255, 106, 44, 0.72);
  color: #170904;
  background: linear-gradient(135deg, var(--ember), var(--amber));
  box-shadow:
    0 16px 46px rgba(255, 106, 44, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.signal-primary:hover,
.signal-primary:focus-visible {
  color: #110805;
  background: linear-gradient(135deg, #ff7c43, #f5da75);
}

.hero-object {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(620px, 100%);
  min-height: 620px;
  justify-self: end;
  perspective: 1200px;
}

.hero-object::before,
.hero-object::after {
  position: absolute;
  z-index: 4;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.hero-object::before {
  top: 8%;
  right: 3%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(87, 215, 197, 0.18);
  border-top-color: rgba(242, 207, 91, 0.56);
  border-left-color: rgba(255, 106, 44, 0.28);
}

.specimen {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.specimen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: screen;
  filter: saturate(1.16) contrast(1.06) brightness(0.9);
}

.specimen::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 106, 44, 0.24), transparent 42%),
    linear-gradient(315deg, rgba(87, 215, 197, 0.25), transparent 48%),
    rgba(0, 0, 0, 0.08);
}

.specimen-back {
  top: 42px;
  right: 88px;
  width: 380px;
  height: 480px;
  opacity: 0.78;
  transform: rotate(-10deg) translate3d(-42px, 38px, -140px);
}

.specimen-front {
  right: 0;
  bottom: 36px;
  width: 460px;
  height: 560px;
  transform: rotate(6deg);
}

.specimen-ring {
  position: absolute;
  right: 42px;
  bottom: 12px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(242, 207, 91, 0.28);
  border-radius: 50%;
  opacity: 0.84;
  transform: rotate(-18deg);
}

.specimen-ring::before {
  position: absolute;
  content: "";
  border-radius: 50%;
  inset: 54px;
  border: 1px solid rgba(87, 215, 197, 0.18);
}

.panel-caption {
  position: absolute;
  right: var(--pad);
  bottom: 96px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 260px);
  gap: 18px;
  max-width: 350px;
}

.panel-caption span,
.process-track span,
.service-grid span,
.project-number {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
}

.panel-caption p {
  color: rgba(246, 242, 231, 0.62);
  font-size: 0.85rem;
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 4;
  color: rgba(246, 242, 231, 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue::after {
  display: block;
  width: 1px;
  height: 34px;
  margin: 10px auto 0;
  content: "";
  background: linear-gradient(180deg, var(--amber), transparent);
}

.work-panel {
  grid-template-columns: minmax(360px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  column-gap: 54px;
}

.work-panel .giant-label {
  top: clamp(-52px, -3svh, -28px);
}

.giant-label {
  position: absolute;
  top: 10%;
  left: var(--pad);
  z-index: 1;
  color: transparent;
  font-size: 10rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
  opacity: 0.36;
  -webkit-text-stroke: 1.35px rgba(92, 255, 183, 0.86);
  text-shadow:
    0 0 18px rgba(92, 255, 183, 0.24),
    0 0 42px rgba(87, 215, 197, 0.16);
}

.giant-label-right {
  right: var(--pad);
  left: auto;
}

.work-copy {
  max-width: 540px;
}

.work-copy p:last-child,
.process-copy p,
.request-copy p {
  margin-top: 24px;
}

.project-stack {
  --project-stack-gap: 18px;
  --github-reveal-width: min(calc(200% + var(--project-stack-gap)), calc(100vw - var(--pad) - var(--pad)));
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--project-stack-gap);
  align-items: start;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.project-card:first-child {
  min-height: 330px;
}

.project-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.1) brightness(0.74);
  transition: transform 500ms ease, filter 500ms ease;
}

.project-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.32) 54%, rgba(0, 0, 0, 0.82)),
    linear-gradient(135deg, rgba(255, 106, 44, 0.18), transparent 38%, rgba(87, 215, 197, 0.14));
}

.project-card::after {
  position: absolute;
  inset: -40%;
  z-index: -1;
  content: "";
  background: linear-gradient(115deg, transparent 38%, rgba(242, 207, 91, 0.2), transparent 49%);
  opacity: 0;
  transform: translate3d(18%, 0, 0) rotate(8deg);
  transition: opacity 180ms ease;
}

.project-card:hover,
.project-card:focus-visible,
.project-card:focus-within {
  border-color: rgba(242, 207, 91, 0.58);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.58);
  transform: translateY(-5px);
}

.project-card:hover img,
.project-card:focus-visible img,
.project-card:focus-within img {
  filter: saturate(1.18) contrast(1.16) brightness(0.82);
  transform: scale(1.04);
}

.project-card:hover::after,
.project-card:focus-visible::after,
.project-card:focus-within::after {
  opacity: 1;
}

.project-card .project-name {
  margin-top: 10px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-card strong {
  max-width: 520px;
  margin-top: 12px;
  color: var(--ink-strong);
  font-size: 1.32rem;
  line-height: 1.04;
}

.project-card:not(:first-child) strong {
  font-size: 1.32rem;
}

.project-card em {
  margin-top: 18px;
  color: rgba(246, 242, 231, 0.72);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.brand-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: min(46%, 172px);
  color: rgba(246, 242, 231, 0.92);
  opacity: 0.9;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}

.github-mark {
  aspect-ratio: 1;
}

.github-mark svg {
  height: 100%;
}

.etsy-mark {
  width: min(62%, 224px);
  color: #f56500;
}

.etsy-mark svg {
  width: 100%;
  height: auto;
}

.etsy-mark text {
  fill: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  font-weight: 700;
  letter-spacing: -4px;
}

.project-github {
  background:
    radial-gradient(circle at 18% 18%, rgba(87, 215, 197, 0.24), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(242, 207, 91, 0.16), transparent 30%),
    #040b09;
}

.project-github::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)),
    linear-gradient(rgba(246, 242, 231, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(87, 215, 197, 0.2), transparent 44%, rgba(255, 106, 44, 0.14));
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.project-app-list,
.project-github-wide,
.project-shop-card {
  grid-column: 1 / -1;
}

.project-app-list {
  justify-content: flex-start;
  min-height: 300px;
  background:
    radial-gradient(circle at 14% 18%, rgba(87, 215, 197, 0.26), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(242, 207, 91, 0.2), transparent 30%),
    #050b09;
}

.project-app-list::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.8)),
    linear-gradient(120deg, rgba(87, 215, 197, 0.18), transparent 44%, rgba(242, 207, 91, 0.16)),
    linear-gradient(rgba(246, 242, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

.app-showcase-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.app-showcase-list a,
.project-action {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 231, 0.18);
  border-radius: 8px;
  background: rgba(3, 10, 8, 0.62);
  color: rgba(246, 242, 231, 0.76);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.app-showcase-list a:hover,
.app-showcase-list a:focus-visible,
.project-action:hover,
.project-action:focus-visible {
  border-color: rgba(242, 207, 91, 0.58);
  background: rgba(12, 24, 20, 0.78);
  transform: translateY(-2px);
}

.app-showcase-list span {
  color: var(--ink-strong);
  font-size: 1.02rem;
  font-weight: 950;
}

.app-showcase-list small {
  max-width: 28ch;
  color: rgba(246, 242, 231, 0.68);
  font-size: 0.84rem;
  line-height: 1.35;
}

.app-showcase-list em,
.project-action {
  color: var(--amber);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 950;
}

.project-github-wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  min-height: 500px;
}

.project-github-wide .brand-mark {
  top: 22px;
  width: min(18%, 118px);
  opacity: 0.72;
}

.project-github-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: min(540px, calc(100% - 150px));
  min-height: auto;
}

.project-action {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 10px 12px;
}

.project-action-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-shop-card {
  justify-content: flex-start;
  min-height: 230px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.project-shop-card .etsy-mark {
  top: 32px;
  right: 30px;
  width: min(34%, 156px);
  opacity: 0.88;
}

.project-shop-card::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.8)),
    linear-gradient(135deg, rgba(255, 106, 44, 0.2), transparent 42%, rgba(87, 215, 197, 0.16));
}

.github-reveal {
  position: relative;
  align-self: flex-end;
  width: var(--github-reveal-width);
  max-height: 0;
  margin-top: 0;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 0;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(246, 242, 231, 0);
  border-radius: 8px;
  background: rgba(3, 10, 8, 0.62);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -14px, 0) scaleY(0.98);
  transform-origin: top right;
  transition:
    max-height 420ms cubic-bezier(0.2, 0.78, 0.2, 1),
    margin-top 320ms ease,
    padding-top 320ms ease,
    padding-bottom 320ms ease,
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.2, 0.78, 0.2, 1),
    border-color 220ms ease;
}

.github-reveal::before,
.github-reveal::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.github-reveal::before {
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(2, 7, 6, 0.9), rgba(2, 7, 6, 0.5) 48%, rgba(2, 7, 6, 0.78)),
    linear-gradient(135deg, rgba(87, 215, 197, 0.24), transparent 44%, rgba(242, 207, 91, 0.13)),
    url("assets/ai/backgrounds/bg-work-hires-v2.webp");
  background-position: center, center, 54% 44%;
  background-size: auto, auto, cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.86);
}

.github-reveal::after {
  z-index: -1;
  background-image:
    linear-gradient(rgba(246, 242, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 42%, rgba(87, 215, 197, 0.22), transparent 32%);
  background-size: 78px 78px, 78px 78px, auto;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.github-reveal-copy span {
  display: block;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.github-reveal-copy h3 {
  margin-top: 8px;
  color: var(--ink-strong);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

.github-reveal-copy p {
  max-width: 620px;
  margin-top: 10px;
  color: rgba(246, 242, 231, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.github-calendar-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  min-height: 236px;
  width: 100%;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #30363d;
  border-radius: 6px;
  background: #0d1117;
  color: #7d8590;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.github-calendar-kicker {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.github-calendar-card p {
  max-width: 62ch;
  margin: 0;
  color: #7d8590;
  font-size: 13px;
  line-height: 1.45;
}

.github-calendar-card:hover,
.github-calendar-card:focus-visible {
  border-color: #8b949e;
}

.github-calendar-title {
  color: #e6edf3;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.github-calendar-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-color: #30363d transparent;
  scrollbar-width: thin;
}

.github-calendar-scroll::-webkit-scrollbar {
  height: 8px;
}

.github-calendar-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #30363d;
}

.github-calendar-grid {
  display: grid;
  grid-template-columns: 29px repeat(var(--weeks), 11px);
  grid-template-rows: 13px repeat(7, 11px);
  gap: 4px;
  width: max-content;
  color: #7d8590;
  font-size: 12px;
  line-height: 1;
}

.github-calendar-month {
  grid-row: 1;
  height: 13px;
  color: #7d8590;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

.github-calendar-weekday {
  grid-column: 1;
  width: 29px;
  color: #7d8590;
  font-weight: 400;
  text-align: left;
}

.ContributionCalendar-day {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background-color: #161b22;
  box-shadow: inset 0 0 0 1px rgba(27, 31, 35, 0.06);
}

.ContributionCalendar-day[data-level="1"] {
  background-color: #0e4429;
}

.ContributionCalendar-day[data-level="2"] {
  background-color: #006d32;
}

.ContributionCalendar-day[data-level="3"] {
  background-color: #26a641;
}

.ContributionCalendar-day[data-level="4"] {
  background-color: #39d353;
}

.ContributionCalendar-day.is-empty {
  background: transparent;
  box-shadow: none;
}

.github-calendar-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #7d8590;
  font-size: 12px;
  line-height: 1;
}

.github-calendar-footer i {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: #161b22;
}

.github-calendar-footer i[data-level="1"] {
  background: #0e4429;
}

.github-calendar-footer i[data-level="2"] {
  background: #006d32;
}

.github-calendar-footer i[data-level="3"] {
  background: #26a641;
}

.github-calendar-footer i[data-level="4"] {
  background: #39d353;
}

.services-panel {
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  column-gap: 48px;
}

.services-copy {
  grid-column: 1 / -1;
  max-width: 920px;
  margin-bottom: 36px;
}

.services-copy h2 {
  max-width: 960px;
  font-size: clamp(3.3rem, 6vw, 4.75rem);
  word-spacing: 0.08em;
}

.service-visual {
  position: absolute;
  right: var(--pad);
  top: 110px;
  z-index: 1;
  width: min(460px, 36vw);
  aspect-ratio: 1;
  opacity: 0.82;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  filter: saturate(1.12) contrast(1.08) brightness(0.92);
  mix-blend-mode: normal;
}

.signal-path {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(87, 215, 197, 0.22);
  border-radius: 50%;
}

.service-tabs-shell {
  --service-detail-height: 306px;
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
}

.service-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  position: relative;
  min-height: 188px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(6, 17, 14, 0.24);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.service-grid article:hover,
.service-grid article.is-active,
.service-grid article.is-tracing {
  border-color: rgba(242, 207, 91, 0.42);
  background:
    linear-gradient(135deg, rgba(87, 215, 197, 0.16), transparent 52%),
    rgba(6, 17, 14, 0.34);
}

.service-grid.has-tracing {
  border-color: rgba(246, 242, 231, 0.055);
}

.service-grid.has-tracing article {
  border-color: rgba(246, 242, 231, 0.055);
}

.service-grid.has-tracing article.is-tracing {
  border-color: rgba(242, 207, 91, 0.14);
}

.service-tab {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 188px;
  padding: 22px 16px 24px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.service-tab:focus-visible {
  outline: 2px solid rgba(242, 207, 91, 0.8);
  outline-offset: -8px;
}

.service-tab span {
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 950;
}

.service-tab strong {
  display: block;
  align-self: end;
  color: var(--ink-strong);
  font-size: clamp(0.96rem, 1.2vw, 1.18rem);
  line-height: 1.02;
}

.service-detail {
  position: relative;
  z-index: 3;
  overflow: hidden;
  height: var(--service-detail-height);
  border-right: 1px solid rgba(246, 242, 231, 0);
  border-bottom: 1px solid rgba(246, 242, 231, 0);
  border-left: 1px solid rgba(246, 242, 231, 0);
  background: rgba(3, 10, 8, 0.58);
  opacity: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  transform: translate3d(0, -24px, 0);
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.2, 0.78, 0.2, 1),
    border-color 220ms ease;
}

.service-tabs-shell.is-open .service-detail {
  border-right-color: rgba(246, 242, 231, 0.16);
  border-bottom-color: rgba(246, 242, 231, 0.16);
  border-left-color: rgba(246, 242, 231, 0.16);
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.service-detail::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 242, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: 0.28;
}

.service-detail-panel {
  --service-panel-image: url("assets/ai/backgrounds/bg-services-hires-v2.webp");
  --service-panel-position: 50% 50%;
  --service-panel-tint: rgba(87, 215, 197, 0.15);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  min-height: var(--service-detail-height);
  padding: 34px 38px;
}

.service-detail-panel[hidden] {
  display: none;
}

.service-detail-panel::before,
.service-detail-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.service-detail-panel::before {
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(2, 7, 6, 0.88) 0%, rgba(2, 7, 6, 0.6) 36%, rgba(2, 7, 6, 0.3) 100%),
    linear-gradient(135deg, var(--service-panel-tint), transparent 46%),
    var(--service-panel-image);
  background-position: center, center, var(--service-panel-position);
  background-size: auto, auto, cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.88);
}

.service-detail-panel::after {
  z-index: -1;
  background:
    radial-gradient(circle at 24% 24%, var(--service-panel-tint), transparent 32%),
    linear-gradient(115deg, rgba(242, 207, 91, 0.12), transparent 38%, rgba(87, 215, 197, 0.08));
  mix-blend-mode: screen;
  opacity: 0.72;
}

.service-detail-panel[data-service-panel="web-development"] {
  --service-panel-image: url("assets/ai/backgrounds/bg-work-hires-v2.webp");
  --service-panel-position: 58% 48%;
  --service-panel-tint: rgba(87, 215, 197, 0.2);
}

.service-detail-panel[data-service-panel="web-design"] {
  --service-panel-image: url("assets/ai/backgrounds/bg-origin-hero-v2.webp");
  --service-panel-position: 28% 50%;
  --service-panel-tint: rgba(169, 155, 245, 0.2);
}

.service-detail-panel[data-service-panel="product-design"] {
  --service-panel-image: url("assets/ai/backgrounds/bg-services-hires-v2.webp");
  --service-panel-position: 48% 54%;
  --service-panel-tint: rgba(242, 207, 91, 0.2);
}

.service-detail-panel[data-service-panel="software-development"] {
  --service-panel-image: url("assets/ai/backgrounds/bg-studio-hires-v2.webp");
  --service-panel-position: 64% 46%;
  --service-panel-tint: rgba(87, 215, 197, 0.18);
}

.service-detail-panel[data-service-panel="acrylic-fabrication"] {
  --service-panel-image: url("assets/ai/backgrounds/bg-process-hires-v2.webp");
  --service-panel-position: 58% 52%;
  --service-panel-tint: rgba(255, 106, 44, 0.18);
}

.service-detail-panel[data-service-panel="3d-modeling"] {
  --service-panel-image: url("assets/ai/backgrounds/bg-contact-hires-v2.webp");
  --service-panel-position: 44% 50%;
  --service-panel-tint: rgba(87, 215, 197, 0.2);
}

.service-detail-panel[data-service-panel="3d-printing"] {
  --service-panel-image: url("assets/ai/oz-bambu-h2d-print.webp");
  --service-panel-position: 64% 50%;
  --service-panel-tint: rgba(242, 207, 91, 0.18);
}

.service-detail-panel h3 {
  max-width: 300px;
  margin-top: 0;
  color: var(--ink-strong);
  font-size: clamp(1.35rem, 2vw, 2.18rem);
  line-height: 1.02;
}

.service-detail-copy {
  display: grid;
  gap: 14px;
}

.service-detail-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(246, 242, 231, 0.76);
  font-size: clamp(0.92rem, 1vw, 1.04rem);
  line-height: 1.64;
}

.process-panel {
  align-content: center;
}

.process-copy {
  max-width: 820px;
}

.process-tabs-shell {
  --process-detail-height: 318px;
  position: relative;
  z-index: 3;
  margin-top: 58px;
}

.process-track {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.process-track li {
  position: relative;
  min-height: 172px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 17, 14, 0.24);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.process-tab {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 172px;
  padding: 24px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.process-track li:hover,
.process-track li.is-tracing,
.process-track li.is-active {
  border-color: rgba(87, 215, 197, 0.34);
  background:
    linear-gradient(135deg, rgba(87, 215, 197, 0.18), transparent 48%),
    linear-gradient(315deg, rgba(242, 207, 91, 0.14), transparent 54%),
    rgba(6, 17, 14, 0.42);
}

.process-tab:focus-visible {
  outline: 2px solid rgba(242, 207, 91, 0.8);
  outline-offset: -8px;
}

.process-tab strong {
  display: block;
  align-self: end;
  color: var(--ink-strong);
  font-size: 1.42rem;
}

.process-detail {
  position: relative;
  z-index: 3;
  overflow: hidden;
  height: var(--process-detail-height);
  border-right: 1px solid rgba(246, 242, 231, 0);
  border-bottom: 1px solid rgba(246, 242, 231, 0);
  border-left: 1px solid rgba(246, 242, 231, 0);
  background:
    linear-gradient(115deg, rgba(87, 215, 197, 0.12), transparent 46%),
    linear-gradient(285deg, rgba(242, 207, 91, 0.11), transparent 48%),
    rgba(3, 10, 8, 0.62);
  opacity: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  transform: translate3d(0, -28px, 0);
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.2, 0.78, 0.2, 1),
    border-color 220ms ease;
}

.process-tabs-shell.is-open .process-detail {
  border-right-color: rgba(246, 242, 231, 0.16);
  border-bottom-color: rgba(246, 242, 231, 0.16);
  border-left-color: rgba(246, 242, 231, 0.16);
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.process-detail::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 242, 231, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.34;
}

.process-detail-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  min-height: var(--process-detail-height);
  padding: 38px;
}

.process-detail-panel[hidden] {
  display: none;
}

.process-detail-panel h3 {
  max-width: 330px;
  margin-top: 0;
  color: var(--ink-strong);
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  line-height: 1.02;
}

.process-detail-copy {
  display: grid;
  gap: 14px;
}

.process-detail-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(246, 242, 231, 0.72);
  font-size: clamp(0.94rem, 1vw, 1.06rem);
  line-height: 1.64;
}

.about-panel {
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: 62px;
}

.about-image {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.about-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 106, 44, 0.22), transparent 34%),
    linear-gradient(315deg, rgba(87, 215, 197, 0.24), transparent 42%),
    rgba(0, 0, 0, 0.14);
}

.about-image img {
  width: 100%;
  height: min(64svh, 620px);
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02) brightness(0.86);
}

.about-copy p:not(.overline) {
  margin-top: 22px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-links a,
.site-footer a,
.site-version,
.footer-reveal {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(246, 242, 231, 0.2);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.86rem;
  font-weight: 850;
}

.footer-reveal {
  position: relative;
  gap: 10px;
  overflow: hidden;
  color: rgba(246, 242, 231, 0.72);
  border-color: rgba(242, 207, 91, 0.2);
  background:
    linear-gradient(135deg, rgba(242, 207, 91, 0.1), transparent 52%),
    rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  transition: max-width 340ms cubic-bezier(0.2, 0.78, 0.2, 1), border-color 180ms ease, background 180ms ease;
}

.tech-stack {
  max-width: 86px;
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.old-versions {
  max-width: 64px;
}

.old-version-trigger {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  color: var(--amber);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-reveal.is-open {
  border-color: rgba(242, 207, 91, 0.44);
  background:
    linear-gradient(135deg, rgba(242, 207, 91, 0.16), transparent 54%),
    rgba(255, 255, 255, 0.06);
}

.tech-stack.is-open {
  max-width: min(calc(100vw - 48px), 620px);
}

.old-versions.is-open {
  max-width: 176px;
}

@media (hover: hover) and (pointer: fine) {
  .footer-reveal:hover {
    border-color: rgba(242, 207, 91, 0.44);
    background:
      linear-gradient(135deg, rgba(242, 207, 91, 0.16), transparent 54%),
      rgba(255, 255, 255, 0.06);
  }

  .tech-stack:hover {
    max-width: min(calc(100vw - 48px), 620px);
  }

  .old-versions:hover {
    max-width: 176px;
  }
}

.tech-stack:focus-visible,
.old-version-trigger:focus-visible {
  outline: 2px solid rgba(242, 207, 91, 0.84);
  outline-offset: 4px;
}

.tech-stack-trigger {
  flex: 0 0 auto;
  color: var(--amber);
}

.footer-reveal-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-8px, 0, 0);
  transition: opacity 220ms ease, visibility 220ms ease, transform 260ms ease;
}

.footer-reveal.is-open .footer-reveal-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
  .footer-reveal:hover .footer-reveal-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
}

.tech-stack-list span,
.old-version-list a {
  display: inline-flex;
  align-items: center;
  color: rgba(246, 242, 231, 0.72);
  font-size: 0.78rem;
}

.old-version-list a {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.old-version-list a:hover,
.old-version-list a:focus-visible {
  color: var(--amber);
}

.tech-stack-list span + span::before,
.old-version-list a + a::before {
  margin-right: 8px;
  content: "/";
  color: rgba(242, 207, 91, 0.45);
}

.site-version {
  color: rgba(246, 242, 231, 0.54);
  border-color: rgba(87, 215, 197, 0.2);
  background:
    linear-gradient(135deg, rgba(87, 215, 197, 0.1), transparent 52%),
    rgba(255, 255, 255, 0.035);
  font-variant-numeric: tabular-nums;
  cursor: default;
}

.request-panel {
  grid-template-columns: minmax(360px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 54px;
  padding-bottom: 150px;
}

.request-copy {
  max-width: 520px;
  padding-top: 16px;
}

.request-form {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 44, 0.08), transparent 45%),
    rgba(6, 17, 14, 0.66);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
}

.request-form label span {
  color: rgba(246, 242, 231, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(246, 242, 231, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.065);
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

input,
select {
  padding: 0 14px;
}

textarea {
  min-height: 156px;
  padding: 14px;
  resize: vertical;
}

select option {
  color: #111;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(242, 207, 91, 0.7);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(242, 207, 91, 0.12);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.form-footer .signal-link {
  border: 0;
}

.form-footer p {
  color: rgba(246, 242, 231, 0.62);
  font-size: 0.9rem;
}

.form-footer a {
  color: var(--amber);
  font-weight: 900;
}

.site-footer {
position: relative;
z-index: 3;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 24px;
  width: min(var(--content), calc(100% - 48px));
  min-height: 92px;
  margin: -116px auto 0;
  padding: 0 0 26px;
  color: rgba(246, 242, 231, 0.58);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(var(--parallax-r, 0));
  transition: transform 120ms linear;
  will-change: transform;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(242, 207, 91, 0.84);
  outline-offset: 4px;
}

@media (hover: none), (pointer: coarse), (max-width: 820px) {
  .ambient-canvas {
    display: none;
  }

  .project-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
    transform: none;
  }

  .project-card:hover img {
    filter: saturate(1.08) contrast(1.1) brightness(0.74);
    transform: none;
  }

  .project-card:hover::after {
    opacity: 0;
  }

  .service-grid article:hover:not(.is-active):not(.is-tracing) {
    border-color: var(--line);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
      rgba(6, 17, 14, 0.24);
  }

  .process-track li:hover:not(.is-active):not(.is-tracing) {
    border-color: var(--line);
    background: rgba(6, 17, 14, 0.24);
  }
}

@media (max-width: 1180px) {
  .panel h1 {
    font-size: 6.8rem;
  }

  .panel h2 {
    font-size: 4.1rem;
  }

  .hero-panel,
  .work-panel,
  .services-panel,
  .about-panel,
  .request-panel {
    grid-template-columns: 1fr;
  }

  .hero-object {
    width: min(620px, 100%);
    min-height: 520px;
    justify-self: center;
    order: -1;
    margin-top: 30px;
  }

  .panel-caption {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .project-stack {
    margin-top: 44px;
  }

  .work-panel .giant-label {
    top: clamp(24px, 5svh, 64px);
  }

  .service-visual {
    top: 160px;
    width: 340px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid article {
    min-height: 270px;
  }

  .about-image {
    width: min(620px, 100%);
  }
}

@media (max-width: 820px) {
  :root {
    --pad: 20px;
  }

  .site-header {
    min-height: 76px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .section-rail {
    display: none;
  }

  .panel {
    min-height: auto;
    padding: 104px var(--pad) 74px;
  }

  .panel h1 {
    font-size: 4.7rem;
  }

  .panel h2 {
    font-size: 3rem;
    line-height: 0.94;
  }

  .hero-line {
    font-size: 1.06rem;
  }

  .hero-object {
    min-height: 400px;
  }

  .specimen-front {
    right: 0;
    bottom: 22px;
    width: min(78vw, 390px);
    height: 420px;
  }

  .specimen-back {
    right: 18vw;
    width: min(64vw, 320px);
    height: 360px;
  }

  .specimen-ring {
    right: 4vw;
    width: min(76vw, 360px);
    height: min(76vw, 360px);
  }

  .scroll-cue {
    position: relative;
    left: auto;
    bottom: auto;
    width: max-content;
    margin-top: 34px;
    transform: none;
  }

  .giant-label {
    top: 62px;
    font-size: 4.5rem;
  }

  .project-stack {
    grid-template-columns: 1fr;
    --github-reveal-width: 100%;
  }

  .project-card,
  .project-card:first-child {
    min-height: 360px;
  }

  .project-card strong {
    font-size: 1.32rem;
  }

  .project-github-wide,
  .app-showcase-list {
    grid-template-columns: 1fr;
  }

  .project-github-wide {
    gap: 18px;
  }

  .project-github-wide .brand-mark {
    width: min(34%, 128px);
  }

  .project-github-copy {
    max-width: none;
  }

  .project-shop-card .etsy-mark {
    top: 34px;
    width: min(42%, 150px);
  }

  .github-reveal {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .github-reveal-copy p {
    max-width: none;
  }

  .github-calendar-card {
    min-height: 230px;
  }

  .service-visual {
    display: none;
  }

  .service-tabs-shell {
    --service-detail-height: 620px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 118px;
  }

  .service-tab {
    min-height: 118px;
    padding: 22px;
  }

  .service-detail-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: var(--service-detail-height);
    padding: 28px 24px 32px;
  }

  .service-detail-panel h3 {
    max-width: none;
  }

  .process-tabs-shell {
    --process-detail-height: 560px;
    margin-top: 42px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .process-track li {
    min-height: 128px;
  }

  .process-tab {
    min-height: 128px;
  }

  .process-detail-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: var(--process-detail-height);
    padding: 28px 24px 32px;
  }

  .process-detail-panel h3 {
    max-width: none;
    margin-top: 0;
  }

  .about-image {
    transform: none;
  }

  .about-image img {
    height: 360px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .request-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 40px);
    margin-top: -96px;
  }

  .site-footer div {
    justify-content: flex-start;
  }

  .footer-reveal {
    overflow: visible;
  }

  .tech-stack.is-open,
  .old-versions.is-open {
    max-width: inherit;
  }

  .footer-reveal-list {
    position: absolute;
    right: auto;
    bottom: calc(100% + 8px);
    left: 50%;
    width: max-content;
    max-width: min(300px, calc(100vw - 40px));
    padding: 10px 12px;
    border: 1px solid rgba(242, 207, 91, 0.28);
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(242, 207, 91, 0.16), transparent 58%),
      rgba(5, 10, 8, 0.92);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.44);
    transform: translate3d(-50%, 8px, 0);
  }

  .tech-stack-list {
    flex-wrap: wrap;
    row-gap: 6px;
    white-space: normal;
  }

  .footer-reveal.is-open .footer-reveal-list {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 520px) {
  .site-menu {
    width: 100%;
    padding-right: 26px;
    padding-left: 26px;
  }

  .site-menu a {
    font-size: 1.76rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .panel {
    padding-top: 96px;
  }

  .preloader-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .preloader-orb {
    width: 96px;
  }

  .panel h1 {
    font-size: 3.66rem;
  }

  .panel h2 {
    font-size: 2.28rem;
  }

  .panel p {
    font-size: 0.94rem;
  }

  .hero-actions,
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .signal-link {
    width: 100%;
  }

  .hero-object {
    min-height: 320px;
  }

  .specimen-front {
    height: 330px;
  }

  .specimen-back {
    height: 290px;
  }

  .project-card,
  .project-card:first-child {
    min-height: 300px;
    padding: 20px;
  }

  .about-image img {
    height: 280px;
  }

  .panel-caption {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ambient-canvas {
    display: none;
  }
}
