:root {
  color-scheme: dark;
  --ink: #080a0d;
  --ink-soft: #10141a;
  --paper: #f4f6f8;
  --muted: #9aa3ae;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #36e6a3;
  --accent-soft: rgba(54, 230, 163, 0.18);
  --blue: #356dff;
  --page-pad: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --hero-progress: 0;
  --pillars-progress: 0;
  --works-progress: 0;
  --ai-progress: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

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

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  gap: 20px;
  background: var(--ink);
  text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.boot-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-mark {
  display: grid;
  width: 74px;
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 900 26px/1 Arial, sans-serif;
}

.boot-screen p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--page-pad);
  background: rgba(8, 10, 13, 0.94);
}

.brand-mark {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font: 900 15px/1 Arial, sans-serif;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a {
  position: relative;
  white-space: nowrap;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

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

.nav-contact {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--paper);
  font: 700 12px/1 "Segoe UI", sans-serif;
  cursor: pointer;
}

.nav-toggle:active { transform: scale(0.98); }

@media (max-width: 1099px) {
  .site-header nav { max-width: calc(100% - 64px); gap: 18px; overflow-x: auto; padding: 10px 0; }
  .site-header[data-navigation-ready] .nav-toggle { display: inline-flex; align-items: center; }
  .site-header[data-navigation-ready] nav {
    position: absolute;
    top: calc(100% - 1px);
    right: var(--page-pad);
    left: var(--page-pad);
    display: none;
    max-width: none;
    max-height: calc(100svh - 96px);
    gap: 0;
    overflow-y: auto;
    padding: 14px 24px;
    border: 1px solid var(--line);
    background: var(--ink-soft);
  }
  .site-header[data-navigation-ready].is-menu-open nav { display: grid; }
  .site-header[data-navigation-ready] nav a { padding: 15px 0; }
  .site-header[data-navigation-ready] nav a::after { bottom: 8px; }
}

.hero-scroll {
  height: 440vh;
}

.hero-stage,
.pillars-stage,
.works-stage {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: #07090c;
}

.hero-stage {
  width: 100vw;
  max-width: none;
  margin: 0;
  border: 0;
}

.hero-canvas,
.hero-fallback,
.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-canvas,
.hero-fallback {
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border: 0;
  outline: 0;
}

.hero-canvas {
  z-index: 2;
  transform: scale(calc(1.035 + var(--hero-progress) * 0.025));
  transform-origin: center;
  filter: saturate(0.82) contrast(1.08) brightness(1.08);
  will-change: transform;
}

.hero-fallback {
  z-index: 1;
}

/* The laptop master already includes headroom; keep its top edge during cover fitting. */
[data-hero-scene="laptop"] .hero-canvas {
  transform: none;
  opacity: 0;
  filter: saturate(0.9) contrast(1.03) brightness(0.96);
  will-change: auto;
}

[data-hero-scene="laptop"] .hero-canvas.is-ready {
  opacity: 1;
}

[data-hero-scene="laptop"] .hero-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.03) brightness(0.96);
}

.stage-vignette,
.scene-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 58% 44%, transparent 0 25%, rgba(5, 7, 10, 0.08) 52%, rgba(5, 7, 10, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.38), transparent 34%, rgba(5, 7, 10, 0.78));
  pointer-events: none;
}

.stage-vignette::after,
.scene-shade::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 62% 48%, transparent 0 18%, rgba(54, 230, 163, 0.09) 34%, transparent 61%);
  content: "";
}

.stage-grid {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 9vw 9vw;
  mask-image: radial-gradient(circle at center, black 18%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
  pointer-events: none;
}

.orbit-system {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 61%;
  width: min(50vw, 720px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(calc(var(--hero-progress) * 140deg));
  transform-style: preserve-3d;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(54, 230, 163, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(54, 230, 163, 0.08);
}

.orbit-a {
  transform: rotateX(72deg) rotateZ(18deg);
}

.orbit-b {
  inset: 21%;
  transform: rotateY(68deg) rotateZ(-12deg);
  opacity: 0.55;
}

.orbit-node {
  position: absolute;
  top: 45%;
  right: 4%;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}

.hero-copy {
  position: absolute;
  z-index: 7;
  inset: 50% auto auto var(--page-pad);
  width: min(92vw, 1320px);
  transform: translateY(-50%);
}

.hero-kicker,
.section-label {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(54px, 10.8vw, 176px);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-line span {
  display: inline-block;
  opacity: clamp(0, calc((var(--hero-progress) * 13 - var(--letter-index)) * 1.8), 1);
  transform: translateY(clamp(0px, calc((var(--letter-index) - var(--hero-progress) * 13) * 14px), 90px)) rotateX(clamp(0deg, calc((var(--letter-index) - var(--hero-progress) * 13) * 8deg), 76deg));
  transform-origin: bottom;
  will-change: transform, opacity;
}

.hero-line:first-child span:nth-child(1) { --letter-index: 0; }
.hero-line:first-child span:nth-child(2) { --letter-index: 0.65; }
.hero-line:first-child span:nth-child(3) { --letter-index: 1.3; }
.hero-line:first-child span:nth-child(4) { --letter-index: 1.95; }
.hero-line:first-child span:nth-child(5) { --letter-index: 2.6; }
.hero-line:first-child span:nth-child(6) { --letter-index: 3.25; }
.hero-line:first-child span:nth-child(7) { --letter-index: 3.9; }
.hero-line:last-child span:nth-child(1) { --letter-index: 4.5; }
.hero-line:last-child span:nth-child(2) { --letter-index: 5.1; }
.hero-line:last-child span:nth-child(3) { --letter-index: 5.7; }
.hero-line:last-child span:nth-child(4) { --letter-index: 6.3; }
.hero-line:last-child span:nth-child(5) { --letter-index: 6.9; }
.hero-line:last-child span:nth-child(6) { --letter-index: 7.5; }
.hero-line:last-child span:nth-child(7) { --letter-index: 8.1; }
.hero-line:last-child span:nth-child(8) { --letter-index: 8.7; }
.hero-line:last-child span:nth-child(9) { --letter-index: 9.3; }

.hero-line-offset {
  margin-left: clamp(0px, 9vw, 140px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 246, 248, 0.9);
}

.hero-subtitle {
  width: min(560px, 84vw);
  margin: clamp(28px, 6vh, 72px) 0 0;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.45;
  opacity: clamp(0, calc((var(--hero-progress) - 0.36) * 5), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--hero-progress) - 0.36) * 5), 1)) * 24px));
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button-primary {
  background: var(--accent);
  color: #07110d;
}

.button-secondary {
  background: transparent;
  color: var(--paper);
}

.button:hover {
  transform: translateY(-4px);
}

.button-secondary:hover {
  background: var(--accent);
  color: #07110d;
}

.text-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  padding-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  color: var(--accent);
}

.scene-meta {
  position: absolute;
  z-index: 7;
  right: var(--page-pad);
  bottom: 26px;
  left: var(--page-pad);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.64);
  font: 700 10px/1 "Segoe UI", sans-serif;
  letter-spacing: 0.18em;
}

.manifesto {
  position: relative;
  background: var(--paper);
  color: #101318;
}

