/* =========================================================
   SHATALOV WORKS — foundation + first screen
   ========================================================= */

:root {
  --color-graphite: #1c2128;
  --color-graphite-soft: #3a424d;
  --color-ink-muted: #5c6570;
  --color-paper: #f3efe8;
  --color-paper-deep: #ebe6dc;
  --color-line: rgba(28, 33, 40, 0.12);
  --color-signal: #e25a35;

  --font-sans: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;

  --header-h: 4.25rem;
  --max-w: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-graphite);
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(226, 90, 53, 0.04), transparent 55%),
    linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper-deep) 100%);
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.page {
  min-height: 100vh;
  overflow-x: clip;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 2.5vw, 2.75rem) 0;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand__wordmark {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.15vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand__descriptor {
  margin: 0;
  max-width: 18rem;
  color: var(--color-ink-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.75rem;
  padding-top: 0.2rem;
}

.nav__link {
  position: relative;
  color: var(--color-graphite-soft);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--color-signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-graphite);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

/* ---------------------------------------------------------
   Hero — editorial asymmetric composition
   Compact copy left / dominant illustration right + bleed
   --------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: calc(100vh - var(--header-h));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.15rem clamp(1.25rem, 2.5vw, 2.75rem) 0.75rem;
}

.hero__mark {
  position: absolute;
  top: 0.15rem;
  right: clamp(1.25rem, 2.5vw, 2.75rem);
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(20rem, 26rem) minmax(0, 1fr);
  align-items: center;
  column-gap: 1.75rem;
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  padding-top: 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 26rem;
  padding: 0.25rem 0 0.75rem;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.85rem, 2.25vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

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

.hero__slogan {
  margin: 0 0 1rem;
  color: var(--color-graphite);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.hero__services {
  margin: 0 0 1.5rem;
  max-width: 20rem;
  color: var(--color-ink-muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
}

.hero__brand-statement {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(28, 33, 40, 0.14);
  max-width: 16rem;
}

.hero__brand-mark {
  margin: 0 0 0.45rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero__brand-text {
  margin: 0;
  color: var(--color-graphite);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.cta--primary {
  color: var(--color-graphite);
  border-bottom: 1.5px solid var(--color-signal);
  padding-bottom: 0.15rem;
}

.cta--primary:hover,
.cta--primary:focus-visible {
  color: var(--color-signal);
}

.cta--secondary {
  color: var(--color-ink-muted);
  font-weight: 500;
}

.cta--secondary:hover,
.cta--secondary:focus-visible {
  color: var(--color-graphite);
}

/* Visual block — dominant weight */

.hero__visual {
  position: relative;
  z-index: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin-left: 3.5rem; /* ~56px: clear air between title and illustration */
  margin-right: 0;
}

.hero__frame {
  position: relative;
  width: max-content;
  max-width: 100%;
  overflow: visible;
  will-change: transform;
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
}

.hero__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(84rem, calc(100vw - 36rem));
  max-height: calc(100vh - 4.5rem);
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  user-select: none;
  pointer-events: none;
}

.hero__captions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  width: 100%;
  max-width: 100%;
  margin-top: 0.45rem;
  padding-right: 0.75rem;
}

.hero__hint {
  margin: 0;
  max-width: 22rem;
  color: var(--color-ink-muted);
  line-height: 1.35;
}

.hero__hint-mark {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero__hint-accent {
  color: var(--color-signal);
}

.hero__hint-action {
  display: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-graphite-soft);
}

.hero__hint-arrow {
  color: var(--color-signal);
}

.hero__hint-action--touch {
  display: inline;
}

@media (hover: hover) and (pointer: fine) {
  .hero__hint-action--hover {
    display: inline;
  }

  .hero__hint-action--touch {
    display: none;
  }
}

.hero__assembly {
  margin: 0;
  flex-shrink: 0;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-align: right;
  opacity: 0.5;
}

/* ---------------------------------------------------------
   Hotspots — engineering markers on exploded view
   --------------------------------------------------------- */

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

.hero__hotspots {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  left: var(--hotspot-x);
  top: var(--hotspot-y);
  z-index: 3;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.hotspot__trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--color-signal);
}

.hotspot__trigger:focus-visible {
  outline: 1px solid var(--color-signal);
  outline-offset: 3px;
}

.hotspot__dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-signal);
  box-shadow: 0 0 0 1px rgba(243, 239, 232, 0.85);
}

.hotspot__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(226, 90, 53, 0.45);
  border-radius: 50%;
  opacity: 0.7;
}

