@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: block;
  src: url("/assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: block;
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #05070d;
  --surface: #090e17;
  --surface-strong: #0d1420;
  --text: #f6f8ff;
  --soft: #bfc7da;
  --muted: #7f8ba4;
  --violet: #9b5cff;
  --blue: #397cff;
  --cyan: #35d9ff;
  --line: rgba(197, 210, 235, 0.16);
  --line-strong: rgba(197, 210, 235, 0.28);
  --font: "Unbounded", Arial, sans-serif;
  --display: var(--font);
  --brand: var(--font);
  --body: var(--font);
  --mono: var(--font);
  --page: 1496px;
  --header-h: 84px;
  --mx: 0;
  --my: 0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-width: none;
  background: var(--bg);
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 79% 10%, rgba(57, 124, 255, 0.06), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 30;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

::selection {
  background: rgba(155, 92, 255, 0.5);
  color: #fff;
}

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

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

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.page-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(53, 217, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100% - 92px, 1494px);
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transform: translateX(-50%);
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0 -24px;
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  backdrop-filter: blur(20px) saturate(130%);
}

.site-header.is-scrolled::before {
  background: rgba(5, 7, 13, 0.78);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--brand);
  font-size: 23px;
  letter-spacing: -0.055em;
}

.brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(53, 217, 255, 0.58);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(155, 92, 255, 0.28), rgba(57, 124, 255, 0.06));
  box-shadow: inset 0 0 16px rgba(57, 124, 255, 0.16), 0 0 20px rgba(57, 124, 255, 0.1);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0;
}

.brand-dot {
  color: var(--blue);
}

.site-header .brand {
  transform: scaleX(1.4);
  transform-origin: left center;
}

.site-nav {
  position: absolute;
  left: 48.2%;
  display: flex;
  width: clamp(500px, 40.35vw, 640px);
  align-items: center;
  justify-content: space-between;
  gap: 0;
  transform: translateX(-50%);
}

.site-nav a {
  position: relative;
  color: rgba(246, 248, 255, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.header-cta {
  min-width: 202px;
  min-height: 36px;
  padding: 0 17px;
  border-color: rgba(57, 124, 255, 0.72);
  border-radius: 5px;
  color: #bcd4ff;
}

.header-cta svg {
  display: none;
}

.header-cta::after {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(57, 124, 255, 0.85);
  content: "";
}

.header-cta svg,
.button svg,
.project-body a svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--cyan);
  background: rgba(57, 124, 255, 0.1);
  color: #fff;
  box-shadow: 0 0 28px rgba(57, 124, 255, 0.16);
}

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

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 3;
  top: 0;
  left: -30%;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(53, 217, 255, 0.09), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-12deg);
  animation: hero-scan 9s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 127, 173, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 127, 173, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 86%);
}

.foundry-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.foundry-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.54) 29%, transparent 47%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.04) 68%, var(--bg) 100%);
  content: "";
}

.foundry-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 5px), 0) scale(1.02);
  transform-origin: center;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.foundry-edge {
  display: none;
  position: absolute;
  z-index: -1;
  top: 15%;
  left: 61%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(57, 124, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 100px rgba(57, 124, 255, 0.05),
    inset 0 0 100px rgba(155, 92, 255, 0.025);
  content: "";
  pointer-events: none;
  transform: translate(-50%, 0) scale(calc(1 + var(--my) * 0.012));
  animation: energy-ring 5s ease-in-out infinite;
}

.foundry-edge::before,
.foundry-edge::after {
  position: absolute;
  border: 1px solid rgba(53, 217, 255, 0.08);
  border-radius: inherit;
  content: "";
}

.foundry-edge::before {
  inset: 42px;
}

.foundry-edge::after {
  inset: 86px;
  border-color: rgba(155, 92, 255, 0.12);
}

.hero-shell {
  position: relative;
  width: min(100% - 48px, var(--page));
  min-height: 820px;
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  z-index: 8;
  top: 220px;
  left: 0;
  width: min(660px, 46vw);
}

.hero-copy h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(54px, 4.05vw, 64px);
  line-height: 1.04;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.72);
}