.manifesto-stage {
  display: grid;
  min-height: 100svh;
  align-content: center;
  gap: clamp(22px, 3vh, 38px);
  padding: 112px var(--page-pad) 72px;
  overflow: clip;
  perspective: 1400px;
}

.manifesto-stage > *,
.project-index > * {
  min-width: 0;
}

.manifesto .section-label {
  grid-column: 1 / -1;
  color: #177d59;
}

.manifesto h2,
.works-heading h2,
.project-index h2,
.final-cta h2 {
  margin: 0;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(54px, 7.2vw, 122px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.works-heading h2 span,
.final-cta h2 span { color: transparent; -webkit-text-stroke: 1px currentColor; }

.manifesto-copy {
  max-width: 900px;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.5;
}

.manifesto h2 {
  font-size: clamp(54px, 6.2vw, 122px);
}

.manifesto-headline,
.manifesto-result {
  display: block;
  transform-origin: left center;
}

.manifesto-result {
  position: relative;
}

.manifesto-result__fill {
  display: none;
  position: absolute;
  inset: 0;
  color: #101318;
  -webkit-text-stroke: 0;
  pointer-events: none;
}

.manifesto-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  width: 100%;
  max-width: 1500px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(16, 19, 24, 0.22);
  perspective: 1100px;
}

.manifesto-flow li {
  --join-x: -52px;
  --join-y: 35px;
  --join-angle: -18deg;
  position: relative;
  min-width: 0;
  padding: 0 0 24px;
  transform-origin: left center;
}

.manifesto-card {
  height: 100%;
  min-height: 158px;
  padding: clamp(16px, 1.5vw, 24px);
  border: 1px solid rgba(16, 19, 24, 0.17);
  background: #e9eeec;
  box-shadow: 0 12px 24px rgba(16, 35, 28, 0.06);
}

.manifesto-card h3 {
  margin: 0 0 18px;
  font: 900 clamp(22px, 2.3vw, 38px)/1.05 "Arial Black", Impact, sans-serif;
  letter-spacing: -0.05em;
}

.manifesto-card p { margin: 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; }

.manifesto-flow li:nth-child(2) {
  --join-x: 32px;
  --join-y: -30px;
  --join-angle: 14deg;
}

.manifesto-flow li:nth-child(3) {
  --join-x: -32px;
  --join-y: 44px;
  --join-angle: -14deg;
}

.manifesto-flow li:nth-child(4) {
  --join-x: 52px;
  --join-y: -35px;
  --join-angle: 18deg;
}

.manifesto-flow::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #18845d;
  content: "";
  transform-origin: left;
}

