/* Homepage only: hero, company story, metrics and project card. */
/* Full-screen opening */
.hero {
  padding: 65px 5% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  min-height: 640px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow:before {
  content: '';
  width: 27px;
  height: 1px;
  background: var(--sand);
}
.intro {
  max-width: 365px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.hero .button {
  margin-top: 20px;
}
.project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-content {
  padding: 40px 45px;
}
.project-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.project h3 {
  font-size: 48px;
  letter-spacing: -1px;
  font-weight: 450;
  margin: 24px 0 5px;
}
.project p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
  font-size: 14px;
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 42px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .intro {
    max-width: 100%;
  }
  .project {
    grid-template-columns: 1fr;
  }
  .project-content {
    padding: 28px 20px;
  }
}
.project-cover {
  display: block;
  min-height: 400px;
  overflow: hidden;
  background: #dedbd5;
  position: relative;
}
.project-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  transition: transform 0.4s;
}
.project-cover:hover img {
  transform: scale(1.025);
}
@media (max-width: 760px) {
  .project-cover {
    min-height: 340px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-cover img {
    transition: none;
  }
}
.home-page .site-header:not(.is-scrolled) {
  background: transparent;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.22);
}
.home-page .site-header:not(.is-scrolled) .contact-link {
  border-color: #fff;
}
.home-page .site-header:not(.is-scrolled) .logo-crop {
  mix-blend-mode: screen;
}
.home-page .site-header:not(.is-scrolled) .logo-crop img {
  filter: invert(1) grayscale(1) brightness(3);
  mix-blend-mode: screen;
}
.home-page .site-header:not(.is-scrolled) a:focus-visible,
.home-page .site-header:not(.is-scrolled) button:focus-visible {
  outline-color: white;
}
.hero.immersive-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  gap: 0;
  align-items: center;
  padding: 155px 7% 115px;
  overflow: hidden;
  color: white;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.immersive-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      270deg,
      rgba(8, 17, 20, 0.71) 0%,
      rgba(8, 17, 20, 0.37) 45%,
      rgba(8, 17, 20, 0.1) 75%
    ),
    linear-gradient(
      0deg,
      rgba(8, 17, 20, 0.35),
      transparent 28%,
      transparent 75%,
      rgba(8, 17, 20, 0.25)
    );
}
.hero-copy {
  max-width: 720px;
}
.immersive-hero h1 {
  font-size: clamp(64px, 7.4vw, 112px);
  font-weight: 500;
  line-height: 1.17;
  margin: 28px 0 25px;
  letter-spacing: -2px;
}
.immersive-hero h1 em {
  color: #fff;
}
.immersive-hero .intro {
  color: rgba(255, 255, 255, 0.88);
  max-width: 400px;
  font-size: 16px;
  line-height: 1.9;
}
.immersive-hero .eyebrow {
  color: #fff;
}
.immersive-hero .eyebrow:before {
  background: #fff;
}
.immersive-hero .button {
  background: #fff;
  color: #202622;
  border-color: #fff;
  padding: 18px 27px;
  min-width: 210px;
}
.immersive-hero .button:hover {
  background: #e7ebe6;
}
.scroll-cue {
  position: absolute;
  bottom: 34px;
  right: 7%;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}
