:root {
  --ink: #080a0d;
  --ink-soft: #11151a;
  --graphite: #181d23;
  --paper: #f3f2ee;
  --paper-warm: #e9e8e3;
  --white: #f8f9fb;
  --muted: #9ca5af;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(8, 10, 13, 0.16);
  --blue: #176cff;
  --blue-hot: #4e9dff;
  --blue-deep: #0745bd;
  --success: #4adf9b;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-hot);
  outline-offset: 3px;
}

::selection {
  color: white;
  background: var(--blue);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 24px;
  right: 24px;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 9, 12, 0.38);
  color: var(--white);
  backdrop-filter: blur(14px);
  transition:
    top 0.25s ease,
    left 0.25s ease,
    right 0.25s ease,
    background 0.25s ease;
}

.site-header.is-scrolled {
  top: 0;
  left: 0;
  right: 0;
  background: rgba(7, 9, 12, 0.94);
  border-color: var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

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

.brand img {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 48px;
}

.service-detail.is-hidden {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 28px);
}

.desktop-nav :is(button, a),
.footer-grid button {
  position: relative;
  border: 0;
  padding: 10px 0;
  background: none;
  cursor: pointer;
}

.desktop-nav :is(button, a) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.desktop-nav :is(button, a)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.desktop-nav :is(button, a):hover {
  color: white;
}

.desktop-nav :is(button, a):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding-right: 12px;
}

.header-phone {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 0 26px;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 40px rgba(23, 108, 255, 0.2);
}

.button.primary:hover {
  border-color: var(--blue-hot);
  background: var(--blue-deep);
  box-shadow: 0 12px 46px rgba(23, 108, 255, 0.34);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  backdrop-filter: blur(6px);
}

.button.secondary:hover {
  border-color: var(--blue-hot);
  background: rgba(23, 108, 255, 0.12);
}

.header-cta {
  min-height: 54px;
  border-color: var(--blue);
  color: white;
  font-size: 13px;
}

.header-cta:hover {
  background: var(--blue);
}

.icon-arrow {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: transform 0.2s ease;
}

button:hover .icon-arrow,
a:hover .icon-arrow {
  transform: translateX(4px);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--line-dark);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 1px;
  background: white;
  transition: transform 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 126px 24px 30px;
  background: var(--ink);
  color: white;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.mobile-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mobile-menu-grid :is(button, a) {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 4px;
  background: none;
  color: white;
  text-align: left;
  cursor: pointer;
}

.mobile-menu-grid :is(button, a):nth-child(odd) {
  margin-right: 16px;
}

.mobile-menu-grid :is(button, a) span {
  color: var(--blue-hot);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mobile-menu-footer .button {
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero-media,
.hero-shade,
.technical-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  left: 34%;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.2), transparent 44%),
    var(--hero-image, url("./hero-blue-laser.84736d5ecb95.png")) 60% center / cover no-repeat;
  animation: heroReveal 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(8, 10, 13, 0.96) 25%, rgba(8, 10, 13, 0.34) 67%, rgba(8, 10, 13, 0.14) 100%),
    linear-gradient(0deg, rgba(8, 10, 13, 0.72) 0%, transparent 42%);
}

.technical-grid {
  z-index: 2;
  right: 24px;
  bottom: 20px;
  left: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 118px 118px;
  mask-image: linear-gradient(to right, black, rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(720px, 54vw);
  margin: 105px 0 80px clamp(42px, 5.2vw, 82px);
  animation: contentIn 0.75s 0.12s both;
}

.eyebrow,
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: var(--blue);
}

.hero h1 {
  max-width: 780px;
  margin: 28px 0 26px;
  font-size: clamp(58px, 6vw, 94px);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--blue-hot);
  font-style: normal;
}

.hero-lead {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
}

.hero-meta {
  position: absolute;
  z-index: 4;
  bottom: 72px;
  left: clamp(42px, 5.2vw, 82px);
  display: flex;
  gap: 36px;
}

