
:root {
  --bg: #f7f4ee;
  --paper: #ffffff;
  --text: #1d1d1f;
  --muted: #62666d;
  --accent: #6d4c3d;
  --accent-soft: #e8ddd5;
  --line: #ded7cf;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.brand {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 15px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px 52px;
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 46px;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
}

.kicker {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

h1, h2, h3 {
  line-height: 1.22;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.025em;
}

h3 {
  font-size: 22px;
}

.lead {
  font-size: 22px;
  color: var(--muted);
  max-width: 820px;
}

.motto {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--accent-soft);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  font-size: 24px;
  font-style: italic;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 70px;
}

.section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px;
  margin: 22px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.card p:last-child,
.section p:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 22px;
}

.quote {
  font-size: 22px;
  font-style: italic;
  color: var(--accent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 28px 0;
}

.note {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 22px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.button {
  display: inline-block;
  margin-top: 12px;
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.button:hover {
  text-decoration: none;
  opacity: .9;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    padding-top: 38px;
  }
  .hero-card, .section {
    padding: 26px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .nav {
    gap: 10px;
  }
}
#texty .card {
    margin-bottom: 30px;
}

#texty .card:last-child {
    margin-bottom: 0;
}