/* Center of Geocryology MSU — concept website */
:root {
  --ink: #071017;
  --ink-2: #0c1820;
  --ink-3: #13242f;
  --paper: #f3f1eb;
  --paper-2: #e9ecea;
  --white: #ffffff;
  --muted: #a8b3ba;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(7, 16, 23, 0.14);
  --blue: #2f69dc;
  --blue-bright: #4c86f4;
  --cyan: #79d4e4;
  --warm: #bda77a;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  --container: min(1400px, calc(100vw - 80px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body.is-dialog-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 23, .91);
  border-color: var(--line-dark);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  white-space: nowrap;
  transition: color .25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

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

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, .44);
  transition: background .25s ease, border-color .25s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--white);
  transition: transform .25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 0 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 38%, rgba(47, 105, 220, .2), transparent 31%),
    linear-gradient(135deg, #071017 0%, #0b151d 66%, #0d1c26 100%);
}

.hero-contours {
  position: absolute;
  top: 4%;
  right: -12%;
  width: min(840px, 58vw);
  aspect-ratio: 1;
  background: url("assets/contours.svg") center / contain no-repeat;
  opacity: .55;
  animation: contourFloat 16s ease-in-out infinite alternate;
}

@keyframes contourFloat {
  from { transform: rotate(-6deg) scale(1); }
  to { transform: rotate(4deg) scale(1.06); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  min-height: 620px;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(56px, 6.2vw, 104px);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: .92;
}

.hero h1 em {
  display: inline-block;
  color: var(--cyan);
  font-style: normal;
  font-weight: 420;
}

.hero-lead {
  max-width: 700px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

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

.button--primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #3979ec;
  border-color: #3979ec;
}

.button--ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, .38);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--white);
}

.brand-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 52px;
  color: rgba(255, 255, 255, .44);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.brand-line span + span::before {
  content: "·";
  margin-right: 24px;
  color: var(--blue-bright);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-machine {
  position: absolute;
  inset: 0;
}

.machine-core {
  position: absolute;
  top: 50%;
  left: 54%;
  width: min(500px, 36vw);
  aspect-ratio: .82;
  transform: translate(-50%, -50%);
}

.machine-core::before,
.machine-core::after {
  content: "";
  position: absolute;
  inset: 2% 17% 10%;
  border: 1px solid rgba(255, 255, 255, .28);
}

.machine-core::after {
  inset: 10% 24% 20%;
  border-color: rgba(121, 212, 228, .26);
}

.machine-ring {
  position: absolute;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  transform: translateX(-50%);
}

.machine-ring--a {
  top: 18%;
  width: 62%;
  height: 14%;
}

.machine-ring--b {
  bottom: 16%;
  width: 66%;
  height: 15%;
}

.machine-axis {
  position: absolute;
  top: 0;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blue-bright) 18%, var(--blue-bright) 82%, transparent);
}

.machine-sample {
  position: absolute;
  top: 30%;
  bottom: 28%;
  left: 35%;
  right: 35%;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 32px;
  background:
    repeating-linear-gradient(0deg, rgba(121,212,228,.12) 0 12px, transparent 12px 24px),
    rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 42px rgba(47, 105, 220, .2);
}

.machine-sample::before,
.machine-sample::after {
  content: "";
  position: absolute;
  left: -36%;
  right: -36%;
  height: 1px;
  background: rgba(255, 255, 255, .26);
}

.machine-sample::before { top: 28%; }
.machine-sample::after { bottom: 28%; }

.machine-base {
  position: absolute;
  right: 7%;
  bottom: 4%;
  left: 7%;
  height: 8%;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
}

.machine-label {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 36px auto;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.machine-label span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(121, 212, 228, .32);
  border-radius: 50%;
}

.machine-label--one { top: 15%; left: 0; }
.machine-label--two { top: 49%; right: -2%; }
.machine-label--three { bottom: 12%; left: 6%; }

.machine-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, .22);
}

.machine-label--one::after,
.machine-label--three::after { left: calc(100% + 12px); }

.machine-label--two::after { right: calc(100% + 12px); }

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}

.stat {
  min-height: 128px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -.05em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  line-height: 1.4;
}

/* Shared sections */
.section {
  position: relative;
  padding: clamp(96px, 10vw, 160px) 0;
}

.section--dark {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  max-width: 940px;
  margin-bottom: 62px;
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
}

.section-heading h2,
.special-copy h2,
.cold-copy h2,
.geography-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.7vw, 74px);
  font-weight: 510;
  letter-spacing: -.052em;
  line-height: 1.02;
}

.section-heading > p,
.section-heading--split > p,
.special-copy > p,
.cold-copy > p,
.geography-copy > p,
.contact-copy > p {
  margin: 0;
  color: #5f6b72;
  font-size: 16px;
  line-height: 1.65;
}

.section--dark .section-heading > p,
.section--dark .section-heading--split > p,
.geography-copy > p,
.contact-copy > p {
  color: rgba(255, 255, 255, .58);
}

/* Throughput */
.throughput {
  background: var(--paper);
}

.throughput-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.throughput-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(.62) contrast(1.08) brightness(.72);
  transform: scale(1.012);
  transition: transform 1.2s var(--ease);
}

.throughput-stage:hover > img {
  transform: scale(1.035);
}

