/*
Theme Name: IVL Construction
Author: IVL Construction
Description: A custom, responsive WordPress theme for IVL Construction with an integrated project-estimate form and business settings.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ivl-construction
Tags: custom-logo, featured-images, full-width-template, one-column, responsive-layout
*/

:root {
  --ivl-black: #080b09;
  --ivl-ink: #101511;
  --ivl-green: #4f9f3a;
  --ivl-green-bright: #65bb49;
  --ivl-mist: #f2f4ef;
  --ivl-line: rgba(16, 21, 17, 0.14);
  --ivl-white: #ffffff;
  --ivl-shell: min(1240px, calc(100vw - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivl-mist);
  color: var(--ivl-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body,
a,
button,
summary {
  -webkit-font-smoothing: antialiased;
}

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

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

.ivl-site {
  overflow: hidden;
  background: var(--ivl-mist);
}

.ivl-shell {
  width: var(--ivl-shell);
  margin-inline: auto;
}

.ivl-section {
  padding: 128px 0;
}

.ivl-section-label,
.ivl-eyebrow {
  margin: 0;
  color: #536056;
  font-size: 0.72rem;
  font-weight: 690;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ivl-section-label--light {
  color: rgba(255, 255, 255, 0.54);
}

.ivl-hero {
  position: relative;
  min-height: 920px;
  height: max(760px, 100svh);
  overflow: hidden;
  background: var(--ivl-black);
  color: var(--ivl-white);
  isolation: isolate;
}

.ivl-hero__image,
.ivl-standard__visual {
  background-image:
    linear-gradient(90deg, rgba(4, 7, 5, 0.98) 0%, rgba(4, 7, 5, 0.88) 31%, rgba(4, 7, 5, 0.32) 66%, rgba(4, 7, 5, 0.15) 100%),
    linear-gradient(0deg, rgba(4, 7, 5, 0.64) 0%, transparent 42%),
    url("assets/images/ivl-construction-hero.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ivl-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: scale(1.01);
  animation: ivl-settle 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ivl-hero__grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ivl-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ivl-brand {
  display: block;
  width: 184px;
}

.ivl-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
}

.ivl-nav a,
.ivl-footer nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.79rem;
  font-weight: 560;
  letter-spacing: 0.08em;
}

.ivl-nav a::after,
.ivl-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--ivl-green-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.ivl-header__cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  gap: 12px;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.ivl-header__cta:hover,
.ivl-header__cta:focus-visible {
  border-color: var(--ivl-white);
  background: var(--ivl-white);
  color: var(--ivl-black);
}

.ivl-mobile-menu {
  display: none;
  justify-self: end;
}

.ivl-mobile-menu summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 660;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ivl-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.ivl-mobile-menu[open] nav {
  display: grid;
}

.ivl-mobile-menu nav {
  position: fixed;
  top: 88px;
  right: 20px;
  left: 20px;
  display: none;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(8, 11, 9, 0.97);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  gap: 4px;
}

.ivl-mobile-menu nav a {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
}

.ivl-hero__content {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: calc(100% - 112px);
  padding-top: 110px;
  padding-bottom: 104px;
}

.ivl-hero__copy {
  width: min(760px, 69vw);
  animation: ivl-rise 850ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ivl-eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.62);
  gap: 13px;
}

.ivl-eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--ivl-green-bright);
}

.ivl-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(4rem, 7.2vw, 7.4rem);
  font-weight: 550;
  letter-spacing: -0.07em;
  line-height: 0.91;
}

.ivl-hero h1 em {
  color: rgba(255, 255, 255, 0.58);
  font-style: normal;
  font-weight: 330;
}

.ivl-hero__lede {
  max-width: 620px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 390;
  line-height: 1.75;
}

.ivl-hero__actions {
  display: flex;
  align-items: center;
  margin-top: 42px;
  gap: 34px;
}

.ivl-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 224px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.ivl-button:hover,
.ivl-button:focus-visible {
  transform: translateY(-3px);
}

.ivl-button--primary {
  background: var(--ivl-green);
  color: var(--ivl-white);
}

.ivl-button--primary:hover,
.ivl-button--primary:focus-visible {
  background: var(--ivl-green-bright);
}

.ivl-text-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.79rem;
  font-weight: 620;
  gap: 16px;
  transition: border-color 200ms ease, color 200ms ease;
}

