/* KIS Plant Pty Ltd - site styles */

:root {
  --ink: #16191d;
  --steel-900: #1e2329;
  --steel-800: #272d34;
  --steel-700: #3a424b;
  --steel-500: #5d6772;
  --steel-400: #8a949e;
  --steel-200: #d3d8dc;
  --steel-100: #eaedf0;
  --paper: #f5f6f7;
  --white: #ffffff;
  --orange: #f5901e;
  --orange-light: #ffb347;
  --orange-deep: #a8510a;
  --text: #22272d;
  --text-muted: #4a525b;
  --text-on-dark: #e9ecef;
  --muted-on-dark: #b4bcc4;

  --font-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;

  --radius: 6px;
  --container: 1180px;
  --header-h: 68px;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.6rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Focus & skip link */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 25, 29, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  font-family: var(--font-head);
  line-height: 1;
}

.brand-kis {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.brand-plant {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
}

.brand-suffix {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: color 0.15s ease, background-color 0.15s ease;
}

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

.site-nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--orange);
  color: var(--ink);
}

.site-nav .nav-cta:hover {
  background: var(--orange-light);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

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

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-light);
}

/* Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--orange-deep);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(245, 144, 30, 0.14), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(160deg, #1f252c 0%, #16191d 60%);
  background-size: auto, 40px 40px, 40px 40px, auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 6rem;
}

.hero h1 {
  color: var(--white);
}

.accent {
  color: var(--orange);
}

.lead {
  max-width: 36rem;
  font-size: 1.2rem;
  color: var(--muted-on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 2.5rem;
}

.hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.hero-steps li {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-steps li + li::before {
  content: "\2192";
  margin: 0 0.85rem;
  color: var(--orange);
}

.hazard-band {
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 18px,
    var(--ink) 18px 36px
  );
}

/* Hero CSS illustration: truck, feed bin, conveyor, crusher */
.hero-art {
  position: relative;
}

.plant {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 70%),
    var(--steel-900);
  overflow: hidden;
}

.plant > * {
  position: absolute;
}

.plant-ground {
  left: 0;
  right: 0;
  bottom: 0;
  height: 12%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 22px),
    #2c333b;
  border-top: 3px solid var(--steel-500);
}

/* ROM pad ramp under the truck */
.plant-truck {
  left: 2%;
  bottom: 12%;
  width: 34%;
  height: 62%;
}

.plant-truck::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background: linear-gradient(180deg, #4a3a2a, #3a2f24);
  clip-path: polygon(0 100%, 30% 0, 100% 0, 100% 100%);
}

.truck-tray,
.truck-cab,
.truck-wheel {
  position: absolute;
  display: block;
}

.truck-cab {
  left: 34%;
  bottom: 76%;
  width: 17%;
  height: 13%;
  background: var(--steel-200);
  border-radius: 4px 10px 2px 2px;
}

.truck-tray {
  left: 50%;
  bottom: 76%;
  width: 50%;
  height: 14%;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  transform: rotate(20deg);
  transform-origin: 100% 100%;
}

.truck-wheel {
  bottom: 70%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--steel-400) 0 28%, #0e1013 30%);
}

.truck-wheel.w1 {
  left: 37%;
}

.truck-wheel.w2 {
  left: 74%;
}

/* Feed bin */
.plant-bin {
  left: 38%;
  bottom: 12%;
  width: 30%;
  height: 52%;
}

.bin-rim,
.bin-body,
.bin-leg {
  position: absolute;
  display: block;
}

.bin-rim {
  top: 0;
  left: -4%;
  right: -4%;
  height: 6%;
  background: var(--orange);
  border-radius: 2px;
}

.bin-body {
  top: 6%;
  left: 0;
  right: 0;
  height: 52%;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 18%),
    linear-gradient(90deg, #6f7a85, #a9b2bb 45%, #7c8791);
  clip-path: polygon(0 0, 100% 0, 66% 100%, 34% 100%);
}

.bin-leg {
  top: 40%;
  bottom: 0;
  width: 5%;
  background: var(--steel-500);
}

