:root {
  color: #15231d;
  background: #f7f5ef;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  --brand: #058934;
  --brand-bright: #08a640;
  --forest: #063528;
  --forest-deep: #03281e;
  --ink: #17231e;
  --warm: #f7f5ef;
  --white: #fffefa;
  --line: #d8d9d2;
  --muted: #66716b;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* breathing room between homepage modules (sections stack flush by default) */
main > section + section {
  margin-top: clamp(48px, 5vw, 96px);
}
/* the products module sits flush against the workshop film above it */
main > section#products {
  margin-top: 0;
}

body,
button,
input,
select,
textarea {
  font-family: "Manrope", Arial, sans-serif;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
select {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #ffbd4a;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  color: white;
  background: var(--forest);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  height: 80px;
  padding: 0 clamp(24px, 4vw, 74px);
  border-bottom: 1px solid rgba(23, 35, 30, 0.14);
  background: rgba(255, 254, 250, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  width: 94px;
}

.brand img {
  width: 100%;
  height: auto;
}


.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  padding: 12px 0;
  background: rgba(255, 254, 250, 0.98);
  border: 1px solid rgba(23, 35, 30, 0.14);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 68px);
}

.primary-nav a,
.language-trigger {
  position: relative;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
}

.language-shell {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 5px;
}

.language-trigger svg {
  width: 14px;
  height: 14px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 22px 50px rgba(6, 53, 40, 0.16);
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: #edf4ef;
  font-size: 13px;
  font-weight: 700;
}

.language-menu p {
  margin: 11px 10px 5px;
  color: var(--muted);
  font-size: 11px;
}

.header-project,
.form-primary {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--brand);
  color: white;
  background: var(--brand);
  font-size: 12px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.header-project:hover,
.form-primary:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

.menu-toggle,
.mobile-project-link {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 80px);
  overflow: hidden;
  background: var(--forest);
}

.hero__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: settle-image 1.2s ease both;
}

.hero__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(38vw, 610px);
  min-width: 480px;
  min-height: calc(100svh - 80px);
  margin-left: auto;
  padding: clamp(60px, 7vw, 112px) clamp(46px, 5vw, 88px);
  color: white;
  background: rgba(3, 40, 30, 0.91);
  animation: reveal-panel 700ms ease both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

.section-mark {
  display: block;
  width: 31px;
  margin: 35px 0 28px;
  border-top: 2px solid var(--brand-bright);
}

.hero h1,
.products__intro h2,
.audience h2,
.audience h3,
.applications h2,
.rfq h2,
.rfq-success h3,
.process-stage h3 {
  margin: 0;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(64px, 5.5vw, 98px);
  line-height: 0.96;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 58px;
}

.button-link,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--brand-bright);
  color: white;
  background: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.button-link svg {
  width: 16px;
}

.outline-button {
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
}

.button-link:hover,
.outline-button:hover {
  border-color: white;
  background: white;
  color: var(--forest);
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
}

/* video banner: full workshop film, shown complete, under a centred headline */
.video-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--forest);
}

.video-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.video-banner__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 40, 30, 0.68) 0%, rgba(3, 40, 30, 0.5) 50%, rgba(3, 40, 30, 0.68) 100%);
}

.video-banner__content {
  position: relative;
  z-index: 2;
  width: min(1020px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) clamp(26px, 6vw, 80px);
  color: white;
  text-align: center;
}

.video-banner__rule {
  display: block;
  width: 46px;
  height: 2px;
  margin: 0 auto 22px;
  background: var(--brand-bright);
}

.video-banner h2 {
  margin: 20px 0 0;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.video-banner__copy {
  max-width: 62ch;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 820px) {
  .video-banner {
    aspect-ratio: auto;
    min-height: 58svh;
  }

  .video-banner__veil {
    background: rgba(3, 40, 30, 0.6);
  }

  .video-banner__content {
    width: 100%;
    padding: 48px 24px;
  }
}

.process {
  background: var(--warm);
}

.process-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 140px;
  padding: 0 clamp(24px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
}

.process-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 100px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 300;
  transition: color 180ms ease, background 180ms ease;
}