.ivl-text-link:hover,
.ivl-text-link:focus-visible {
  border-color: var(--ivl-green-bright);
  color: var(--ivl-white);
}

.ivl-hero__proof {
  width: 190px;
  padding-bottom: 8px;
  animation: ivl-rise 850ms 280ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ivl-hero__proof div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ivl-hero__proof strong,
.ivl-hero__proof span {
  display: block;
}

.ivl-hero__proof strong {
  margin-bottom: 5px;
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.ivl-hero__proof span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.45;
}

.ivl-scroll-cue {
  position: absolute;
  right: 26px;
  bottom: 54px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
  gap: 12px;
}

.ivl-scroll-cue i {
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.26);
}

.ivl-intro {
  background: var(--ivl-mist);
}

.ivl-intro__grid {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 48px;
}

.ivl-intro h2,
.ivl-standard h2,
.ivl-process h2,
.ivl-cta h2 {
  margin: 0;
  color: var(--ivl-ink);
  font-size: clamp(2.75rem, 5.4vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.ivl-intro h2 span {
  color: #829084;
  font-weight: 360;
}

.ivl-intro__grid > div > p {
  max-width: 710px;
  margin: 42px 0 0 auto;
  color: #5f6961;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.ivl-services {
  background: var(--ivl-black);
  color: var(--ivl-white);
}

.ivl-section-head {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  align-items: end;
  padding-bottom: 72px;
  gap: 50px;
}

.ivl-section-head h2 {
  max-width: 750px;
  margin: 24px 0 0;
  color: var(--ivl-white);
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.ivl-section-head > p {
  max-width: 360px;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.96rem;
  line-height: 1.7;
}

.ivl-service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ivl-service {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(260px, 1fr) minmax(230px, 0.75fr) 54px;
  align-items: center;
  min-height: 180px;
  padding: 28px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: padding 280ms ease, background 280ms ease;
  gap: 28px;
}

.ivl-service::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(79, 159, 58, 0.14), transparent 64%);
  content: "";
  opacity: 0;
  transition: opacity 280ms ease;
}

.ivl-service:hover {
  padding-inline: 22px;
}

.ivl-service:hover::before {
  opacity: 1;
}

.ivl-service > * {
  position: relative;
  z-index: 1;
}

.ivl-service__number {
  align-self: start;
  color: var(--ivl-green-bright);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.ivl-service h3 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  font-weight: 470;
  letter-spacing: -0.04em;
}

.ivl-service p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.91rem;
  line-height: 1.7;
}

.ivl-service__detail {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  line-height: 1.6;
}

.ivl-service__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.68);
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.ivl-service:hover .ivl-service__arrow {
  border-color: var(--ivl-green-bright);
  color: var(--ivl-green-bright);
  transform: rotate(45deg);
}

.ivl-standard {
  background: #fbfcf8;
}

.ivl-standard__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
  align-items: stretch;
  min-height: 780px;
  gap: clamp(60px, 8vw, 120px);
}

.ivl-standard__visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background-image:
    linear-gradient(0deg, rgba(6, 10, 7, 0.76), rgba(6, 10, 7, 0.04) 62%),
    url("assets/images/ivl-construction-hero.webp");
  background-position: 68% center;
}

.ivl-standard__visual::after {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  content: "";
  pointer-events: none;
}

.ivl-standard__badge {
  position: absolute;
  right: 48px;
  bottom: 48px;
  left: 48px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: var(--ivl-white);
}

.ivl-standard__badge span {
  color: var(--ivl-green-bright);
  font-size: 3.3rem;
  font-weight: 760;
  letter-spacing: -0.08em;
}

.ivl-standard__badge small {
  max-width: 150px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  line-height: 1.45;
  text-align: right;
}

.ivl-standard__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ivl-standard__content h2 {
  margin-top: 28px;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
}

.ivl-standard__lede {
  max-width: 640px;
  margin: 36px 0 48px;
  color: #5e6961;
  font-size: 1rem;
  line-height: 1.8;
}

.ivl-principles {
  border-top: 1px solid var(--ivl-line);
}

.ivl-principles article {
  display: grid;
  grid-template-columns: 58px 1fr;
  padding: 26px 0;
  border-bottom: 1px solid var(--ivl-line);
  gap: 20px;
}

