:root {
  --ink: #102a2e;
  --ink-soft: #52686a;
  --cream: #f3f0e8;
  --paper: #faf9f5;
  --line: #d8dcd5;
  --lime: #d9ec5d;
  --coral: #ef735f;
  --deep: #0d2528;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

.project-card-image {
  background-image: var(--project-image) !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

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

.page-width {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: absolute;
  z-index: 5;
  width: 100%;
  color: #fff;
}

.header-inner {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .23);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 207px;
  height: auto;
}

.brand-accent {
  color: var(--lime);
}

.brand-mark {
  display: inline-flex;
  gap: 3px;
  align-items: end;
  width: 25px;
  height: 23px;
}

.brand-mark i {
  display: block;
  width: 6px;
  background: var(--lime);
  transform: skew(-25deg);
}

.brand-mark i:nth-child(1) {
  height: 11px;
  opacity: .72;
}

.brand-mark i:nth-child(2) {
  height: 17px;
  opacity: .86;
}

.brand-mark i:nth-child(3) {
  height: 23px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.site-nav a {
  opacity: .86;
  transition: opacity .2s ease;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-contact {
  padding: 12px 16px;
  color: var(--ink);
  background: var(--lime);
  opacity: 1 !important;
}

.nav-contact span {
  padding-left: 10px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.hero {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=2200&q=85') center 58% / cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 31, 34, .94) 0%, rgba(8, 31, 34, .72) 43%, rgba(8, 31, 34, .12) 100%), linear-gradient(0deg, rgba(8, 31, 34, .56), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 26px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: currentColor;
}

.eyebrow-light {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -.065em;
  line-height: .98;
}

h1 {
  max-width: 740px;
  margin-bottom: 28px;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 700;
}

h1 em,
h2 span {
  color: var(--coral);
  font-style: normal;
}

h1 em {
  color: var(--lime);
}

.hero-intro {
  max-width: 420px;
  margin-bottom: 37px;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 19px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.text-link-light {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.hero-footer {
  position: absolute;
  z-index: 1;
  bottom: 33px;
  left: 50%;
  right: auto;
  width: min(1180px, calc(100% - 80px));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .66);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.scroll-note i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border: 1px solid var(--lime);
  border-radius: 50%;
}

.section-pad {
  padding-top: 130px;
  padding-bottom: 130px;
}

.section-kicker {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10%;
  padding: 52px 0 90px;
}

.intro h2,
.section-heading h2,
.approach h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 74px);
  font-weight: 600;
}

.intro-copy {
  padding-top: 5px;
}

.lead {
  max-width: 400px;
  font-size: 22px;
  line-height: 1.27;
}

.intro-copy>p:not(.lead) {
  max-width: 390px;
  margin: 27px 0 35px;
  color: var(--ink-soft);
  font-size: 14px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.stat strong {
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.07em;
}

.stat strong span {
  color: var(--coral);
}

.stat>span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.stat-note {
  justify-content: center;
  border-left: 1px solid var(--line);
  padding-left: 25px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.solutions {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 61px;
}

.section-heading>p {
  max-width: 295px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution-card {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: #fff;
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 25, 27, .92), rgba(5, 25, 27, .08) 78%);
}

.solution-card>* {
  position: relative;
}

.solution-generator {
  background-image: url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=900&q=80');
}

.solution-battery {
  background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=900&q=80');
}

.solution-solar {
  background-image: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=900&q=80');
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
}

.card-arrow {
  font-size: 22px;
}

.card-content h3 {
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 600;
}

.card-content p {
  max-width: 250px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.card-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--lime);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.approach {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10%;
}

.approach-visual {
  min-height: 610px;
  position: relative;
  background: url('https://images.unsplash.com/photo-1531058020387-3be344556be6?auto=format&fit=crop&w=1100&q=80') center / cover;
}

.approach-visual::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .5);
}

.visual-label {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 30px;
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
}

.approach-content {
  align-self: center;
  max-width: 530px;
}

.approach-content h2 {
  margin: 25px 0 30px;
}

.approach-content>p {
  max-width: 410px;
  color: var(--ink-soft);
  font-size: 15px;
}

.process-list {
  padding: 0;
  margin: 50px 0 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.process-list li>span {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 10px;
}

.process-list strong {
  font-size: 14px;
}

.process-list p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.projects {
  background: var(--deep);
  color: #fff;
}

.projects .section-kicker {
  color: var(--lime);
}

.projects-heading {
  margin-bottom: 56px;
}

.projects .text-link {
  border-color: var(--lime);
  color: var(--lime);
}

.project-feature {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  min-height: 450px;
}

.project-image {
  background: url('https://images.unsplash.com/photo-1565514020179-026b92b84bb6?auto=format&fit=crop&w=1200&q=85') center / cover;
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 50px;
  background: #173c3d;
}

.project-type {
  margin-bottom: 27px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.project-info h3 {
  margin-bottom: 23px;
  font-size: 39px;
  font-weight: 600;
}

.project-info>p:not(.project-type) {
  max-width: 280px;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  background: var(--lime);
}

.contact-pattern {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -220px;
  right: -100px;
  border: 1px solid rgba(16, 42, 46, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(16, 42, 46, .06), 0 0 0 68px rgba(16, 42, 46, .06), 0 0 0 102px rgba(16, 42, 46, .06);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10%;
  align-items: end;
}

.contact .eyebrow {
  color: var(--ink);
}

.contact h2 {
  font-size: clamp(48px, 6vw, 85px);
}

.contact h2 em {
  color: var(--coral);
  font-style: normal;
}

.contact-copy {
  max-width: 420px;
}

.contact-copy>p {
  margin-bottom: 30px;
  font-size: 19px;
  line-height: 1.3;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 42, 46, .45);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ink);
}

.contact-form .button {
  justify-self: start;
  margin-top: 6px;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: .6;
}

.form-status {
  min-height: 21px;
  margin: 0;
  font-size: 12px;
}

.form-trap {
  position: absolute;
  left: -9999px;
}

.projects-page-hero {
  padding: 190px 0 115px;
  color: #fff;
  background: var(--deep);
}

.projects-page-hero h1 {
  max-width: 850px;
  margin: 25px 0 25px;
  font-size: clamp(56px, 8vw, 112px);
}

.projects-page-hero p:not(.eyebrow) {
  max-width: 455px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
}

.projects-index {
  padding-top: 105px;
  padding-bottom: 130px;
  background: var(--paper);
}

.projects-index-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 55px;
}

.projects-index-header h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5vw, 70px);
}

