:root {
  --ink: #17130d;
  --asphalt: #201b14;
  --asphalt-2: #33291e;
  --molten: #e8782d;
  --gold: #ffd36a;
  --sage: #7f9b72;
  --clay: #b6542a;
  --cream: #fff8e8;
  --paper: #f4ead4;
  --paper-2: #e9dfc7;
  --line: rgba(23, 19, 13, 0.16);
  --line-light: rgba(255, 248, 232, 0.18);
  --muted: #746857;
  --white: #fffdf6;
  --shadow: 0 28px 86px rgba(40, 27, 13, 0.17);
  --max: 1180px;
  --side: clamp(20px, 5vw, 74px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 19, 13, 0.055) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(180deg, rgba(23, 19, 13, 0.04) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(135deg, #fff6df 0%, #eadfc4 52%, #f8edcf 100%);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 211, 106, 0.15), transparent 34%),
    linear-gradient(90deg, rgba(32, 27, 20, 0.08), transparent 18%, transparent 82%, rgba(32, 27, 20, 0.08));
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--gold);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 6px;
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 4px;
  background: rgba(32, 27, 20, 0.16);
}

.scroll-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--molten), var(--gold), var(--sage));
}

.identity-rail {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 25;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 56px;
  height: 100svh;
  padding: 28px 0;
  color: var(--cream);
  background: var(--asphalt);
  border-right: 1px solid rgba(255, 248, 232, 0.14);
}

.identity-rail span,
.identity-rail strong {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: center;
  text-transform: uppercase;
}

.identity-rail span {
  font-size: 0.73rem;
  font-weight: 850;
}

.identity-rail strong {
  padding-top: 26px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

main {
  position: relative;
}

.hero-shell {
  position: relative;
  min-height: 100svh;
  margin-left: 56px;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  background: var(--asphalt);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  filter: saturate(1.16) contrast(1.08);
  transform: translateY(calc(var(--scene-shift, 0) * -30px)) scale(1.02);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(22, 14, 7, 0.92) 0%, rgba(22, 14, 7, 0.7) 38%, rgba(22, 14, 7, 0.2) 70%, rgba(22, 14, 7, 0.84) 100%),
    linear-gradient(180deg, rgba(22, 14, 7, 0.12), rgba(22, 14, 7, 0.94));
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.08) 1px, transparent 1px) 0 0 / 12vw 100%,
    linear-gradient(180deg, transparent 0 93%, rgba(232, 120, 45, 0.18) 93% 94%, transparent 94%);
  mix-blend-mode: screen;
}

.flow-grid {
  position: absolute;
  inset: 11vh 6vw auto auto;
  z-index: -2;
  width: min(58vw, 760px);
  height: min(48vh, 460px);
  opacity: 0.72;
  pointer-events: none;
}

.flow-grid span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--molten), transparent);
  transform: skewY(-10deg);
}

.flow-grid span:nth-child(1) {
  top: 8%;
}

.flow-grid span:nth-child(2) {
  top: 34%;
  left: 10%;
}

.flow-grid span:nth-child(3) {
  top: 62%;
  right: 8%;
}

.flow-grid span:nth-child(4) {
  top: 86%;
  left: 24%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: clamp(32px, 5vw, 76px);
  min-height: calc(100svh - 74px);
  width: min(var(--max), calc(100% - (var(--side) * 2)));
  margin: 0 auto;
  padding: clamp(118px, 15vh, 170px) 0 112px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--molten);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.hero-copy .kicker,
.application-section .kicker,
.unit-one-section .kicker,
.contact-section .kicker {
  color: var(--gold);
}

.hero-copy h1 {
  max-width: 860px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(3rem, 4.45vw, 5.25rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 248, 232, 0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.65;
}

.spec-ledger {
  align-self: end;
  display: grid;
  align-content: stretch;
  min-height: auto;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.13), rgba(255, 248, 232, 0.045)),
    rgba(32, 27, 20, 0.4);
  border-left: 1px solid rgba(255, 248, 232, 0.2);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.22);
}

