:root {
  --bg: #080808;
  --panel: #161616;
  --panel-2: #202020;
  --text: #fff;
  --muted: #c4c4c4;
  --soft: #ededed;
  --line: rgba(255, 255, 255, .14);
  --yellow: #ff9d00;
  --yellow-2: #ffc400;
  --shadow: 0 22px 70px rgba(0, 0, 0, .42);
  --shadow-border: 0 0 0 1px rgba(255, 255, 255, .09);
  --shadow-border-hover: 0 0 0 1px rgba(255, 255, 255, .16), 0 18px 58px rgba(255, 157, 0, .1);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --header-height: 76px;
  color-scheme: dark;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

svg,
video,
canvas,
iframe {
  max-width: 100%;
}

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

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

h1,
h2,
h3 {
  line-height: 1.04;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: normal;
}

a,
span,
strong,
small,
label,
button {
  overflow-wrap: break-word;
  word-break: normal;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 157, 0, .55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--yellow);
  color: #000;
  padding: 10px 14px;
  font-weight: 700;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  min-height: var(--header-height);
  padding: 10px clamp(16px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, .9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}

.brand img,
.site-footer img {
  width: 176px;
  height: auto;
}

.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
  color: var(--soft);
  font-size: 15px;
}

.desktop-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition-property: color;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.desktop-nav a:hover {
  color: var(--yellow);
}

.header-cta,
.button,
.contact-panel button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition-property: transform, background-color, border-color, color, box-shadow;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.header-cta,
.button-primary,
.contact-panel button {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  color: #090909;
  box-shadow: 0 0 34px rgba(255, 157, 0, .34);
}

.header-cta {
  padding: 0 22px;
  font-size: 14px;
}

.button {
  padding: 0 24px;
  text-align: center;
}

.header-cta:hover,
.button-primary:hover,
.contact-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 48px rgba(255, 157, 0, .28);
}

.header-cta:active,
.button:active,
.contact-panel button:active {
  transform: scale(.96);
}

.mobile-nav {
  display: none;
}

.mobile-nav:not([open]) nav {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(660px, 78vh, 740px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(76px, 10vh, 116px) clamp(18px, 7vw, 128px) 82px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  outline: 1px solid rgba(255, 255, 255, .1);
  outline-offset: -1px;
}

.hero::before,
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 157, 0, .22), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .58) 45%, rgba(0, 0, 0, .28));
}

.hero::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 157, 0, .16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .34) 45%, rgba(0, 0, 0, .1));
}

.hero-content {
  max-width: 720px;
  min-width: 0;
}

.kicker {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 span,
.hero h1 em {
  display: block;
  font-style: normal;
}

.hero h1 em {
  color: var(--yellow);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 132px;
  color: var(--soft);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.case-actions {
  margin-top: 26px;
}

.hero-note {
  position: absolute;
  right: clamp(18px, 7vw, 128px);
  bottom: clamp(24px, 5vw, 64px);
  max-width: 360px;
  color: var(--soft);
  font-weight: 800;
  text-align: right;
}

.client-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #030303;
}

.logo-marquee {
  width: 100%;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-marquee 36s linear infinite;
  will-change: transform;
}

.client-strip:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  min-width: clamp(150px, 18vw, 230px);
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 18px clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--line);
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.logo-item:hover {
  background: rgba(255, 157, 0, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.logo-item img {
  width: auto;
  max-width: min(162px, 72vw);
  max-height: 48px;
  filter: grayscale(1) brightness(1.85);
  opacity: .72;
  transition: filter .28s var(--ease), opacity .28s var(--ease), transform .28s var(--ease);
}

.logo-item img.logo-wide {
  max-width: min(196px, 76vw);
  max-height: 58px;
}

.logo-item img.logo-technonicol {
  max-width: min(220px, 78vw);
  max-height: 62px;
}

.logo-item img.logo-dark {
  filter: grayscale(1) invert(1) brightness(1.35) contrast(1.05);
}

.logo-item:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .logo-item:nth-child(n + 9) {
    display: none;
  }
}

.dark-section {
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 8vw, 112px) clamp(18px, 5vw, 74px);
  background: var(--bg);
}

.dark-section::before {
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 157, 0, .18), transparent 25%),
    radial-gradient(circle at 4% 92%, rgba(255, 157, 0, .1), transparent 22%);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 32px;
  align-items: center;
}

