@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --color-text: #f7f5f0;
  --color-muted: rgba(247, 245, 240, 0.72);
  --color-accent: #faaf19;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #090909;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
}

body.is-loading main,
body.is-loading .site-footer {
  visibility: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.preloader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  background: #101114;
  color: var(--color-text);
  opacity: 1;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.preloader[hidden] {
  display: none;
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.preloader__content {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.preloader__logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  animation: preloader-pulse 1.4s ease-in-out infinite;
}

.preloader__brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.preloader__dots {
  display: flex;
  gap: 7px;
  margin-top: 6px;
}

.preloader__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: preloader-dot 900ms ease-in-out infinite alternate;
}

.preloader__dots span:nth-child(2) {
  animation-delay: 150ms;
}

.preloader__dots span:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes preloader-pulse {
  50% {
    transform: scale(1.08);
  }
}

@keyframes preloader-dot {
  to {
    opacity: 0.35;
    transform: translateY(-5px);
  }
}

.hero {
  position: relative;
  display: flex;
  height: 100vh;
  height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #090909;
  color: #20232a;
}

.hero__video,
.hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  object-fit: cover;
  object-position: center 55%;
}

.hero__shade {
  background: transparent;
}

.site-header,
.hero__content,
.hero__footer {
  width: min(100% - 112px, 1440px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.15));
}

.brand__name {
  color: #1e232b;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.hero__link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.hero__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(24px, 8vh, 88px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: #343942;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero__eyebrow span {
  width: 26px;
  height: 1px;
  background: var(--color-accent);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(58px, 7.5vw, 108px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.hero h1 span {
  display: block;
  color: var(--color-accent);
  transition:
    opacity 350ms ease,
    transform 350ms ease,
    filter 350ms ease;
}

.hero h1 .hero__headline-lead {
  color: inherit;
}

.hero__content.is-changing h1 .hero__headline-lead,
.hero__content.is-changing h1 span,
.hero__content.is-changing .hero__description {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(12px);
}

.hero__description {
  max-width: 470px;
  margin: 26px 0 0;
  color: #292d35;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 700;
  line-height: 1.8;
  transition:
    opacity 350ms ease,
    transform 350ms ease,
    filter 350ms ease;
}

.hero__indicators {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.hero__indicators span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(32, 35, 42, 0.3);
  transition:
    width 350ms ease,
    background-color 350ms ease;
}

.hero__indicators span.is-active {
  width: 26px;
  background: var(--color-accent);
}

.hero__link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 0 8px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 3px;
  background: transparent;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero__link:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #14110a;
}

.hero__link-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  grid-template-columns: repeat(2, 3px);
  justify-content: center;
  gap: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.13);
  transition: background-color 180ms ease;
}