.process-tabs button:first-child {
  border-left: 1px solid var(--line);
}

.process-tabs button span {
  color: #75b08b;
  font-size: clamp(28px, 2.5vw, 44px);
}

.process-tabs button:hover,
.process-tabs button.is-active {
  color: var(--forest);
  background: #eaf0eb;
}

.process-tabs button.is-active span {
  color: var(--brand);
}

.process-stage {
  position: relative;
  height: min(72svh, 820px);
  min-height: 580px;
  overflow: hidden;
  background: var(--forest);
}

.process-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle-image 700ms ease both;
}

.process-stage__caption {
  position: absolute;
  right: clamp(24px, 6vw, 96px);
  bottom: clamp(24px, 6vw, 90px);
  width: min(390px, calc(100% - 48px));
  padding: 32px;
  color: white;
  background: rgba(3, 40, 30, 0.94);
}

.process-stage__caption h3 {
  margin-top: 16px;
  font-size: clamp(50px, 4.5vw, 74px);
}

.process-stage__caption > p:last-child {
  max-width: 33ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.75;
}

/* Autoplay progress: fills across the bottom of the stage, then advances. */
.process-carousel-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.process-carousel-bar > i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand, #75b08b);
}

@media (prefers-reduced-motion: reduce) {
  .process-carousel-bar {
    display: none;
  }
}

.products__intro {
  display: grid;
  grid-template-columns: 0.8fr 3.2fr;
  gap: 60px;
  align-items: end;
  min-height: 360px;
  padding: clamp(72px, 9vw, 140px) clamp(26px, 7vw, 118px);
  background: var(--white);
}

.products__intro h2 {
  max-width: none;
  font-size: clamp(50px, 4.6vw, 74px);
  line-height: 1.0;
}

.product-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

/* about split: real production photo beside a panel tinted with the photo's own colour */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--white);
}

.about-split__media {
  position: relative;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  background: var(--forest);
}

.about-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

.about-split__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 5.5vw, 88px) clamp(30px, 4.5vw, 74px);
  color: white;
  /* brand deep green panel */
  background: #1A3B32;
}

.about-split__panel h3 {
  margin: 0;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.about-split__copy {
  max-width: 46ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.85;
}

.about-split__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-size: 12px;
  font-weight: 700;
  transition: gap 180ms ease, border-color 180ms ease;
}

.about-split__link svg {
  width: 14px;
}

.about-split__link:hover,
.about-split__link:focus-visible {
  gap: 15px;
  border-color: white;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split__media {
    min-height: 62svh;
  }
}

.product-pair--dark {
  color: white;
  background: var(--forest);
}

.product-feature {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--forest);
}

.product-feature:last-child {
  border-right: 0;
}

.product-pair--dark .product-feature {
  border-color: rgba(255, 255, 255, 0.15);
}

.product-feature__copy {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 3.5vw, 54px);
  left: clamp(24px, 3.5vw, 54px);
  width: min(310px, calc(100% - 48px));
  padding: 22px 24px 20px;
  color: white;
  background: rgba(3, 40, 30, 0.9);
}

.product-feature--right .product-feature__copy {
  right: clamp(24px, 3.5vw, 54px);
  left: auto;
}

.product-feature__copy > p {
  margin: 0;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: clamp(44px, 4.8vw, 78px);
  font-weight: 300;
  line-height: 1;
}

.product-feature__copy h3 {
  margin: 9px 0 16px;
  font-size: 15px;
  font-weight: 500;
}

.product-feature__copy button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--brand-bright);
  color: white;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-feature:hover .product-feature__copy button,
.product-feature:focus-within .product-feature__copy button {
  opacity: 1;
  transform: translateY(0);
}

.product-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 450ms ease;
}

.product-feature:hover > img {
  transform: scale(1.025);
}

/* Six product views render on one fixed 1425 x 1040 design canvas
   (3 x 475 wide, 2 x 520 tall). The canvas is scaled as a single unit to fit
   the browser window, so narrowing the window keeps exactly the same 3 x 2
   composition — no reflow into 2 columns or 1 column, and every card, caption
   and photo shrinks by the same factor. At >= 1425px the scale is 1, i.e. the
   original full-bleed layout is completely unchanged. */