.ivl-principles article > span {
  color: var(--ivl-green);
  font-size: 0.72rem;
  font-weight: 720;
}

.ivl-principles h3 {
  margin: -5px 0 8px;
  font-size: 1.15rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.ivl-principles p {
  margin: 0;
  color: #647067;
  font-size: 0.86rem;
  line-height: 1.65;
}

.ivl-process {
  background: #e9ede6;
}

.ivl-process__intro {
  display: grid;
  grid-template-columns: 0.62fr 2fr;
  align-items: start;
  padding-bottom: 76px;
  gap: 40px;
}

.ivl-process__intro h2 {
  max-width: 900px;
  font-size: clamp(2.9rem, 5.1vw, 5.35rem);
}

.ivl-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ivl-line);
}

.ivl-process__steps article {
  position: relative;
  min-height: 330px;
  padding: 34px 28px 32px 0;
  border-right: 1px solid var(--ivl-line);
}

.ivl-process__steps article:not(:first-child) {
  padding-left: 28px;
}

.ivl-process__steps article:last-child {
  border-right: 0;
}

.ivl-process__steps article > span {
  color: var(--ivl-green);
  font-size: 0.72rem;
  font-weight: 730;
  letter-spacing: 0.1em;
}

.ivl-process__steps h3 {
  margin: 84px 0 22px;
  font-size: 1.55rem;
  font-weight: 570;
  letter-spacing: -0.04em;
}

.ivl-process__steps p {
  margin: 0;
  color: #5f6b62;
  font-size: 0.86rem;
  line-height: 1.75;
}

.ivl-cta {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--ivl-green);
  color: var(--ivl-white);
}

.ivl-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 620px;
}

.ivl-cta h2 {
  max-width: 900px;
  margin: 28px 0 0;
  color: var(--ivl-white);
  font-size: clamp(4rem, 8vw, 8.2rem);
}

.ivl-cta__content > p:not(.ivl-section-label) {
  max-width: 530px;
  margin: 32px 0 40px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.ivl-button--light {
  background: var(--ivl-white);
  color: var(--ivl-black);
}

.ivl-button--light:hover,
.ivl-button--light:focus-visible {
  background: var(--ivl-black);
  color: var(--ivl-white);
}

.ivl-cta__shape {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 700px;
  height: 880px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  transform: skewX(-16deg) rotate(12deg);
}

.ivl-cta__shape::before,
.ivl-cta__shape::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
}

.ivl-cta__shape::before {
  inset: 80px;
}

.ivl-cta__shape::after {
  inset: 160px;
}

.ivl-footer {
  background: var(--ivl-black);
  color: var(--ivl-white);
}

.ivl-footer__top {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  min-height: 250px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 60px;
}

.ivl-footer__brand {
  width: 218px;
}

.ivl-footer__top > p,
.ivl-footer__top > div > p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  line-height: 1.7;
}

.ivl-footer nav {
  display: flex;
  gap: 28px;
}

.ivl-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

@keyframes ivl-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ivl-settle {
  from {
    opacity: 0;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1.01);
  }
}

