:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --text: #14221d;
  --muted: #60706a;
  --accent: #176b52;
  --accent-dark: #0f533e;
  --accent-soft: #e7f2ee;
  --border: #dce4e1;
  --shadow: 0 22px 60px rgba(26, 49, 41, 0.10);
  --radius-lg: 26px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 5%, rgba(23, 107, 82, 0.10), transparent 30rem),
    linear-gradient(180deg, #fafcfc 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 28px;
}

.hero {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 72px;
  padding: 8px 2px 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-name {
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 780;
}

.lead {
  max-width: 760px;
  margin-bottom: 12px;
  color: #31423b;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.55;
}

.sublead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-copy {
  position: sticky;
  top: 32px;
}

.contact-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-copy p:last-child {
  max-width: 360px;
  color: var(--muted);
}

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

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fbfcfc;
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

input:focus,
textarea:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

button {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: white;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 120ms ease, background 120ms ease;
}

button:hover {
  background: var(--accent-dark);
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.form-status.success {
  color: var(--accent-dark);
}

.form-status.error {
  color: #a33434;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 28px 8px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 24px;
  }

  .hero {
    min-height: auto;
    gap: 64px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.3rem);
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 26px 22px;
    border-radius: 20px;
  }

  .contact-copy {
    position: static;
  }

  .footer-divider {
    display: none;
  }

  footer span {
    width: 100%;
    text-align: center;
  }
}