.spec-ledger div {
  padding: 23px 26px;
  border-top: 1px solid rgba(255, 248, 232, 0.18);
}

.spec-ledger span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 248, 232, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.spec-ledger strong {
  display: block;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.35;
}

.hero-shell [data-animate],
body.motion-ready .hero-shell [data-animate] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1 span {
    animation: heroLineIn 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-copy h1 span:nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-copy h1 span:nth-child(3) {
    animation-delay: 160ms;
  }

  .hero-copy h1 span:nth-child(4) {
    animation-delay: 240ms;
  }

  .spec-ledger > div {
    animation: heroPanelIn 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .spec-ledger > div:nth-child(2) {
    animation-delay: 120ms;
  }

  .spec-ledger > div:nth-child(3) {
    animation-delay: 240ms;
  }

  .spec-ledger > div:nth-child(4) {
    animation-delay: 360ms;
  }
}

@keyframes heroLineIn {
  from {
    opacity: 1;
    transform: translateY(0.72em) rotateX(-22deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes heroPanelIn {
  from {
    opacity: 1;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-copy h1 span,
.spec-ledger > div {
  animation: none !important;
}

.material-strip {
  position: absolute;
  left: 56px;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  overflow: hidden;
  color: var(--ink);
  background: var(--gold);
  border-top: 1px solid rgba(255, 248, 232, 0.32);
  scrollbar-width: none;
}

.material-strip::-webkit-scrollbar {
  display: none;
}

.material-strip span {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 18px clamp(22px, 4vw, 46px);
  border-right: 1px solid rgba(23, 19, 13, 0.24);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-dock {
  position: sticky;
  top: 14px;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 60;
  display: flex;
  gap: 6px;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 7px;
  overflow-x: auto;
  color: var(--ink);
  background: rgba(255, 248, 232, 0.8);
  border: 1px solid rgba(23, 19, 13, 0.14);
  border-radius: 8px;
  transform: none;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(40, 27, 13, 0.12);
}

.section-dock a {
  flex: 1 0 auto;
  padding: 11px 14px;
  border-radius: 6px;
  color: rgba(23, 19, 13, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.section-dock a:hover,
.section-dock a.is-active {
  color: var(--ink);
  background: var(--gold);
}

.section-dock a:hover {
  transform: translateY(-1px);
}

.section {
  position: relative;
  margin-left: 56px;
  padding: clamp(86px, 10vw, 138px) var(--side);
}

.section > * {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-index {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(42px, 5vw, 76px);
  color: var(--ink);
}

.section-index::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.section-index span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--asphalt);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.section-index strong {
  order: 3;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-index.dark {
  color: var(--cream);
}

.section-index.dark::after {
  background: var(--line-light);
}

.section-index.dark strong {
  color: rgba(255, 248, 232, 0.65);
}

.wide-grid,
.application-grid,
.products-head,
.unit-layout,
.unit-two-layout,
.clients-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.wide-grid > div:first-child,
.products-head > div:first-child,
.unit-layout > div:last-child,
.unit-two-layout > div:first-child,
.clients-layout > div:first-child,
.contact-grid > div:first-child {
  position: sticky;
  top: 118px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.6vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  max-width: 74ch;
}

.content-stack {
  display: grid;
  gap: 18px;
  color: #4c4031;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
}

.content-stack p {
  margin: 0;
}

.origin-section {
  background:
    linear-gradient(135deg, rgba(232, 120, 45, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(23, 19, 13, 0.045) 1px, transparent 1px) 0 0 / 78px 78px,
    var(--paper);
}

.process-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(270px, 1fr));
  gap: 18px;
  margin-top: clamp(48px, 6vw, 78px);
}

.process-gallery figure,
.application-media figure,
.product-media-row figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--asphalt);
  box-shadow: var(--shadow);
}

.process-gallery figure:first-child {
  grid-row: span 2;
}

.process-gallery img,
.process-gallery video,
.application-media img,
.product-media-row img,
.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease, filter 650ms ease;
}

.process-gallery figure:hover img,
.process-gallery figure:hover video,
.application-media figure:hover img,
.product-media-row figure:hover img,
.unit-image:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.04);
}

.process-gallery figcaption,
.application-media figcaption,
.product-media-row figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  color: var(--cream);
  background: rgba(32, 27, 20, 0.76);
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
}

.application-section,
.unit-one-section,
.contact-section {
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(255, 211, 106, 0.08) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, var(--asphalt), var(--asphalt-2));
}

.application-section h2,
.application-section h3,
.unit-one-section h2,
.unit-one-section h3,
.contact-section h2 {
  color: var(--cream);
}

.application-section p,
.unit-one-section p,
.contact-section p {
  color: rgba(255, 248, 232, 0.76);
}

.application-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.application-grid article {
  min-height: 350px;
  padding: 28px 22px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 220ms ease, transform 220ms ease;
}

.application-grid article:hover {
  transform: translateY(-8px);
  background: rgba(255, 211, 106, 0.08);
}

.application-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.application-grid p {
  margin: 18px 0 0;
}

.application-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: clamp(48px, 6vw, 78px);
}

.products-section {
  background:
    linear-gradient(135deg, rgba(127, 155, 114, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(23, 19, 13, 0.05) 1px, transparent 1px) 0 0 / 78px 78px,
    #fff6df;
}

.products-head {
  align-items: end;
}

.products-head > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.product-register {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.product-register article {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 253, 246, 0.78);
  transition: background 220ms ease, transform 220ms ease;
}

.product-register article:hover {
  transform: translateY(-6px);
  background: var(--white);
}

.product-register span {
  display: block;
  margin-bottom: 28px;
  color: var(--molten);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.product-register p {
  margin: 18px 0 0;
  color: #4d4335;
}

.product-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.unit-layout {
  align-items: center;
}

.unit-image {
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.fact-list {
  display: grid;
  gap: 1px;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: var(--line-light);
}

.fact-list div {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 248, 232, 0.06);
}

.fact-list dt {
  color: var(--gold);
  font-weight: 900;
}

.fact-list dd {
  margin: 0;
  color: rgba(255, 248, 232, 0.76);
}

.unit-two-section {
  background:
    linear-gradient(135deg, rgba(232, 120, 45, 0.11), transparent 34%),
    var(--paper);
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workflow-board div {
  min-height: 230px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(40, 27, 13, 0.08);
}

.workflow-board span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--asphalt);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.workflow-board strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.workflow-board p {
  margin: 14px 0 0;
  color: var(--muted);
}

.unit-address {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 24px;
  margin-top: 18px;
  padding: 26px;
  color: var(--cream);
  background: var(--asphalt);
  border-radius: 8px;
}

.unit-address strong {
  color: var(--gold);
}

.clients-section {
  background: linear-gradient(180deg, #fff6df, #eee2c8);
}

.name-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.name-wall span {
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(40, 27, 13, 0.06);
}

.contact-grid address {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.06);
  font-style: normal;
}

.contact-grid address a,
.contact-grid address span {
  display: block;
  min-width: 0;
  padding: 14px 0;
  color: rgba(255, 248, 232, 0.78);
  border-bottom: 1px solid var(--line-light);
  overflow-wrap: anywhere;
}

.contact-grid address a {
  color: var(--gold);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 900;
  text-decoration: none;
}

body.motion-ready [data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.motion-ready [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  body.motion-ready [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .application-grid,
  .product-register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .identity-rail {
    display: none;
  }

  .hero-shell,
  .section {
    margin-left: 0;
  }

  .material-strip {
    left: 0;
  }

  .hero-grid,
  .wide-grid,
  .products-head,
  .unit-layout,
  .unit-two-layout,
  .clients-layout,
  .contact-grid,
  .unit-address {
    grid-template-columns: 1fr;
  }

  .wide-grid > div:first-child,
  .products-head > div:first-child,
  .unit-layout > div:last-child,
  .unit-two-layout > div:first-child,
  .clients-layout > div:first-child,
  .contact-grid > div:first-child {
    position: static;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .spec-ledger {
    min-height: auto;
  }

  .process-gallery,
  .application-media,
  .product-media-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .process-gallery figure:first-child {
    grid-row: auto;
  }

  .process-gallery figure,
  .application-media figure,
  .product-media-row figure,
  .unit-image {
    min-height: clamp(260px, 64vw, 520px);
  }
}

@media (max-width: 720px) {
  :root {
    --side: 18px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-dock {
    top: 8px;
    width: calc(100% - 20px);
    justify-content: flex-start;
  }

  .section-dock a {
    flex: 0 0 auto;
    padding: 10px 12px;
    font-size: 0.72rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 12.8vw, 3.45rem);
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-grid {
    width: calc(100% - 36px);
    gap: 26px;
  }

  .lead {
    font-size: 1rem;
  }

  .flow-grid {
    width: 145vw;
    right: -48vw;
    top: 20svh;
  }

  .material-strip {
    overflow-x: auto;
  }

  .material-strip span {
    flex: 0 0 auto;
    padding: 14px 22px;
  }

  .section-index {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    margin-bottom: 34px;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .application-grid,
  .product-register,
  .workflow-board,
  .fact-list div {
    grid-template-columns: 1fr;
  }

  .application-grid article,
  .product-register article {
    min-height: auto;
  }
}

/* Final content-first layout pass. */
.hero-shell {
  min-height: 82svh;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: calc(82svh - 58px);
  padding: clamp(96px, 12svh, 136px) 0 76px;
}

.hero-copy {
  max-width: 800px;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3.25rem, 5.45vw, 5.55rem);
}

.flow-grid {
  inset: 2svh -2vw auto auto;
  width: min(50vw, 690px);
  height: min(38svh, 360px);
  opacity: 0.58;
}

.process-gallery figure,
.application-media figure,
.product-media-row figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
}

.process-gallery img,
.process-gallery video,
.application-media img,
.product-media-row img {
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.process-gallery figcaption,
.application-media figcaption,
.product-media-row figcaption {
  position: static;
  grid-row: 2;
  min-height: 0;
  padding: 13px 15px;
  border: 0;
  border-top: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 0;
  color: var(--cream);
  background: var(--asphalt);
  backdrop-filter: none;
  font-size: 0.85rem;
  line-height: 1.42;
}

.contact-section {
  padding-top: clamp(56px, 5vw, 78px);
  padding-bottom: clamp(60px, 5vw, 82px);
}

.contact-section .section-index {
  margin-bottom: 24px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

.contact-grid > div:first-child {
  position: static;
}

.contact-grid h2 {
  max-width: 430px;
  font-size: clamp(1.8rem, 2.55vw, 2.7rem);
}

@media (max-width: 720px) {
  .hero-shell {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 104px 0 86px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .flow-grid {
    inset: 5svh -40vw auto auto;
    width: 130vw;
    height: 34svh;
    opacity: 0.46;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid h2 {
    max-width: 100%;
  }
}

/* Client review polish pass: tighter rhythm, stable media, cleaner reference sections. */
.hero-shell {
  min-height: 86svh;
}

.hero-grid {
  min-height: calc(86svh - 64px);
  align-items: center;
  padding: clamp(74px, 10vh, 112px) 0 92px;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.35rem, 6.4vw, 6rem);
  line-height: 0.95;
}

.hero-copy .lead {
  max-width: 610px;
  margin-top: 18px;
}

.spec-ledger {
  align-self: center;
  max-width: 410px;
  justify-self: end;
}

.flow-grid {
  top: 4svh;
  width: min(54vw, 700px);
  height: min(40vh, 390px);
}

.section {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(64px, 7vw, 104px);
}

.section-index {
  margin-bottom: clamp(24px, 3.6vw, 44px);
}

.wide-grid,
.products-head,
.unit-layout,
.unit-two-layout,
.clients-layout,
.contact-grid {
  gap: clamp(28px, 4.5vw, 58px);
}

.wide-grid > div:first-child,
.products-head > div:first-child,
.unit-layout > div:last-child,
.unit-two-layout > div:first-child,
.clients-layout > div:first-child,
.contact-grid > div:first-child {
  top: 96px;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.25vw, 3.85rem);
  line-height: 1.04;
}

.contact-grid h2 {
  max-width: 560px;
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  line-height: 1.04;
}

.content-stack {
  gap: 14px;
  font-size: 1.02rem;
}

.process-gallery {
  grid-template-rows: repeat(2, minmax(220px, 260px));
  margin-top: clamp(34px, 4.6vw, 58px);
}

.process-gallery figure,
.application-media figure,
.product-media-row figure {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.process-gallery figure:first-child {
  aspect-ratio: auto;
}

.process-gallery video {
  object-fit: contain;
  background: #201b14;
}

.application-grid article {
  min-height: 280px;
}

.application-grid span {
  margin-bottom: 36px;
}

.application-media,
.product-register {
  margin-top: clamp(34px, 4.6vw, 58px);
}

.product-register article {
  min-height: 225px;
}

.unit-image {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.unit-image img {
  height: 100%;
}

.workflow-board div {
  min-height: 190px;
}

.clients-section h2 {
  max-width: 560px;
  font-size: clamp(2rem, 2.85vw, 3.35rem);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.logo-card {
  display: grid;
  align-content: space-between;
  min-height: 122px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 253, 246, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(40, 27, 13, 0.07);
}

.logo-card img {
  width: auto;
  max-width: 130px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.logo-card span {
  display: block;
  margin-top: 16px;
  color: #594d3e;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-card.text-logo strong {
  display: block;
  color: var(--molten);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.05;
}

.contact-section {
  background: linear-gradient(180deg, #201b14, #17130d);
}

.contact-grid address {
  gap: 0;
  background: rgba(32, 27, 20, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.contact-grid address a,
.contact-grid address span {
  padding: 13px 0;
}

.contact-grid address a {
  font-size: clamp(1.05rem, 1.45vw, 1.26rem);
}

@media (max-width: 920px) {
  .hero-shell {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 96px;
  }

  .spec-ledger {
    justify-self: stretch;
    max-width: none;
  }

  .process-gallery,
  .application-media,
  .product-media-row,
  .logo-wall {
    grid-template-columns: 1fr;
  }

  .process-gallery figure:first-child {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(3.1rem, 16vw, 4.35rem);
  }

  h2,
  .contact-grid h2 {
    font-size: clamp(1.85rem, 9.4vw, 2.8rem);
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .spec-ledger {
    width: var(--mobile-content);
    max-width: var(--mobile-content);
  }

  .spec-ledger strong {
    width: auto;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .section-index {
    margin-bottom: 18px;
  }

  .wide-grid,
  .products-head,
  .unit-layout,
  .unit-two-layout,
  .unit-address,
  .process-gallery,
  .application-grid,
  .application-media,
  .product-register,
  .product-media-row,
  .clients-layout,
  .contact-grid,
  .workflow-board,
  .logo-wall {
    width: var(--mobile-content);
    max-width: var(--mobile-content);
    min-height: 0;
    margin-left: var(--gutter);
    margin-right: auto;
    padding: 0;
    gap: 22px;
  }

  .wide-grid > div:first-child,
  .products-head > div:first-child,
  .unit-layout > div:last-child,
  .unit-two-layout > div:first-child,
  .clients-layout > div:first-child,
  .contact-grid > div:first-child {
    position: static !important;
    top: auto !important;
  }
}
