:root {
  --ink: #211b14;
  --cream: #f3ecdf;
  --paper: #fdfaf0;
  --gold: #d49318;
  --muted: #9d9487;
  --line: rgba(33, 27, 20, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--gold); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: white; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { color: var(--ink); background: rgba(253,250,240,.94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px); }
.header-inner { max-width: 1440px; height: 86px; margin: auto; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-mark { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { font: 700 1.1rem/1 Barlow Condensed, sans-serif; letter-spacing: .12em; }
.brand small { margin-top: .25rem; font-size: .55rem; letter-spacing: .31em; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -.45rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .8rem 1rem; color: var(--ink); background: var(--gold); }
.menu-button { display: none; border: 0; background: transparent; }

.hero { position: relative; min-height: 760px; height: 100vh; overflow: hidden; color: white; background: #211b14; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 75% 45%, #543b1c 0, #302418 30%, #211b14 65%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(33,27,20,.92) 0%, rgba(33,27,20,.28) 60%, rgba(33,27,20,.58)); }
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.5) 1px,transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, transparent, black); }
.hero-content { width: min(92%, 1320px); height: 100%; margin: auto; padding-top: 17vh; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { margin: 0 0 1.2rem; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.dark { color: #76500c; }
h1, h2, h3 { margin: 0; font-family: Barlow Condensed, sans-serif; text-transform: uppercase; }
h1 { max-width: 820px; font-size: clamp(5rem, 10vw, 9.5rem); font-weight: 600; line-height: .76; letter-spacing: -.035em; }
h1 em { color: var(--gold); font-style: normal; }
.hero-copy { max-width: 590px; margin: 2.4rem 0 0; color: #ded5c8; font-size: 1rem; line-height: 1.75; }
.hero-actions { display: flex; gap: .8rem; margin-top: 2rem; }
.button { min-height: 52px; padding: 0 1.35rem; display: inline-flex; align-items: center; gap: 2.5rem; border: 1px solid; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.button-ghost { border-color: rgba(255,255,255,.35); color: white; }
.button-dark { border-color: var(--ink); color: white; background: var(--ink); }
.hero-proof { margin-top: auto; margin-bottom: 4vh; display: flex; gap: 4rem; }
.hero-proof div { display: grid; border-left: 2px solid var(--gold); padding-left: .9rem; }
.hero-proof strong { font: 600 1.7rem Barlow Condensed, sans-serif; text-transform: uppercase; }
.hero-proof span { color: #b9ad9d; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue { position: absolute; right: 4vw; bottom: 5vh; display: flex; align-items: center; gap: 1rem; color: #b9ad9d; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { color: var(--gold); font-size: 1.2rem; }
.hero-visual { position: absolute; right: 1%; bottom: 8%; z-index: -2; width: 52vw; height: 55%; opacity: .68; filter: drop-shadow(0 30px 50px #000); }
.machine { position: absolute; inset: 0; }
.machine > * { position: absolute; background: #9f6a18; border: 2px solid #d49318; }
.machine .body { right: 10%; bottom: 22%; width: 38%; height: 22%; transform: skew(-8deg); }
.machine .cab { right: 15%; bottom: 42%; width: 20%; height: 28%; clip-path: polygon(15% 0,100% 12%,90% 100%,0 100%); background: #2b241b; box-shadow: inset 0 0 0 8px #9f6a18; }
.machine .track { right: 4%; bottom: 8%; width: 48%; height: 18%; border: 10px solid #4c3d2c; border-radius: 55px; background: repeating-linear-gradient(90deg,#2b241b 0 12px,#5c4933 13px 18px); }
.machine .boom { right: 42%; bottom: 42%; width: 43%; height: 10%; transform: rotate(-27deg); transform-origin: right; background: #ad751d; }
.machine .arm { left: 2%; bottom: 28%; width: 12%; height: 40%; transform: rotate(-13deg); }
.machine .bucket { left: -2%; bottom: 11%; width: 21%; height: 21%; clip-path: polygon(10% 0,100% 12%,83% 100%,0 66%); background: #896020; }

.section { padding: 8rem max(4vw, calc((100vw - 1320px)/2)); }
.section-number { font: 600 1rem Barlow Condensed, sans-serif; }
.statement { display: grid; grid-template-columns: 80px 1.4fr 1fr; gap: 3rem; background: var(--cream); }
.statement h2, .product-intro h2 { max-width: 700px; font-size: clamp(3rem, 6vw, 6rem); line-height: .9; }
.statement h2 span { color: #8c8275; }
.statement-copy { padding-top: 2rem; max-width: 520px; }
.statement-copy p { margin: 0 0 1.2rem; color: #645b50; line-height: 1.8; }
.text-link { display: inline-flex; gap: 3rem; margin-top: 1.2rem; padding-bottom: .4rem; border-bottom: 1px solid; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

.solutions, .testimonials { color: white; background: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 4rem; margin-bottom: 5rem; }
.section-heading h2 { font-size: clamp(4rem, 7vw, 7rem); line-height: .8; }
.section-heading > p { max-width: 450px; color: #b8ad9e; line-height: 1.8; }
.solution-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.18); }
.solution-grid article { position: relative; min-height: 370px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.18); }
.solution-grid article:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.solution-grid svg { width: 68px; margin: 4.2rem 0 2.5rem; fill: none; stroke: var(--gold); stroke-width: 2; }
.card-number { color: #887d70; font-size: .65rem; }
.solution-grid h3 { font-size: 1.7rem; letter-spacing: .02em; }
.solution-grid p { color: #a99e90; font-size: .86rem; line-height: 1.7; }

.products { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; background: var(--gold); }
.product-intro > p:not(.eyebrow) { max-width: 440px; margin: 2rem 0; line-height: 1.75; }
.product-list { border-top: 1px solid rgba(33,27,20,.35); }
.product-list a { display: grid; grid-template-columns: 40px 1fr auto 30px; align-items: center; gap: 1rem; min-height: 92px; border-bottom: 1px solid rgba(33,27,20,.35); transition: padding .2s, background .2s; }
.product-list a:hover { padding-inline: 1rem; background: rgba(255,255,255,.28); }
.product-list span { font-size: .65rem; }
.product-list strong { font: 600 1.5rem Barlow Condensed, sans-serif; text-transform: uppercase; }
.product-list small { color: #553807; }
.product-list b { font-size: 1.1rem; }

.section-heading.compact { margin-bottom: 3rem; }
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.18); }
.quote-grid figure { min-height: 260px; margin: 0; padding: 2.2rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); }
.quote-grid blockquote { margin: 0; font: 500 1.8rem/1.25 Barlow Condensed, sans-serif; text-transform: uppercase; }
.quote-grid figcaption { color: var(--gold); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; color: white; background: #34291d; }
.contact h2 { font-size: clamp(4rem, 7vw, 7rem); line-height: .82; }
.contact-panel > p { max-width: 580px; color: #d1c7b9; line-height: 1.8; }
.contact-main { margin: 2.5rem 0; padding: 1.5rem 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; border-block: 1px solid rgba(255,255,255,.25); }
.contact-main span { color: var(--gold); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-main b { font: 500 2rem Barlow Condensed, sans-serif; }
.contact-main i { color: var(--gold); font-style: normal; font-size: 1.3rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem; }
.contact-details > * { display: grid; gap: .4rem; }
.contact-details span { color: #aa9d8d; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong { font-size: .82rem; font-weight: 500; }

footer { padding: 2rem 4vw; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #b9ad9d; background: var(--ink); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-brand { color: white; }

@media (max-width: 900px) {
  .menu-button { width: 40px; height: 40px; padding: 9px; display: grid; align-content: center; gap: 5px; color: inherit; cursor: pointer; }
  .menu-button span:not(.sr-only) { height: 2px; background: currentColor; }
  .site-nav { position: absolute; inset: 86px 0 auto; padding: 2rem 4vw; display: none; align-items: stretch; flex-direction: column; gap: 1.5rem; color: var(--ink); background: var(--paper); }
  .site-nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height: 820px; }
  .hero-content { padding-top: 19vh; }
  .hero-visual { right: -24%; width: 90vw; opacity: .35; }
  .hero-proof { gap: 1.5rem; flex-wrap: wrap; }
  .scroll-cue { display: none; }
  .statement { grid-template-columns: 50px 1fr; }
  .statement-copy { grid-column: 2; }
  .solution-grid, .quote-grid { grid-template-columns: 1fr; }
  .solution-grid article { min-height: 260px; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .solution-grid svg { margin: 2rem 0; }
  .products, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header-inner { height: 72px; }
  .brand-mark { width: 42px; height: 42px; }
  .site-nav { top: 72px; }
  .hero-content { width: 90%; padding-top: 16vh; }
  h1 { font-size: clamp(4rem, 21vw, 6.2rem); }
  .hero-copy { font-size: .9rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .hero-proof div { width: calc(50% - 1rem); }
  .section { padding: 5rem 5vw; }
  .statement { grid-template-columns: 1fr; }
  .statement .section-number { display: none; }
  .statement-copy { grid-column: auto; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-list a { grid-template-columns: 28px 1fr 20px; }
  .product-list small { display: none; }
  .contact-main { grid-template-columns: 1fr auto; }
  .contact-main b { grid-row: 2; font-size: 1.7rem; }
  .contact-main i { grid-row: 1 / 3; grid-column: 2; }
  .contact-details { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