@media (max-width: 1040px) {
  .ivl-header {
    grid-template-columns: 220px 1fr auto;
  }

  .ivl-nav {
    display: none;
  }

  .ivl-header__cta {
    justify-self: end;
  }

  .ivl-standard__grid {
    grid-template-columns: minmax(320px, 0.8fr) minmax(380px, 1.2fr);
    gap: 56px;
  }

  .ivl-service {
    grid-template-columns: 62px minmax(260px, 1fr) 210px 50px;
  }

  .ivl-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .ivl-process__steps article:nth-child(2) {
    border-right: 0;
  }

  .ivl-process__steps article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ivl-line);
  }

  .ivl-footer__top {
    grid-template-columns: 220px 1fr;
  }

  .ivl-footer nav {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --ivl-shell: min(100% - 36px, 1240px);
  }

  .ivl-section {
    padding: 86px 0;
  }

  .ivl-hero {
    min-height: 760px;
    height: 100svh;
  }

  .ivl-hero__image {
    background-image:
      linear-gradient(90deg, rgba(4, 7, 5, 0.94), rgba(4, 7, 5, 0.42)),
      linear-gradient(0deg, rgba(4, 7, 5, 0.82), transparent 56%),
      url("assets/images/ivl-construction-hero.webp");
    background-position: 62% center;
  }

  .ivl-header {
    grid-template-columns: 1fr auto;
    min-height: 88px;
  }

  .ivl-brand {
    width: 158px;
  }

  .ivl-header__cta {
    display: none;
  }

  .ivl-mobile-menu {
    display: block;
  }

  .ivl-hero__content {
    display: block;
    height: calc(100% - 88px);
    padding-top: clamp(80px, 16vh, 140px);
    padding-bottom: 80px;
  }

  .ivl-hero__copy {
    width: 100%;
  }

  .ivl-eyebrow {
    margin-bottom: 24px;
    font-size: 0.63rem;
  }

  .ivl-hero h1 {
    font-size: clamp(3.45rem, 15vw, 5.4rem);
    line-height: 0.94;
  }

  .ivl-hero__lede {
    margin-top: 28px;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .ivl-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 32px;
    gap: 16px;
  }

  .ivl-button {
    width: 100%;
    min-width: 0;
  }

  .ivl-hero__proof,
  .ivl-scroll-cue {
    display: none;
  }

  .ivl-intro__grid,
  .ivl-section-head,
  .ivl-standard__grid,
  .ivl-process__intro {
    grid-template-columns: 1fr;
  }

  .ivl-intro__grid,
  .ivl-process__intro {
    gap: 34px;
  }

  .ivl-intro h2,
  .ivl-standard h2,
  .ivl-process h2 {
    font-size: clamp(2.65rem, 12.5vw, 4.2rem);
  }

  .ivl-intro__grid > div > p {
    margin-top: 30px;
  }

  .ivl-section-head {
    padding-bottom: 46px;
    gap: 26px;
  }

  .ivl-section-head h2 {
    font-size: clamp(2.65rem, 12.5vw, 4.2rem);
  }

  .ivl-service {
    grid-template-columns: 42px 1fr 44px;
    min-height: 0;
    padding: 28px 0;
    gap: 14px;
  }

  .ivl-service:hover {
    padding-inline: 8px;
  }

  .ivl-service__number {
    grid-row: 1 / span 2;
  }

  .ivl-service__detail {
    grid-column: 2 / span 2;
  }

  .ivl-service__arrow {
    grid-column: 3;
    grid-row: 1;
    width: 40px;
    height: 40px;
  }

  .ivl-service h3 {
    padding-right: 4px;
    font-size: 1.55rem;
  }

  .ivl-service p {
    font-size: 0.84rem;
  }

  .ivl-standard__grid {
    min-height: 0;
    gap: 58px;
  }

  .ivl-standard__visual {
    min-height: 540px;
    order: 2;
  }

  .ivl-standard__badge {
    right: 36px;
    bottom: 36px;
    left: 36px;
  }

  .ivl-standard__content {
    order: 1;
  }

  .ivl-process__intro {
    padding-bottom: 52px;
  }

  .ivl-process__steps {
    grid-template-columns: 1fr;
  }

  .ivl-process__steps article,
  .ivl-process__steps article:not(:first-child) {
    min-height: 0;
    padding: 30px 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--ivl-line);
  }

  .ivl-process__steps h3 {
    margin: 42px 0 16px;
  }

  .ivl-cta,
  .ivl-cta__content {
    min-height: 560px;
  }

  .ivl-cta h2 {
    font-size: clamp(3.8rem, 17vw, 5.8rem);
  }

  .ivl-cta__shape {
    right: -440px;
  }

  .ivl-footer__top {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 72px 0;
    gap: 32px;
  }

  .ivl-footer__top > p {
    max-width: 330px;
  }

  .ivl-footer nav {
    grid-column: 1;
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .ivl-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 116px;
    line-height: 1.6;
    gap: 7px;
  }
}

@media (max-width: 420px) {
  .ivl-hero__content {
    padding-top: 72px;
  }

  .ivl-hero h1 {
    font-size: 3.2rem;
  }

  .ivl-hero__lede {
    font-size: 0.86rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress and contact-form additions */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed !important;
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #ffffff;
  color: #080b09;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-bar .ivl-mobile-menu nav {
  top: 120px;
}

.ivl-contact {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--ivl-green);
  color: var(--ivl-white);
}

.ivl-contact__shape {
  position: absolute;
  top: -260px;
  right: -170px;
  width: 760px;
  height: 1020px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: skewX(-16deg) rotate(12deg);
}

