/*
Theme Name: Graber
Description: Custom WordPress theme for Graber.sk
Version: 0.1.0
Text Domain: graber
*/

:root {
  --ink: #171717;
  --concrete: #f1f0ec;
  --paper: #faf9f6;
  --line: #d6d3cc;
  --amber: #ef9b19;
  --muted: #686860;
  --shell: min(1320px, calc(100% - 96px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--concrete);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body.menu-is-open {
  overflow: hidden;
}
body.inquiry-is-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.page-shell {
  width: var(--shell);
  margin: 0 auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    backdrop-filter 0.25s;
}
.site-header__inner {
  width: var(--shell);
  min-height: 86px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header--scrolled {
  color: var(--ink);
  background: rgba(250, 249, 246, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.site-logo {
  display: inline-flex;
  width: min(156px, 42vw);
  aspect-ratio: 156 / 37;
  flex: 0 0 auto;
  align-items: center;
}
.site-logo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.site-logo__image--for-light-background {
  display: none;
}
.site-header--scrolled .site-logo__image--for-dark-background,
.site-logo--on-light .site-logo__image--for-dark-background {
  display: none;
}
.site-header--scrolled .site-logo__image--for-light-background,
.site-logo--on-light .site-logo__image--for-light-background {
  display: block;
}
.site-navigation {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}
.site-navigation a,
.site-phone {
  transition: color 0.2s;
}
.site-navigation a:hover,
.site-phone:hover {
  color: var(--amber);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 23px;
}
@media (min-width: 1140px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .site-logo {
    justify-self: start;
  }
  .site-navigation {
    justify-self: center;
    margin-left: 0;
  }
  .site-header__actions {
    justify-self: end;
  }
}
.site-phone {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.button:hover {
  background: transparent;
  color: var(--amber);
}
.site-header--scrolled .button:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.button--small {
  padding: 13px 15px;
  gap: 10px;
  font-size: 10px;
}
.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  min-height: 96svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #222;
}
.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__image {
  object-fit: cover;
  object-position: center;
}
.hero__shade {
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 9, 0.86) 0%,
      rgba(8, 9, 9, 0.59) 48%,
      rgba(8, 9, 9, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.43), transparent 55%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 176px 0 110px;
}
.eyebrow {
  margin: 0 0 19px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}
.eyebrow span {
  color: var(--amber);
}
.eyebrow--light {
  color: #f7f6f2;
}
.hero h1,
h2,
h3 {
  margin: 0;
  font-family: Archivo, Arial, sans-serif;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 1030px;
  font-size: clamp(55px, 7.25vw, 124px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  font-weight: 850;
}
.hero h1 em {
  color: var(--amber);
  font-style: normal;
}
.hero__lead {
  max-width: 600px;
  margin: 35px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #e0dfdc;
}
.hero__buttons {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 37px;
}
.text-link {
  display: inline-flex;
  gap: 15px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--amber);
}
.text-link--light {
  color: #fff;
}
.hero__scroll {
  position: absolute;
  right: 48px;
  bottom: 34px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}
.hero__scroll span {
  width: 60px;
  height: 1px;
  background: var(--amber);
}

.section {
  padding: 142px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 30px;
  margin-bottom: 64px;
}
.section-heading > p:last-child {
  grid-column: 2;
  max-width: 570px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.section-heading h2,
.about h2,
.contact-cta h2 {
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 0.91;
  letter-spacing: -0.065em;
  font-weight: 850;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  position: relative;
  min-height: 289px;
  padding: 26px 29px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition:
    background 0.25s,
    color 0.25s;
}
.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(20, 20, 20, 0.86), rgba(20, 20, 20, 0.55)),
    var(--service-card-image, url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1200&q=70"))
      center/cover;
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover {
  color: #fff;
}
.service-card:hover:before {
  opacity: 1;
}
.service-card > * {
  position: relative;
  z-index: 1;
}
.service-card__number,
.reason > span {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
.service-card h3 {
  max-width: 390px;
  font-size: clamp(25px, 2.45vw, 39px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 750;
}
.service-card p {
  max-width: 380px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.service-card:hover p {
  color: #ddd;
}
.service-card__arrow {
  position: absolute;
  right: 28px;
  bottom: 25px;
  font-size: 23px;
  color: var(--amber);
}

.reasons {
  background: var(--ink);
  color: #f6f5f0;
}
.section-heading--dark {
  margin-bottom: 70px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #494947;
}
.reason {
  min-height: 250px;
  padding: 22px 25px 20px 0;
  border-right: 1px solid #494947;
}
.reason:not(:first-child) {
  padding-left: 25px;
}
.reason:last-child {
  border: 0;
}
.reason h3 {
  margin-top: 76px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.reason p {
  margin: 13px 0 0;
  max-width: 238px;
  color: #b9b9b3;
  font-size: 14px;
}

.projects {
  background: var(--paper);
}
.projects-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 45px 27px;
}
.project:first-child {
  grid-row: span 2;
}
.project__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ccc;
}
.project__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.46;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project:first-child .project__image img {
  aspect-ratio: 1.03;
}
a.project__image:hover img {
  transform: scale(1.055);
}
.project__image--static {
  cursor: default;
}
.project__image--static img {
  height: auto;
}
@media (min-width: 741px) {
  .projects-grid--count-1 {
    grid-template-columns: minmax(0, 1fr);
  }
  .projects-grid--count-2,
  .projects-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects-grid--count-1 .project:first-child,
  .projects-grid--count-2 .project:first-child,
  .projects-grid--count-4 .project:first-child {
    grid-row: auto;
  }
  .projects-grid--count-1 .project:first-child .project__image img,
  .projects-grid--count-2 .project:first-child .project__image img,
  .projects-grid--count-4 .project:first-child .project__image img {
    aspect-ratio: 1.46;
  }
}
.project__image span {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--amber);
  font-size: 22px;
}
.project__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
}
.project h3 {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.project p {
  flex: none;
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}
.project p span {
  color: var(--amber);
}

.about {
  background: var(--concrete);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8.5vw;
}
.about__image {
  overflow: hidden;
}
.about__image img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  filter: grayscale(100%);
}
.about__content h2 {
  margin-top: 26px;
}
.about__content > p:not(.eyebrow) {
  max-width: 500px;
  margin: 27px 0 31px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.contact-cta {
  padding: 130px 0 116px;
  background: var(--amber);
}
.contact-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(56px, 9vw, 150px);
}
.contact-cta h2 {
  max-width: 730px;
  font-size: clamp(48px, 5.55vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}
.contact-cta__lead {
  max-width: 515px;
  margin: 32px 0 0;
  font-size: 17px;
  line-height: 1.6;
}
.contact-cta__details {
  border-top: 1px solid rgba(23, 23, 23, 0.48);
}
.contact-cta__item {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 23px 0 24px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.48);
  transition:
    padding 0.2s,
    background 0.2s;
}
.contact-cta__item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-cta__item span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.contact-cta__item small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.contact-cta__item strong {
  overflow-wrap: anywhere;
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(19px, 1.78vw, 28px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.contact-cta__item b {
  align-self: center;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.contact-cta__item:hover {
  padding-right: 8px;
  padding-left: 8px;
  background: rgba(250, 249, 246, 0.15);
}
.contact-cta__item:hover b {
  transform: translate(3px, -3px);
}
.contact-cta__item:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.site-footer {
  padding: 70px max(48px, calc((100% - 1320px) / 2)) 27px;
  color: #f1f0ec;
  background: #121212;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 35px;
  padding-bottom: 73px;
}
.site-footer p {
  margin: 19px 0 0;
  max-width: 350px;
  color: #aaa9a3;
  font-size: 14px;
}
.site-footer__top > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__top > div:not(:first-child) p {
  margin: 0;
}
.site-footer a:not(.site-logo) {
  width: max-content;
  max-width: 100%;
  font-size: 14px;
}
.site-footer a:not(.site-logo):hover {
  color: var(--amber);
}
.footer-label {
  color: var(--amber) !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #454542;
  color: #aaa9a3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 64px, 1320px);
  }
  .site-navigation {
    gap: 16px;
  }
  .site-header__actions .site-phone {
    display: none;
  }
  .section {
    padding: 106px 0;
  }
  .section-heading {
    grid-template-columns: 1fr 1.7fr;
  }
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reason {
    min-height: 215px;
    border-bottom: 1px solid #494947;
  }
  .reason:nth-child(2) {
    border-right: 0;
  }
  .reason:nth-child(3) {
    padding-left: 0;
  }
  .reason h3 {
    margin-top: 50px;
  }
  .projects-grid {
    gap: 30px 20px;
  }
  .contact-cta__grid {
    gap: 56px;
  }
  .contact-cta h2 {
    font-size: clamp(45px, 5.7vw, 64px);
  }
  .contact-cta__lead {
    font-size: 16px;
  }
  .contact-cta__item {
    gap: 14px;
  }
  .contact-cta__item strong {
    font-size: clamp(18px, 2.1vw, 23px);
  }
}
@media (max-width: 740px) {
  :root {
    --shell: calc(100% - 40px);
  }
  .site-header__inner {
    min-height: 70px;
  }
  .site-navigation,
  .site-header__actions {
    display: none;
  }
  .menu-toggle {
    display: flex;
    width: 39px;
    height: 39px;
    margin-left: auto;
    padding: 9px 4px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 30px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-4px);
  }
  .mobile-menu {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    padding: 24px 20px 29px;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-125%);
    visibility: hidden;
    transition:
      transform 0.25s,
      visibility 0.25s;
  }
  .mobile-menu--open {
    transform: translateY(0);
    visibility: visible;
  }
  .mobile-menu a {
    display: block;
    padding: 10px 0;
    font-family: Archivo, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
  }
  .mobile-menu .mobile-menu__phone {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--amber);
    font-family: "IBM Plex Mono", monospace;
    font-size: 16px;
  }
  .hero {
    min-height: 780px;
  }
  .hero__image {
    object-position: 74% center;
  }
  .hero__content {
    padding: 140px 0 77px;
  }
  .hero h1 {
    font-size: clamp(48px, 14vw, 67px);
  }
  .hero__lead {
    margin-top: 26px;
    font-size: 16px;
  }
  .hero__buttons {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
    margin-top: 28px;
  }
  .hero__scroll {
    display: none;
  }
  .section {
    padding: 82px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 42px;
  }
  .section-heading > p:last-child {
    margin-top: 18px;
    font-size: 16px;
  }
  .section-heading h2,
  .about h2 {
    font-size: clamp(40px, 12.5vw, 54px);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 240px;
    padding: 22px 20px;
  }
  .service-card h3 {
    max-width: 310px;
    font-size: 31px;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .reason,
  .reason:not(:first-child),
  .reason:nth-child(3) {
    min-height: auto;
    padding: 21px 0 26px;
    border-right: 0;
  }
  .reason h3 {
    margin-top: 33px;
  }
  .projects-grid {
    display: block;
  }
  .project {
    margin-top: 32px;
  }
  .project:first-child {
    margin-top: 0;
  }
  .project__image img,
  .project:first-child .project__image img {
    aspect-ratio: 1.2;
  }
  .project__meta {
    display: block;
  }
  .project p {
    margin-top: 7px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .about__image img {
    aspect-ratio: 1.18;
  }
  .about__content > p:not(.eyebrow) {
    font-size: 16px;
  }
  .contact-cta {
    padding: 80px 0 72px;
  }
  .contact-cta__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-cta h2 {
    font-size: clamp(45px, 13vw, 58px);
    line-height: 0.98;
  }
  .contact-cta__lead {
    margin-top: 27px;
  }
  .contact-cta__item {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 13px;
    padding: 20px 0;
  }
  .contact-cta__item strong {
    font-size: clamp(17px, 5.35vw, 22px);
  }
  .contact-cta__item[href^="mailto:"] strong {
    font-size: 18px;
    letter-spacing: -0.055em;
  }
  .contact-cta__item b {
    font-size: 20px;
  }
  .site-footer {
    padding: 54px 20px 23px;
  }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 52px;
  }
  .site-footer__bottom {
    display: block;
    line-height: 2;
  }
}
@media (max-width: 740px) {
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }
}
/* Primary display typography */
.hero h1,
.section-heading h2,
.about h2,
.contact-cta h2 {
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.99;
}
.service-card h3 {
  font-family: Archivo, Arial, sans-serif;
  font-weight: 750;
}
#reasons-title,
#projects-title {
  word-spacing: 0.05em;
}
.about h2 {
  font-size: clamp(43px, 4.4vw, 55px);
  word-spacing: 0.05em;
}
.contact-cta h2 {
  font-size: clamp(46px, 5vw, 76px);
  word-spacing: 0.05em;
}
/* Typography A/B: Space Grotesk for section and card hierarchy. */
.section-heading h2,
.about h2,
.contact-cta h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  word-spacing: normal;
}
.service-card h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
#reasons-title,
#projects-title,
.about h2,
.contact-cta h2 {
  word-spacing: normal;
}

/* Earthworks service page */
.service-hero {
  min-height: 88svh;
}
.services-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
.services-grid--three .service-card {
  min-height: 270px;
}
.services-grid--three .service-card::before {
  background-image:
    linear-gradient(125deg, rgba(20, 20, 20, 0.86), rgba(20, 20, 20, 0.55)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1200&q=70");
}
.excavation-process {
  color: #f6f5f0;
  background: var(--ink);
}
.excavation-process__intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.excavation-process__intro h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.excavation-process__intro > p:last-child {
  grid-column: 2;
  max-width: 580px;
  margin: 14px 0 0;
  color: #b9b9b3;
  font-size: 17px;
}
.excavation-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid #494947;
  list-style: none;
}
.excavation-process__steps li {
  min-height: 160px;
  padding: 22px 22px 20px 0;
  border-right: 1px solid #494947;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(22px, 2.25vw, 34px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}
.excavation-process__steps li:not(:first-child) {
  padding-left: 22px;
}
.excavation-process__steps li:last-child {
  border-right: 0;
}
.excavation-process__steps span {
  display: block;
  margin-bottom: 58px;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
}
.excavation-process__links {
  display: flex;
  gap: 29px;
  margin-top: 24px;
}
.equipment {
  background: var(--concrete);
}
.equipment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8.5vw;
}
.equipment__image {
  overflow: hidden;
}
.equipment__image img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  filter: grayscale(100%);
}
.equipment__content h2,
.price h2,
.locality h2 {
  margin: 26px 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.equipment__content > p:not(.eyebrow),
.locality__content > p:not(.eyebrow) {
  max-width: 525px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.price {
  color: #f6f5f0;
  background: #121212;
}
.price__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(56px, 9vw, 150px);
}
.price__intro .button {
  margin-top: 35px;
}
.price__list {
  align-self: end;
  padding-top: 28px;
  border-top: 1px solid #494947;
}
.price__list > p {
  margin: 0;
  color: #b9b9b3;
}
.price__list ul {
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}
.price__list li {
  padding: 11px 0;
  border-bottom: 1px solid #494947;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(19px, 1.75vw, 26px);
  font-weight: 600;
  line-height: 1.1;
}
.price__list li::before {
  content: "—";
  margin-right: 11px;
  color: var(--amber);
}
.delivery {
  background: var(--paper);
}
.delivery__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.delivery__steps li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.delivery__steps > li > span {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
}
.delivery__steps h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(23px, 2.15vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.delivery__steps p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.locality {
  padding-top: 126px;
  padding-bottom: 126px;
  background: var(--concrete);
}
.locality__content {
  max-width: 760px;
}
.faq {
  background: var(--paper);
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1.12;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  flex: none;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 27px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 720px;
  margin: 0;
  padding: 0 42px 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.contact-cta__button {
  margin-top: 25px;
}
@media (max-width: 1050px) {
  .services-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }
  .excavation-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .excavation-process__steps li {
    border-bottom: 1px solid #494947;
  }
  .excavation-process__steps li:nth-child(2) {
    border-right: 0;
  }
  .excavation-process__steps li:nth-child(3) {
    padding-left: 0;
  }
  .price__grid {
    gap: 56px;
  }
}
@media (max-width: 740px) {
  .service-hero {
    min-height: 780px;
  }
  .services-grid--three {
    grid-template-columns: 1fr;
  }
  .services-grid--three .service-card {
    min-height: 240px;
  }
  .excavation-process__intro {
    display: block;
  }
  .excavation-process__intro > p:last-child {
    margin-top: 18px;
    font-size: 16px;
  }
  .excavation-process__steps {
    grid-template-columns: 1fr;
    margin-top: 43px;
  }
  .excavation-process__steps li,
  .excavation-process__steps li:not(:first-child),
  .excavation-process__steps li:nth-child(3) {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid #494947;
  }
  .excavation-process__steps span {
    display: inline;
    margin: 0 13px 0 0;
    font-size: 11px;
  }
  .excavation-process__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .equipment__grid,
  .price__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .equipment__image img {
    aspect-ratio: 1.18;
  }
  .equipment__content h2,
  .price h2,
  .locality h2 {
    font-size: clamp(40px, 12.5vw, 54px);
  }
  .equipment__content > p:not(.eyebrow),
  .locality__content > p:not(.eyebrow) {
    font-size: 16px;
  }
  .price__list {
    padding-top: 21px;
  }
  .price__list li {
    font-size: 21px;
  }
  .delivery__steps li {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 22px 0;
  }
  .delivery__steps p {
    font-size: 16px;
  }
  .locality {
    padding-top: 82px;
    padding-bottom: 82px;
  }
  .faq summary {
    padding: 21px 0;
    font-size: 22px;
  }
  .faq details p {
    padding-right: 0;
  }
  .contact-cta__button {
    width: 100%;
  }
}

/* Realizations archive */
.realizations-archive {
  min-height: 70vh;
  padding-top: 180px;
}
.realizations-archive .section-heading h1 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.realizations-archive__grid .project:nth-child(n) {
  grid-row: auto;
}
.realizations-archive__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1.46;
  background: linear-gradient(135deg, #d6d3cc, #bab7af);
}
.realizations-archive__empty {
  margin: 0;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
}
@media (max-width: 740px) {
  .realizations-archive {
    padding-top: 132px;
  }
  .realizations-archive .section-heading h1 {
    font-size: clamp(40px, 12.5vw, 54px);
  }
  .realizations-archive .project h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }
  .single-realizacia #primary {
    background: var(--paper);
  }
  .single-realizacia #primary > article {
    width: var(--shell);
    margin-inline: auto;
    padding-block: 132px 82px;
  }
  .single-realizacia #primary > article > header h1 {
    margin: 0;
    font-size: clamp(30px, 8.5vw, 38px);
    letter-spacing: -0.02em;
    line-height: 1.12;
    overflow-wrap: break-word;
  }
  .single-realizacia .entry-content {
    margin-top: 28px;
  }
  .single-realizacia .entry-content img {
    width: 100%;
    height: auto;
  }
}