.turnkey-section {
  padding-top: 78px;
  padding-bottom: 44px;
}

.turnkey-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 28px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 157, 0, .18), transparent 26%),
    rgba(255, 255, 255, .07);
  box-shadow: var(--shadow);
}

.turnkey-card h2 {
  margin-bottom: 24px;
  font-size: clamp(31px, 3.6vw, 54px);
  font-weight: 900;
}

.turnkey-card h2 em,
.turnkey-card h3 {
  color: var(--yellow);
  font-style: normal;
}

.turnkey-card h3 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: 22px;
}

.turnkey-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--soft);
  font-weight: 700;
}

.turnkey-card strong {
  display: block;
  max-width: 100%;
  min-width: 0;
  transform: rotate(-6deg);
  border-radius: 10px;
  padding: 14px 22px;
  background: var(--yellow);
  color: #050505;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.15;
  box-shadow: 0 18px 42px rgba(255, 157, 0, .26);
}

.section-copy,
.section-heading,
.solution-grid,
.service-grid,
.service-list,
.industry-grid,
.about,
.projects-preview,
.site-footer,
.page-hero,
.project-list,
.case-layout {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.section-copy,
.section-heading,
.pitch-card,
.media-card,
.project-card,
.industry-card,
.service-list article,
.stats-grid article,
.project-list article,
.case-card,
.contact-panel,
.site-footer > * {
  min-width: 0;
}

.section-copy h2,
.section-heading h2,
.about h2,
.contact-panel h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 900;
}

.pitch-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  background: rgba(255, 255, 255, .06);
  box-shadow: var(--shadow);
}

.pitch-card p {
  color: var(--soft);
  font-size: 21px;
}

.pitch-card b {
  display: inline-block;
  transform: rotate(-4deg);
  border-radius: 10px;
  padding: 12px 18px;
  background: var(--yellow);
  color: #000;
  font-size: 22px;
  max-width: 100%;
}

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

.section-heading.split {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-section .section-heading {
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.service-section .kicker {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(44px, 6vw, 82px);
  line-height: .95;
  letter-spacing: 0;
  text-transform: none;
}

.service-section .section-heading h2 {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(22px, 2.35vw, 34px);
  line-height: 1.14;
  font-weight: 850;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yellow);
  font-weight: 900;
}

.text-link::after {
  content: "→";
  margin-left: 10px;
}

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

.media-card,
.project-card,
.industry-card,
.service-grid article,
.service-list article,
.stats-grid article,
.project-list article,
.case-card {
  border: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, .06);
  box-shadow: var(--shadow-border), 0 16px 52px rgba(0, 0, 0, .22);
}

.media-card {
  position: relative;
  overflow: hidden;
  height: clamp(260px, 24vw, 340px);
}

.project-card img,
.project-list img,
.case-hero img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, .1);
  outline-offset: -1px;
}

.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, .1);
  outline-offset: -1px;
  transition-property: transform, opacity, filter;
  transition-duration: .55s;
  transition-timing-function: var(--ease);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .74)),
    linear-gradient(90deg, rgba(0, 0, 0, .46), transparent 70%);
  transition-property: opacity;
  transition-duration: .3s;
  transition-timing-function: var(--ease);
}

.media-card h3,
.media-card p {
  position: relative;
  z-index: 1;
  padding-right: 22px;
  padding-left: 22px;
}

.media-card h3 {
  position: absolute;
  right: 0;
  bottom: 92px;
  left: 0;
  margin: 0;
  color: var(--text);
  font-size: 21px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
}

.media-card:hover img {
  transform: scale(1.055);
  opacity: .95;
  filter: saturate(1.08) contrast(1.04);
}

.media-card:hover::after {
  opacity: .9;
}

.media-card p {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}

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

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

.service-grid article {
  min-height: 230px;
  padding: 24px;
}

.service-list article {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) 56px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  transition-property: transform, background-color, box-shadow;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.service-list article:hover {
  transform: translateY(-3px);
  background: rgba(255, 157, 0, .06);
  box-shadow: var(--shadow-border-hover);
}