.projects-index-header>p {
  max-width: 330px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 570px;
  background: var(--cream);
}

.project-card-image {
  min-height: 290px;
  background-position: center;
  background-size: cover;
}

.project-card:nth-child(1) .project-card-image {
  background-image: url('https://images.unsplash.com/photo-1565514020179-026b92b84bb6?auto=format&fit=crop&w=1200&q=85');
}

.project-card:nth-child(2) .project-card-image {
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=85');
}

.project-card:nth-child(3) .project-card-image {
  background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1200&q=85');
}

.project-card:nth-child(4) .project-card-image {
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1200&q=85');
}

.project-card:nth-child(5) .project-card-image {
  background-image: url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1200&q=85');
}

.project-card:nth-child(6) .project-card-image {
  background-image: url('https://images.unsplash.com/photo-1531058020387-3be344556be6?auto=format&fit=crop&w=1200&q=85');
}

.project-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  padding: 30px;
}

.project-card-content .project-type {
  margin-bottom: 18px;
}

.project-card-content h3 {
  margin-bottom: 15px;
  font-size: 34px;
  font-weight: 600;
}

.project-card-content p:not(.project-type) {
  max-width: 430px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 13px;
}

.project-card-content .text-link {
  margin-top: auto;
}

.project-card:nth-child(1) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  min-height: 480px;
}

.project-card:nth-child(1) .project-card-image {
  height: 100%;
}

.projects-page-cta {
  padding: 105px 0;
  color: #fff;
  background: var(--deep);
}

.projects-page-cta .contact-inner {
  align-items: center;
}

.site-footer {
  padding: 55px 0 25px;
  color: rgba(255, 255, 255, .7);
  background: var(--deep);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 40px;
  padding-bottom: 74px;
}

.brand-footer {
  color: #fff;
  align-self: start;
}

.footer-top>p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
  align-content: start;
  justify-self: end;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .42);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

@media (max-width: 800px) {

  .page-width,
  .header-inner {
    width: min(100% - 40px, 620px);
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
  }

  .menu-label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
  }

  .menu-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .menu-lines i {
    display: block;
    width: 22px;
    height: 1px;
    background: #fff;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--deep);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .nav-contact {
    margin-top: 10px;
    text-align: center;
    border: 0 !important;
  }

  .hero {
    min-height: 700px;
  }

  .hero-media {
    background-position: 65% center;
  }

  .hero-content {
    padding-top: 55px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-footer {
    bottom: 22px;
  }

  .scroll-note {
    display: none;
  }

  .section-pad {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .intro-grid,
  .approach,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro-grid {
    padding: 35px 0 55px;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }

  .stat-note {
    border-left: 0;
    padding-left: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 36px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 400px;
  }

  .approach-visual {
    min-height: 390px;
  }

  .approach-content h2 {
    margin-top: 20px;
  }

  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 270px;
  }

  .project-info {
    padding: 35px 28px;
  }

  .contact {
    padding: 80px 0;
  }

  .contact-copy {
    padding-top: 0;
  }

  .projects-page-hero {
    padding: 145px 0 80px;
  }

  .projects-index {
    padding-top: 80px;
    padding-bottom: 85px;
  }

  .projects-index-header {
    align-items: start;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 38px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(1) {
    display: flex;
    grid-column: auto;
    min-height: 0;
  }

  .project-card-image {
    min-height: 240px;
  }

  .project-card:nth-child(1) .project-card-image {
    height: auto;
  }

  .project-card-content {
    padding: 25px;
  }

  .project-card-content h3 {
    font-size: 32px;
  }

  .projects-page-cta {
    padding: 80px 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding-bottom: 50px;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
  }

  .footer-top>p {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .site-nav {
    gap: 18px;
  }

  .solution-card {
    min-height: 400px;
  }

  .card-content h3 {
    font-size: 32px;
  }
}