.views-stage {
  position: relative;
  width: 100%;
  height: 1040px; /* kept at 1040 x scale by app.js */
  overflow: hidden;
  background: var(--forest);
}

.product-pair--views {
  position: absolute;
  top: 0;
  /* Centre the fixed canvas on the stage, then scale around that same centre.
     (left/right:0 + margin:auto fails once the canvas is wider than the stage.) */
  left: 50%;
  margin-left: -712.5px; /* -1425 / 2 */
  width: 1425px;
  height: 1040px;
  grid-template-columns: repeat(3, 475px);
  grid-template-rows: repeat(2, 520px);
  transform: scale(var(--views-scale, 1));
  transform-origin: top center;
}

.product-pair--views > .product-feature {
  grid-column: span 1;
}

/* Every third card now ends a row, so the divider belongs on columns 1 and 2. */
.product-pair--views > .product-feature:nth-child(3n) {
  border-right: 0;
}

/* With three equal columns the old left/right alternation reads as ragged;
   keep all captions anchored to the same top-left corner. */
.product-pair--views > .product-feature--right .product-feature__copy {
  right: auto;
  left: clamp(24px, 3.5vw, 54px);
}

/* The model number is gone, so the product name becomes the headline.
   Keep the caption tight: no reserved second line, no tall gap above the CTA. */
.product-pair--views .product-feature__copy {
  width: min(276px, calc(100% - 44px));
  padding: 18px 20px 14px;
}

.product-pair--views .product-feature__copy h3 {
  min-height: 0;
  margin: 0 0 6px;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr 1.06fr;
  min-height: 620px;
  background: var(--forest);
}

.audience article {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.audience article > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.audience article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(3, 30, 23, 0.48);
  pointer-events: none;
}

.audience article:hover > img {
  transform: scale(1.025);
}

.audience article > div {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 4vw, 66px);
  bottom: clamp(32px, 5vw, 74px);
  left: clamp(28px, 4vw, 66px);
  color: white;
}

.audience__intro h2 {
  margin-top: 18px;
  font-size: clamp(52px, 4.4vw, 76px);
  line-height: 1;
}

.audience__path h3 {
  font-size: clamp(37px, 3vw, 53px);
  line-height: 1;
}

.audience__path p {
  max-width: 32ch;
  margin: 20px 0 22px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 13px;
  line-height: 1.75;
}

.audience__path button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--brand-bright);
  color: white;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.applications {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
  min-height: 460px;
  padding: 46px 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.applications__intro {
  padding: 26px clamp(24px, 3.8vw, 64px);
}

.applications__intro h2 {
  font-size: clamp(50px, 4.2vw, 74px);
  line-height: 0.96;
}

.application {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 8px solid var(--white);
  background: var(--white);
  text-align: left;
}

.application img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.application:hover img {
  transform: scale(1.025);
}

.application span {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 58px;
  padding: 0 18px;
  color: white;
  background: rgba(3, 40, 30, 0.9);
  font-size: 14px;
  font-weight: 600;
}

.application svg {
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.application:hover svg,
.application:focus-visible svg {
  opacity: 1;
  transform: translateX(0);
}

.rfq {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.7fr);
  gap: clamp(46px, 8vw, 130px);
  min-height: 760px;
  padding: clamp(80px, 9vw, 150px) clamp(26px, 7vw, 118px);
  background: var(--warm);
}

.rfq__intro h2 {
  margin-top: 22px;
  font-size: clamp(56px, 4.5vw, 78px);
  line-height: 0.98;
}

.rfq__intro > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.rfq-form {
  min-width: 0;
}

.rfq-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-bottom: 44px;
}

.rfq-progress button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 0 3px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.rfq-progress button span {
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: 38px;
  font-weight: 300;
}

.rfq-progress button.is-active {
  color: var(--forest);
}

.rfq-progress button.is-active span {
  color: var(--brand);
}