.throughput-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 23, .96) 0%, rgba(7, 16, 23, .78) 30%, rgba(7, 16, 23, .1) 70%),
    linear-gradient(0deg, rgba(7, 16, 23, .78), transparent 50%);
}

.throughput-caption {
  position: absolute;
  z-index: 2;
  top: 54px;
  left: 54px;
  width: min(460px, 42%);
}

.throughput-caption p {
  margin: 0 0 20px;
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.throughput-caption strong {
  font-size: clamp(38px, 4.8vw, 66px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
}

.throughput-points {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px);
  background: rgba(7, 16, 23, .42);
}

.throughput-points span {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.throughput-points span + span {
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.throughput-points b {
  color: var(--blue-bright);
  font-size: 10px;
}

/* Equipment */
.equipment {
  background:
    radial-gradient(circle at 100% 0, rgba(47, 105, 220, .14), transparent 32%),
    var(--ink);
}

/*
.equipment-intro {
  max-width: 650px;
}
*/  

.equipment-intro p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .58);
  font-size: 15px;
  line-height: 1.55;
}

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

.filter-button {
  min-height: 38px;
  padding: 0 16px;
  color: rgba(255, 255, 255, .58);
  background: transparent;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  font-size: 10px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.equipment-card {
  position: relative;
  grid-column: span 4;
  min-height: 510px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--ink-2);
  border: 0;
  cursor: pointer;
  transition: background .3s ease;
}

.equipment-card:nth-child(1),
.equipment-card:nth-child(4) {
  grid-column: span 8;
}

.equipment-card:nth-child(8),
.equipment-card:nth-child(9) {
  grid-column: span 6;
}

.equipment-card.is-hidden {
  display: none;
}

.equipment-card:hover,
.equipment-card:focus-visible {
  z-index: 2;
  background: #10212b;
  outline: 1px solid var(--blue);
  outline-offset: -1px;
}

.equipment-card-visual {
  position: relative;
  height: 305px;
  overflow: hidden;
  background: #edf0ee;
}

.equipment-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(7,16,23,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,16,23,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(transparent, #000 30%, #000);
}

.equipment-card-image {
  width: 100%;
  height: 100%;
  padding: 24px 32px 12px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 18px rgba(7, 16, 23, .18));
  transform: scale(.96);
  transition: transform .7s var(--ease);
}

.equipment-card[data-photo="scene"] .equipment-card-image {
  padding: 0;
  object-fit: cover;
  mix-blend-mode: normal;
  filter: saturate(.72) contrast(1.08);
}

.equipment-card:hover .equipment-card-image,
.equipment-card:focus-visible .equipment-card-image {
  transform: scale(1.025);
}

.equipment-card-badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.equipment-card-copy {
  position: relative;
  min-height: 205px;
  padding: 26px 28px 30px;
}

.equipment-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--blue-bright);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.equipment-card-copy h3 {
  max-width: 560px;
  margin: 18px 0 10px;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 510;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.equipment-card-copy p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  line-height: 1.5;
}

.equipment-card-arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.equipment-card:hover .equipment-card-arrow {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(45deg);
}

/* Special */
.special {
  background: var(--paper);
}

.special-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: clamp(60px, 9vw, 150px);
}

.special-copy {
  position: sticky;
  top: 132px;
  align-self: start;
}

.special-copy > p {
  max-width: 600px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
  padding-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--blue);
}

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

.special-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line-light);
  transition: padding-left .3s var(--ease);
}

.special-list article:hover {
  padding-left: 12px;
}

.special-list article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.special-list strong {
  font-size: clamp(24px, 2.6vw, 39px);
  font-weight: 510;
  letter-spacing: -.04em;
}

.special-list p {
  max-width: 660px;
  margin: 12px 0 0;
  color: #69747a;
  font-size: 14px;
  line-height: 1.55;
}

/* Frozen soil / thermal */
.cold {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 34%, rgba(121, 212, 228, .13), transparent 34%),
    #0d2330;
}

.cold-contours {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 780px;
  aspect-ratio: 1;
  background: url("assets/contours.svg") center / contain no-repeat;
  opacity: .7;
}

.cold-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .8fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}

.cold-copy > p {
  max-width: 680px;
  margin-top: 32px;
  color: rgba(255, 255, 255, .62);
}

.cold-metrics {
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.cold-metrics article {
  padding: 25px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.cold-metrics strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 470;
  letter-spacing: -.04em;
}

.cold-metrics span {
  display: block;
  max-width: 420px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  line-height: 1.5;
}

/* Directions */
.directions {
  background: #eeece5;
}

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

.direction-card {
  min-height: 470px;
  padding: 30px 30px 36px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: color .3s ease, background .3s ease, transform .3s var(--ease);
}

.direction-card:hover {
  color: var(--white);
  background: var(--ink-2);
  transform: translateY(-8px);
}

.direction-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.direction-card h3 {
  max-width: 370px;
  margin: 54px 0 22px;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 510;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.direction-card > p {
  min-height: 86px;
  margin: 0;
  color: #68747a;
  font-size: 14px;
  line-height: 1.55;
  transition: color .3s ease;
}

.direction-card:hover > p {
  color: rgba(255, 255, 255, .58);
}

.direction-card ul {
  display: grid;
  gap: 11px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.direction-card li {
  position: relative;
  padding-left: 18px;
  color: #34434c;
  font-size: 11px;
  transition: color .3s ease;
}

.direction-card li::before {
  content: "";
  position: absolute;
  top: .48em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--blue);
}

.direction-card:hover li {
  color: rgba(255, 255, 255, .78);
}

/* Geography */
.geography {
  background:
    linear-gradient(90deg, rgba(47,105,220,.08), transparent 45%),
    var(--ink);
}

.geography::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

.geography-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, .8fr);
  gap: clamp(80px, 12vw, 180px);
}

