:root {
    --green: #009245;
    --light-green: #a2ca55;
    --dark: #171717;
    --text: #272727;
    --muted: #6f6f6f;
    --soft: #f3f3f3;
    --footer: #777776;
    --max: 1150px;
    --mono: "Azeret Mono", "Courier New", monospace;
    --sans: Helvetica, Arial, sans-serif;
}

@font-face {
    font-family: "Azeret Mono";
    src: url("../fonts/azeret-mono-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Azeret Mono";
    src: url("../fonts/azeret-mono-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Azeret Mono";
    src: url("../fonts/azeret-mono-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
}

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

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 1000;
    transform: translateY(-150%);
    background: #fff;
    color: #000;
    padding: 10px 14px;
}

.skip-link:focus {
    transform: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 47px;
    background: rgba(255, 255, 255, 0.98);
}

.site-logo img {
    width: 203px;
    height: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 46px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: #111;
    text-decoration: none;
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.is-active {
    text-decoration: underline;
}

.button,
.button-header,
.button-green,
.contact-form button,
.cta-band a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 34px;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    cursor: pointer;
}

.button-header {
    width: 142px;
    background: var(--green);
    color: #1f3929;
}

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

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    overflow: hidden;
}

.hero-home {
    background: url("../images/home-hero.jpg") center center / cover no-repeat;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
}

.hero-content {
    position: absolute;
    left: 87px;
    top: 298px;
    z-index: 1;
    width: 575px;
    padding: 0;
    color: #fff;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 50px;
}

.hero-content p {
    margin: 0 0 28px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 21.7px;
    line-height: 30.4px;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 14px;
    line-height: 18.2px;
}

.arrow-link strong {
    font-weight: 400;
}

.arrow-link span {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 48px;
    background: #fff;
}

.arrow-link span::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 23px;
    width: 22px;
    height: 2px;
    background: var(--light-green);
}

.arrow-link span::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 17px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--light-green);
    border-right: 2px solid var(--light-green);
    transform: rotate(45deg);
}

.sprout {
    position: absolute;
    right: 0;
    bottom: -40px;
    z-index: 1;
    width: min(32vw, 402px);
    color: #8cc63f;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section {
    padding: 82px 48px;
}

.home-energy {
    position: relative;
    min-height: 626px;
    margin-top: 43px;
    overflow: hidden;
}

.energy-copy {
    position: absolute;
    left: 88px;
    top: 34px;
    width: 570px;
    z-index: 1;
}

.energy-copy h2 {
    margin: 0 0 16px;
    color: #343434;
    font-size: 47.4px;
    font-weight: 400;
    line-height: 61.7px;
}

.energy-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 25.6px;
}

.energy-copy .button {
    margin-top: 26px;
    min-height: 42px;
    padding: 0 24px;
}

.energy-images {
    position: absolute;
    inset: 0;
}

.energy-images img {
    position: absolute;
    object-fit: cover;
}

.energy-back {
    left: calc(50% + 204px);
    top: 4px;
    width: 429px;
    height: 618px;
}

.energy-front {
    left: calc(50% + 88px);
    top: 69px;
    z-index: 1;
    width: 230px;
    height: 488px;
}

.home-leo-hero {
    position: relative;
    height: 560px;
    margin-top: 59px;
    overflow: hidden;
    color: #fff;
}

.home-leo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}

.home-leo-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-leo-content {
    position: absolute;
    left: 94px;
    top: 63px;
    z-index: 1;
    width: 565px;
}

.home-leo-content .leo-title {
    margin: 0 0 12px;
    font-size: 50px;
    font-weight: 400;
    line-height: 50px;
}

.home-leo-content p:not(.leo-title) {
    width: 519px;
    margin: 0 0 40px;
    font-size: 22px;
    line-height: 30.8px;
}

.plain-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    color: #fff;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 14px;
    line-height: 18.2px;
}

.plain-arrow-link strong {
    font-weight: 400;
}

.plain-arrow-link span {
    position: relative;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}

.plain-arrow-link span::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 12px;
    width: 23px;
    height: 2px;
    background: currentColor;
}

.plain-arrow-link span::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.narrow {
    width: min(690px, 100%);
    margin: 0 auto;
    text-align: center;
}

