/*
   EGE FORGE — Homepage
   Industrial editorial direction: documentary photography, restrained type,
   verifiable proof. This stylesheet is intentionally homepage-only.
*/

:root {
  --paper: #f2f0eb;
  --paper-deep: #e8e5df;
  --white: #ffffff;
  --ink: #111214;
  --ink-soft: #1a1b1e;
  --muted: #66686d;
  --line: rgba(17, 18, 20, 0.18);
  --line-dark: rgba(255, 255, 255, 0.18);
  --red: #e11f2b;
  --red-deep: #bd1520;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --container: 1480px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

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

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

body.home-v3 {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
}

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

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

.l-en {
  display: none !important;
}

html[lang="en"] .l-tr {
  display: none !important;
}

html[lang="en"] .l-en {
  display: revert !important;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.section-label::before {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding-block: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link::after {
  content: "↗";
  font-size: 1.05em;
}

.text-link:hover {
  gap: 1.05rem;
  color: var(--red);
}

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button::after {
  content: "→";
  font-size: 1.1em;
}

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

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

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

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  color: var(--white);
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.header-inner {
  display: grid;
  min-height: 6.1rem;
  align-items: center;
  grid-template-columns: minmax(170px, 220px) 1fr auto;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: clamp(10rem, 15vw, 12.5rem);
}

.brand img {
  width: 100%;
  height: auto;
  transition: opacity 180ms ease;
}

.brand__color {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}

.desktop-nav a {
  position: relative;
  padding-block: 0.55rem;
  font-size: 0.82rem;
  font-weight: 620;
  letter-spacing: 0.015em;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  font-weight: 750;
}

.language button {
  padding: 0.35rem;
  background: transparent;
  cursor: pointer;
  opacity: 0.48;
}

.language button.is-active {
  opacity: 1;
}

.language__divider {
  opacity: 0.35;
}

.header-rfq {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  gap: 0.85rem;
  padding-inline: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-rfq::after {
  content: "→";
}

.header-rfq:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 3rem;
  height: 3rem;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 0.7rem;
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle span:first-child {
  top: 1.15rem;
}

.menu-toggle span:last-child {
  top: 1.82rem;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 1.5rem;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 1.5rem;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  padding: 8.5rem var(--gutter) 3rem;
  visibility: hidden;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

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

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.65rem, 7vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.mobile-menu nav a::after {
  content: "↗";
  color: var(--red);
  font-family: var(--body);
  font-size: 0.85em;
  font-weight: 400;
}

.mobile-menu__contact {
  display: grid;
  margin-top: 2.5rem;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(242, 240, 235, 0.98);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .header-inner,
.site-header.is-menu-open .header-inner {
  border-color: transparent;
}

.site-header.is-scrolled .brand__white,
.site-header.is-menu-open .brand__white {
  opacity: 0;
}

.site-header.is-scrolled .brand__color,
.site-header.is-menu-open .brand__color {
  opacity: 1;
}

.site-header.is-scrolled .header-rfq {
  border-color: var(--ink);
}

.site-header.is-scrolled .header-rfq:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 47rem;
  height: 100svh;
  overflow: hidden;
  background: #171719;
  color: var(--white);
}

.hero__media,
.hero__media::after {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  filter: saturate(0.86) contrast(1.04);
}

.hero__media::after {
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.91) 0%, rgba(8, 8, 9, 0.63) 44%, rgba(8, 8, 9, 0.13) 76%),
    linear-gradient(0deg, rgba(8, 8, 9, 0.68) 0%, transparent 42%);
  content: "";
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: flex-end;
  padding-top: 9rem;
  padding-bottom: 10.4rem;
}

.hero__copy {
  width: min(100%, 75rem);
}

.hero__eyebrow {
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8.1vw, 8.7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
}

.hero h1.hero__slogan {
  max-width: 22ch;
  font-size: clamp(2.25rem, 3.6vw, 4rem);
  line-height: 1;
}

.hero__lead {
  max-width: 44rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  margin-top: 2.35rem;
  gap: 1.6rem;
}

.hero__actions .text-link {
  color: var(--white);
}

.hero__proof {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 9, 0.6);
}

.hero__proof-grid {
  display: grid;
  min-height: 7.25rem;
  grid-template-columns: repeat(4, 1fr);
}

.hero-proof {
  display: flex;
  align-items: center;
  padding: 1.2rem clamp(1rem, 2.2vw, 2rem);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.35;
}

.hero-proof:first-child {
  padding-left: 0;
}

.hero-proof:last-child {
  border-right: 0;
}

/* Introduction */
.intro {
  padding-block: clamp(7rem, 12vw, 11.5rem);
  background: var(--paper);
}

.intro__grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(4rem, 9vw, 10rem);
}

.intro h2 {
  max-width: 16ch;
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 560;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.intro__side {
  padding-top: 3.25rem;
}

.intro__text {
  margin: 0;
  color: #44464b;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
}

.proof-list {
  margin: 3rem 0 0;
  border-bottom: 1px solid var(--line);
}

.proof-item {
  display: grid;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.proof-item strong {
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

/* Production explorer */
.production {
  padding-block: clamp(6.5rem, 11vw, 10rem);
  background: var(--ink);
  color: var(--white);
}

.production__header {
  display: grid;
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 3rem;
}

.production__header h2 {
  max-width: 13ch;
  margin: 1.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.production__header p:last-child {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

.production .section-label {
  color: #ff4b53;
}

.process-explorer {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(3rem, 7vw, 8rem);
}

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

.process-step {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 5.7rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  text-align: left;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 1rem;
  transition: color 180ms ease, padding-left 180ms ease;
}

.process-step::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transition: width 220ms ease;
}

.process-step__number {
  font-size: 0.75rem;
  font-weight: 700;
}

.process-step__copy {
  display: grid;
  gap: 0.08rem;
}

.process-step__title {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 580;
  line-height: 1.25;
}

.process-step__desc {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.process-step__arrow {
  font-size: 1.25rem;
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.process-step:hover,
.process-step.is-active {
  padding-left: 0.65rem;
  color: var(--white);
}

.process-step.is-active::before {
  width: 100%;
}

.process-step:hover .process-step__desc,
.process-step.is-active .process-step__desc {
  color: rgba(255, 255, 255, 0.7);
}

.process-step:hover .process-step__arrow,
.process-step.is-active .process-step__arrow {
  opacity: 1;
  transform: translateX(0);
}

.process-figure {
  position: sticky;
  top: 8rem;
  margin: 0;
}

.process-figure__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #232428;
}

.process-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transition: opacity 150ms ease, transform 500ms ease;
}

.process-figure.is-changing img {
  opacity: 0.35;
  transform: scale(1.008);
}

.process-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.process-figure figcaption strong {
  color: var(--white);
  font-weight: 620;
}

/* Products */
.products {
  padding-block: clamp(7rem, 12vw, 11rem);
  background: var(--paper);
}

.products__header {
  display: grid;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 3rem;
}

.products__header h2 {
  max-width: 13ch;
  margin: 1.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.products__intro {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.product-item {
  position: relative;
  display: grid;
  min-width: 0;
  background: var(--white);
}

.product-item--primary {
  grid-row: 1 / 3;
}

.product-item__media {
  display: flex;
  min-height: 20rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 4.5rem);
}

.product-item--primary .product-item__media {
  min-height: 44rem;
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 320ms ease;
}

.product-item:hover img {
  transform: scale(1.018);
}

.product-item__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
}

.product-item__label::after {
  content: "↗";
  color: var(--red);
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 400;
}

.product-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.product-directory {
  display: grid;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.product-directory a {
  display: flex;
  min-height: 4.7rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 620;
  transition: color 180ms ease, padding-left 180ms ease;
}

.product-directory a:not(:nth-child(3n + 1)) {
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}

.product-directory a::after {
  content: "→";
  color: var(--red);
  font-size: 1.1rem;
}

.product-directory a:hover {
  padding-left: 0.45rem;
  color: var(--red);
}

.product-directory a:not(:nth-child(3n + 1)):hover {
  padding-left: 1.55rem;
}

/* Quality */
.quality {
  padding-block: clamp(6.5rem, 11vw, 10rem);
  background: var(--ink-soft);
  color: var(--white);
}

.quality__layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(4rem, 8vw, 9rem);
}

.quality__copy h2 {
  max-width: 12ch;
  margin: 1.4rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.quality__copy > p:not(.section-label) {
  max-width: 35rem;
  margin: 0 0 2.2rem;
  color: rgba(255, 255, 255, 0.66);
}

.quality__media {
  position: relative;
  margin: 0;
}

.quality__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.quality__media figcaption {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
}

.certificate {
  display: grid;
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  background: var(--paper);
  color: var(--ink);
  grid-template-columns: 0.75fr 1.35fr 1fr auto;
}

.certificate__cell {
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem clamp(1.2rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--line);
}

.certificate__cell span {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.certificate__cell strong {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 620;
  line-height: 1.25;
}

.certificate__cell p {
  margin: 0;
  color: #42444a;
  font-size: 0.83rem;
  line-height: 1.5;
}

.certificate__link {
  display: flex;
  min-width: 10rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  transition: background-color 180ms ease;
}

.certificate__link::after {
  content: "↗";
}

.certificate__link:hover {
  background: var(--red-deep);
}

/* Contact / RFQ */
.contact {
  padding-block: clamp(7rem, 12vw, 11rem);
  background: var(--paper);
}

.contact__grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(4rem, 9vw, 10rem);
}

.contact__intro {
  position: sticky;
  top: 8rem;
}

.contact__intro h2 {
  max-width: 11ch;
  margin: 1.4rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5.8vw, 6.4rem);
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

.contact__intro > p:not(.section-label) {
  max-width: 33rem;
  margin: 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  margin-top: 3.2rem;
  border-bottom: 1px solid var(--line);
}

.contact-detail {
  display: grid;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
}

.contact-detail span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-detail strong,
.contact-detail a {
  font-size: 0.92rem;
  font-weight: 630;
  line-height: 1.45;
}

.contact-detail a:hover {
  color: var(--red);
}

.rfq-form {
  display: grid;
  padding-top: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: #4f5156;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9a9996;
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  outline: 0;
  transition: border-color 180ms ease;
}

.field input {
  min-height: 3.25rem;
}

.field textarea {
  min-height: 8rem;
  padding-block: 0.8rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #999a9d;
}

.file-field {
  position: relative;
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.file-field:hover,
.file-field.has-file {
  border-color: var(--ink);
  background: var(--white);
}

.file-field__copy {
  display: grid;
  gap: 0.15rem;
}

.file-field__copy strong {
  font-size: 0.85rem;
  font-weight: 650;
}

.file-field__copy span {
  color: var(--muted);
  font-size: 0.72rem;
}

.file-field__action {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 1.35rem;
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  gap: 1.5rem;
}

.form-footer p {
  max-width: 29rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

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

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--red);
  background: var(--white);
  font-size: 0.84rem;
}

.form-status[hidden] {
  display: none;
}

.rfq-form.is-sending .button {
  cursor: wait;
  opacity: 0.58;
}

/* Footer */
.site-footer {
  padding-top: 5rem;
  background: var(--ink);
  color: var(--white);
}

.footer__main {
  display: grid;
  padding-bottom: 4.5rem;
  grid-template-columns: minmax(14rem, 1.1fr) repeat(2, minmax(10rem, 0.45fr));
  gap: 4rem;
}

.footer__brand > a {
  display: inline-flex;
  width: min(100%, 12rem);
  align-items: center;
}

.footer__brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 473 / 153;
  object-fit: contain;
}

.footer__brand p {
  max-width: 29rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

.footer__nav {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer__nav h3 {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.74rem;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__legal a:hover {
  color: var(--white);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav a {
    font-size: 0.75rem;
  }

  .header-rfq {
    display: none;
  }

  .header-inner {
    grid-template-columns: minmax(170px, 210px) 1fr auto;
  }

  .certificate {
    grid-template-columns: repeat(3, 1fr);
  }

  .certificate__link {
    min-height: 4.5rem;
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 5.3rem;
    grid-template-columns: 1fr auto auto;
  }

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

  .menu-toggle,
  .mobile-menu {
    display: block;
  }

  .intro__grid,
  .production__header,
  .products__header,
  .quality__layout,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .intro__side {
    max-width: 42rem;
    padding-top: 0;
  }

  .production__header,
  .products__header {
    gap: 1.5rem;
  }

  .process-explorer {
    grid-template-columns: 1fr;
  }

  .process-figure {
    position: static;
    grid-row: 1;
  }

  .process-list {
    grid-row: 2;
  }

  .product-item--primary .product-item__media {
    min-height: 36rem;
  }

  .quality__copy {
    max-width: 44rem;
  }

  .quality__media {
    max-width: 56rem;
  }

  .contact__intro {
    position: static;
  }

  .contact__intro h2 {
    max-width: 14ch;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .section-label {
    font-size: 0.7rem;
  }

  .hero {
    min-height: 46rem;
    height: 100svh;
  }

  .hero__media img {
    object-position: 56% center;
  }

  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(8, 8, 9, 0.86), rgba(8, 8, 9, 0.32)),
      linear-gradient(0deg, rgba(8, 8, 9, 0.78) 0%, rgba(8, 8, 9, 0.08) 62%);
  }

  .hero__inner {
    padding-bottom: 10.8rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16.5vw, 5.3rem);
  }

  .hero h1.hero__slogan {
    max-width: 20ch;
    font-size: clamp(2rem, 8.5vw, 3rem);
    line-height: 1;
  }

  .hero__lead {
    max-width: 31rem;
    font-size: 0.96rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.1rem;
  }

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

  .hero-proof {
    min-height: 3.85rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
  }

  .hero-proof:first-child {
    padding-left: 0;
  }

  .hero-proof:nth-child(2) {
    border-right: 0;
  }

  .hero-proof:nth-child(n + 3) {
    border-bottom: 0;
  }

  .proof-item {
    grid-template-columns: 5.4rem 1fr;
  }

  .process-step {
    grid-template-columns: 2.6rem 1fr auto;
  }

  .process-figure__frame {
    aspect-ratio: 5 / 4;
  }

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

  .product-item--primary {
    grid-row: auto;
  }

  .product-item--primary .product-item__media,
  .product-item__media {
    min-height: 22rem;
  }

  .product-directory {
    grid-template-columns: 1fr;
  }

  .product-directory a,
  .product-directory a:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .product-directory a:hover,
  .product-directory a:not(:nth-child(3n + 1)):hover {
    padding-left: 0.45rem;
  }

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

  .certificate__cell {
    min-height: auto;
    padding: 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .field--full,
  .form-footer,
  .form-status {
    grid-column: 1;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom,
  .footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__bottom {
    justify-content: center;
    padding-block: 1.4rem;
    gap: 0.55rem;
  }
}

@media (max-width: 460px) {
  .header-actions {
    gap: 0.2rem;
  }

  .language {
    font-size: 0.68rem;
  }

  .hero__eyebrow {
    font-size: 0.68rem;
  }

  .product-item--primary .product-item__media,
  .product-item__media {
    min-height: 18rem;
    padding: 1.35rem;
  }
}

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

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

@media print {
  .site-header,
  .mobile-menu,
  .hero__actions,
  .rfq-form,
  .site-footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    height: auto;
    padding: 3rem 0;
    background: var(--white);
    color: var(--ink);
  }

  .hero__media,
  .hero__proof {
    display: none;
  }

  .hero__inner {
    padding: 0;
  }

  .hero__lead {
    color: var(--ink);
  }

  .production,
  .quality {
    background: var(--white);
    color: var(--ink);
  }
}