/* Progressive enhancement: the base composition remains readable without timelines. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .manifesto {
      view-timeline: --manifesto block;
      view-timeline-inset: 0;
    }

    .manifesto-headline {
      animation: manifesto-heading-join 1s linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }

    .manifesto-result {
      color: transparent;
      -webkit-text-stroke: 1.2px #101318;
      animation: manifesto-result-join 1s linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }

    .manifesto-result__fill {
      display: block;
      animation: manifesto-result-fill 1s linear both;
      animation-timeline: view();
      animation-range: entry 35% cover 48%;
    }

    .manifesto-flow li {
      animation: manifesto-discipline-join 1s linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }

    .manifesto-flow::after {
      animation: manifesto-connect 1s linear both;
      animation-timeline: --manifesto;
      animation-range: entry 60% cover 65%;
    }

    @media (min-width: 1000px) and (min-height: 740px) {
      .manifesto {
        height: 250svh;
      }

      .manifesto-stage {
        position: sticky;
        top: 0;
      }

      .manifesto-headline,
      .manifesto-result,
      .manifesto-result__fill,
      .manifesto-flow li,
      .manifesto-flow::after {
        animation-timeline: --manifesto;
      }

      .manifesto-headline { animation-range: contain 0% contain 28%; }
      .manifesto-result { animation-range: contain 8% contain 42%; }
      .manifesto-result__fill { animation-range: contain 48% contain 82%; }
      .manifesto-flow li { animation-range: contain 18% contain 44%; }
      .manifesto-flow li:nth-child(2) { animation-range: contain 26% contain 52%; }
      .manifesto-flow li:nth-child(3) { animation-range: contain 34% contain 60%; }
      .manifesto-flow li:nth-child(4) { animation-range: contain 42% contain 68%; }
      .manifesto-flow::after { animation-range: contain 52% contain 78%; }
    }
  }
}

@keyframes manifesto-heading-join {
  from { transform: translate3d(max(-48px, -3vw), 24px, -90px) rotateY(-5deg); opacity: 0.75; }
  to { transform: none; opacity: 1; }
}

@keyframes manifesto-result-join {
  from { transform: translate3d(7vw, 32px, -130px) rotateY(5deg); }
  to { transform: none; }
}

@keyframes manifesto-result-fill {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes manifesto-discipline-join {
  from { transform: translate3d(var(--join-x), var(--join-y), -170px) rotateY(var(--join-angle)); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

@keyframes manifesto-connect {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .manifesto-stage { padding-block: 104px 72px; gap: 28px; }
  .manifesto h2 { font-size: clamp(32px, 10vw, 78px); }
  .manifesto-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; gap: 16px 26px; }
  .manifesto-flow li { padding-bottom: 0; }
  .manifesto-card h3 { font-size: clamp(24px, 4vw, 32px); }
}

@media (max-width: 560px) {
  .manifesto-flow { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; }
  .manifesto-card { min-height: 146px; padding: 24px; }
  .manifesto-card h3 { margin-bottom: 12px; font-size: 28px; }
  .manifesto-card p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-stage { perspective: none; }
  .manifesto-flow { perspective: none; }
}

/* One dark editorial mechanism: separate inputs become one working system. */
.system-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 5vw, 92px);
  padding: clamp(104px, 10vw, 164px) var(--page-pad);
  overflow: clip;
  border-block: 1px solid var(--line);
  background: var(--ink);
}
.system-story > *, .system-map > *, .system-story__context > * { min-width: 0; }
.system-story__heading { align-self: center; }
.system-story h2, .home-resume h2 {
  margin: 0;
  font: 900 clamp(38px, 4.2vw, 68px)/.92 "Arial Black", Impact, sans-serif;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.system-story h2 span, .home-resume h2 span { color: var(--accent); }
.system-story__lead { max-width: 34ch; margin: 30px 0 0; color: #c4ccd4; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.55; }
.system-map { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, .9fr); align-items: center; perspective: 1400px; }
.system-map__inputs { display: grid; margin: 0; padding: 0; list-style: none; }
.system-map__inputs li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 15px; min-height: 108px; align-items: center; padding: 22px 10px 22px 0; border-top: 1px solid var(--line); transform-origin: right center; }
.system-map__inputs li:last-child { border-bottom: 1px solid var(--line); }
.system-map__inputs li > span { color: var(--accent); font: 700 11px/1 "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; }
.system-map__inputs h3 { margin: 0 0 8px; font: 900 clamp(22px, 2vw, 34px)/1 "Arial Black", sans-serif; letter-spacing: -.05em; }
.system-map__inputs p { margin: 0; max-width: 26ch; color: var(--muted); font-size: 14px; line-height: 1.5; }
.system-map__connection { position: relative; height: 76%; border-left: 1px solid rgba(54, 230, 163, .45); }
.system-map__connection::after { position: absolute; top: 50%; width: 100%; height: 1px; background: var(--accent); content: ""; transform-origin: left; }
.system-map__connection i { position: absolute; top: calc(50% - 3px); right: -3px; width: 6px; height: 6px; background: var(--accent); }
.system-map__result { padding: 32px 0 32px 24px; border-block: 1px solid var(--accent); background: linear-gradient(90deg, rgba(54,230,163,.07), transparent); }
.system-map__result > span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.system-map__result strong { display: block; margin: 28px 0 20px; font: 900 clamp(22px, 2.4vw, 42px)/.97 "Arial Black", sans-serif; letter-spacing: -.065em; }
.system-map__result p { margin: 0; color: #c4ccd4; font-size: 14px; line-height: 1.7; }
.system-story__context { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 112px); padding-top: 40px; border-top: 1px solid var(--line); }
.system-story__context > div { max-width: 68ch; color: #b8c2cc; font-size: 16px; line-height: 1.65; }
.system-story__context p { margin: 0 0 18px; }
.system-story__context blockquote { align-self: center; margin: 0; padding-left: 28px; border-left: 2px solid var(--accent); }
.system-story__context blockquote p { max-width: 26ch; color: var(--paper); font-size: clamp(23px, 2.1vw, 34px); font-weight: 700; line-height: 1.16; letter-spacing: -.04em; }
.system-story__context blockquote footer { display: block; padding: 0; border: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.home-resume { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .65fr); gap: clamp(40px, 8vw, 140px); padding: clamp(96px, 11vw, 164px) var(--page-pad); border-top: 1px solid var(--line); }
.home-resume > * { min-width: 0; }
.home-resume__copy > p:not(.section-label) { max-width: 65ch; color: #c4ccd4; font-size: 19px; line-height: 1.55; }
.home-resume dl { margin: 40px 0; }
.home-resume dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.home-resume dt { color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.home-resume dd { margin: 0; color: #c4ccd4; line-height: 1.5; }
.home-resume__copy > p.home-resume__note { margin-top: 34px; color: var(--muted); font-size: 14px; }
#idea-to-result, #diagnostics, #portfolio, #learning, #resume { scroll-margin-top: 76px; }
.home-resume__portrait { align-self: start; max-width: 430px; margin: 0; }
.home-resume__portrait img { display: block; width: 100%; height: auto; filter: saturate(.8) brightness(.9); }
.home-resume__portrait figcaption { margin-top: 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .system-story { view-timeline: --system-story block; }
    .system-map__inputs li { animation: system-input-join 1s linear both; animation-timeline: --system-story; animation-range: entry 5% cover 42%; }
    .system-map__inputs li:nth-child(2) { animation-range: entry 12% cover 44%; }
    .system-map__inputs li:nth-child(3) { animation-range: entry 19% cover 46%; }
    .system-map__inputs li:nth-child(4) { animation-range: entry 26% cover 48%; }
    .system-map__connection::after { animation: system-connection 1s linear both; animation-timeline: --system-story; animation-range: entry 40% cover 52%; }
  }
}
@keyframes system-input-join { from { transform: translate3d(-18px, 12px, -80px) rotateY(-8deg); } to { transform: none; } }
@keyframes system-connection { from { transform: scaleX(.2); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
@media (max-width: 1100px) {
  .system-story { grid-template-columns: 1fr; }
  .system-story__heading { max-width: 720px; }
  .system-map { max-width: 820px; width: 100%; }
  .system-map__result strong { font-size: clamp(24px, 4vw, 42px); }
}
@media (max-width: 700px) {
  .system-story { padding-block: 96px 72px; gap: 44px; }
  .system-story h2, .home-resume h2 { font-size: clamp(32px, 8vw, 48px); }
  .system-map { grid-template-columns: minmax(0, 1fr) 25px minmax(0, .95fr); }
  .system-map__inputs li { grid-template-columns: 20px minmax(0, 1fr); gap: 8px; min-height: 110px; padding: 18px 3px 18px 0; }
  .system-map__inputs h3 { font-size: clamp(16px, 4.4vw, 24px); overflow-wrap: anywhere; }
  .system-map__inputs p, .system-map__result p { font-size: 12px; }
  .system-map__result { padding: 24px 0 24px 12px; }
  .system-map__result strong { font-size: clamp(16px, 4.6vw, 26px); letter-spacing: -.07em; }
  .system-map__result > span { font-size: 9px; letter-spacing: .06em; }
  .system-story__context { grid-template-columns: 1fr; padding-top: 24px; gap: 24px; }
  .home-resume { grid-template-columns: 1fr; padding-block: 86px; }
  .home-resume dl div { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
  .home-resume__portrait { max-width: 360px; width: 100%; }
}

@media (max-width: 560px) {
  .contact-strip .contact-intro h2 { font-size: clamp(39px, 12vw, 54px); }
}

.stats-band {
  position: relative;
  z-index: 4;
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
}

.stats-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--page-pad);
}

.stat-item {
  min-height: 320px;
  padding: 70px clamp(14px, 2vw, 34px);
  border-left: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  color: var(--accent);
  font: 900 clamp(52px, 6vw, 100px)/0.9 "Arial Black", sans-serif;
  letter-spacing: -0.06em;
}

.stat-item p {
  max-width: 150px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.pillars-scroll {
  height: 360vh;
}

.pillars-stage .scene-video {
  filter: saturate(0.72) contrast(1.04) brightness(0.88);
  transform: translateY(6.5%) scale(1.04);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 100%);
}

.works-stage .scene-video {
  filter: saturate(0.84) contrast(1.04) brightness(1.06);
  transform: translateY(2.5%) scale(calc(1.02 + var(--works-progress) * 0.04));
  transform-origin: center;
}

.pillars-stage .scene-shade {
  background: linear-gradient(
    90deg,
    rgba(8, 10, 13, 0.86) 0 14%,
    rgba(8, 10, 13, 0.46) 36%,
    rgba(8, 10, 13, 0.12) 65%,
    rgba(8, 10, 13, 0.44)
  );
}

.pillars-copy {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 100dvh;
  width: min(1080px, 66vw);
  align-content: center;
  padding: 80px var(--page-pad);
}

.pillars-copy > * { min-width: 0; }

#pillars-title { font-size: clamp(40px, 5.5vw, 94px); line-height: 0.94; }
#pillars-title > span { display: block; white-space: nowrap; }

.pillars-copy h2 {
  margin: 0 0 42px;
  font: 900 clamp(48px, 6.4vw, 108px)/0.86 "Arial Black", sans-serif;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.pillar-list {
  position: relative;
  min-height: 170px;
}

.pillar {
  position: absolute;
  inset: 0;
  max-width: 580px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.pillar.is-active {
  opacity: 1;
  transform: translateY(0);
}

.pillar > span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.pillar h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
}

.pillar p {
  max-width: 520px;
  margin: 0;
  color: #c4cbd3;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.45;
}

.hologram-stack {
  position: absolute;
  z-index: 4;
  top: 18%;
  right: 3vw;
  width: 48vw;
  height: 64vh;
  perspective: 1000px;
}

.holo-card {
  position: absolute;
  display: grid;
  width: clamp(190px, 21vw, 360px);
  aspect-ratio: 1.6;
  padding: 24px;
  border: 1px solid rgba(54, 230, 163, 0.55);
  background: rgba(5, 16, 14, 0.32);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45), inset 0 0 45px rgba(54, 230, 163, 0.06);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.holo-card i,
.holo-card b,
.holo-card em {
  display: block;
  height: 2px;
  align-self: end;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.holo-card i { width: 70%; }
.holo-card b { width: 42%; }
.holo-card em { width: 86%; }

.holo-card-a {
  top: 2%;
  right: 2%;
  transform: rotateY(-20deg) translate3d(calc(var(--pillars-progress) * -40px), calc(var(--pillars-progress) * 80px), 20px);
}

.holo-card-b {
  top: 34%;
  left: 4%;
  transform: rotateY(18deg) translate3d(calc(var(--pillars-progress) * 70px), calc(var(--pillars-progress) * -50px), 50px);
}

.holo-card-c {
  right: 12%;
  bottom: 0;
  transform: rotateY(-12deg) translate3d(calc(var(--pillars-progress) * -65px), calc(var(--pillars-progress) * -120px), 80px);
}

.works-scroll {
  height: 340vh;
}

.works-stage {
  background: #050709;
}

.scene-shade-strong {
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.46), rgba(7, 9, 12, 0.07) 38%, rgba(7, 9, 12, 0.68)),
    linear-gradient(90deg, rgba(7, 9, 12, 0.6), transparent 50%, rgba(7, 9, 12, 0.2));
}

.works-heading {
  position: absolute;
  z-index: 5;
  top: 13vh;
  left: var(--page-pad);
  width: min(1000px, 88vw);
  opacity: clamp(0, calc((0.35 - var(--works-progress)) * 7), 1);
  transform: translateY(calc(var(--works-progress) * -80px));
}

.works-heading h2 {
  font-size: clamp(50px, 7vw, 116px);
}

.project-deck {
  position: absolute;
  z-index: 6;
  inset: 24vh var(--page-pad) auto;
  height: 66vh;
  perspective: 1400px;
}

.project-card {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  width: min(900px, 78vw);
  min-height: 58vh;
  grid-template-columns: 1.12fr 0.88fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 17, 22, 0.93);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.58);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.project-card-one {
  opacity: clamp(0, calc((var(--works-progress) - 0.08) * 7), calc((0.48 - var(--works-progress)) * 8));
  transform: translateX(-50%) translateY(calc((var(--works-progress) - 0.19) * -150px)) rotateX(calc((var(--works-progress) - 0.22) * 7deg + var(--hover-x, 0deg))) rotateY(var(--hover-y, 0deg));
}

.project-card-two {
  opacity: clamp(0, calc((var(--works-progress) - 0.36) * 8), calc((0.77 - var(--works-progress)) * 8));
  transform: translateX(-50%) translateY(calc((var(--works-progress) - 0.48) * -150px)) rotateX(var(--hover-x, 0deg)) rotateY(calc((var(--works-progress) - 0.5) * -7deg + var(--hover-y, 0deg)));
}

.project-card-three {
  opacity: clamp(0, calc((var(--works-progress) - 0.66) * 8), 1);
  transform: translateX(-50%) translateY(calc((var(--works-progress) - 0.78) * -120px)) rotateX(calc((var(--works-progress) - 0.78) * 6deg + var(--hover-x, 0deg))) rotateY(var(--hover-y, 0deg));
}

.project-art {
  position: relative;
  display: grid;
  min-height: 58vh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.project-art::before,
.project-art::after {
  position: absolute;
  content: "";
}

.project-art::before {
  inset: 0;
  z-index: -2;
  background-size: 42px 42px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
}

.project-art::after {
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 67%);
  filter: blur(5px);
}

.project-art span {
  font: 900 clamp(44px, 5.2vw, 84px)/0.8 "Arial Black", sans-serif;
  letter-spacing: -0.08em;
  text-align: center;
}

.art-ecomhub {
  background: #294aff;
}

.art-light {
  background: #e8edf2;
  color: #111318;
}

.art-aitek {
  background: #0d6a56;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 58px);
}

.project-copy p {
  margin: 0 0 auto;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.project-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 64px);
  letter-spacing: -0.055em;
}

.project-copy span {
  color: #b7c0ca;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.45;
}

.project-copy b {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card:hover .project-art span {
  transform: scale(1.05) rotate(-2deg);
}

.project-art span,
.project-card {
  transition: transform 0.32s ease;
}

.ai-scroll {
  height: 420vh;
  background: #050709;
}

.ai-stage {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 48%, rgba(54, 230, 163, 0.14), transparent 29%),
    linear-gradient(135deg, #070a0d, #0c1215 58%, #07100d);
}

.ai-stage::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 7vw 7vw;
  content: "";
  mask-image: radial-gradient(circle at 70% 48%, black, transparent 72%);
}

.ai-radar {
  position: absolute;
  top: 50%;
  left: 70%;
  width: min(78vw, 1040px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(calc(var(--ai-progress) * 65deg));
  transform-style: preserve-3d;
  will-change: transform;
}

.ai-ring,
.ai-axis,
.ai-node {
  position: absolute;
  display: block;
}

.ai-ring {
  border: 1px solid rgba(54, 230, 163, 0.27);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(54, 230, 163, 0.025), 0 0 40px rgba(54, 230, 163, 0.03);
}

.ai-ring-one {
  inset: 4%;
  transform: rotateX(68deg) rotateZ(12deg) scale(calc(0.96 + var(--ai-progress) * 0.07));
}

.ai-ring-two {
  inset: 20%;
  transform: rotateY(63deg) rotateZ(-18deg) scale(calc(1.04 - var(--ai-progress) * 0.05));
}

.ai-ring-three {
  inset: 35%;
  border-color: rgba(255, 255, 255, 0.26);
  transform: rotateX(74deg) rotateY(24deg);
}

.ai-axis {
  top: 50%;
  left: 50%;
  width: 86%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(54, 230, 163, 0.4), transparent);
}

.ai-axis-x {
  transform: translate(-50%, -50%) rotate(calc(18deg + var(--ai-progress) * 110deg));
}

.ai-axis-y {
  transform: translate(-50%, -50%) rotate(calc(108deg + var(--ai-progress) * -70deg));
}

.ai-node {
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent), 0 0 70px rgba(54, 230, 163, 0.45);
}

.ai-node-one { top: 18%; left: 52%; }
.ai-node-two { right: 14%; bottom: 34%; }
.ai-node-three { bottom: 12%; left: 30%; }

.ai-heading {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: var(--page-pad);
  width: min(47vw, 730px);
  transform: translateY(-50%);
}

.ai-heading h2 {
  margin: 0;
  font: 900 clamp(52px, 6.2vw, 106px)/0.86 "Arial Black", sans-serif;
  letter-spacing: -0.078em;
  text-transform: uppercase;
}

.ai-heading h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 246, 248, 0.82);
}

