:root {
  --bg: #f4efe5;
  --ink: #101014;
  --soft: #635b50;
  --panel: rgba(255, 255, 255, 0.9);
  --line: rgba(16, 16, 20, 0.08);
  --accent: #7a3b25;
  --accent-soft: #d4b59a;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(212, 181, 154, 0.32), transparent 36%),
    linear-gradient(180deg, #f4efe5 0%, #efe5d6 45%, #faf6ef 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(1100px, 94vw);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand {
  font-family: "Baskerville", "Iowan Old Style", serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lang-pill {
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.lang-pill.is-current {
  background: var(--ink);
  color: var(--bg);
}

.page-shell {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 3rem;
}

.hero-card,
.form-card,
.status-card,
.destination-card {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(24, 18, 11, 0.08);
}

.hero-card,
.status-card {
  padding: 2rem;
}

.form-card {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
}

.form-copy h2 {
  margin: 0 0 0.7rem 0;
  font-family: "Baskerville", "Iowan Old Style", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.7rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Baskerville", "Iowan Old Style", serif;
}

.hero-card h1,
.status-card h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.intro,
.form-copy p,
.destination-card p,
.status-card p {
  color: var(--soft);
  line-height: 1.75;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.link-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 600;
}

form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.95rem 1rem;
  color: var(--ink);
  font: inherit;
}

.checkbox {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.65);
}

.checkbox input {
  margin-top: 0.25rem;
}

.checkbox.optional {
  background: rgba(212, 181, 154, 0.18);
}

.submit-btn,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 15rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  background: #d7d0c3;
  color: rgba(16, 16, 20, 0.5);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

.submit-btn.is-enabled,
.submit-btn:enabled,
.primary-link {
  background: var(--ink);
  color: var(--bg);
}

.submit-btn:enabled:hover,
.primary-link:hover {
  transform: translateY(-1px);
}

.altcha-wrap {
  padding: 0.8rem 0 0.3rem 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.error-box,
.nojs-box {
  border-radius: 1.4rem;
  border: 1px solid rgba(122, 59, 37, 0.18);
  background: rgba(212, 181, 154, 0.22);
  padding: 1rem 1.1rem;
}

.error-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.destinations-grid {
  display: grid;
  gap: 1rem;
}

.destination-card {
  padding: 1.5rem;
}

.destination-card h2 {
  font-size: 2rem;
}

.meta-line {
  font-size: 0.92rem;
  color: var(--accent);
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--soft);
}

@media (min-width: 960px) {
  .page-shell {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .hero-card,
  .status-card {
    position: sticky;
    top: 1rem;
  }

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