:root {
  --color-paper: #f7f1e8;
  --color-paper-soft: #fbf7f2;
  --color-sand: #efe5d9;
  --color-ink: #46342b;
  --color-muted: #675348;
  --color-line: #decfc0;
  --color-clay: #9c5732;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-paper);
  color: var(--color-muted);
  font-family: Segoe UI, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 20px;
}

.serif {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--color-line);
  background: rgba(247, 241, 232, 0.94);
}

.top-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.label {
  color: #806a5a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand {
  color: #4c382d;
  font-size: 30px;
  line-height: 1;
}

.nav {
  display: none;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
  color: #5a463a;
  font-size: 14px;
}

.static-menu {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8c7b7;
  background: #fbf7f2;
  color: #5a463a;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-clay);
  color: #fff;
  padding: 14px 24px;
  font-weight: 700;
  box-shadow: 0 18px 38px rgba(99, 54, 33, 0.18);
}

main > section {
  padding: 78px 0;
}

.band {
  background: var(--color-paper-soft);
}

.sand {
  background: var(--color-sand);
}

.grid {
  display: grid;
  gap: 36px;
}

.two {
  grid-template-columns: 1fr;
}

.lead {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.78;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.subtle {
  border-bottom: 1px solid #8b725f;
  color: #513d31;
  padding-bottom: 4px;
  font-weight: 600;
}

.signal-panel {
  display: grid;
  gap: 14px;
  border: 1px solid #d8c7b7;
  border-radius: 32px;
  background: rgba(251, 247, 242, 0.82);
  padding: 28px;
  box-shadow: 0 24px 70px rgba(80, 54, 38, 0.08);
}

.signal-item {
  border: 1px solid #ddcfc0;
  border-radius: 20px;
  background: rgba(247, 241, 232, 0.76);
  padding: 18px 20px;
}

.signal-item h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 26px;
  line-height: 1.2;
}

.signal-item p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.65;
}

.cards {
  display: grid;
  gap: 24px;
}

.card {
  min-width: 0;
  border: 1px solid #d5c3b1;
  border-radius: 26px;
  background: rgba(251, 247, 242, 0.86);
  padding: 24px;
  box-shadow: 0 24px 70px rgba(94, 64, 45, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.card:hover {
  border-color: #b9825b;
  background: rgba(255, 250, 243, 0.92);
  transform: translateY(-4px);
}

.card h3 {
  margin: 8px 0 0;
  color: var(--color-ink);
  font-size: 28px;
  line-height: 1.18;
}

.card p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

.card .subtle {
  display: inline-block;
  margin-top: 18px;
}

.article {
  max-width: 880px;
  margin: 0 auto;
}

.article p {
  margin: 18px 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.85;
}

.article h2 {
  margin: 48px 0 12px;
  color: var(--color-ink);
  font-size: 36px;
  line-height: 1.15;
}

.article h3 {
  margin: 28px 0 8px;
  color: var(--color-ink);
  font-size: 25px;
  line-height: 1.2;
}

.article a {
  color: var(--color-clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-break {
  max-width: 880px;
  margin: 48px auto;
  border: 1px solid #d8c7b7;
  border-radius: 32px;
  background: rgba(241, 230, 217, 0.86);
  padding: 30px;
}

.contact {
  display: grid;
  gap: 28px;
  text-align: center;
}

.contact .label {
  margin-bottom: 10px;
}

.contact a,
.contact p {
  color: #4f3d33;
  font-size: 18px;
  line-height: 1.6;
}

.footer {
  border-top: 1px solid var(--color-line);
  background: #f6efe6;
  padding: 40px 0 0;
}

.foot-grid {
  display: grid;
  gap: 30px;
  border-bottom: 1px solid #e8dccc;
  padding: 30px 0 36px;
}

.small {
  color: #6d594d;
  font-size: 14px;
  line-height: 1.6;
}

.small a {
  color: #6d594d;
}

@media (max-width: 767px) {
  main > section {
    padding: 56px 0;
  }

  main h1.serif {
    font-size: clamp(42px, 12vw, 68px) !important;
  }

  main h2.serif {
    font-size: clamp(30px, 8vw, 38px) !important;
  }

  .card {
    border-radius: 22px;
    padding: 20px;
  }

  .card h3 {
    font-size: 24px;
  }

  .article-break {
    margin: 32px auto;
    border-radius: 24px;
    padding: 22px;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 40px;
  }

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

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

@media (min-width: 1024px) {
  .wrap {
    padding: 0 64px;
  }

  .brand {
    font-size: 36px;
  }

  .nav {
    display: flex;
  }

  .static-menu {
    display: none;
  }

  .two {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }

  .foot-grid {
    grid-template-columns: 1.1fr 1.35fr 1fr;
    align-items: start;
  }
}