.ivl-contact__shape::before,
.ivl-contact__shape::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  content: "";
}

.ivl-contact__shape::before {
  inset: 90px;
}

.ivl-contact__shape::after {
  inset: 180px;
}

.ivl-contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.78fr);
  align-items: start;
  gap: clamp(64px, 9vw, 140px);
}

.ivl-contact h2 {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--ivl-white);
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.ivl-contact__intro > p:not(.ivl-section-label) {
  max-width: 560px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.ivl-contact__details {
  display: flex;
  flex-wrap: wrap;
  margin-top: 48px;
  gap: 14px 28px;
}

.ivl-contact__details a,
.ivl-contact__details span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--ivl-white);
  font-size: 0.82rem;
  font-weight: 650;
}

.ivl-contact__form-wrap {
  padding: clamp(28px, 4vw, 48px);
  background: rgba(8, 11, 9, 0.96);
  box-shadow: 0 32px 80px rgba(8, 11, 9, 0.28);
}

.ivl-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}

.ivl-form__field {
  display: grid;
  gap: 9px;
}

.ivl-form__field--full {
  grid-column: 1 / -1;
}

.ivl-form label {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.67rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ivl-form input,
.ivl-form select,
.ivl-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ivl-white);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: border-color 180ms ease;
}

.ivl-form select {
  color-scheme: dark;
}

.ivl-form textarea {
  min-height: 116px;
  resize: vertical;
}

.ivl-form input:focus,
.ivl-form select:focus,
.ivl-form textarea:focus {
  border-bottom-color: var(--ivl-green-bright);
}

.ivl-form input::placeholder,
.ivl-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.ivl-form__submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  margin-top: 6px;
  padding: 0 22px;
  border: 0;
  border-radius: 2px;
  background: var(--ivl-green);
  color: var(--ivl-white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  transition: background 180ms ease, transform 180ms ease;
}

.ivl-form__submit:hover,
.ivl-form__submit:focus-visible {
  background: var(--ivl-green-bright);
  transform: translateY(-2px);
}

.ivl-form__privacy {
  grid-column: 1 / -1;
  margin: -6px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  line-height: 1.55;
}

.ivl-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ivl-form-notice {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  padding: 14px 16px;
  border-left: 3px solid var(--ivl-green-bright);
  background: rgba(101, 187, 73, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  line-height: 1.55;
}

.ivl-form-notice--error {
  border-left-color: #ee836f;
  background: rgba(238, 131, 111, 0.11);
}

.ivl-subpage-header {
  background: var(--ivl-black);
  color: var(--ivl-white);
}

.ivl-subpage-header .ivl-header {
  min-height: 104px;
}

.ivl-inner-page {
  min-height: 62vh;
  padding: 118px 0;
  background: #fbfcf8;
}

.ivl-inner-page__content {
  width: min(820px, 100%);
}

.ivl-inner-page h1 {
  margin: 0 0 38px;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 530;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.ivl-inner-page h2,
.ivl-inner-page h3 {
  margin-top: 2.2em;
  letter-spacing: -0.04em;
}

.ivl-inner-page p,
.ivl-inner-page li {
  color: #556159;
  font-size: 1rem;
  line-height: 1.8;
}

.ivl-inner-page a:not(.ivl-button) {
  color: var(--ivl-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ivl-social-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
  gap: 18px;
}

.ivl-social-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .ivl-contact__grid {
    grid-template-columns: 1fr;
  }

  .ivl-contact__intro {
    max-width: 760px;
  }

  .ivl-contact__form-wrap {
    width: min(100%, 680px);
  }
}

@media (max-width: 760px) {
  .admin-bar .ivl-mobile-menu nav {
    top: 134px;
  }

  .ivl-contact {
    padding: 86px 0;
  }

  .ivl-contact h2 {
    font-size: clamp(3.6rem, 16vw, 5.8rem);
  }

  .ivl-contact__grid {
    gap: 48px;
  }

  .ivl-contact__form-wrap {
    padding: 28px 22px;
  }

  .ivl-form {
    grid-template-columns: 1fr;
  }

  .ivl-form__field,
  .ivl-form__field--full,
  .ivl-form__submit,
  .ivl-form__privacy,
  .ivl-form-notice {
    grid-column: 1;
  }

  .ivl-inner-page {
    padding: 82px 0;
  }
}