.ai-heading > p:not(.section-label):not(.ai-disclaimer) {
  max-width: 560px;
  margin: 30px 0 0;
  color: #bdc6cf;
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.55;
}

.ai-heading .ai-disclaimer {
  max-width: 530px;
  margin: 18px 0 0;
  color: #7f8a94;
  font-size: 11px;
  line-height: 1.55;
}

.ai-meter {
  display: grid;
  max-width: 520px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.ai-meter::before {
  width: 100%;
  height: 2px;
  grid-area: 1 / 1;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.ai-meter i {
  width: 100%;
  height: 2px;
  grid-area: 1 / 1;
  background: var(--accent);
  transform: scaleX(var(--ai-progress));
  transform-origin: left;
}

.ai-meter small {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ai-case-stack {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: var(--page-pad);
  width: min(42vw, 620px);
  height: 62vh;
  transform: translateY(-50%);
}

.ai-case {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(54, 230, 163, 0.34);
  background: rgba(6, 12, 13, 0.87);
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.55), inset 0 0 80px rgba(54, 230, 163, 0.035);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(56px, 34px, -120px) rotateY(-8deg);
  transition: opacity 0.42s ease, transform 0.56s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.ai-case.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) rotateY(0);
}

.ai-case > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: auto;
}

.ai-case span,
.ai-case a {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ai-case strong {
  color: var(--accent);
  font: 900 clamp(54px, 6vw, 94px)/0.8 "Arial Black", sans-serif;
  letter-spacing: -0.07em;
}

.ai-case h3 {
  max-width: 480px;
  margin: 0 0 18px;
  font-size: clamp(34px, 3.5vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.ai-case p {
  max-width: 520px;
  margin: 0;
  color: #bdc6cf;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.5;
}

.ai-case a {
  width: fit-content;
  margin-top: 28px;
  border-bottom: 1px solid rgba(54, 230, 163, 0.44);
  padding-bottom: 6px;
  color: var(--accent);
}

.project-index {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 4fr 7fr;
  align-content: center;
  gap: 8vw;
  padding: 14vh var(--page-pad);
  background: var(--paper);
  color: #111318;
}

.project-index .section-label {
  color: #18845d;
}

.project-index h2 {
  font-size: clamp(50px, 6vw, 98px);
}

.project-index-cta {
  display: inline-block;
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid #18845d;
  color: #18845d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-index-list {
  display: grid;
}

.project-index-list > * {
  display: grid;
  min-height: 88px;
  grid-template-columns: 1fr 180px 70px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(17, 19, 24, 0.17);
  transition: padding 0.25s ease, color 0.25s ease;
}

.project-index-list > *:hover {
  padding-left: 12px;
  color: #18845d;
}

.project-index-list span {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
}

.project-index-list small,
.project-index-list b {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.project-index-list b {
  justify-self: end;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 100dvh;
  place-content: center;
  overflow: hidden;
  padding: 14vh var(--page-pad);
  text-align: center;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 8vw 8vw;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.cta-light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(54, 230, 163, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 130px rgba(54, 230, 163, 0.08), 0 0 120px rgba(54, 230, 163, 0.06);
  transform: translate(-50%, -50%);
}

.final-cta > *:not(.cta-light) {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: clamp(58px, 9vw, 150px);
}

.final-cta p:not(.section-label) {
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 22px);
}

.final-cta .cta-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.contact-strip {
  display: grid;
  min-height: 78dvh;
  grid-template-columns: minmax(400px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  align-content: center;
  column-gap: clamp(96px, 10vw, 190px);
  row-gap: clamp(42px, 6vw, 72px);
  padding: 12vh var(--page-pad);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 38%, rgba(54, 230, 163, 0.12), transparent 32%),
    var(--ink-soft);
}

.contact-intro {
  min-width: 0;
}

.contact-intro h2 {
  max-width: 8ch;
  margin: 0;
  font: 900 clamp(48px, 5.4vw, 96px)/0.9 "Arial Black", sans-serif;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  min-width: 0;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper);
  text-align: left;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.contact-card:hover {
  z-index: 1;
  background: var(--accent);
  color: #07110d;
  transform: translateY(-5px);
}

.contact-card-button {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

.contact-card span,
.contact-card small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(18px, 1.8vw, 26px);
}

.contact-card small {
  color: var(--accent);
}

.contact-card:hover small {
  color: #07110d;
}

.contact-messenger-card {
  cursor: default;
}

.messenger-icons {
  display: flex;
  gap: 10px;
}

.messenger-icons a,
.footer-socials a {
  display: grid;
  min-width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(54, 230, 163, 0.48);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.contact-messenger-card:hover .messenger-icons a {
  border-color: #07110d;
  color: #07110d;
}

.messenger-icons a:hover {
  background: #07110d;
  color: var(--accent) !important;
}

footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.7fr auto;
  align-items: end;
  gap: 28px;
  min-height: 260px;
  padding: 70px var(--page-pad) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-contacts {
  display: grid;
  gap: 8px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  min-width: 38px;
  height: 38px;
}

.footer-name {
  color: var(--paper);
  font: 900 clamp(24px, 3vw, 46px)/0.95 "Arial Black", sans-serif;
  letter-spacing: -0.05em;
}

.footer-contacts a {
  color: var(--accent);
  font-weight: 800;
}

.footer-pages {
  display: grid;
  gap: 10px;
}

.footer-pages a {
  width: fit-content;
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 120;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--accent);
  color: #07110d;
  font-weight: 800;
  transform: translateY(-150%);
}

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

.inner-page {
  background: var(--ink);
}

.inner-main {
  overflow-x: clip;
}

.inner-hero {
  position: relative;
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding: 130px var(--page-pad) 76px;
  isolation: isolate;
}

.inner-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 42%, rgba(54, 230, 163, 0.14), transparent 32%);
  background-size: 88px 88px, 88px 88px, auto;
  content: "";
  mask-image: linear-gradient(180deg, #000 0 78%, transparent);
}

.inner-hero::after {
  position: absolute;
  z-index: -1;
  right: -16vw;
  bottom: -28vw;
  width: 72vw;
  aspect-ratio: 1;
  border: 1px solid rgba(54, 230, 163, 0.2);
  border-radius: 50%;
  box-shadow: inset 0 0 160px rgba(54, 230, 163, 0.05);
  content: "";
}

.inner-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.inner-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inner-eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.inner-hero h1,
.standard-page h1,
.not-found h1 {
  margin: 0;
  font: 900 clamp(66px, 9.4vw, 164px)/0.79 "Arial Black", Impact, sans-serif;
  letter-spacing: -0.09em;
  text-transform: uppercase;
}

.inner-hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 246, 248, 0.72);
}

.inner-lead {
  max-width: 730px;
  margin: 34px 0 0;
  color: #c4ccd4;
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.48;
}

.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.profile-portrait {
  position: relative;
  align-self: end;
  width: min(42vw, 620px);
  margin: 0 auto -76px;
}

.profile-portrait::before,
.profile-portrait::after {
  position: absolute;
  z-index: -1;
  inset: 6% -8% 4%;
  border: 1px solid rgba(54, 230, 163, 0.28);
  content: "";
  transform: rotate(-4deg);
}

.profile-portrait::after {
  inset: 13% -15% -2% 8%;
  border-color: rgba(255, 255, 255, 0.1);
  transform: rotate(5deg);
}

.profile-portrait img {
  display: block;
  width: 100%;
  max-height: 82dvh;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.82) contrast(1.04) brightness(0.9);
  mask-image: linear-gradient(180deg, #000 0 82%, transparent 99%);
}

.portrait-scan {
  position: absolute;
  z-index: 2;
  top: 31%;
  right: -10%;
  left: -10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 28px rgba(54, 230, 163, 0.65);
}

.profile-portrait figcaption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 11%;
  padding: 12px 14px;
  border: 1px solid rgba(54, 230, 163, 0.35);
  background: rgba(8, 10, 13, 0.78);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile-system { height: 300svh; }

.profile-system__portrait {
  position: absolute;
  top: 96px;
  right: 0;
  width: 60%;
  height: calc(100% - 116px);
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.8) brightness(0.86);
  transform: translate3d(calc(var(--pillars-progress) * -24px), calc(var(--pillars-progress) * 12px), 0) rotateY(calc(var(--pillars-progress) * -4deg));
  transform-origin: center bottom;
}

