/* ================================
   NATURESCAPES — STYLE
================================ */

:root {
  --paper: #faf9f6;
  --cream: #f1efe8;
  --forest: #1d3028;
  --text: #26312c;
  --muted: #6d756e;
  --line: rgba(29, 48, 40, 0.18);
  --max-width: 1380px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

.section {
  padding: 160px 0;
}

.section-label {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

h2 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
}

.body-copy {
  max-width: 600px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  width: 100%;
  padding: 24px 0;
  color: #fff;
  transition: 0.35s ease;
}

.site-header.scrolled {
  padding: 15px 0;
  background: rgba(250, 249, 246, 0.94);
  color: var(--forest);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.85rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.hero-image,
.statement-image {
  position: absolute;
  inset: -8%;
  background-position: center;
  background-size: cover;
  will-change: transform;
}

.hero-image {
  background-image: url("../images/hero.jpg");
}

.hero-overlay,
.statement-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 25, 20, 0.82), rgba(12, 25, 20, 0.12));
}

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

.eyebrow {
  margin-bottom: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(4rem, 10vw, 9.5rem);
}

.hero-description {
  max-width: 580px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.scroll-indicator {
  position: absolute;
  right: 32px;
  bottom: 42px;
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Mission */

.mission-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.image-frame {
  height: 650px;
  overflow: hidden;
}

.image {
  height: 115%;
  background-position: center;
  background-size: cover;
  will-change: transform;
}

.image-mission {
  background-image: url("../images/mission.jpg");
}

/* Statement */

.statement {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.statement-image {
  background-image: url("../images/statement.jpg");
  opacity: 0.24;
}

.statement-overlay {
  background: rgba(12, 25, 20, 0.28);
}

.statement-content {
  position: relative;
  z-index: 1;
}

.statement h2 {
  font-size: clamp(3.4rem, 7vw, 8rem);
}

.statement-content > p:last-child {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
}

/* Founded */

.founded {
  border-bottom: 1px solid var(--line);
}

.founded-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.year {
  color: var(--forest);
  font-family: "Playfair Display", serif;
  font-size: clamp(6rem, 16vw, 16rem);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.founded-label {
  max-width: 260px;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Services */

.services {
  padding-top: 160px;
}

.services-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 100px;
}

.services-intro .body-copy {
  max-width: 420px;
  margin-top: 0;
}

.service {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  min-height: 650px;
  border-top: 1px solid var(--line);
}

.service-reverse {
  grid-template-columns: 1.25fr 0.75fr;
}

.service-reverse .service-image {
  order: -1;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px;
}

.service-number {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.service h3 {
  margin: 40px 0 28px;
  font-size: clamp(2.6rem, 4vw, 5rem);
}

.service p {
  max-width: 520px;
  color: var(--muted);
}

.service-image {
  min-height: 650px;
  overflow: hidden;
}

.image-projectmanagement {
  background-image: url("../images/projectmanagement.jpg");
}

.image-projectdevelopment {
  background-image: url("../images/projectdevelopment.jpg");
}

.image-landmanagement {
  background-image: url("../images/landmanagement.jpg");
}

.image-consulting {
  background-image: url("../images/consulting.jpg");
}

/* Contact */

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

.contact-grid {
  align-items: start;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--forest);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.consent input {
  width: auto;
  margin-top: 5px;
}

button {
  align-self: flex-start;
  padding: 17px 34px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background: transparent;
  color: var(--forest);
}

/* Footer */

.site-footer {
  padding: 32px 0;
  background: var(--forest);
  color: #fff;
  font-size: 0.8rem;
}

.site-footer .footer-inner > div {
  display: flex;
  gap: 24px;
  opacity: 0.75;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Responsive */

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .section {
    padding: 100px 0;
  }

  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .image-frame {
    height: 500px;
  }

  .services {
    padding-top: 100px;
  }

  .services-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .service,
  .service-reverse {
    display: flex;
    flex-direction: column;
  }

  .service-reverse .service-image {
    order: 0;
  }

  .service-image {
    min-height: 480px;
  }

  .service-content {
    min-height: 480px;
    padding: 55px 30px;
  }

  .contact {
    padding: 100px 0;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    padding-bottom: 70px;
  }

  .scroll-indicator {
    display: none;
  }

  .founded-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .year {
    font-size: 8rem;
  }

  .service-image {
    min-height: 380px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .parallax {
    transform: none !important;
  }
}
