/* ==========================================================================
   County Polypack Pvt. Ltd. — site stylesheet
   Brand: orange #F5821F / graphite #58595B (from the logo artwork)
   Type:  Outfit (display + text), Barlow Condensed (labels, years, specs)
   ========================================================================== */

:root {
  --ink: #16171a;
  --ink-2: #1e2024;
  --ink-3: #2a2c31;
  --graphite: #58595b;
  --steel: #808285;
  --mist: #9d9fa2;

  --orange: #f5821f;
  --orange-ink: #b34e05; /* orange that passes contrast as text on light */
  --amber: #f99d1b;

  --paper: #ffffff;
  --stone: #f4f3f0;
  --line: #e3e1dc;
  --line-dark: rgba(255, 255, 255, 0.14);

  --text: #25262a;
  --muted: #5d5f64;
  --muted-dark: rgba(255, 255, 255, 0.68);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;

  --header-h: 84px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Labels ------------------------------------------------------ */

/* The three-bar mark stands for a three-layer co-extruded film. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 11px;
  background: linear-gradient(
    to bottom,
    var(--orange) 0 3px,
    transparent 3px 4px,
    var(--amber) 4px 7px,
    transparent 7px 8px,
    var(--steel) 8px 11px
  );
}

.on-dark .eyebrow,
.eyebrow.on-dark {
  color: var(--amber);
}

.label {
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--amber);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--ink-3);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--line {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 3px;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.on-dark .link-arrow {
  color: #fff;
}

/* ---------- Header ------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: block;
  flex: none;
}

.logo img {
  width: auto;
  height: 58px;
}

.logo .logo-dark {
  display: none;
}

.site-header.is-solid {
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-solid .logo-light {
  display: none;
}

.site-header.is-solid .logo-dark {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav ul {
  display: flex;
  gap: 32px;
}

.nav li a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 1rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s;
}

.nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav li a:hover,
.nav li a[aria-current="page"] {
  color: #fff;
}

.nav li a:hover::after,
.nav li a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header.is-solid .nav li a {
  color: var(--muted);
}

.site-header.is-solid .nav li a:hover,
.site-header.is-solid .nav li a[aria-current="page"] {
  color: var(--ink);
}

.nav .btn {
  padding: 11px 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}

.site-header.is-solid .nav-toggle {
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero (home) ------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(100svh, 940px);
  padding-top: var(--header-h);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(22, 23, 26, 0.97) 0%,
      rgba(22, 23, 26, 0.9) 36%,
      rgba(22, 23, 26, 0.5) 68%,
      rgba(22, 23, 26, 0.34) 100%
    ),
    linear-gradient(0deg, rgba(22, 23, 26, 0.92) 0%, rgba(22, 23, 26, 0) 46%);
}

.hero__body {
  position: relative;
  padding: clamp(56px, 9vh, 112px) 0 clamp(40px, 6vh, 64px);
}

.hero h1 {
  max-width: 12ch;
  margin-top: 22px;
  font-size: clamp(2.75rem, 6.6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero__lead {
  max-width: 50ch;
  margin: 28px 0 36px;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.stat {
  padding: 26px 24px 32px 0;
}

.stat + .stat {
  padding-left: 28px;
  border-left: 1px solid var(--line-dark);
}

.stat__num {
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat__num b {
  font-weight: 300;
  color: var(--orange);
}

.stat__label {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---------- Page hero (inner pages) ------------------------------------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 96px);
  background-color: var(--ink);
  /* concentric rings: a film roll seen end-on */
  background-image: repeating-radial-gradient(
    circle at 88% 135%,
    rgba(255, 255, 255, 0.055) 0 1px,
    transparent 1px 30px
  );
  color: #fff;
  overflow: hidden;
}