.profile-system .pillars-stage { perspective: 1400px; }
.profile-system .pillars-copy { width: min(900px, 62vw); }
.profile-system .pillars-copy h2 { font-size: clamp(48px, 5.5vw, 94px); }
.profile-system__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 10%, rgba(8, 10, 13, 0.88) 30%, transparent 68%); }

@media (max-width: 900px) {
  #pillars-title { font-size: clamp(26px, 8vw, 64px); }
  .profile-system__portrait { top: 84px; width: 100%; height: 52svh; transform: none; }
  .profile-system .pillars-copy { width: 100%; }
  .profile-system .pillars-copy h2 { font-size: clamp(38px, 10vw, 64px); }
  .profile-system__shade { background: linear-gradient(180deg, transparent 15%, rgba(8, 10, 13, 0.3) 44%, var(--ink) 70%); }
}

.profile-cinema {
  --cinema-progress: 0;
  --cinema-scan: 12%;
  height: 360vh;
  background: var(--ink);
}

.profile-cinema__stage {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: #050709;
  isolation: isolate;
}

.profile-cinema__video,
.profile-cinema__grade,
.profile-cinema__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile-cinema__video {
  z-index: -4;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(1.1) brightness(0.76);
  transform: translateY(7%) scale(calc(1 + var(--cinema-progress) * 0.05));
  transform-origin: 38% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 100%);
  will-change: transform;
}