.hero__link-icon::before,
.hero__link-icon::after {
  display: block;
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.hero__link[aria-pressed="true"] .hero__link-icon {
  grid-template-columns: 9px;
  gap: 0;
}

.hero__link[aria-pressed="true"] .hero__link-icon::before {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
  background: transparent;
}

.hero__link[aria-pressed="true"] .hero__link-icon::after {
  display: none;
}

.hero__link:hover .hero__link-icon {
  background: rgba(0, 0, 0, 0.1);
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding-bottom: 28px;
  color: #555b66;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__scroll span {
  display: inline-block;
  width: 1px;
  height: 25px;
  background: var(--color-accent);
}

.services {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #101114;
  color: var(--color-text);
}

.services__inner {
  position: relative;
  width: min(100% - 112px, 1440px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: clamp(64px, 10vh, 112px);
}

.section-nav {
  position: absolute;
  z-index: 20;
  top: 28px;
  right: max(56px, calc((100vw - 1440px) / 2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 28px;
}

.section-nav a {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: var(--color-accent);
}

.section-nav a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services__eyebrow {
  margin: 0 0 14px;
  color: #ff777d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services__header {
  max-width: 700px;
  margin-bottom: clamp(40px, 7vh, 76px);
}

.services__header h2 {
  margin: 0;
  color: var(--color-text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}

.service-card {
  --card-accent: #f3424b;

  position: relative;
  display: flex;
  min-width: 0;
  min-height: 350px;
  flex-direction: column;
  padding: 0 clamp(24px, 3vw, 48px);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
}

.service-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.service-card:nth-child(2) {
  --card-accent: #f5ad25;
}

.service-card:nth-child(3) {
  --card-accent: #a8b4c6;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.service-card__tag {
  color: var(--card-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0;
  color: var(--color-text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.service-card h2 {
  margin: 0;
  color: var(--color-text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.service-card p {
  min-height: 120px;
  margin: 16px 0 26px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.service-card li {
  color: rgba(247, 245, 240, 0.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.services__image {
  display: block;
  width: min(100%, 470px);
  height: auto;
  max-height: 100svh;
  margin: 12px auto 0;
  object-fit: contain;
  width:600px;
}

.about {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  background: #fff;
  color: #20232a;
}

.about__content {
  display: grid;
  width: min(100% - 112px, 1280px);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding-block: 64px;
}

.about__copy,
.about__emblem {
  min-width: 0;
}

.about__eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about__copy h2 {
  max-width: 700px;
  margin: 0 0 24px;
  color: #20232a;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.about__copy > p:not(.about__eyebrow),
.about__emblem p {
  color: #555b66;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
}

.about__copy > p:not(.about__eyebrow) {
  margin: 0 0 18px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.about__stat {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-top: 1px solid #e1e3e7;
  text-align: center;
}

.about__stat strong {
  color: #e99b0c;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.about__stat span {
  color: #555b66;
  font-size: 12px;
  font-weight: 600;
}

.about__emblem {
  text-align: center;
}

.about__emblem img {
  display: block;
  width: min(100%, 360px);
  max-height: 38vh;
  margin: 0 auto 24px;
  object-fit: contain;
  animation: emblem-rotate 24s linear infinite;
}

@keyframes emblem-rotate {
  to {
    transform: rotate(360deg);
  }
}

.about__emblem h3 {
  margin: 0;
  color: #20232a;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
}

.about__emblem p {
  margin: 12px 0 0;
}

.projects {
  position: relative;
  background: #101114;
  color: var(--color-text);
}

.projects__inner {
  width: min(100% - 112px, 1280px);
  margin-inline: auto;
  padding-block: clamp(72px, 10vh, 120px);
}

.projects__header {
  max-width: 700px;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.projects__eyebrow,
.project-card__category {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.projects__header h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}

.projects__header > p:last-child {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  --project-accent: #f5ad25;
  --project-glow: rgba(245, 173, 37, 0.13);

  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 0%, var(--project-glow), transparent 58%),
    linear-gradient(155deg, #1c1e23, #131417 76%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 350ms ease,
    box-shadow 350ms ease,
    background-color 350ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.project-card:nth-child(2) {
  --project-accent: #a7b8ff;
  --project-glow: rgba(112, 137, 255, 0.15);
}

.project-card:nth-child(3) {
  --project-accent: #8fe2ba;
  --project-glow: rgba(103, 210, 163, 0.13);
}

.project-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--project-accent), transparent);
  content: "";
  opacity: 0.6;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity 350ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover,
.project-card:focus-within {
  border-color: var(--project-accent);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.32),
    0 0 34px var(--project-glow);
}

.project-card.scroll-reveal.is-visible:hover,
.project-card.scroll-reveal.is-visible:focus-within {
  transform: translateY(-9px) scale(1.01);
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.project-card__preview {
  position: relative;
  display: block;
  overflow: hidden;
  background: #17181c;
}

.project-card__preview::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(10, 11, 13, 0.58));
  content: "";
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 350ms ease;
}

.project-card__preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card__preview img,
.project-card:focus-within .project-card__preview img {
  transform: scale(1.075);
}

.project-card:hover .project-card__preview::after,
.project-card:focus-within .project-card__preview::after {
  opacity: 0.9;
}

.project-card__preview:focus-visible,
.project-card__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -3px;
}

.project-card__visual {
  position: relative;
  display: grid;
  min-height: 260px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  background-color: #17181c;
  transition: background-color 350ms ease;
}

.project-card__visual::before,
.project-card__visual::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
  transition:
    border-color 400ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card__visual::before {
  width: 270px;
  aspect-ratio: 1;
}

.project-card__visual::after {
  width: 190px;
  aspect-ratio: 1;
}

.project-card__visual--platform {
  background: radial-gradient(ellipse at 50% 100%, #383126, #17181c 68%);
}

.project-card__visual--intelligence {
  background: radial-gradient(ellipse at 50% 100%, #272e3d, #17181c 68%);
}

.project-card__visual--cloud {
  background: radial-gradient(ellipse at 50% 100%, #293832, #17181c 68%);
}

.project-card__visual-label {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.62);
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
  transition:
    border-color 350ms ease,
    background-color 350ms ease,
    color 350ms ease,
    transform 350ms ease;
}

.project-art {
  display: flex;
  width: 62%;
  height: 54%;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: rotate(-6deg);
  transition:
    border-color 350ms ease,
    background-color 350ms ease,
    box-shadow 500ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-art span {
  display: block;
  flex: 1;
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: var(--color-accent);
  transition:
    background-color 350ms ease,
    box-shadow 350ms ease,
    opacity 350ms ease;
}

.project-card:hover .project-card__visual::before,
.project-card:focus-within .project-card__visual::before {
  border-color: color-mix(in srgb, var(--project-accent) 38%, transparent);
  transform: scale(1.12);
}

.project-card:hover .project-card__visual::after,
.project-card:focus-within .project-card__visual::after {
  border-color: color-mix(in srgb, var(--project-accent) 55%, transparent);
  transform: scale(1.16);
}

.project-card:hover .project-art,
.project-card:focus-within .project-art {
  border-color: color-mix(in srgb, var(--project-accent) 55%, transparent);
  background: color-mix(in srgb, var(--project-accent) 10%, rgba(255, 255, 255, 0.06));
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.38), 0 0 28px var(--project-glow);
  transform: rotate(0) translateY(-5px) scale(1.045);
}

.project-card:hover .project-art span,
.project-card:focus-within .project-art span {
  background: var(--project-accent);
  box-shadow: 0 0 18px var(--project-glow);
}

.project-art--platform span:nth-child(1) {
  height: 42%;
  opacity: 0.45;
}

.project-art--platform span:nth-child(2) {
  height: 76%;
  opacity: 0.72;
}

.project-art--platform span:nth-child(3) {
  height: 58%;
}

.project-art--intelligence {
  align-items: center;
  transform: rotate(5deg);
}

.project-art--intelligence span {
  aspect-ratio: 1;
  border-radius: 50%;
}

.project-art--intelligence span:nth-child(odd) {
  opacity: 0.45;
  transform: translateY(14px);
}

.project-art--cloud {
  height: 42%;
  align-items: center;
  border-radius: 999px;
  transform: rotate(-4deg);
}

.project-art--cloud span {
  height: 3px;
  border-radius: 999px;
  opacity: 0.8;
}

.project-card__details {
  position: relative;
  padding: 24px 24px 28px;
}

.project-card__category {
  margin-bottom: 10px;
  color: var(--project-accent);
  font-size: 10px;
  transition: letter-spacing 350ms ease;
}

.project-card__details h3 {
  margin: 0;
  color: var(--color-text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.04em;
  transition: color 350ms ease, transform 350ms ease;
}

.project-card:hover .project-card__details h3,
.project-card:focus-within .project-card__details h3 {
  color: var(--project-accent);
  transform: translateX(3px);
}

.project-card:hover .project-card__category,
.project-card:focus-within .project-card__category {
  letter-spacing: 0.19em;
}

.project-card__details > p:last-child {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--project-accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 250ms ease, gap 250ms ease;
}

.project-card__link:hover,
.project-card__link:focus-visible {
  color: var(--color-accent);
  gap: 12px;
}

.project-card__link span {
  transition: transform 250ms ease;
}

.project-card__link:hover span,
.project-card__link:focus-visible span {
  transform: translate(2px, -2px);
}

.contact {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #20232a;
}

.contact__inner {
  display: grid;
  width: min(100% - 112px, 1280px);
  min-height: 440px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
  margin-inline: auto;
  padding-top: 56px;
}

.contact__content {
  padding-block: 48px;
}

.contact__eyebrow {
  margin: 0 0 16px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__content h2 {
  max-width: 650px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.contact__content > p:not(.contact__eyebrow) {
  max-width: 460px;
  margin: 20px 0 0;
  color: #555b66;
  font-size: 16px;
  line-height: 1.8;
}

.contact__details {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(32, 35, 42, 0.12);
  background: rgba(245, 196, 94, 0.08);
}

.contact__name,
.contact__meta-note {
  margin: 0;
  color: #20232a;
  font-size: 15px;
  font-weight: 600;
}

.contact__meta-link {
  color: #20232a;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.contact__meta-link:hover {
  color: #d89000;
}

.contact__meta-note {
  color: #555b66;
  font-weight: 500;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 30px;
}

.contact__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  background: var(--color-accent);
  color: #14110a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.contact__button:hover {
  background: #ffc247;
}

.contact__link {
  color: #20232a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.contact__link span {
  margin-left: 5px;
  color: var(--color-accent);
}

.contact__button:focus-visible,
.contact__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.contact__image-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.contact__message-form {
  display: grid;
  gap: 12px;
}

.contact__message-label {
  color: #20232a;
  font-size: 13px;
  font-weight: 600;
}

.contact__message-input {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid #d5d8de;
  border-radius: 2px;
  background: #fff;
  color: #20232a;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact__message-input::placeholder {
  color: #737985;
}

.contact__message-input:focus-visible {
  border-color: #d89000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 175, 25, 0.2);
}

.contact__send-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  background: var(--color-accent);
  color: #14110a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.contact__send-button:hover {
  background: #ffc247;
}

.contact__send-button:focus-visible {
  outline: 2px solid #20232a;
  outline-offset: 3px;
}

.contact__send-button span {
  font-size: 18px;
}

.contact__image {
  display: block;
  width: min(100%, 520px);
  max-height: 340px;
  align-self: center;
  object-fit: contain;
  object-position: center bottom;
}

.site-footer {
  background: #101114;
  color: var(--color-text);
}

.site-footer__inner {
  display: flex;
  width: min(100% - 112px, 1280px);
  min-height: 100px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-inline: auto;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.site-footer__brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.site-footer__nav a {
  color: var(--color-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--color-accent);
}

.site-footer__brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.site-footer__copyright {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

@media (max-width: 700px) {
  .section-nav {
    display: none;
  }

  .hero__video {
    object-position: right 55%;
    opacity: 0.24;
  }

  .hero {
    background: #fff;
  }

  .site-header,
  .hero__content,
  .hero__footer {
    width: calc(100% - 40px);
  }

  .site-header {
    padding-top: 20px;
  }

  .brand__logo {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 12px;
  }

  .hero__content {
    justify-content: flex-start;
    padding-block: clamp(16px, 3svh, 28px);
  }

  .hero__eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 12vw, 68px);
  }

  .hero__description {
    max-width: 360px;
    margin-top: 20px;
    font-size: 14px;
  }

  .hero__footer {
    padding-bottom: 20px;
    font-size: 10px;
  }

  .services__inner {
    width: calc(100% - 40px);
    min-height: auto;
    padding-block: 64px;
  }

  .services__header {
    margin-bottom: 36px;
  }

  .services__header h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-card {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .service-card__top {
    margin-bottom: 16px;
  }

  .service-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .service-card p {
    min-height: 0;
    margin-bottom: 20px;
  }

  .services__image {
    max-height: none;
    margin-top: 18px;
  }

  .about__content {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 28px;
  }

  .about__copy h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .about__stats {
    gap: 8px;
    margin-top: 24px;
  }

  .about__stat {
    min-height: 88px;
    padding: 10px 6px;
  }

  .about__stat span {
    font-size: 10px;
  }

  .about__emblem img {
    width: min(100%, 220px);
    max-height: 24vh;
    margin-bottom: 12px;
  }

  .projects__inner {
    width: calc(100% - 40px);
    padding-block: 64px;
  }

  .projects__header h2 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-card__visual {
    min-height: 220px;
  }

  .project-card__details {
    padding: 22px 20px 24px;
  }

  .contact__inner {
    width: calc(100% - 40px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 28px;
  }

  .contact__content {
    padding-block: 40px 24px;
  }

  .contact__content h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .contact__image-wrap {
    min-height: 0;
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .contact__image {
    width: min(100%, 480px);
    max-height: 300px;
  }

  .site-footer__inner {
    width: calc(100% - 40px);
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-block: 24px;
  }

  .site-footer__nav {
    justify-content: flex-start;
    gap: 12px 20px;
  }
}

@media (max-width: 420px) {
  .hero__footer > span:first-child {
    max-width: 145px;
    line-height: 1.5;
  }

  .hero__scroll {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none !important;
    will-change: auto;
  }
}