/* Earthworks V2 */
.service-v2-hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.service-v2-hero__media,
.service-v2-hero__shade {
  position: absolute;
  inset: 0;
}
.service-v2-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-v2-hero__shade {
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 9, 0.9),
      rgba(8, 9, 9, 0.58) 48%,
      rgba(8, 9, 9, 0.08)
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 60%);
}
.service-v2-hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 170px 0 92px;
}
.service-v2-hero h1,
.service-v2 h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.service-v2-hero h1 {
  max-width: 830px;
  font-size: clamp(56px, 7vw, 112px);
}
.service-v2-hero h1 em,
.service-v2-hero h1 strong,
.service-v2-hero h1 b {
  color: var(--amber);
  font-style: normal;
}
.service-v2-hero__content > p:not(.eyebrow) {
  max-width: 610px;
  margin: 29px 0 0;
  color: #e0dfdc;
  font-size: 18px;
  line-height: 1.55;
}
.service-v2-hero__actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 34px;
}
.service-scope__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.service-scope__item {
  min-height: 250px;
  padding: 23px 24px 20px 0;
  border-right: 1px solid var(--line);
}
.service-scope__item:not(:first-child) {
  padding-left: 24px;
}
.service-scope__item:last-child {
  border-right: 0;
}
.service-scope__item > span {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
.service-scope__item h3 {
  margin-top: 55px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.service-scope__item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.service-equipment {
  background: var(--paper);
}
.service-equipment__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 8vw;
}
.service-equipment h2,
.service-partner h2,
.service-proof h2,
.service-price-faq h2 {
  margin-top: 24px;
  font-size: clamp(42px, 4.5vw, 64px);
}
.service-equipment__content > p:not(.eyebrow),
.service-proof p:not(.eyebrow),
.service-price-faq__price > p:not(.eyebrow) {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.service-equipment__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-equipment__photos figure {
  margin: 0;
  overflow: hidden;
  background: var(--concrete);
}
.service-equipment__photos img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}
.service-partner {
  color: #f6f5f0;
  background: var(--ink);
}
.service-partner__heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.service-partner__heading > p:last-child {
  grid-column: 2;
  max-width: 550px;
  margin: 15px 0 0;
  color: #b9b9b3;
  font-size: 17px;
}
.service-partner__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid #494947;
  list-style: none;
}
.service-partner__steps li {
  min-height: 156px;
  padding: 20px 22px 20px 0;
  border-right: 1px solid #494947;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.03;
  text-transform: uppercase;
}
.service-partner__steps li:not(:first-child) {
  padding-left: 22px;
}
.service-partner__steps li:last-child {
  border-right: 0;
}
.service-partner__steps span {
  display: block;
  margin-bottom: 57px;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
.service-partner__links {
  display: flex;
  gap: 29px;
  margin-top: 25px;
}
.service-proof {
  padding: 115px 0;
  background: var(--concrete);
}
.service-proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
}
.service-proof__grid > div:last-child {
  display: grid;
  justify-items: start;
  gap: 30px;
}
.service-proof__grid > div:last-child p {
  margin: 0;
}
.service-price-faq {
  background: var(--paper);
}
.service-price-faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  align-items: start;
}
.service-price-faq__price .text-link {
  margin-top: 31px;
}
@media (max-width: 1050px) {
  .service-scope__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-scope__item {
    border-bottom: 1px solid var(--line);
  }
  .service-scope__item:nth-child(2) {
    border-right: 0;
  }
  .service-scope__item:nth-child(3) {
    padding-left: 0;
  }
  .service-partner__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-partner__steps li {
    border-bottom: 1px solid #494947;
  }
  .service-partner__steps li:nth-child(2) {
    border-right: 0;
  }
  .service-partner__steps li:nth-child(3) {
    padding-left: 0;
  }
}
@media (max-width: 740px) {
  .mobile-menu {
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform 0.25s,
      opacity 0.25s,
      visibility 0.25s;
  }
  .mobile-menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .service-v2-hero {
    min-height: 780px;
  }
  .service-v2-hero__image {
    object-position: 58% center;
  }
  .service-v2-hero__content {
    padding: 126px 0 62px;
  }
  .service-v2-hero h1 {
    max-width: 100%;
    font-size: clamp(48px, 13.3vw, 61px);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }
  .service-v2-hero__content > p:not(.eyebrow) {
    margin-top: 23px;
    font-size: 16px;
  }
  .service-v2-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
    margin-top: 27px;
  }
  .service-scope__grid {
    grid-template-columns: 1fr;
  }
  .service-scope__item,
  .service-scope__item:not(:first-child),
  .service-scope__item:nth-child(3) {
    min-height: auto;
    padding: 21px 0 26px;
    border-right: 0;
  }
  .service-scope__item h3 {
    margin-top: 31px;
    font-size: 25px;
  }
  .service-equipment__grid,
  .service-proof__grid,
  .service-price-faq__grid {
    grid-template-columns: 1fr;
    gap: 43px;
  }
  .service-equipment h2,
  .service-partner h2,
  .service-proof h2,
  .service-price-faq h2 {
    font-size: clamp(40px, 12.5vw, 54px);
  }
  .service-equipment__content > p:not(.eyebrow),
  .service-proof p:not(.eyebrow),
  .service-price-faq__price > p:not(.eyebrow) {
    font-size: 16px;
  }
  .service-equipment__photos {
    gap: 12px;
  }
  .service-partner__heading {
    display: block;
  }
  .service-partner__heading > p:last-child {
    margin-top: 17px;
    font-size: 16px;
  }
  .service-partner__steps {
    grid-template-columns: 1fr;
    margin-top: 43px;
  }
  .service-partner__steps li,
  .service-partner__steps li:not(:first-child),
  .service-partner__steps li:nth-child(3) {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
  }
  .service-partner__steps span {
    display: inline;
    margin: 0 13px 0 0;
    font-size: 11px;
  }
  .service-partner__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .service-proof {
    padding: 82px 0;
  }
  .service-proof__grid > div:last-child {
    gap: 24px;
  }
  .service-price-faq__price .text-link {
    margin-top: 25px;
  }
}

