:root {
  --bg: #f6f4ee;
  --bg-alt: #ece7d7;
  --text: #213125;
  --muted: #46574a;
  --accent: #2f7a46;
  --accent-dark: #1f5e34;
  --card: #fffdf7;
  --border: #d6cebc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 0%, #fdf9ec 0%, var(--bg) 46%);
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 238, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

.section {
  padding: 4.5rem 0;
}

.hero {
  padding-top: 5.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
}

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

.lead {
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  max-width: 760px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: var(--accent-dark);
}

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

.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.cta {
  text-align: center;
}

.site-footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-sitemap {
  margin-top: 0.7rem;
}

.footer-sitemap p {
  margin: 0 0 0.35rem 0;
  font-weight: 600;
}

.footer-sitemap nav {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-sitemap a {
  text-decoration: none;
  color: var(--muted);
}

.footer-sitemap a:hover {
  color: var(--text);
}

.page-intro {
  padding-top: 4rem;
  padding-bottom: 1rem;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 720px;
}

.carousel {
  margin-top: 1rem;
}

.carousel-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.carousel-frame img {
  display: block;
  width: 100%;
  height: min(64vw, 560px);
  object-fit: cover;
}

.carousel-controls {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.carousel-arrow-left {
  left: 10px;
}

.carousel-arrow-right {
  right: 10px;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.78);
}

#carousel-status {
  color: var(--muted);
  min-width: 5.2rem;
  text-align: center;
}

label {
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c9c1ae;
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
}
