:root {
  --green: #4e6a30;
  --green-light: #56743a;
  --green-dark: #45602a;
  --cream: #f3e8d8;
  --white: #ffffff;
  --text: #1d1d1d;
  --border: #d8d8d8;
  --radius: 32px;
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.10);
  --shadow-lift: 0 10px 24px rgba(0, 0, 0, 0.18);
}

html {
  scroll-behavior: smooth;
}

#about,
#contact {
  scroll-margin-top: 96px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.5;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

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

/* Scroll-reveal (mobile only) */

@media (max-width: 1099px) {
  html.js [data-animate] {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
  }

  html.js [data-animate="up"] {
    transform: translateY(40px);
  }

  html.js [data-animate="zoom"] {
    transform: scale(0.9);
  }

  html.js [data-animate].in-view {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Header */

.site-header {
  display: none;
}

.brand {
  position: relative;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  font-family: Georgia, serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}

.nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(78, 106, 48, 0.35);
}

/* Hero */

.hero {
  display: grid;
  background: linear-gradient(155deg, var(--green-light) 0%, var(--green) 55%, var(--green-dark) 100%);
  color: var(--white);
}

.hero-image {
  order: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  padding: 12px 12px 42px;
}

.hero-image img {
  width: auto;
  max-height: 140px;
}

.hero-content {
  padding: 52px 24px 52px;
  background: linear-gradient(155deg, var(--green-light) 0%, var(--green) 55%, var(--green-dark) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(-1 * var(--radius));
  position: relative;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(28px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 700;
}

.hero p {
  max-width: 850px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2.5vw, 25px);
  font-weight: 300;
}

/* Buttons */

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #000;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.button:active,
.contact-form button:active {
  transform: translateY(0);
}

.button:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* About */

.about {
  display: grid;
  background: var(--cream);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(-1 * var(--radius));
  position: relative;
}

.about-text {
  padding: 56px 24px 36px;
}

.about h2,
.contact h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 30px;
  line-height: 1.2;
}

.about h2:not(:first-child) {
  margin-top: 28px;
}

.about p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.5;
}

.founder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 0 24px 44px;
}

.founder-image img {
  width: 100%;
  max-width: 420px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

/* Contact */

.contact {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(-1 * var(--radius));
  position: relative;
  padding: 52px 24px 60px;
}

.contact h2 {
  margin-bottom: 20px;
  text-align: center;
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9a9a9a;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(78, 106, 48, 0.16);
}

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

.contact-form button {
  width: fit-content;
  margin-top: 4px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 600;
}

.form-message.success { color: var(--green); }
.form-message.error { color: #b00020; }

/* Footer */

.site-footer {
  display: grid;
  gap: 24px;
  padding: 52px 24px 28px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(-1 * var(--radius));
  position: relative;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  font-family: Georgia, serif;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
  opacity: 0.75;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* Desktop */

@media (min-width: 1100px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 14px 56px;
    background: rgba(243, 232, 216, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(78, 106, 48, 0.18);
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .brand {
    font-size: 36px;
  }

  .hero {
    grid-template-columns: 2fr 1fr;
  }

  .hero-image {
    order: 0;
    padding: 8px;
    max-height: none;
    align-self: stretch;
  }

  .hero-image img {
    max-height: none;
    max-width: clamp(200px, 80%, 500px);
    width: 100%;
  }

  .hero-content {
    padding: 80px 56px;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
  }

  .hero h1 {
    margin: 0 0 28px;
    line-height: 1.05;
  }

  .hero p {
    margin: 0 0 36px;
  }

  .button,
  .contact-form button {
    min-height: 48px;
    padding: 12px 32px;
  }

  .about {
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }

  .about-text {
    padding: 96px 24px 96px 56px;
  }

  .about h2,
  .contact h2 {
    margin: 0 0 12px;
    font-size: 38px;
  }

  .about h2:not(:first-child) {
    margin-top: 36px;
  }

  .about p {
    margin: 0 0 28px;
    font-size: 23px;
    line-height: 1.45;
  }

  .founder-image {
    padding: 56px 56px 56px 0;
  }

  .founder-image img {
    max-width: 500px;
  }

  .contact {
    padding: 96px 24px 104px;
  }

  .contact > * {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact h2 {
    margin-bottom: 32px;
  }

  .contact-form {
    gap: 22px;
  }

  .contact-form label {
    gap: 8px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px 17px;
  }

  .contact-form textarea {
    min-height: 160px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px 56px;
    padding: 64px 56px 36px;
  }

  .footer-brand {
    font-size: 28px;
  }

  .footer-contact p {
    margin: 0 0 12px;
    font-size: 16px;
  }

  .copyright {
    font-size: 14px;
  }
}