.scroll-cue span:last-child {
  font-size: 22px;
}
.immersive-hero a:focus-visible {
  outline: 2px solid white;
}
@media (max-width: 760px) {
  .hero.immersive-hero {
    padding: 135px 6% 100px;
    align-items: center;
  }
  .immersive-hero h1 {
    font-size: clamp(51px, 12.8vw, 74px);
    line-height: 1.23;
    letter-spacing: -1px;
    margin: 24px 0;
  }
  .immersive-hero .intro {
    font-size: 14px;
    max-width: 310px;
  }
  .immersive-hero .button {
    padding: 15px 23px;
    min-width: 190px;
    margin-top: 16px;
  }
  .hero-backdrop img {
    object-position: 65% center;
  }
  .immersive-hero:after {
    background:
      linear-gradient(270deg, rgba(8, 17, 20, 0.7), rgba(8, 17, 20, 0.27)),
      linear-gradient(0deg, rgba(8, 17, 20, 0.35), transparent 45%);
  }
  .scroll-cue {
    right: 6%;
    bottom: 27px;
  }
  .hero-copy {
    width: 100%;
  }
  .home-page .site-header:not(.is-scrolled) .nav.open a:focus-visible {
    outline-color: var(--ink);
  }
}
.home-page .site-header.menu-open {
  background: #fff;
  color: var(--ink);
  mix-blend-mode: normal;
}
.home-page .site-header.menu-open .logo-crop {
  mix-blend-mode: multiply;
}
.home-page .site-header.menu-open .contact-link {
  border-color: var(--ink);
}
/* Project metrics and count-up reveal */
.project-intro {
  background: #fff;
  color: #171e1b;
  padding: 106px 7% 58px;
  scroll-margin-top: 0;
}
.intro-heading {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}
.intro-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #606b64;
}
.intro-dot {
  width: 6px;
  height: 6px;
  background: #171e1b;
  border-radius: 50%;
}
.project-intro h2 {
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 500;
  line-height: 1.32;
  margin: 26px 0 0;
  letter-spacing: -1.7px;
}
.project-intro h2 > span {
  color: #7a837d;
}
.intro-description {
  max-width: 360px;
  line-height: 2;
  font-size: 17px;
  margin: 0 0 8px;
  color: #626b66;
}
.intro-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #dfe3df;
  border-bottom: 1px solid #dfe3df;
}
.intro-numbers > div {
  display: flex;
  flex-direction: column;
  padding: 36px 24px 38px;
  border-left: 1px solid #e7eae7;
  min-width: 0;
}
.intro-numbers > div:first-child {
  padding-right: 0;
}
.intro-numbers > div:last-child {
  border-left: 0;
}
.intro-numbers dt {
  font-size: 14px;
  color: #6a736d;
  margin-top: 12px;
}
.intro-numbers dd {
  order: -1;
  margin: 0;
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: clamp(68px, 8.4vw, 128px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -4px;
}
.intro-numbers dd small {
  font-size: 17px;
  letter-spacing: 0;
  color: #626b66;
  font-weight: 400;
}
.featured-project {
  padding-top: 72px;
  background: #fff;
}
.reveal-ready .project-intro [data-reveal] {
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-ready .project-intro [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}
.reveal-ready .intro-numbers > div:nth-child(2) {
  transition-delay: 70ms;
}
.reveal-ready .intro-numbers > div:nth-child(3) {
  transition-delay: 140ms;
}
.reveal-ready .intro-numbers > div:nth-child(4) {
  transition-delay: 210ms;
}
@media (max-width: 760px) {
  .project-intro {
    padding: 64px 6% 36px;
  }
  .intro-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 38px;
  }
  .project-intro h2 {
    font-size: clamp(36px, 9.4vw, 53px);
    letter-spacing: -1px;
    margin-top: 22px;
  }
  .intro-description {
    font-size: 15px;
    max-width: 340px;
    margin: 0;
  }
  .intro-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro-numbers > div {
    padding: 26px 18px;
    border-bottom: 1px solid #e7eae7;
  }
  .intro-numbers > div:nth-child(2) {
    border-left: 0;
  }
  .intro-numbers > div:nth-child(3) {
    padding-right: 0;
  }
  .intro-numbers > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .intro-numbers dd {
    font-size: 75px;
    letter-spacing: -3px;
  }
  .intro-numbers dt {
    font-size: 13px;
  }
  .intro-numbers dd small {
    font-size: 15px;
  }
  .featured-project {
    padding-top: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .project-intro [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* Company story */
.company-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #171d1a;
  color: #fff;
  padding: 102px 7% 58px;
}
.company-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.company-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #b7c2bb;
}
.company-kicker:before {
  content: '';
  height: 1px;
  width: 28px;
  background: #a7b5ac;
}
.company-story h2 {
  font-size: clamp(45px, 5.5vw, 80px);
  line-height: 1.3;
  font-weight: 500;
  margin: 28px 0 0;
  letter-spacing: -1.5px;
}
.company-story h2 span {
  color: #bac7bf;
}
.company-copy {
  padding-top: 42px;
}
.company-copy > p:first-child {
  font-size: clamp(21px, 2.3vw, 32px);
  line-height: 1.95;
  margin: 0;
  max-width: 500px;
}
.company-sub {
  font-size: 15px;
  line-height: 2;
  color: #aebbb3;
  margin: 22px 0 30px;
  max-width: 450px;
}
.company-pillars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #ffffff26;
  margin-top: 76px;
}
.company-pillars > div {
  padding: 29px 25px 26px;
  border-left: 1px solid #ffffff26;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.company-pillars > div:first-child {
  padding-right: 0;
}
.company-pillars > div:last-child {
  border-left: 0;
}
.pillar-number {
  font-size: 11px;
  color: #96a69b;
  letter-spacing: 2px;
}
.company-pillars h3 {
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.5;
  font-weight: 450;
  margin: 0;
}
.company-wordmark {
  position: absolute;
  bottom: -28px;
  left: 4%;
  z-index: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(120px, 20vw, 280px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -12px;
  color: #ffffff03;
  pointer-events: none;
  user-select: none;
}
.project-brief {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-brief h3 {
  font-size: 55px !important;
  margin-top: 42px !important;
}
.project-brief p {
  max-width: 310px;
  font-size: 17px;
  line-height: 2;
}
.project-brief .text-link {
  align-self: flex-start;
  margin-top: 30px;
}
.company-story a:focus-visible {
  outline: 2px solid white;
  outline-offset: 6px;
}
@media (max-width: 760px) {
  .company-story {
    padding: 64px 6% 35px;
  }
  .company-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .company-story h2 {
    font-size: 46px;
    letter-spacing: -1px;
    margin-top: 22px;
  }
  .company-copy {
    padding-top: 0;
  }
  .company-copy > p:first-child {
    font-size: 23px;
    line-height: 1.9;
  }
  .company-sub {
    font-size: 14px;
    margin: 19px 0 22px;
  }
  .company-pillars {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }
  .company-pillars > div,
  .company-pillars > div:first-child {
    border-left: 0;
    border-bottom: 1px solid #ffffff26;
    padding: 23px 0;
    flex-direction: row;
    align-items: center;
    gap: 25px;
  }
  .company-pillars > div:last-child {
    border-bottom: 0;
  }
  .company-pillars h3 {
    font-size: 22px;
  }
  .company-wordmark {
    font-size: 120px;
    letter-spacing: -5px;
    bottom: 0;
  }
  .project-brief h3 {
    font-size: 43px !important;
    margin-top: 28px !important;
  }
  .project-brief .text-link {
    margin-top: 18px;
  }
}
/* Contact invitation */
.company-contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 90px;
  padding: 100px 7% 108px;
  background: #fff;
  color: #171e1b;
  border-top: 1px solid #eceeeb;
}
.company-contact .eyebrow {
  color: #6a756d;
}
.company-contact .eyebrow:before {
  background: #8b988e;
}
.company-contact h2 {
  font-size: clamp(46px, 5.7vw, 82px);
  line-height: 1.3;
  letter-spacing: -1.6px;
  margin: 26px 0 24px;
  font-weight: 500;
}
.company-contact h2 > span {
  color: #76837a;
}
.contact-heading > p {
  max-width: 410px;
  line-height: 2;
  color: #6b756e;
  font-size: 16px;
  margin: 0;
}
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 370px;
  width: 100%;
  justify-self: end;
}
.contact-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: #171e1b;
  color: #fff;
  padding: 23px 27px;
  font-size: 17px;
  transition: background 0.2s;
}
.contact-primary:hover {
  background: #354239;
}
.contact-primary > span {
  font-size: 28px;
  line-height: 1;
}
.contact-whatsapp {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  padding: 0 1px;
}
.contact-whatsapp > span {
  font-size: 12px;
  color: #79827c;
}
.contact-whatsapp strong {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 25px;
}
.contact-whatsapp strong span {
  font-size: 20px;
}
.contact-whatsapp:hover strong {
  text-decoration: underline;
  text-underline-offset: 7px;
}
@media (max-width: 760px) {
  .company-contact {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 62px 6% 65px;
  }
  .company-contact h2 {
    font-size: 48px;
    letter-spacing: -1px;
    margin: 23px 0 20px;
  }
  .contact-heading > p {
    font-size: 15px;
  }
  .contact-options {
    justify-self: start;
    max-width: none;
    gap: 25px;
  }
  .contact-primary {
    font-size: 16px;
    padding: 20px 23px;
  }
  .contact-whatsapp strong {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-primary {
    transition: none;
  }
}
/* Responsive project image */
.featured-project .project-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-project .project-cover img {
  position: static;
  inset: auto;
  display: block;
  transition: none;
}
.featured-project .project-cover:hover img {
  transform: none;
}
@media (max-width: 760px) {
  .featured-project .project-cover {
    background: #fff;
  }
  .featured-project .project-cover img {
    max-height: none;
  }
}
.featured-project .project-cover {
  height: auto;
  min-height: 0;
  max-height: 560px;
  aspect-ratio: 3/2;
  align-self: center;
  background: #fff;
  padding: 0;
}
.featured-project .project-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.featured-project .project-brief {
  padding: clamp(24px, 3vw, 45px);
}
.featured-project .project-brief h3 {
  margin-top: 26px !important;
}
.featured-project .project-brief .text-link {
  margin-top: 22px;
}
@media (max-width: 760px) {
  .featured-project .project-cover {
    height: auto;
    aspect-ratio: 3/2;
    min-height: 0;
    max-height: none;
  }
  .featured-project .project-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .featured-project .project-brief {
    padding: 26px 20px 30px;
  }
}
.home-page .site-header:not(.is-scrolled):not(.menu-open) {
  mix-blend-mode: normal;
}
.home-page .site-header:not(.is-scrolled) .logo-crop,
.home-page .site-header.menu-open .logo-crop {
  mix-blend-mode: normal;
}
.home-page .site-header:not(.is-scrolled):not(.menu-open) .logo-crop img {
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
}
.home-page .site-header.menu-open .logo-crop img {
  filter: none;
  mix-blend-mode: normal;
}
.home-page .immersive-hero .intro {
  font-size: 17px;
  line-height: 1.95;
  color: #fff;
  max-width: 450px;
  text-shadow: 0 1px 7px #0004;
}
.home-page .project-intro {
  padding-top: 86px;
  padding-bottom: 28px;
}
.home-page .intro-heading {
  margin-bottom: 48px;
}
.home-page .featured-project {
  padding: 24px 7% 72px;
}
.intro-kicker bdi {
  letter-spacing: 1px;
}
@media (max-width: 760px) {
  .home-page .immersive-hero .intro {
    font-size: 16px;
    line-height: 1.95;
    max-width: 330px;
    color: #fff;
    text-shadow: 0 1px 8px #0006;
  }
  .home-page .immersive-hero:after {
    background:
      linear-gradient(270deg, rgba(8, 17, 20, 0.78), rgba(8, 17, 20, 0.32)),
      linear-gradient(0deg, rgba(8, 17, 20, 0.38), transparent 45%);
  }
  .home-page .project-intro {
    padding: 60px 6% 20px;
  }
  .home-page .intro-heading {
    margin-bottom: 30px;
  }
  .home-page .featured-project {
    padding: 18px 6% 52px;
  }
}