.page-hero h1 {
  max-width: 18ch;
  margin-top: 20px;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 58ch;
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Sections ---------------------------------------------------- */

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section--stone {
  background: var(--stone);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--tight {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head h2,
.h2 {
  max-width: 20ch;
  margin-top: 16px;
  font-size: clamp(2rem, 3.9vw, 3.25rem);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 46ch;
  color: var(--muted);
}

.section--ink .section-head p {
  color: var(--muted-dark);
}

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* ---------- About split ------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split__text > * + * {
  margin-top: 22px;
}

.split__text .h2 {
  margin-top: 16px;
}

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

.figure img {
  width: 100%;
  border-radius: var(--radius);
}

.figure figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.figure figcaption svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--orange);
}

/* ---------- Product tiles (home) ---------------------------------------- */

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

.tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.35s var(--ease);
}

.tile:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.tile__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--stone);
}

.tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.tile:hover .tile__img img {
  transform: scale(1.05);
}

.tile__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.tile__name {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.tile__body svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--orange);
  transition: transform 0.25s var(--ease);
}

.tile:hover .tile__body svg {
  transform: translateX(4px);
}

/* ---------- Why choose -------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.pillar__img {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
}

.pillar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar h3 {
  margin: 24px 0 10px;
  font-size: 1.45rem;
  font-weight: 500;
}

.pillar p {
  color: var(--muted);
}

/* ---------- Capabilities (dark) ----------------------------------------- */

.cap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.cap__list {
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
}

.cap__list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

.cap__list .label {
  padding-top: 3px;
  color: var(--amber);
}

.cap__list span:last-child {
  color: rgba(255, 255, 255, 0.84);
}

.cap__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, #ecebe7 70%, #dedcd6 100%);
}

.cap__visual img {
  max-height: 560px;
  width: auto;
}

.cap__tag {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 6px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 3px;
}

/* ---------- House brands ------------------------------------------------ */

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

.brand {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand__img {
  aspect-ratio: 1920 / 945;
  background: #f7e9d2;
}

.brand__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__body {
  padding: 26px 28px 30px;
}

.brand__body h3 {
  margin: 8px 0 8px;
  font-size: 1.6rem;
  font-weight: 500;
}

.brand__body p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
  background: #fff;
}

/* ---------- Timeline ---------------------------------------------------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 44px;
  counter-reset: step;
}

.tl {
  position: relative;
  padding: 30px 28px 0 0;
  border-top: 1px solid var(--line);
}

.tl::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--paper);
}

.section--stone .tl::before {
  box-shadow: 0 0 0 5px var(--stone);
}

.tl__year {
  font-family: var(--font-label);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.tl__title {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
}

.tl__spec {
  margin-top: 6px;
  color: var(--orange-ink);
}

.tl--next::before {
  background: var(--paper);
  border: 2px solid var(--orange);
}

.tl--next .tl__year {
  color: var(--orange-ink);
}

/* ---------- Clients ----------------------------------------------------- */

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

.client {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 10%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.client img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ---------- Numbers band ------------------------------------------------ */

.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.numbers .stat + .stat {
  border-left-color: var(--line);
}

.numbers .stat {
  padding-top: 36px;
  padding-bottom: 40px;
}

.numbers .stat__label {
  color: var(--muted);
}

/* ---------- Quote / vision ---------------------------------------------- */

.vision {
  max-width: 900px;
}

.vision blockquote {
  margin: 22px 0 0;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.vision blockquote span {
  color: var(--orange);
}

/* ---------- CTA band ---------------------------------------------------- */

.cta {
  background: var(--orange);
  color: var(--ink);
}

.cta .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  padding-block: clamp(48px, 6vw, 80px);
}

.cta h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.cta p {
  max-width: 44ch;
  margin-top: 12px;
  color: rgba(22, 23, 26, 0.82);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Products page ----------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  font: inherit;
  font-size: 0.98rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter span {
  margin-left: 6px;
  font-family: var(--font-label);
  font-weight: 600;
  opacity: 0.6;
}

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

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.product[hidden] {
  display: none;
}

.product:target {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.2);
}

.product__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}

.product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.product__cat {
  color: var(--orange-ink);
}

.product h3 {
  margin: 8px 0 10px;
  font-size: 1.4rem;
  font-weight: 500;
}

.product p {
  color: var(--muted);
  font-size: 1rem;
}

