:root {
  color-scheme: dark;
  --ink: #07090c;
  --graphite: #111820;
  --graphite-2: #1b222c;
  --steel: #7f8a96;
  --mist: #cbd2da;
  --paper: #f3f0e8;
  --white: #ffffff;
  --red: #b71722;
  --red-dark: #841019;
  --metal: #b9a88f;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(8, 12, 17, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --font-display: "Aptos Display", "DIN Alternate", "Bahnschrift", "Segoe UI", sans-serif;
  --font-body: "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

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

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

button,
a {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--metal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(7, 9, 12, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 62px;
  height: 44px;
  object-fit: contain;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  max-width: 330px;
  margin-top: 4px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.language-link {
  border: 1px solid transparent;
  color: var(--mist);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 10px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.language-link:hover,
.language-link.is-active {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.menu-toggle span {
  font-size: 0;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  filter: saturate(0.95) contrast(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.94), rgba(7, 9, 12, 0.68) 44%, rgba(7, 9, 12, 0.18)),
    linear-gradient(0deg, rgba(7, 9, 12, 0.92), rgba(7, 9, 12, 0.04) 52%, rgba(7, 9, 12, 0.36));
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(780px, calc(100% - 48px));
  margin-left: max(28px, calc((100vw - 1180px) / 2));
  padding: 120px 0 190px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--metal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  color: var(--white);
  font-size: 68px;
  line-height: 0.95;
}

h2 {
  font-size: 42px;
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.hero-content p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.split-layout p,
.subhero .section-heading p:not(.eyebrow) {
  color: var(--mist);
  max-width: 700px;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.metrics-strip {
  position: absolute;
  z-index: 3;
  left: max(28px, calc((100vw - 1180px) / 2));
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.metric {
  padding: 22px;
  border-right: 1px solid rgba(7, 9, 12, 0.12);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: #4a525d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.band {
  padding: 92px max(28px, calc((100vw - 1180px) / 2));
}

.band-light {
  background: var(--paper);
  color: var(--ink);
}

.band-light .eyebrow,
.band-warm .eyebrow {
  color: var(--red);
}

.band-light p,
.band-warm p {
  color: #4d5560;
}

.band-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--graphite);
  color: var(--white);
}

.band-warm {
  background: #e9e3d6;
  color: var(--ink);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.band-dark .image-frame {
  border-color: var(--line);
}

.image-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.process-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-link {
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
  transition: background 180ms ease, transform 180ms ease;
}

.process-link:hover {
  background: rgba(183, 23, 34, 0.28);
  transform: translateY(-4px);
}

.process-link span,
.process-link small {
  display: block;
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
}

.process-link strong {
  display: block;
  margin: 18px 0 12px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.15;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.subhero {
  display: grid;
  gap: 44px;
  padding: 108px max(28px, calc((100vw - 1180px) / 2)) 78px;
  background:
    linear-gradient(90deg, rgba(183, 23, 34, 0.2), transparent 42%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}

.subhero .section-heading {
  max-width: 920px;
}

.subhero-image {
  overflow: hidden;
  border: 1px solid var(--line);
  max-height: 460px;
}

.subhero-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.statement-grid,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.statement,
.quality-item {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.68);
}

.statement span,
.quality-item span {
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--red);
}

.statement p,
.quality-item p {
  margin: 0;
  color: #202733;
  font-weight: 650;
}

.process-sections {
  display: grid;
  gap: 56px;
}

.process-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: stretch;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}

.process-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-copy {
  align-self: center;
}

.process-copy p:not(.eyebrow) {
  color: #4d5560;
  font-size: 17px;
}

.process-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.process-images img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  position: relative;
  padding-left: 18px;
  color: inherit;
  font-weight: 700;
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--red);
}

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

.machine-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 20px;
  min-height: 340px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.machine-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.machine-card h2 {
  font-size: 30px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 44px;
  border: 1px solid rgba(7, 9, 12, 0.16);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

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

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

.portfolio-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

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

.portfolio-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.portfolio-card div {
  padding: 16px;
}

.portfolio-card h3 {
  color: var(--ink);
  font-size: 20px;
}

.portfolio-card p {
  margin: 8px 0 0;
  color: #565f6a;
  font-weight: 700;
}

.contact-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.contact-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-panel dt {
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.legal-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.legal-list p {
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  border-left: 4px solid var(--red);
  color: #202733;
  font-weight: 650;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 36px max(28px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #050607;
  color: var(--mist);
}

.site-footer strong {
  color: var(--white);
}

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

.footer-legal {
  color: var(--white);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

  .menu-toggle {
    display: block;
  }

  .site-nav,
  .language-switcher {
    grid-column: 1 / -1;
  }

  .site-nav {
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header.is-open .language-switcher {
    display: flex;
  }

  .language-switcher {
    display: none;
  }

  .process-preview,
  .portfolio-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement-grid,
  .quality-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-top: 84px;
    padding-bottom: 300px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-content p:not(.eyebrow),
  .section-heading p:not(.eyebrow),
  .split-layout p,
  .subhero .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .metrics-strip {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric {
    padding: 16px;
  }

  .band,
  .subhero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .split-layout,
  .process-section,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .process-preview,
  .process-images,
  .statement-grid,
  .quality-grid,
  .machine-card,
  .portfolio-grid,
  .portfolio-grid.compact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .process-link {
    min-height: 130px;
  }

  .image-frame img,
  .subhero-image img,
  .process-images img {
    height: 280px;
  }

  .machine-card img {
    min-height: 230px;
  }
}

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

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