.profile-cinema__grade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.08) 0 38%, rgba(5, 7, 9, 0.62) 58%, rgba(5, 7, 9, 0.94) 100%),
    linear-gradient(180deg, rgba(5, 7, 9, 0.38), transparent 30%, rgba(5, 7, 9, 0.62));
}

.profile-cinema__grid {
  z-index: -2;
  background:
    linear-gradient(rgba(54, 230, 163, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 230, 163, 0.07) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: calc(0.18 + var(--cinema-progress) * 0.48);
  mask-image: linear-gradient(90deg, transparent 0 32%, #000 62% 100%);
}

.profile-cinema__scan {
  position: absolute;
  z-index: 2;
  top: var(--cinema-scan);
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(54, 230, 163, 0.12) 25%, var(--accent) 68%, transparent 96%);
  box-shadow: 0 0 34px rgba(54, 230, 163, 0.5);
  will-change: top;
}

.profile-cinema__meta {
  position: absolute;
  z-index: 4;
  top: clamp(92px, 12vh, 140px);
  right: var(--page-pad);
  left: var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-cinema__meta p,
.profile-cinema__meta span {
  margin: 0;
}

.profile-cinema__meta span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.profile-cinema__copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: var(--page-pad);
  width: min(48vw, 760px);
  min-height: 520px;
  transform: translateY(-42%);
}

.profile-cinema__beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(54px, 28px, 0);
  transition: opacity 0.42s ease, transform 0.62s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.profile-cinema__beat.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.profile-cinema__beat > span {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.profile-cinema__beat h3 {
  max-width: 8ch;
  margin: 0;
  font: 900 clamp(58px, 7.3vw, 126px)/0.84 "Arial Black", Impact, sans-serif;
  letter-spacing: -0.078em;
  text-transform: uppercase;
}

.profile-cinema__beat:nth-of-type(2) h3 {
  font-size: clamp(56px, 6vw, 104px);
}

.profile-cinema__beat p {
  max-width: 620px;
  margin: 30px 0 0;
  color: #c4ccd4;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}

.profile-cinema__progress {
  position: absolute;
  z-index: 4;
  right: var(--page-pad);
  bottom: 7vh;
  left: var(--page-pad);
  height: 2px;
  background: rgba(255, 255, 255, 0.13);
}

.profile-cinema__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--cinema-progress));
  transform-origin: left;
  will-change: transform;
}

.inner-section {
  position: relative;
  padding: clamp(96px, 13vw, 190px) var(--page-pad);
  border-top: 1px solid var(--line);
}

.inner-section--light {
  background: var(--paper);
  color: #111318;
}

.inner-section__head {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(36px, 7vw, 130px);
  align-items: start;
  margin-bottom: clamp(60px, 9vw, 120px);
}

.inner-section__head h2,
.inner-cta h2 {
  max-width: 12ch;
  margin: 0;
  font: 900 clamp(48px, 7.2vw, 118px)/0.86 "Arial Black", Impact, sans-serif;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.inner-section__head p:not(.section-label) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.55;
}

.inner-section--light .inner-section__head p:not(.section-label) {
  color: #555e68;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.inner-section--light .capability-grid {
  border-color: rgba(17, 19, 24, 0.18);
}

