/*
 * Breakpoints (CSS variables cannot be used in media-query conditions):
 * desktop: min-width 821px | compact: max-width 1100px
 * tablet:  max-width 820px | mobile:  max-width 560px
 */

/* Foundations */

:root {
  --orange: #e4551f;
  --orange-dark: #c2481a;
  --charcoal: #2a2826;
  --black: #171614;
  --cream: #f0e3c7;
  --paper: #f7f0df;
  --body: "Archivo", Arial, sans-serif;
  --display: "League Gothic", Impact, sans-serif;
  --stamp: "Anton", Impact, sans-serif;
  --nav: "Archivo Narrow", Arial, sans-serif;
  --wrap: 1352px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;

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

  @media (max-width: 900px) {
    scroll-padding-top: 84px;
  }
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--charcoal);
  font-family: var(--body);

  @media (max-width: 360px) {
    width: 360px;
    zoom: calc(100vw / 360);
  }
}

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

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

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(calc(100% - 64px), var(--wrap));
  margin-inline: auto;

  @media (max-width: 1100px) {
    width: min(calc(100% - 40px), var(--wrap));
  }

  @media (max-width: 900px) {
    width: min(calc(100% - 32px), var(--wrap));
  }
}

.paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(247, 240, 223, 0.48), rgba(247, 240, 223, 0.48)),
    url("assets/paper.webp");
  background-size: 900px auto;
}

.dark-section {
  background: var(--charcoal);
  color: var(--cream);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  background: var(--orange);
  color: #fff6e8;
  font-family: var(--nav);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}

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

.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: #0b70c9 solid 3px;
  outline-offset: 3px;
}

.button-arrow {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  object-fit: contain;
}

*,
::after,
::before {
  @media (prefers-reduced-motion: reduce) {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
  }
}

/* Header and hero */

.nav-slot {
  height: 104px;

  @media (max-width: 900px) {
    height: 72px;
  }
}
.site-nav {
  position: relative;
  z-index: 10;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media (max-width: 900px) {
    height: 72px;
  }
}

.site-nav.is-floating {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  height: 68px;
  transform: translateX(-50%);

  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc(50% - 50vw);
    background-color: var(--paper);
    background-image:
      linear-gradient(rgba(247, 240, 223, 0.48), rgba(247, 240, 223, 0.48)),
      url("assets/paper.webp");
    background-size: 900px auto;
    box-shadow: 0 8px 24px rgba(23, 22, 20, 0.18);
  }

  @media (max-width: 900px) {
    height: 60px;
  }
}

.site-nav.is-floating .logo-image {
  width: 210px;
  height: 40px;

  @media (max-width: 560px) {
    width: 155px;
    height: 30px;
  }
}

.site-nav.is-floating .nav-links {
  @media (max-width: 900px) {
    inset: 60px 0 auto;
    background-color: var(--paper);
    background-image:
      linear-gradient(rgba(247, 240, 223, 0.48), rgba(247, 240, 223, 0.48)),
      url("assets/paper.webp");
    background-size: 900px auto;
  }
}
.logo {
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 3.1rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -3px;

  display: block;
  line-height: 0;

  @media (max-width: 1100px) {
    font-size: 2.4rem;
  }

  @media (max-width: 560px) {
    font-size: 2rem;
  }
}

.logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;

  @media (max-width: 1100px) {
    width: 48px;
    height: 48px;
  }

  @media (max-width: 560px) {
    width: 40px;
    height: 40px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  font-family: var(--nav);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;

  @media (max-width: 1150px) {
    gap: 20px;
    font-size: 1.05rem;
  }
  @media (max-width: 960px) {
    gap: 18px;
    font-size: 0.95rem;
  }
  @media (max-width: 900px) {
    display: none;
    position: absolute;
    z-index: 11;
    inset: 72px 0 auto;
    padding: 20px;
    background: var(--paper);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

.nav-links > a:not(.button) {
  position: relative;
}

.nav-links > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 3px;
  background: var(--orange);
  transition: right 0.2s;
}

.nav-links > a:not(.button):hover::after {
  right: 0;
}

.nav-cta {
  min-width: 190px;
  min-height: 44px;
  font-size: 1.1rem;

  @media (max-width: 1100px) {
    min-width: auto;
    transform: scale(0.85);
  }
  @media (max-width: 960px) {
    min-width: auto;
    transform: scale(0.75);
  }
  @media (max-width: 900px) {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    font-size: 0.95rem;
    transform: none;
  }
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  border: 0;
  background: 0 0;
  padding: 6px;

  @media (max-width: 900px) {
    display: block;
    position: relative;
    z-index: 12;
  }
}

.site-nav:not(.is-floating) .menu-toggle {
  @media (max-width: 460px) {
    position: absolute;
    right: 8px;
    margin: 0;
  }
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px;
  background: var(--charcoal);
}

.hero {
  position: relative;
  height: 777px;
  overflow: hidden;

  @media (max-width: 1200px) {
    height: 680px;
  }
  @media (max-width: 960px) {
    height: 611px;
  }
  @media (max-width: 900px) {
    height: 760px;
  }
  @media (max-width: 560px) {
    height: 720px;
  }
  @media (max-width: 460px) {
    height: 150vw;
  }
}

.hero-inner {
  position: relative;
  height: calc(100% - 104px);

  @media (max-width: 900px) {
    height: calc(100% - 72px);
  }
}

.hero-copy {
  position: relative;
  z-index: 4;

  padding-top: 35px;
  width: 552px;

  @media (max-width: 900px) {
    width: min(100%, 520px);
    padding-top: 48px;
  }

  @media (max-width: 560px) {
    padding-top: 42px;
  }
}

.hero h1 {
  font-family: var(--display);
  letter-spacing: -1px;

  margin: 0;
  color: var(--orange);
  font-family: var(--stamp);
  font-size: 6rem;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;

  @media (max-width: 900px) {
    font-size: clamp(4.5rem, 14vw, 6rem);
  }

  @media (max-width: 560px) {
    font-size: 4.25rem;
  }
}

.hero h1 span {
  margin-bottom: 9px;
  color: var(--orange);
  font-family: var(--stamp);
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0;
  @media (max-width: 1100px) {
    font-size: 5rem;
  }
  @media (max-width: 900px) {
    font-size: 5rem;
  }
  @media (max-width: 560px) {
    font-size: 15vw;
  }
}

.hero h1 b,
.hero h1 span {
  display: block;
}

.hero h1 b {
  margin-top: 6px;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;

  @media (max-width: 1100px) {
    font-size: 3rem;
  }

  @media (max-width: 900px) {
    font-size: 3rem;
  }
  @media (max-width: 560px) {
    font-size: 10vw;
  }
}

.hero-body {
  width: 552px;
  margin: 26px 0 0;
  font-size: 1.5rem;
  line-height: 1.18;
  @media (max-width: 1200px) {
    width: 490px;
    font-size: 1.3rem;
  }
  @media (max-width: 1100px) {
    width: 470px;
    font-size: 1.2rem;
  }
  @media (max-width: 960px) {
    width: 390px;
    font-size: 1.01rem;
    line-height: 1.3;
  }
  @media (max-width: 900px) {
    width: 370px;
    font-size: 1.1rem;
    line-height: 1.3;
  }

  @media (max-width: 560px) {
    max-width: 50vw;
    margin-top: 18px;
    font-size: 0.92rem;
  }

  @media (max-width: 460px) {
    max-width: 40vw;
    margin-top: 18px;
    font-size: 0.8rem;
  }
  @media (max-width: 359px) {
    max-width: 80%;
    margin-top: 18px;
    font-size: 0.8rem;
  }
}

.hero-cta {
  margin: 31px 0 0 3px;
  min-width: 296px;

  @media (max-width: 900px) {
    margin-top: 36px;
  }

  @media (max-width: 560px) {
    min-width: 280px;
    margin-top: 24px;
    transform: scale(0.75);
    position: relative;
    left: -38px;
  }
}

.hero-swoop {
  position: absolute;
  z-index: 1;
  width: 725px;
  max-width: none;
  height: 620px;
  object-fit: contain;
  right: -300px;
  transform: scaleX(-1);
  top: 57px;

  @media (max-width: 900px) {
    right: -410px;
  }
  @media (max-width: 700px) {
    opacity: 0.3;
  }
}

.hero-person {
  position: absolute;
  z-index: 3;
  max-width: none;
  height: 785px;
  object-fit: contain;
  object-position: center bottom;
  right: 90px;
  bottom: -112px;

  @media (max-width: 1350px) {
    right: -30px;
  }
  @media (max-width: 1200px) {
    right: -60px;
    height: 685px;
  }

  @media (max-width: 1100px) {
    right: -100px;
  }

  @media (max-width: 960px) {
    height: 614px;
  }
  @media (max-width: 900px) {
    height: 790px;
    left: calc(20vw - 260px);
    bottom: -95px;
  }

  @media (max-width: 560px) {
    height: 110vw;
    left: calc(30vw - 220px);
  }

  @media (max-width: 359px) {
    display: none;
  }
}

.hero-stamp {
  position: absolute;
  z-index: 4;
  width: 200px;
  height: 200px;
  object-fit: contain;
  right: 40px;
  transform: rotate(-12deg);

  bottom: 79px;
  @media (max-width: 1350px) {
    right: 9px;
    bottom: 118px;
    height: 134px;
    width: 134px;
  }
  @media (max-width: 1200px) {
    bottom: 258px;
    right: 0;
  }
  @media (max-width: 960px) {
    bottom: 200px;
    right: 0;
    height: 114px;
    width: 114px;
  }
  @media (max-width: 900px) {
    width: 138px;
    height: 138px;
    right: 5px;
    bottom: 46px;
    display: none;
  }

  @media (max-width: 560px) {
    display: none;
  }
}

.logo .logo-image {
  width: 260px;
  height: 48px;
  object-fit: contain;

  @media (max-width: 900px) {
    width: 200px;
    height: 38px;
  }

  @media (max-width: 560px) {
    width: 170px;
    height: 32px;
  }
}

.nav-links.is-open {
  @media (max-width: 900px) {
    display: flex;
  }
}

/* Proof */

.proof {
  padding: 25px 0 0;

  height: 351px;
  padding-top: 40px;

  @media (max-width: 900px) {
    height: auto;
    padding: 20px 0;
  }
}

.proof-card {
  display: grid;
  place-items: center;
  grid-template-columns: 27% 44% 27%;
  color: var(--black);
  height: 311px;
  padding: 20px;

  @media (max-width: 900px) {
    height: auto;
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 680px) {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
}

.proof-card article {
  min-width: 0;
  position: relative;
}

.proof-years p {
  margin: 0;
  display: flex;
  align-items: flex-end;
  color: var(--orange);
  font-family: var(--display);
  line-height: 0.75;
  text-transform: uppercase;
}

.proof-years strong {
  font-size: 6.8rem;
  font-weight: 400;
  font-family: Anton, sans-serif;

  @media (max-width: 560px) {
    font-size: 7rem;
  }
}

.proof-years sup {
  position: relative;
  top: -25px;
  left: 5px;
  font-size: 6rem;
  vertical-align: top;
}

.proof-years b {
  position: relative;
  top: 9px;
  left: -30px;
  padding-bottom: 8px;
  font-family: Anton, sans-serif;
  font-size: 3rem;
  font-weight: 400;
}

.proof-years h2 {
  margin: -14px 0 0;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  top: 17px;
  width: 214px;
}

.proof-nz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 576px;

  padding: 44px 42px;

  @media (max-width: 1100px) {
    padding-inline: 26px;
    width: 476px;
    padding-left: 60px;
  }

  @media (max-width: 900px) {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    flex-direction: row;
    text-align: left;
    padding-left: 10px;
  }

  @media (max-width: 680px) {
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
    text-align: center;
    padding-block: 44px;
    margin-top: 20px;
  }
}

.proof-nz h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;

  @media (max-width: 1100px) {
    font-size: 3.2rem;
  }
  @media (max-width: 680px) {
    position: relative;
    left: -20px;
  }
}

