:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #68615b;
  --line: #ded6cd;
  --accent: #246b62;
  --accent-strong: #163f3a;
  --gold: #d69833;
  --rose: #c8584f;
  --shadow: 0 20px 60px rgba(35, 30, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 244, 239, 0.9);
  border-bottom: 1px solid rgba(222, 214, 205, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 0.8rem;
  letter-spacing: 0;
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(36, 107, 98, 0.1);
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: clamp(16px, 3.5vw, 46px) 0 70px;
}

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

h1,
h2 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.9rem, 6.2vw, 5.8rem);
  font-weight: 800;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.tagline {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--accent-strong);
  font-size: clamp(1.35rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
}

.intro {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--surface);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0 84px;
}

.section-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.section-card h2 {
  font-size: 1.45rem;
}

.section-card p:last-child,
.split-section p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.split-section > p {
  margin: 0;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  color: var(--accent-strong);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 10vw, 5.7rem);
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .site-header,
  .site-footer {
    padding-inline: 14px;
  }

  .brand span:last-child {
    max-width: 150px;
    line-height: 1.1;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.5vw, 3.75rem);
    line-height: 1.05;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section-grid {
    grid-template-columns: 1fr;
    padding-bottom: 54px;
  }

  .section-card {
    min-height: 210px;
  }

  .split-section {
    padding: 58px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
