:root {
  --black: #060808;
  --carbon: #0d1111;
  --panel: #131817;
  --panel-soft: #1c2422;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f3f6f2;
  --muted: rgba(243, 246, 242, 0.68);
  --dim: rgba(243, 246, 242, 0.48);
  --cyan: #66d9df;
  --amber: #d79a4a;
  --green: #931a1d;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(102, 217, 223, 0.12), transparent 34rem),
    linear-gradient(180deg, #0a0d0d 0%, var(--black) 42%, #0a0d0d 100%);
  font-family: Verdana, Tahoma, Geneva, sans-serif;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.4rem;
  padding: 0.75rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(6, 8, 8, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 3.45rem;
  height: 2.1rem;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 0.16rem;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-name {
  max-width: 20rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav a,
.nav-dropdown-trigger {
  min-height: 2.25rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown.is-current .nav-dropdown-trigger {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 15.5rem;
  padding: 0.5rem;
  background: rgba(8, 11, 11, 0.98);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.35rem);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  min-height: 0;
  padding: 0.76rem 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  background: rgba(102, 217, 223, 0.13);
  color: var(--text);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin-left: 0.35rem;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line);
}

.language-switch a {
  display: grid;
  width: 2.05rem;
  min-height: 1.9rem;
  place-items: center;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1;
}

.language-switch .flag {
  display: block;
  width: 1.35rem;
  height: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.flag-it {
  background: linear-gradient(90deg, #009246 0 33.333%, #fff 33.333% 66.666%, #ce2b37 66.666% 100%);
}

.flag-de {
  background: linear-gradient(180deg, #000 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666% 100%);
}

.flag-es {
  background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.333%, #fff 33.333% 66.666%, #ef4135 66.666% 100%);
}

.flag-gb {
  background:
    linear-gradient(146deg, transparent 0 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(34deg, transparent 0 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(90deg, transparent 0 38%, #fff 38% 44%, #c8102e 44% 56%, #fff 56% 62%, transparent 62%),
    linear-gradient(180deg, transparent 0 34%, #fff 34% 42%, #c8102e 42% 58%, #fff 58% 66%, transparent 66%),
    #012169;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(147, 26, 29, 0.62);
  background: rgba(147, 26, 29, 0.18);
}

.home-main {
  background: var(--black);
}

.home-hero {
  position: relative;
  min-height: clamp(18rem, 48vh, 31rem);
  display: grid;
  align-items: start;
  overflow: hidden;
  background: var(--black);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.42), rgba(6, 8, 8, 0.14) 42%, rgba(6, 8, 8, 0)),
    linear-gradient(180deg, rgba(6, 8, 8, 0.18), rgba(6, 8, 8, 0.28));
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: contrast(1.24) brightness(1.18);
}

.hero-panel {
  position: relative;
  z-index: 2;
  max-width: 75rem;
  padding: clamp(1rem, 2.6vw, 2.1rem) clamp(1rem, 5vw, 5rem);
}

.overline {
  margin: 0 0 1.15rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 7vw, 6.6rem);
  line-height: 0.94;
  font-weight: 800;
}

.home-title {
  max-width: none;
  color: var(--green);
  font-size: clamp(2.1rem, 5.8vw, 5.2rem);
  line-height: 0.95;
  white-space: nowrap;
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 4.2rem);
  line-height: 0.98;
  font-weight: 800;
}

h3 {
  color: var(--text);
  font-size: clamp(1.6rem, 3vw, 3.1rem);
  line-height: 1;
  font-weight: 800;
}

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

.home-tech-link {
  display: flex;
  justify-content: center;
  padding: 0.85rem clamp(1rem, 4vw, 3rem) 1rem;
  background: #050606;
}

.home-tech-link a {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 78rem);
  padding: 0.78rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.028);
}

.home-tech-link span {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  white-space: nowrap;
}

.home-tech-link small {
  color: rgba(243, 246, 242, 0.62);
  font-size: 0.74rem;
  line-height: 1.35;
}

.home-tech-link a:hover {
  border-color: rgba(147, 26, 29, 0.72);
  background: rgba(147, 26, 29, 0.11);
}

.feature-tile {
  position: relative;
  display: flex;
  min-height: clamp(13rem, 34vh, 23rem);
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: clamp(1.15rem, 2.8vw, 2rem);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
}

.feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 8, 8, 0), rgba(6, 8, 8, 0.4) 62%, rgba(6, 8, 8, 0.78)),
    linear-gradient(135deg, rgba(102, 217, 223, 0.03), transparent 42%);
}

.feature-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.12) contrast(1.24);
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.feature-tile:hover img {
  filter: brightness(1.24) contrast(1.32);
  transform: scale(1.045);
}

.feature-tile span {
  width: fit-content;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-tile p {
  max-width: 21rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (min-width: 901px) and (min-height: 650px) {
  .home-main {
    display: grid;
    height: calc(100vh - 4.4rem);
    grid-template-rows: minmax(0, 59fr) minmax(0, 41fr);
    overflow: hidden;
  }

  .home-hero {
    min-height: 0;
    height: 100%;
  }

  .home-grid {
    min-height: 0;
  }

  .feature-tile {
    min-height: 0;
  }

  .feature-tile h2 {
    font-size: clamp(1.65rem, 2.3vw, 2.85rem);
  }
}

.page {
  min-height: calc(100vh - 4.4rem);
  background: var(--black);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(22rem, 1.28fr);
  min-height: 35rem;
  overflow: hidden;
  background: var(--carbon);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 8, 8, 0.88), rgba(6, 8, 8, 0.34) 58%, rgba(6, 8, 8, 0.06));
  pointer-events: none;
}

.page-hero > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.2rem, 8vw, 6.6rem) clamp(1rem, 5vw, 5rem);
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5.8vw, 5.8rem);
}

.page-hero img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.12) brightness(0.78);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 90% 0%, rgba(102, 217, 223, 0.08), transparent 24rem),
    var(--black);
}

.content-layout-wide {
  display: block;
}

