/* =========================================================
 KITE ECOLOGY
 ========================================================= */

:root {
 --green: #1d4d2d;
 --dark-green: #16251a;
 --cream: #f4f1e8;
 --line: #d8ddd6;
 --text: #253128;
 --muted: #667067;
 --white: #ffffff;
}


/* =========================================================
 RESET / BASE
 ========================================================= */

* {
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
 margin: 0;
 color: var(--text);
 background: #ffffff;
 font-family: Arial, Helvetica, sans-serif;
 line-height: 1.65;
}

img {
 max-width: 100%;
}

a {
 color: inherit;
}

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

section {
 padding: 90px 0;
}

h1,
h2,
h3 {
 margin-top: 0;
 color: var(--dark-green);
 line-height: 1.12;
}

h1 {
 margin-bottom: 25px;
 font-size: clamp(3.2rem, 7vw, 6.4rem);
 letter-spacing: -0.045em;
}

h2 {
 margin-bottom: 25px;
 font-size: clamp(2.2rem, 4vw, 4rem);
 letter-spacing: -0.035em;
}

h3 {
 margin-bottom: 15px;
 font-size: 1.45rem;
}

p {
 margin-top: 0;
 margin-bottom: 1.25rem;
}

.eyebrow {
 margin-bottom: 15px;
 color: var(--white);
 font-size: 0.78rem;
 font-weight: 700;
 letter-spacing: 0.15em;
 text-transform: uppercase;
}

.heading {
 max-width: 850px;
}


/* =========================================================
 HEADER
 ========================================================= */

.header {
 position: sticky;
 top: 0;
 z-index: 100;
 background: #E7E7E5;
 border-bottom: 1px solid rgba(22, 37, 26, 0.08);
}

.nav {
 width: min(1180px, calc(100% - 48px));
 min-height: 90px;
 margin: 0 auto;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 30px;
}

.logo {
 display: block;
 width: 180px;
 height: auto;
}

.links {
 display: flex;
 align-items: center;
 gap: 30px;
}

.links a {
 text-decoration: none;
 font-weight: 700;
}

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

.contact-btn {
 padding: 12px 19px;
 color: var(--white) !important;
 background: var(--green);
 border-radius: 4px;
}

.contact-btn:hover {
 background: var(--dark-green);
}


/* =========================================================
 HERO / HOME BACKGROUND
 ========================================================= */

.hero {
 min-height: 400px;
 display: flex;
 align-items: center;
 position: relative;
 color: var(--white);
 background:
 linear-gradient(rgba(18, 37, 24, 0.48), rgba(18, 37, 24, 0.48)),
 url("../assets/landscape.jpg") center center / cover no-repeat;
}

.hero h1 {
 max-width: 900px;
 color: var(--white);
}

.hero p {
 max-width: 760px;
 color: rgba(255, 255, 255, 0.92);
 font-size: 1.12rem;
}

.hero .btn {
 margin-top: 12px;
 margin-right: 10px;
}


/* =========================================================
 BUTTONS
 ========================================================= */

.btn {
 display: inline-block;
 padding: 13px 21px;
 color: var(--white);
 background: var(--green);
 border: 1px solid var(--green);
 border-radius: 4px;
 text-decoration: none;
 font-weight: 700;
 transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
 background: var(--dark-green);
 border-color: var(--dark-green);
}

.btn.alt {
 color: var(--white);
 background: transparent;
 border-color: rgba(255, 255, 255, 0.8);
}

.btn.alt:hover {
 color: var(--dark-green);
 background: var(--white);
 border-color: var(--white);
}


/* =========================================================
 WHO WE ARE / ABOUT
 ========================================================= */

#about {
 background: #ffffff;
}

.about-grid {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 gap: 60px;
 align-items: start;
}

.about-grid .copy {
 max-width: 800px;
}


/* Right hand photo column */

.about-photos {
 width: auto;
 display: flex;
 flex-direction: column;
 gap: 20px;
 margin-top: 125px;
}