.narrow h1,
.narrow h2 {
    margin: 0 0 24px;
    color: #333;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.18;
}

.narrow p {
    margin: 0 0 18px;
}

.section-energy .button {
    margin-top: 16px;
}

.wide-grid {
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 64px;
    align-items: center;
}

.photo-pair {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 18px;
}

.photo-pair img {
    width: 100%;
    height: 610px;
    object-fit: cover;
}

.photo-pair img:first-child {
    border-radius: 0 0 0 42px;
}

.photo-pair img:last-child {
    border-radius: 0 0 42px 0;
}

.intro-card {
    display: grid;
    gap: 28px;
}

.intro-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.intro-card .eyebrow {
    margin: 0 0 8px;
    font-size: 26px;
}

.intro-card p {
    max-width: 460px;
    margin: 0 0 18px;
}

.text-link {
    font-family: var(--mono);
    font-size: 14px;
    text-decoration: underline;
}

.recent-projects {
    min-height: 840px;
    margin-top: 110px;
    padding-top: 31px;
    text-align: center;
}

.section-heading p {
    margin: 40px 0 0;
    color: #343434;
    font-size: 50px;
    font-weight: 400;
    line-height: 50px;
}

.section-heading h2 {
    margin: 0;
    color: #343434;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 400;
    line-height: 18.2px;
    letter-spacing: 0;
}

.project-cards {
    width: min(950px, 100%);
    margin: 52px auto 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-cards article {
    text-align: center;
}

.project-cards img {
    width: 100%;
    height: 378px;
    object-fit: cover;
    margin-bottom: 23px;
}

.project-cards h3 {
    margin: 0 0 15px;
    color: var(--green);
    font-size: 16px;
    font-weight: 700;
    line-height: 20.8px;
}

.project-cards p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
}

.hero-page {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding-left: 80px;
}

.hero-services {
    background: url("../images/services-hero.jpg") center center / cover no-repeat;
}

.hero-panel {
    width: 350px;
    padding: 34px 40px 40px;
    background: rgba(255, 255, 255, 0.64);
}

.hero-panel p {
    margin: 0 0 82px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2c2c2c;
    font-size: 18px;
}

.hero-panel h1 {
    margin: 0 0 22px;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.12;
}

.hero-panel a {
    display: inline-flex;
    padding: 5px 16px;
    border: 1px solid #333;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
}

.steps-intro {
    padding-top: 88px;
}

.steps-grid {
    width: min(var(--max), 100%);
    margin: 82px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    min-height: 650px;
    padding: 44px 36px;
    background: #f3f3f3;
    text-align: center;
}

.step-card svg {
    width: 36px;
    height: 36px;
    margin: 0 auto 28px;
    fill: none;
    stroke: #333;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-card h3 {
    margin: 0 0 20px;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.35;
}

.step-card p {
    margin: 0;
    font-size: 16px;
}

.projects-hero {
    position: relative;
    height: 370px;
    overflow: hidden;
}

.projects-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-hero h1 {
    position: absolute;
    left: 76px;
    bottom: 36px;
    margin: 0;
    color: #fff;
    font-size: 48px;
    font-weight: 400;
}

.project-detail {
    width: min(1160px, calc(100% - 84px));
    margin: 0 auto;
    padding: 48px 0 72px;
    text-align: center;
}

.project-detail h2 {
    margin: 0 0 42px;
    font-size: 24px;
    font-weight: 700;
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 52px;
    align-items: start;
}

.project-copy {
    display: grid;
    gap: 18px;
    text-align: center;
}

.project-copy h3 {
    margin: 0;
    font-size: 17px;
}

.project-copy p {
    margin: 0 0 24px;
}

.laptop {
    position: relative;
    width: min(450px, 100%);
    margin: 0 auto;
    padding: 0 0 30px;
}

.laptop::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: 13px;
    height: 17px;
    background: #050505;
    border-radius: 0 0 40px 40px;
}

.laptop span {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.55 / 1;
    border: 10px solid #050505;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: #050505;
}

.laptop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section {
    padding-top: 64px;
}