.geography-copy > p {
  max-width: 620px;
  margin-top: 30px;
}

.city-list {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  row-rule: 1px solid var(--line-dark);
}

.city-list span,
.city-list strong {
  padding: 18px 0;
  /*border-bottom: 1px solid var(--line-dark);*/
}

.city-list span {
  color: var(--blue-bright);
  font-size: 9px;
  letter-spacing: .08em;
}

.city-list strong {
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 460;
  letter-spacing: -.035em;
}

/* Accreditation */
.accreditation {
  background: var(--paper);
}

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

.accreditation-main {
  grid-column: span 3;
  min-height: 260px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  align-items: center;
  padding: 38px 46px;
  background: #e7e8e3;
}

.seal {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  align-content: center;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
  outline: 1px dashed rgba(47, 105, 220, .46);
  outline-offset: -12px;
}

.seal span {
  font-size: 12px;
  letter-spacing: .18em;
}

.seal strong {
  margin-top: 6px;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -.05em;
}

.document-type {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.accreditation-main h3 {
  margin: 16px 0 12px;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -.055em;
}

.accreditation-main p {
  margin: 0;
  color: #69747a;
  font-size: 14px;
}

.accreditation-main a {
  display: inline-flex;
  gap: 24px;
  margin-top: 26px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.document-card {
  position: relative;
  min-height: 260px;
  padding: 30px 30px 42px;
  background: var(--paper);
  transition: color .3s ease, background .3s ease;
}

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

.document-card > span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.document-card strong {
  display: block;
  max-width: 310px;
  margin-top: 55px;
  font-size: 22px;
  font-weight: 520;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.document-card small {
  display: block;
  margin-top: 12px;
  color: #6b767c;
  font-size: 11px;
}

.document-card:hover small {
  color: rgba(255, 255, 255, .55);
}

.document-card b {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-weight: 400;
}

.document-card:hover b {
  border-color: var(--blue);
  background: var(--blue);
}

/* Contact */
.contact {
  min-height: 680px;
  background:
    radial-gradient(circle at 15% 20%, rgba(47, 105, 220, .18), transparent 32%),
    var(--ink);
}

.contact-contours {
  position: absolute;
  bottom: -36%;
  left: -12%;
  width: 720px;
  aspect-ratio: 1;
  background: url("assets/contours.svg") center / contain no-repeat;
  opacity: .48;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(500px, .85fr);
  gap: clamp(80px, 12vw, 180px);
}

.contact-copy > p {
  max-width: 620px;
  margin-top: 30px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.contact-form label {
  display: block;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  outline: 0;
  transition: border-color .2s ease, background .2s ease;
}

.contact-form input {
  height: 54px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 136px;
  padding: 16px;
  resize: vertical;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, .055);
  border-color: var(--blue-bright);
}

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

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .35);
  font-size: 9px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  color: var(--ink);
  background: #e6e3dc;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 60px;
  padding: 56px 0 44px;
}

.brand--footer .brand-copy small {
  color: #6f797e;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 14px 32px;
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-contact {
  justify-self: end;
  display: grid;
  gap: 10px;
  text-align: right;
}

.footer-contact a:first-child {
  font-size: 18px;
  font-weight: 600;
}

.footer-contact a:last-child {
  color: #657177;
  font-size: 11px;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #6a747a;
  border-top: 1px solid var(--line-light);
  font-size: 9px;
  letter-spacing: .04em;
}

/* Equipment dialog */
.equipment-dialog {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100svh - 48px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.equipment-dialog::backdrop {
  background: rgba(3, 8, 12, .82);
  backdrop-filter: blur(10px);
}

.dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(470px, 1.1fr);
  min-height: 690px;
  max-height: calc(100svh - 48px);
  overflow: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(7, 16, 23, .82);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}

.dialog-close:hover {
  background: var(--blue);
  transform: rotate(90deg);
}

.dialog-image-stage {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef0ed;
}

.dialog-image-grid {
  position: absolute;
  inset: 0;
  opacity: .65;
  background-image:
    linear-gradient(rgba(7,16,23,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,16,23,.065) 1px, transparent 1px);
  background-size: 42px 42px;
}

.dialog-image-stage::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 12%;
  left: 10%;
  height: 30px;
  border-radius: 50%;
  background: rgba(7, 16, 23, .14);
  filter: blur(18px);
}

#dialog-image {
  position: relative;
  z-index: 2;
  width: 88%;
  height: 78%;
  padding: 24px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 22px rgba(7, 16, 23, .18));
}

#dialog-image.is-scene {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  mix-blend-mode: normal;
  filter: saturate(.75) contrast(1.05);
}

.dialog-image-credit {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: rgba(7, 16, 23, .5);
  font-size: 8px;
  line-height: 1.4;
}