.service-grid span,
.service-list span,
.stats-grid strong,
.case-number {
  display: block;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.service-grid span,
.service-list span {
  margin-bottom: 38px;
  font-size: 18px;
  font-weight: 900;
}

.service-list span {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin-bottom: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: #fff;
  box-shadow: 0 0 30px rgba(255, 157, 0, .56);
  transition-property: transform, filter;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.service-list article:hover span {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.service-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.service-list h3 {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 850;
}

.service-list p {
  grid-column: 3;
  margin-bottom: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.56;
  font-weight: 600;
}

.service-grid p,
.service-list p,
.industry-card small,
.project-card p,
.about p,
.stats-grid span,
.contact-panel label,
.project-list p,
.case-card p,
.case-layout li {
  color: var(--muted);
}

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

.industry-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  transition-property: transform, background-color, box-shadow;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.industry-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 157, 0, .08);
  box-shadow: var(--shadow-border-hover);
}

.industry-card small {
  font-size: 15px;
}

.industry-card strong {
  font-size: 27px;
  line-height: 1.12;
}

.industry-card span {
  color: var(--yellow);
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.about h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.04;
}

.about-lead {
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(22px, 2.25vw, 32px);
  line-height: 1.18;
  font-weight: 900;
  text-wrap: balance;
}

.about-copy p:not(.kicker):not(.about-lead) {
  max-width: 640px;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.64;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow-border), 0 22px 70px rgba(0, 0, 0, .26);
}

.stats-grid article {
  min-height: 190px;
  border: 0;
  border-radius: 0;
  padding: 30px;
  background: #080808;
  box-shadow: none;
}

.stats-grid strong {
  margin-bottom: 16px;
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 1;
}

.project-grid {
  max-width: 1240px;
  margin: 0 auto;
}

.project-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.project-logo-card {
  position: relative;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  border-radius: 28px;
  padding: 30px 26px 24px;
  background: rgba(255, 255, 255, .07);
  box-shadow: var(--shadow-border), 0 16px 52px rgba(0, 0, 0, .22);
  transition-property: transform, background-color, box-shadow;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.project-logo-card::after {
  content: "↗";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 157, 0, .18);
  color: var(--yellow);
  font-size: 24px;
}

.project-logo-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 157, 0, .08);
  box-shadow: var(--shadow-border-hover);
}

.project-logo-card h3 {
  max-width: none;
  padding-right: 54px;
  margin-bottom: 50px;
  color: var(--yellow);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: normal;
}

.project-card {
  overflow: hidden;
  transition-property: transform, box-shadow;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-border-hover);
}

.project-card div {
  padding: 22px;
}

.project-card h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  min-height: 0;
  max-width: none;
  padding-block: clamp(70px, 8vw, 110px);
  padding-inline: max(clamp(18px, 5vw, 74px), calc((100vw - 1240px) / 2 + clamp(18px, 5vw, 74px)));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 157, 0, .22), transparent 28%),
    #050505;
}

.contact-info h2 {
  margin-bottom: 52px;
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 900;
}

.contact-info dl,
.contact-info dd {
  margin: 0;
}

.contact-info dl {
  display: grid;
  gap: 30px;
}

.contact-info div {
  position: relative;
  padding-left: 54px;
}

.contact-info div::before {
  content: "◦";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--yellow);
  font-size: 40px;
  line-height: 1;
}

.contact-info dt {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 900;
}

.contact-info dd {
  max-width: 460px;
  color: var(--soft);
  font-weight: 700;
}

.contact-panel {
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  background: #050505;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 32px;
}

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

.contact-panel label:first-child,
.contact-panel .wide-field,
.contact-panel button {
  grid-column: 1 / -1;
}

.contact-panel label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.contact-panel .consent-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
}

.contact-panel .consent-field input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 0;
  border-radius: 3px;
  padding: 0;
  accent-color: var(--yellow);
}

.contact-panel .consent-field a,
.legal-page a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  padding: 15px 16px;
  font: inherit;
  transition-property: border-color, background-color, box-shadow;
  transition-duration: .18s;
  transition-timing-function: var(--ease);
}

.contact-panel input:focus,
.contact-panel textarea:focus {
  border-color: rgba(255, 157, 0, .62);
  background: rgba(0, 0, 0, .34);
  box-shadow: 0 0 0 4px rgba(255, 157, 0, .12);
}

.contact-panel input:user-invalid,
.contact-panel textarea:user-invalid {
  border-color: rgba(255, 78, 78, .78);
  box-shadow: 0 0 0 4px rgba(255, 78, 78, .12);
}

.contact-panel textarea {
  resize: vertical;
}

