:root {
  color-scheme: light;
  --ink: #1f2528;
  --muted: #5e676b;
  --line: #d9dedb;
  --paper: #fbfaf6;
  --soft: #eef2ee;
  --white: #ffffff;
  --teal: #235f5b;
  --teal-dark: #173e3b;
  --gold: #a86d21;
  --shadow: 0 22px 70px rgba(31, 37, 40, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(217, 222, 219, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 64px) clamp(44px, 8vw, 88px);
}

.hero picture,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.84) 30%, rgba(251, 250, 246, 0.16) 72%),
    linear-gradient(0deg, rgba(251, 250, 246, 0.94) 0%, rgba(251, 250, 246, 0) 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 22px 0 30px;
  color: #374044;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.primary-action,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  padding: 0 22px;
}

.primary-action:hover,
.submit-button:hover {
  background: var(--teal-dark);
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 64px);
}

.section-muted {
  background: var(--soft);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.prose {
  color: var(--muted);
  font-size: 1.08rem;
}

.prose p {
  margin: 0 0 18px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.focus-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(31, 37, 40, 0.06);
}

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

.contact-note {
  max-width: 390px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  color: #30383c;
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d1ce;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffefb;
  font: inherit;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(35, 95, 91, 0.18);
}

.hp-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cf-turnstile {
  min-height: 65px;
  margin-top: 6px;
}

.submit-button {
  width: fit-content;
  padding: 0 24px;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #1f6b3a;
}

.form-status[data-state="error"] {
  color: #9b2f1f;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 28px 18px 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 720px;
    padding-top: 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.82) 0%, rgba(251, 250, 246, 0.88) 48%, rgba(251, 250, 246, 0.98) 100%),
      linear-gradient(90deg, rgba(251, 250, 246, 0.92) 0%, rgba(251, 250, 246, 0.12) 100%);
  }

  .hero-image {
    object-position: 71% center;
  }

  .two-column,
  .contact-layout,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: auto;
  }

  .submit-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 2.75rem;
  }
}