.dialog-content {
  min-height: 690px;
  padding: 70px 60px 112px;
}

.dialog-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dialog-topline span:last-child {
  color: #68747a;
  text-align: right;
}

.dialog-content h2 {
  margin: 30px 0 14px;
  font-size: clamp(38px, 4vw, 61px);
  font-weight: 510;
  letter-spacing: -.052em;
  line-height: .98;
}

.dialog-subtitle {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.dialog-description {
  margin: 27px 0 0;
  color: #5f6b72;
  font-size: 15px;
  line-height: 1.65;
}

.dialog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}

.dialog-tags span {
  padding: 8px 10px;
  color: #506068;
  background: #e3e6e3;
  font-size: 9px;
  letter-spacing: .04em;
}

.dialog-facts {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.dialog-facts li {
  position: relative;
  padding: 15px 0 15px 22px;
  color: #384850;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
  line-height: 1.45;
}

.dialog-facts li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--blue);
}

.dialog-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.source-link {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.dialog-nav {
  position: absolute;
  right: 30px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dialog-nav button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  cursor: pointer;
}

.dialog-nav button:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.dialog-nav span {
  min-width: 54px;
  color: #69747a;
  font-size: 9px;
  text-align: center;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--delay, 0) * 90ms);
}

.reveal[data-delay="1"] { --delay: 1; }
.reveal[data-delay="2"] { --delay: 2; }
.reveal[data-delay="3"] { --delay: 3; }

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