.rfq-progress__line {
  position: relative;
  height: 1px;
  margin: 0 22px;
  background: #aeb5b0;
}

.rfq-progress__line i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  background: var(--brand);
  transition: width 250ms ease;
}

.form-step {
  display: grid;
  gap: 24px;
  animation: step-in 260ms ease both;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-step > label,
.field-row label {
  display: grid;
  gap: 9px;
  align-content: start;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd1cc;
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 180ms ease, background 180ms ease;
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 106px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  background: white;
  outline: 2px solid rgba(5, 137, 52, 0.18);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b13b31;
}

.field-error {
  color: #a62e26;
  font-size: 11px;
  font-weight: 600;
}

.customer-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.customer-type legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
  font-size: 11px;
  font-weight: 700;
}

.customer-type label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #cdd1cc;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.customer-type label.is-selected {
  border-color: var(--brand);
  color: var(--forest);
  background: #e8f2eb;
}

.customer-type input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.customer-type .field-error {
  grid-column: 1 / -1;
}

.form-primary,
.form-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 12px;
  min-width: 170px;
}

.form-secondary {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #8b958f;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  gap: 12px;
}

.file-upload {
  display: flex !important;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border: 1px dashed #9aa59e;
  cursor: pointer;
}

.file-upload svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: var(--brand);
}

.file-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rfq-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 430px;
  padding: clamp(34px, 6vw, 76px);
  color: white;
  background: var(--forest);
}

.rfq-success > svg {
  width: 70px;
  height: 70px;
  margin-bottom: 34px;
  color: #58bd7b;
}

.rfq-success h3 {
  margin: 14px 0;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 1;
}