.content-layout-wide .prose {
  max-width: 82rem;
}

.prose-emphasis {
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  line-height: 1.48;
}

.prose-emphasis p + p {
  margin-top: 1.5rem;
}

.side-note {
  align-self: start;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--cyan);
  color: var(--muted);
}

.side-note strong,
.side-note span {
  display: block;
}

.side-note strong {
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 1.05rem;
}

.prose {
  max-width: 67rem;
  color: rgba(255, 255, 255, 0.84);
  font-family: Verdana, Tahoma, Geneva, sans-serif;
  font-size: clamp(1.15rem, 1.9vw, 1.48rem);
  line-height: 1.62;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1.25rem;
}

.founders-hero {
  min-height: calc(100vh - 4.4rem);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.78), rgba(6, 8, 8, 0.24)),
    radial-gradient(circle at 15% 5%, rgba(184, 217, 104, 0.12), transparent 30rem),
    var(--black);
}

.founders-hero-compact {
  min-height: auto;
  display: block;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}

.founders-photo {
  position: relative;
  width: min(100%, 78rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.48);
}

.founders-hero-compact .founders-photo {
  width: min(100%, 26rem);
  margin-left: 0;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4);
}

.founders-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(6, 8, 8, 0.78)),
    linear-gradient(90deg, rgba(6, 8, 8, 0.18), transparent 40%);
  pointer-events: none;
}

.founders-photo img {
  width: 100%;
  max-height: 74vh;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08) brightness(0.84);
}

.founders-hero-compact .founders-photo img {
  aspect-ratio: 4 / 3;
  max-height: none;
}

.founders-photo figcaption {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 2.4rem);
  z-index: 2;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.founders-hero-compact .founders-photo figcaption {
  position: static;
  padding: 0.85rem 1rem;
  background: rgba(6, 8, 8, 0.92);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.timeline-section {
  position: relative;
  padding: clamp(1.7rem, 4vw, 3.2rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 9vw, 8rem);
  background:
    linear-gradient(rgba(6, 8, 8, 0.5), rgba(6, 8, 8, 0.6)),
    url("soci-background-dark-lineart.png") center / cover fixed,
    var(--black);
}

.timeline-intro {
  max-width: 48rem;
  margin-bottom: clamp(0.85rem, 1.8vw, 1.25rem);
}

.timeline-intro h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  line-height: 1.05;
  font-weight: 800;
}

.timeline-intro .overline {
  margin-bottom: 0.45rem;
}

.timeline-scroll-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(30rem, 1fr);
  gap: clamp(2.2rem, 6vw, 6rem);
  align-items: start;
}

.timeline-sticky-panel {
  position: sticky;
  top: calc(4.4rem + clamp(1.7rem, 4vw, 3.2rem));
  z-index: 1;
  max-width: 42rem;
}

.timeline-anchor-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  font-weight: 600;
  line-height: 1.48;
  text-shadow: 0 0 1.4rem rgba(0, 0, 0, 0.9), 0 0 0.3rem rgba(0, 0, 0, 0.82);
}

.timeline-anchor-text p {
  margin: 0;
}

.timeline-anchor-text p + p {
  margin-top: 0.85rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  max-width: 58rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(102, 217, 223, 0.44), rgba(184, 217, 104, 0.36), transparent);
}

.timeline-item {
  z-index: 2;
  position: relative;
  display: grid;
  grid-template-columns: clamp(4.8rem, 8vw, 6rem) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 1.7rem);
  align-items: center;
  width: calc(50% - clamp(1.4rem, 4vw, 3.2rem));
  min-height: 11rem;
  padding: clamp(1.15rem, 2.7vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(19, 24, 23, 0.3);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
  transform: translateX(-0.6rem);
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  background:
    linear-gradient(135deg, rgba(102, 217, 223, 0.048), rgba(255, 255, 255, 0.012)),
    rgba(28, 36, 34, 0.28);
  transform: translateX(0.6rem);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(-3.2rem, -4vw, -1.4rem) - 1px);
  width: clamp(1.4rem, 4vw, 3.2rem);
  height: 1px;
  background: rgba(102, 217, 223, 0.46);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.4rem);
  right: calc(clamp(-3.2rem, -4vw, -1.4rem) - 0.4rem);
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid var(--green);
  background: var(--black);
  transform: rotate(45deg);
}

.timeline-item:nth-child(even)::before {
  right: auto;
  left: calc(clamp(-3.2rem, -4vw, -1.4rem) - 1px);
}

.timeline-item:nth-child(even)::after {
  right: auto;
  left: calc(clamp(-3.2rem, -4vw, -1.4rem) - 0.4rem);
}