/* Focus */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1180px) {
  :root {
    --container: min(100% - 48px, 1120px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    position: fixed;
    inset: 86px 0 auto;
    display: none;
    padding: 22px 24px 26px;
    background: rgba(7, 16, 23, .98);
    border-bottom: 1px solid var(--line-dark);
  }

  .main-nav.is-open {
    display: grid;
    gap: 0;
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 14px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    justify-self: auto;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1.15fr .85fr;
  }

  .hero-visual {
    min-height: 510px;
  }

  .machine-label--two {
    right: 0;
  }

  .equipment-card,
  .equipment-card:nth-child(1),
  .equipment-card:nth-child(4),
  .equipment-card:nth-child(8),
  .equipment-card:nth-child(9) {
    grid-column: span 6;
  }

  .special-grid,
  .contact-grid {
    gap: 72px;
  }

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

  .direction-card:last-child {
    grid-column: span 2;
  }

  .dialog-content {
    padding: 64px 42px 110px;
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(100% - 34px, 860px);
  }

  .header-inner {
    min-height: 76px;
  }

  .main-nav {
    top: 76px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-top: 26px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .machine-core {
    width: min(520px, 72vw);
  }

  .hero-stats {
    margin-top: 18px;
  }

  .section-heading--split,
  .cold-inner,
  .geography-grid,
  .special-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    gap: 28px;
  }

  .section-heading--split > p {
    max-width: 680px;
  }

  .throughput-stage {
    min-height: 570px;
  }

  .throughput-caption {
    width: 70%;
  }

  .special-copy {
    position: static;
  }

  .special-list {
    margin-top: 10px;
  }

  .cold-metrics {
    margin-top: 10px;
  }

  .geography-grid {
    gap: 60px;
  }

  .accreditation-main {
    grid-template-columns: 150px 1fr;
  }

  .seal {
    width: 130px;
    height: 130px;
  }

  .dialog-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dialog-image-stage {
    min-height: 430px;
  }

  .dialog-content {
    min-height: 0;
    padding: 54px 42px 110px;
  }

  .dialog-close {
    position: fixed;
    top: max(24px, env(safe-area-inset-top));
    right: max(24px, env(safe-area-inset-right));
  }

  .dialog-nav {
    right: 26px;
    bottom: 20px;
  }

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

  .footer-contact {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 28px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    padding-top: 98px;
  }

  .hero h1 {
    font-size: clamp(49px, 14vw, 68px);
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .brand-line {
    gap: 10px 16px;
    margin-top: 34px;
  }

  .brand-line span + span::before {
    margin-right: 16px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .machine-core {
    width: 88vw;
  }

  .machine-label {
    font-size: 8px;
  }

  .machine-label--one {
    top: 8%;
  }

  .machine-label--two {
    top: 54%;
  }

  .machine-label--three {
    bottom: 7%;
  }

  .machine-label::after {
    width: 28px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    min-height: 106px;
    padding: 20px;
  }

  .section {
    padding: 86px 0;
  }

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

  .section-heading h2,
  .special-copy h2,
  .cold-copy h2,
  .geography-copy h2,
  .contact-copy h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .throughput-stage {
    min-height: 610px;
  }

  .throughput-stage > img {
    object-position: 72% center;
  }

  .throughput-caption {
    top: 32px;
    left: 26px;
    width: calc(100% - 52px);
  }

  .throughput-shade {
    background:
      linear-gradient(180deg, rgba(7, 16, 23, .96), rgba(7, 16, 23, .2) 62%, rgba(7, 16, 23, .88));
  }

  .throughput-points {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr;
  }

  .throughput-points span {
    min-height: 56px;
  }

  .throughput-points span + span {
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-left: 0;
  }

  .equipment-card,
  .equipment-card:nth-child(1),
  .equipment-card:nth-child(4),
  .equipment-card:nth-child(8),
  .equipment-card:nth-child(9) {
    grid-column: span 12;
    min-height: 470px;
  }

  .equipment-card-visual {
    height: 280px;
  }

  .equipment-card-copy {
    min-height: 190px;
    padding: 24px 22px 28px;
  }

  .filter-row {
    overflow-x: auto;
    flex-wrap: wrap;
    padding-bottom: 4px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .special-grid {
    gap: 54px;
  }

  .special-list article {
    grid-template-columns: 42px 1fr;
  }

  .cold-inner {
    gap: 52px;
  }

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

  .direction-card,
  .direction-card:last-child {
    grid-column: auto;
    min-height: 420px;
  }

  .city-list {
    grid-template-columns: 82px 1fr;
  }

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

  .accreditation-main {
    grid-column: auto;
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .seal {
    width: 114px;
    height: 114px;
  }

  .document-card {
    min-height: 230px;
  }

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

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

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

  .footer-contact {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-bottom {
    min-height: 100px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
  }

  .equipment-dialog {
    width: 100vw;
    max-height: 100svh;
    margin: 0;
  }

  .dialog-shell {
    max-height: 100svh;
  }

  .dialog-image-stage {
    min-height: 330px;
  }

  .dialog-content {
    padding: 44px 22px 106px;
  }

  .dialog-content h2 {
    font-size: 40px;
  }

  .dialog-actions {
    display: grid;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .dialog-image-credit {
    font-size: 7px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------
   Revision 2: real laboratory photography and corrected
   separation of GMK, GMK Frost / UPG and Geocomp.
   --------------------------------------------------------- */

[hidden] {
  display: none !important;
}

/* Real GMK system in the hero */
.hero-product {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hero-product-halo {
  position: absolute;
  top: 8%;
  left: 51%;
  width: min(620px, 43vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(121, 212, 228, .15);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(47,105,220,.22) 0 8%, transparent 9% 26%, rgba(121,212,228,.08) 27% 27.5%, transparent 28% 46%, rgba(47,105,220,.09) 47% 47.5%, transparent 48%),
    radial-gradient(circle, rgba(121,212,228,.12), transparent 62%);
  filter: blur(.1px);
}

.hero-product-halo::before,
.hero-product-halo::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255,255,255,.11);
  border-radius: 50%;
}

.hero-product-halo::after {
  inset: 30%;
  border-style: solid;
  border-color: rgba(121,212,228,.16);
}

.hero-product-image {
  position: absolute;
  z-index: 2;
  bottom: -34px;
  left: 53%;
  width: min(520px, 36vw);
  height: 660px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 34px 30px rgba(0,0,0,.42))
    drop-shadow(0 0 34px rgba(47,105,220,.14));
}

.hero-product-brand {
  position: absolute;
  z-index: 3;
  top: 10%;
  right: 4%;
  padding: 10px 12px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,16,23,.42);
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-product-note {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 10%;
  display: grid;
  gap: 5px;
  min-width: 210px;
  padding: 18px 20px;
  border-top: 1px solid rgba(121,212,228,.36);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(90deg, rgba(7,16,23,.12), rgba(7,16,23,.76));
  backdrop-filter: blur(10px);
}

.hero-product-note span {
  color: rgba(255,255,255,.48);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-product-note strong {
  color: var(--white);
  font-size: 23px;
  font-weight: 520;
  letter-spacing: -.03em;
}

.hero-product .machine-label--one { top: 24%; left: -1%; }
.hero-product .machine-label--two { top: 48%; right: -1%; }
.hero-product .machine-label--three { bottom: 9%; left: 1%; }

/* Revised equipment mosaic */
.equipment-card,
.equipment-card:nth-child(1),
.equipment-card:nth-child(4),
.equipment-card:nth-child(8),
.equipment-card:nth-child(9) {
  grid-column: span 4;
}

.equipment-card--half {
  grid-column: span 6 !important;
}

.equipment-card--wide {
  grid-column: span 8 !important;
}

.equipment-card--standard {
  grid-column: span 4 !important;
}

.equipment-card--wide .equipment-card-visual {
  height: 330px;
}

.equipment-card--wide .equipment-card-copy {
  min-height: 180px;
}

.equipment-card-image {
  mix-blend-mode: normal;
}

.equipment-card[data-id="gmk-300x600"] .equipment-card-visual {
  background:
    radial-gradient(circle at 74% 50%, rgba(66,199,91,.22), transparent 28%),
    linear-gradient(115deg, #e7eae7 0 52%, #dfe5e0 52% 100%);
}

.equipment-card[data-id="gmk-300x600"] .equipment-card-image {
  width: 54%;
  margin-left: auto;
  padding: 10px 42px 0 0;
  object-position: right bottom;
}

.equipment-card[data-id="gmk-300x600"] .equipment-card-visual::after {
  content: "300 × 600";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 34px;
  width: 38%;
  color: rgba(7,16,23,.13);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 620;
  letter-spacing: -.07em;
  line-height: .82;
  transform: translateY(-50%);
}

.equipment-card[data-id="geocomp-systems"] .equipment-card-visual {
  background:
    radial-gradient(circle at 50% 70%, rgba(47,105,220,.12), transparent 42%),
    #edf0ee;
}

.equipment-card[data-id="geocomp-systems"] .equipment-card-image {
  padding: 18px 28px 4px;
  transform: scale(1.04);
}

.equipment-card[data-id="gmk-frost"] .equipment-card-image {
  object-position: 53% 43%;
}

.equipment-card[data-id="gmk-frost"] .equipment-card-visual::after {
  content: "УПГ";
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 14px;
  color: rgba(255,255,255,.82);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.05em;
  text-shadow: 0 4px 18px rgba(0,0,0,.48);
}

.equipment-card[data-id="frozen-strength"] .equipment-card-image {
  object-fit: cover;
  object-position: center;
  padding: 0;
  mix-blend-mode: normal;
}

.equipment-card[data-id="rock-triaxial"] .equipment-card-image,
.equipment-card[data-id="frozen-triaxial"] .equipment-card-image,
.equipment-card[data-id="liga-dynamic"] .equipment-card-image {
  padding-top: 12px;
  padding-bottom: 6px;
}

/* Real laboratory photo story */
.lab-life {
  background: #e7e8e3;
}

.lab-life-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.lab-life figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.lab-life-main {
  grid-row: 1 / span 2;
  min-height: 680px !important;
}

.lab-life figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  transition: transform 1s var(--ease), filter .5s ease;
}

.lab-life-main img {
  object-position: 52% center;
}

.lab-life-side:nth-of-type(2) img {
  object-position: center 54%;
}

.lab-life figure:hover img {
  transform: scale(1.025);
  filter: saturate(.96) contrast(1.04);
}

.lab-life figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,16,23,.86), transparent 48%);
}

.lab-life figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 12px;
  color: var(--white);
}

.lab-life figcaption span {
  grid-row: 1 / span 2;
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: .12em;
}

.lab-life figcaption strong {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 510;
  letter-spacing: -.03em;
}

.lab-life figcaption small {
  color: rgba(255,255,255,.6);
  font-size: 10px;
  line-height: 1.45;
}

/* Dialog image tuning for transparent product cutouts */
#dialog-image {
  mix-blend-mode: normal;
}

#dialog-image[src*="gmk-300x600"] {
  width: 72%;
  height: 92%;
  padding: 14px 18px 0;
  object-position: center bottom;
}

@media (max-width: 1180px) {
  .hero-product-image {
    width: min(480px, 40vw);
    height: 610px;
  }

  .equipment-card--half,
  .equipment-card--wide,
  .equipment-card--standard {
    grid-column: span 6 !important;
  }

  .lab-life-grid {
    grid-template-columns: 1.2fr .8fr;
  }
}

@media (max-width: 920px) {
  .hero-product-image {
    left: 50%;
    width: min(520px, 72vw);
    height: 520px;
  }

  .hero-product-halo {
    left: 50%;
    width: min(600px, 82vw);
  }

  .hero-product-brand {
    right: 6%;
  }

  .hero-product-note {
    right: 2%;
  }

  .lab-life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .lab-life-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 540px !important;
  }
}

@media (max-width: 680px) {
  .hero-visual {
    min-height: 470px;
  }

  .hero-product-image {
    bottom: -24px;
    width: min(430px, 82vw);
    height: 500px;
  }

  .hero-product-brand {
    top: 4%;
    right: 0;
    font-size: 7px;
  }

  .hero-product-note {
    right: 0;
    bottom: 6%;
    min-width: 170px;
    padding: 14px 16px;
  }

  .hero-product-note strong {
    font-size: 18px;
  }

  .hero-product .machine-label--one { top: 15%; left: 0; }
  .hero-product .machine-label--two { top: 50%; right: 0; }
  .hero-product .machine-label--three { bottom: 4%; left: 0; }

  .equipment-card--half,
  .equipment-card--wide,
  .equipment-card--standard,
  .equipment-card,
  .equipment-card:nth-child(1),
  .equipment-card:nth-child(4),
  .equipment-card:nth-child(8),
  .equipment-card:nth-child(9) {
    grid-column: span 12 !important;
  }

  .equipment-card[data-id="gmk-300x600"] .equipment-card-image {
    width: 66%;
    padding-right: 10px;
  }

  .equipment-card[data-id="gmk-300x600"] .equipment-card-visual::after {
    left: 18px;
    width: 45%;
    font-size: 46px;
  }

  .lab-life-grid {
    grid-template-columns: 1fr;
  }

  .lab-life-main,
  .lab-life figure {
    min-height: 440px !important;
  }

  .lab-life-side {
    min-height: 360px !important;
  }
}

/* ---------------------------------------------------------
   Revision 4: V2 visual language + verified equipment media
   + engineering test / standards metadata.
   --------------------------------------------------------- */

/* Hero: real instrument fleet instead of a single machine */
.hero-fleet {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hero-fleet-frame {
  position: absolute;
  z-index: 2;
  top: 16%;
  right: 0;
  bottom: 9%;
  left: 4%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #0b151d;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .3);
  transform: perspective(1100px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
}

.hero-fleet-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,16,23,.34), transparent 24%, transparent 76%, rgba(7,16,23,.18)),
    linear-gradient(180deg, rgba(7,16,23,.06), transparent 62%, rgba(7,16,23,.3));
}