.product .chips {
  margin-bottom: 22px;
}

.product .link-arrow {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.98rem;
}

/* ---------- Infrastructure page ----------------------------------------- */

.machine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.machine:last-child {
  border-bottom: 1px solid var(--line);
}

.machine:nth-child(even) .machine__visual {
  order: 2;
}

.machine__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.machine__visual img {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
}

.machine__maker {
  color: var(--orange-ink);
}

.machine h3 {
  margin: 10px 0 16px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.spec {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.spec li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.spec .label {
  padding-top: 3px;
  color: var(--muted);
}

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

.line-card {
  padding: 28px 28px 32px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.line-card .label {
  color: var(--amber);
}

.line-card h3 {
  margin: 12px 0 10px;
  font-size: 1.4rem;
  font-weight: 500;
}

.line-card p {
  color: var(--muted-dark);
}

/* three-layer film cross-section */
.layers {
  display: grid;
  gap: 4px;
  margin-top: 28px;
}

.layers div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: 3px;
  font-family: var(--font-label);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.layers div:nth-child(1) {
  height: 34px;
  background: var(--orange);
}

.layers div:nth-child(2) {
  height: 52px;
  background: var(--amber);
}

.layers div:nth-child(3) {
  height: 34px;
  background: var(--mist);
}

/* ---------- Contact ----------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.contact-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list svg {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--orange);
}

.contact-list .label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
}

.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact-list a:hover {
  border-color: var(--orange);
}

.form {
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form h2 {
  font-size: 1.7rem;
  font-weight: 500;
}

.form > p {
  margin-top: 8px;
  color: var(--muted);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.field label {
  font-size: 0.92rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfccc5;
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.22);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.form__note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.map {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  border: 0;
  filter: grayscale(0.35);
}

/* ---------- Footer ------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: clamp(56px, 7vw, 88px) 0 48px;
}

.footer__brand img {
  width: auto;
  height: 68px;
}

.footer__brand p {
  max-width: 34ch;
  margin-top: 22px;
}

.site-footer h4 {
  margin-bottom: 16px;
  font-family: var(--font-label);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Motion ------------------------------------------------------ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive -------------------------------------------------- */

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

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

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

  .nav {
    gap: 24px;
  }

  .nav ul {
    gap: 22px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .logo img {
    height: 46px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    padding: 24px 24px 40px;
    background: #fff;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li a,
  .site-header.is-solid .nav li a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.3rem;
    color: var(--ink);
  }

  .nav li a::after {
    display: none;
  }

  .nav li a[aria-current="page"] {
    color: var(--orange-ink);
  }

  .nav .btn {
    padding: 15px 22px;
  }

  .split,
  .cap,
  .contact,
  .machine {
    grid-template-columns: minmax(0, 1fr);
  }

  .machine:nth-child(even) .machine__visual {
    order: 0;
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .pillar__img {
    aspect-ratio: 16 / 9;
  }

  .brands,
  .line-cards {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .hero__stats .stat:nth-child(3),
  .numbers .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero__stats .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .numbers .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero__media::after {
    background: linear-gradient(
        90deg,
        rgba(22, 23, 26, 0.94) 0%,
        rgba(22, 23, 26, 0.78) 60%,
        rgba(22, 23, 26, 0.6) 100%
      ),
      linear-gradient(0deg, rgba(22, 23, 26, 0.95) 0%, rgba(22, 23, 26, 0) 55%);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(1200px, 100% - 36px);
  }

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

  .tile__body {
    padding: 12px 14px;
  }

  .tile__name {
    font-size: 0.95rem;
  }

  .tile__body svg {
    display: none;
  }

  .product-grid,
  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .clients {
    gap: 8px;
  }

  .cap__list li,
  .spec li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .stat {
    padding: 20px 12px 24px 0;
  }

  .stat + .stat {
    padding-left: 18px;
  }

  .tl {
    padding-right: 16px;
  }

  .tl__year {
    font-size: 2.1rem;
  }

  .hero__actions .btn,
  .cta__actions .btn {
    flex: 1 1 100%;
  }
}