.timeline-year {
  color: var(--green);
  grid-column: 1 / -1;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.timeline-icon {
  position: relative;
  display: grid;
  width: clamp(4rem, 8vw, 5.6rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.timeline-icon::before,
.timeline-icon::after {
  content: "";
  position: absolute;
  border-color: var(--cyan);
}

.icon-company::before {
  width: 58%;
  height: 38%;
  bottom: 24%;
  border: 2px solid var(--cyan);
  border-top: 0;
}

.icon-company::after {
  width: 42%;
  height: 42%;
  bottom: 43%;
  border-left: 2px solid var(--cyan);
  border-top: 2px solid var(--cyan);
  transform: skewY(-25deg);
}

.icon-reactor::before {
  width: 44%;
  height: 64%;
  border: 2px solid var(--cyan);
  border-radius: 999px;
}

.icon-reactor::after {
  width: 70%;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 16px 0 var(--amber), 0 -16px 0 var(--amber);
}

.icon-lab::before {
  width: 34%;
  height: 58%;
  border: 2px solid var(--cyan);
  border-top: 0;
  border-radius: 0 0 22px 22px;
}

.icon-lab::after {
  width: 56%;
  height: 2px;
  top: 34%;
  background: var(--amber);
  box-shadow: -12px 18px 0 var(--green), 12px 26px 0 var(--cyan);
}

.icon-cutting::before {
  width: 62%;
  height: 38%;
  border: 2px solid var(--cyan);
}

.icon-cutting::after {
  width: 46%;
  height: 2px;
  background: var(--amber);
  transform: rotate(-32deg);
  box-shadow: 0 14px 0 var(--amber);
}

.icon-saw::before {
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--black) 0 18%, transparent 19%),
    repeating-conic-gradient(var(--cyan) 0 8deg, transparent 8deg 16deg);
  border: 2px solid var(--cyan);
}

.icon-saw::after {
  width: 48%;
  height: 2px;
  right: 14%;
  bottom: 23%;
  background: var(--amber);
  transform: rotate(-18deg);
  box-shadow: 0 -0.55rem 0 -1px var(--amber);
}

.icon-laser::before {
  width: 46%;
  height: 34%;
  left: 15%;
  top: 28%;
  border: 2px solid var(--cyan);
  border-right-width: 8px;
}

.icon-laser::after {
  width: 42%;
  height: 2px;
  right: 11%;
  top: 43%;
  background: var(--green);
  box-shadow: 0 0.46rem 0 -1px var(--green), 0 -0.46rem 0 -1px var(--green);
}

.icon-crane::before {
  width: 68%;
  height: 48%;
  top: 22%;
  border-top: 3px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.icon-crane::after {
  width: 18%;
  height: 42%;
  top: 23%;
  left: 47%;
  border-left: 2px solid var(--amber);
  background:
    linear-gradient(var(--amber), var(--amber)) center bottom / 70% 2px no-repeat,
    linear-gradient(135deg, transparent 45%, var(--amber) 46% 55%, transparent 56%) center bottom / 70% 32% no-repeat;
}

.icon-microscope::before {
  width: 44%;
  height: 54%;
  top: 18%;
  left: 30%;
  border-left: 8px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  border-radius: 0 0 0 18px;
  transform: rotate(25deg);
}

.icon-microscope::after {
  width: 58%;
  height: 20%;
  left: 22%;
  bottom: 18%;
  border-bottom: 3px solid var(--amber);
  border-left: 2px solid var(--amber);
  box-shadow: 0 -1.9rem 0 -0.45rem var(--green);
}

.icon-qr::before {
  width: 58%;
  height: 58%;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 27% 27% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 27% 27% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 100% / 27% 27% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 48% 48% / 16% 16% no-repeat,
    linear-gradient(var(--green), var(--green)) 70% 68% / 12% 12% no-repeat,
    linear-gradient(var(--amber), var(--amber)) 38% 72% / 10% 10% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 72% 40% / 9% 9% no-repeat;
  border: 2px solid var(--cyan);
}

.icon-qr::after {
  width: 7%;
  height: 7%;
  right: 22%;
  bottom: 24%;
  background: var(--cyan);
  box-shadow: -0.95rem -0.32rem 0 var(--cyan), -0.28rem -1.05rem 0 var(--amber), 0.38rem -0.82rem 0 var(--green);
}

.icon-polymer::before {
  width: 58%;
  height: 58%;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.icon-polymer::after {
  width: 66%;
  height: 66%;
  border: 2px solid var(--amber);
  border-radius: 50%;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  transform: rotate(24deg);
}

.icon-cnc::before,
.icon-cnc-plus::before {
  width: 64%;
  height: 46%;
  border: 2px solid var(--cyan);
  border-top-width: 8px;
}

.icon-cnc::after,
.icon-cnc-plus::after {
  width: 16%;
  height: 52%;
  top: 28%;
  border-left: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  background: linear-gradient(var(--amber), var(--amber)) center 68% / 80% 2px no-repeat;
}

.icon-cnc-plus {
  box-shadow: inset 0 0 0 1px rgba(184, 217, 104, 0.28);
}

.icon-cnc-plus::after {
  box-shadow: 18px 0 0 -6px var(--green);
}

.timeline-copy p {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.image-strip img {
  width: 100%;
  height: min(33vw, 24rem);
  object-fit: cover;
  filter: saturate(0.76) contrast(1.08) brightness(0.82);
}

.polymer-statement,
.cnc-statement {
  position: relative;
  display: grid;
  min-height: calc(100vh - 4.4rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.9), rgba(6, 8, 8, 0.46) 58%, rgba(6, 8, 8, 0.18)),
    linear-gradient(180deg, rgba(6, 8, 8, 0.2), rgba(6, 8, 8, 0.88)),
    url("home-chi-siamo-lab-lineart.png") center / cover,
    var(--black);
}

.cnc-statement {
  height: calc(100vh - 4.4rem);
  min-height: 34rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32vw);
  gap: clamp(1rem, 2.6vw, 2.8rem);
  padding: clamp(1.35rem, 3.4vw, 3.4rem) clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.9), rgba(6, 8, 8, 0.48) 58%, rgba(6, 8, 8, 0.2)),
    linear-gradient(180deg, rgba(6, 8, 8, 0.12), rgba(6, 8, 8, 0.86)),
    url("cnc-manufacturing-background-lineart.png") center / cover,
    var(--black);
}

.polymer-statement {
  height: calc(100vh - 4.4rem);
  min-height: 34rem;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 30vw);
  gap: clamp(1rem, 2.6vw, 2.8rem);
  padding: clamp(1.35rem, 3.4vw, 3.4rem) clamp(1rem, 4vw, 4rem);
}

.polymer-statement article,
.cnc-statement article {
  position: relative;
  z-index: 1;
  max-width: 86rem;
}

.cnc-statement article {
  max-width: 60rem;
}

.polymer-statement article {
  max-width: 61rem;
}

.polymer-statement p,
.cnc-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.28vw, 1.38rem);
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.92), 0 0 0.25rem rgba(0, 0, 0, 0.85);
}

.cnc-statement p {
  font-size: clamp(0.82rem, 1.02vw, 1.08rem);
  line-height: 1.45;
}

.polymer-statement p {
  font-size: clamp(0.78rem, 0.98vw, 1.04rem);
  line-height: 1.44;
}