.hero-accent,
.section-heading h2 span,
.final-cta h2 span {
  background: linear-gradient(100deg, var(--violet) 0%, #7656ff 45%, var(--blue) 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-line {
  display: block;
  width: max-content;
  transform-origin: left center;
}

.hero-line:nth-child(1) { transform: scaleX(1.08); }
.hero-line:nth-child(2) { transform: scaleX(1.2); }
.hero-line:nth-child(3) { transform: scaleX(1); }

.hero-accent {
  font-style: normal;
}

.hero-copy > p {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1.45;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 43px;
}

.hero-actions .button {
  min-width: 250px;
  min-height: 62px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
}

.hero-actions .button svg {
  display: none;
}

.button {
  min-width: 224px;
  padding: 0 26px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(155, 92, 255, 0.76);
  background: linear-gradient(105deg, #6932ee 0%, var(--violet) 42%, #245dff 100%);
  color: #fff;
  box-shadow:
    0 14px 40px rgba(85, 51, 224, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--cyan);
  box-shadow:
    0 18px 50px rgba(85, 51, 224, 0.35),
    0 0 22px rgba(53, 217, 255, 0.15),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.button-secondary {
  background: rgba(5, 7, 13, 0.55);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(53, 217, 255, 0.66);
  background: rgba(53, 217, 255, 0.06);
}

.foundry-inputs,
.foundry-outputs {
  position: absolute;
  z-index: 7;
  top: 0;
  color: var(--soft);
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.foundry-inputs {
  left: calc(40.65% + clamp(18px, 1.4vw, 24px));
  width: 96px;
  height: 480px;
}

.foundry-outputs {
  right: 0;
  width: 278px;
  height: 610px;
}

.foundry-node,
.foundry-output {
  position: relative;
  border: 1px solid rgba(142, 170, 217, 0.35);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(12, 20, 32, 0.96), rgba(7, 11, 18, 0.88));
  box-shadow:
    inset 0 0 22px rgba(57, 124, 255, 0.07),
    0 14px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.foundry-node {
  position: absolute;
  left: 0;
  display: flex;
  width: 96px;
  height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 7px;
  color: var(--text);
  font-size: 8.5px;
  text-transform: uppercase;
}

.foundry-node:nth-child(1) { top: 278px; }
.foundry-node:nth-child(2) { top: 329px; }
.foundry-node:nth-child(3) { top: 381px; }
.foundry-node:nth-child(4) {
  top: 433px;
  font-size: 7.2px;
  letter-spacing: -0.08em;
}

.foundry-output {
  position: absolute;
  right: 0;
  display: grid;
  width: 278px;
  grid-template-columns: 158px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
}

.foundry-output:nth-child(1) { top: 106px; height: 140px; }
.foundry-output:nth-child(2) { top: 243px; height: 118px; }
.foundry-output:nth-child(3) { top: 373px; height: 112px; }
.foundry-output:nth-child(4) { top: 489px; height: 124px; }

.output-preview {
  position: relative;
  display: block;
  width: 158px;
  height: calc(100% - 16px);
  overflow: hidden;
  border: 1px solid rgba(157, 186, 231, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(rgba(57, 124, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 124, 255, 0.05) 1px, transparent 1px),
    #070d16;
  background-size: 16px 16px;
  box-shadow: inset 0 0 24px rgba(57, 124, 255, 0.08);
}

.output-kind {
  display: flex;
  height: calc(100% - 18px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-left: 1px solid rgba(197, 210, 235, 0.12);
  color: var(--text);
  text-align: center;
}

.output-kind b {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: uppercase;
}

.preview-web {
  background:
    linear-gradient(155deg, transparent 47%, rgba(53, 217, 255, 0.18) 48%, rgba(155, 92, 255, 0.18) 63%, transparent 64%),
    radial-gradient(circle at 73% 46%, rgba(155, 92, 255, 0.35), transparent 25%),
    #070c15;
}

.preview-web i {
  position: absolute;
  display: block;
  border-radius: 2px;
}

.preview-bar {
  top: 8px;
  right: 9px;
  left: 9px;
  height: 3px;
  background: linear-gradient(90deg, rgba(246, 248, 255, 0.65) 18%, transparent 18% 72%, rgba(57, 124, 255, 0.75) 72%);
}

.preview-title {
  top: 29px;
  left: 12px;
  width: 50px;
  height: 8px;
  background: rgba(246, 248, 255, 0.82);
  box-shadow: 0 11px rgba(246, 248, 255, 0.56);
}

.preview-copy {
  top: 53px;
  left: 12px;
  width: 63px;
  height: 2px;
  background: rgba(191, 199, 218, 0.28);
  box-shadow: 0 6px rgba(191, 199, 218, 0.18);
}

.preview-button {
  bottom: 10px;
  left: 12px;
  width: 31px;
  height: 7px;
  border: 1px solid rgba(53, 217, 255, 0.48);
  background: rgba(57, 124, 255, 0.14);
}

.preview-telegram {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 12px;
}

.preview-telegram i {
  position: relative;
  display: block;
  width: 78%;
  height: 13px;
  margin-left: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(57, 124, 255, 0.3), rgba(53, 217, 255, 0.08));
}

.preview-telegram i::before {
  position: absolute;
  top: 1px;
  left: -18px;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(53, 217, 255, 0.6);
  border-radius: 50%;
  background: rgba(57, 124, 255, 0.16);
  content: "";
}

.preview-analytics {
  padding: 11px 9px 7px;
}

.analytics-kpi {
  display: block;
  width: 39px;
  height: 10px;
  border-radius: 2px;
  background: rgba(246, 248, 255, 0.75);
  box-shadow: 48px 0 rgba(53, 217, 255, 0.36), 96px 0 rgba(155, 92, 255, 0.36);
}

.preview-analytics > svg {
  width: 100%;
  height: 58px;
  color: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(53, 217, 255, 0.45));
  stroke-width: 2;
}

.preview-saas {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 10px;
}

.preview-saas i {
  display: block;
  border: 1px solid rgba(126, 164, 226, 0.16);
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(57, 124, 255, 0.2), rgba(9, 14, 23, 0.36));
}

.preview-saas i:nth-child(2),
.preview-saas i:nth-child(3) {
  background: linear-gradient(145deg, rgba(155, 92, 255, 0.18), rgba(9, 14, 23, 0.38));
}

.foundry-node > svg,
.output-kind > svg {
  flex: 0 0 auto;
  color: var(--soft);
  stroke-width: 1.4;
}

.foundry-node > svg {
  width: 18px;
  height: 18px;
}

.output-kind > svg {
  width: 28px;
  height: 28px;
}

.foundry-output:nth-child(2) .output-kind > svg {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 50%;
  background: #229ed9;
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(53, 217, 255, 0.38));
}

.process-rail {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 34px;
  left: 0;
  display: grid;
  min-height: 100px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.82), rgba(5, 7, 13, 0.9));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.process-rail article {
  position: relative;
  display: grid;
  grid-template-columns: 28px 44px 1fr;
  align-items: center;
  gap: 17px;
  padding: 17px clamp(28px, 3vw, 48px);
}

.process-rail article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -4px;
  bottom: auto;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(197, 210, 235, 0.45);
  border-right: 1px solid rgba(197, 210, 235, 0.45);
  background: transparent;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.process-rail strong {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 15px;
}

.process-rail article:nth-child(2) strong,
.process-rail article:nth-child(3) strong {
  color: var(--cyan);
}

.process-rail svg {
  width: 38px;
  height: 38px;
  color: var(--text);
  stroke-width: 1.4;
}

.process-rail h2 {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.process-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.section {
  width: min(100% - 106px, 1480px);
  margin: 0 auto;
  padding: 116px 0;
}

.projects-section {
  padding: 35px 0 64px;
}

.projects-section .section-heading {
  display: block;
  margin-bottom: 28px;
}

.projects-section .section-heading h2 {
  font-size: 62px;
}

.projects-section .section-heading > p {
  max-width: 520px;
  margin: -7px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 38px;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(43px, 5vw, 72px);
}

.section-heading > p {
  max-width: 560px;
  margin: 0 0 4px;
  color: var(--soft);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background:
    radial-gradient(circle at calc(var(--gx, 50) * 1%) calc(var(--gy, 0) * 1%), rgba(57, 124, 255, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(11, 17, 28, 0.9), rgba(6, 10, 16, 0.96));
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms ease,
    box-shadow 320ms ease;
  height: 366px;
}

.project-card::after {
  position: absolute;
  right: -35%;
  bottom: -25%;
  width: 70%;
  height: 55%;
  border-radius: 50%;
  background: var(--card-glow, rgba(155, 92, 255, 0.12));
  filter: blur(54px);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.project-card[data-accent="blue"] {
  --card-glow: rgba(57, 124, 255, 0.18);
}

.project-card[data-accent="cyan"] {
  --card-glow: rgba(53, 217, 255, 0.14);
}

.project-card:hover {
  border-color: rgba(126, 164, 226, 0.4);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), 0 0 30px rgba(57, 124, 255, 0.05);
  transform: translateY(-5px);
}

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

.project-media {
  position: relative;
  height: 198px;
  margin: 9px 9px 0;
  overflow: hidden;
  border: 1px solid rgba(153, 178, 220, 0.13);
  border-radius: 7px;
  background:
    linear-gradient(rgba(57, 124, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 124, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(57, 124, 255, 0.12), transparent 58%),
    #060a12;
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.project-media::after {
  display: none;
}

.project-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 0;
  height: 158px;
  flex-direction: column;
  padding: 12px 18px 16px;
}

.project-type {
  margin: 0 0 5px;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-accent="blue"] .project-type {
  color: #69a6ff;
}

[data-accent="cyan"] .project-type {
  color: var(--cyan);
}

.project-body h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.project-body > p:not(.project-type) {
  margin: 5px 0 9px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.42;
}

.project-body a,
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.project-body a {
  justify-content: space-between;
  transition: color 180ms ease;
}

.project-body a:hover,
.project-body a:focus-visible {
  color: var(--cyan);
}

.project-body a svg {
  transition: transform 180ms ease;
}

.project-body a:hover svg,
.project-body a:focus-visible svg {
  transform: translateX(5px);
}

[data-accent="blue"] .project-body a {
  color: #69a6ff;
}

[data-accent="cyan"] .project-body a {
  color: var(--cyan);
}

.project-status {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(57, 124, 255, 0.32);
  border-radius: 5px;
  background: rgba(57, 124, 255, 0.07);
  color: #80afff;
}

.media-chart {
  padding: 40px 12px 0;
}

.chart-toolbar {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(153, 178, 220, 0.12);
}

.chart-toolbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.65;
}

.chart-grid {
  position: absolute;
  z-index: 0;
  inset: 40px 12px 12px;
  background:
    linear-gradient(rgba(126, 164, 226, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 164, 226, 0.08) 1px, transparent 1px);
  background-size: 100% 25%, 16.66% 100%;
}

.media-chart > svg {
  position: absolute;
  z-index: 1;
  inset: 40px 12px 0;
  width: calc(100% - 24px);
  height: calc(100% - 40px);
}

.media-store {
  background:
    radial-gradient(circle at 74% 45%, rgba(53, 217, 255, 0.1), transparent 38%),
    linear-gradient(135deg, #06080d, #0a1018);
}

.store-nav {
  position: relative;
  z-index: 2;
  display: flex;
  height: 37px;
  align-items: center;
  gap: 18px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.store-nav b {
  margin-right: auto;
  color: #fff;
}

.store-nav span {
  width: 31px;
  height: 3px;
  border-radius: 3px;
  background: var(--muted);
  opacity: 0.34;
}

.store-stage {
  position: absolute;
  inset: 38px 0 0;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px 8px 36%;
}

.store-stage::before {
  position: absolute;
  top: 48px;
  left: 24px;
  width: 29%;
  color: #fff;
  content: "NEW\A COLLECTION";
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.05;
  white-space: pre;
}

.garment {
  position: relative;
  display: block;
  width: 25%;
  border: 1px solid rgba(218, 228, 246, 0.24);
  background: linear-gradient(150deg, #202a36, #080b10 65%);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.55);
  clip-path: polygon(30% 0, 70% 0, 78% 8%, 100% 24%, 86% 42%, 76% 31%, 82% 100%, 18% 100%, 24% 31%, 14% 42%, 0 24%, 22% 8%);
}

.garment::after {
  position: absolute;
  top: 10%;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(246, 248, 255, 0.25);
  content: "";
}

.garment-one {
  height: 82%;
}

.garment-two {
  height: 68%;
  opacity: 0.8;
  transform: scale(0.86);
}

.garment-three {
  height: 54%;
  opacity: 0.65;
  transform: scale(0.72);
}

.media-library {
  display: grid;
  grid-template-columns: 29% 1fr;
  padding: 12px;
}

.library-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 44px 10px 10px;
  border-right: 1px solid var(--line);
  border-radius: 5px 0 0 5px;
  background: rgba(9, 14, 23, 0.86);
}

.library-sidebar::before {
  position: absolute;
  top: 23px;
  left: 26px;
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  content: "";
}

.library-sidebar i,
.library-search,
.library-content div i {
  display: block;
  border: 1px solid rgba(153, 178, 220, 0.12);
  border-radius: 4px;
  background: rgba(153, 178, 220, 0.06);
}

.library-sidebar i {
  width: 72%;
  height: 7px;
}

.library-content {
  padding: 9px 12px;
}

.library-search {
  width: 65%;
  height: 25px;
  margin-bottom: 27px;
}

.library-content div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.library-content div i {
  position: relative;
  height: 100px;
  background:
    radial-gradient(circle at 50% 38%, rgba(155, 92, 255, 0.24), transparent 30%),
    rgba(153, 178, 220, 0.045);
}

.library-content div i::after {
  position: absolute;
  right: 10px;
  bottom: 13px;
  left: 10px;
  height: 5px;
  border-radius: 3px;
  background: rgba(191, 199, 218, 0.2);
  box-shadow: 0 -11px rgba(191, 199, 218, 0.11);
  content: "";
}

.media-bots {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 20px;
}

.media-bots > svg {
  z-index: 2;
  width: 118px;
  height: 118px;
  justify-self: center;
  filter: drop-shadow(0 0 20px rgba(53, 217, 255, 0.18));
}

.chat-shell {
  display: grid;
  height: 144px;
  align-content: center;
  gap: 12px;
  padding: 22px 14px;
  border: 1px solid rgba(153, 178, 220, 0.18);
  border-radius: 9px;
  background: rgba(8, 15, 25, 0.88);
}

.chat-shell span {
  width: 78%;
  height: 25px;
  border: 1px solid rgba(57, 124, 255, 0.15);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(57, 124, 255, 0.16), rgba(53, 217, 255, 0.04));
}

.chat-shell span:nth-child(2) {
  justify-self: end;
  background: linear-gradient(90deg, rgba(155, 92, 255, 0.2), rgba(57, 124, 255, 0.05));
}

.proof-rail {
  display: grid;
  width: min(100% - 48px, var(--page));
  min-height: 170px;
  grid-template-columns: repeat(4, 1fr);
  margin: 12px auto 0;
  border-block: 1px solid var(--line);
}

.proof-rail > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px clamp(22px, 3vw, 48px);
}

.proof-rail > div:not(:last-child)::after {
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 32px;
  width: 1px;
  background: var(--line);
  content: "";
}

.proof-rail strong {
  background: linear-gradient(100deg, #fff, #a8c7ff 50%, var(--cyan));
  background-clip: text;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  -webkit-background-clip: text;
}

.proof-rail span {
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.services-section {
  width: min(100% - 150px, 1436px);
  padding: 58px 0 22px;
}

.services-section .section-heading {
  grid-template-columns: 430px minmax(0, 1fr);
  align-items: start;
  gap: 92px;
  margin-bottom: 60px;
}

.services-section .section-heading h2 {
  font-size: 56px;
  line-height: 1.06;
}

.services-section .section-heading h2 span {
  display: block;
}

.services-section .section-heading > p {
  max-width: 560px;
  margin-top: 48px;
  font-size: 20px;
  line-height: 1.35;
}

.services-grid {
  position: relative;
  display: grid;
  grid-template-columns: 32.1% 34.5% 33.4%;
}

.services-grid::before {
  position: absolute;
  z-index: 2;
  top: 155px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
  pointer-events: none;
}

.service-item {
  position: relative;
  display: grid;
  min-height: 162px;
  height: 162px;
  grid-template-columns: 108px 1fr;
  gap: 40px;
  align-items: center;
  padding: 14px 30px 14px 0;
  border-bottom: 0;
}

.service-item:not(:nth-child(3n)) {
  border-right: 0;
}

.service-item:not(:nth-child(3n))::after {
  position: absolute;
  right: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.service-item:nth-child(-n + 3)::after {
  top: -6px;
  bottom: 40px;
}

.service-item:nth-child(n + 4)::after {
  top: 31px;
  bottom: -1px;
}

.service-item:nth-child(-n + 3) > div {
  align-self: start;
  margin-top: -2px;
  transform: none;
}

.service-item:nth-child(2) > div {
  transform: translateY(-6px);
}

.service-item:nth-child(2) h3 {
  margin-bottom: 15px;
}

.service-item:nth-child(-n + 3) > svg {
  transform: translateY(-45px);
}

.service-item:nth-child(4) > div {
  transform: translateY(22px);
}

.service-item:nth-child(5) > div {
  transform: translateY(12px);
}

.service-item:nth-child(6) > div {
  transform: translateY(21px);
}

.service-item:nth-child(4) > svg {
  transform: translateY(-8px);
}

.service-item:nth-child(5) > svg {
  transform: translateY(-11px);
}

.service-item:nth-child(3n + 2),
.service-item:nth-child(3n) {
  gap: 21px;
  padding-left: 60px;
}

.service-item:nth-child(3) > svg {
  transform: translate(-15px, -45px);
}

.service-item:nth-child(6) > svg {
  transform: translate(-15px, -17px);
}

.service-item svg {
  width: 92px;
  height: 92px;
  color: #78a5ff;
  filter: drop-shadow(0 0 16px rgba(57, 124, 255, 0.16));
  stroke-width: 1.45;
  transition: color 220ms ease, transform 220ms ease;
}

.service-item:nth-child(3n + 1) svg {
  color: #a375ff;
}

.service-item:nth-child(3n) svg {
  color: var(--cyan);
}

.service-item:nth-child(-n + 3):hover svg {
  color: #fff;
  transform: translateY(-49px) scale(1.04);
}

.service-item:nth-child(n + 4):hover svg {
  color: #fff;
  transform: translateY(-12px) scale(1.04);
}

.service-item:nth-child(3):hover svg {
  transform: translate(-15px, -49px) scale(1.04);
}

.service-item:nth-child(6):hover svg {
  transform: translate(-15px, -21px) scale(1.04);
}

.service-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.service-item p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}

.final-cta {
  position: relative;
  width: min(100% - 136px, 1450px);
  min-height: 341px;
  margin: 22px auto 48px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #070b12;
  isolation: isolate;
}

.cta-copy {
  display: flex;
  width: 48%;
  min-height: 341px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 50px;
}

.final-cta h2 {
  max-width: 650px;
  font-size: 52px;
  line-height: 1.06;
  transform: translateY(7px) scaleX(1.34);
  transform-origin: left center;
}

.final-cta h2 span {
  display: block;
}

.final-cta p {
  max-width: 510px;
  margin: 18px 0 18px;
  color: var(--soft);
  font-size: 18px;
}

.final-cta .button {
  min-width: 325px;
  min-height: 60px;
  justify-content: space-between;
  font-family: var(--body);
  font-size: 16px;
}

.cta-reactor {
  display: none;
}

.site-footer {
  display: grid;
  width: min(100% - 48px, var(--page));
  grid-template-columns: 1fr 1.5fr 0.7fr;
  align-items: start;
  gap: 36px;
  margin: 0 auto;
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  color: var(--text);
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12px;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 660ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 660ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.projects-grid .reveal:nth-child(2),
.services-grid .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.projects-grid .reveal:nth-child(3),
.services-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

@keyframes hero-scan {
  0%, 24% {
    left: -35%;
    opacity: 0;
  }
  44% {
    opacity: 1;
  }
  70%, 100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes energy-ring {
  0%, 100% {
    opacity: 0.55;
    transform: translate(-50%, 0) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1.03);
  }
}

.cta-reactor {
  animation-name: cta-pulse;
}

@keyframes cta-pulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (min-width: 1181px) {
  .project-card:nth-child(n + 4) {
    height: 378px;
  }

  .project-card:nth-child(n + 4) .project-body {
    height: 170px;
  }
}

@media (max-width: 1500px) and (min-width: 1181px) {
  .foundry-inputs {
    left: calc(40.9% + clamp(18px, 1.4vw, 24px));
    transform: scale(0.93);
    transform-origin: left top;
  }

  .foundry-outputs {
    transform: scale(0.93);
    transform-origin: right top;
  }

}

@media (max-width: 1300px) and (min-width: 1181px) {
  .foundry-inputs,
  .foundry-outputs {
    display: none;
  }
}

@media (max-width: 1380px) {

  .process-rail article {
    grid-template-columns: 23px 36px 1fr;
    gap: 9px;
    padding-inline: 17px;
  }

  .process-rail svg {
    width: 32px;
    height: 32px;
  }

  .process-rail p {
    font-size: 10px;
  }
}

@media (max-width: 1180px) {
  :root {
    --page: 1080px;
  }

  .site-nav {
    position: static;
    width: auto;
    gap: 22px;
    transform: none;
  }

  .site-nav a {
    font-size: 10px;
  }

  .hero,
  .hero-shell {
    min-height: 820px;
  }

  .foundry-inputs,
  .foundry-outputs {
    display: none;
  }

  .hero-copy {
    top: 176px;
    width: 53vw;
  }

  .foundry-media {
    inset: 0;
  }

  .process-rail article {
    grid-template-columns: 25px 34px 1fr;
  }

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

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

  .service-item:not(:nth-child(3n)) {
    border-right: 0;
  }

  .service-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .services-grid::before,
  .service-item::after {
    display: none;
  }

  .service-item:nth-child(n) {
    gap: 30px;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item:nth-child(n) > div,
  .service-item:nth-child(n) > svg {
    transform: none;
  }

  .service-item:nth-child(n) > div {
    align-self: center;
    margin-top: 0;
  }

  .service-item:nth-child(2) h3 {
    margin-bottom: 8px;
  }

  .service-item:nth-child(n):hover svg {
    transform: translateY(-4px) scale(1.04);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: clamp(67px, 14.5vw, 124px);
  }

  html {
    scroll-padding-top: 24px;
  }

  .hero-shell {
    width: calc(100% - clamp(36px, 9.4vw, 80px));
  }

  .site-header {
    right: clamp(16px, 3.9vw, 33px);
    left: clamp(18px, 4.7vw, 40px);
    width: auto;
    transform: none;
  }

  .site-header::before {
    display: none;
  }

  .site-header .brand {
    transform: scaleX(1.18);
  }

  .site-nav {
    display: none;
  }

  .brand {
    gap: 0;
    font-size: clamp(19px, 3.8vw, 32px);
  }

  .header-cta {
    min-width: clamp(154px, 39vw, 332px);
    min-height: clamp(38px, 7.3vw, 62px);
    justify-content: space-between;
    padding: 0 clamp(13px, 3.2vw, 27px);
    border-radius: 8px;
    font-size: clamp(9px, 1.8vw, 15px);
  }

  .header-cta::after {
    display: none;
  }

  .header-cta svg {
    display: block;
    width: clamp(17px, 3vw, 25px);
    height: clamp(17px, 3vw, 25px);
  }

  .hero,
  .hero-shell {
    min-height: clamp(940px, 227.4vw, 1940px);
  }

  .hero::before,
  .hero-grid {
    display: none;
  }

  .hero-copy {
    top: clamp(78px, 18.2vw, 155px);
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 8vw, 68px);
    line-height: 1.22;
  }

  .hero-line:nth-child(1) { transform: scaleX(1.27); }
  .hero-line:nth-child(2) { transform: scaleX(1.45); }
  .hero-line:nth-child(3) { transform: scaleX(1.2); }

  .hero-copy > p {
    max-width: 72%;
    margin-top: 17px;
    font-size: clamp(17px, 3.45vw, 29px);
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(10px, 3.1vw, 26px);
    margin-top: clamp(22px, 5.9vw, 50px);
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: clamp(52px, 12.3vw, 105px);
    justify-content: space-between;
    padding: 0 clamp(22px, 5.5vw, 47px);
    border-radius: 9px;
    font-size: clamp(14px, 3.35vw, 28px);
  }

  .hero-actions .button svg {
    display: block;
    width: clamp(20px, 3.8vw, 32px);
    height: clamp(20px, 3.8vw, 32px);
  }

  .foundry-media {
    top: clamp(348px, 89.1vw, 760px);
    right: -16px;
    bottom: auto;
    left: -16px;
    height: clamp(388px, 114.9vw, 980px);
  }

  .foundry-media img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 81% center;
    transform: none;
    transition: none;
  }

  .foundry-media::after {
    background:
      linear-gradient(180deg, var(--bg) 0%, transparent 11%, transparent 86%, var(--bg) 100%),
      linear-gradient(90deg, rgba(5, 7, 13, 0.2), transparent 52%);
  }

  .process-rail {
    right: clamp(-18px, -2.1vw, -7px);
    bottom: clamp(18px, 2.35vw, 20px);
    left: clamp(-18px, -2.1vw, -7px);
    min-height: clamp(210px, 40vw, 341px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: clamp(10px, 2.2vw, 19px);
  }

  .process-rail article {
    grid-template-columns: clamp(24px, 5vw, 43px) 1fr;
    grid-template-rows: auto auto;
    align-content: start;
    align-items: center;
    gap: clamp(22px, 6vw, 51px) clamp(7px, 1.8vw, 15px);
    padding: clamp(15px, 3.8vw, 32px) clamp(13px, 3.5vw, 30px);
  }

  .process-rail article:not(:last-child)::after {
    top: 28%;
    right: clamp(-3px, -0.4vw, -1px);
    width: clamp(6px, 1.4vw, 12px);
    height: clamp(6px, 1.4vw, 12px);
  }

  .process-rail strong {
    font-size: clamp(15px, 2.8vw, 24px);
  }

  .process-rail svg {
    width: clamp(31px, 6vw, 51px);
    height: clamp(31px, 6vw, 51px);
  }

  .process-rail article > div {
    grid-column: 1 / -1;
  }

  .process-rail h2 {
    margin-bottom: clamp(5px, 1.4vw, 12px);
    font-size: clamp(9px, 1.55vw, 13px);
    line-height: 1.25;
  }

  .process-rail p {
    font-size: clamp(8px, 1.6vw, 13.5px);
    line-height: 1.45;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services-section .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

  .services-section .section-heading > p {
    margin-top: 0;
  }

  .section-heading > p {
    margin: 0;
  }

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

  .proof-rail > div:nth-child(2)::after {
    display: none;
  }

  .proof-rail > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-copy {
    width: 68%;
    padding-inline: 38px;
  }

  .site-footer {
    grid-template-columns: 1fr 1.3fr;
  }

  .site-footer > div:last-child {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 67px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .hero-shell,
  .section,
  .proof-rail,
  .final-cta,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header::before {
    inset-inline: -16px;
  }

  .brand-mark {
    width: 25px;
    height: 25px;
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(31px, 9.75vw, 54px);
    line-height: 1.12;
  }

  .hero-line:nth-child(1) { transform: scaleX(1.29); }
  .hero-line:nth-child(2) { transform: scaleX(1.35); }
  .hero-line:nth-child(3) { transform: scaleX(1.16); }

  .button {
    min-width: 0;
    min-height: 49px;
    gap: 8px;
    padding: 0 12px;
    font-size: 9px;
    letter-spacing: 0.025em;
  }

  .button svg {
    width: 17px;
    height: 17px;
  }

  .section {
    padding-block: 82px;
  }

  .projects-section {
    padding-top: 78px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(39px, 12vw, 52px);
    line-height: 1.06;
  }

  .section-heading > p {
    font-size: 16px;
  }

  .projects-grid {
    display: flex;
    width: calc(100% + 16px);
    gap: 13px;
    overflow-x: auto;
    padding: 0 16px 18px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    height: auto;
    width: min(82vw, 365px);
    flex: 0 0 min(82vw, 365px);
    scroll-snap-align: start;
  }

  .project-media {
    height: 188px;
  }

  .project-body {
    height: auto;
    min-height: 224px;
    padding: 19px 18px 21px;
  }

  .project-body h3 {
    font-size: 25px;
  }

  .project-body > p:not(.project-type) {
    font-size: 14px;
  }

  .proof-rail {
    min-height: 0;
    margin-top: 5px;
  }

  .proof-rail > div {
    min-height: 122px;
    padding: 23px 13px;
  }

  .proof-rail > div::after {
    top: 18px !important;
    bottom: 18px !important;
  }

  .proof-rail strong {
    font-size: clamp(27px, 8.5vw, 38px);
  }

  .proof-rail span {
    margin-top: 8px;
    font-size: 8px;
  }

  .services-section {
    padding-top: 92px;
  }

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

  .service-item,
  .service-item:nth-child(odd) {
    min-height: 0;
    height: auto;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 26px 4px;
    border-right: 0;
  }

  .services-grid::before,
  .service-item::after {
    display: none;
  }

  .service-item:nth-child(n) > div,
  .service-item:nth-child(n) > svg {
    transform: none;
  }

  .service-item svg {
    width: 55px;
    height: 55px;
  }

  .service-item h3 {
    font-size: 20px;
  }

  .service-item p {
    font-size: 14px;
  }

  .final-cta {
    min-height: 560px;
    margin-top: 4px;
    margin-bottom: 80px;
  }

  .cta-copy {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
    padding: 38px 25px;
  }

  .final-cta p {
    margin: 19px 0 24px;
    font-size: 16px;
  }

  .final-cta .button {
    min-width: 190px;
  }

  .final-cta h2 {
    line-height: 1.06;
    transform: none;
  }

  .cta-reactor {
    right: 18%;
    bottom: 16%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 38px;
  }

  .site-footer > div:last-child {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .site-header .brand {
    font-size: 17px;
    transform: scaleX(1.05);
  }

  .hero-copy h1 {
    font-size: clamp(31px, 9.75vw, 38px);
  }

  .hero-line:nth-child(1) { transform: scaleX(1.03); }
  .hero-line:nth-child(2) { transform: scaleX(1.25); }
  .hero-line:nth-child(3) { transform: scaleX(0.98); }

  .projects-section .section-heading h2 {
    font-size: 38px;
  }

  .services-section .section-heading h2 {
    font-size: 36px;
  }

  .button {
    width: 100%;
  }

  .foundry-media {
    top: 400px;
  }
}

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

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

}