.about-person {
 width: 180px;
 margin: 0;
}

.about-photo {
 width: auto;
 height: 180px;
 aspect-ratio: 4/5 !important;
 overflow: hidden;
 background: var(--cream);
}

.about-photo img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.35s ease;
}

.about-photo:hover img {
 transform: scale(1.03);
}

.about-photo-caption {
 padding-top: 8px;
 display: flex;
 flex-direction: column;
 gap: 2px;
}

.about-photo-caption strong {
 color: var(--dark-green);
 font-size: 0.95rem;
 line-height: 1.3;
}

.about-photo-caption span {
 color: var(--muted);
 font-size: 0.85rem;
 line-height: 1.4;
}


/* =========================================================
 FIELD EXPERIENCE PHOTOS
 ========================================================= */

.field-photos {
 padding-top: 0;
 background: #ffffff;
}

.field-photo-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 14px;
}

.field-photo-item {
 min-width: 0;
}

.field-photo {
 aspect-ratio: 5 / 4;
 overflow: hidden;
}

.field-photo img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.35s ease;
}

.field-photo:hover img {
 transform: scale(1.03);
}


/* PHOTO CAPTIONS */

.field-photo-caption {
 padding: 12px 2px 0;
 display: flex;
 flex-direction: column;
 gap: 2px;
}

.field-photo-caption strong {
 color: var(--dark-green);
 font-size: 1rem;
 line-height: 1.3;
}

.field-photo-caption span {
 color: var(--muted);
 font-size: 0.82rem;
 line-height: 1.4;
}


/* =========================================================
 SERVICES
 ========================================================= */

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

.services .heading {
 margin-bottom: 45px;
}

.services .heading > p {
 max-width: 850px;
 color: var(--muted);
}

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

.card {
 min-height: 245px;
 padding: 30px;
 background: #ffffff;
 border: 1px solid var(--line);
}

.card .num {
 margin-bottom: 22px;
 color: var(--green);
 font-size: 0.8rem;
 font-weight: 700;
 letter-spacing: 0.13em;
}

.card p {
 margin-bottom: 0;
 color: var(--muted);
}

.service-photos {
 margin-top: 40px;
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 18px;
}

.service-photo-item {
 min-width: 0;
}

.service-photo {
 aspect-ratio: 5 / 4;
 overflow: hidden;
}

.service-photo img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.35s ease;
}

.service-photo:hover img {
 transform: scale(1.03);
}

.service-photo-caption {
 padding: 12px 2px 0;
 display: flex;
 flex-direction: column;
 gap: 2px;
}

.service-photo-caption strong {
 color: var(--dark-green);
 font-size: 1rem;
 line-height: 1.3;
}

.service-photo-caption span {
 color: var(--muted);
 font-size: 0.82rem;
 line-height: 1.4;
}


/* =========================================================
 STATEMENT
 ========================================================= */

.statement {
 color: var(--white);
 background: var(--green);
}

.statement h2 {
 max-width: 850px;
 color: var(--white);
}

.statement p {
 max-width: 760px;
 margin-bottom: 0;
 color: rgba(255, 255, 255, 0.88);
 font-size: 1.1rem;
}


/* =========================================================
 EXPERIENCE
 ========================================================= */

#experience {
 background: #ffffff;
}

.projects {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: start;
}

.panel {
 padding: 40px;
 background: var(--cream);
 border: 1px solid var(--line);
}

.panel .eyebrow {
 color: var(--green) !important;
}

.panel h3 {
 font-size: 2rem;
}

.panel p {
 color: var(--muted);
}

.project-list {
 margin-top: 30px;
 border-top: 1px solid var(--line);
}

.project-list div {
 padding: 13px 0;
 border-bottom: 1px solid var(--line);
}


/* =========================================================
 SOCIAL
 ========================================================= */

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

.social .heading {
 margin-bottom: 40px;
}