.contact-panel button {
  justify-self: end;
  min-width: 170px;
  min-height: 54px;
  margin-top: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px 34px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 74px);
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav a,
.footer-contacts a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-contacts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--soft);
  font-size: 14px;
}

.footer-contacts a {
  color: var(--soft);
  transition: color .2s var(--ease);
}

.footer-contacts a:hover {
  color: var(--yellow);
}

.footer-contacts span {
  color: var(--muted);
}

.site-footer p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px clamp(18px, 5vw, 74px) 96px;
}

.legal-page section + section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 48px);
}

.legal-page h3 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 22px;
}

.legal-page p,
.legal-page li {
  color: var(--soft);
  text-wrap: pretty;
}

.legal-page li + li {
  margin-top: 8px;
}

.page-hero {
  padding: clamp(82px, 12vw, 150px) clamp(18px, 5vw, 74px) 54px;
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
}

.project-list {
  display: grid;
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 74px) 90px;
}

.project-list article {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.project-list img {
  height: 250px;
}

.project-list div {
  padding: 24px 0;
}

.project-list h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  min-width: 0;
}

.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 13px;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.project-list .text-link {
  justify-self: end;
}

.project-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
  margin-right: 28px;
  padding: 0;
}

.project-actions .button {
  min-width: 170px;
}

.project-gallery {
  grid-column: 1 / -1;
  margin: -8px 24px 24px;
  border-top: 1px solid var(--line);
}

.project-gallery summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--yellow);
  font-weight: 900;
  list-style: none;
  overflow-wrap: anywhere;
}

.project-gallery summary::-webkit-details-marker {
  display: none;
}

.project-gallery summary::after {
  content: "+";
  margin-left: auto;
  color: var(--text);
  font-size: 25px;
  line-height: 1;
}

.project-gallery[open] summary::after {
  content: "−";
}

.project-gallery-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) transparent;
  padding-bottom: 24px;
}

.project-photo {
  flex: 0 0 calc((100% - 24px) / 3);
  scroll-snap-align: start;
  min-width: 0;
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.project-list .gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 16px;
}

.gallery-count {
  margin-right: auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #151515;
  color: var(--yellow);
  font-size: 30px;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}

.gallery-arrow:active { transform: scale(.96); }
.gallery-arrow:disabled { opacity: .3; cursor: default; }
.gallery-arrow:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; z-index: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-count { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 20px; background: #151515; color: #fff; font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .project-photo { flex-basis: 85%; }
}

.project-list .project-gallery-grid img {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  transition: transform .24s var(--ease), filter .24s var(--ease);
}

.project-photo:hover img {
  transform: scale(1.035);
  filter: brightness(1.06);
}

.project-photo:active img {
  transform: scale(.96);
}

.project-photo:focus-visible {
  outline: 3px solid rgba(255, 157, 0, .55);
  outline-offset: 3px;
}

.image-lightbox {
  width: min(96vw, 1440px);
  max-width: none;
  max-height: 94vh;
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.image-lightbox::backdrop {
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(8px);
}

.image-lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  margin: 0 auto;
  border-radius: 20px;
  outline: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 0;
  background: #151515;
  color: var(--text);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}

.lightbox-close:hover {
  background: var(--yellow);
  color: #050505;
}

.lightbox-close:active {
  transform: scale(.96);
}

.case-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(90px, 14vw, 160px) clamp(18px, 7vw, 110px) 58px;
}

.case-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  opacity: .54;
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #000, rgba(0, 0, 0, .8), rgba(0, 0, 0, .38));
}

.case-hero div {
  width: min(100%, 900px);
  min-width: 0;
}

.case-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 5.4vw, 82px);
  text-transform: uppercase;
}

.case-hero p {
  max-width: 690px;
  color: var(--soft);
  font-size: 21px;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 28px;
  padding: 70px clamp(18px, 5vw, 74px) 92px;
}

.case-card {
  padding: 28px;
}

.case-card h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.case-card ul {
  margin: 0;
  padding-left: 20px;
}

.case-card li + li {
  margin-top: 10px;
}

@keyframes fade-lift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content .kicker,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-note {
    animation: fade-lift .72s var(--ease) both;
  }

  .hero h1 {
    animation-delay: .08s;
  }

  .hero-lead {
    animation-delay: .16s;
  }

  .hero-actions,
  .hero-note {
    animation-delay: .24s;
  }

  @supports (animation-timeline: view()) {
    .turnkey-card,
    .section-heading,
    .media-card,
    .service-list article,
    .industry-card,
    .about-copy,
    .stats-grid,
    .project-logo-card,
    .contact-info,
    .contact-panel,
    .project-list article,
    .case-card {
      animation: fade-lift .68s var(--ease) both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
  }
}