.hero-meta :is(button, a) {
  position: relative;
  border: 0;
  padding: 0 0 0 17px;
  background: none;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.hero-meta :is(button, a)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-meta :is(button, a):hover {
  color: white;
}

.process-monitor {
  position: absolute;
  z-index: 5;
  right: 50px;
  bottom: 58px;
  width: 250px;
  border: 1px solid var(--line-dark);
  padding: 16px;
  background: rgba(6, 9, 13, 0.72);
  color: white;
  backdrop-filter: blur(12px);
}

.monitor-head,
.monitor-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.monitor-head {
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.monitor-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-hot);
  box-shadow: 0 0 12px var(--blue);
  animation: pulse 2s infinite;
}

.monitor-line {
  font-size: 11px;
}

.monitor-line b {
  color: var(--blue-hot);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
}

.signal {
  height: 34px;
  display: flex;
  align-items: end;
  gap: 4px;
  margin-top: 13px;
}

.signal i {
  width: 5px;
  min-height: 3px;
  background: linear-gradient(var(--blue-hot), var(--blue-deep));
  animation: signal 2.8s ease-in-out infinite alternate;
}

.signal i:nth-child(3n) {
  animation-delay: 0.35s;
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  right: 19px;
  bottom: 118px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  transform: rotate(90deg);
  transform-origin: right center;
}

.scroll-cue span {
  width: 52px;
  height: 1px;
  background: currentColor;
}

.value-strip {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  border-bottom: 1px solid var(--line-light);
  background: var(--paper);
}

.value-strip > * {
  min-height: 230px;
  border-right: 1px solid var(--line-light);
  padding: 38px;
}

.value-strip > *:last-child {
  border-right: 0;
}

.value-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.value-intro p {
  max-width: 380px;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.value-strip article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.value-dot {
  position: absolute;
  top: 39px;
  left: 39px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(23, 108, 255, 0.5);
}

.value-strip h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.value-strip article p {
  margin: 0;
  color: #58616a;
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 116px clamp(24px, 4vw, 68px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 62px;
}

.section-heading h2,
.company-copy h2,
.industries-title h2,
.contact-intro h2 {
  max-width: 900px;
  margin: 20px 0 0;
  font-size: clamp(42px, 5.1vw, 76px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 500px;
  margin: 0;
  color: #5e6770;
  font-size: 17px;
  line-height: 1.6;
}

.services-section {
  background: var(--paper);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--line-light);
}

.service-list {
  border-right: 1px solid var(--line-light);
}

.service-list button {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  padding: 0 26px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.service-list button:last-child {
  border-bottom: 0;
}

.service-list button span {
  color: #7a838b;
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
}

.service-list button b {
  font-size: 18px;
}

.service-list button.is-active {
  background: var(--ink);
  color: white;
}

.service-list button.is-active span,
.service-list button.is-active .icon-arrow {
  color: var(--blue-hot);
}

.service-detail {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}

.service-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  background:
    linear-gradient(rgba(8, 10, 13, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 10, 13, 0.06) 1px, transparent 1px),
    #e4e5e5;
  background-size: 48px 48px;
}

.service-visual::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(23, 108, 255, 0.38);
  border-radius: 50%;
  box-shadow:
    inset 0 0 70px rgba(23, 108, 255, 0.08),
    0 0 90px rgba(23, 108, 255, 0.09);
}

.orbital-mark {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 10, 13, 0.4);
  border-radius: 50%;
}

.orbital-mark::before,
.orbital-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(8, 10, 13, 0.2);
  border-radius: 50%;
}

.orbital-mark::before {
  width: 130px;
  height: 130px;
}

.orbital-mark::after {
  width: 80px;
  height: 80px;
}

.orbital-mark i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue);
}

.orbital-mark i:nth-child(2) {
  top: -4px;
}