.cnc-miniatures {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(100%, 32rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.38rem, 0.8vw, 0.62rem);
  align-content: center;
  justify-self: end;
}

.polymer-miniatures {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(100%, 30rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.38rem, 0.8vw, 0.62rem);
  align-content: center;
  justify-self: end;
}

.cnc-miniature {
  position: relative;
  min-height: 0;
  margin: 0;
  aspect-ratio: 1.18;
  background: #f5f5f0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  outline: none;
}

.polymer-miniature {
  position: relative;
  min-height: 0;
  margin: 0;
  aspect-ratio: 1.45;
  overflow: visible;
  background: #f5f5f0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  cursor: pointer;
  outline: none;
}

.cnc-miniature:focus-visible {
  border-color: var(--green);
}

.polymer-miniature:focus-visible {
  border-color: var(--green);
}

.cnc-miniature-render,
.cnc-real-preview,
.polymer-miniature-render,
.polymer-real-preview {
  display: block;
  width: 100%;
  height: 100%;
}

.cnc-miniature-render,
.polymer-miniature-render {
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.08);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.cnc-miniature:hover .cnc-miniature-render,
.cnc-miniature:focus .cnc-miniature-render,
.cnc-miniature:focus-within .cnc-miniature-render,
.cnc-miniature:focus-visible .cnc-miniature-render,
.polymer-miniature:hover .polymer-miniature-render,
.polymer-miniature:focus .polymer-miniature-render,
.polymer-miniature:focus-within .polymer-miniature-render,
.polymer-miniature:focus-visible .polymer-miniature-render {
  opacity: 1;
  filter: contrast(1.18);
  transform: scale(1.018);
}

.cnc-real-preview,
.polymer-real-preview {
  position: absolute;
  right: calc(100% + clamp(0.7rem, 1.5vw, 1.2rem));
  top: 50%;
  z-index: 8;
  width: min(74rem, 68vw);
  height: auto;
  max-width: none;
  max-height: 82vh;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.94);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: var(--black);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.56);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cnc-miniature:hover .cnc-real-preview,
.cnc-miniature:focus .cnc-real-preview,
.cnc-miniature:focus-within .cnc-real-preview,
.cnc-miniature:focus-visible .cnc-real-preview,
.polymer-miniature:hover .polymer-real-preview,
.polymer-miniature:focus .polymer-real-preview,
.polymer-miniature:focus-within .polymer-real-preview,
.polymer-miniature:focus-visible .polymer-real-preview {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.polymer-real-preview {
  width: min(70rem, 66vw);
}

.cnc-miniature:nth-child(-n + 3) .cnc-real-preview {
  top: 0;
  transform: translateY(0) scale(0.94);
}

.polymer-miniature:nth-child(-n + 2) .polymer-real-preview {
  top: 0;
  transform: translateY(0) scale(0.94);
}

.cnc-miniature:nth-child(-n + 3):hover .cnc-real-preview,
.cnc-miniature:nth-child(-n + 3):focus .cnc-real-preview,
.cnc-miniature:nth-child(-n + 3):focus-within .cnc-real-preview,
.cnc-miniature:nth-child(-n + 3):focus-visible .cnc-real-preview,
.polymer-miniature:nth-child(-n + 2):hover .polymer-real-preview,
.polymer-miniature:nth-child(-n + 2):focus .polymer-real-preview,
.polymer-miniature:nth-child(-n + 2):focus-within .polymer-real-preview,
.polymer-miniature:nth-child(-n + 2):focus-visible .polymer-real-preview {
  transform: translateY(0) scale(1);
}

.cnc-miniature:nth-child(n + 7) .cnc-real-preview {
  top: auto;
  bottom: 0;
  transform: translateY(0) scale(0.94);
}

.polymer-miniature:nth-child(n + 6) .polymer-real-preview {
  top: auto;
  bottom: 0;
  transform: translateY(0) scale(0.94);
}

.cnc-miniature:nth-child(n + 7):hover .cnc-real-preview,
.cnc-miniature:nth-child(n + 7):focus .cnc-real-preview,
.cnc-miniature:nth-child(n + 7):focus-within .cnc-real-preview,
.cnc-miniature:nth-child(n + 7):focus-visible .cnc-real-preview,
.polymer-miniature:nth-child(n + 6):hover .polymer-real-preview,
.polymer-miniature:nth-child(n + 6):focus .polymer-real-preview,
.polymer-miniature:nth-child(n + 6):focus-within .polymer-real-preview,
.polymer-miniature:nth-child(n + 6):focus-visible .polymer-real-preview {
  transform: translateY(0) scale(1);
}

.technical-gallery {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.compact-technical-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.technical-figure {
  position: relative;
  min-height: 26rem;
  margin: 0;
  overflow: hidden;
  background: #fff;
  color: #000;
}

.technical-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.figure-control img {
  object-position: 58% 48%;
}

.figure-cnc img {
  object-position: 42% 50%;
}

.figure-polishing img {
  object-position: 62% 50%;
}

.figure-control {
  grid-row: auto;
  min-height: 24rem;
}

.figure-cnc,
.figure-polishing {
  min-height: 24rem;
}

.callout {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.25rem 0.42rem;
  border: 1px solid #000;
  border-left-width: 4px;
  background: #fff;
  color: #000;
  font-size: clamp(0.58rem, 0.8vw, 0.74rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 3px #fff;
}

.callout::before {
  content: "";
  position: absolute;
  height: 1px;
  background: #000;
  transform-origin: left center;
}

.callout::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left-color: #000;
  border-top-width: 3px;
  border-bottom-width: 3px;
}

.callout-control-piece {
  left: 5%;
  bottom: 24%;
}

.callout-control-piece::before {
  left: 100%;
  top: 50%;
  width: 7.5rem;
  transform: rotate(-10deg);
}

.callout-control-piece::after {
  left: calc(100% + 7.45rem);
  top: calc(50% - 1.25rem);
  transform: rotate(-10deg);
}

.callout-control-eyes {
  right: 5%;
  top: 14%;
}

.callout-control-eyes::before {
  right: 100%;
  top: 50%;
  width: 5.6rem;
  transform: rotate(165deg);
}

.callout-control-eyes::after {
  right: calc(100% + 5.45rem);
  top: calc(50% + 0.8rem);
  transform: rotate(345deg);
}

.callout-cnc-head {
  left: 14%;
  top: 15%;
}

.callout-cnc-head::before {
  left: 100%;
  top: 50%;
  width: 6.2rem;
  transform: rotate(50deg);
}

.callout-cnc-head::after {
  left: calc(100% + 6.05rem);
  top: calc(50% + 4.6rem);
  transform: rotate(50deg);
}

.callout-polishing-hands {
  left: 36%;
  bottom: 10%;
}

.callout-polishing-hands::before {
  left: 50%;
  bottom: 100%;
  width: 6.8rem;
  transform: rotate(-62deg);
}

.callout-polishing-hands::after {
  left: calc(50% + 3.15rem);
  bottom: calc(100% + 6rem);
  transform: rotate(-62deg);
}

.work-horseshoe {
  position: relative;
  display: grid;
  height: calc(100vh - 4.4rem);
  min-height: 34rem;
  grid-template-columns: minmax(9rem, 0.9fr) minmax(0, 0.92fr) minmax(18rem, 1.2fr) minmax(0, 0.92fr) minmax(9rem, 0.9fr);
  grid-template-rows: minmax(8rem, 0.72fr) minmax(18rem, 1fr) minmax(8rem, 0.72fr);
  gap: clamp(0.75rem, 1.35vw, 1.25rem);
  padding: clamp(1rem, 2.4vw, 2rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(102, 217, 223, 0.1), transparent 28rem),
    radial-gradient(circle at 86% 82%, rgba(184, 217, 104, 0.08), transparent 24rem),
    var(--black);
}

.work-thumb {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #f5f5f0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08);
}

.work-thumb-01 {
  grid-column: 1 / 3;
  grid-row: 1;
}

.work-thumb-02 {
  grid-column: 3;
  grid-row: 1;
}

.work-thumb-03 {
  grid-column: 4 / 6;
  grid-row: 1;
}

.work-thumb-04 {
  grid-column: 1 / 3;
  grid-row: 2 / 4;
}

.work-thumb-05 {
  grid-column: 4 / 6;
  grid-row: 2 / 4;
}

.work-center {
  z-index: 2;
  grid-column: 3;
  grid-row: 2 / 4;
  display: grid;
  gap: 1px;
  align-self: stretch;
  min-height: 0;
  background: var(--line);
}

.work-choice {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.62rem;
  padding: clamp(1rem, 2.4vw, 1.8rem);
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(13, 17, 17, 0.92);
}

.work-choice:hover {
  background:
    linear-gradient(135deg, rgba(102, 217, 223, 0.11), rgba(255, 255, 255, 0.018)),
    rgba(13, 17, 17, 0.96);
}

.work-choice span {
  width: fit-content;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
}

.work-choice h2 {
  font-size: clamp(1.65rem, 2.6vw, 3rem);
}

.work-choice p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.15vw, 1.06rem);
  font-weight: 700;
}