.about-grid {
    width: min(1190px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 150px;
    align-items: start;
}

.about-photo {
    width: 100%;
    border-radius: 0 0 42px 42px;
}

.about-copy h1,
.contact-form-wrap h1 {
    margin: 0 0 24px;
    font-size: 60px;
    font-weight: 400;
    line-height: 0.98;
}

.about-copy p {
    margin: 0 0 27px;
    font-size: 18px;
    line-height: 1.55;
}

.contact-section {
    padding-top: 52px;
    padding-bottom: 126px;
}

.contact-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 0.95fr;
    gap: 48px;
    align-items: start;
}

.contact-aside {
    padding-top: 18px;
}

.contact-aside img {
    width: 100%;
    margin-bottom: 0;
}

.contact-aside p {
    margin: 0 0 21px;
    color: #343434;
    font-size: 18px;
    line-height: 21px;
}

.contact-form-wrap h1 {
    color: #343434;
}

.contact-rule {
    height: 1px;
    margin: 48px 0 70px;
    background: #bdbdbd;
}

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

.field {
    display: grid;
    gap: 9px;
    font-family: var(--mono);
    font-size: 14px;
    line-height: 18.2px;
}

.field input,
.field textarea {
    width: 100%;
    border: 0;
    background: #f4f4f4;
    min-height: 43px;
    padding: 12px 14px;
    color: #222;
    font: 16px var(--sans);
    outline: none;
}

.field textarea {
    min-height: 95px;
    resize: vertical;
}

.phone-input {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    background: #f4f4f4;
}

.phone-input input {
    background: transparent;
    padding-left: 4px;
}