.hero-fleet-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(1.06) brightness(.9);
  transform: scale(1.015);
  transition: transform 1.2s var(--ease), filter .8s ease;
}

.hero-fleet:hover .hero-fleet-image {
  transform: scale(1.045);
  filter: saturate(.96) contrast(1.06) brightness(.94);
}

.hero-fleet .hero-product-halo {
  top: 3%;
  left: 57%;
  width: min(610px, 42vw);
  opacity: .65;
}

.hero-fleet .hero-product-brand {
  top: 11%;
  right: 2%;
}

.hero-fleet .machine-label {
  z-index: 4;
  backdrop-filter: blur(12px);
}

.hero-fleet .machine-label--one { top: 25%; left: -2%; }
.hero-fleet .machine-label--two { top: 47%; right: -2%; }
.hero-fleet .machine-label--three { bottom: 12%; left: 0; }

.hero-fleet .hero-product-note {
  right: -1%;
  bottom: 4%;
  min-width: 270px;
}

.hero-fleet .hero-product-note strong {
  font-size: 20px;
}

/* Equipment metadata in the card */
.equipment-card-copy {
  min-height: 232px;
  padding-bottom: 58px;
}

.equipment-card--wide .equipment-card-copy {
  min-height: 218px;
}

.equipment-card-standards {
  position: absolute;
  right: 76px;
  bottom: 26px;
  left: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.standard-mini {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .13);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .025em;
  line-height: 1.2;
}