.proof-nz p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.12;

  @media (max-width: 1100px) {
    font-size: 0.9rem;
  }
}

.proof-nz img {
  width: 116px;
  height: 140px;
  object-fit: contain;
  position: absolute;
  top: 33px;
  left: 351px;

  @media (max-width: 1100px) {
    left: 283px;
    top: 20px;
  }

  @media (max-width: 900px) {
    top: 32px;
    height: 110px;
    left: 189px;
  }

  @media (max-width: 680px) {
    left: 209px;
  }
}

.proof-reach {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--stamp);
  text-transform: uppercase;

  @media (max-width: 900px) {
    display: none;
  }
}

.proof-reach small {
  color: var(--black);
  font-size: 0.9rem;
}

.proof-reach strong {
  color: var(--orange);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: -14px;
  margin-top: -10px;
}

.proof-reach span {
  margin: 6px 0;
  font-size: 1.6rem;
}

.proof-reach b {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 0.9;
}

.proof-years {
  position: relative;
  width: 221px;

  @media (max-width: 900px) {
    grid-column: 1;
    grid-row: 1;
  }

  @media (max-width: 680px) {
    grid-column: auto;
    grid-row: auto;
    border-right: 0;
  }
}

/* Services */

.services {
  min-height: 624px;
  padding: 89px 0 60px;

  @media (min-width: 1151px) {
    height: 624px;
  }

  @media (max-width: 1150px) {
    height: auto;
    padding-top: 68px;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 34.5% 65.5%;
  gap: 0;

  @media (min-width: 1151px) {
    padding: 0 40px;
  }

  @media (max-width: 1150px) {
    grid-template-columns: 1fr;
    gap: 0px;
    padding: 0 30px;
  }

  @media (max-width: 600px) {
    grid-template-columns: 1fr;
    gap: 0px;
    padding: 0 0%;
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-family: var(--nav);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  @media (max-width: 1150px) {
    text-align: center;
  }
}

.section-intro > p:last-child {
  max-width: 360px;
  margin: 18px 0 0;
  color: #ddd6c8;
  font-size: 1.16rem;
  line-height: 1.45;

  @media (max-width: 1150px) {
    max-width: 520px;
  }
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  padding-top: 59px;
  transform: scale(0.8);

  @media (max-width: 1350px) {
  }

  @media (max-width: 1150px) {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 0;
    gap: 40px;
  }

  @media (max-width: 560px) {
    grid-template-columns: 1fr;
    position: relative;
    top: -81px;
    margin-bottom: -150px;
  }
}

.service {
  text-align: center;
}

.service img {
  width: 145px;
  height: 145px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.service h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
}

.service p {
  max-width: 240px;
  margin: 8px auto 0;
  color: #ddd6c8;
  font-size: 1.1rem;
  line-height: 1.42;
}

.service-summary {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: var(--orange);
  font-family: var(--display);
  font-size: 2.45rem;
  line-height: 1.15;
  text-align: center;

  @media (max-width: 560px) {
    font-size: 2rem;
  }
}

.section-intro h2 {
  font-size: 4.4rem;
  line-height: 0.98;
  @media (max-width: 1150px) {
    text-align: center;
    padding: 0px 60px;
  }
  @media (max-width: 900px) {
    text-align: center;
    padding: 0px 50px;
  }
  @media (max-width: 600px) {
    text-align: center;
    padding: 0px 20px;
  }
}

.services-copy {
  margin-top: 25px;
  color: #efe4cf;
  font-size: 1rem;
  line-height: 1.2;

  @media (max-width: 1150px) {
    text-align: center;
    padding: 0px 60px;
  }
  @media (max-width: 900px) {
    text-align: center;
    padding: 0px 50px;
  }
  @media (max-width: 600px) {
    text-align: center;
    padding: 0px 20px;
  }
}

.services-copy p {
  margin: 0 0 20px;
}
/* Partners */

.partners {
  min-height: 693px;
  padding: 0 0 47px;

  @media (min-width: 1151px) {
    height: 693px;
  }

  @media (max-width: 1150px) {
    height: auto;
  }
}

.partners-copy h2,
.section-intro h2 {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 400;

  @media (max-width: 1100px) {
    font-size: 4rem;
  }

  @media (max-width: 560px) {
    font-size: 3.8rem;
  }
}

.partners-card {
  display: grid;
  grid-template-columns: 31% 69%;
  min-height: 646px;
  padding: 107px 48px 80px;

  @media (max-width: 1150px) {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 34px;
  }

  @media (max-width: 560px) {
    gap: 32px;
    padding: 44px 22px;
  }
}

.partners-copy {
  padding: 0 24px 0 0;
  color: var(--charcoal);

  @media (max-width: 1150px) {
    width: 100%;
    padding-right: 0;
  }
}

.partners-copy h2 {
  color: var(--charcoal);
  font-size: 5.35rem;
  line-height: 0.9;

  @media (max-width: 560px) {
    font-size: 4.5rem;
    line-height: 1;
  }
}

.partners-copy h2 span {
  display: block;

  @media (max-width: 1150px) {
    display: inline;
  }
}
.partners-copy > p:last-child {
  max-width: 310px;
  font-size: 1.35rem;
  line-height: 1.25;

  @media (max-width: 1150px) {
    max-width: none;
  }
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 18px 22px;
  padding-top: 14px;

  @media (max-width: 1100px) {
    gap: 12px;
  }

  @media (max-width: 1150px) {
    padding-top: 0;
  }

  @media (max-width: 560px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media (max-width: 520px) {
    grid-template-columns: 1fr;
  }
}

.partner-grid a {
  display: block;
  overflow: hidden;
}

.partner-grid img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.partner-grid a:hover img {
  transform: scale(1.025);
}
/* Story */

.story {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 410px;
  background: var(--black);

  @media (max-width: 900px) {
    grid-template-columns: 1fr;
  }
}

.story-photo {
  overflow: hidden;

  @media (max-width: 900px) {
    height: 430px;
  }

  @media (max-width: 560px) {
    height: 360px;
  }
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.story-copy {
  display: flex;
  align-items: center;
  padding: 55px;
  color: #eee4cf;

  @media (max-width: 900px) {
    min-height: 360px;
    padding: 42px 32px;
  }
}

.orange-texture {
  background-color: var(--orange-dark);
  background-image:
    linear-gradient(rgba(194, 72, 26, 0.18), rgba(194, 72, 26, 0.18)),
    url("assets/orange-texture.webp");
  background-size: cover;
}

.story-copy > div {
  max-width: 660px;
}

.story-copy h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;

  font-size: 4rem;

  @media (max-width: 560px) {
    font-size: 3.8rem;
  }
}

.story-copy p {
  margin: 0;

  max-width: 597px;
  font-size: 1.5rem;
  line-height: 1.09;
}

/* Why KiwiFirst */

.why {
  position: relative;
  overflow: hidden;
  padding: 82px 0 0;

  @media (max-width: 560px) {
    padding-top: 60px;
  }
}

.why-swoop {
  position: absolute;
  z-index: 0;
  width: 1080px;
  max-width: none;
  left: -200px;
  bottom: 87px;
  opacity: 0.63;
  transform: rotate(18deg);
}

.why-inner {
  position: relative;
  z-index: 1;
}

.why h2 {
  margin: 0 0 60px;
  font-family: var(--display);
  font-size: clamp(5rem, 6.7vw, 6rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;

  @media (max-width: 560px) {
    font-size: 4.2rem;
  }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 496px));
  justify-content: center;
  gap: 90px;
  padding-bottom: 85px;

  @media (max-width: 1100px) {
    gap: 32px;
  }

  @media (max-width: 900px) {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
  }
}

.metrics[hidden] {
  display: none;
}

.metric {
  min-height: 253px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--black);
  text-align: center;

  @media (max-width: 560px) {
    min-height: 215px;
  }
}

.metric strong {
  font-family: var(--display);
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 0.85;

  @media (max-width: 560px) {
    font-size: 4rem;
  }
}

.metric sup {
  font-size: 0.55em;
}

.metric span {
  margin-top: 18px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
  text-transform: uppercase;

  @media (max-width: 560px) {
    font-size: 2.3rem;
  }
}

.benefits {
  position: relative;
  z-index: 2;
  padding: 38px 0 44px;
  background: rgba(30, 25, 23, 0.97);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;

  @media (max-width: 900px) {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  @media (max-width: 560px) {
    grid-template-columns: 1fr;
  }
}

.benefit-grid article {
  color: var(--cream);
  text-align: center;
}

.benefit-grid img {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.benefit-grid h3 {
  margin: 0;
  font-family: var(--stamp);
  font-size: 1.65rem;
  font-weight: 400;
}

.benefit-grid p {
  margin: 5px 0 0;
  font-family: var(--nav);
  font-size: 1.45rem;
}

/* Contact */

.contact {
  min-height: 701px;
  padding: 102px 0 92px;

  @media (min-width: 901px) {
    height: 700px;
  }

  @media (max-width: 900px) {
    height: auto;
    min-height: 0;
  }

  @media (max-width: 560px) {
    padding-block: 72px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  gap: 54px;

  @media (max-width: 900px) {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.contact-copy h2 {
  margin: 0 0 26px;
  color: var(--black);
  font-family: var(--display);
  font-weight: 400;

  max-width: 680px;
  font-size: 6rem;
  line-height: 0.97;

  @media (max-width: 900px) {
    font-size: 5rem;
  }

  @media (max-width: 560px) {
    font-size: 4.4rem;
  }
}

.contact-copy p {
  max-width: 520px;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.28;
}

.contact-form {
  display: grid;
  gap: 8px;

  max-width: 587px;
  gap: 7px;

  @media (max-width: 900px) {
    max-width: none;
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 19, 18, 0.32);
  border-radius: 0;
  background: rgba(194, 180, 151, 0.48);
  color: var(--black);
  padding: 14px 18px;
  font-size: 1.15rem;
}

.contact-form ::placeholder {
  color: rgba(42, 40, 38, 0.72);
  opacity: 1;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
}

.form-status.success {
  color: #256b35;
}

.form-status.error {
  color: #a52d1d;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form input {
  height: 57px;
}

.contact-form textarea {
  resize: vertical;
  height: 217px;
}

.form-submit {
  width: min(100%, 414px);
  min-height: 58px;
  margin-top: 17px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

/* Footer */

.site-footer {
  padding: 24px 0;
  background: var(--black);
  color: var(--cream);

  @media (min-width: 821px) {
    height: 84px;
    padding: 0;
  }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media (min-width: 821px) {
    height: 100%;
  }

  @media (max-width: 560px) {
    flex-direction: column;
    gap: 24px;
  }
}

.footer-logo {
  --footer-logo-width: 180px;
  --footer-logo-height: 33px;
  --footer-word-offset: 40px;
  --footer-word-width: 127px;
  --footer-mark-size: 34px;

  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;

  @media (max-width: 900px) {
    --footer-logo-width: 165px;
    --footer-logo-height: 30px;
    --footer-word-offset: 37px;
    --footer-word-width: 116px;
    --footer-mark-size: 31px;

    gap: 6px;
  }
}

.footer-logo img {
  width: var(--footer-mark-size);
  height: var(--footer-mark-size);
  object-fit: contain;
}

.site-footer nav {
  display: flex;
  gap: 42px;
  font-family: var(--nav);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;

  @media (max-width: 560px) {
    gap: 22px;
    font-size: 1rem;
  }
}

.footer-logo span {
  width: var(--footer-word-width);
  height: var(--footer-logo-height);
  background: var(--cream);
  -webkit-mask-image: url("assets/kiwifirst-logo.webp");
  mask-image: url("assets/kiwifirst-logo.webp");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: calc(-1 * var(--footer-word-offset)) 0;
  mask-position: calc(-1 * var(--footer-word-offset)) 0;
  -webkit-mask-size: var(--footer-logo-width) var(--footer-logo-height);
  mask-size: var(--footer-logo-width) var(--footer-logo-height);
}
