:root {
  --ink: #111111;
  --text: #454545;
  --muted: #767676;
  --line: #e8e8e8;
  --soft: #f5f5f3;
  --gold: #f2b705;
  --gold-dark: #d39b00;
  --header: 5rem;
  --wrap: 74rem;
  --measure: 42rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  padding-bottom: calc(4.3rem + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 720;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

p {
  text-wrap: pretty;
}

.section {
  padding: clamp(4.7rem, 9vw, 8rem) 0;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.section-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 0.75rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 0.45rem 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.logo {
  display: block;
  width: auto;
}

.logo img {
  width: auto;
  height: 3.9rem;
  object-fit: contain;
}

.nav-toggle {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -0.4rem;
}

.nav-toggle span::after {
  top: 0.4rem;
}

.nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto;
  padding: 0.3rem 1.25rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.06);
}

.nav.is-open {
  display: grid;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 3.2rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.nav .nav-cta {
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--gold);
  border: 0;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03) 25%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 68%);
}

.hero-caption {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 3rem 0 4.7rem;
}

.hero-kicker,
.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--gold);
}

.hero h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.7rem, 10.5vw, 6.6rem);
  font-weight: 720;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 35rem;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.56);
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.scroll-hint {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.intro {
  text-align: center;
}

.intro-inner {
  max-width: 54rem;
}

.intro h2 {
  margin-bottom: 1.6rem;
}

.intro-copy {
  max-width: var(--measure);
  margin-inline: auto;
  color: var(--text);
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
}

.promise-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.1rem;
  margin-top: 2rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promise-row span + span::before {
  content: "•";
  margin-right: 1.1rem;
  color: var(--gold-dark);
}

.image-break {
  position: relative;
  width: min(86rem, calc(100% - 1.5rem));
  margin-inline: auto;
  overflow: hidden;
}

.image-break img {
  width: 100%;
  min-height: 24rem;
  max-height: 45rem;
  object-fit: cover;
  object-position: center;
}

.image-break + .services {
  padding-top: clamp(3.8rem, 7vw, 6rem);
}

.section-heading {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2.8rem;
}

.section-heading > p {
  max-width: 34rem;
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-grid article {
  position: relative;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-grid article > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.service-grid h3 {
  margin-bottom: 0.55rem;
}

.service-grid p {
  color: var(--muted);
}

.amvo {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.amvo h2 {
  color: #fff;
}

.split {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.split-copy > p:not(.eyebrow) {
  max-width: 35rem;
  margin-top: 1.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin-top: 1.8rem;
}

.check-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.65rem;
  height: 0.35rem;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.text-link span {
  font-size: 1.3rem;
}

.poster-frame {
  width: min(100%, 28rem);
  margin-inline: auto;
  padding: 0.65rem;
  background: #fff;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35);
}

.poster-frame img {
  width: 100%;
  height: auto;
}

.team {
  background: #fff;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 62rem;
  margin-inline: auto;
}

.team-grid figure {
  overflow: hidden;
  background: var(--soft);
}

.team-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform 450ms ease;
}

.machines {
  background: var(--soft);
  overflow: hidden;
}

.machines-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.machines-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1.4rem;
}

.machines-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at center, rgba(242, 183, 5, 0.13), transparent 60%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
}

.machines-visual img {
  width: min(100%, 34rem);
  height: auto;
  margin-inline: auto;
}

.machine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.machine-tags span {
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
}

.cta-band {
  padding: 2.5rem 0;
  background: var(--gold);
}

.cta-inner {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.cta-band .eyebrow {
  margin-bottom: 0.35rem;
  color: rgba(17, 17, 17, 0.62);
}

.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.contact-inner {
  display: grid;
  gap: 3rem;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 31rem;
  margin-top: 1.4rem;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-list > * {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 2.2rem 1.2rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-style: normal;
}

.contact-list span {
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-list strong {
  font-size: 1.05rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-list i {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-style: normal;
}

.legal {
  width: min(55rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-bottom: 1.75rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.legal h2 {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal a {
  color: var(--ink);
}

.footer {
  margin-top: 2rem;
  padding: 1.4rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
}

.footer-main {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-main > img {
  width: 6.5rem;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-main > p {
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
}

.dock {
  position: fixed;
  z-index: 60;
  inset: auto 0 0;
  min-height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.2rem calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
}

.dock span {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dock strong {
  font-size: 0.95rem;
}

.nav a:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible,
.text-link:focus-visible,
.contact-list a:focus-visible,
.dock:focus-visible,
.logo:focus-visible,
.scroll-hint:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (hover: hover) {
  .btn-gold:hover {
    background: #fff;
  }

  .btn-outline:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
  }

  .nav a:hover {
    color: var(--gold-dark);
  }

  .team-grid figure:hover img {
    transform: scale(1.025);
  }

  .contact-list a:hover strong {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 0.25em;
  }
}

@media (min-width: 620px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    min-width: 10.5rem;
  }

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

  .service-grid article {
    padding: 1.8rem 1.4rem;
  }

  .service-grid article:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }

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

  .team-grid img {
    aspect-ratio: 3 / 4;
  }

  .cta-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) {
  :root {
    --header: 6rem;
  }

  body {
    padding-bottom: 0;
  }

  .header {
    display: grid;
    grid-template-columns: auto 1fr;
    padding-inline: max(2rem, calc((100% - var(--wrap)) / 2));
  }

  .logo {
    width: auto;
  }

  .logo img {
    height: 4.6rem;
  }

  .nav-toggle,
  .dock {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.65rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav a {
    min-height: auto;
    padding: 0.4rem 0;
    border: 0;
    font-size: 0.88rem;
  }

  .nav .nav-cta {
    min-height: 2.7rem;
    margin: 0 0 0 0.3rem;
    padding: 0.55rem 1rem;
  }

  .hero-img {
    object-position: center 48%;
  }

  .hero-caption {
    padding-bottom: 5rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.58) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.56), transparent 62%);
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.62fr);
    align-items: end;
    gap: 4rem;
    margin-bottom: 4rem;
  }

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

  .service-grid article {
    min-height: 15rem;
    padding: 2rem;
    border-right: 1px solid var(--line);
  }

  .service-grid article:nth-child(odd) {
    padding-left: 2rem;
  }

  .service-grid article:nth-child(3n + 1) {
    padding-left: 0;
  }

  .service-grid article:nth-child(3n) {
    border-right: 0;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.7fr);
    gap: clamp(4rem, 9vw, 8rem);
  }

  .machines-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(28rem, 1fr);
    gap: 5rem;
  }

  .machines-visual {
    width: 100%;
  }

  .cta-band {
    padding: 3.2rem 0;
  }

  .contact-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(28rem, 1fr);
    gap: 7rem;
    align-items: start;
  }

  .footer-main {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .footer-main > img {
    width: 7rem;
  }

  .footer-links {
    justify-self: end;
  }
}

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

  .btn,
  .team-grid img {
    transition: none;
  }
}