/* V2 contact rows have no icon column; preserve usable text width and word-based wrapping. */
.service-v2-contact .contact-cta__item {
  grid-template-columns: minmax(0, 1fr) auto;
}
.service-v2-contact .contact-cta__item strong {
  overflow-wrap: normal;
  word-break: normal;
}
.service-v2-contact .contact-cta__item[href^="tel:"] strong {
  white-space: nowrap;
}
.service-v2-contact .contact-cta__item[href^="mailto:"] strong {
  font-size: clamp(15px, 1.5vw, 22px);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
@media (max-width: 740px) {
  .mobile-menu {
    display: block;
  }
  .service-v2-contact .contact-cta__item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .service-v2-contact .contact-cta__item[href^="mailto:"] strong {
    font-size: clamp(15px, 4.1vw, 18px);
  }
}

/* Reusable compact closing CTA for service pages. */
.service-compact-cta {
  padding: 78px 0;
  background: var(--amber);
}
.service-compact-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
}
.service-compact-cta h2 {
  max-width: 620px;
  margin: 22px 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.service-compact-cta__actions {
  display: grid;
  justify-items: start;
  gap: 27px;
}
.service-compact-cta__actions > p {
  max-width: 450px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
.service-compact-cta__actions > div:not(.service-compact-cta__copy) {
  display: flex;
  align-items: center;
  gap: 28px;
}
.service-compact-cta .button {
  min-height: 44px;
}
.service-compact-cta .button--secondary {
  background: transparent;
  border-color: transparent;
}
.service-compact-cta__copy {
  display: grid;
  gap: 16px;
  max-width: 450px;
}
.service-compact-cta__copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
@media (max-width: 740px) {
  .service-compact-cta {
    padding: 54px 0 57px;
  }
  .service-compact-cta__grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .service-compact-cta h2 {
    margin-top: 16px;
    font-size: clamp(38px, 11.8vw, 50px);
  }
  .service-compact-cta__actions {
    gap: 23px;
  }
  .service-compact-cta__actions > p {
    font-size: 16px;
  }
  .service-compact-cta__actions > div:not(.service-compact-cta__copy) {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .service-compact-cta__phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 740px) {
  .service-compact-cta__copy p {
    font-size: 16px;
  }
}

/* Service process icons */
.service-partner__step-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(48px, 1fr);
  align-items: center;
  gap: 14px;
}
.service-partner__step-content h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.01em;
}
.service-partner__icon {
  width: clamp(48px, 4vw, 62px);
  height: clamp(48px, 4vw, 62px);
  justify-self: start;
  color: var(--amber);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}
@media (max-width: 740px) {
  .service-partner__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-partner__steps li,
  .service-partner__steps li:not(:first-child),
  .service-partner__steps li:nth-child(3) {
    min-width: 0;
    padding: 18px 12px 22px 0;
    border-right: 1px solid #494947;
    border-bottom: 1px solid #494947;
  }
  .service-partner__steps li:nth-child(even) {
    padding-right: 0;
    padding-left: 12px;
    border-right: 0;
  }
  .service-partner__steps li:nth-child(n + 3) {
    padding-top: 22px;
    border-bottom: 0;
  }
  .service-partner__steps .service-partner__number {
    display: block;
    margin: 0 0 17px;
  }
  .service-partner__step-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
  .service-partner__step-content h3 {
    font-size: clamp(18px, 5vw, 23px);
  }
  .service-partner__icon {
    width: 48px;
    height: 48px;
  }
}

/* Price link contrast and service FAQ */
.service-price-faq__price .text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--amber);
}
.service-price-faq__price .text-link:focus-visible {
  color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.service-faq {
  border-top: 1px solid var(--line);
}
.service-faq__item {
  border-bottom: 1px solid var(--line);
}
.service-faq__item summary {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 18px 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}
.service-faq__item summary::-webkit-details-marker {
  display: none;
}
.service-faq__item summary:hover {
  background: rgba(239, 155, 25, 0.08);
}
.service-faq__item summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.service-faq__number {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
}
.service-faq__question {
  min-width: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.service-faq__toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}
.service-faq__item[open] .service-faq__toggle {
  font-size: 0;
}
.service-faq__item[open] .service-faq__toggle::before {
  content: "−";
  font-size: 27px;
}
.service-faq__answer {
  padding: 0 43px 23px 51px;
}
.service-faq__answer p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
@media (max-width: 740px) {
  .service-faq__item summary {
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    gap: 11px;
    min-height: 44px;
    padding: 16px 0;
  }
  .service-faq__question {
    font-size: 19px;
    line-height: 1.16;
  }
  .service-faq__toggle {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }
  .service-faq__item[open] .service-faq__toggle::before {
    font-size: 24px;
  }
  .service-faq__answer {
    padding: 0 24px 21px 41px;
  }
  .service-faq__answer p {
    font-size: 15px;
  }
}

.service-faq__item summary .service-faq__number {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  transform: none;
}
.service-faq__item summary .service-faq__question {
  color: var(--ink);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  transform: none;
}
.service-faq__item summary .service-faq__toggle {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  transform: none;
}
.service-faq__item[open] summary .service-faq__number,
.service-faq__item[open] summary .service-faq__question,
.service-faq__item[open] summary .service-faq__toggle {
  transform: none;
}

/* Service FAQ state is generated solely from the native details[open] attribute. */
.service-faq__toggle::before {
  content: "+";
}
.service-faq__item[open] .service-faq__toggle {
  font-size: 27px;
}
.service-faq__item[open] .service-faq__toggle::before {
  content: "−";
}
@media (max-width: 740px) {
  .service-price-faq__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .service-faq__item[open] .service-faq__toggle {
    font-size: 24px;
  }
}
.service-faq__item[open] summary {
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.service-faq__item[open] .service-faq__answer {
  padding-top: 10px;
}
@media (max-width: 740px) {
  .service-faq__item[open] summary {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .service-faq__item[open] .service-faq__answer {
    padding-top: 8px;
  }
}
.service-compact-cta .button:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.service-compact-cta .button:focus-visible {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* Final service-page typography polish. These selectors deliberately exclude the homepage. */
.service-v2 .eyebrow,
.service-compact-cta .eyebrow {
  font-size: 12px;
}

.service-scope__item h3 {
  line-height: 1.12;
}

.service-scope__item p {
  font-size: 15px;
  line-height: 1.53;
}

.service-partner__steps li,
.service-partner__step-content h3 {
  line-height: 32px;
}

.service-faq__question {
  line-height: 29px;
}

.service-v2 .button,
.service-v2 .text-link,
.service-compact-cta .button {
  font-size: 12px;
}

.service-v2-hero__actions .button,
.service-v2-hero__actions .text-link,
.service-partner__links .text-link {
  border-color: var(--amber);
  background: transparent;
  color: var(--amber);
}

.service-v2-hero__actions .button:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.service-v2-hero__actions .text-link:hover,
.service-partner__links .text-link:hover {
  border-color: currentColor;
  border-bottom-color: currentColor;
  background: transparent;
  color: #f6f5f0;
}

.service-v2-hero__actions .button:focus-visible,
.service-v2-hero__actions .text-link:focus-visible,
.service-partner__links .text-link:focus-visible {
  border-color: var(--amber);
  background: transparent;
  color: var(--amber);
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.service-proof .button,
.service-price-faq__cta,
.service-compact-cta .button {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.service-proof .button:hover,
.service-compact-cta .button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--amber);
}

.service-price-faq__cta:hover {
  border-color: currentColor;
  border-bottom-color: currentColor;
  background: transparent;
  color: var(--amber);
}

.service-proof .button:focus-visible,
.service-price-faq__cta:focus-visible,
.service-compact-cta .button:focus-visible {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 740px) {
  .service-partner__steps li,
  .service-partner__step-content h3 {
    font-size: 20px;
    line-height: 24px;
  }

  .service-faq__question {
    line-height: 23px;
  }

  .service-v2-hero__actions .text-link,
  .service-partner__links .text-link,
  .service-price-faq__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Global footer: brand, services, and contact. */
.site-footer {
  padding: 96px max(48px, calc((100% - 1320px) / 2)) 29px;
}

.site-footer__top {
  grid-template-columns: minmax(0, 1.65fr) minmax(190px, 0.85fr) minmax(
      220px,
      0.95fr
    );
  gap: clamp(52px, 8vw, 144px);
  padding-bottom: 82px;
}

.footer-brand > p {
  max-width: 410px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.site-footer__column .footer-label {
  margin: 0 0 10px;
  font-size: 11px !important;
}

.site-footer .site-footer__column a {
  width: auto;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.45;
}

.site-footer__column a:hover {
  color: var(--amber);
}

.site-footer__contact {
  font-style: normal;
}

.site-footer__contact p {
  max-width: none;
  margin: 0;
}

.footer-contact__company {
  color: #f1f0ec;
  font-size: 15px;
  font-weight: 600;
}

.footer-contact__address {
  margin-bottom: 8px !important;
  font-size: 15px;
  line-height: 1.55;
}

.site-footer__bottom {
  padding-top: 24px;
  font-size: 11px;
}

@media (max-width: 740px) {
  .site-footer {
    padding: 64px 20px 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-bottom: 54px;
  }

  .footer-brand > p {
    max-width: 390px;
  }

  .site-footer__column {
    gap: 4px;
  }

  .site-footer__column .footer-label {
    margin-bottom: 6px;
  }

  .site-footer .site-footer__column a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
  }

  .site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.55;
  }
}

/* Keep the homepage display line inside the mobile content shell. */
@media (max-width: 740px) {
  .hero h1 {
    font-size: clamp(37.5px, 10.65vw, 52px);
  }
}

/* Waste removal service page: composition built from shared service components. */
.waste-service__intro {
  background: var(--paper);
}
.waste-service__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: start;
}
.waste-service__intro-content h2,
.waste-service__important h2 {
  margin: 24px 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.waste-service__intro-content > p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.waste-service__categories {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}
.waste-service__categories article {
  display: grid;
  grid-template-columns: minmax(135px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.waste-service__categories h3 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}
.waste-service__categories p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.waste-service__intro-media {
  align-self: center;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--concrete);
}
.waste-service__intro-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  filter: grayscale(100%);
}
.waste-service__containers {
  background: var(--concrete);
}
.waste-service__containers .service-equipment__content {
  min-width: 0;
}
.waste-service__container-visual {
  min-width: 0;
}
.waste-service__container-media {
  width: 120%;
  margin: 0 -8% 0 -12%;
  overflow: visible;
  background: transparent;
}
.waste-service__container-image {
  display: block;
  width: 83.3333%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  transform: scale(1.2);
  transform-origin: center bottom;
}
.waste-service__sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.waste-service__sizes span {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  white-space: nowrap;
}
.waste-service__sizes sup {
  position: relative;
  top: -1.35em;
  margin-left: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.3em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: baseline;
}
.waste-service__containers .service-price-faq__cta {
  margin-top: 32px;
}
@media (max-width: 1100px) {
  .waste-service__container-media {
    width: 117%;
    margin-right: -6.8%;
    margin-left: -10.2%;
  }
  .waste-service__container-image {
    width: 85.4701%;
    transform: scale(1.17);
  }
}
.waste-service__process .service-partner__heading {
  column-gap: clamp(44px, 5vw, 84px);
  row-gap: 26px;
  margin-bottom: 0;
}
.waste-service__process .service-partner__heading > .eyebrow {
  grid-column: 1 / -1;
  grid-row: 1;
}
.waste-service__process .service-partner__heading h2 {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}
.waste-service__process-graphic {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  width: calc(100% + 32px);
  margin: 0 0 0 -16px;
  pointer-events: none;
}
.waste-service__process-symbol {
  display: block;
  width: 100%;
  height: auto;
}
.waste-service__process .service-partner__steps h3 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.waste-service__process .service-partner__steps p {
  margin: 12px 0 0;
  color: #b9b9b3;
  font-size: 14px;
  line-height: 1.5;
}
.waste-service__important {
  background: var(--concrete);
}
.waste-service__important-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 54px;
}
.waste-service__important-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.waste-service__important-grid article {
  padding: 26px 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.waste-service__important-grid h3 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}
.waste-service__important-grid ul {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.waste-service__important-grid li {
  position: relative;
  padding: 11px 0 11px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.waste-service__important-grid li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--amber);
}
.waste-service .service-compact-cta {
  position: relative;
  overflow: visible;
  clip-path: inset(-640px 0 0 0);
  padding-top: 116px;
  padding-bottom: 116px;
}
.waste-service .service-compact-cta__grid {
  position: relative;
  z-index: 1;
}
.waste-service__cta-pattern {
  position: absolute;
  top: 47%;
  left: -5%;
  width: min(64.4vw, 828px);
  height: auto;
  color: rgba(30, 30, 27, 0.065);
  pointer-events: none;
  transform: translateY(-50%) rotate(-3deg);
  transform-origin: 35% 50%;
}
@media (max-width: 740px) {
  .waste-service__intro-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .waste-service__intro-content > p:not(.eyebrow) {
    font-size: 16px;
  }
  .waste-service__categories article {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 18px 0;
  }
  .waste-service__intro-image {
    min-height: 0;
  }
  .waste-service__sizes span {
    min-height: 128px;
    padding: 12px;
    font-size: clamp(32px, 10.5vw, 44px);
  }
  .waste-service__container-image {
    width: 100%;
    transform: none;
  }
  .waste-service__container-media {
    width: 100%;
    margin-inline: 0;
  }
  .waste-service__containers h2 {
    font-size: clamp(40px, 11.5vw, 50px);
  }
  .waste-service__process-graphic {
    width: 100%;
    margin: 28px auto 0;
  }
  .waste-service__process .service-partner__steps p {
    margin-left: 0;
    font-size: 15px;
  }
  .waste-service__important-heading {
    display: block;
    margin-bottom: 38px;
  }
  .waste-service__important-grid {
    grid-template-columns: 1fr;
  }
  .waste-service__important-grid article {
    padding: 22px 20px 25px;
    border-right: 0;
  }
  .waste-service__important h2 {
    font-size: clamp(40px, 12.5vw, 54px);
  }
  .waste-service .service-compact-cta {
    padding-top: 76px;
    padding-bottom: 78px;
  }
  .waste-service__cta-pattern {
    top: 4%;
    left: 2%;
    width: 96%;
    max-width: 96%;
    color: rgba(30, 30, 27, 0.045);
    transform: translateY(-50%) rotate(-1.5deg);
  }
}

/* Demolition service page: a compact, task-led composition. */
.service-v2-hero--plain {
  background: var(--ink);
}

/* Soil sales and delivery: a short product-led service page. */
.soil-service .service-v2-hero h1 {
  max-width: 940px;
}
.soil-service__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 30px;
  margin-bottom: 58px;
}
.soil-service__heading h2,
.soil-service__delivery h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.soil-service__heading h2 {
  grid-column: 2;
}
.soil-service__product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.soil-service__product-grid article {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.soil-service__product-grid span {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
}
.soil-service__product-grid h3 {
  max-width: 330px;
  margin: auto 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(26px, 2.15vw, 36px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.soil-service__product-grid p {
  max-width: 325px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.soil-service__delivery {
  color: #f6f5f0;
  background: var(--ink);
}
.soil-service__delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(50px, 10vw, 160px);
  align-items: end;
}
.soil-service__delivery h2 {
  max-width: 800px;
}
.soil-service__delivery-grid > div > p:not(.eyebrow) {
  max-width: 590px;
  margin: 28px 0 0;
  color: #b9b9b3;
  font-size: 17px;
  line-height: 1.6;
}
.soil-service__requirements {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #494947;
  list-style: none;
}
.soil-service__requirements li {
  padding: 20px 0;
  border-bottom: 1px solid #494947;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.02em;
}
.soil-service__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.soil-service__steps li {
  position: relative;
  display: grid;
  gap: 38px;
  min-height: 155px;
  padding: 20px 28px 20px 0;
  border-right: 1px solid var(--line);
}
.soil-service__steps li:not(:first-child) {
  padding-left: 28px;
}
.soil-service__steps li:last-child {
  border-right: 0;
}
.soil-service__steps span {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}
.soil-service__steps strong {
  max-width: 200px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(20px, 1.85vw, 28px);
  font-weight: 600;
  line-height: 1.04;
  text-transform: uppercase;
}
.soil-service__steps li:not(:last-child)::after {
  position: absolute;
  right: -13px;
  bottom: 20px;
  z-index: 1;
  width: 25px;
  color: var(--amber);
  background: var(--paper);
  content: "→";
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  line-height: 1;
  text-align: center;
}
.soil-service__process-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 38px;
}
.soil-service__process-footer p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.soil-service__process-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.soil-service .service-compact-cta__grid {
  align-items: center;
}
@media (max-width: 740px) {
  .soil-service__heading {
    display: block;
    margin-bottom: 38px;
  }
  .soil-service__heading h2 {
    margin-top: 18px;
    padding-right: 20px;
  }
  .soil-service__heading h2,
  .soil-service__delivery h2 {
    font-size: clamp(38px, 11.8vw, 50px);
  }
  .soil-service__product-grid,
  .soil-service__steps {
    grid-template-columns: 1fr;
  }
  .soil-service__product-grid article {
    min-height: 220px;
    padding: 20px;
  }
  .soil-service__product-grid h3 {
    font-size: 30px;
  }
  .soil-service__delivery-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .soil-service__delivery-grid > div > p:not(.eyebrow),
  .soil-service__process-footer p {
    font-size: 16px;
  }
  .soil-service__requirements li {
    font-size: 20px;
  }
  .soil-service__steps li,
  .soil-service__steps li:not(:first-child) {
    min-height: auto;
    padding: 18px 36px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .soil-service__steps li:last-child {
    border-bottom: 0;
  }
  .soil-service__steps li:not(:last-child)::after {
    right: 0;
    bottom: 18px;
  }
  .soil-service__steps strong {
    max-width: none;
    font-size: 25px;
  }
  .soil-service__process-footer {
    display: grid;
    gap: 28px;
    margin-top: 28px;
  }
  .soil-service__process-footer > div {
    display: grid;
    gap: 18px;
  }
}
.demolition-service__heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 58px;
}
.demolition-service__heading h2,
.demolition-service__method h2,
.demolition-service__complete h2,
.demolition-service__price h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.demolition-service__heading h2 {
  grid-column: 2;
}
.demolition-service__scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}
.demolition-service__scope-list li {
  min-height: 148px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.demolition-service__scope-list span {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  line-height: 11px;
}
.demolition-service__scope-list h3 {
  position: relative;
  margin: 48px 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}
.demolition-service__scope-list h3::after {
  position: absolute;
  inset: 0;
  color: var(--amber);
  content: attr(data-wipe-text);
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
}
@media (hover: hover) and (pointer: fine) {
  .demolition-service__scope-list li.is-wiping h3::after {
    animation: demolition-scope-text-wipe 984ms ease-in-out;
  }
}
@keyframes demolition-scope-text-wipe {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  62% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .demolition-service__scope-list h3::after {
    animation: none !important;
  }
}
.demolition-service__method {
  color: #f6f5f0;
  background: var(--ink);
}
.demolition-service__method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 128px);
  align-items: start;
}
.demolition-service__method-copy > p:not(.eyebrow),
.demolition-service__complete-copy > p {
  max-width: 520px;
  margin: 26px 0 0;
  color: #b9b9b3;
  font-size: 17px;
  line-height: 1.6;
}
.demolition-service__complete-copy h2 {
  margin-top: 40px;
}
.demolition-service__flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid #494947;
  list-style: none;
}
.demolition-service__flow li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 18px 22px 0;
  border-right: 1px solid #494947;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}
