:root {
  --color-bg: #f7f1e8;
  --color-surface: #ffffff;
  --color-surface-soft: #f2ebe1;
  --color-text: #0d1b2a;
  --color-muted: #4d5b66;
  --color-accent: #075e5b;
  --color-accent-dark: #064946;
  --color-border: #ded6ca;
  --color-shadow: rgba(13, 27, 42, 0.08);
  --radius-large: 18px;
  --radius-medium: 14px;
  --container-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #fffdfa 0%, var(--color-bg) 100%);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222, 214, 202, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand-logo {
  width: min(320px, 46vw);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.button,
.site-footer a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-accent);
  background: rgba(7, 94, 91, 0.08);
}

.hero-section {
  padding: 52px 0 32px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(222, 214, 202, 0.9);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(247, 241, 232, 0.98) 0%, rgba(247, 241, 232, 0.95) 28%, rgba(247, 241, 232, 0.74) 47%, rgba(247, 241, 232, 0.18) 65%, rgba(247, 241, 232, 0) 78%),
    linear-gradient(180deg, #fffdfa 0%, var(--color-bg) 100%);
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.08);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 4.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 10.5ch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 56px 56px 56px 48px;
}

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

.lead,
.featured-main p,
.featured-cta p,
.future-panel p,
.about-copy p,
.site-footer p {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.lead {
  max-width: 30rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-accent-dark);
}

.button-secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(7, 94, 91, 0.08);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 241, 232, 1) 0%, rgba(247, 241, 232, 0.84) 20%, rgba(247, 241, 232, 0.34) 42%, rgba(247, 241, 232, 0.08) 58%, rgba(247, 241, 232, 0) 74%);
}

.hero-figure img {
  border-radius: 28px;
}

.featured-section,
.future-section,
.about-section,
.contact-section {
  padding: 28px 0;
}

.featured-card,
.about-card,
.future-panel,
.contact-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(222, 214, 202, 0.95);
  box-shadow: 0 16px 40px var(--color-shadow);
}

.featured-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius-large);
  align-items: center;
}

.featured-media img {
  width: 100%;
  border-radius: 16px;
}

.featured-main h2,
.future-panel h2,
.about-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.support-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.support-points li {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.support-points img {
  width: 42px;
  height: 42px;
}

.support-points span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.featured-cta {
  padding-left: 28px;
  border-left: 1px solid var(--color-border);
}

.featured-cta h3 {
  margin: 0 0 12px;
  font-size: 1.9rem;
  line-height: 1.1;
}

.future-panel {
  padding: 34px;
  border-radius: var(--radius-large);
  border-style: dashed;
  text-align: center;
}

.about-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-large);
  align-items: center;
}

.about-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius-large);
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.contact-copy p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.contact-note {
  margin-top: 18px;
  font-weight: 600;
}

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

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

.form-field label {
  font-weight: 700;
  color: var(--color-text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.95);
  color: var(--color-text);
  font: inherit;
}

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

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid rgba(7, 94, 91, 0.25);
  outline-offset: 2px;
  border-color: rgba(7, 94, 91, 0.45);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  margin-top: 32px;
  padding: 32px 0 40px;
  background: #123534;
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.site-footer p {
  margin: 0 0 10px;
  color: inherit;
}

.site-footer a {
  color: #d7f4f2;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.footer-tagline {
  font-style: italic;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(7, 94, 91, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .featured-card,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-grid {
    min-height: 580px;
    background:
      linear-gradient(90deg, rgba(247, 241, 232, 0.98) 0%, rgba(247, 241, 232, 0.96) 36%, rgba(247, 241, 232, 0.74) 58%, rgba(247, 241, 232, 0.18) 74%, rgba(247, 241, 232, 0) 86%),
      linear-gradient(180deg, #fffdfa 0%, var(--color-bg) 100%);
  }

  .hero-copy {
    padding: 42px;
    max-width: 480px;
  }

  .featured-cta {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
  }

  .support-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .brand-logo {
    width: min(280px, 68vw);
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section {
    padding-top: 34px;
  }

  .hero-grid {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(247, 241, 232, 0.95) 0%, rgba(247, 241, 232, 0.82) 38%, rgba(247, 241, 232, 0.42) 58%, rgba(247, 241, 232, 0.06) 74%, rgba(247, 241, 232, 0) 100%),
      linear-gradient(180deg, #fffdfa 0%, var(--color-bg) 100%);
  }

  .hero-copy {
    padding: 28px 22px 22px;
    max-width: none;
  }

  .hero-figure {
    position: relative;
    min-height: 300px;
  }

  .hero-figure::after {
    background: linear-gradient(180deg, rgba(247, 241, 232, 0.96) 0%, rgba(247, 241, 232, 0.54) 18%, rgba(247, 241, 232, 0.12) 34%, rgba(247, 241, 232, 0) 48%);
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
    max-width: 10ch;
  }

  .lead {
    max-width: none;
  }

  .featured-card,
  .about-card,
  .future-panel,
  .contact-card {
    padding: 22px;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .about-mark {
    width: 82px;
    height: 82px;
  }

  .support-points {
    grid-template-columns: 1fr;
  }
}