.work-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  min-height: 42rem;
  background: var(--line);
}

.work-duo-only {
  min-height: calc(100vh - 4.4rem);
}

.duo-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 42rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
}

.duo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 8, 8, 0.03), rgba(6, 8, 8, 0.86));
}

.duo-panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) contrast(1.18);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.duo-panel:hover img {
  filter: brightness(1) contrast(1.22);
  transform: scale(1.04);
}

.duo-panel p:not(.overline) {
  max-width: 31rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 1px;
  height: calc(100vh - 4.4rem);
  min-height: 34rem;
  overflow: hidden;
  background: var(--line);
  grid-template-rows: minmax(8rem, 0.33fr) minmax(0, 0.67fr);
}

.contact-page > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(1rem, 2.4vw, 1.9rem) clamp(1rem, 4vw, 3.5rem);
  background: var(--black);
}

.contact-page h1 {
  max-width: none;
  font-size: clamp(1.3rem, 2.2vw, 2.1rem);
  line-height: 1.02;
  white-space: nowrap;
}

.contact-logo {
  width: min(100%, 31rem);
  max-height: 11.5rem;
  object-fit: contain;
  align-self: flex-start;
  padding: clamp(0.65rem, 1.2vw, 1rem);
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-box {
  background:
    radial-gradient(circle at 0% 0%, rgba(102, 217, 223, 0.12), transparent 22rem),
    var(--panel);
  font-size: clamp(0.98rem, 1.4vw, 1.22rem);
}

.contact-box p {
  margin: 0 0 0.78rem;
  color: var(--muted);
}

.contact-box a {
  color: var(--text);
  font-weight: 800;
}

.contact-image {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
  background: var(--black);
  min-height: 0;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 52%;
  filter: none;
}

.map-card {
  position: absolute;
  right: clamp(1rem, 4vw, 3.4rem);
  bottom: clamp(1rem, 4vw, 2.6rem);
  display: grid;
  min-width: min(21rem, calc(100% - 2rem));
  gap: 0.28rem;
  padding: 1rem 1.15rem;
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(6, 8, 8, 0.86), rgba(28, 36, 34, 0.58)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.map-card::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid var(--green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-card span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-card strong {
  max-width: 16rem;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  line-height: 1;
}

.map-card small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 0.35rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-trigger,
  .nav-dropdown:focus-within .nav-dropdown-trigger {
    color: rgba(255, 255, 255, 0.86);
    border-color: transparent;
    background: transparent;
  }

  .nav-dropdown.is-current .nav-dropdown-trigger {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-dropdown .dropdown-menu {
    pointer-events: none;
  }

  .home-hero,
  .page-hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .home-grid,
  .work-duo {
    grid-template-columns: 1fr;
  }

  .work-horseshoe {
    min-height: 0;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .work-thumb,
  .work-center,
  .work-thumb-01,
  .work-thumb-02,
  .work-thumb-03,
  .work-thumb-04,
  .work-thumb-05 {
    grid-column: auto;
    grid-row: auto;
  }

  .work-center {
    grid-column: 1 / -1;
    order: -1;
  }

  .page-hero img {
    min-height: 20rem;
  }

  .timeline-item {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .timeline-item:nth-child(even) {
    transform: none;
  }

  .timeline-scroll-stage {
    grid-template-columns: 1fr;
  }

  .timeline-sticky-panel {
    position: relative;
    top: auto;
    max-width: 100%;
  }

  .timeline {
    max-width: 100%;
  }

  .timeline::before,
  .timeline-item::before,
  .timeline-item::after {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 4.4rem minmax(0, 1fr);
  }

  .timeline-intro {
    position: relative;
    top: auto;
  }

  .timeline-year {
    grid-column: 1 / -1;
  }

  .timeline-icon {
    grid-column: 1;
    grid-row: 2;
    width: 4rem;
  }

  .timeline-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .cnc-statement,
  .polymer-statement {
    height: auto;
    min-height: calc(100vh - 4.4rem);
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .cnc-miniatures,
  .polymer-miniatures {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: stretch;
  }

  .cnc-real-preview,
  .polymer-real-preview {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 0.75rem);
    width: min(46rem, 94vw);
    max-height: 76vh;
    transform: translateX(-50%) scale(0.94);
  }

  .cnc-miniature:nth-child(-n + 3) .cnc-real-preview,
  .cnc-miniature:nth-child(n + 7) .cnc-real-preview,
  .polymer-miniature:nth-child(-n + 2) .polymer-real-preview,
  .polymer-miniature:nth-child(n + 6) .polymer-real-preview {
    top: auto;
    bottom: calc(100% + 0.75rem);
    transform: translateX(-50%) scale(0.94);
  }

  .cnc-miniature:hover .cnc-real-preview,
  .cnc-miniature:focus .cnc-real-preview,
  .cnc-miniature:focus-within .cnc-real-preview,
  .cnc-miniature:focus-visible .cnc-real-preview,
  .cnc-miniature:nth-child(-n + 3):hover .cnc-real-preview,
  .cnc-miniature:nth-child(-n + 3):focus .cnc-real-preview,
  .cnc-miniature:nth-child(-n + 3):focus-within .cnc-real-preview,
  .cnc-miniature:nth-child(-n + 3):focus-visible .cnc-real-preview,
  .cnc-miniature:nth-child(n + 7):hover .cnc-real-preview,
  .cnc-miniature:nth-child(n + 7):focus .cnc-real-preview,
  .cnc-miniature:nth-child(n + 7):focus-within .cnc-real-preview,
  .cnc-miniature:nth-child(n + 7):focus-visible .cnc-real-preview,
  .polymer-miniature:hover .polymer-real-preview,
  .polymer-miniature:focus .polymer-real-preview,
  .polymer-miniature:focus-within .polymer-real-preview,
  .polymer-miniature:focus-visible .polymer-real-preview,
  .polymer-miniature:nth-child(-n + 2):hover .polymer-real-preview,
  .polymer-miniature:nth-child(-n + 2):focus .polymer-real-preview,
  .polymer-miniature:nth-child(-n + 2):focus-within .polymer-real-preview,
  .polymer-miniature:nth-child(-n + 2):focus-visible .polymer-real-preview,
  .polymer-miniature:nth-child(n + 6):hover .polymer-real-preview,
  .polymer-miniature:nth-child(n + 6):focus .polymer-real-preview,
  .polymer-miniature:nth-child(n + 6):focus-within .polymer-real-preview,
  .polymer-miniature:nth-child(n + 6):focus-visible .polymer-real-preview {
    transform: translateX(-50%) scale(1);
  }

  .contact-page {
    height: auto;
    min-height: 0;
    overflow: visible;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(22rem, 48vh);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .brand-name {
    max-width: 13rem;
  }

  .main-nav {
    gap: 0.65rem 0.95rem;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .overline {
    letter-spacing: 0.12em;
  }

  .home-title {
    max-width: calc(100vw - 2rem);
    font-size: clamp(1.25rem, 5.8vw, 1.55rem);
    white-space: nowrap;
  }

  .hero-panel,
  .page-hero > div,
  .content-layout,
  .contact-page > div {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .home-grid,
  .image-strip,
  .work-duo,
  .work-horseshoe,
  .technical-gallery {
    grid-template-columns: 1fr;
  }

  .figure-control {
    grid-row: auto;
    min-height: 42rem;
  }

  .figure-cnc,
  .figure-polishing {
    min-height: 23rem;
  }

  .feature-tile {
    min-height: 18rem;
  }

  .duo-panel {
    min-height: 27rem;
  }

  .image-strip img {
    height: 18rem;
  }

  .callout {
    font-size: 0.62rem;
    white-space: normal;
    max-width: 10rem;
  }

  .timeline-section {
    overflow-x: hidden;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .timeline-scroll-stage,
  .timeline-sticky-panel,
  .timeline-intro,
  .timeline-anchor-text,
  .timeline-anchor-text p {
    width: min(100%, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .timeline-scroll-stage {
    display: block;
  }

  .timeline-anchor-text {
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: clamp(0.82rem, 3.55vw, 0.95rem);
    line-height: 1.42;
  }

  .timeline {
    width: min(100%, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
  }

  .timeline::before {
    left: 1.5rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1.1rem;
  }

  .timeline-year,
  .timeline-icon,
  .timeline-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .timeline-icon {
    width: 4.2rem;
  }
}


.site-footer { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.2rem clamp(1rem, 4vw, 3rem); color: rgba(243, 246, 242, 0.46); background: #050606; border-top: 1px solid var(--line); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: rgba(243, 246, 242, 0.58); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.tech-main { min-height: calc(100vh - 4.4rem); padding: clamp(5.4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem); background: radial-gradient(circle at 82% 8%, rgba(147, 26, 29, 0.18), transparent 26rem), linear-gradient(180deg, #080a0a 0%, #0d1111 100%); }
.tech-hero { max-width: 78rem; margin: 0 auto clamp(2rem, 5vw, 4rem); }
.tech-hero h1, .tech-article h1 { margin: 0; color: var(--text); font-size: clamp(2rem, 4.5vw, 4.8rem); line-height: 0.96; letter-spacing: 0; }
.tech-hero p:last-child, .tech-article .lead { max-width: 62rem; margin: 1.25rem 0 0; color: rgba(243, 246, 242, 0.76); font-size: clamp(1rem, 1.25vw, 1.22rem); }
.tech-grid { display: grid; max-width: 78rem; margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.72rem; }
.tech-card { min-height: 12rem; padding: 1rem; color: var(--text); text-decoration: none; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.12); }
.tech-card:hover { border-color: rgba(147, 26, 29, 0.72); background: rgba(147, 26, 29, 0.14); }
.tech-card span { display: block; color: var(--text); font-size: 0.92rem; font-weight: 800; line-height: 1.2; }
.tech-card small { display: block; margin-top: 0.8rem; color: rgba(243, 246, 242, 0.62); font-size: 0.72rem; line-height: 1.45; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.45rem; max-width: 58rem; margin: 0 auto 1.3rem; color: rgba(243, 246, 242, 0.48); font-size: 0.72rem; }
.breadcrumb a { color: rgba(243, 246, 242, 0.58); text-decoration: none; }
.tech-article { max-width: 58rem; margin: 0 auto; }
.tech-article section { margin-top: clamp(1.7rem, 4vw, 2.6rem); padding-top: clamp(1rem, 2vw, 1.4rem); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.tech-article h2 { margin: 0 0 0.65rem; color: var(--text); font-size: clamp(1rem, 1.4vw, 1.35rem); line-height: 1.18; }
.tech-article p { margin: 0; color: rgba(243, 246, 242, 0.76); font-size: clamp(0.92rem, 1.1vw, 1.04rem); }
.tech-keywords { margin-top: clamp(2rem, 4vw, 3rem); padding: 1rem; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.12); }
.tech-keywords h2 { margin: 0 0 0.8rem; color: var(--green); font-size: 0.78rem; text-transform: uppercase; }
.tech-keywords ul { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.tech-keywords li { padding: 0.4rem 0.55rem; color: rgba(243, 246, 242, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.72rem; }
.tech-applications ul,
.tech-sources ul { margin: 0; padding-left: 1.1rem; color: rgba(243, 246, 242, 0.74); font-size: clamp(0.9rem, 1.05vw, 1.02rem); }
.tech-applications li,
.tech-sources li { margin: 0.45rem 0; }
.tech-sources a { color: rgba(243, 246, 242, 0.9); text-decoration-color: rgba(147, 26, 29, 0.8); text-underline-offset: 0.18rem; }
.tech-sources a:hover { color: var(--text); }
@media (max-width: 980px) { .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .site-footer { flex-direction: column; gap: 0.4rem; } .tech-grid { grid-template-columns: 1fr; } }

.capability-main {
  padding-top: clamp(5rem, 8vw, 7.2rem);
}

.capability-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.8fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  max-width: 78rem;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

.capability-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.capability-hero p:last-child {
  max-width: 54rem;
  margin: 1.25rem 0 0;
  color: rgba(243, 246, 242, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.capability-hero img {
  width: 100%;
  min-height: 18rem;
  max-height: 28rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050606;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.72rem;
  max-width: 78rem;
  margin: 0 auto;
}

.capability-card {
  min-height: 14rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.capability-card h2 {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  line-height: 1.18;
}

.capability-card p {
  margin: 0;
  color: rgba(243, 246, 242, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 78rem;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.related-links h2 {
  flex: 0 0 100%;
  margin: 0 0 0.35rem;
  color: rgba(243, 246, 242, 0.82);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.related-links a {
  padding: 0.52rem 0.7rem;
  color: rgba(243, 246, 242, 0.78);
  text-decoration: none;
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.related-links a:hover {
  color: var(--text);
  border-color: rgba(147, 26, 29, 0.72);
  background: rgba(147, 26, 29, 0.14);
}

@media (max-width: 1080px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .capability-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1020px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .timeline-scroll-stage,
  .timeline-sticky-panel,
  .timeline-intro,
  .timeline-anchor-text {
    display: block !important;
    width: min(calc(100vw - 2rem), 22rem) !important;
    max-width: min(calc(100vw - 2rem), 22rem) !important;
    min-width: 0 !important;
  }

  .timeline-anchor-text p {
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .tech-hero,
  .tech-grid,
  .tech-article,
  .breadcrumb,
  .related-links {
    width: min(calc(100vw - 2rem), 22rem) !important;
    max-width: min(calc(100vw - 2rem), 22rem) !important;
    min-width: 0 !important;
  }

  .tech-hero *,
  .tech-card,
  .tech-card *,
  .tech-article *,
  .breadcrumb *,
  .related-links * {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* Refreshed home */
.refreshed-home {
  display: block;
  min-height: calc(100vh - 4.4rem);
  height: auto;
  overflow: visible;
  background:
    linear-gradient(180deg, #050606 0%, #0b0e0d 42%, #101211 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1.05rem;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

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

.button-primary {
  color: #080a0a;
  background: #f1f5ef;
  border-color: #f1f5ef;
}

.button-primary:hover {
  background: #66d9df;
  border-color: #66d9df;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover {
  border-color: rgba(215, 154, 74, 0.88);
  background: rgba(215, 154, 74, 0.14);
}

.refreshed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(38rem, calc(100vh - 7.5rem));
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #060808;
}

.refreshed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.95) 0%, rgba(6, 8, 8, 0.7) 42%, rgba(6, 8, 8, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 8, 8, 0.05), rgba(6, 8, 8, 0.76));
  pointer-events: none;
}

.refreshed-hero .hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  filter: none;
}

.refreshed-hero .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.92) contrast(1.2) brightness(0.9);
}

.refreshed-hero::after {
  display: none;
}

.refreshed-hero-panel {
  z-index: 2;
  width: min(100%, 80rem);
  padding: clamp(3rem, 6vw, 4.2rem) clamp(1rem, 5vw, 5rem) clamp(6rem, 8vw, 7.4rem);
}

.refreshed-hero-panel h1 {
  max-width: 14.5ch;
  color: #fbfcf8;
  font-size: clamp(2.7rem, 5.8vw, 4.9rem);
  line-height: 0.94;
  text-wrap: balance;
}

.hero-lead {
  max-width: 47rem;
  margin: 1.25rem 0 0;
  color: rgba(251, 252, 248, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.55rem;
}

.hero-facts {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(42rem, calc(100% - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 10, 10, 0.68);
  backdrop-filter: blur(16px);
}

.hero-facts div {
  min-width: 0;
  padding: 0.95rem 1rem;
}

.hero-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: #66d9df;
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  line-height: 1;
}

.hero-facts span {
  margin-top: 0.38rem;
  color: rgba(243, 246, 242, 0.68);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(18rem, 0.74fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  background: #f2f1ea;
  color: #111413;
}

.home-intro .overline {
  color: #931a1d;
}

.home-intro h2 {
  max-width: 13ch;
  color: #111413;
  font-size: clamp(2rem, 4.5vw, 5rem);
  line-height: 0.96;
}

.home-intro > p {
  max-width: 46rem;
  align-self: end;
  margin: 0;
  color: rgba(17, 20, 19, 0.78);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.6;
}

.capability-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.capability-panel {
  position: relative;
  min-height: clamp(23rem, 46vw, 39rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  text-decoration: none;
  background: #111413;
}

.capability-panel:first-child {
  grid-row: span 2;
}

.capability-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 8, 8, 0.02), rgba(6, 8, 8, 0.76) 72%),
    linear-gradient(90deg, rgba(6, 8, 8, 0.58), rgba(6, 8, 8, 0.02));
}

.capability-panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.1) brightness(0.86);
  transform: scale(1.01);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.capability-panel:hover img {
  filter: saturate(0.96) contrast(1.18) brightness(0.98);
  transform: scale(1.04);
}

.capability-panel > div {
  width: min(100%, 34rem);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.capability-panel span {
  display: block;
  width: fit-content;
  margin-bottom: 0.78rem;
  padding-bottom: 0.36rem;
  color: #66d9df;
  font-size: 0.75rem;
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.capability-panel h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 4vw, 4.8rem);
}

.capability-panel p {
  max-width: 28rem;
  margin: 0.8rem 0 0;
  color: rgba(243, 246, 242, 0.74);
  font-size: clamp(0.95rem, 1.25vw, 1.13rem);
}

.panel-cnc,
.panel-company {
  min-height: clamp(18rem, 24vw, 24rem);
}

.panel-cnc h2,
.panel-company h2 {
  font-size: clamp(1.8rem, 3vw, 3.25rem);
}

.process-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(147, 26, 29, 0.18), rgba(215, 154, 74, 0.08) 42%, rgba(102, 217, 223, 0.08)),
    #0b0e0d;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  max-width: 82rem;
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 82rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
}

.process-grid article {
  min-height: 16rem;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: rgba(7, 9, 9, 0.86);
}

.process-grid span {
  display: block;
  color: #d79a4a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-grid p {
  margin: 1rem 0 0;
  color: rgba(243, 246, 242, 0.76);
  font-size: clamp(1rem, 1.18vw, 1.15rem);
  line-height: 1.55;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.proof-strip span {
  flex: 1 1 12rem;
  min-height: 5rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: rgba(243, 246, 242, 0.76);
  background: #050606;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.home-contact {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  background: #f2f1ea;
  color: #111413;
}

.home-contact img {
  width: 100%;
  min-height: 18rem;
  object-fit: cover;
  border: 1px solid rgba(17, 20, 19, 0.16);
  background: #0b0e0d;
}

.home-contact .overline {
  color: #931a1d;
}

.home-contact h2 {
  max-width: 12ch;
  color: #111413;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
}

.home-contact p:not(.overline) {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(17, 20, 19, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.home-contact .button-primary {
  color: #f8faf6;
  background: #111413;
  border-color: #111413;
}

.home-contact .button-primary:hover {
  color: #080a0a;
  background: #66d9df;
  border-color: #66d9df;
}

.home-contact .button-secondary {
  color: #111413;
  border-color: rgba(17, 20, 19, 0.3);
  background: rgba(17, 20, 19, 0.04);
}

.home-contact .button-secondary:hover {
  border-color: #931a1d;
  background: rgba(147, 26, 29, 0.08);
}

@media (min-width: 901px) and (min-height: 650px) {
  .refreshed-home {
    display: block;
    height: auto;
    overflow: visible;
  }

  .refreshed-hero {
    height: auto;
    min-height: min(38rem, calc(100vh - 7.5rem));
  }
}

@media (max-width: 1000px) {
  .home-intro,
  .capability-showcase,
  .section-heading,
  .process-grid,
  .home-contact {
    grid-template-columns: 1fr;
  }

  .capability-panel:first-child {
    grid-row: auto;
  }

  .capability-panel,
  .panel-cnc,
  .panel-company {
    min-height: 23rem;
  }
}

@media (max-width: 720px) {
  .refreshed-hero {
    min-height: 40rem;
  }

  .refreshed-hero-panel {
    padding: 3.4rem 1rem 9rem;
  }

  .refreshed-hero-panel h1,
  .home-intro h2,
  .section-heading h2,
  .home-contact h2 {
    max-width: 100%;
  }

  .hero-facts {
    right: 1rem;
    bottom: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-facts div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 0;
  }

  .hero-facts div {
    padding: 0.75rem 0.55rem;
  }

  .hero-facts strong {
    font-size: clamp(0.9rem, 4.4vw, 1.1rem);
  }

  .hero-facts span {
    font-size: 0.55rem;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .home-intro,
  .process-section,
  .home-contact {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .capability-panel > div {
    padding: 1rem;
  }
}
