:root {
  --bg: #f3efe7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --text: #1f2a24;
  --muted: #5e6b62;
  --line: rgba(31, 42, 36, 0.12);
  --accent: #0f766e;
  --accent-dark: #0b5a55;
  --shadow: 0 20px 60px rgba(31, 42, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 28%),
    radial-gradient(circle at right center, rgba(236, 177, 52, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f3ea 0%, #efe7da 100%);
  min-height: 100vh;
}

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

.container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 243, 234, 0.72);
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-shell {
  padding: 1rem 0;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(15, 118, 110, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.hero,
.section {
  padding: 5rem 0;
}

.hero-grid,
.page-grid,
.contact-shell {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
  align-items: center;
}

.eyebrow,
.card-label {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

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

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.lead,
.page-copy p,
.info-card p,
.principle p,
.contact-note {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero-card,
.info-card,
.side-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card,
.side-panel,
.contact-card {
  padding: 2rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.9;
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 1.75rem;
}

.page-main {
  min-height: calc(100vh - 160px);
}

.page-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  align-items: start;
}

.side-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.principle + .principle {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-shell {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  align-items: center;
}

.contact-link {
  display: inline-block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .page-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  h1 {
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, 1120px);
  }

  .nav-shell,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    padding-left: 0;
  }

  .hero,
  .section {
    padding: 3.5rem 0;
  }

  .hero-card,
  .side-panel,
  .contact-card,
  .info-card {
    border-radius: 22px;
  }
}