.demolition-service__flow li:not(:first-child) {
  padding-left: 18px;
}
.demolition-service__flow li:last-child {
  border-right: 0;
}
.demolition-service__flow b {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 400;
  line-height: 1;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.demolition-service__waste-link {
  display: inline-flex;
  margin-top: 28px;
}
.demolition-service__method-media {
  padding-top: 0;
  color: #f6f5f0;
  background: var(--ink);
}
.demolition-service__method-photo {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #1a1a1a;
}
.demolition-service__method-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}
.demolition-flow__overlay {
  position: fixed;
  z-index: 19;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .demolition-service__flow li:not(:last-child):hover b {
    color: #f6f5f0;
    transform: scale(1.5);
  }
}
.demolition-service .service-v2-hero h1 {
  max-width: min(68vw, 850px);
  font-size: clamp(54px, 5.9vw, 88px);
}
.demolition-service .service-v2-hero__media {
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: none;
}
.demolition-service .service-v2-hero__image {
  object-fit: cover;
  object-position: 64% center;
}
.demolition-service .service-compact-cta {
  padding-top: 90px;
  padding-bottom: 90px;
}
.demolition-service .service-compact-cta__grid {
  align-items: center;
}
.demolition-service .service-compact-cta__actions {
  justify-items: start;
  text-align: left;
}
.demolition-service .service-compact-cta__copy {
  display: grid;
  justify-items: start;
}
.demolition-service
  .service-compact-cta__actions
  > div:not(.service-compact-cta__copy) {
  justify-content: flex-start;
}
@media (max-width: 740px) {
  .demolition-service .service-v2-hero__media {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .demolition-service .service-v2-hero__image {
    object-position: 76% center;
  }
  .demolition-service .service-v2-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 11.2vw, 50px);
    overflow-wrap: normal;
    word-break: normal;
  }
  .demolition-service .service-compact-cta {
    padding-top: 64px;
    padding-bottom: 67px;
  }
  .demolition-service__heading,
  .demolition-service__method-grid {
    display: block;
  }
  .demolition-service__heading {
    margin-bottom: 38px;
  }
  .demolition-service__heading h2 {
    margin-top: 18px;
  }
  .demolition-service__scope-list {
    grid-template-columns: 1fr;
  }
  .demolition-service__scope-list li {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
  }
  .demolition-service__scope-list h3 {
    margin: 18px 0 0;
    font-size: 23px;
  }
  .demolition-service__method-copy > p:not(.eyebrow),
  .demolition-service__complete-copy > p {
    font-size: 16px;
  }
  .demolition-service__complete-copy {
    margin-top: 42px;
  }
  .demolition-service__complete-copy h2 {
    margin-top: 0;
  }
  .demolition-service__flow {
    grid-template-columns: 1fr 1fr;
    margin-top: 43px;
  }
  .demolition-service__flow li {
    padding: 17px 12px 18px 0;
    border-bottom: 1px solid #494947;
    font-size: 21px;
  }
  .demolition-service__flow li:nth-child(even) {
    padding-right: 0;
    padding-left: 12px;
    border-right: 0;
  }
  .demolition-service__flow li:nth-child(n + 3) {
    padding-top: 18px;
    border-bottom: 0;
  }
  .demolition-service__method h2,
  .demolition-service__heading h2 {
    padding-right: 35px;
    font-size: clamp(38px, 11.8vw, 50px);
  }
}