.bin-leg.l1 {
  left: 12%;
}

.bin-leg.l2 {
  right: 12%;
}

/* Conveyor from bin outlet to crusher */
.plant-conveyor {
  left: 50%;
  bottom: 30%;
  width: 26%;
  height: 4.5%;
  background:
    repeating-linear-gradient(90deg, var(--steel-200) 0 6px, transparent 6px 16px) bottom / 100% 35% no-repeat,
    linear-gradient(180deg, #2b3138, #2b3138);
  border-top: 3px solid var(--orange);
}

/* Primary crusher */
.plant-crusher {
  right: 5%;
  bottom: 12%;
  width: 22%;
  height: 17%;
  background: linear-gradient(180deg, #59636d, #3d454e);
  border-top: 4px solid var(--orange);
  border-radius: 3px 3px 0 0;
}

.crusher-jaw {
  position: absolute;
  display: block;
  left: 22%;
  right: 22%;
  top: 12%;
  height: 46%;
  background: #14171a;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%);
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 300px;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  color: var(--text);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.badge-figure {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.badge-text {
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Services */
.services {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--steel-100);
  border-top: 4px solid var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
}

.step-num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--steel-200);
}

.step h3 {
  color: var(--ink);
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* Feature: feed bin */
.feature {
  color: var(--text-on-dark);
  background-color: var(--steel-900);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.feature-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem;
  border: 2px solid rgba(245, 144, 30, 0.5);
  border-radius: 10px;
  background:
    repeating-linear-gradient(-45deg, rgba(245, 144, 30, 0.08) 0 12px, transparent 12px 24px);
}

.feature-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.9;
  color: var(--orange);
}

.feature-unit {
  margin-top: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.feature h2 {
  color: var(--white);
}

.feature-copy > p {
  font-size: 1.15rem;
  color: var(--muted-on-dark);
}

.spec-list {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 0.15rem;
}

.spec-value {
  color: var(--white);
  font-weight: 500;
}

/* About */
.about {
  background: var(--paper);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-copy > p {
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.industries-title {
  margin-top: 2rem;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.industries li {
  padding: 0.6rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
}

.kis-panel {
  padding: 2.5rem 2.25rem;
  background: var(--ink);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(22, 25, 29, 0.18);
  position: relative;
  overflow: hidden;
}

.kis-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--ink) 12px 24px);
}

.kis-panel p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-on-dark);
}

.kis-panel span {
  color: var(--orange);
}

/* Contact */
.contact {
  color: var(--text-on-dark);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(245, 144, 30, 0.12), transparent 50%),
    var(--ink);
}

.contact h2 {
  color: var(--white);
}

.contact .section-intro {
  color: var(--muted-on-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
}

.contact-card {
  padding: 1.75rem;
  background: var(--steel-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
}

.contact-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
}

/* Footer */
.site-footer {
  background: #0f1114;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-brand {
  max-width: 26rem;
}

.footer-brand .brand-kis,
.footer-brand .brand-plant {
  font-size: 1.6rem;
}

.footer-brand .brand-plant {
  margin-left: 0.35rem;
}

.footer-brand p {
  margin: 0.6rem 0 0;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-on-dark);
}

.footer-nav a:hover {
  color: var(--orange-light);
  text-decoration: underline;
}

.footer-legal {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal p {
  margin: 0;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .hero-art {
    max-width: 560px;
  }

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

  .feature-inner,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .kis-panel {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--ink);
    border-bottom: 3px solid var(--orange);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 20px 1.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .site-nav .nav-cta {
    margin: 1rem 0 0;
    text-align: center;
    border-radius: var(--radius);
    border-bottom: 0;
  }

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

  .section {
    padding: 4rem 0;
  }
}

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

  .brand-suffix {
    display: none;
  }

  .hero-steps li {
    font-size: 1.05rem;
  }

  .hero-steps li + li::before {
    margin: 0 0.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badge {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin-top: -1.5rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .feature-figure {
    padding: 1.75rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
