:root {
  --bg: #ffffff;
  --surface: #f4f5ef;
  --surface-strong: #e7eadf;
  --text: #1f221d;
  --muted: #5c6257;
  --line: #d9ddd2;
  --dark: #20221d;
  --accent: #9b7a3d;
  --white: #ffffff;
  --shadow: 0 20px 46px rgba(17, 21, 15, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: min(1220px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Libre Franklin", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

figure,
blockquote,
h1,
h2,
h3,
p {
  margin: 0;
}

section[id] {
  scroll-margin-top: 104px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(217, 221, 210, 0.9);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 28px rgba(17, 21, 15, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 90px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: min(300px, 44vw);
  height: auto;
}

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

.site-nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text) !important;
  background: var(--white);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.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);
}

.hero,
.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--surface);
}

.hero {
  padding-top: 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9f4 100%);
}

.hero-layout,
.company-layout,
.contact-layout,
.operation-top {
  display: grid;
  gap: 34px;
}

.hero-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
}

.company-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: start;
}

.operation-top {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.9fr);
  align-items: end;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.02fr);
  align-items: stretch;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.74);
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.02;
}

h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.36rem;
  line-height: 1.2;
}

.lead,
.company-copy p,
.group-card p,
.operation-copy p,
.equipment-body p,
.principle-card p,
.contact-copy p,
.contact-card p,
.contact-card a,
.site-footer p {
  color: #3f473d;
  font-size: 1.02rem;
  line-height: 1.75;
}

.lead,
.company-copy p,
.operation-copy p,
.contact-copy p {
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-highlights,
.company-facts,
.group-grid,
.equipment-grid,
.principles-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.hero-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.hero-highlights article,
.company-facts article,
.group-card,
.equipment-card,
.principle-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-highlights article {
  padding: 20px 18px;
  border-top: 4px solid var(--accent);
}

.hero-highlights strong,
.company-facts strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.hero-highlights span,
.company-facts span,
.group-kicker,
.equipment-body span,
.principle-card span,
.contact-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-media,
.company-panel img,
.mosaic-card,
.equipment-card img,
.map-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  min-height: 660px;
  background: #dfe4d8;
}

.hero-media img,
.company-panel img,
.mosaic-card img,
.equipment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 420px;
  padding: 22px 22px 22px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 30px rgba(17, 21, 15, 0.12);
}

.hero-caption span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-caption strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.5;
}

.company-panel {
  display: grid;
  gap: 18px;
}

.company-panel img {
  min-height: 560px;
}

.quote-card {
  padding: 28px 30px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-card p {
  color: var(--text);
  font-size: 1.26rem;
  line-height: 1.55;
  font-weight: 500;
}

.company-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.company-facts article {
  padding: 20px 18px;
}

.section-heading {
  margin-bottom: 34px;
}

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

.group-card {
  position: relative;
  padding: 28px 28px 30px;
}

.group-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--dark);
}

.group-kicker {
  margin-bottom: 16px;
}

.group-role {
  margin: 12px 0;
  color: var(--text) !important;
  font-size: 1.02rem !important;
  font-weight: 700;
  line-height: 1.55 !important;
}

.operation-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: #3f473d;
  line-height: 1.7;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  margin: 38px 0 22px;
}

.mosaic-card {
  min-height: 282px;
  background: #dfe4d8;
}

.mosaic-card-large {
  grid-row: span 2;
  min-height: 582px;
}

.equipment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.equipment-card {
  overflow: hidden;
}

.equipment-card img {
  height: 260px;
}

.equipment-body {
  padding: 24px 24px 28px;
}

.equipment-body span,
.principle-card span,
.contact-card span {
  display: inline-block;
  margin-bottom: 10px;
}

.equipment-body h3 {
  margin-bottom: 12px;
}

.safety-section {
  background: linear-gradient(180deg, var(--dark) 0%, #181914 100%);
  color: var(--white);
}

.safety-banner {
  max-width: 860px;
  margin-bottom: 28px;
}

.safety-banner h2,
.safety-banner p {
  color: var(--white);
}

.safety-banner p {
  margin-top: 18px;
  font-size: 1.04rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.8);
}

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

.principle-card {
  padding: 26px 24px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.principle-card span {
  color: rgba(255, 255, 255, 0.7);
}

.principle-card p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-grid {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.contact-card {
  padding: 22px 22px 24px;
}

.contact-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent);
}

.map-card {
  min-height: 540px;
  background: #dfe4d8;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  padding: 26px 0 34px;
  background: #171914;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-row img {
  width: min(260px, 52vw);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-layout,
  .company-layout,
  .operation-top,
  .contact-layout,
  .equipment-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .company-panel img,
  .map-card {
    min-height: 420px;
  }

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

  .mosaic-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 420px;
  }
}

@media (max-width: 920px) {
  body.menu-open .site-header {
    backdrop-filter: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(17, 21, 15, 0.06);
    transition:
      max-height 240ms ease,
      padding 240ms ease;
  }

  .site-nav.is-open {
    max-height: 70vh;
    padding: 10px 20px 18px;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .site-nav a::after {
    bottom: 6px;
    width: 56px;
    transform-origin: left center;
  }

  .nav-cta {
    margin-top: 8px;
    min-height: 48px;
    width: auto !important;
    padding: 0 18px !important;
  }

  .header-row {
    min-height: 82px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100vw - 28px, 100%);
  }

  .hero,
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 26px;
  }

  h1,
  h2 {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
  }

  .hero-highlights,
  .company-facts,
  .group-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .company-panel img,
  .map-card {
    min-height: 320px;
  }

  .hero-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

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

  .mosaic-card,
  .mosaic-card-large {
    min-height: 260px;
  }

  .group-card,
  .operation-copy,
  .principle-card {
    padding: 24px 22px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