/* Soil material catalog: compact category lists rather than product cards. */
.soil-service__catalog {
  background: var(--paper);
}
.soil-service__categories {
  border-top: 1px solid var(--line);
}
.soil-service__category {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 92px);
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
}
.soil-service__category header > span {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
}
.soil-service__category h3 {
  margin: 30px 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.soil-service__category header p {
  max-width: 310px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.soil-service__category-image {
  width: 100%;
  max-width: 360px;
  margin: 26px 0 0;
  aspect-ratio: 3 / 2;
}
.soil-service__category-image-file {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.soil-service__category ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}
.soil-service__category-products {
  min-width: 0;
}
.soil-service__category-supplementary {
  width: 80%;
  max-width: 640px;
  margin: 42px auto 0;
}
.soil-service__category-supplementary-file {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transform: scale(1.1);
  transform-origin: center;
}
.soil-service__category:first-child ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.soil-service__category li {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.soil-service__material-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(17px, 1.42vw, 22px);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
}
.soil-service__material-name strong {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78em;
  font-weight: 500;
}
.soil-service__category--fraction-layout .soil-service__material-name {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}
.soil-service__category--fraction-layout .soil-service__material-fraction {
  min-block-size: 1.08em;
}
.soil-service__category--fraction-layout .soil-service__material-label {
  min-width: 0;
}
.soil-service__category li p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.soil-service__material-price {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}
.soil-service__material-price small {
  color: var(--muted);
  font-size: inherit;
}
.soil-service__material--popover {
  position: relative;
  cursor: pointer;
  outline: none;
}
.soil-service__material--popover::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
}
.soil-service__material--popover.is-open::after,
.soil-service__material--popover:focus-visible::after {
  border-color: var(--amber);
}
.soil-service__material-popover {
  position: absolute;
  z-index: 4;
  bottom: calc(100% + 10px);
  left: 50%;
  display: grid;
  gap: 11px;
  width: min(32rem, calc(100vw - 40px));
  max-width: 28rem;
  padding: 18px 20px 19px;
  border: 1px solid rgba(214, 211, 204, 0.95);
  border-radius: 5px;
  color: var(--ink);
  background: rgba(246, 245, 240, 0.97);
  box-shadow: 0 14px 34px rgba(8, 9, 9, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(-50% + var(--popover-shift, 0px)), 4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(4px);
}
.soil-service__material--popover.is-popover-below
  .soil-service__material-popover {
  top: calc(100% + 10px);
  bottom: auto;
}
.soil-service__material--popover.is-open .soil-service__material-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(calc(-50% + var(--popover-shift, 0px)), 0);
}
.soil-service__material-popover-accent {
  width: 46px;
  height: 2px;
  background: var(--amber);
}
.soil-service__material-popover > strong {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.05;
}
.soil-service__material-popover p {
  margin: 0;
  color: #4d4d49;
  font-size: 15px;
  line-height: 1.45;
}
.soil-service__material-popover-price {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 17px;
}
.soil-service__material-popover-cta {
  justify-self: start;
  margin-top: 2px;
}
@media (min-width: 741px) {
  .soil-service__material-popover::before {
    position: absolute;
    right: 0;
    bottom: -11px;
    left: 0;
    height: 11px;
    content: "";
  }
  .soil-service__material--popover.is-popover-below
    .soil-service__material-popover::before {
    top: -11px;
    bottom: auto;
  }
  .soil-service__material-popover {
    display: none;
  }
  .soil-service__material--popover.is-open .soil-service__material-popover {
    display: grid;
    animation: soil-material-popover-open 180ms ease both;
  }
}
@keyframes soil-material-popover-open {
  from {
    opacity: 0;
    transform: translate(calc(-50% + var(--popover-shift, 0px)), 4px);
  }
  to {
    opacity: 1;
    transform: translate(calc(-50% + var(--popover-shift, 0px)), 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .soil-service__material-popover {
    transition: none;
    animation: none;
  }
}
.soil-service__delivery-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}
.soil-service__delivery-aside {
  display: grid;
  justify-items: start;
  gap: 30px;
  padding: 26px 0;
  border-top: 1px solid #494947;
  border-bottom: 1px solid #494947;
}
.soil-service__delivery-aside p {
  max-width: 390px;
  margin: 0;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  line-height: 1.55;
  text-transform: uppercase;
}
.soil-service__delivery-aside .text-link {
  margin: 0;
}
.soil-service__process-footer > .text-link {
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  .soil-service__delivery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(38px, 6vw, 56px);
    align-items: start;
  }
}
@media (max-width: 1024px) {
  .service-v2 .service-v2-hero__image {
    object-position: right center;
  }
  .soil-service__category {
    grid-template-columns: minmax(190px, 0.68fr) minmax(0, 1.32fr);
    gap: 36px;
  }
  .soil-service__category ul,
  .soil-service__category:first-child ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .soil-service__category li {
    min-height: 118px;
  }
}
@media (max-width: 740px) {
  .soil-service__category {
    display: block;
    padding: 28px 0 30px;
  }
  .soil-service__category h3 {
    margin-top: 22px;
    font-size: 34px;
  }
  .soil-service__category header p {
    margin-bottom: 26px;
    font-size: 16px;
  }
  .soil-service__category-image {
    max-width: none;
    margin-top: 22px;
  }
  .soil-service__category-supplementary {
    display: none;
  }
  .soil-service__category ul,
  .soil-service__category:first-child ul {
    grid-template-columns: 1fr;
  }
  .soil-service__category li {
    min-height: 0;
    padding: 16px;
  }
  .soil-service__material-name {
    font-size: 20px;
  }
  .soil-service__category--fraction-layout .soil-service__material-name {
    grid-template-columns: 6ch minmax(0, 1fr);
    gap: clamp(0.65rem, 3vw, 0.9rem);
    align-items: baseline;
  }
  .soil-service__category--fraction-layout .soil-service__material-fraction {
    min-block-size: 0;
    text-align: right;
  }
  .soil-service__category--fraction-layout .soil-service__material-label {
    text-align: left;
  }
  .soil-service__material-popover {
    position: static;
    width: auto;
    max-width: none;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    transform: none;
    transition:
      opacity 180ms ease,
      max-height 180ms ease,
      margin-top 180ms ease,
      padding 180ms ease;
  }
  .soil-service__material--popover.is-open .soil-service__material-popover {
    max-height: 260px;
    margin-top: 16px;
    padding: 18px 20px 19px;
    border-width: 1px;
    opacity: 1;
    transform: none;
  }
  .soil-service__delivery-aside {
    gap: 24px;
  }
  .soil-service__delivery-aside p {
    font-size: 14px;
  }
}

/* Frontend-only inquiry form prototype. */
.inquiry-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 3vw, 36px);
  overflow-y: auto;
  color: var(--ink);
  background: transparent;
  border: 0;
  perspective: 1500px;
}
.inquiry-dialog:not([open]) {
  display: none;
}
.inquiry-dialog [hidden] {
  display: none !important;
}
.inquiry-dialog::backdrop {
  background: rgba(23, 23, 23, 0.72);
  backdrop-filter: blur(5px);
}
.inquiry-dialog__paper {
  position: relative;
  width: min(100%, 920px);
  margin: auto;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.3);
  transform-origin: center top;
  transform-style: preserve-3d;
}
.inquiry-dialog__paper.is-flipping {
  animation: inquiry-form-flip 620ms cubic-bezier(0.45, 0, 0.2, 1) both;
  will-change: transform, opacity;
}
@keyframes inquiry-form-flip {
  0% {
    opacity: 1;
    transform: rotateY(0) scale(1);
  }
  18% {
    opacity: 1;
    transform: rotateY(0) scale(0.98);
  }
  49% {
    opacity: 0.92;
    transform: rotateY(88deg) scale(0.98);
  }
  50% {
    opacity: 0.92;
    transform: rotateY(-88deg) scale(0.98);
  }
  82% {
    opacity: 1;
    transform: rotateY(0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: rotateY(0) scale(1);
  }
}
.inquiry-dialog__close {
  position: absolute;
  z-index: 2;
  top: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.inquiry-dialog__close span {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
}
.inquiry-dialog__close:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.inquiry-dialog__close:focus-visible,
.inquiry-field input:focus-visible,
.inquiry-field textarea:focus-visible,
.inquiry-form__submit:focus-visible,
.inquiry-success .button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.inquiry-form {
  position: relative;
  padding: clamp(34px, 3.2vw, 40px);
}
.inquiry-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.inquiry-form__header {
  max-width: 680px;
  padding-right: clamp(32px, 6vw, 72px);
}
.inquiry-form__illustration,
.inquiry-success__illustration {
  display: none;
  margin: 0;
}
.inquiry-form__illustration-image,
.inquiry-success__illustration-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: contrast(1.3);
}
.inquiry-form__header h2,
.inquiry-success h2 {
  margin: 16px 0 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.inquiry-form__header-copy > p:not(.eyebrow):not(.inquiry-form__required-note) {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.inquiry-form__required-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inquiry-form__required-note span,
.inquiry-field label > span,
.inquiry-field--consent label b {
  color: #a44d00;
}
.inquiry-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: clamp(28px, 3vw, 34px);
}
.inquiry-field {
  min-width: 0;
}
.inquiry-field > label:not([for="graber-inquiry-consent"]) {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inquiry-field label small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.inquiry-field input:not([type="checkbox"]),
.inquiry-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bdbab2;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
}
.inquiry-field input:not([type="checkbox"]) {
  min-height: 3.35rem;
}
.inquiry-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.inquiry-field input[aria-invalid="true"],
.inquiry-field textarea[aria-invalid="true"] {
  border-color: #a23e28;
}
.inquiry-field__error,
.inquiry-field__help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.inquiry-field__error:empty {
  display: none;
}
.inquiry-field__help {
  min-height: 18px;
}
.inquiry-field__error:not(:empty) {
  color: #8b2f1f;
}
.inquiry-field--consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.inquiry-field--consent input {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin: 2px 0 0;
  accent-color: var(--amber);
}
.inquiry-field--consent label span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}
.inquiry-form__submit {
  min-width: min(100%, 235px);
  min-height: 3.35rem;
  margin-top: 20px;
  border: 0;
  cursor: pointer;
}
.inquiry-form__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}
.inquiry-form__status {
  max-width: 620px;
  margin: 18px 0 0;
  color: #8b2f1f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.inquiry-form__status:empty {
  display: none;
}
.inquiry-form__status:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.inquiry-success {
  min-height: min(740px, calc(100dvh - 80px));
  background: #fbfaf6;
}
.inquiry-success__letterhead {
  padding: clamp(28px, 5vw, 54px) clamp(28px, 6vw, 68px) 22px;
}
.inquiry-success__letterhead::after {
  display: block;
  height: 1px;
  margin-top: 22px;
  background: var(--line);
  content: "";
}
.inquiry-success__content {
  position: relative;
  padding: clamp(24px, 4.5vw, 52px) clamp(28px, 6vw, 68px)
    clamp(36px, 6vw, 70px);
}
.inquiry-success h2 {
  max-width: 650px;
}
.inquiry-success h2:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}
.inquiry-success__details {
  display: grid;
  gap: 0;
  margin: clamp(30px, 5vw, 52px) 0 0;
  border-top: 1px solid var(--line);
}
.inquiry-success__details > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.inquiry-success__details dt {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.inquiry-success__details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.inquiry-success__thanks {
  margin: 28px 0 24px;
  font-size: 17px;
}

@media (min-width: 700px) {
  .inquiry-form__header {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.75fr);
    align-items: center;
    gap: clamp(22px, 3vw, 34px);
    max-width: none;
    padding-right: 0;
  }
  .inquiry-form__illustration {
    display: block;
    width: 100%;
    max-width: 100%;
    justify-self: end;
  }
  .inquiry-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(22px, 4vw, 40px);
  }
  .inquiry-field--wide {
    grid-column: 1 / -1;
  }
  .inquiry-success h2 {
    max-width: 58%;
  }
  .inquiry-success__illustration {
    position: absolute;
    top: clamp(24px, 4.5vw, 52px);
    right: clamp(28px, 6vw, 68px);
    display: block;
    width: min(31%, 280px);
    max-width: 100%;
  }
}

