:root {
  --ink: #1c1915;
  --muted: #5c564c;
  --paper: #f3efe6;
  --card: #fbf8f3;
  --line: rgba(28, 25, 21, 0.14);
  --pine: #1e3a2f;
  --pine-2: #274a3c;
  --copper: #7a3b22;
  --font-display: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(28, 25, 21, 0.035) 0.7px, transparent 0.7px);
  background-size: 8px 8px;
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
}

img {
  -webkit-user-drag: none;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--pine);
}

a { color: var(--pine); }
img { max-width: 100%; display: block; }

.wrap { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.94);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--copper);
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero h1 {
    white-space: normal;
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

.hero .lede {
  margin: 0 0 1.4rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.45rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.btn-fill {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.section { padding: 1.5rem 0 2.4rem; }
.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
}
.section .lede { margin: 0 0 1.2rem; color: var(--muted); max-width: 40rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(165deg, var(--pine-2) 0%, var(--pine) 70%);
  color: #fff;
  border: 0;
  padding: 1.2rem 1.2rem 1.25rem;
}

.card-body { flex: 1 1 auto; }

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.15;
}

.card p {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.88);
}

.card .meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.card-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.card-price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.card .btn {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.card .btn:hover {
  background: #fff;
  color: var(--pine);
  border-color: #fff;
}

.badge {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
  color: #f0c9a8;
}

.page { padding: 2rem 0 3rem; }
.page h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.page > .lede { color: var(--muted); max-width: 40rem; }

.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
  margin-top: 1rem;
}

.form label { display: grid; gap: 0.3rem; font-size: 0.92rem; }
.form input,
.form select,
.form textarea,
.admin-box input,
.tour-form input,
.tour-form select,
.tour-form textarea {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(28, 25, 21, 0.3);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.form textarea,
.tour-form textarea { min-height: 5.5rem; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.9rem; }

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
  margin: 1rem 0;
}

.tour-list {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

.tour-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.tour-form h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.tour-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.tour-form label { display: grid; gap: 0.25rem; font-size: 0.9rem; }

@media (max-width: 760px) {
  .bar { flex-wrap: wrap; }
  .site-nav { width: 100%; }
  .hero { padding-top: 2rem; }
  .tour-row { grid-template-columns: 1fr; }
}