.standard-mini--гост {
  border-color: rgba(76, 134, 244, .34);
  color: #9ab9f3;
}

.standard-mini--astm {
  border-color: rgba(121, 212, 228, .3);
  color: #9bdce7;
}

/* Product cutouts are transparent PNGs: no multiply blending. */
.equipment-card-image,
#dialog-image {
  mix-blend-mode: normal;
}

.equipment-card[data-id="gmk-large-triaxial"] .equipment-card-visual {
  background:
    radial-gradient(circle at 72% 50%, rgba(66,199,91,.16), transparent 31%),
    linear-gradient(115deg, #e9ece9, #dfe5e1);
}

.equipment-card[data-id="geocomp-triaxial"] .equipment-card-visual,
.equipment-card[data-id="geocomp-crs"] .equipment-card-visual,
.equipment-card[data-id="geocomp-shear"] .equipment-card-visual {
  background:
    radial-gradient(circle at 50% 66%, rgba(47,105,220,.11), transparent 43%),
    #eef0ee;
}

.equipment-card[data-id="frozen-triaxial"] .equipment-card-visual,
.equipment-card[data-id="geotek-resonant"] .equipment-card-visual,
.equipment-card[data-id="rock-triaxial"] .equipment-card-visual {
  background: linear-gradient(135deg, #f1f3f1 0%, #e2e7e4 100%);
}

/* Dialog: method and normative basis */
.dialog-tech {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.dialog-tech-block {
  display: grid;
  gap: 9px;
}

.dialog-tech-label {
  color: #758087;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#dialog-test-type {
  max-width: 720px;
  margin: 0;
  color: #263940;
  font-size: 12px;
  line-height: 1.55;
}

.dialog-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.standard-chip {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 7px;
  min-height: 34px;
  padding: 9px 11px;
  color: #34474f;
  border: 1px solid #cbd2cf;
  background: rgba(255,255,255,.48);
  font-size: 9px;
  line-height: 1.3;
}

.standard-chip b {
  color: var(--blue);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.standard-chip small {
  grid-column: 1 / -1;
  color: #748087;
  font-size: 7px;
}

.standard-chip--astm b {
  color: #21788b;
}

.dialog-tags {
  margin-top: 22px;
}

.dialog-facts {
  margin-top: 24px;
}

.dialog-content {
  padding-bottom: 118px;
}

/* Keep long technical cards compact on medium screens. */
@media (max-width: 1180px) {
  .hero-fleet-frame {
    left: 0;
  }

  .equipment-card-standards {
    right: 68px;
  }
}

@media (max-width: 920px) {
  .hero-fleet-frame {
    top: 9%;
    right: 3%;
    bottom: 10%;
    left: 3%;
    transform: none;
  }

  .hero-fleet .hero-product-halo {
    width: min(610px, 75vw);
  }

  .hero-fleet .hero-product-brand {
    top: 3%;
    right: 3%;
  }

  .hero-fleet .hero-product-note {
    right: 2%;
    bottom: 2%;
  }
}

@media (max-width: 680px) {
  .hero-visual {
    min-height: 405px;
  }

  .hero-fleet-frame {
    top: 12%;
    right: 0;
    bottom: 16%;
    left: 0;
  }

  .hero-fleet-image {
    object-position: 50% center;
  }

  .hero-fleet .hero-product-brand {
    top: 4%;
    right: 0;
    max-width: 82%;
  }

  .hero-fleet .machine-label--one { top: 20%; left: -2%; }
  .hero-fleet .machine-label--two { top: 49%; right: -2%; }
  .hero-fleet .machine-label--three { bottom: 17%; left: -2%; }

  .hero-fleet .hero-product-note {
    right: 0;
    bottom: 2%;
    min-width: min(270px, 84vw);
  }

  .equipment-card-copy {
    min-height: 220px;
    padding-bottom: 64px;
  }

  .equipment-card-standards {
    right: 66px;
    bottom: 25px;
    left: 22px;
  }

  .standard-mini:nth-child(n+2) {
    display: none;
  }

  .dialog-tech {
    margin-top: 24px;
    padding: 20px 0;
  }

  .standard-chip {
    width: 100%;
  }
}

/* Remove legacy overlays from the earlier GMK card treatment. */
.equipment-card[data-id="gmk-frost"] .equipment-card-visual::after {
  content: none;
}

.equipment-card[data-photo="scene"] .equipment-card-image {
  padding: 0 !important;
}

/* Revision 5 — readable normative references */
.standard-chip strong {
  color: #1e3037;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .01em;
}

.standard-chip-title {
  grid-column: 1 / -1;
  max-width: 420px;
  color: #53636a;
  font-size: 8px;
  line-height: 1.45;
}

.standard-chip small {
  padding-top: 1px;
  border-top: 1px solid rgba(40, 62, 70, .08);
}

.equipment-standard-note {
  margin-top: 12px !important;
  color: rgba(229, 237, 237, .68) !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
}
.equipment-standard-note b {
  color: rgba(255, 255, 255, .9);
  font-weight: 650;
}

/* ============================================================
   Revision 5: abstract hero + constitutive model parameters
   ============================================================ */
.hero-concept {
  position: absolute;
  inset: 50% 0 auto;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  min-height: 520px;
  isolation: isolate;
}

.hero-concept-glow {
  position: absolute;
  z-index: -1;
  width: 84%;
  aspect-ratio: 1.2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 152, 231, .18), rgba(16, 82, 126, .08) 42%, transparent 72%);
  filter: blur(20px);
  animation: conceptPulse 8s ease-in-out infinite alternate;
}

@keyframes conceptPulse {
  from { transform: scale(.96); opacity: .72; }
  to { transform: scale(1.04); opacity: 1; }
}

.hero-concept-image {
  width: min(760px, 48vw);
  max-height: 590px;
  object-fit: contain;
  filter: saturate(.92) contrast(1.02);
  transform: translateZ(0);
  transition: transform .7s var(--ease), filter .7s ease;
}

.hero-concept:hover .hero-concept-image {
  transform: scale(1.018);
  filter: saturate(1) contrast(1.04);
}

.mechanics {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(47, 105, 220, .08), transparent 24%),
    var(--paper);
}

.mechanics::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(7, 16, 23, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 16, 23, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.mechanics .container {
  position: relative;
  z-index: 1;
}

.mechanics-intro {
  max-width: 650px;
  color: rgba(7, 16, 23, .68);
  font-size: 16px;
  line-height: 1.72;
}

.mechanics-intro p {
  margin: 0;
}

.mechanics-intro p + p {
  margin-top: 18px;
}

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

.mechanics-card {
  position: relative;
  min-height: 390px;
  padding: 34px 34px 38px;
  background: rgba(243, 241, 235, .97);
  transition: transform .35s var(--ease), background .35s ease;
}

.mechanics-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  background: #fff;
}

.mechanics-card--accent {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 14%, rgba(121, 212, 228, .14), transparent 30%),
    linear-gradient(145deg, #0a1822, #102536);
}

.mechanics-card--accent:hover {
  background:
    radial-gradient(circle at 82% 14%, rgba(121, 212, 228, .18), transparent 34%),
    linear-gradient(145deg, #0a1822, #122a3c);
}

.mechanics-index {
  display: block;
  margin-bottom: 68px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}

.mechanics-card--accent .mechanics-index {
  color: var(--cyan);
}

.mechanics-card h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(25px, 2.15vw, 36px);
  font-weight: 560;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.mechanics-card > p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(7, 16, 23, .65);
  font-size: 14px;
  line-height: 1.65;
}

.mechanics-card--accent > p {
  color: rgba(255, 255, 255, .68);
}

.mechanics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.mechanics-tags span {
  min-width: 54px;
  padding: 8px 10px;
  color: rgba(7, 16, 23, .72);
  border: 1px solid rgba(7, 16, 23, .16);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-align: center;
}

.model-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 34px;
}

.model-badges strong {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(121, 212, 228, .34);
  background: rgba(121, 212, 228, .05);
  color: var(--cyan);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
}

.mechanics-note {
  margin-top: 16px !important;
  color: rgba(255, 255, 255, .48) !important;
  font-size: 10px !important;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.mechanics-footnote {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 1px;
  padding: 30px 34px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .48);
}

.mechanics-footnote strong {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mechanics-footnote p {
  margin: 0;
  color: rgba(7, 16, 23, .64);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .hero-concept-image {
    width: min(700px, 58vw);
  }
  .mechanics-grid {
    grid-template-columns: 1fr;
  }
  .mechanics-card {
    min-height: 0;
  }
  .mechanics-index {
    margin-bottom: 42px;
  }
  .mechanics-footnote {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mechanics-footnote .text-link {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .hero-concept {
    position: relative;
    inset: auto;
    transform: none;
    min-height: 330px;
    margin-top: 20px;
  }
  .hero-concept-image {
    width: 100%;
    max-height: 380px;
  }
  .mechanics-grid {
    margin-top: 44px;
  }
  .mechanics-card {
    padding: 28px 24px 30px;
  }
  .model-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .mechanics-footnote {
    padding: 26px 24px;
  }
}
