:root {
  --bg: #F5F2EB;
  --bg-card: #FBF9F5;
  --text: #30353A;
  --heading: #212529;
  --muted: #7B858E;
  --accent: #E05400;
  --accent-text: #FFFFFF;
  --border: #B89873;
  --rule: #B89873;
  --signal: #FF6A00;
  --portrait-border: #B89873;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #212529;
  --bg-card: #2A2F34;
  --text: #F5F2EB;
  --heading: #F5F2EB;
  --muted: #7B858E;
  --accent: #FF6A00;
  --accent-text: #212529;
  --border: #7A583B;
  --rule: #7A583B;
  --portrait-border: #212529;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #212529;
    --bg-card: #2A2F34;
    --text: #F5F2EB;
    --heading: #F5F2EB;
    --muted: #7B858E;
    --accent: #FF6A00;
    --accent-text: #212529;
    --border: #7A583B;
    --rule: #7A583B;
    --portrait-border: #212529;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px 4rem;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 0.9rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

header.site .brand {
  color: var(--heading);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

header.site .brand::after {
  content: "";
  display: block;
  height: 2px;
  width: 1.6rem;
  margin-top: 2px;
  background: var(--signal);
}

h1, h2, h3 {
  color: var(--heading);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.3rem; margin-top: 2.4rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }

p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.3rem; }

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1rem 0;
}

@media (min-width: 40rem) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  text-decoration: none;
}

.card:hover { border-color: var(--accent); }
.card h3 { color: var(--heading); }
.card p { margin: 0; }

.terms {
  border-left: 3px solid var(--rule);
  padding: 0.3rem 0 0.3rem 1rem;
  margin: 1.4rem 0;
}

.terms p { margin: 0 0 0.4rem; }
.terms p:last-child { margin: 0; }

.price {
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.08); }

.theme-toggle {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
}

.theme-toggle:hover { border-color: var(--accent); }

.links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 1.2rem 0; align-items: center; }

#cal-inline {
  min-height: 640px;
  margin: 1rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

footer.site a { color: var(--muted); }

/* A button that looks like the links around it (used for the email reveal). */
.linklike {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.linklike:hover { text-decoration-thickness: 2px; }

/* Back link above the title on booking pages. */
.back {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

.back:hover { color: var(--accent); text-decoration: underline; }

/* Hub intro: headline and lead on the left, portrait on the right, tagline below both. */
.intro { display: flex; gap: 1.4rem; align-items: flex-start; margin-bottom: 1.4rem; }
.intro-text { flex: 1; min-width: 0; }
.intro .lead { margin-bottom: 0.6rem; }
.portrait {
  width: 140px;
  height: 140px;
  flex: none;
  margin-top: 0.4rem;
  border-radius: 10px;
  border: 2px solid var(--portrait-border);
  object-fit: cover;
}
@media (max-width: 40rem) { .portrait { width: 96px; height: 96px; } }

.accent { color: var(--accent); font-weight: 600; }
.was { text-decoration: line-through; color: var(--muted); }