.Instagram-feed-widget {
 max-width: 100%;
 margin-bottom: 35px;
 text-align: center;
}

.Instagram-feed-widget iframe {
 max-width: 100%;
}

.social-card {
 min-height: 170px;
 margin-bottom: 18px;
 padding: 30px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 30px;
 background: #ffffff;
 border: 1px solid var(--line);
}

.social-card h3 {
 margin-bottom: 8px;
}

.social-card p {
 margin-bottom: 0;
 color: var(--muted);
}

.social-button {
 flex-shrink: 0;
 padding: 10px 16px;
 color: var(--green);
 border: 1px solid var(--green);
 text-decoration: none;
 font-weight: 700;
}

.social-button:hover {
 color: var(--white);
 background: var(--green);
}


/* =========================================================
 CONTACT
 ========================================================= */

.contact {
 background: #ffffff;
}

.contact-grid {
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
 gap: 50px;
 align-items: start;
}

.details {
 margin-top: 35px;
 display: grid;
 gap: 24px;
}

.details > div {
 display: flex;
 flex-direction: column;
}

.details strong {
 margin-bottom: 4px;
}

.details a {
 color: var(--green);
 text-decoration: none;
}

.details a:hover {
 text-decoration: underline;
}

.details span {
 color: var(--muted);
}

/* CONTACT FORM CTA CONTAINER */

.form-action-container {
 margin-top: 15px;
 padding: 35px;
 background: var(--cream);
 border: 1px solid var(--line);
 border-radius: 4px;
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 justify-content: center;
}

.form-action-container p {
 color: var(--muted);
 margin-bottom: 20px;
 font-size: 1rem;
 line-height: 1.5;
}

.form-cta-btn {
 font-size: 1rem;
 padding: 14px 24px;
 text-align: center;
}


/* =========================================================
 FOOTER
 ========================================================= */

.footer {
 padding: 45px 0;
 color: rgba(255, 255, 255, 0.78);
 background: #16251a;
}

.footer-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 40px;
}

.footer-logo {
 display: block;
 width: 180px;
 height: auto;
 margin-bottom: 14px;
}

.footer .small {
 font-size: 0.85rem;
 line-height: 1.6;
}

.footer .small strong {
 color: var(--white);
}

.footer-row > div:last-child {
 text-align: right;
}


/* =========================================================
 RESPONSIVE
 ========================================================= */

@media (max-width: 900px) {

 section {
 padding: 70px 0;
 }

 .nav {
 min-height: 78px;
 }

 .links {
 gap: 15px;
 }

 .links a:not(.contact-btn) {
 display: none;
 }

 .about-grid {
 grid-template-columns: minmax(0, 1fr) auto;
 gap: 35px;
 }

 .about-person,
 .about-photo {
 width: 160px;
 }

 .about-photo {
 height: 160px;
 }

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

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

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

 .form-action-container {
 margin-top: 0;
 }

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

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

}


@media (max-width: 600px) {

 .wrap,
 .nav {
 width: min(100% - 32px, 1180px);
 }

 .hero {
 min-height: 650px;
 }

 h1 {
 font-size: 3rem;
 }

 h2 {
 font-size: 2.25rem;
 }

 .hero .btn {
 display: block;
 width: 100%;
 margin-right: 0;
 margin-bottom: 10px;
 text-align: center;
 }

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

 .about-photos {
 width: 100%;
 max-width: 360px;
 margin: 25px auto 0;
 }

 .about-person,
 .about-photo {
 width: 100%;
 height: auto;
 }

 .about-photo img {
 object-fit: contain;
 }

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

 .service-photos {
 grid-template-columns: 1fr;
 }

 .field-photo-grid {
 grid-template-columns: 1fr;
 }

 .social-card {
 align-items: flex-start;
 flex-direction: column;
 }

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

 .footer-row {
 flex-direction: column;
 align-items: flex-start;
 }

 .footer-row > div:last-child {
 text-align: left;
 }

}