.hotspot.is-cueing .hotspot__ring {
  animation: hotspot-cue 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes hotspot-cue {
  0% {
    opacity: 0.45;
    transform: scale(1);
  }
  45% {
    opacity: 1;
    transform: scale(1.32);
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}

.hotspot__tip {
  position: absolute;
  right: calc(100% + 14px);
  left: auto;
  top: 50%;
  width: min(15.5rem, 58vw);
  padding: 0.7rem 0.8rem 0.75rem;
  background: var(--color-paper);
  border: 1px solid rgba(28, 33, 40, 0.22);
  border-radius: 1px;
  box-shadow: 0 8px 20px rgba(28, 33, 40, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(5px, -50%, 0);
  transition:
    opacity 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.22s;
}

.hotspot__tip::before {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-signal);
}

/* Invisible bridge so cursor can reach the tip without closing hover */
.hotspot__tip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -18px;
  width: 18px;
}

.hotspot.is-open .hotspot__tip,
.hotspot:focus-within .hotspot__tip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0);
}

@media (hover: hover) and (pointer: fine) {
  .hotspot:hover .hotspot__tip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, -50%, 0);
  }
}

.hotspot__mark {
  margin: 0 0 0.35rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.hotspot__name {
  margin: 0 0 0.35rem;
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.hotspot__desc {
  margin: 0 0 0.65rem;
  color: var(--color-ink-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.hotspot__link {
  display: inline-flex;
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--color-signal);
  padding-bottom: 0.05rem;
  transition: color 0.2s ease;
}

.hotspot__link:hover,
.hotspot__link:focus-visible {
  color: var(--color-signal);
}

@media (prefers-reduced-motion: reduce) {
  .hotspot__ring,
  .hotspot.is-cueing .hotspot__ring {
    animation: none;
  }

  .hotspot__tip {
    transition: none;
    transform: translate3d(0, -50%, 0);
  }
}

/* ---------------------------------------------------------
   Entrance — soft first paint
   --------------------------------------------------------- */

.js .hero:not(.is-ready) .hero__copy,
.js .hero:not(.is-ready) .hero__visual {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.js .hero.is-ready .hero__copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s,
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s;
}

.js .hero.is-ready .hero__visual {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s,
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero:not(.is-ready) .hero__copy,
  .js .hero:not(.is-ready) .hero__visual,
  .js .hero.is-ready .hero__copy,
  .js .hero.is-ready .hero__visual {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__image {
    transform: none;
    will-change: auto;
  }

  .hero__frame {
    transform: none;
    will-change: auto;
  }
}

/* ---------------------------------------------------------
   Responsive — basic only
   --------------------------------------------------------- */

@media (max-width: 1400px) {
  .hero__image {
    max-width: min(60rem, calc(100vw - 30rem));
  }
}

@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
    column-gap: 1rem;
  }

  .hero__copy {
    max-width: 24rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  }

  .hero__visual {
    margin-left: 1.5rem;
    margin-right: 0;
  }

  .hero__frame {
    width: 100%;
  }

  .hero__image {
    width: 100%;
    max-width: 100%;
    max-height: min(70vh, 40rem);
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .nav {
    justify-content: flex-start;
    gap: 0.15rem 1.25rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero__mark {
    display: none;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .hero__copy {
    max-width: 36rem;
    padding: 0.5rem 0 0;
  }

  .hero__title-line {
    white-space: normal;
  }

  .hero__visual {
    order: 2;
    margin-left: 0;
  }

  .hero__frame {
    max-height: none;
    width: 100%;
    margin: 0;
  }

  .hero__image {
    max-height: none;
    object-position: center;
  }

  .hero__captions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .hero__assembly {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .brand__wordmark {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   WORKS — selected projects (after approved hero)
   ========================================================= */

.works {
  position: relative;
  max-width: 92rem;
  margin: -7.75rem auto 0;
  padding: 3rem clamp(1.25rem, 2.5vw, 2.75rem) clamp(4rem, 8vh, 6rem);
  overflow-x: clip;
}

.works__intro {
  max-width: 36rem;
  margin-bottom: clamp(2.25rem, 4.5vh, 3.25rem);
}

.works__intro-rule {
  width: min(12rem, 40vw);
  height: 1px;
  margin-bottom: 1.15rem;
  background: rgba(28, 33, 40, 0.22);
}

.works__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.works__title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.works__lead {
  margin: 0;
  max-width: 24rem;
  color: var(--color-ink-muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

.work {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-bottom: clamp(3.25rem, 6vh, 4.75rem);
  align-items: start;
}

.work:last-child {
  margin-bottom: 0;
}

.work--01 {
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
  align-items: center;
}

.work--02 {
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.4fr);
  align-items: center;
}

.work--03 {
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 1fr);
  align-items: center;
}

.work__media {
  position: relative;
  min-width: 0;
}

.work--01 .work__media {
  margin-left: clamp(-0.5rem, -1.5vw, 0);
}

.work--02 .work__media {
  margin-right: clamp(-1rem, -2.5vw, 0);
}

.work--03 .work__media {
  margin-left: clamp(-0.25rem, -1vw, 0);
}

.work--03 .work__body {
  max-width: 32rem;
}

.work__media-mark {
  margin: 0 0 0.55rem;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.work__figure {
  margin: 0;
  border: 1px solid rgba(28, 33, 40, 0.14);
  background: var(--color-paper-deep);
  overflow: hidden;
}

.work__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.work__body {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  padding-top: 0.25rem;
}

.work__mark {
  margin: 0 0 0.65rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.work__name {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.work__summary {
  margin: 0 0 1.35rem;
  color: var(--color-graphite);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
}

.work__block {
  margin-bottom: 1.2rem;
}

.work__label {
  margin: 0 0 0.4rem;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work__text {
  margin: 0;
  color: var(--color-graphite-soft);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

.work__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-graphite-soft);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.work__list li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.28rem;
}

.work__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-signal);
  font-size: 0.8em;
}

.work__tech {
  margin: 0.35rem 0 1.25rem;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.work__cta {
  display: inline-flex;
  align-items: center;
  color: var(--color-graphite);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1.5px solid var(--color-signal);
  padding-bottom: 0.12rem;
  transition: color 0.2s ease;
}

.work__cta:hover,
.work__cta:focus-visible {
  color: var(--color-signal);
}

/* Scroll reveal */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .work--01,
  .work--02,
  .work--03 {
    grid-template-columns: 1fr;
  }

  .work--02 .work__body {
    order: 1;
  }

  .work--02 .work__media {
    order: 2;
    margin-right: 0;
  }

  .work--01 .work__media,
  .work--03 .work__media {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .works {
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .work {
    margin-bottom: 3rem;
  }

  .work__body {
    max-width: none;
  }
}

/* =========================================================
   CAPABILITIES — directions after works
   ========================================================= */

.capabilities {
  position: relative;
  max-width: 92rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vh, 5.5rem) clamp(1.25rem, 2.5vw, 2.75rem) clamp(4rem, 8vh, 6rem);
  overflow-x: clip;
}

.capabilities__intro {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.capabilities__rule {
  width: min(12rem, 40vw);
  height: 1px;
  margin-bottom: 1.25rem;
  background: rgba(28, 33, 40, 0.22);
}

.capabilities__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.capabilities__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.capabilities__lead {
  margin: 0;
  max-width: 32rem;
  color: var(--color-ink-muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
}

.capabilities__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 0;
  margin: 0 0 clamp(2rem, 4vh, 2.75rem);
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(28, 33, 40, 0.14);
}

.capabilities__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.85rem 1.15rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(28, 33, 40, 0.14);
}

.capabilities__mark {
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.capabilities__name {
  color: var(--color-graphite);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.capabilities__stack {
  margin: 0;
  max-width: 52rem;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .capabilities {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

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

  .capabilities__item {
    padding: 0.95rem 0;
  }

  .capabilities__name {
    font-size: 1.12rem;
  }
}

/* =========================================================
   ABOUT — professional trajectory
   ========================================================= */

.about {
  position: relative;
  max-width: 92rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vh, 5.5rem) clamp(1.25rem, 2.5vw, 2.75rem) clamp(4.5rem, 9vh, 7rem);
  overflow-x: clip;
}

.about__intro {
  max-width: 36rem;
  margin-bottom: clamp(2.25rem, 4.5vh, 3.25rem);
}

.about__rule {
  width: min(12rem, 40vw);
  height: 1px;
  margin-bottom: 1.25rem;
  background: rgba(28, 33, 40, 0.22);
}

.about__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.about__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.about__lead {
  margin: 0;
  max-width: 28rem;
  color: var(--color-ink-muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

.about__path {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr)
    auto
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(0.35rem, 1vw, 0.75rem);
  padding-top: 1.15rem;
}

.about__path::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(28, 33, 40, 0.08),
    rgba(226, 90, 53, 0.55) 72%,
    var(--color-signal)
  );
  transform: scaleX(0);
  transform-origin: left center;
}

.js .about__path.is-visible::before {
  transform: scaleX(1);
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s;
}

.about__stage {
  min-width: 0;
}

.about__stage-head {
  margin-bottom: 0.85rem;
}

.about__stage-mark {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.about__stage-title {
  margin: 0;
  color: var(--color-graphite);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.about__stage--signal .about__stage-title {
  color: var(--color-signal);
}

.about__stage-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.about__stage-text {
  margin: 0;
  color: var(--color-graphite-soft);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.about__stage-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.85rem;
}

.about__arrow {
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  opacity: 0.85;
}

.about__track {
  margin: clamp(1.75rem, 3.5vh, 2.5rem) 0 0;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

@media (prefers-reduced-motion: reduce) {
  .about__path::before,
  .js .about__path.is-visible::before {
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .about__path {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding-top: 0;
  }

  .about__path::before {
    display: none;
  }

  .about__connector {
    justify-content: flex-start;
    padding: 0.15rem 0 0.15rem 0.1rem;
  }

  .about__arrow {
    transform: rotate(90deg);
  }

  .about__stage {
    padding: 1rem 0 1.1rem;
    border-bottom: 1px solid rgba(28, 33, 40, 0.12);
  }

  .about__stage:first-child {
    border-top: 1px solid rgba(28, 33, 40, 0.12);
  }

  .about__track {
    letter-spacing: 0.08em;
  }
}

@media (max-width: 860px) {
  .about {
    padding-top: 3rem;
    padding-bottom: 3.75rem;
  }
}

/* =========================================================
   PRINCIPLES — compact working principles
   ========================================================= */

.principles {
  position: relative;
  max-width: 92rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 5.5vh, 4rem) clamp(1.25rem, 2.5vw, 2.75rem) clamp(3.5rem, 7vh, 5rem);
  overflow-x: clip;
}

.principles__intro {
  margin-bottom: 1.35rem;
}

.principles__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.principles__lead {
  margin: 0;
  color: var(--color-graphite);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.principles__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(28, 33, 40, 0.14);
}

.principles__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1rem 0 1.1rem;
  border-bottom: 1px solid rgba(28, 33, 40, 0.14);
}

.principles__num {
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  padding-top: 0.12rem;
}

.principles__title {
  margin: 0 0 0.4rem;
  color: var(--color-graphite);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.principles__text {
  margin: 0;
  max-width: 22rem;
  color: var(--color-graphite-soft);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .principles {
    padding-top: 2.5rem;
    padding-bottom: 3.25rem;
  }

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

  .principles__item {
    padding: 0.9rem 0 1rem;
  }
}

/* =========================================================
   CONTACT + FOOTER — closing screen
   ========================================================= */

.contact {
  --contact-bg: #171b20;
  --contact-ink: #f3efe8;
  --contact-muted: rgba(243, 239, 232, 0.62);

  position: relative;
  margin: 0;
  padding: clamp(4.5rem, 9vh, 7rem) clamp(1.25rem, 2.5vw, 2.75rem) clamp(3.5rem, 7vh, 5rem);
  background: var(--contact-bg);
  color: var(--contact-ink);
  overflow-x: clip;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  max-width: 92rem;
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 5vh, 3.75rem);
  border-bottom: 1px solid rgba(243, 239, 232, 0.14);
}

.contact__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--color-signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.contact__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.contact__text {
  margin: 0;
  max-width: 28rem;
  color: var(--contact-muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0.25rem;
}

.contact__link {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  max-width: 100%;
  color: var(--contact-ink);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  border-bottom: 1.5px solid var(--color-signal);
  padding-bottom: 0.2rem;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.contact__link:hover,
.contact__link:focus-visible {
  color: var(--color-signal);
}

.contact__brand {
  max-width: 92rem;
  margin: clamp(2rem, 4vh, 3rem) auto 0;
}

.contact__wordmark {
  margin: 0 0 0.35rem;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__slogan {
  margin: 0;
  color: var(--contact-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem 1.5rem;
  max-width: 100%;
  margin: 0;
  padding: 1.15rem clamp(1.25rem, 2.5vw, 2.75rem) 1.35rem;
  background: #12161a;
  color: rgba(243, 239, 232, 0.55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.site-footer__copy,
.site-footer__name,
.site-footer__domain {
  margin: 0;
}

@media (max-width: 860px) {
  .contact {
    padding-top: 3.5rem;
    padding-bottom: 2.75rem;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.75rem;
    padding-bottom: 2rem;
  }

  .contact__title {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .contact__link {
    font-size: 1.12rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
