:root {
  --ink: #11161b;
  --ink-soft: #293138;
  --muted: #6d767e;
  --line: #e1e5e7;
  --line-dark: rgba(255,255,255,.16);
  --paper: #ffffff;
  --paper-soft: #f5f6f6;
  --amber: #f5a800;
  --amber-dark: #c57d00;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 48px rgba(17,22,27,.08);
  --shadow-deep: 0 28px 80px rgba(17,22,27,.13);
  --ease: cubic-bezier(.2,.8,.2,1);
  --site-max: 1480px;
  --content-max: 1280px;
  --gutter: clamp(18px, 3.5vw, 56px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(15px, .95vw, 16px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open,
body.drawer-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
main, section, footer, header, nav, form, article, div { min-width: 0; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, .btn, .filter, .nav-links a { touch-action: manipulation; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-max));
  margin-inline: auto;
}
.container-wide {
  width: min(calc(100% - (var(--gutter) * 2)), var(--site-max));
  margin-inline: auto;
}
.section-pad { padding: clamp(88px, 8vw, 132px) 0; }
section[id] { scroll-margin-top: 96px; }

/* Progress */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1400;
  width: 0;
  height: 2px;
  background: var(--amber);
}

/* Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  padding: clamp(10px, 1.2vw, 18px) clamp(10px, 1.8vw, 24px);
  pointer-events: none;
  transition: padding .3s var(--ease);
}
.site-header.scrolled { padding-top: 8px; }
.nav-shell,
.site-header.scrolled .nav-shell {
  width: min(100%, 1480px);
  min-height: clamp(62px, 4.8vw, 74px);
  margin: 0 auto;
  padding: 0 clamp(12px, 1.5vw, 22px);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
  border: 1px solid rgba(17,22,27,.08);
  border-radius: clamp(16px, 1.5vw, 22px);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(17,22,27,.09);
  pointer-events: auto;
  transition: min-height .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled .nav-shell {
  min-height: 62px;
  box-shadow: 0 10px 34px rgba(17,22,27,.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark { width: clamp(32px, 2.4vw, 38px); height: clamp(32px, 2.4vw, 38px); flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.06; min-width: 0; }
.brand-copy b { font-size: clamp(14px, 1vw, 16px); letter-spacing: -.02em; white-space: nowrap; }
.brand-copy small { margin-top: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; opacity: .58; white-space: nowrap; }
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  min-width: 0;
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  font-size: clamp(11px, .8vw, 12px);
  font-weight: 700;
  white-space: nowrap;
  opacity: .68;
  transition: opacity .2s ease, color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
  transition: right .3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-enquiry,
.menu-button { border: 0; cursor: pointer; }
.nav-enquiry {
  min-height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  background: var(--amber);
  color: #151515;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.14), 0 8px 20px rgba(245,168,0,.18);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.nav-enquiry:hover { transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.14), 0 13px 28px rgba(245,168,0,.24); }
.nav-enquiry b { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: rgba(17,22,27,.11); font-size: 10px; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #e9eded;
  border-radius: 14px;
  background: #f4f6f6;
}
.menu-button svg { width: 20px; height: 20px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  background: #0d1116;
  color: #fff;
  overflow: hidden;
}
.hero-slides,
.hero-bg,
.hero-overlay,
.hero-grid-lines { position: absolute; inset: 0; }
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.05s ease, transform 8s linear;
}
.hero-bg:nth-child(1) { object-position: center 55%; }
.hero-bg:nth-child(2) { object-position: center 52%; }
.hero-bg:nth-child(3) { object-position: center 50%; }
.hero-bg.active { opacity: 1; transform: scale(1.08); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,11,15,.86) 0%, rgba(7,11,15,.66) 41%, rgba(7,11,15,.24) 69%, rgba(7,11,15,.34) 100%),
    linear-gradient(0deg, rgba(7,11,15,.58) 0%, rgba(7,11,15,.04) 54%);
}
.hero-grid-lines {
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: clamp(64px, 5.2vw, 88px) clamp(64px, 5.2vw, 88px);
  mask-image: linear-gradient(to right, #000 0%, #000 24%, transparent 78%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(130px, 170px);
  grid-template-rows: 1fr auto;
  align-items: end;
  padding-top: clamp(126px, 14vh, 170px);
  padding-bottom: clamp(24px, 4.5vh, 42px);
}
.hero-main {
  max-width: min(900px, 70vw);
  padding-bottom: clamp(46px, 10vh, 92px);
  transform: translateY(-22px);
}
.hero-kicker {
  margin: 0 0 clamp(14px, 2vh, 22px);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.72);
}
.hero h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(58px, 7vw, 114px);
  line-height: .92;
  letter-spacing: -.062em;
  font-weight: 730;
  text-wrap: balance;
}
.hero-summary {
  max-width: 660px;
  margin: clamp(20px, 2.6vh, 30px) 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.58;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: clamp(24px, 3.4vh, 36px); }
.hero-rail { align-self: center; display: grid; gap: 8px; width: 100%; margin-top: 80px; }
.hero-dot {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 13px 0;
  color: rgba(255,255,255,.55);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease;
}
.hero-dot::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--amber); transition: width .45s var(--ease); }
.hero-dot.active { color: #fff; }
.hero-dot.active::after { width: 100%; }
.hero-dot span { font-size: 9px; opacity: .62; }
.hero-dot b { font-size: 11px; font-weight: 700; }
.hero-bottom {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 650; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-facts svg { width: 16px; height: 16px; color: var(--amber); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; white-space: nowrap; }
.scroll-cue i { position: relative; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; background: var(--amber); transform: translateX(-50%); animation: scrollDot 1.5s infinite ease-in-out; }
@keyframes scrollDot { 0%,100%{transform:translate(-50%,0);opacity:.5} 50%{transform:translate(-50%,7px);opacity:1} }
.hero-enter { opacity: 0; }
.hero-enter-1 { animation: heroDrop .9s .2s var(--ease) forwards; }
.hero-enter-2 { animation: heroRise 1s .34s var(--ease) forwards; }
.hero-enter-3 { animation: heroRise 1s .48s var(--ease) forwards; }
.hero-enter-4 { animation: heroRise 1s .60s var(--ease) forwards; }
.hero-enter-5 { animation: heroFade 1.1s .82s var(--ease) forwards; }
@keyframes heroRise { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes heroDrop { from { opacity:0; transform:translateY(-18px); } to { opacity:1; transform:none; } }
@keyframes heroFade { from { opacity:0; } to { opacity:1; } }

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  overflow: hidden;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .01em;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s ease;
}
.btn::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.34) 45%, transparent 70%); transform: translateX(-130%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: translateX(130%); }
.btn svg { width: 18px; height: 18px; transition: transform .24s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--amber); color: #111; box-shadow: inset 0 -3px 0 var(--amber-dark), 0 8px 0 rgba(128,81,0,.30), 0 18px 34px rgba(245,168,0,.20); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: inset 0 -3px 0 var(--amber-dark), 0 11px 0 rgba(128,81,0,.26), 0 23px 40px rgba(245,168,0,.27); }
.btn-primary:active { transform: translateY(4px); box-shadow: inset 0 -2px 0 var(--amber-dark), 0 3px 0 rgba(128,81,0,.30), 0 10px 24px rgba(245,168,0,.17); }
.btn-glass { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 12px 28px rgba(0,0,0,.15); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* Shared typography */
.section-label { margin: 0 0 17px; color: var(--amber-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .18em; }
.section-label-light { color: var(--amber); }
.display-copy,
.section-heading h2,
.materials-content h2,
.contact-copy h2,
.statement h2 {
  margin: 0;
  font-size: clamp(42px, 4.65vw, 72px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 690;
  text-wrap: balance;
}
.editorial-grid { display: grid; grid-template-columns: minmax(120px, 170px) minmax(0, 1fr); gap: clamp(36px, 5vw, 68px); align-items: start; }
.intro { border-bottom: 1px solid var(--line); }
.intro-copy { max-width: 730px; margin: 28px 0 0; color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 350px); gap: clamp(28px, 4vw, 56px); align-items: end; margin-bottom: clamp(34px, 4vw, 48px); }
.section-heading h2 { max-width: 850px; }
.section-side-copy { margin: 0 0 5px; color: var(--muted); font-size: 14px; }

/* Fleet */
.fleet { background: var(--paper-soft); }
.filter-line { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.filter { padding: 9px 14px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; transition: all .22s ease; }
.filter:hover { color: var(--ink); background: #fff; }
.filter.active { color: var(--ink); background: #fff; border-color: #e7eaeb; box-shadow: 0 6px 18px rgba(17,22,27,.06); }
.fleet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 2.5vw, 32px); }
.machine-card { min-width: 0; transition: opacity .35s ease, transform .35s var(--ease); }
.machine-card.is-hidden { display: none; }
.machine-card-featured { grid-column: 1 / -1; }
.machine-media { position: relative; overflow: hidden; border-radius: clamp(20px, 2vw, 26px); background: #d9dcdd; aspect-ratio: 16 / 10; }
.machine-card-featured .machine-media { aspect-ratio: 16 / 7; }
.machine-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,12,15,.32), transparent 56%); pointer-events: none; }
.machine-media img { height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s ease; }
.machine-card:hover .machine-media img { transform: scale(1.035); filter: saturate(1.03) contrast(1.02); }
.machine-type { position: absolute; z-index: 2; left: 17px; top: 17px; padding: 8px 11px; border-radius: 999px; background: rgba(15,19,23,.74); color: #fff; backdrop-filter: blur(8px); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.machine-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: end; padding: 18px 2px 0; }
.machine-copy h3 { margin: 0; font-size: clamp(21px, 1.8vw, 27px); letter-spacing: -.03em; }
.machine-copy p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.icon-action { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 15px; background: #fff; cursor: pointer; box-shadow: 0 6px 0 #e2e4e4, 0 12px 22px rgba(17,22,27,.07); transition: transform .24s var(--ease), color .24s ease, background .24s ease, box-shadow .24s var(--ease); }
.icon-action svg { width: 18px; height: 18px; }
.icon-action:hover { transform: translateY(-3px); background: var(--amber); border-color: var(--amber); box-shadow: 0 9px 0 #c78300, 0 16px 26px rgba(245,168,0,.17); }
.icon-action:active { transform: translateY(2px); box-shadow: 0 2px 0 #c78300; }
.fleet-cta { margin-top: 42px; padding-top: 23px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.fleet-cta p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; font-weight: 850; font-size: 11px; cursor: pointer; }
.text-link svg { width: 17px; height: 17px; transition: transform .24s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* Materials */
.materials-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 82px); align-items: center; }
.materials-image-wrap { position: relative; min-height: clamp(580px, 53vw, 760px); border-radius: clamp(22px, 2.1vw, 30px); overflow: hidden; background: #d8dbdc; box-shadow: var(--shadow-deep); }
.materials-image-wrap > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.materials-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,15,18,.62), transparent 58%); }
.materials-image-caption { position: absolute; z-index: 2; left: clamp(20px, 2vw, 30px); right: clamp(20px, 2vw, 30px); bottom: clamp(20px, 2vw, 30px); display: grid; gap: 4px; color: #fff; }
.materials-image-caption span { font-size: 9px; text-transform: uppercase; letter-spacing: .18em; color: var(--amber); font-weight: 850; }
.materials-image-caption b { font-size: clamp(18px, 1.5vw, 22px); }
.materials-content h2 { font-size: clamp(40px, 4.1vw, 64px); }
.materials-intro { margin: 22px 0 28px; max-width: 620px; color: var(--muted); }
.material-list { border-top: 1px solid var(--line); }
.material-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); transition: padding .28s var(--ease), background .28s ease; }
.material-row:hover { padding-inline: 10px; background: #fafafa; }
.material-row > div { display: grid; grid-template-columns: 34px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; min-width: 0; }
.material-row span { grid-row: 1 / span 2; color: #a3a9ae; font-size: 9px; font-weight: 850; }
.material-row h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.material-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.material-row .icon-action { width: 42px; height: 42px; border-radius: 13px; box-shadow: none; }

/* Services */
.services { background: var(--ink); color: #fff; }
.services .section-side-copy { color: rgba(255,255,255,.55); }
.service-list { border-top: 1px solid var(--line-dark); }
.service-row { min-height: 150px; display: grid; grid-template-columns: 58px 54px minmax(0,1fr) 50px; gap: 20px; align-items: center; border-bottom: 1px solid var(--line-dark); transition: padding .32s var(--ease), background .32s ease; }
.service-row:hover { padding-inline: 16px; background: rgba(255,255,255,.024); }
.service-no { color: rgba(255,255,255,.38); font-size: 9px; font-weight: 850; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); color: var(--amber); }
.service-icon svg { width: 21px; height: 21px; }
.service-row h3 { margin: 0; font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.03em; }
.service-row p { max-width: 640px; margin: 7px 0 0; color: rgba(255,255,255,.56); font-size: 12px; }
.service-row > a,
.service-chat { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: transform .28s var(--ease), background .28s ease, color .28s ease; }
.service-row > a:hover,
.service-chat:hover { transform: translateX(4px); background: var(--amber); color: #111; border-color: var(--amber); }
.service-row > a svg,
.service-chat svg { width: 18px; height: 18px; }

/* Statement */
.statement { position: relative; min-height: clamp(620px, 55vw, 760px); display: grid; align-items: end; overflow: hidden; color: #fff; }
.statement-bg,
.statement-overlay { position: absolute; inset: 0; height: 100%; }
.statement-bg { object-fit: cover; object-position: center; }
.statement-overlay { background: linear-gradient(90deg, rgba(10,13,16,.84), rgba(10,13,16,.20) 70%), linear-gradient(0deg, rgba(10,13,16,.70), transparent 55%); }
.statement-content { position: relative; z-index: 2; padding-bottom: clamp(50px, 6vw, 82px); }
.statement h2 { max-width: 800px; }
.statement-points { display: flex; gap: 0; max-width: 1040px; margin-top: 42px; border-top: 1px solid rgba(255,255,255,.22); }
.statement-points span { flex: 1; min-width: 0; padding: 22px 22px 0 0; }
.statement-points span + span { border-left: 1px solid rgba(255,255,255,.18); padding-left: 22px; }
.statement-points b,
.statement-points small { display: block; }
.statement-points b { font-size: 13px; }
.statement-points small { margin-top: 5px; color: rgba(255,255,255,.60); font-size: 10px; }

/* Contact */
.contact { background: #f7f8f8; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(48px, 6vw, 84px); align-items: start; }
.contact-copy > p:not(.section-label) { max-width: 570px; margin: 22px 0 0; color: var(--muted); }
.contact-lines { display: grid; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-lines > * { min-height: 72px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.contact-lines svg { width: 19px; height: 19px; color: var(--amber-dark); flex: 0 0 auto; }
.contact-lines span { display: grid; min-width: 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.contact-lines small { margin-bottom: 2px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }
.contact-form { padding: clamp(24px, 3vw, 38px); border: 1px solid #e4e7e8; border-radius: clamp(20px, 2vw, 28px); background: #fff; box-shadow: 0 28px 74px rgba(17,22,27,.08); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; min-width: 0; }
.contact-form label > span { font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; color: #555f67; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; min-width: 0; border: 1px solid #e2e5e6; border-radius: 14px; background: #f8f9f9; color: var(--ink); outline: none; transition: border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.contact-form input,
.contact-form select { height: 52px; padding: 0 14px; }
.contact-form textarea { resize: vertical; padding: 14px; min-height: 130px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--amber); background: #fff; box-shadow: 0 0 0 4px rgba(245,168,0,.10); }
.form-submit { width: 100%; margin-top: 4px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.form-note svg { width: 14px; height: 14px; color: #2d7b48; flex: 0 0 auto; }

/* Footer */
.footer { padding: 44px 0 28px; background: #0d1115; color: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; gap: 34px; align-items: center; padding-bottom: 32px; }
.footer-main > p { margin: 0; max-width: 360px; color: rgba(255,255,255,.52); font-size: 11px; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; }
.footer-main nav a { color: rgba(255,255,255,.62); font-size: 10px; font-weight: 700; }
.footer-main nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.38); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }

/* Floating actions */
.floating-actions {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: max(clamp(14px, 2vw, 26px), env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.floating-actions > * { pointer-events: auto; }
.floating-whatsapp {
  min-height: 50px;
  padding: 0 16px 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 17px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(16,118,55,.24), inset 0 -2px 0 rgba(0,0,0,.12);
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s ease;
}
.floating-whatsapp svg { width: 23px; height: 23px; flex: 0 0 auto; }
.floating-whatsapp:hover { background: #20c65d; transform: translateY(-3px); box-shadow: 0 17px 38px rgba(16,118,55,.30), inset 0 -2px 0 rgba(0,0,0,.12); }
.back-top {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 1px solid rgba(17,22,27,.10);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(17,22,27,.12), inset 0 -2px 0 #e0e3e4;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .28s var(--ease);
}
.back-top.show { display: grid; opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); background: var(--amber); border-color: var(--amber); box-shadow: 0 8px 0 #c78300, 0 18px 34px rgba(245,168,0,.20); }
.back-top svg { width: 18px; height: 18px; }

/* Drawer */
.quote-drawer { position: fixed; inset: 0; z-index: 1500; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(9,12,15,.52); opacity: 0; transition: opacity .35s ease; backdrop-filter: blur(3px); }
.drawer-panel { position: absolute; top: 0; right: 0; width: min(460px, 100%); height: 100dvh; padding: 28px; display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .42s var(--ease); box-shadow: -30px 0 80px rgba(0,0,0,.18); }
.quote-drawer.open { pointer-events: auto; }
.quote-drawer.open .drawer-backdrop { opacity: 1; }
.quote-drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-head small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .16em; }
.drawer-head h3 { margin: 3px 0 0; font-size: 27px; letter-spacing: -.04em; }
.drawer-close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; flex: 0 0 auto; }
.drawer-close svg { width: 17px; height: 17px; }
.quote-items { flex: 1; overflow-y: auto; padding: 10px 0; }
.quote-row { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.quote-row > div:first-child { display: grid; min-width: 0; }
.quote-row small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.quote-row b { margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }
.quote-controls { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.quote-controls button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; }
.quote-controls svg { width: 13px; height: 13px; }
.quote-controls span { width: 18px; text-align: center; font-size: 11px; font-weight: 750; }
.quote-empty { display: none; flex: 1; place-content: center; text-align: center; color: var(--muted); }
.quote-empty.show { display: grid; }
.quote-empty > svg { width: 28px; height: 28px; margin: 0 auto 12px; color: #9aa1a7; }
.quote-empty h4 { margin: 0; color: var(--ink); font-size: 18px; }
.quote-empty p { margin: 8px auto 0; max-width: 260px; font-size: 10px; }
.drawer-footer { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.clear-quote { height: 42px; border: 0; background: transparent; color: var(--muted); font-size: 9px; font-weight: 750; cursor: pointer; }
.drawer-footer .btn { width: 100%; }

/* Toast */
.toast { position: fixed; z-index: 1600; left: 50%; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 13px; background: #11161b; color: #fff; box-shadow: 0 18px 42px rgba(0,0,0,.22); font-size: 10px; font-weight: 750; opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: .3s var(--ease); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 15px; height: 15px; color: var(--amber); flex: 0 0 auto; }

/* Reveal system */
.reveal { opacity: 0; will-change: transform, opacity; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-up { transform: translateY(34px); }
.reveal-drop { transform: translateY(-24px); }
.reveal-left { transform: translateX(42px); }
.reveal-right { transform: translateX(-42px); }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }

:where(a, button, input, select, textarea):focus-visible { outline: 3px solid rgba(245,168,0,.38); outline-offset: 3px; }

/* Large desktop / ultrawide */
@media (min-width: 1600px) {
  :root { --content-max: 1360px; --site-max: 1560px; }
  .section-pad { padding: 136px 0; }
  .nav-shell,
  .site-header.scrolled .nav-shell { width: min(100%, 1560px); }
  .hero-main { max-width: 980px; }
  .hero h1 { font-size: clamp(86px, 6.4vw, 124px); }
  .hero-summary { max-width: 700px; font-size: 19px; }
  .hero-rail { max-width: 176px; }
  .materials-layout { gap: 92px; }
  .materials-image-wrap { min-height: 780px; }
  .service-row { min-height: 164px; }
}

/* Standard desktops and wide laptops */
@media (max-width: 1366px) {
  :root { --content-max: 1160px; --site-max: 1320px; }
  .hero h1 { font-size: clamp(56px, 6.7vw, 90px); }
  .hero-main { max-width: 760px; }
  .materials-image-wrap { min-height: 640px; }
}

/* Laptop / small desktop */
@media (max-width: 1180px) {
  :root { --content-max: 980px; --site-max: 1120px; }
  .section-pad { padding: 100px 0; }
  .nav-links { gap: 17px; }
  .nav-links a { font-size: 10px; }
  .nav-enquiry { padding-inline: 13px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-main { max-width: 760px; }
  .hero-rail { display: none; }
  .hero h1 { font-size: clamp(54px, 7.5vw, 82px); }
  .section-heading { grid-template-columns: minmax(0,1fr) minmax(240px, 300px); gap: 32px; }
  .editorial-grid { grid-template-columns: 145px minmax(0,1fr); gap: 38px; }
  .materials-layout { gap: 46px; }
  .contact-layout { gap: 48px; }
}

/* Tablet navigation + content layout */
@media (max-width: 960px) {
  html { scroll-padding-top: 88px; }
  section[id] { scroll-margin-top: 88px; }
  :root { --gutter: clamp(16px, 4vw, 34px); }
  .site-header { padding: 9px 10px; }
  .nav-shell,
  .site-header.scrolled .nav-shell {
    min-height: 62px;
    grid-template-columns: auto 1fr auto;
    border-radius: 18px;
  }
  .brand-copy small { display: none; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 10px;
    right: 10px;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    padding: 12px 18px;
    display: grid;
    gap: 0;
    border: 1px solid rgba(17,22,27,.08);
    border-radius: 18px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(0,0,0,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .28s var(--ease);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .menu-button { display: grid; }
  .hero { min-height: 100svh; }
  .hero-content { min-height: 100svh; padding-top: 110px; padding-bottom: 24px; }
  .hero-main { max-width: 720px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(50px, 9vw, 78px); }
  .hero-summary { max-width: 590px; }
  .hero-bottom { align-items: flex-end; }
  .hero-facts { display: grid; gap: 8px; }
  .editorial-grid,
  .section-heading,
  .materials-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .editorial-grid { gap: 8px; }
  .section-heading { gap: 18px; }
  .section-side-copy { max-width: 660px; }
  .fleet-grid { gap: 25px; }
  .materials-layout { gap: 44px; }
  .materials-image-wrap { min-height: clamp(440px, 64vw, 600px); }
  .contact-layout { gap: 48px; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
  .footer-main nav { justify-content: flex-start; }
}

/* Portrait tablets */
@media (min-width: 721px) and (max-width: 960px) {
  .fleet-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .machine-card-featured { grid-column: 1 / -1; }
  .contact-form { max-width: 760px; }
  .materials-content { max-width: 760px; }
  .statement-content { padding-bottom: 58px; }
}

/* Mobile */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section-pad { padding: 80px 0; }
  .nav-shell,
  .site-header.scrolled .nav-shell { padding-inline: 11px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-copy b { font-size: 14px; }
  .nav-enquiry { width: 44px; min-height: 44px; padding: 0; }
  .nav-enquiry span { display: none; }
  .hero {
    min-height: 100svh;
    height: auto;
  }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8,12,16,.84), rgba(8,12,16,.44)),
      linear-gradient(0deg, rgba(8,12,16,.76), rgba(8,12,16,.06) 62%);
  }
  .hero-grid-lines { background-size: 58px 58px; opacity: .10; }
  .hero-content {
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding-top: 100px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .hero-main { max-width: 100%; padding-bottom: 36px; align-self: end; }
  .hero-kicker { margin-bottom: 13px; font-size: 9px; line-height: 1.45; letter-spacing: .15em; }
  .hero h1 { font-size: clamp(44px, 13vw, 68px); line-height: .95; letter-spacing: -.055em; }
  .hero-summary { max-width: 100%; margin-top: 18px; font-size: 14px; line-height: 1.55; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-bottom { padding-top: 17px; gap: 16px; }
  .hero-facts { font-size: 9px; }
  .scroll-cue { display: none; }
  .display-copy,
  .section-heading h2,
  .materials-content h2,
  .contact-copy h2,
  .statement h2 { font-size: clamp(36px, 10vw, 54px); }
  .intro-copy { margin-top: 22px; }
  .filter-line {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 18px;
  }
  .filter-line::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; white-space: nowrap; }
  .fleet-grid { grid-template-columns: 1fr; gap: 32px; }
  .machine-card-featured { grid-column: auto; }
  .machine-card-featured .machine-media,
  .machine-media { aspect-ratio: 4 / 3; }
  .machine-copy { gap: 14px; }
  .machine-copy p { max-width: 92%; }
  .fleet-cta { flex-direction: column; align-items: flex-start; }
  .materials-image-wrap { min-height: min(520px, 122vw); border-radius: 22px; }
  .material-row { min-height: 84px; }
  .service-row {
    min-height: 0;
    padding: 20px 0;
    grid-template-columns: 34px 44px minmax(0,1fr);
    gap: 12px;
  }
  .service-row > a,
  .service-chat { grid-column: 3; justify-self: start; width: 42px; height: 42px; }
  .service-row p { font-size: 11px; }
  .statement { min-height: 610px; }
  .statement-points { flex-direction: column; margin-top: 34px; }
  .statement-points span { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .statement-points span + span { border-left: 0; padding-left: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .floating-whatsapp { width: 52px; min-height: 52px; padding: 0; border-radius: 17px; }
  .floating-whatsapp span { display: none; }
  .back-top { width: 46px; height: 46px; }
  .drawer-panel { width: min(100%, 430px); padding: 22px 18px max(22px, env(safe-area-inset-bottom)); }
}

/* Small mobile */
@media (max-width: 430px) {
  :root { --gutter: 14px; }
  .site-header { padding-inline: 7px; }
  .nav-shell,
  .site-header.scrolled .nav-shell { min-height: 58px; padding-inline: 9px; border-radius: 15px; }
  .nav-actions { gap: 6px; }
  .menu-button,
  .nav-enquiry { width: 41px; height: 41px; min-height: 41px; border-radius: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-copy b { font-size: 13px; }
  .nav-links { top: 73px; left: 7px; right: 7px; }
  .hero-content { padding-top: 88px; }
  .hero-kicker { max-width: 270px; }
  .hero h1 { font-size: clamp(41px, 12.8vw, 56px); }
  .hero-summary { font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-facts span:nth-child(3) { display: none; }
  .btn { min-height: 51px; padding-inline: 18px; }
  .machine-copy h3 { font-size: 20px; }
  .material-row { gap: 12px; }
  .material-row > div { grid-template-columns: 27px minmax(0,1fr); }
  .material-row p { max-width: 220px; }
  .service-row { grid-template-columns: 28px 40px minmax(0,1fr); gap: 9px; }
  .service-icon { width: 40px; height: 40px; border-radius: 12px; }
  .service-row h3 { font-size: 19px; }
  .contact-form { padding: 21px 15px; }
  .form-note { align-items: flex-start; text-align: left; }
  .quote-row { align-items: flex-start; padding: 15px 0; }
}

/* Very narrow phones */
@media (max-width: 340px) {
  .brand-copy b { font-size: 12px; }
  .nav-actions { gap: 4px; }
  .menu-button,
  .nav-enquiry { width: 37px; height: 37px; min-height: 37px; }
  .nav-enquiry b { width: 19px; height: 19px; }
  .hero h1 { font-size: 39px; }
  .hero-summary { font-size: 12px; }
  .machine-copy { grid-template-columns: 1fr; }
  .machine-copy .icon-action { justify-self: start; }
  .material-row { align-items: flex-start; padding: 14px 0; }
}

/* Short laptops */
@media (min-width: 721px) and (max-height: 820px) {
  .site-header { padding-top: 8px; }
  .nav-shell,
  .site-header.scrolled .nav-shell { min-height: 58px; }
  .hero-content { padding-top: 94px; padding-bottom: 18px; }
  .hero-main { padding-bottom: 24px; max-width: 720px; }
  .hero-kicker { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(46px, 6.1vw, 72px); line-height: .94; }
  .hero-summary { margin-top: 16px; font-size: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero .btn { min-height: 48px; }
  .hero-bottom { padding-top: 14px; }
}
@media (min-width: 721px) and (max-height: 680px) {
  .hero-kicker { display: none; }
  .hero-content { padding-top: 82px; }
  .hero-main { padding-bottom: 16px; }
  .hero h1 { font-size: clamp(42px, 5.4vw, 61px); }
  .hero-summary { max-width: 560px; margin-top: 12px; font-size: 13px; }
  .hero-actions { margin-top: 15px; }
  .hero-facts span:nth-child(3) { display: none; }
}

/* Landscape mobile / small tablets */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 560px) {
  .hero { height: auto; min-height: 100svh; }
  .hero-content { min-height: 100svh; padding-top: 82px; padding-bottom: 18px; }
  .hero-main { padding-bottom: 18px; max-width: 720px; }
  .hero-kicker { display: none; }
  .hero h1 { max-width: 720px; font-size: clamp(38px, 6.5vw, 58px); }
  .hero-summary { margin-top: 11px; max-width: 620px; font-size: 12px; }
  .hero-actions { margin-top: 14px; }
  .hero .btn { min-height: 44px; }
  .hero-bottom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   V5 PROFESSIONAL INTERFACE + RESPONSIVE FINETUNE
   Clean typography, single-depth controls, stable mobile UI
   ========================================================= */

:root {
  --font-ui: "Manrope", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --control-shadow: 0 8px 22px rgba(17, 22, 27, .10);
  --control-shadow-hover: 0 12px 28px rgba(17, 22, 27, .14);
  --amber-shadow: 0 10px 24px rgba(245, 168, 0, .20);
  --amber-shadow-hover: 0 14px 30px rgba(245, 168, 0, .27);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body { overflow-x: hidden; }
}

body {
  position: relative;
  font-family: var(--font-ui);
  font-size: clamp(15.5px, .26vw + 14.7px, 17px);
  line-height: 1.64;
  letter-spacing: -.006em;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4, h5, h6,
.brand-copy b,
.btn,
.nav-links a,
.nav-enquiry,
.filter,
.text-link {
  font-family: var(--font-ui);
}

img,
video,
svg,
canvas,
iframe,
form,
input,
select,
textarea,
button {
  max-width: 100%;
}

.container,
.container-wide,
.hero-content,
.nav-shell,
.footer-main,
.footer-bottom {
  max-width: 100%;
}

/* --- cleaner fixed white navigation --- */
.site-header {
  padding: 14px clamp(14px, 1.8vw, 28px);
}

.nav-shell,
.site-header.scrolled .nav-shell {
  min-height: 72px;
  padding-inline: clamp(18px, 1.7vw, 26px);
  border: 1px solid #e9ecee;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 10px 30px rgba(17, 22, 27, .075);
  backdrop-filter: none;
}

.site-header.scrolled .nav-shell {
  min-height: 66px;
  box-shadow: 0 8px 24px rgba(17,22,27,.085);
}

.brand-mark { width: 38px; height: 38px; }
.brand-copy b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.025em;
}
.brand-copy small {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .105em;
  opacity: .60;
}

.nav-links { gap: clamp(22px, 2.3vw, 38px); }
.nav-links a {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.012em;
  opacity: .68;
}
.nav-links a::after { height: 2px; }

.nav-enquiry {
  min-height: 46px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: var(--amber-shadow);
}
.nav-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: var(--amber-shadow-hover);
}
.nav-enquiry:active { transform: translateY(0); box-shadow: var(--amber-shadow); }
.nav-enquiry b {
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 800;
}

.menu-button {
  width: 46px;
  height: 46px;
  border: 1px solid #e4e8ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.menu-button:hover { background: #f7f8f8; border-color: #d9dfe1; }
.menu-button:active { transform: scale(.97); }

/* --- typography: make all former microcopy readable --- */
.hero-kicker,
.section-label,
.materials-image-caption span,
.machine-type,
.service-no,
.contact-lines small,
.contact-form label > span,
.drawer-head small,
.quote-row small {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero-kicker { color: rgba(255,255,255,.78); }
.hero-summary { font-size: clamp(16px, .65vw + 12.5px, 19px); line-height: 1.68; }
.hero-facts { font-size: 12px; font-weight: 600; }
.hero-dot span { font-size: 10.5px; }
.hero-dot b { font-size: 12.5px; font-weight: 700; }
.scroll-cue { font-size: 10.5px; }
.section-label { margin-bottom: 18px; }
.section-side-copy { font-size: 15px; line-height: 1.7; }
.intro-copy,
.materials-intro,
.contact-copy > p:not(.section-label) { font-size: 16px; line-height: 1.75; }
.filter { font-size: 12.5px; font-weight: 700; }
.machine-copy p { font-size: 13.5px; line-height: 1.6; }
.text-link { font-size: 13.5px; font-weight: 800; }
.material-row h3 { font-size: 17px; }
.material-row p { font-size: 13px; }
.statement-points b { font-size: 14px; }
.statement-points small { font-size: 12.5px; line-height: 1.55; }
.contact-lines span { font-size: 14px; }
.contact-form label > span { color: #465058; }
.contact-form input,
.contact-form select,
.contact-form textarea { font-size: 15px; }
.form-note { font-size: 12px; line-height: 1.55; }
.footer-main > p { font-size: 13px; line-height: 1.65; }
.footer-main nav a { font-size: 13px; }
.footer-bottom { font-size: 10.5px; }
.drawer-head h3 { font-size: 28px; }
.quote-row b { font-size: 14px; }
.quote-controls span { font-size: 12px; }
.quote-empty p { font-size: 12.5px; }
.clear-quote { font-size: 12px; }
.toast { font-size: 12.5px; }

.display-copy,
.section-heading h2,
.materials-content h2,
.contact-copy h2,
.statement h2 {
  font-weight: 700;
  letter-spacing: -.045em;
}
.hero h1 { font-weight: 700; letter-spacing: -.055em; }
.machine-copy h3,
.material-row h3,
.service-row h3,
.drawer-head h3 { font-weight: 700; }

/* --- buttons: remove stacked / duplicated 3D shadows --- */
.btn {
  min-height: 54px;
  padding-inline: 23px;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.008em;
  box-shadow: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s ease, border-color .22s ease;
}
.btn-primary {
  background: var(--amber);
  color: #12161a;
  box-shadow: var(--amber-shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--amber-shadow-hover);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--amber-shadow);
}
.btn-glass {
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(13,17,21,.34);
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
  backdrop-filter: blur(12px);
}
.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  box-shadow: 0 11px 26px rgba(0,0,0,.18);
}

.icon-action,
.service-row > a,
.service-chat,
.drawer-close,
.quote-controls button,
.back-top,
.floating-whatsapp {
  box-shadow: none;
}

.icon-action {
  border-radius: 12px;
  border-color: #dfe4e6;
  transition: transform .22s var(--ease), background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.icon-action:hover {
  transform: translateY(-2px);
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 8px 18px rgba(245,168,0,.18);
}
.icon-action:active { transform: translateY(0); box-shadow: none; }

.service-row > a:hover,
.service-chat:hover { transform: translateX(3px); box-shadow: none; }

.floating-whatsapp {
  min-height: 52px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(16,118,55,.20);
}
.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16,118,55,.25);
}
.back-top {
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(17,22,27,.10);
}
.back-top:hover {
  transform: translateY(-2px);
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 10px 24px rgba(245,168,0,.18);
}

/* Avoid touch hover states sticking on phones/tablets. */
@media (hover: none) {
  .btn:hover,
  .nav-enquiry:hover,
  .icon-action:hover,
  .floating-whatsapp:hover,
  .back-top:hover,
  .service-row > a:hover,
  .service-chat:hover {
    transform: none;
  }
}

/* --- forms --- */
.contact-form {
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(17,22,27,.07);
}
.contact-form input,
.contact-form select {
  height: 54px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
}

/* --- mobile menu backdrop --- */
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8,12,16,.36);
  backdrop-filter: blur(2px);
}

/* Wider laptop: switch before desktop navigation becomes cramped. */
@media (max-width: 1080px) {
  html { scroll-padding-top: 84px; }
  section[id] { scroll-margin-top: 84px; }

  .site-header {
    padding: 10px 12px;
  }

  .nav-shell,
  .site-header.scrolled .nav-shell {
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
    padding-inline: 14px;
    border-radius: 15px;
  }

  .brand-copy small { display: none; }
  .brand-copy b { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-button { display: grid; }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 20px 12px;
    display: grid;
    align-content: start;
    gap: 0;
    border: 1px solid #e4e8ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(9,13,17,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.99);
    transform-origin: top;
    transition: opacity .24s ease, transform .24s var(--ease), visibility .24s ease;
  }

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

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid #edf0f1;
    font-size: 15px;
    font-weight: 700;
    opacity: .78;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--amber-dark); opacity: 1; }

  .section-heading { grid-template-columns: minmax(0,1fr) minmax(230px, 300px); }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1080px) {
  :root { --gutter: clamp(24px, 4.5vw, 42px); }
  .section-pad { padding: 96px 0; }
  .hero-content { padding-top: 112px; }
  .hero-main { max-width: 760px; }
  .hero h1 { font-size: clamp(56px, 8vw, 82px); }
  .fleet-grid { gap: 28px; }
  .materials-image-wrap { min-height: clamp(500px, 65vw, 660px); }
}

/* Mobile: lock layout to viewport and use a proper full-width white navigation bar. */
@media (max-width: 767px) {
  :root { --gutter: 18px; }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body { min-width: 0; }
  .section-pad { padding: 74px 0; }

  .site-header,
  .site-header.scrolled {
    padding: 0;
  }

  .nav-shell,
  .site-header.scrolled .nav-shell {
    width: 100%;
    min-height: 68px;
    padding: max(0px, env(safe-area-inset-top)) 16px 0;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid #e9ecee;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 6px 18px rgba(17,22,27,.07);
  }

  .brand { overflow: hidden; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-copy { overflow: hidden; }
  .brand-copy b {
    max-width: 35vw;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
  }

  .nav-actions { gap: 8px; }
  .nav-enquiry {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 7px 18px rgba(245,168,0,.18);
  }
  .nav-enquiry span { display: none; }
  .menu-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .nav-links {
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 68px);
    padding: 12px 20px calc(18px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 38px rgba(9,13,17,.14);
  }
  .nav-links a {
    min-height: 54px;
    padding-inline: 2px;
    font-size: 16px;
  }

  .hero {
    width: 100%;
    min-height: 100svh;
    height: auto;
  }
  .hero-content {
    width: 100%;
    min-height: 100svh;
    padding-top: 94px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .hero-main {
    width: 100%;
    max-width: 100%;
    padding-bottom: 30px;
    transform: translateY(-18px);
  }
  .hero-kicker {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .11em;
  }
  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(42px, 11.8vw, 62px);
    line-height: .98;
    letter-spacing: -.047em;
    overflow-wrap: normal;
  }
  .hero-summary {
    width: 100%;
    max-width: 600px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.66;
  }
  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .hero-actions .btn { width: 100%; }
  .hero-bottom { width: 100%; }
  .hero-facts { font-size: 11px; line-height: 1.45; }

  /* Mobile section headings must stack in normal flow.
     This prevents the services description from overlapping its title. */
  .section-heading,
  .service-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .section-heading > div,
  .service-heading > div {
    width: 100%;
    min-width: 0;
  }
  .section-side-copy,
  .services .section-side-copy {
    width: 100%;
    max-width: 620px;
    margin: 0;
    position: static;
  }

  .display-copy,
  .section-heading h2,
  .materials-content h2,
  .contact-copy h2,
  .statement h2 {
    font-size: clamp(35px, 9.3vw, 49px);
    line-height: 1.06;
    letter-spacing: -.04em;
  }

  .intro-copy,
  .materials-intro,
  .contact-copy > p:not(.section-label) {
    font-size: 15px;
    line-height: 1.72;
  }

  .filter-line {
    width: calc(100% + (var(--gutter) * 2));
    max-width: none;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }
  .filter { scroll-snap-align: start; font-size: 12.5px; }

  .fleet-grid { width: 100%; grid-template-columns: minmax(0,1fr); gap: 32px; }
  .machine-card,
  .machine-media,
  .machine-copy { width: 100%; max-width: 100%; }
  .machine-media,
  .machine-card-featured .machine-media { aspect-ratio: 4 / 3; }
  .machine-copy { grid-template-columns: minmax(0,1fr) 46px; }
  .machine-copy h3 { font-size: 21px; }
  .machine-copy p { max-width: 100%; font-size: 13.5px; }

  .materials-layout,
  .contact-layout { width: 100%; grid-template-columns: minmax(0,1fr); }
  .materials-image-wrap {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 620px;
  }
  .material-row {
    width: 100%;
    min-height: 88px;
  }
  .material-row > div { min-width: 0; }
  .material-row p { max-width: 100%; }

  .service-row {
    width: 100%;
    grid-template-columns: 30px 44px minmax(0,1fr);
    column-gap: 12px;
    row-gap: 12px;
  }
  .service-row p { font-size: 13px; line-height: 1.55; }
  .service-row > a,
  .service-chat { grid-column: 3; }

  .statement { width: 100%; min-height: 590px; }
  .statement-points { width: 100%; }
  .statement-points small { font-size: 12.5px; }

  .contact-form {
    width: 100%;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .field-row { grid-template-columns: minmax(0,1fr); }
  .contact-form label > span { font-size: 11px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; /* prevents iOS focus zoom */ }
  .form-note { font-size: 11.5px; }

  .footer-main,
  .footer-bottom { width: 100%; }
  .footer-main nav { gap: 12px 20px; }
  .footer-main nav a { font-size: 13px; }
  .footer-bottom { font-size: 10px; }

  .floating-actions {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .floating-whatsapp {
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 14px;
  }
  .floating-whatsapp span { display: none; }
  .back-top { width: 46px; height: 46px; }

  .drawer-panel {
    width: 100%;
    max-width: 100%;
    padding: 22px 18px max(20px, env(safe-area-inset-bottom));
  }

  /* horizontal reveal animations can create a visual side-swipe on narrow screens */
  .reveal-left,
  .reveal-right { transform: translateY(26px); }
}

/* Small phones */
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .section-pad { padding: 68px 0; }
  .nav-shell,
  .site-header.scrolled .nav-shell { padding-inline: 14px; }
  .brand-copy b { max-width: 28vw; font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .nav-actions { gap: 6px; }
  .nav-enquiry,
  .menu-button { width: 42px; min-width: 42px; height: 42px; min-height: 42px; }
  .nav-links { top: 68px; padding-inline: 18px; }
  .hero-content { padding-top: 90px; }
  .hero h1 { font-size: clamp(40px, 12vw, 53px); }
  .hero-summary { font-size: 14.5px; }
  .btn { min-height: 52px; padding-inline: 18px; font-size: 13px; }
  .hero-facts { gap: 9px 18px; }
  .hero-facts span:nth-child(3) { display: none; }
  .machine-copy { gap: 12px; }
  .machine-copy h3 { font-size: 20px; }
  .material-row > div { grid-template-columns: 29px minmax(0,1fr); }
  .service-row { grid-template-columns: 28px 40px minmax(0,1fr); gap: 10px; }
  .service-icon { width: 40px; height: 40px; }
  .service-row h3 { font-size: 20px; }
  .contact-form { padding: 20px 15px; }
  .form-note { align-items: flex-start; text-align: left; }
  .quote-row { align-items: flex-start; padding-block: 14px; }
}

/* Very narrow phones */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .nav-shell,
  .site-header.scrolled .nav-shell { padding-inline: 10px; }
  .brand-copy b { max-width: 24vw; font-size: 13.5px; }
  .brand-mark { width: 29px; height: 29px; }
  .nav-enquiry,
  .menu-button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
  .hero h1 { font-size: 39px; }
  .machine-copy { grid-template-columns: minmax(0,1fr) 44px; }
  .material-row { align-items: center; }
  .material-row h3 { font-size: 16px; }
}

/* Large desktop polish */
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .nav-links a { font-size: 14.5px; }
  .section-side-copy { font-size: 16px; }
  .machine-copy p,
  .service-row p { font-size: 14px; }
}

/* Short screens: preserve hero readability without collisions. */
@media (min-width: 768px) and (max-height: 760px) {
  .hero-content { padding-top: 96px; padding-bottom: 18px; }
  .hero-main { padding-bottom: 20px; }
  .hero h1 { font-size: clamp(46px, 5.6vw, 68px); }
  .hero-summary { margin-top: 14px; font-size: 14.5px; }
  .hero-actions { margin-top: 18px; }
  .hero .btn { min-height: 48px; }
}

@media (max-width: 767px) and (orientation: landscape) and (max-height: 560px) {
  .hero-content { padding-top: 82px; padding-bottom: 18px; }
  .hero-main { padding-bottom: 12px; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: clamp(36px, 7vw, 52px); }
  .hero-summary { margin-top: 10px; font-size: 13px; line-height: 1.5; }
  .hero-actions { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 12px; }
  .hero .btn { min-height: 44px; }
  .hero-bottom { display: none; }
}

/* V5 final navigation details */
.nav-enquiry-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke-width: 2;
}

@media (max-width: 1080px) {
  .nav-shell,
  .site-header.scrolled .nav-shell { grid-template-columns: minmax(0,1fr) auto; }
}

@media (max-width: 767px) {
  .nav-shell,
  .site-header.scrolled .nav-shell {
    min-height: calc(68px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  .nav-links {
    top: calc(68px + env(safe-area-inset-top));
    max-height: calc(100dvh - 68px - env(safe-area-inset-top));
  }
  .hero-content { padding-top: calc(94px + env(safe-area-inset-top)); }
  .nav-enquiry { gap: 0; }
  .nav-enquiry-icon { width: 18px; height: 18px; }
  .nav-enquiry b {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 17px;
    height: 17px;
    border: 2px solid var(--amber);
    background: #11161b;
    color: #fff;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .nav-links { top: calc(68px + env(safe-area-inset-top)); }
}

/* =========================================================
   V6 CLIENT CONTENT + MOBILE NAVIGATION FIX
   ========================================================= */

/* The enquiry badge is anchored to the enquiry control only.
   This prevents the selected-item count from drifting over the
   mobile menu icon. */
.nav-enquiry {
  position: relative;
  isolation: isolate;
}
.menu-button {
  position: relative;
  isolation: isolate;
}

/* Three-item rental fleet: feature the JCB without leaving an
   awkward empty card area on wide screens. */
.fleet-grid-three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fleet-grid-three .machine-card-featured {
  grid-column: 1 / -1;
}

/* Detailed material lines stay editorial and easy to scan. */
.material-row-detail {
  min-height: 104px;
  padding-block: 12px;
}
.material-row-detail > div {
  align-items: start;
}
.material-row-detail h3 {
  line-height: 1.25;
}
.material-row-detail p {
  max-width: 620px;
  font-size: 12.75px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

/* Expanded construction service index. Two calm editorial columns
   on desktop, one column on smaller screens. */
.service-list-expanded {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 5vw, 76px);
  border-top: 1px solid var(--line-dark);
}
.service-list-expanded .service-row {
  min-height: 126px;
  grid-template-columns: 42px 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
}
.service-list-expanded .service-row:hover {
  padding-inline: 10px;
}
.service-list-expanded .service-row h3 {
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.2;
}
.service-list-expanded .service-row p {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.55;
}
.service-list-expanded .service-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.service-list-expanded .service-icon svg {
  width: 20px;
  height: 20px;
}
.service-cta {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.service-cta > div {
  display: grid;
  gap: 5px;
}
.service-cta > div span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.service-cta > div b {
  max-width: 640px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}
.service-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 1080px) {
  .service-list-expanded {
    grid-template-columns: 1fr;
  }
  .service-list-expanded .service-row {
    min-height: 114px;
  }
}

@media (max-width: 767px) {
  /* Keep the two mobile nav actions visually distinct and fixed.
     Badge belongs only to the enquiry button. */
  .nav-actions {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
  }
  .nav-enquiry,
  .menu-button {
    flex: 0 0 44px;
  }
  .nav-enquiry b {
    top: 3px;
    right: 3px;
    z-index: 3;
    pointer-events: none;
  }
  .menu-button svg {
    position: relative;
    z-index: 2;
  }

  .fleet-grid-three {
    grid-template-columns: minmax(0, 1fr);
  }
  .fleet-grid-three .machine-card-featured {
    grid-column: auto;
  }

  .material-row-detail {
    min-height: 0;
    padding-block: 17px;
    align-items: center;
  }
  .material-row-detail p {
    max-width: 100%;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .service-list-expanded .service-row {
    min-height: 0;
    grid-template-columns: 28px 42px minmax(0, 1fr);
    column-gap: 11px;
    padding: 19px 0;
  }
  .service-list-expanded .service-row:hover {
    padding-inline: 0;
  }
  .service-list-expanded .service-row h3 {
    font-size: 18px;
  }
  .service-list-expanded .service-row p {
    font-size: 12.75px;
  }
  .service-list-expanded .service-icon {
    width: 40px;
    height: 40px;
  }
  .service-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }
  .service-cta .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .nav-enquiry,
  .menu-button {
    flex-basis: 42px;
  }
  .nav-enquiry b {
    width: 17px;
    height: 17px;
    top: 2px;
    right: 2px;
  }
  .material-row-detail > div {
    grid-template-columns: 28px minmax(0,1fr);
  }
  .service-list-expanded .service-row {
    grid-template-columns: 24px 38px minmax(0, 1fr);
    column-gap: 9px;
  }
  .service-list-expanded .service-icon {
    width: 38px;
    height: 38px;
  }
}


/* =========================================================
   V6.1 MOBILE MENU RELIABILITY FIX
   Uses a real backdrop and a CSS hamburger instead of replacing
   SVG markup at runtime. This keeps touch/click hit areas stable.
   ========================================================= */
.site-header {
  pointer-events: auto;
}

/* Retire the old pseudo-element backdrop. */
body.menu-open::before {
  content: none !important;
  display: none !important;
}

body.menu-open {
  overflow: hidden;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 12, 16, .42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: default;
  transition: opacity .24s ease, visibility .24s ease;
  -webkit-tap-highlight-color: transparent;
}
.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-button {
  position: relative;
  z-index: 12;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-glyph {
  position: relative;
  display: block;
  width: 20px;
  height: 16px;
  pointer-events: none;
}
.menu-glyph i {
  position: absolute;
  left: 1px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: top .22s var(--ease), transform .22s var(--ease), opacity .16s ease;
}
.menu-glyph i:nth-child(1) { top: 1px; }
.menu-glyph i:nth-child(2) { top: 7px; }
.menu-glyph i:nth-child(3) { top: 13px; }
.menu-button.is-open .menu-glyph i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-button.is-open .menu-glyph i:nth-child(2) { opacity: 0; transform: scaleX(.35); }
.menu-button.is-open .menu-glyph i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-links {
    z-index: 11;
    pointer-events: none;
  }
  .nav-links.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }
  .menu-button {
    display: grid !important;
    place-items: center;
  }
}

@media (min-width: 1081px) {
  .menu-backdrop { display: none !important; }
}

@media (max-width: 767px) {
  .menu-button {
    background: #f7f8f8;
    border-color: #e4e8ea;
  }
  .menu-button.is-open {
    background: #11161b;
    border-color: #11161b;
    color: #fff;
  }
  .nav-links {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Make the menu react immediately to touch. Visibility is not animated,
   only opacity/position, so there is no delayed or "dead" tap feeling. */
@media (max-width: 1080px) {
  .nav-links {
    transition: opacity .22s ease, transform .22s var(--ease) !important;
  }
}
.menu-backdrop {
  transition: opacity .22s ease !important;
}
