/* =====================================================
   Kudu Rigging — site styles
   Palette pulled from brand: steel/silver + industrial orange
   ===================================================== */

:root {
  --orange:        #ED5A1F;
  --orange-bright: #FF6A2B;
  --orange-dark:   #C4470F;
  --orange-soft:   rgba(237, 90, 31, 0.12);

  --steel-50:  #F6F6F4;
  --steel-100: #E8E8EA;
  --steel-200: #C5C5C9;
  --steel-300: #A0A0A6;
  --steel-400: #6F6F75;
  --steel-600: #36363A;
  --steel-700: #232327;
  --steel-800: #18181B;
  --steel-900: #0E0E10;
  --ink:       #0A0A0B;
  --paper:     #F8F7F4;

  --line:      rgba(255, 255, 255, 0.08);
  --line-dark: rgba(0, 0, 0, 0.08);

  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius:    14px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--steel-900);
  color: var(--steel-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.75rem); }
h2 { font-size: clamp(1.85rem, 2.5vw + 1rem, 2.85rem); }
h3 { font-size: 1.25rem; letter-spacing: 0.03em; }
p  { line-height: 1.6; color: var(--steel-200); }

.skip {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--orange); color: white;
  padding: 0.5rem 1rem; z-index: 100;
  font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 6px 20px rgba(237, 90, 31, 0.35);
}
.btn--primary:hover {
  background: var(--orange-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(237, 90, 31, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--steel-100);
  border-color: var(--steel-400);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn--ghost-light {
  color: var(--ink);
  border-color: var(--steel-400);
}
.btn--ghost-light:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn--white {
  background: white;
  color: var(--orange-dark);
}
.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

/* ---------- Eyebrow & section headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--orange);
  margin-right: 0.85rem;
}
.eyebrow--center { justify-content: center; }
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section__head h2 { margin-bottom: 0.85rem; }
.section__head p {
  color: var(--steel-300);
  font-size: 1.075rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 88px;
}
.nav__brand { flex-shrink: 0; display: flex; align-items: center; }
.nav__logo {
  height: 72px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav__links a {
  color: var(--steel-100);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--orange); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.25rem; }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--steel-100);
  transition: 0.25s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  gap: 0.25rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.nav__mobile a {
  padding: 0.85rem 0.5rem;
  color: var(--steel-100);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-child {
  border-bottom: none;
  margin-top: 0.75rem;
  color: white;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(237, 90, 31, 0.08), transparent 60%),
    linear-gradient(180deg, #f6f5f1 0%, #e9e7e1 100%);
  color: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 5px);
  pointer-events: none;
  opacity: 0.7;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero__copy h1 {
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero__copy h1 .accent {
  display: block;
  color: var(--orange);
}
.hero__copy .lead {
  font-size: 1.125rem;
  color: var(--steel-600);
  max-width: 56ch;
  margin: 0 0 2rem;
}
.hero__cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero__stats {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid var(--line-dark);
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero__stats strong {
  font-family: 'Oswald', sans-serif;
  font-size: 1.65rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero__stats span {
  font-size: 0.78rem;
  color: var(--steel-600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero__art {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(237, 90, 31, 0.22), transparent 55%);
  filter: blur(30px);
}
.hero__logo {
  position: relative;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.25));
}

/* Marquee strip at bottom of hero */
.hero__marquee {
  position: relative;
  background: var(--ink);
  color: var(--steel-100);
  border-top: 3px solid var(--orange);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.hero__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: marquee 35s linear infinite;
}
.hero__marquee span {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__marquee i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.services {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--steel-900);
  position: relative;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  position: relative;
  padding: 2rem;
  background: linear-gradient(180deg, var(--steel-800) 0%, var(--steel-700) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 90, 31, 0.4);
  box-shadow: var(--shadow-md);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(237, 90, 31, 0.25);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 {
  color: var(--steel-50);
  margin-bottom: 0.65rem;
}
.card p {
  color: var(--steel-300);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- About ---------- */
.about {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(237,90,31,0.06), transparent 60%),
    linear-gradient(180deg, var(--steel-900) 0%, var(--steel-800) 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__copy h2 { color: var(--steel-50); margin-bottom: 1rem; }
.about__copy p {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.about__copy p.muted { color: var(--steel-300); }
.ticks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.ticks li {
  position: relative;
  padding-left: 2rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--steel-100);
}
.ticks li:last-child { border-bottom: none; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.05rem;
  width: 14px; height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.about__panel {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background:
    linear-gradient(135deg, rgba(237, 90, 31, 0.10), transparent 60%),
    var(--steel-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.5rem;
  background: var(--steel-900);
  border-radius: 10px;
  border-left: 3px solid var(--orange);
}
.stat strong {
  font-family: 'Oswald', sans-serif;
  font-size: 2.25rem;
  color: var(--steel-50);
  line-height: 1;
}
.stat span {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel-300);
}

/* ---------- Cert search teaser ---------- */
.certs {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background:
    linear-gradient(120deg, var(--orange-dark) 0%, var(--orange) 55%, #1a1a1c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.certs::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 2px, transparent 2px 18px);
  pointer-events: none;
}
.certs__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.certs h2 {
  color: white;
  margin-bottom: 0.85rem;
}
.certs p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
}
.certs__form {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.32);
  padding: 0.5rem;
  border-radius: 10px;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.15);
}
.certs__form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.85rem 1rem;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
.certs__form input::placeholder { color: rgba(255, 255, 255, 0.55); }

/* ---------- Contact ---------- */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--steel-900);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.75rem;
  background: var(--steel-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.contact__card:hover {
  border-color: rgba(237, 90, 31, 0.4);
  transform: translateY(-2px);
}
.contact__card--primary {
  background: linear-gradient(135deg, rgba(237, 90, 31, 0.18), var(--steel-800));
  border-color: rgba(237, 90, 31, 0.35);
}
.contact__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.contact__value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--steel-50);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.01em;
}
.contact__hint {
  font-size: 0.85rem;
  color: var(--steel-300);
}
.contact__cta { text-align: center; }
.contact__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--steel-400);
  font-style: italic;
}

/* ---------- Footer ---------- */
.footer {
  background: #050506;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.footer__logo {
  height: 56px;
  width: auto;
}
.footer__tag {
  max-width: 480px;
  color: var(--steel-300);
  font-size: 0.95rem;
  margin: 0;
}
.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-300);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--orange); }
.footer__copy {
  font-size: 0.82rem;
  color: var(--steel-400);
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  width: 100%;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__art {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.is-open { display: flex; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 540px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 1.5rem 2rem; }
  .hero__stats strong { font-size: 1.4rem; }
  .certs__form { flex-direction: column; padding: 0.75rem; }
  .certs__form input { text-align: center; }
}
