
/* ==========================================
   WEBBY — IMMERSIVE CONTACT PAGE
========================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --forest: #173d32;
  --deep: #102d26;
  --sage: #c3d5bd;
  --cream: #f7f6ef;
  --ink: #203a30;
  --muted: #66766d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}

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

button, input, textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #a4c98f;
  outline-offset: 4px;
}

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

/* HEADER */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 28px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
}

.brand {
  font-family: 'Manrope', sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -2px;
}

.brand span {
  color: var(--sage);
}

.site-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.site-header nav a {
  font-size: 14px;
  font-weight: 600;
  transition: color .25s ease;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--sage);
}

/* HERO */

.contact-hero {
  position: relative;
  min-height: 85vh;
  min-height: 85svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 24px 100px;
  background:
    radial-gradient(ellipse at 75% 30%,
      rgba(119,164,123,.27), transparent 48%),
    linear-gradient(135deg, #102d26, #245747 75%, #173d32);
  color: white;
  text-align: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    radial-gradient(rgba(255,255,255,.45) .7px, transparent .7px);
  background-size: 25px 25px;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  top: 5%;
  right: -160px;
  border-radius: 50%;
  background: rgba(195,213,189,.15);
  filter: blur(65px);
  pointer-events: none;
  animation: glowFloat 10s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  animation: heroEnter 1s ease both;
}

.eyebrow,
.form-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

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

.contact-hero h1 {
  margin: 25px 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(48px, 7.5vw, 105px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -5px;
}

.contact-hero h1 em,
.contact-intro h2 em {
  display: block;
  color: var(--sage);
  font-style: normal;
}

.contact-hero p {
  max-width: 590px;
  margin: 0 auto 35px;
  color: rgba(255,255,255,.8);
  font-size: 18px;
  line-height: 1.8;
}

.hero-link {
  display: inline-flex;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 100px;
  font-weight: 600;
  transition: background .3s, transform .3s;
}

.hero-link:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}

/* CONTACT SECTION */

.contact-section {
  padding: 130px 7%;
  scroll-margin-top: 30px;
}

.contact-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.contact-intro {
  padding-top: 35px;
}

.contact-intro .eyebrow {
  color: #4f8166;
}

.contact-intro h2 {
  margin: 25px 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.12;
  letter-spacing: -2.5px;
}

.contact-intro h2 em {
  color: #5c9070;
}

.contact-intro > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 50px;
}

.contact-info span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
}

.contact-info a {
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: color .2s;
}

.contact-info a:hover {
  color: #5c9070;
}

.contact-note {
  display: flex;
  gap: 16px;
  max-width: 440px;
  margin-top: 45px;
  padding: 22px;
  background: #e8eee3;
  border-radius: 18px;
}

.contact-note span {
  font-size: 25px;
  color: #598b6b;
}

.contact-note p {
  margin: 0;
  color: #4f6557;
  font-size: 14px;
  line-height: 1.7;
}

/* FORM CARD */

.contact-form-card {
  padding: 48px;
  background: white;
  border: 1px solid #e5e9df;
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(23,61,50,.08);
}

.form-eyebrow {
  color: #6c9875;
}

.contact-form-card h2 {
  margin: 15px 0 32px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -1.5px;
}

.form-placeholder {
  padding: 45px 24px;
  border: 1px dashed #b9cbb7;
  border-radius: 20px;
  background: #f6f9f3;
  text-align: center;
}

.form-placeholder > span {
  display: block;
  margin-bottom: 15px;
  font-size: 40px;
  color: #5c9070;
}

.form-placeholder h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
}

.form-placeholder p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 100px;
  background: var(--forest);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: transform .25s, background .25s;
}

.button:hover {
  background: #285b49;
  transform: translateY(-3px);
}

/* CLOSING */

.contact-closing {
  position: relative;
  overflow: hidden;
  padding: 105px 24px;
  background: var(--forest);
  color: white;
  text-align: center;
}

.contact-closing::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  left: -260px;
  top: -320px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}

.contact-closing .eyebrow {
  position: relative;
  color: var(--sage);
}

.contact-closing h2 {
  position: relative;
  max-width: 750px;
  margin: 25px auto 35px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  letter-spacing: -2px;
  line-height: 1.2;
}

.button-light {
  position: relative;
  background: var(--sage);
  color: var(--deep);
}

.button-light:hover {
  background: white;
}

/* FOOTER */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 45px 7%;
  background: #102d26;
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

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

.site-footer small {
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

/* ANIMATIONS */

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowFloat {
  from { transform: translate(0, 0); }
  to { transform: translate(-70px, 60px); }
}

/* TABLET */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .contact-section {
    padding: 90px 6%;
  }

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

  .contact-form-card {
    max-width: 700px;
    width: 100%;
  }

  .contact-hero h1 {
    letter-spacing: -3px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .site-header {
    padding: 22px 5%;
    flex-direction: column;
    gap: 15px;
  }

  .site-header nav {
    justify-content: center;
    gap: 12px 18px;
  }

  .site-header nav a {
    font-size: 12px;
  }

  .contact-hero {
    min-height: 90svh;
    padding: 180px 20px 75px;
  }

  .contact-hero h1 {
    font-size: clamp(39px, 10vw, 60px);
    letter-spacing: -2px;
  }

  .contact-hero p {
    font-size: 15px;
  }

  .contact-section {
    padding: 75px 5%;
  }

  .contact-intro h2 {
    letter-spacing: -1.5px;
  }

  .contact-form-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .form-placeholder {
    padding: 35px 16px;
  }

  .contact-closing {
    padding: 85px 20px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

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

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

/* WEBBY — Contact Form */

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

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #dce5d9;
  border-radius: 12px;
  background: #fafbf8;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #5c9070;
  box-shadow: 0 0 0 3px rgba(92,144,112,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form .button {
  border: none;
  cursor: pointer;
  min-height: 52px;
}

.contact-form .button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.contact-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-status a {
  text-decoration: underline;
}

.cf-turnstile {
  max-width: 100%;
}

/* ==========================================
   WEBBY — SCROLL REVEAL ANIMATIONS
========================================== */

.reveal {
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.js-motion .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(35px);
}

.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