.orbital-mark i:nth-child(3) {
  right: 5px;
  bottom: 31px;
}

.orbital-mark i:nth-child(4) {
  bottom: 15px;
  left: 16px;
}

.service-icon {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
}

.visual-code {
  position: absolute;
  right: 20px;
  bottom: 17px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 68px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.project-industry,
.status {
  border: 1px solid currentColor;
  padding: 6px 9px;
  color: var(--blue-deep);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-copy h3 {
  margin: 24px 0 18px;
  font-size: clamp(32px, 3vw, 48px);
  letter-spacing: -0.045em;
}

.service-copy > p {
  margin: 0;
  color: #5e6770;
  font-size: 16px;
  line-height: 1.7;
}

.service-copy blockquote {
  margin: 28px 0;
  border-left: 2px solid var(--blue);
  padding-left: 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  background: none;
  font-weight: 650;
  cursor: pointer;
}

.company-section,
.industries-section,
.news-section,
.contact-section {
  background: var(--ink);
  color: white;
}

.company-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.company-copy {
  position: sticky;
  top: 82px;
  height: 720px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(38px, 6vw, 100px);
  background:
    radial-gradient(circle at 70% 30%, rgba(23, 108, 255, 0.2), transparent 33%),
    linear-gradient(135deg, #0d1116, #050608);
}

.section-index.light {
  color: rgba(255, 255, 255, 0.48);
}

.company-copy p {
  max-width: 650px;
  margin: 30px 0 36px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 1.65;
}

.light-button {
  color: white;
}

.company-panel article {
  min-height: 180px;
  display: grid;
  grid-template-columns: 70px 0.85fr 1fr;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line-dark);
  padding: 38px 54px;
  transition: background 0.25s ease;
}

.company-panel article:hover {
  background: rgba(23, 108, 255, 0.08);
}

.company-panel article > span {
  color: var(--blue-hot);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
}

.company-panel h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.company-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.55;
}

.equipment-section {
  background: var(--paper-warm);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.equipment-card {
  min-width: 0;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 28px;
  background: rgba(255, 255, 255, 0.25);
}

.equipment-graphic {
  position: relative;
  height: 270px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
  background:
    linear-gradient(rgba(8, 10, 13, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 10, 13, 0.04) 1px, transparent 1px),
    #d7d9da;
  background-size: 30px 30px;
}

.equipment-graphic span {
  position: absolute;
  width: 52%;
  height: 58%;
  border: 2px solid #303b45;
  border-radius: 14% 14% 5% 5%;
  background: linear-gradient(145deg, #5f6b74, #242d34);
  box-shadow: 24px 26px 0 -14px rgba(8, 10, 13, 0.28);
  transform: perspective(400px) rotateX(8deg) rotateY(-18deg);
  transition: transform 0.5s ease;
}

.equipment-graphic i {
  position: absolute;
  width: 26%;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 18px var(--blue);
  transform: rotate(-18deg);
}

.graphic-2 span {
  width: 62%;
  height: 38%;
  border-radius: 45% 5% 5% 45%;
}

.graphic-3 span {
  width: 42%;
  height: 66%;
  border-radius: 30% 30% 7% 7%;
}

.graphic-4 span {
  width: 58%;
  height: 54%;
  border-radius: 4%;
}

.equipment-card:hover .equipment-graphic span {
  transform: perspective(400px) rotateX(4deg) rotateY(-8deg) scale(1.05);
}

.equipment-card-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px 0;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.status {
  padding: 5px 7px;
  color: #54616b;
  text-align: right;
}

.equipment-card h3 {
  min-height: 82px;
  margin: 16px 22px 8px;
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.equipment-card > p {
  min-height: 70px;
  margin: 0 22px 22px;
  color: #5d666e;
  font-size: 14px;
  line-height: 1.55;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid currentColor;
  margin: 0 22px;
  padding: 7px 0;
  background: none;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.industries-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-top: 1px solid var(--line-dark);
}

.industries-title {
  padding: 110px clamp(38px, 6vw, 90px);
}

.industries-title p {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 17px;
  line-height: 1.65;
}

.industry-list {
  border-left: 1px solid var(--line-dark);
}

.industry-list :is(button, a) {
  width: 100%;
  min-height: 94px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 0 42px;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
  transition: background 0.22s ease;
}

.industry-list :is(button, a):hover {
  background: var(--blue);
}

.industry-list span {
  color: var(--blue-hot);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.industry-list :is(button, a):hover span {
  color: white;
}

.industry-list b {
  font-size: 21px;
}

.projects-section {
  background: var(--paper);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.filter-row :is(button, a) {
  border: 1px solid var(--line-light);
  padding: 10px 13px;
  background: transparent;
  color: #636c74;
  font-size: 12px;
  cursor: pointer;
}

.filter-row :is(button, a).is-active,
.filter-row :is(button, a):hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.project-list {
  border-top: 1px solid var(--line-light);
}

.project-card {
  display: grid;
  grid-template-columns: 260px 1fr 80px;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.25s ease;
}

.project-card:hover {
  background: white;
}

.project-cover {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  background: #d8d9d7;
}

.project-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 10, 13, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 10, 13, 0.06) 1px, transparent 1px);
  background-size: 35px 35px;
}

.part-ring {
  width: 150px;
  height: 150px;
  border: 30px solid #353d43;
  border-radius: 50%;
  box-shadow:
    inset 8px 8px 12px rgba(255, 255, 255, 0.12),
    12px 18px 20px rgba(8, 10, 13, 0.25),
    0 0 0 2px var(--blue);
  transform: perspective(400px) rotateX(62deg) rotateZ(-16deg);
}

.project-cover > span {
  position: absolute;
  bottom: 16px;
  left: 18px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.project-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 55px;
}

.project-industry {
  width: fit-content;
}

.project-main h3 {
  max-width: 800px;
  margin: 20px 0 34px;
  font-size: clamp(26px, 3.1vw, 45px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.project-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.project-details span {
  color: #7a838b;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-details p {
  margin: 8px 0 0;
  color: #565f67;
  font-size: 13px;
  line-height: 1.5;
}

.project-action {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line-light);
  background: transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.project-action:hover {
  background: var(--blue);
  color: white;
}

.news-section {
  padding: 116px clamp(24px, 4vw, 68px);
}

.dark-heading {
  color: white;
}

.light-link {
  color: white;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  border: 1px solid var(--line-dark);
}

.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
  border-right: 1px solid var(--line-dark);
}

.news-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 45%, rgba(23, 108, 255, 0.32), transparent 12%),
    radial-gradient(circle at 55% 45%, transparent 0 20%, rgba(23, 108, 255, 0.18) 21%, transparent 35%),
    linear-gradient(145deg, #26313c, #080a0d 72%);
}

.news-visual::before,
.news-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.news-visual::before {
  width: 290px;
  height: 290px;
  top: 20%;
  left: 18%;
}

.news-visual::after {
  width: 170px;
  height: 170px;
  top: 31%;
  left: 30%;
}

.scan-line {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 1px;
  background: var(--blue-hot);
  box-shadow: 0 0 24px var(--blue);
}

.sample {
  position: absolute;
  z-index: 1;
  border: 8px solid #57616a;
  border-radius: 50%;
  box-shadow: 18px 20px 20px rgba(0, 0, 0, 0.36);
}

.sample-a {
  width: 210px;
  height: 210px;
  right: 6%;
  bottom: 11%;
  transform: rotateX(58deg);
}

.sample-b {
  width: 130px;
  height: 130px;
  top: 14%;
  left: 7%;
  transform: rotateX(68deg);
}

.news-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 42px;
}

.news-copy > span,
.news-stack article > span {
  color: var(--blue-hot);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-copy h3 {
  margin: 18px 0;
  font-size: 37px;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.news-copy p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
  line-height: 1.6;
}

.news-stack article {
  position: relative;
  min-height: 187px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 16px;
  border-bottom: 1px solid var(--line-dark);
  padding: 30px 34px;
}

.news-stack article:last-child {
  border-bottom: 0;
}

.news-stack h3 {
  max-width: 430px;
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.news-stack a {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
}

.news-stack article > i {
  position: absolute;
  right: 16px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--font-geist-mono), monospace;
  font-size: 58px;
  font-style: normal;
}

.documents-section {
  background: var(--paper);
}

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

.document-card {
  min-height: 210px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 22px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 30px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.document-card:hover {
  background: var(--ink);
  color: white;
}

.document-format {
  align-self: start;
  border: 1px solid currentColor;
  padding: 6px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
}

.document-card h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.document-card p {
  margin: 0;
  color: #6c757d;
  font-size: 12px;
}

.document-card:hover p {
  color: rgba(255, 255, 255, 0.55);
}

.download-icon {
  font-size: 24px;
}

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

.contact-intro {
  padding: 110px clamp(38px, 5vw, 82px);
}

.contact-intro h2 {
  font-size: clamp(48px, 5.3vw, 82px);
}

.contact-intro > p {
  max-width: 590px;
  margin: 30px 0 42px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 17px;
  line-height: 1.65;
}

.contact-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-data a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 18px;
}

.contact-data span {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.contact-form-wrap {
  border-left: 1px solid var(--line-dark);
  padding: 90px clamp(32px, 5vw, 70px);
  background: var(--ink-soft);
}

.project-form {
  color: white;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 18px;
}

.project-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-form label > span:first-child {
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-form .wide {
  grid-column: 1 / -1;
}

.project-form input,
.project-form textarea,
.project-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 11px 0 14px;
  background: transparent;
  color: white;
  outline: none;
}

.project-form input:focus,
.project-form textarea:focus,
.project-form select:focus {
  border-color: var(--blue-hot);
}

.project-form input::placeholder,
.project-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.project-form select option {
  background: var(--ink);
}

.project-form textarea {
  resize: vertical;
}

.file-control {
  min-height: 90px;
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
  gap: 18px !important;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  margin-top: 28px;
  padding: 17px;
  cursor: pointer;
}

.file-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-plus {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--blue);
  color: var(--blue-hot) !important;
  font-size: 24px !important;
}

.file-control b,
.file-control small {
  display: block;
}

.file-control b {
  font-size: 13px;
}

.file-control small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px !important;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.5;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.consent a {
  border-bottom: 1px solid currentColor;
}

.submit-button {
  width: 100%;
  margin-top: 24px;
}

.form-success {
  min-height: 430px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.success-mark {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  font-size: 25px;
}

.form-success h3 {
  max-width: 540px;
  margin: 16px 0;
  font-size: 35px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.form-success > p {
  color: rgba(255, 255, 255, 0.48);
}

.form-success .text-link {
  margin-top: 28px;
  color: white;
}

.site-footer {
  padding: 68px clamp(24px, 4vw, 68px) 28px;
  border-top: 1px solid var(--line-dark);
  background: #030405;
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 42px;
}

.footer-brand {
  padding: 0;
}

.footer-top p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  line-height: 1.55;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 0;
  background: none;
  color: white;
  cursor: pointer;
}

.back-top .icon-arrow {
  transform: rotate(-90deg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 55px 0;
}

.footer-grid > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-grid > div > span {
  margin-bottom: 18px;
  color: var(--blue-hot);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid button,
.footer-grid a,
.footer-grid p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.footer-grid button:hover,
.footer-grid a:hover {
  color: white;
}

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

.footer-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.5fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  visibility: hidden;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.74);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s;
}

.modal-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.project-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border: 1px solid var(--line-dark);
  padding: clamp(30px, 5vw, 62px);
  background: var(--ink-soft);
  color: white;
  transform: translateY(18px);
  transition: transform 0.25s ease;
}

.modal-backdrop.is-open .project-modal {
  transform: none;
}

.project-modal h2 {
  max-width: 650px;
  margin: 18px 0;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.project-modal > p {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.03);
    clip-path: inset(0 0 0 100%);
  }
  to {
    opacity: 1;
    transform: scale(1);
    clip-path: inset(0);
  }
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    box-shadow: 0 0 4px var(--blue);
  }
}

@keyframes signal {
  to {
    transform: scaleY(0.72);
    opacity: 0.6;
  }
}

@media (max-width: 1280px) {
  .desktop-nav {
    gap: 13px;
  }

  .desktop-nav :is(button, a) {
    font-size: 11px;
  }

  .header-phone {
    display: none;
  }

  .hero-content {
    width: min(690px, 62vw);
  }

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

  .equipment-card h3,
  .equipment-card > p {
    min-height: 0;
  }
}

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

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

  .header-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 850px;
  }

  .hero-media {
    left: 25%;
    opacity: 0.74;
  }

  .hero-content {
    width: min(710px, calc(100vw - 76px));
  }

  .hero-meta {
    gap: 22px;
  }

  .process-monitor {
    display: none;
  }

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

  .value-strip > *:nth-child(2) {
    border-right: 0;
  }

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

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

  .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .service-list button {
    border-right: 1px solid var(--line-light);
  }

  .service-detail {
    min-height: 480px;
  }

  .company-section,
  .industries-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .company-copy {
    position: relative;
    top: 0;
    height: auto;
    min-height: 620px;
  }

  .industries-title {
    padding-bottom: 80px;
  }

  .industry-list,
  .contact-form-wrap {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .project-card {
    grid-template-columns: 220px 1fr 68px;
  }

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

  .news-featured {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

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

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

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    top: 8px;
    right: 8px;
    left: 8px;
  }

  .brand {
    padding: 0 16px;
    font-size: 23px;
  }

  .header-actions {
    padding-right: 6px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .mobile-menu {
    padding: 94px 16px 22px;
  }

  .mobile-menu-grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu-grid :is(button, a):nth-child(odd) {
    margin-right: 0;
  }

  .mobile-menu-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-menu-footer .button {
    width: 100%;
    margin: 16px 0 0;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    min-height: 790px;
    align-items: flex-end;
  }

  .hero-media {
    inset: 0;
    background-position: 66% center;
    opacity: 0.6;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(8, 10, 13, 0.92) 42%, rgba(8, 10, 13, 0.34) 100%),
      linear-gradient(90deg, var(--ink), transparent);
  }

  .technical-grid {
    right: 8px;
    bottom: 8px;
    left: 8px;
    background-size: 68px 68px;
  }

  .hero-content {
    position: absolute;
    right: 24px;
    bottom: 150px;
    left: 24px;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  .hero h1 {
    margin-top: 20px;
    max-width: 100%;
    font-size: clamp(32px, 8.4vw, 52px);
    letter-spacing: -0.055em;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-meta {
    right: 24px;
    bottom: 50px;
    left: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-meta :is(button, a) {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .scroll-cue {
    display: none;
  }

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

  .value-strip > * {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
    padding: 26px;
  }

  .value-strip > *:last-child {
    border-bottom: 0;
  }

  .section,
  .news-section {
    padding: 82px 18px;
  }

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

  .section-heading h2,
  .company-copy h2,
  .industries-title h2,
  .contact-intro h2 {
    font-size: 43px;
  }

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

  .service-list button {
    min-height: 70px;
    border-right: 0;
  }

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

  .service-visual {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .company-copy,
  .industries-title,
  .contact-intro {
    min-height: auto;
    padding: 82px 24px;
  }

  .company-panel article {
    min-height: 170px;
    grid-template-columns: 38px 1fr;
    padding: 28px 24px;
  }

  .company-panel p {
    grid-column: 2;
  }

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

  .industry-list :is(button, a) {
    min-height: 82px;
    grid-template-columns: 36px 1fr auto;
    padding: 0 22px;
  }

  .project-card {
    grid-template-columns: 1fr 56px;
  }

  .project-cover {
    min-height: 240px;
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .project-main {
    padding: 30px 24px;
  }

  .project-details {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-visual {
    min-height: 340px;
  }

  .news-copy {
    padding: 28px 24px;
  }

  .document-card {
    min-height: 170px;
    padding: 24px;
  }

  .contact-form-wrap {
    padding: 66px 20px;
  }

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

  .project-form .wide {
    grid-column: auto;
  }

  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .back-top {
    justify-self: start;
  }

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

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

  .project-modal {
    padding: 50px 22px 28px;
  }
}

@media (max-width: 360px) {
  .hero-content {
    right: 18px;
    left: 18px;
    margin: 0;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-meta {
    right: 18px;
    left: 18px;
  }

  .section-heading h2,
  .company-copy h2,
  .industries-title h2,
  .contact-intro h2 {
    font-size: 38px;
  }

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

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

/* Django-rendered catalogue, detail pages and form states. */
.inner-page {
  min-height: 100vh;
  padding-top: 150px;
  background: var(--paper);
}

.inner-hero {
  padding: 90px clamp(24px, 6vw, 100px);
  background: var(--ink);
  color: white;
}

.inner-hero h1 {
  max-width: 1050px;
  margin: 24px 0;
  font-size: clamp(48px, 7vw, 108px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.inner-hero > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  line-height: 1.65;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 70px;
  padding: 90px clamp(24px, 6vw, 100px);
}

.prose {
  font-size: 17px;
  line-height: 1.75;
}

.prose h2 {
  margin: 60px 0 20px;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.prose p {
  white-space: pre-line;
}

.detail-sidebar {
  align-self: start;
  border: 1px solid var(--line-light);
  padding: 30px;
  background: white;
}

.detail-sidebar h2,
.detail-sidebar h3 {
  margin-top: 0;
}

.detail-sidebar dl {
  margin: 28px 0;
}

.detail-sidebar dt {
  margin-top: 16px;
  color: #737b83;
  font-size: 11px;
  text-transform: uppercase;
}

.detail-sidebar dd {
  margin: 6px 0 0;
}

.catalog-page {
  padding: 70px clamp(24px, 6vw, 100px) 110px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.catalog-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--paper);
  transition: background 0.2s ease, color 0.2s ease;
}

.catalog-card:hover {
  background: var(--ink);
  color: white;
}

.catalog-card .section-index {
  margin-bottom: 55px;
}

.catalog-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.catalog-card p {
  color: #68717a;
  line-height: 1.55;
}

.catalog-card:hover p {
  color: rgba(255, 255, 255, 0.58);
}

.catalog-card .text-link {
  margin-top: auto;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.partner-card {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 28px;
  text-align: center;
}

.partner-card img {
  max-width: 170px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(1);
}

.field-error,
.form-global-error {
  color: #ff8b8b;
  font-size: 12px;
}

.project-form [aria-invalid="true"] {
  border-color: #ff6f6f;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.empty-state {
  border: 1px solid var(--line-light);
  padding: 50px;
  color: #68717a;
  text-align: center;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(90px, 20vw, 260px);
  line-height: 0.8;
}

.error-page h2 {
  font-size: clamp(28px, 5vw, 58px);
}

@media (max-width: 1024px) {
  .catalog-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  .inner-page {
    padding-top: 80px;
  }

  .inner-hero {
    padding: 70px 20px;
  }

  .catalog-page,
  .content-grid {
    padding: 60px 18px;
  }

  .catalog-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }
}
