@font-face {
  font-family: "Prestmaq Display";
  src: url("assets/display.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #1c1c16;
  --muted: #58574e;
  --dark: #151612;
  --dark-deep: #10110e;
  --yellow: #ffcc32;
  --yellow-hover: #ffdb65;
  --paper: #f5f3ed;
  --line: #dedbd0;
  --white: #fffdf6;
  --gutter: clamp(22px, 5.2vw, 80px);
  --mobile-bar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: var(--mobile-bar); }
body {
  margin: 0;
  background: var(--dark-deep);
  color: var(--ink);
  font: 400 1rem/1.6 system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #936000;
  outline-offset: 5px;
}
.header a:focus-visible, .hero a:focus-visible, .contact a:focus-visible,
.footer a:focus-visible, .mobile-contact a:focus-visible {
  outline-color: var(--yellow);
  outline-offset: 3px;
}

.frame { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.display {
  font-family: "Prestmaq Display", "Arial Narrow", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.018em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .73rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }

.header { position: relative; z-index: 1; background: var(--dark); color: var(--white); }
.header__inner {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a { text-decoration: none; color: #e4e2d8; font-size: .93rem; font-weight: 650; }
.nav a:hover { color: var(--yellow); }

.button {
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 11px 18px;
  font-size: .95rem;
  line-height: 1.2;
  font-weight: 760;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.button .icon { width: 19px; height: 19px; }
.button--primary { background: var(--yellow); color: var(--dark); }
.button--secondary { border-color: #aaa99b; color: var(--white); background: #15161285; }
.button--primary:hover { background: var(--yellow-hover); }
.button--secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.button:active { transform: translateY(1px); }
.header__contact { min-height: 43px; font-size: .88rem; padding-inline: 14px; }
.header__contact .icon { width: 17px; height: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--dark);
  color: var(--white);
  border-top: 1px solid #ffffff15;
}
.hero__media { position: absolute; inset: 0 0 0 33%; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 54%;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, #1516125e, transparent 36%),
    linear-gradient(90deg, #151612 31%, #151612ee 39%, #1516129c 53%, #15161212 73%, #15161200 100%);
}
.hero__inner { position: relative; display: flex; align-items: center; min-height: 572px; padding-block: 52px 66px; }
.hero__body { width: min(100%, 720px); }
.hero__location { color: var(--yellow); margin-bottom: 20px; }
.hero__location .icon { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(3.5rem, 7.1vw, 6.2rem); line-height: .91; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead { max-width: 390px; margin-block: 23px 27px; color: #edebe1; font-size: 1.06rem; }
.hero__caption {
  position: absolute;
  right: 0;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #fffdf642;
  border-radius: 4px;
  background: #151612c9;
  color: var(--white);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__caption span, .services__media figcaption span { width: 6px; height: 6px; background: var(--yellow); }

.highlights { background: var(--yellow); color: var(--dark); }
.highlights__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
.highlights li {
  min-height: 65px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  text-align: center;
  font-size: .94rem;
  font-weight: 770;
}
.highlights li + li { border-left: 1px solid #1c1c1628; }

.section { padding-block: clamp(56px, 6.1vw, 89px); }
.section__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section__label { color: #625121; margin-bottom: 11px; }
.section__label::before, .contact__label::before {
  content: "";
  width: 17px;
  height: 3px;
  background: #c88e00;
}
.section h2, .contact h2 { font-size: clamp(2.4rem, 4.25vw, 3.8rem); }
.section__heading > p { color: var(--muted); max-width: 300px; }

.fleet { background: var(--paper); }
.fleet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 25px); }
.machine-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.machine-card:hover, .machine-card:focus-within { border-color: #b48923; box-shadow: 0 8px 25px #24201512; }
.machine-card__media { position: relative; aspect-ratio: 720 / 460; overflow: hidden; background: #c9baa2; }
.machine-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.machine-card:hover .machine-card__media img, .machine-card:focus-within .machine-card__media img { transform: scale(1.035); }
.machine-card__number {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 33px;
  border-radius: 3px;
  padding: 3px 6px;
  background: var(--yellow);
  text-align: center;
  font: 750 .77rem/1.5 system-ui, sans-serif;
  letter-spacing: .06em;
}
.machine-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(16px, 1.8vw, 23px); }
.machine-card h3 { font-size: clamp(1.04rem, 1.6vw, 1.34rem); line-height: 1.22; letter-spacing: -.025em; }
.machine-card p { margin-block: 9px 17px; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.machine-card__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
}
.machine-card__link .icon {
  box-sizing: content-box;
  width: 18px;
  height: 18px;
  padding: 6px;
  border-radius: 3px;
  background: #ffedb4;
  transition: background-color .18s ease;
}
.machine-card__link:hover .icon, .machine-card__link:focus-visible .icon { background: var(--yellow); }

.services { background: #fffdfa; }
.services__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6.2vw, 88px); }
.services__media {
  position: relative;
  align-self: stretch;
  min-height: 400px;
  border-radius: 6px;
  overflow: hidden;
  background: #c9baa2;
}
.services__media img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.services__media figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  background: var(--dark);
  color: var(--white);
  border-radius: 0 4px 0 0;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.service-list { margin-block: 24px 20px; border-top: 1px solid var(--line); }
.service-list details { border-bottom: 1px solid var(--line); }
.service-list summary {
  display: grid;
  grid-template-columns: 26px 1fr 23px;
  align-items: center;
  gap: 8px;
  padding-block: 13px;
  min-height: 54px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 740;
  list-style: none;
}
.service-list summary::-webkit-details-marker { display: none; }
.service-list summary:hover { color: #775609; }
.service-list__index { color: #6f633b; font-size: .73rem; font-weight: 750; }
.service-list__toggle { position: relative; width: 23px; height: 23px; border-radius: 3px; background: #f3eee0; }
.service-list__toggle::before, .service-list__toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.service-list__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .service-list__toggle { background: var(--yellow); }
details[open] .service-list__toggle::after { display: none; }
.service-list p { padding: 0 30px 15px 34px; color: var(--muted); font-size: .95rem; line-height: 1.52; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: .94rem; font-weight: 760; text-underline-offset: 4px; }
.text-link .icon { width: 17px; height: 17px; }
.text-link:hover { color: #775609; }

.contact {
  position: relative;
  overflow: clip;
  background: #24251c;
  color: var(--white);
  border-top: 4px solid var(--yellow);
}
.contact::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 0 0 auto;
  width: min(40%, 500px);
  opacity: .35;
  background: repeating-linear-gradient(126deg, transparent 0 21px, #ffcc322b 22px 23px, transparent 24px 44px);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.contact__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-block: clamp(36px, 5.4vw, 73px);
}
.contact__label { margin-bottom: 9px; color: var(--yellow); }
.contact__label::before { background: var(--yellow); }
.contact p:not(.eyebrow) { margin-top: 11px; max-width: 450px; color: #e0dfd3; }
.contact .actions { flex: 0 0 auto; }

.footer { background: var(--dark-deep); color: #dddbcf; }
.footer__inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand img { width: 120px; }
.footer p, .footer__phone { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; }
.footer .icon { width: 16px; height: 16px; color: var(--yellow); }
.footer__phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.footer__phone:hover { color: var(--yellow); }
.mobile-contact { display: none; }

@media (max-width: 1030px) {
  .contact .actions { flex-direction: column; }
}

@media (max-width: 850px) {
  .hero__inner { min-height: 510px; }
  .section__heading { align-items: start; flex-direction: column; gap: 9px; }
  .section__heading > p { max-width: 490px; }
  .services__media { min-height: 365px; }
}

@media (max-width: 680px) {
  :root {
    --gutter: clamp(18px, 5vw, 32px);
    --mobile-bar: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .header__inner { min-height: 63px; gap: 10px; }
  .brand img { width: 126px; }
  .nav { display: none; }
  .header__contact { min-height: 40px; }
  .hero__inner { min-height: 0; display: block; padding-block: 34px clamp(200px, 57vw, 295px); }
  .hero__media { inset: auto 0 0; height: clamp(255px, 65vw, 380px); }
  .hero__media img { object-position: center 59%; }
  .hero::before {
    background:
      linear-gradient(0deg, #15161265, transparent 21%),
      linear-gradient(180deg, #151612 51%, #151612d9 61%, #15161222 77%, #15161200 100%);
  }
  .hero__location { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2.125rem, 12.9vw, 4.65rem); }
  .hero__lead { margin-block: 17px 21px; font-size: 1rem; }
  .hero .actions { display: grid; grid-template-columns: 1.15fr .85fr; max-width: 390px; gap: 8px; }
  .hero .button { padding-inline: 8px; gap: 7px; font-size: .89rem; }
  .hero__caption { right: 0; bottom: 13px; }
  .highlights__list { width: 100%; }
  .highlights li { min-height: 65px; gap: 4px; flex-direction: column; padding-inline: 4px; font-size: .7rem; line-height: 1.15; }
  .highlights .icon { width: 20px; height: 20px; }
  .section { padding-block: 49px; }
  .section__heading { margin-bottom: 22px; }
  .fleet__grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .machine-card h3 { font-size: 1.22rem; }
  .machine-card__media { max-height: 290px; }
  .machine-card__link { min-height: 44px; }
  .services__grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .services__media { grid-row: 2; min-height: 0; aspect-ratio: 4 / 3; }
  .services__media img { object-position: center 38%; }
  .contact__inner { display: block; }
  .contact .actions { display: grid; margin-top: 19px; max-width: 390px; gap: 9px; }
  .footer { padding-bottom: var(--mobile-bar); }
  .footer__inner { display: grid; grid-template-columns: 1fr auto; padding-block: 15px; row-gap: 8px; }
  .footer .brand { grid-row: span 2; }
  .footer p, .footer__phone { justify-content: flex-end; font-size: .77rem; }
  .mobile-contact {
    position: fixed;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 8px;
    border-top: 1px solid #ffffff26;
    padding: 9px var(--gutter) calc(9px + env(safe-area-inset-bottom, 0px));
    background: var(--dark);
  }
  .mobile-contact .button { min-height: 48px; padding-inline: 10px; }
}

@media (max-width: 350px) {
  .header .brand img { width: 112px; }
  .header__contact { padding-inline: 11px; }
  .hero .button { gap: 5px; padding-inline: 5px; font-size: .83rem; }
  .hero .button .icon { width: 16px; height: 16px; }
  .footer .brand img { width: 98px; }
  .footer__inner { column-gap: 6px; }
}

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