:root {
  --green: #6f9d73;
  --green-deep: #4f7e5d;
  --cream: #f4f1e8;
  --ink: #222222;
  --muted: #6c695f;
  --rust: #9d4f3a;
  --rust-dark: #803929;
  --white: #fffdf4;
  --line: rgb(34 34 34 / 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(92vw, 74rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgb(255 253 244 / 0.7);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--white);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--white);
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 253 244 / 0.8);
  border-radius: 999px;
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease;
}

.cursor-ring.is-active {
  width: 58px;
  height: 58px;
  border-color: var(--rust);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.65rem) clamp(1.2rem, 4vw, 3.3rem);
  color: var(--white);
  transition: background 260ms ease, padding 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  padding-block: 0.8rem;
  background: rgb(34 34 34 / 0.62);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  font-size: 0.78rem;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  opacity: 0.84;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.icon-button,
.pill-button {
  min-height: 2.8rem;
  border: 1px solid rgb(255 253 244 / 0.32);
  color: var(--white);
  background: rgb(255 253 244 / 0.07);
  backdrop-filter: blur(12px);
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.icon-button {
  width: 2.8rem;
  border-radius: 999px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.icon-button:hover,
.pill-button:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.menu-button {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgb(255 253 244 / 0.34);
  border-radius: 999px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.24rem auto;
  background: var(--white);
  transition: transform 220ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(0.25rem) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-0.25rem) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-content: center;
  gap: 1.6rem;
  padding: 6rem 2rem 2rem;
  color: var(--white);
  background: rgb(34 34 34 / 0.94);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: opacity 260ms ease, transform 260ms var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a:not(.pill-button) {
  font-size: clamp(2rem, 11vw, 4.4rem);
  font-family: "Anton", Impact, sans-serif;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  color: var(--white);
  background:
    linear-gradient(180deg, rgb(79 126 93 / 0.06), rgb(79 126 93 / 0.24)),
    var(--green);
}

.hero::before {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 1;
  width: 100%;
  height: 28%;
  content: "";
  background: linear-gradient(90deg, rgb(125 47 34 / 0.92), rgb(169 76 54 / 0.9));
  clip-path: polygon(0 34%, 56% 0, 100% 19%, 100% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 10;
  width: min(92vw, 82rem);
  margin-inline: auto;
  padding-top: clamp(8.5rem, 14vw, 13.5rem);
}

.hero-copy p {
  width: min(29rem, 55vw);
  margin: 0 0 1.5rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
}

.hero-copy h1 {
  position: relative;
  z-index: 9;
  width: min-content;
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(5.2rem, 16.8vw, 15.6rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-note {
  position: absolute;
  z-index: 6;
  top: 34%;
  right: max(4vw, calc((100vw - 74rem) / 2));
  width: min(32rem, 33vw);
  margin: 0;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 600;
  line-height: 1.65;
  color: rgb(255 253 244 / 0.74);
}

.hero-tech {
  position: absolute;
  left: 50%;
  bottom: -7vh;
  z-index: 7;
  width: clamp(19rem, 39vw, 43rem);
  max-width: none;
  transform: translateX(-50%);
  filter: saturate(0.92) contrast(1.04);
  -webkit-mask-image: radial-gradient(ellipse 49% 68% at 50% 45%, #000 62%, rgb(0 0 0 / 0.85) 68%, transparent 77%);
  mask-image: radial-gradient(ellipse 49% 68% at 50% 45%, #000 62%, rgb(0 0 0 / 0.85) 68%, transparent 77%);
}

.hero-rust {
  position: absolute;
  z-index: 8;
  bottom: 2%;
  left: 45%;
  width: clamp(16rem, 30vw, 32rem);
  height: clamp(16rem, 30vw, 32rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(157 79 58 / 0.55), transparent 67%);
  mix-blend-mode: multiply;
}

.partner-row {
  position: absolute;
  z-index: 10;
  right: 4vw;
  bottom: clamp(1rem, 3vw, 2.2rem);
  left: 4vw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
  color: rgb(255 253 244 / 0.9);
  font-size: clamp(0.78rem, 1.4vw, 1.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-pad {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section-heading {
  width: min(92vw, 46rem);
  margin-inline: auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 1rem;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgb(111 157 115 / 0.13);
  font-size: 0.74rem;
  font-weight: 900;
}

h2 {
  margin: 1.35rem 0 0;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading p {
  width: min(100%, 42rem);
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  width: var(--container);
  margin: clamp(2.8rem, 6vw, 5rem) auto 0;
}

.team-card {
  text-align: center;
}

.team-image {
  aspect-ratio: 0.9 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: #ddd5c3;
}

.team-image img {
  width: 300%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 650ms var(--ease);
}

.team-card:hover .team-image img {
  transform: scale(1.04);
}

.crop-left img {
  object-position: 0% 50%;
}

.crop-center img {
  object-position: 50% 50%;
  transform: translateX(-33.333%);
}

.crop-right img {
  object-position: 100% 50%;
  transform: translateX(-66.666%);
}

.team-card:hover .crop-center img {
  transform: translateX(-33.333%) scale(1.04);
}

.team-card:hover .crop-right img {
  transform: translateX(-66.666%) scale(1.04);
}

.team-card h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  letter-spacing: -0.03em;
}

.team-card p {
  margin: 0;
  color: var(--rust);
  font-weight: 600;
}

.proof-banner {
  position: relative;
  min-height: clamp(31rem, 52vw, 44rem);
  overflow: clip;
  color: var(--white);
  background: var(--ink);
}

.proof-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(34 34 34 / 0.68), transparent 46%, rgb(34 34 34 / 0.55)),
    linear-gradient(180deg, transparent 48%, rgb(128 57 41 / 0.86));
}

.banner-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  align-items: center;
  gap: 2rem;
  width: var(--container);
  min-height: inherit;
  margin-inline: auto;
  padding-block: 4rem;
}

.banner-content p:first-child {
  width: min(34rem, 80vw);
  margin: 0 0 2rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}

.banner-content strong {
  display: block;
  margin-top: clamp(2rem, 7vw, 5rem);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 400;
  line-height: 0.8;
}

.banner-card {
  justify-self: end;
  display: grid;
  gap: 1.5rem;
}

.banner-card h3 {
  margin: clamp(3rem, 9vw, 7rem) 0 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.banner-card p,
.banner-card a:not(.pill-button) {
  margin: 0;
  color: rgb(255 253 244 / 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.8rem, 4vw, 2.6rem) max(4vw, calc((100vw - 74rem) / 2));
  color: var(--white);
  background: linear-gradient(90deg, var(--rust-dark), var(--rust));
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.stat span {
  display: block;
  margin-top: 0.55rem;
  font-weight: 600;
  color: rgb(255 253 244 / 0.86);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  background: var(--white);
}

.process-copy {
  align-self: center;
  padding: clamp(0.4rem, 2vw, 1.5rem);
}

.process-copy h2 {
  max-width: 25rem;
}

.accordion {
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 4rem;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.accordion-item.is-open button {
  color: var(--rust);
}

.accordion-item p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  transition: max-height 260ms ease, padding-bottom 260ms ease;
}

.accordion-item.is-open p {
  max-height: 8rem;
  padding-bottom: 1.4rem;
}

.process-image {
  min-height: 30rem;
  overflow: hidden;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.process:hover .process-image img {
  transform: scale(1.025);
}

.site-footer {
  position: relative;
  overflow: clip;
  color: var(--white);
  background: var(--ink);
  padding: clamp(4rem, 8vw, 6rem) max(4vw, calc((100vw - 74rem) / 2)) 0;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(19rem, 1.15fr);
  gap: clamp(2.5rem, 8vw, 6rem);
}

.footer-cta h2 {
  width: min(28rem, 100%);
  margin: 0;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.94;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 3rem;
  width: min(28rem, 100%);
  margin-top: clamp(2.2rem, 5vw, 4rem);
  color: rgb(255 253 244 / 0.66);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--white);
}

.service-form {
  display: grid;
  gap: 1.3rem;
}

.service-form label {
  display: grid;
  gap: 0.4rem;
}

.service-form span {
  color: rgb(255 253 244 / 0.48);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-form input {
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-bottom: 1px solid rgb(255 253 244 / 0.18);
  color: var(--white);
  background: transparent;
  border-radius: 0;
}

.service-form input:focus {
  border-color: var(--white);
  outline: none;
}

.submit-button {
  min-height: 3.3rem;
  margin-top: 1rem;
  border: 0;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: rgb(255 253 244 / 0.75);
  font-size: 0.86rem;
}

.footer-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 253 244 / 0.14);
  color: rgb(255 253 244 / 0.5);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-word {
  position: relative;
  z-index: 1;
  margin: clamp(2rem, 5vw, 4rem) 0 -1.1vw;
  color: var(--cream);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(6rem, 29vw, 24rem);
  line-height: 0.68;
  letter-spacing: 0;
  text-align: center;
}

.reveal {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 62rem) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-actions .icon-button,
  .header-actions > .pill-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 50rem;
  }

  .hero-copy {
    padding-top: 7.5rem;
  }

  .hero-copy p,
  .hero-note {
    width: min(92vw, 32rem);
  }

  .hero-note {
    position: relative;
    inset: auto;
    margin: 1.2rem auto 0;
    text-align: center;
  }

  .hero-copy h1 {
    margin-top: 13rem;
    white-space: normal;
  }

  .hero-tech {
    top: 8rem;
    bottom: auto;
    width: clamp(17rem, 55vw, 28rem);
    -webkit-mask-image: radial-gradient(ellipse 68% 78% at 50% 45%, #000 64%, rgb(0 0 0 / 0.9) 73%, transparent 86%);
    mask-image: radial-gradient(ellipse 68% 78% at 50% 45%, #000 64%, rgb(0 0 0 / 0.9) 73%, transparent 86%);
  }

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

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

  .team-grid {
    width: min(92vw, 44rem);
  }

  .banner-content {
    grid-template-columns: 1fr;
    align-content: end;
  }

  .banner-card {
    justify-self: start;
  }

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

  .process-image {
    min-height: 23rem;
  }
}

@media (max-width: 40rem) {
  .hero {
    min-height: 46rem;
    background:
      url("../images/hero-technician-480.webp") center 7.2rem / 22rem auto no-repeat,
      linear-gradient(180deg, rgb(79 126 93 / 0.06), rgb(79 126 93 / 0.24)),
      var(--green);
  }

  .hero-copy {
    width: 92vw;
  }

  .hero-copy p {
    font-size: 1.18rem;
  }

  .hero-copy h1 {
    margin-top: 14.5rem;
    font-size: clamp(4.15rem, 22vw, 6rem);
  }

  .hero-tech {
    display: none;
  }

  .hero-note {
    display: none;
  }

  .partner-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    font-size: 0.72rem;
  }

  .section-heading {
    text-align: left;
  }

  .team-grid {
    gap: 2.4rem;
  }

  .proof-banner {
    min-height: 36rem;
  }

  .banner-content {
    padding-block: 5rem 3rem;
  }

  .stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .process {
    width: 100%;
    padding: 1.1rem;
  }

  .process-image {
    min-height: 18rem;
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

.desktop-nav li,
.mobile-menu li,
.footer-links li {
  list-style: none;
}

.desktop-nav li,
.mobile-menu li,
.footer-links li {
  display: contents;
}

.brand img {
  display: block;
  width: auto;
  max-width: 10rem;
  max-height: 2.4rem;
}

.wp-content {
  width: var(--container);
  margin-inline: auto;
}

.wp-entry {
  max-width: 52rem;
  margin-inline: auto;
}

.wp-entry + .wp-entry {
  margin-top: 3rem;
}

.wp-entry h1,
.wp-archive-header h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.wp-entry h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.entry-content,
.entry-summary,
.archive-description,
.theme-sidebar {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.entry-content a,
.entry-summary a {
  color: var(--rust);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.wp-featured-image {
  margin: 0 0 2rem;
  overflow: hidden;
}

.wp-featured-image img,
.entry-content img {
  height: auto;
  max-width: 100%;
}

.theme-sidebar {
  width: var(--container);
  margin: 0 auto clamp(4rem, 8vw, 6rem);
}

@media (max-width: 62rem) {
  .hero-tech,
  .proof-banner > img,
  .process-image img,
  .wp-featured-image img,
  .entry-content img {
    height: auto;
    max-width: 100%;
  }

  .proof-banner > img,
  .process-image img {
    height: 100%;
    object-fit: cover;
  }

  .team-image {
    aspect-ratio: 1 / 1.08;
  }

  .process-image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 40rem) {
  .site-header {
    padding-inline: 1rem;
  }

  .hero {
    background-size: min(92vw, 22rem) auto, auto, auto;
  }

  .proof-banner > img {
    object-position: 58% center;
  }

  .process-image {
    min-height: 0;
  }

  .service-form input {
    font-size: 1rem;
  }
}