@media (min-width: 1000px) {
  .inquiry-form {
    padding: 32px 40px;
  }
  .inquiry-form__grid {
    margin-top: 30px;
  }
  .inquiry-field textarea {
    min-height: 6rem;
  }
  .inquiry-form__submit {
    margin-top: 16px;
  }
}

@media (max-width: 699px) {
  .inquiry-dialog {
    padding: 10px;
  }
  .inquiry-form {
    padding: 30px 20px 28px;
  }
  .inquiry-form__header {
    padding-right: 40px;
  }
  .inquiry-form__header h2,
  .inquiry-success h2 {
    font-size: clamp(31px, 9.5vw, 42px);
  }
  .inquiry-form__header-copy
    > p:not(.eyebrow):not(.inquiry-form__required-note) {
    font-size: 15px;
  }
  .inquiry-form__submit {
    width: 100%;
  }
  .inquiry-success {
    min-height: calc(100dvh - 20px);
  }
  .inquiry-dialog__paper.is-flipping {
    animation-name: inquiry-form-flip-mobile;
    animation-duration: 520ms;
  }
  .inquiry-success__footer {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 16px;
  }
  .inquiry-success__illustration {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    justify-self: end;
    padding-bottom: 6px;
  }
  .inquiry-success__details > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }
}

@keyframes inquiry-form-flip-mobile {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  45% {
    opacity: 0;
    transform: scale(0.98);
  }
  55% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-dialog__paper.is-flipping {
    animation: none;
    transform: none;
  }
}