.capability-card {
  display: grid;
  min-height: 390px;
  align-content: space-between;
  gap: 54px;
  padding: clamp(28px, 4vw, 58px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.inner-section--light .capability-card {
  border-color: rgba(17, 19, 24, 0.18);
  background: transparent;
}

.capability-card:hover {
  background: var(--accent);
  color: #07110d;
  transform: translateY(-8px);
}

.capability-card > span {
  color: var(--accent);
  font: 900 14px/1 Arial, sans-serif;
}

.capability-card:hover > span,
.capability-card:hover p {
  color: #07110d;
}

.capability-card h3 {
  max-width: 9ch;
  margin: 0 0 20px;
  font-size: clamp(32px, 3.4vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.inner-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(50px, 10vw, 160px);
  align-items: start;
}

.inner-story__copy {
  display: grid;
  gap: 26px;
  max-width: 820px;
  color: #c4ccd4;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.6;
}

.inner-story__copy p {
  margin: 0;
}

.profile-approach {
  scroll-margin-top: 76px;
}

.profile-approach h2 {
  margin: 0 0 18px;
  color: var(--paper);
  font: 900 clamp(48px, 6.2vw, 100px)/0.9 "Arial Black", Impact, sans-serif;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.signal-note {
  position: sticky;
  top: 130px;
  padding: 34px;
  border: 1px solid rgba(54, 230, 163, 0.32);
  background: linear-gradient(145deg, rgba(54, 230, 163, 0.08), rgba(255, 255, 255, 0.02));
}

.signal-note strong {
  display: block;
  margin: 26px 0 18px;
  font-size: clamp(27px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.signal-note p,
.signal-note small {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof-list {
  border-top: 1px solid currentColor;
}

.proof-list a,
.proof-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  min-height: 112px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 19, 24, 0.18);
}

.proof-list span {
  font-size: clamp(24px, 3.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.proof-list small,
.proof-list b {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-list b {
  color: #18845d;
}

.proof-list a:hover span {
  color: #18845d;
}

.resume-hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
}

.resume-sheet {
  position: relative;
  display: grid;
  min-height: 520px;
  align-content: space-between;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(54, 230, 163, 0.34);
  background: linear-gradient(145deg, rgba(21, 28, 32, 0.96), rgba(8, 10, 13, 0.92));
  box-shadow: 34px 34px 0 rgba(54, 230, 163, 0.035);
  transform: rotate(1.8deg);
}

.resume-sheet::before,
.resume-sheet::after {
  position: absolute;
  z-index: -1;
  inset: 20px -18px -18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  content: "";
}

.resume-sheet::after {
  inset: 38px -36px -36px 38px;
  border-color: rgba(54, 230, 163, 0.12);
}

.resume-sheet__mark {
  color: var(--accent);
  font: 900 clamp(78px, 9vw, 144px)/0.76 "Arial Black", sans-serif;
  letter-spacing: -0.1em;
}

.resume-sheet dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.resume-sheet dl > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-sheet dt,
.resume-sheet dd {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-sheet dt {
  color: var(--muted);
}

.resume-sheet dd {
  color: var(--accent);
  text-align: right;
}

.resume-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.resume-track article {
  min-height: 330px;
  padding: clamp(26px, 3vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resume-track span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.resume-track h3 {
  margin: 56px 0 20px;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.resume-track p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.transparency-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 26px;
  max-width: 980px;
  margin-top: 54px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.transparency-note strong {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transparency-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.inner-cta {
  position: relative;
  display: grid;
  min-height: 72dvh;
  place-content: center;
  padding: 120px var(--page-pad);
  overflow: hidden;
  text-align: center;
}

.inner-cta::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 1080px);
  aspect-ratio: 1;
  border: 1px solid rgba(54, 230, 163, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 150px rgba(54, 230, 163, 0.06);
  content: "";
  transform: translate(-50%, -50%);
}

.inner-cta > * {
  position: relative;
  z-index: 1;
}

.inner-cta h2 {
  max-width: 11ch;
  margin-inline: auto;
}

.inner-cta p:not(.section-label) {
  max-width: 650px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}

.inner-cta .inner-actions {
  justify-content: center;
}

.standard-page,
.not-found {
  min-height: 78dvh;
  padding: 160px var(--page-pad) 110px;
}

.standard-page__content {
  max-width: 860px;
  margin-top: 60px;
  color: #c4ccd4;
  font-size: 18px;
  line-height: 1.7;
}

.not-found {
  display: grid;
  place-content: center;
  text-align: center;
}

.not-found h1 {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}

.not-found p {
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

.assistant-widget {
  position: fixed;
  z-index: 95;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: 12px;
}

.assistant-launcher {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--accent);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  color: #07110d;
  cursor: pointer;
  font: 800 12px/1 "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-pulse {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #07110d;
  box-shadow: 0 0 0 0 rgba(7, 17, 13, 0.42);
  animation: assistant-pulse 2s infinite;
}

@keyframes assistant-pulse {
  70% { box-shadow: 0 0 0 10px rgba(7, 17, 13, 0); }
  100% { box-shadow: 0 0 0 0 rgba(7, 17, 13, 0); }
}

.assistant-panel {
  width: min(390px, calc(100vw - 28px));
  max-height: min(690px, calc(100dvh - 90px));
  overflow: auto;
  border: 1px solid rgba(54, 230, 163, 0.38);
  background: rgba(8, 10, 13, 0.97);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(18px);
}

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

.assistant-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.96);
}

.assistant-header span,
.assistant-privacy {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.assistant-header h2 {
  margin: 5px 0 0;
  font-size: 20px;
}

.assistant-header button {
  width: 36px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: 400 25px/1 Arial, sans-serif;
}

.assistant-log {
  display: grid;
  gap: 10px;
  max-height: 315px;
  overflow-y: auto;
  padding: 20px;
}

.assistant-message {
  width: fit-content;
  max-width: 88%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.assistant-message.is-user {
  justify-self: end;
  border-color: rgba(54, 230, 163, 0.5);
  background: var(--accent-soft);
}

.assistant-message.is-bot {
  background: rgba(255, 255, 255, 0.045);
}

.assistant-message a {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 800;
}

.assistant-actions {
  display: grid;
  gap: 8px;
  padding: 0 20px 20px;
}

.assistant-actions[hidden] {
  display: none;
}

.assistant-actions button,
.assistant-actions a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: 700 12px/1 "Segoe UI", sans-serif;
  text-align: center;
}

.assistant-actions button:hover,
.assistant-actions a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.assistant-form {
  padding: 0 20px 20px;
}

.assistant-form[hidden] {
  display: none;
}

.assistant-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.assistant-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.assistant-form input {
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--paper);
  font: 500 14px/1 "Segoe UI", sans-serif;
}

.assistant-form input:focus {
  border-color: var(--accent);
}

.assistant-form button {
  padding: 0 15px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #07110d;
  cursor: pointer;
  font: 800 12px/1 "Segoe UI", sans-serif;
}

.assistant-privacy {
  margin: 0;
  padding: 0 20px 18px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .contact-strip {
    min-height: auto;
    grid-template-columns: 1fr;
    align-content: start;
    padding-block: clamp(88px, 12vh, 132px);
  }

  .contact-intro {
    max-width: 860px;
  }

  .contact-intro h2 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .hero-scroll {
    height: 330vh;
  }

  .hero-copy {
    top: auto;
    right: var(--page-pad);
    bottom: 12vh;
    transform: none;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 14vw, 96px);
    line-height: 0.82;
  }

  .hero-line-offset {
    margin-left: 0;
  }

  .hero-subtitle {
    margin-top: 30px;
  }

  .orbit-system {
    top: 36%;
    left: 58%;
    width: 78vw;
  }

  .project-index {
    grid-template-columns: 1fr;
  }

  .stats-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .pillars-copy {
    width: 100%;
    align-content: end;
    padding-bottom: 10vh;
  }

  .pillars-stage .scene-video {
    object-position: 28% center;
  }

  .pillars-stage .scene-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 10, 13, 0.06) 0 34%,
      rgba(8, 10, 13, 0.48) 55%,
      rgba(8, 10, 13, 0.9) 76%
    );
  }

  .hologram-stack {
    top: 11%;
    width: 84vw;
    height: 38vh;
  }

  .project-card {
    width: 88vw;
    grid-template-columns: 1fr;
  }

  .project-art {
    min-height: 26vh;
  }

  .project-copy {
    min-height: 29vh;
  }

  .project-index-list > * {
    grid-template-columns: 1fr auto;
  }

  .project-index-list small {
    display: none;
  }

  .ai-scroll {
    height: 440vh;
  }

  .ai-heading {
    top: 10vh;
    right: var(--page-pad);
    width: auto;
    transform: none;
  }

  .ai-heading h2 {
    font-size: clamp(42px, 10vw, 76px);
  }

  .ai-heading > p:not(.section-label):not(.ai-disclaimer) {
    max-width: 620px;
    margin-top: 20px;
  }

  .inner-hero,
  .resume-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .profile-portrait {
    width: min(78vw, 590px);
    margin-bottom: -76px;
  }

  .profile-cinema {
    height: 330vh;
  }

  .profile-cinema__video {
    object-position: 31% center;
  }

  .profile-cinema__grade {
    background:
      linear-gradient(180deg, rgba(5, 7, 9, 0.1) 0 35%, rgba(5, 7, 9, 0.7) 60%, rgba(5, 7, 9, 0.97) 100%),
      linear-gradient(90deg, rgba(5, 7, 9, 0.16), rgba(5, 7, 9, 0.38));
  }

  .profile-cinema__grid {
    mask-image: linear-gradient(180deg, transparent 0 32%, #000 68% 100%);
  }

  .profile-cinema__copy {
    top: auto;
    right: var(--page-pad);
    bottom: 12vh;
    left: var(--page-pad);
    width: auto;
    min-height: 390px;
    transform: none;
  }

  .profile-cinema__beat {
    justify-content: flex-end;
  }

  .profile-cinema__beat h3 {
    font-size: clamp(50px, 10vw, 82px);
  }

  .inner-section__head,
  .inner-story {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .resume-track {
    grid-template-columns: 1fr 1fr;
  }

  .signal-note {
    position: relative;
    top: auto;
  }

  .resume-sheet {
    width: min(82vw, 600px);
    margin: 20px auto 30px;
  }

  .ai-radar {
    top: 55%;
    left: 52%;
    width: 110vw;
  }

  .ai-case-stack {
    top: auto;
    right: var(--page-pad);
    bottom: 7vh;
    left: var(--page-pad);
    width: auto;
    height: 42vh;
    transform: none;
  }

  .ai-case {
    padding: clamp(24px, 5vw, 40px);
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions {
    width: min(360px, 100%);
  }

  .text-link {
    align-self: flex-start;
  }

  .works-heading h2,
  .project-index h2 {
    font-size: clamp(40px, 12vw, 68px);
  }

  .stats-rail {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    min-height: 220px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .pillar-list {
    min-height: 205px;
  }

  .project-deck {
    inset-inline: 0;
  }

  .project-card {
    width: calc(100vw - 28px);
  }

  .project-copy h3 {
    font-size: 38px;
  }

  .ai-heading h2 {
    font-size: clamp(38px, 11.5vw, 60px);
  }

  .ai-heading > p:not(.section-label):not(.ai-disclaimer) {
    font-size: 14px;
  }

  .ai-heading .ai-disclaimer {
    margin-top: 10px;
    font-size: 9px;
  }

  .inner-hero {
    gap: 48px;
    padding-top: 118px;
  }

  .inner-hero h1,
  .standard-page h1,
  .not-found h1 {
    font-size: clamp(54px, 18vw, 88px);
  }

  .page-template-page-about .inner-hero h1 {
    font-size: clamp(48px, 14.5vw, 68px);
  }

  .inner-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-portrait {
    width: 96vw;
    margin-inline: calc(var(--page-pad) * -1);
  }

  .profile-portrait figcaption {
    right: var(--page-pad);
  }

  .profile-cinema__meta {
    top: 88px;
  }

  .profile-cinema__copy {
    bottom: 11vh;
    min-height: 360px;
  }

  .profile-cinema__beat > span {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .profile-cinema__beat h3 {
    max-width: 9ch;
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: -0.065em;
  }

  .profile-cinema__beat:nth-of-type(2) h3 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .profile-cinema__beat p {
    margin-top: 22px;
    font-size: 15px;
  }

  .profile-cinema__progress {
    bottom: 5vh;
  }

  .inner-section__head h2 {
    font-size: clamp(38px, 10.8vw, 54px);
    letter-spacing: -0.055em;
  }

  .inner-cta h2 {
    font-size: clamp(44px, 14vw, 70px);
  }

  .capability-grid,
  .resume-track {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .resume-track article {
    min-height: 300px;
  }

  .proof-list a,
  .proof-list > div {
    grid-template-columns: 1fr auto;
  }

  .proof-list small {
    display: none;
  }

  .resume-sheet {
    width: 100%;
    min-height: 430px;
    transform: none;
  }

  .transparency-note {
    grid-template-columns: 1fr;
  }

  .ai-case-stack {
    bottom: 5vh;
    height: 46vh;
  }

  .ai-case strong {
    font-size: 48px;
  }

  .ai-case h3 {
    font-size: 30px;
  }

  .ai-case p {
    font-size: 14px;
  }

  .ai-case a {
    margin-top: 18px;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .assistant-widget {
    right: 10px;
    bottom: 10px;
  }

  .assistant-panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 78px);
  }

  .assistant-launcher {
    min-height: 48px;
  }
}

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

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

  .hero-scroll,
  .pillars-scroll,
  .works-scroll,
  .ai-scroll {
    height: auto;
  }

  .hero-stage,
  .pillars-stage,
  .works-stage,
  .ai-stage {
    position: relative;
  }

  .hero-stage {
    --hero-progress: 1;
  }

  .pillars-stage {
    min-height: 1180px;
  }

  .pillar {
    position: relative;
    margin-bottom: 32px;
    opacity: 1;
    transform: none;
  }

  .project-deck {
    position: relative;
    inset: auto;
    display: grid;
    height: auto;
    gap: 24px;
    padding: 38vh var(--page-pad) 80px;
  }

  .project-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    opacity: 1;
    transform: none;
  }

  .ai-stage {
    min-height: auto;
    padding: 100px var(--page-pad);
  }

  .ai-heading {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .ai-case-stack {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    height: auto;
    gap: 18px;
    margin-top: 70px;
    transform: none;
  }

  .ai-case {
    position: relative;
    inset: auto;
    min-height: 460px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .profile-cinema {
    height: auto;
  }

  .profile-system__portrait {
    transform: none;
  }

  .profile-cinema__stage {
    position: relative;
    min-height: auto;
    padding: 120px var(--page-pad) 90px;
  }

  .profile-cinema__video {
    object-position: 31% center;
  }

  .profile-cinema__scan,
  .profile-cinema__progress {
    display: none;
  }

  .profile-cinema__meta {
    position: relative;
    inset: auto;
    margin-bottom: 58px;
  }

  .profile-cinema__copy {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    min-height: auto;
    gap: 22px;
    transform: none;
  }

  .profile-cinema__beat {
    position: relative;
    inset: auto;
    min-height: 330px;
    padding: 28px;
    border: 1px solid rgba(54, 230, 163, 0.26);
    background: rgba(5, 7, 9, 0.78);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

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