.flag-nl {
    width: 24px;
    height: 16px;
    margin-left: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(#ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66%);
}

.field.is-hidden {
    position: absolute;
    left: -9999px;
}

.contact-form button {
    width: 100%;
    background: var(--light-green);
    color: #1f2b16;
    font-size: 14px;
    line-height: 16.8px;
}

.form-message {
    margin-bottom: 24px;
    padding: 16px 18px;
    font-size: 15px;
}

.form-message p {
    margin: 0;
}

.is-success {
    background: #e5f1df;
}

.is-error {
    background: #f6e3e0;
}

.cta-band {
    display: grid;
    place-items: center;
    gap: 34px;
    min-height: 220px;
    padding: 44px 24px;
    background: var(--green);
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
}

.cta-band a {
    width: min(330px, 100%);
    background: #eef5ec;
    color: #2d2d2d;
}

.site-footer {
    background: var(--footer);
    color: #fff;
}

.footer-inner {
    width: min(1125px, calc(100% - 80px));
    margin: 0 auto;
    padding: 78px 0 70px;
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 36px;
}

.footer-logo {
    width: 240px;
}

.footer-contact {
    align-self: center;
    padding: 8px 18px;
    border: 1px solid #fff;
    border-radius: 999px;
    text-decoration: none;
}

.footer-divider {
    height: 1px;
    margin: 48px 0;
    background: rgba(0, 0, 0, 0.35);
}

.footer-bottom address {
    display: grid;
    gap: 4px;
    font-style: normal;
}

.footer-bottom address span:nth-of-type(1) {
    margin-top: 26px;
}

.footer-meta {
    display: grid;
    justify-items: end;
    align-content: space-between;
    min-height: 136px;
}

.linkedin {
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    text-decoration: none;
}

.footer-meta p {
    margin: 0;
}

.not-found {
    min-height: 520px;
    display: grid;
    place-items: center;
}

@media (max-width: 980px) {
    .site-header {
        min-height: 72px;
        padding: 0 22px;
    }

    .site-logo img {
        width: 168px;
    }

    .menu-toggle {
        display: grid;
        gap: 5px;
        width: 42px;
        padding: 8px;
        border: 0;
        background: transparent;
    }

    .menu-toggle span {
        display: block;
        height: 2px;
        background: #111;
    }

    .header-actions {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        padding: 24px 22px 28px;
        background: #fff;
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    }

    .header-actions.is-open {
        display: grid;
        gap: 18px;
    }

    .main-nav ul {
        display: grid;
        gap: 8px;
    }

    .button-header {
        width: 100%;
    }

    .hero-content {
        width: min(590px, calc(100% - 44px));
        left: 32px;
        top: 230px;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 42px;
    }

    .sprout {
        width: 330px;
        opacity: 0.82;
    }

    .home-energy {
        display: grid;
        min-height: auto;
        margin-top: 40px;
        padding: 58px 32px 0;
    }

    .energy-copy {
        position: relative;
        left: auto;
        top: auto;
        width: min(570px, 100%);
    }

    .energy-images {
        position: relative;
        height: 520px;
        margin-top: 44px;
    }

    .energy-back {
        left: calc(50% - 18px);
        top: 0;
        width: min(429px, 58vw);
        height: 520px;
    }

    .energy-front {
        left: calc(50% - 244px);
        top: 64px;
        width: min(230px, 34vw);
        height: 410px;
    }

    .home-leo-content {
        left: 48px;
        width: min(565px, calc(100% - 96px));
    }

    .home-leo-content p:not(.leo-title) {
        width: min(519px, 100%);
    }

    .recent-projects {
        min-height: auto;
        margin-top: 72px;
        padding-bottom: 72px;
    }

    .wide-grid,
    .about-grid,
    .contact-grid,
    .project-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .steps-grid,
    .project-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-cards {
        width: min(660px, 100%);
    }

    .project-cards img {
        height: 330px;
    }

    .step-card {
        min-height: auto;
    }

    .about-grid {
        gap: 42px;
    }

    .about-copy h1,
    .contact-form-wrap h1 {
        font-size: 48px;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 58px 22px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-home {
        background-position: center top;
    }

    .hero-content {
        left: 22px;
        top: 150px;
    }

    .hero-content h1 {
        font-size: 35px;
        line-height: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .sprout {
        right: -80px;
        width: 300px;
    }

    .home-energy {
        margin-top: 32px;
        padding: 46px 22px 0;
    }

    .energy-copy h2 {
        font-size: 34px;
        line-height: 40px;
    }

    .energy-copy .button {
        width: 100%;
    }

    .energy-images {
        height: 430px;
        margin-top: 36px;
    }

    .energy-back {
        left: auto;
        right: -52px;
        top: 0;
        width: 72%;
        height: 410px;
    }

    .energy-front {
        left: 0;
        top: 54px;
        width: 43%;
        height: 330px;
    }

    .home-leo-hero {
        height: 520px;
        margin-top: 42px;
    }

    .home-leo-content {
        left: 24px;
        top: 54px;
        width: calc(100% - 48px);
    }

    .home-leo-content .leo-title {
        font-size: 38px;
        line-height: 40px;
    }

    .home-leo-content p:not(.leo-title) {
        font-size: 18px;
        line-height: 27px;
    }

    .plain-arrow-link {
        gap: 18px;
        font-size: 12px;
    }

    .recent-projects {
        margin-top: 56px;
        padding-top: 18px;
        padding-bottom: 58px;
    }

    .section-heading p {
        margin-top: 20px;
        font-size: 34px;
        line-height: 40px;
    }

    .project-cards {
        margin-top: 34px;
    }

    .project-cards img {
        height: 360px;
    }

    .narrow h1,
    .narrow h2,
    .hero-panel h1 {
        font-size: 34px;
    }

    .photo-pair,
    .steps-grid,
    .project-cards {
        grid-template-columns: 1fr;
    }

    .photo-pair img {
        height: 420px;
    }

    .hero-page {
        min-height: 520px;
        padding: 120px 22px 48px;
        align-items: end;
    }

    .hero-panel {
        width: 100%;
        padding: 28px;
    }

    .projects-hero {
        height: 430px;
    }

    .projects-hero h1 {
        left: 24px;
        right: 24px;
        font-size: 36px;
    }

    .project-detail {
        width: calc(100% - 44px);
    }

    .about-copy h1,
    .contact-form-wrap h1 {
        font-size: 40px;
    }

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

    .contact-rule {
        margin: 30px 0 42px;
    }

    .footer-inner {
        width: calc(100% - 44px);
        padding: 54px 0;
    }

    .footer-top,
    .footer-bottom {
        display: grid;
    }

    .footer-meta {
        justify-items: start;
        gap: 32px;
        min-height: auto;
    }
}