.rfq-success > p:last-of-type {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.rfq-success button {
  min-height: 46px;
  margin-top: 26px;
  padding: 0 20px;
  border: 1px solid white;
  color: white;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: start;
  padding: 64px clamp(26px, 5vw, 86px);
  color: white;
  background: var(--forest-deep);
}

.footer-brand {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
  align-items: start;
}

.footer-brand img {
  width: 90px;
}

.footer-brand p {
  max-width: 24ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.65;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer h2 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.site-footer h2 a {
  color: white;
  font-size: 12px;
}

.site-footer a,
.site-footer button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  font-size: 11.5px;
}

.site-footer a:hover,
.site-footer button:hover {
  color: white;
}

@keyframes reveal-panel {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes settle-image {
  from { opacity: 0.5; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 110px 1fr auto;
    padding-inline: 28px;
  }

  .primary-nav {
    gap: 26px;
  }

  .hero__panel {
    width: 43vw;
    min-width: 430px;
  }

  .applications {
    grid-template-columns: 0.78fr repeat(3, 1fr);
  }

  /* The product views keep their 3 x 2 composition here: the whole canvas is
     scaled by app.js instead of dropping to two columns. */

  .rfq {
    grid-template-columns: 270px 1fr;
    gap: 50px;
    padding-inline: 40px;
  }

  .site-footer {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 68px;
    padding: 0 18px;
  }

  .brand {
    width: 74px;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 36px 22px;
    color: white;
    background: var(--forest-deep);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    /* closed panel must not intercept taps: its children (e.g. the Products
       dropdown menu) stay visibility:visible, which would otherwise let this
       invisible full-screen overlay swallow touches on the page beneath */
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-family: "Barlow Condensed", Arial Narrow, sans-serif;
    font-size: 34px;
    font-weight: 300;
  }

  .primary-nav a::after {
    display: none;
  }

  .mobile-project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    margin-top: 30px;
    padding: 0 18px;
    border: 1px solid var(--brand-bright);
    color: white;
    background: var(--brand);
    font-weight: 700;
  }

  .header-project {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
  }

  .menu-toggle svg {
    width: 25px;
    height: 25px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__art img {
    object-position: center top;
  }

  .hero__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 32px 22px 28px;
    background: rgba(3, 40, 30, 0.58);
  }

  .hero__panel .section-mark {
    margin: 17px 0;
  }

  .hero h1 {
    max-width: 7ch;
    font-size: clamp(58px, 16vw, 76px);
  }

  .hero__actions {
    gap: 9px;
    margin-top: 28px;
  }

  .button-link,
  .outline-button {
    min-height: 48px;
    padding: 0 16px;
    font-size: 11px;
  }

  .button-link svg {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .process-tabs {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .process-tabs button {
    justify-content: flex-start;
    min-height: 76px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
  }

  .process-tabs button:first-child {
    border-left: 0;
  }

  .process-tabs button:nth-child(2n) {
    border-right: 0;
  }

  .process-tabs button span {
    font-size: 30px;
  }

  .process-stage {
    height: 72svh;
    min-height: 540px;
  }

  .process-stage > img {
    object-position: center;
  }

  .process-stage__caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    padding: 24px;
  }

  .process-stage__caption h3 {
    font-size: 56px;
  }

  .products__intro {
    display: block;
    min-height: auto;
    padding: 72px 22px;
  }

  .products__intro h2 {
    margin-top: 24px;
    font-size: 57px;
  }

  .product-pair {
    display: block;
    min-height: 0;
  }

  /* Phones return to normal flow: six stacked, full-width, readable cards.
     Keeping the scaled 3 x 2 canvas here would shrink the text to ~9px. */
  .views-stage {
    height: auto;
    overflow: visible;
    background: transparent;
  }

  .product-pair--views {
    position: static;
    left: auto;
    margin-left: 0;
    width: auto;
    height: auto;
    transform: none;
  }

  .product-feature {
    min-height: 62svh;
    aspect-ratio: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-pair--dark .product-feature {
    border-color: rgba(255, 255, 255, 0.15);
  }

  .product-pair--views > .product-feature:last-child {
    min-height: 62svh;
  }

  .product-feature__copy {
    top: 22px;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    padding: 20px;
  }

  /* Let the stacked mobile card use the full width; no two-line reserve needed. */
  .product-pair--views .product-feature__copy {
    width: auto;
    padding: 20px;
  }

  /* Undo the desktop top-left override for the originally right-aligned cards,
     otherwise their captions collapse to content width on narrow screens. */
  .product-pair--views > .product-feature--right .product-feature__copy {
    right: 22px;
    left: 22px;
  }

  .product-pair--views .product-feature__copy h3 {
    min-height: 0;
    font-size: clamp(30px, 8vw, 38px);
  }

  .product-feature__copy > p {
    font-size: 50px;
  }

  .product-feature__copy h3 {
    max-width: none;
    margin: 8px 0 12px;
    text-align: left;
  }

  .product-feature__copy button {
    position: static;
    opacity: 1;
    transform: none;
  }

  .product-feature > img {
    width: 100%;
    height: 100%;
  }

  .product-feature:hover > img {
    transform: scale(1.02);
  }

  .audience {
    display: block;
  }

  .audience article {
    min-height: 72svh;
  }

  .audience article > div {
    right: 24px;
    bottom: 36px;
    left: 24px;
  }

  .audience__intro h2 {
    font-size: 58px;
  }

  .audience__path h3 {
    font-size: 48px;
  }

  .applications {
    display: block;
    padding-top: 0;
  }

  .applications__intro {
    padding: 72px 22px 54px;
  }

  .applications__intro h2 {
    font-size: 58px;
  }

  .application {
    width: 100%;
    min-height: 56svh;
    aspect-ratio: auto;
    border: 0;
    border-top: 8px solid var(--white);
  }

  .application img {
    height: 100%;
  }

  .application span {
    top: 18px;
    right: 18px;
    bottom: auto;
    left: 18px;
    min-height: 62px;
    padding: 0 18px;
  }

  .application svg {
    opacity: 1;
    transform: none;
  }

  .rfq {
    display: block;
    min-height: 0;
    padding: 76px 22px;
  }

  .rfq__intro {
    margin-bottom: 54px;
  }

  .rfq__intro h2 {
    font-size: 58px;
  }

  .field-row,
  .customer-type {
    grid-template-columns: 1fr;
  }

  .customer-type .field-error,
  .customer-type legend {
    grid-column: auto;
  }

  .rfq-progress {
    margin-bottom: 34px;
  }

  .rfq-progress__line {
    margin: 0 11px;
  }

  .form-step {
    gap: 19px;
  }

  .field-row {
    gap: 19px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
  }

  .form-primary,
  .form-secondary {
    width: 100%;
    min-width: 0;
  }

  .rfq-success {
    min-height: 520px;
    padding: 30px 24px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 58px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
}

@media (max-width: 430px) {
  .language-trigger {
    font-size: 12px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .process-tabs button {
    gap: 9px;
    padding-inline: 13px;
    font-size: 20px;
  }

  .process-tabs button span {
    font-size: 26px;
  }

  .product-feature {
    min-height: 590px;
  }

  .audience article {
    min-height: 620px;
  }

  .application img {
    height: 100%;
  }

  .site-footer {
    gap: 34px 22px;
  }
}

/* Wide screens keep the ORIGINAL fluid full-bleed grid: three 1fr columns
   that grow with the window and a fixed 520px card height. The fixed design
   canvas is only used between 821px and 1439px, where preserving the 3 x 2
   composition matters more than keeping native pixel sizes. */
@media (min-width: 1440px) {
  .views-stage {
    height: auto;
    overflow: visible;
    background: transparent;
  }

  .product-pair--views {
    position: static;
    left: auto;
    margin-left: 0;
    width: auto;
    height: auto;
    grid-template-columns: repeat(3, 1fr);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   Mobile navigation: scrollable panel + collapsible sub-menus (home page).
   Same fix as the page stylesheets: the open panel must scroll, sub-menus stay
   collapsed until their parent row is tapped, and the closed panel must not
   intercept taps. Body-prefixed so it outranks app.css loaded after this file.
   ========================================================================== */
@media (max-width: 820px) {
  body .primary-nav:not(.is-open) { pointer-events: none; }
  body .primary-nav.is-open { pointer-events: auto; }

  body .primary-nav {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  }

  body .primary-nav .nav-dropdown-menu { display: none; }
  body .primary-nav .nav-dropdown.is-expanded .nav-dropdown-menu { display: block; }

  /* Neutralise the desktop hover rules inside the mobile panel: on a touch tap
     the browser fires :hover first, and the desktop rule shifts the submenu
     with translateX(-50%), moving the links out from under the finger so the
     tap misses them. */
  body .nav-dropdown:hover .nav-dropdown-menu,
  body .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  body .primary-nav .nav-dropdown:hover > a svg { transform: none; }

  /* the desktop hover highlight is a light block — too bright on the dark
     mobile panel and it sticks after a tap, so use a subtle translucent tint */
  body .primary-nav .nav-dropdown-menu a:hover,
  body .primary-nav .nav-dropdown-menu a:focus-visible {
    background: rgba(255, 255, 255, .07);
    color: #fff;
  }

  body .primary-nav .nav-dropdown > a {
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
  }
  body .primary-nav .nav-dropdown > a svg {
    display: block;
    width: 15px;
    height: 15px;
    flex: none;
    margin-left: 10px;
    transition: transform 220ms ease;
  }
  body .primary-nav .nav-dropdown.is-expanded > a svg { transform: rotate(180deg); }
}

/* ---------------------------------------------------------------------------
   Laptop / small-desktop widths (821-1439px).
   The four-column "complete system views" grid gives its intro column only
   ~130px at 1024px, so the display title breaks into six or seven one-word
   lines. Give the intro more room and let the hard <br> tags go on these
   widths only. >=1440px keeps its original composition untouched.
   --------------------------------------------------------------------------- */
@media (min-width: 821px) and (max-width: 1439px) {
  .applications {
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    /* the wider intro column makes the three tiles shorter, so the desktop
       460px floor would otherwise leave a large empty strip under the row */
    min-height: 0;
  }

  .applications__intro h2 {
    font-size: clamp(32px, 4.2vw, 60px);
    line-height: 1.02;
  }

  /* spaces were added before each <br> in the markup, so removing the
     line breaks here joins the words cleanly instead of gluing them together */
  .applications__intro h2 br {
    display: none;
  }
}