@media (max-width: 1180px) {
  .hero-note {
    position: static;
    max-width: 620px;
    margin-top: 32px;
    text-align: left;
  }

  .turnkey-card {
    grid-template-columns: 1fr;
  }

  .turnkey-card strong {
    justify-self: start;
    transform: none;
  }

  .service-list article {
    grid-template-columns: minmax(0, 1fr) 56px;
  }

  .service-list h3 {
    grid-column: 1;
  }

  .service-list span {
    grid-column: 2;
  }

  .service-list p {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
    justify-self: end;
  }

  .mobile-nav summary {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--text);
  }

  .mobile-nav summary span:nth-child(1) {
    transform: translateY(-8px);
  }

  .mobile-nav summary span:nth-child(3) {
    transform: translateY(8px);
  }

  .mobile-nav nav {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #101010;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .mobile-nav nav a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav nav a:focus-visible {
    outline-offset: -4px;
  }

  .solution-grid,
  .service-grid,
  .industry-grid,
  .project-grid,
  .project-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band,
  .turnkey-card,
  .about,
  .contact-section,
  .case-layout,
  .project-list article {
    grid-template-columns: 1fr;
  }

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

  .service-list h3,
  .service-list span,
  .service-list p {
    grid-column: auto;
  }

  .service-list span {
    grid-row: auto;
    justify-self: start;
  }

  .project-actions {
    justify-items: start;
    margin: 0 24px 24px;
  }

  .project-gallery {
    margin: -8px 24px 24px;
  }

}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .brand img,
  .site-footer img {
    width: 126px;
  }

  .mobile-nav nav {
    top: var(--header-height);
  }

  .hero {
    min-height: 0;
    padding-top: 92px;
    padding-bottom: 48px;
  }

  .hero-actions,
  .section-heading.split {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .solution-grid,
  .service-grid,
  .industry-grid,
  .project-grid,
  .project-logo-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .logo-item {
    min-width: 154px;
    min-height: 70px;
    padding: 14px 22px;
  }

  .logo-item img {
    max-width: 128px;
    max-height: 38px;
  }

  .logo-item img.logo-wide {
    max-width: 150px;
    max-height: 44px;
  }

  .logo-item img.logo-technonicol {
    max-width: 170px;
    max-height: 48px;
  }

  .hero-lead {
    margin-bottom: 30px;
  }

  .turnkey-card,
  .pitch-card {
    border-radius: 22px;
    padding: 20px;
  }

  .turnkey-card strong {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
  }

  .turnkey-card h3 {
    font-size: 19px;
  }

  .turnkey-card h2 {
    font-size: clamp(28px, 9vw, 34px);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .pitch-card b {
    transform: none;
    font-size: 18px;
  }

  .project-card img,
  .project-list img {
    height: 220px;
  }

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

  .project-list .project-gallery-grid img {
    height: 150px;
  }

  .media-card {
    height: 240px;
  }

  .industry-card {
    min-height: 0;
  }

  .contact-panel {
    padding: 34px 18px;
  }

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

  .contact-panel button {
    justify-self: stretch;
  }

  .case-hero {
    min-height: 0;
    padding-top: 110px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand img,
  .site-footer img {
    width: 112px;
  }

  .hero h1,
  .case-hero h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .section-heading h2,
  .project-logo-card h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .section-copy h2,
  .section-heading h2,
  .about h2,
  .contact-panel h2,
  .page-hero h1 {
    font-size: 30px;
  }

  .dark-section,
  .page-hero,
  .project-list,
  .case-layout {
    padding-right: 14px;
    padding-left: 14px;
  }

  .media-card h3,
  .project-card h3,
  .project-list h2,
  .case-card h2,
  .service-list h3 {
    font-size: 24px;
  }

  .case-card,
  .service-list article,
  .industry-card,
  .project-card div {
    padding: 20px;
  }
}

@media (min-width: 421px) and (max-width: 480px) {
  .hero h1 {
    font-size: clamp(36px, 9vw, 39px);
    overflow-wrap: anywhere;
  }

  .case-hero h1 {
    font-size: clamp(32px, 8.5vw, 37px);
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
