/* ============================================================
   SAFE HAVEN — Harbor theme
   Shared stylesheet for all marketing pages.
   Palette: warm harbor blue + sand + sage over cream.
   Type: Newsreader (serif headings) + Source Sans 3 (body).
   ============================================================ */

:root {
  --surface: #f1efe8;
  --surface-2: #faf7f0;
  --card: #ffffff;
  --ink: #1f2d36;
  --muted: #566069;
  --border: #dde2e0;
  --primary: #2b6480;
  --primary-strong: #1e4c63;
  --secondary: #c79a55;
  --accent: #6f9a7b;
  --warm: #e3c590;
  --shadow: 0 22px 50px -28px rgba(20, 48, 64, 0.42);
  --shadow-sm: 0 12px 28px -18px rgba(20, 48, 64, 0.4);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}
a {
  color: inherit;
}
.wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 28px;
}
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  transform: translateY(-200%);
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 100;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  border: 1.6px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease;
  min-height: 52px;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 28px -14px color-mix(in srgb, var(--primary) 70%, transparent);
}
.btn-primary:hover {
  background: var(--primary-strong);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
}
.btn-sm {
  padding: 11px 20px;
  min-height: auto;
  font-size: 0.92rem;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  color: var(--primary-strong);
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}
.pill svg {
  width: 16px;
  height: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 8px;
}
.badge.sage {
  background: color-mix(in srgb, var(--accent) 24%, #fff);
  color: color-mix(in srgb, var(--accent) 80%, #000);
}
.badge.warm {
  background: color-mix(in srgb, var(--warm) 42%, #fff);
  color: #7a5a1f;
}

*:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand .name {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--ink);
  line-height: 1.05;
}
.brand .name small {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  transition: color 0.16s ease;
}
.nav-links a:hover,
.nav-links a.on {
  color: var(--primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-btn {
  display: none;
  font: inherit;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 14px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 14px 28px 20px;
  }
}

/* ---------- Page header band ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--warm) 28%, transparent), transparent 42%),
    radial-gradient(circle at 88% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 44%);
  pointer-events: none;
}
.page-head .inner {
  position: relative;
}
.page-head h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  margin: 14px 0 0;
  max-width: 20ch;
}
.page-head h1 em {
  font-style: italic;
  color: var(--primary);
}
.page-head p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 60ch;
  margin: 18px 0 0;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.crumbs a {
  text-decoration: none;
  color: var(--primary);
}

/* ---------- Sections & cards ---------- */
section {
  padding: 64px 0;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.sec-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-top: 10px;
  max-width: 20ch;
}
.sec-head .link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.96rem;
}
.sec-head .link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 820px) {
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }
}
.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
  margin-bottom: 18px;
  flex: none;
}
.icon-tile svg {
  width: 28px;
  height: 28px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}
.price {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: 'Newsreader', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--primary);
}
.price span {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  display: block;
}

/* image placeholders */
.art {
  border-radius: 24px;
  min-height: 300px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-strong);
  font-weight: 600;
  text-align: center;
  padding: 24px;
}
.art svg {
  width: 48px;
  height: 48px;
  opacity: 0.72;
}
.art .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.art.watercolor {
  background: radial-gradient(circle at 30% 26%, color-mix(in srgb, var(--accent) 50%, #fff), transparent 55%),
    radial-gradient(circle at 76% 32%, color-mix(in srgb, var(--primary) 30%, #fff), transparent 52%),
    radial-gradient(circle at 55% 84%, color-mix(in srgb, var(--warm) 60%, #fff), transparent 55%),
    var(--surface-2);
}
.art.photo {
  background: var(--surface-2);
  border: 1.5px dashed color-mix(in srgb, var(--primary) 36%, transparent);
}
.art.has-photo {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.art.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--warm) 30%, transparent), transparent 42%),
    radial-gradient(circle at 88% 30%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 44%),
    radial-gradient(circle at 60% 95%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 48%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 64px;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 4rem);
  margin: 18px 0 0;
  max-width: 13ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
}
.hero .lede {
  color: var(--muted);
  font-size: 1.2rem;
  margin: 22px 0 30px;
  max-width: 52ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-art {
  position: relative;
  border-radius: 26px;
  min-height: 440px;
  background: radial-gradient(circle at 30% 26%, color-mix(in srgb, var(--accent) 52%, #fff), transparent 55%),
    radial-gradient(circle at 76% 32%, color-mix(in srgb, var(--primary) 32%, #fff), transparent 52%),
    radial-gradient(circle at 55% 84%, color-mix(in srgb, var(--warm) 62%, #fff), transparent 55%),
    var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary-strong);
  text-align: center;
  padding: 24px;
}
.hero-art svg {
  width: 56px;
  height: 56px;
  opacity: 0.75;
}
.hero-art .tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}
.hero-art.has-photo {
  padding: 0;
  background: var(--surface-2);
  overflow: hidden;
}
.hero-art.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.float-card {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.float-card .stars {
  color: var(--secondary);
  letter-spacing: 2px;
  font-size: 0.95rem;
}
.float-card b {
  color: var(--ink);
  font-size: 0.96rem;
}
.float-card small {
  color: var(--muted);
  font-size: 0.82rem;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 52px 0 44px;
  }
  .hero-art {
    min-height: 320px;
  }
}

/* ---------- Process + mission ---------- */
.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.split.even {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) {
  .split,
  .split.even {
    grid-template-columns: 1fr;
  }
}
.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.panel h2 {
  font-size: 1.9rem;
  margin: 10px 0 0;
}
.panel h3 {
  font-size: 1.4rem;
}
.steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 22px 56px;
  color: var(--muted);
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li::after {
  content: '';
  position: absolute;
  left: 18.5px;
  top: 40px;
  bottom: 6px;
  width: 1.5px;
  background: var(--border);
}
.steps li:last-child::after {
  display: none;
}
.steps b {
  color: var(--ink);
  font-weight: 700;
}
.mission {
  background: linear-gradient(165deg, color-mix(in srgb, var(--primary) 92%, #000), var(--primary-strong));
  color: #fff;
  border: 0;
}
.mission .kicker {
  color: color-mix(in srgb, var(--warm) 80%, #fff);
}
.mission blockquote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.42rem;
  line-height: 1.42;
  margin: 18px 0 0;
  color: #fff;
}
.mission .who {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
.mission a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.96rem;
  display: inline-block;
  margin-top: 18px;
}
.tint {
  background: color-mix(in srgb, var(--primary) 6%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.tint h2,
.tint h3 {
  margin: 0 0 6px;
}
.tint p {
  color: var(--muted);
  margin: 0;
}
.checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--muted);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.checklist li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* ---------- Testimonial band ---------- */
.band {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 860px) {
  .quote-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.qmark {
  font-family: 'Newsreader', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--primary) 38%, transparent);
  display: block;
  height: 0.7em;
  margin-bottom: 18px;
}
.quote-wrap blockquote {
  font-family: 'Newsreader', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.32;
  color: var(--ink);
  margin: 18px 0 22px;
}
.person {
  display: flex;
  align-items: center;
  gap: 13px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.person b {
  display: block;
  color: var(--ink);
}
.person small {
  color: var(--muted);
}
.stars {
  color: var(--secondary);
  letter-spacing: 2px;
}

/* review cards */
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  break-inside: avoid;
  margin-bottom: 22px;
}
.review-card.tint-warm {
  background: color-mix(in srgb, var(--warm) 22%, #fff);
  border-color: color-mix(in srgb, var(--warm) 40%, transparent);
}
.review-card.tint-sage {
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
}
.review-card .stars {
  font-size: 1rem;
}
.review-card .headline {
  font-family: 'Newsreader', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin: 12px 0 12px;
  line-height: 1.28;
}
.review-card p.body {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 20px;
}
.masonry {
  columns: 2;
  column-gap: 22px;
}
@media (max-width: 760px) {
  .masonry {
    columns: 1;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.faq-q .ic {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.22s ease;
}
.faq-item[data-open='true'] .ic {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-a p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  min-height: 50px;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 2px;
  border-color: var(--primary);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-2 .full {
  grid-column: 1 / -1;
}
@media (max-width: 540px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.info-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--muted);
}
.info-list .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-list .ic svg {
  width: 20px;
  height: 20px;
}
.info-list b {
  display: block;
  color: var(--ink);
}
.info-list a {
  color: var(--primary);
}

/* ---------- Booking calendar ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: 1fr;
  }
}
.cal {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: var(--surface-2);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-head .m {
  font-family: 'Newsreader', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.cal-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.day {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}
.day:hover:not(.day-off):not(.day-empty) {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}
.day.sel {
  background: var(--primary);
  color: #fff;
}
.day.day-off {
  color: color-mix(in srgb, var(--muted) 55%, transparent);
  background: color-mix(in srgb, var(--border) 30%, transparent);
  cursor: not-allowed;
}
.day.day-empty {
  background: transparent;
  cursor: default;
}
.day.dot {
  position: relative;
}
.day.dot::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.day.sel.dot::after {
  background: #fff;
}
.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.slot {
  border: 1.5px solid color-mix(in srgb, var(--primary) 45%, transparent);
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  padding: 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}
.slot:hover {
  background: color-mix(in srgb, var(--primary) 8%, #fff);
}
.slot.sel {
  background: var(--primary);
  color: #fff;
}
.tz {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 16px;
}

/* ---------- CTA + Footer ---------- */
.cta-final {
  text-align: center;
}
.cta-final .panel {
  padding: 56px 44px;
}
.cta-final h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  max-width: 20ch;
  margin: 0 auto 14px;
}
.cta-final h2 em {
  font-style: italic;
  color: var(--primary);
}
.cta-final p {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}
.cta-final .cta-row {
  justify-content: center;
}
footer.site {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
footer.site .name {
  font-family: 'Newsreader', serif;
  font-size: 1.3rem;
  color: #fff;
}
footer.site h4 {
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.site li {
  margin-bottom: 9px;
}
footer.site a {
  text-decoration: none;
  transition: color 0.16s ease;
}
footer.site a:hover {
  color: #fff;
}
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   BLOG — index listing + article reading view
   ============================================================ */
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.post-meta .cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-strong);
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
}
.post-meta .dot-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 55%, transparent);
}

/* featured post */
.feature-post {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  align-items: stretch;
}
.feature-post .thumb {
  min-height: 340px;
}
.feature-post .body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-post h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 16px 0 12px;
  line-height: 1.14;
}
.feature-post h2 a {
  text-decoration: none;
}
.feature-post h2 a:hover {
  color: var(--primary);
}
.feature-post p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 24px;
  max-width: 52ch;
}
@media (max-width: 820px) {
  .feature-post {
    grid-template-columns: 1fr;
  }
  .feature-post .thumb {
    min-height: 220px;
  }
  .feature-post .body {
    padding: 30px;
  }
}

/* blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card .thumb {
  height: 180px;
  position: relative;
}
.post-card .body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card h3 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 14px 0 10px;
}
.post-card h3 a {
  text-decoration: none;
}
.post-card h3 a:hover {
  color: var(--primary);
}
.post-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 18px;
}
.post-card .read {
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.post-card .read:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* thumb art treatments — tinted painterly fields, no fake imagery */
.thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-strong);
  text-align: center;
  padding: 20px;
}
.thumb svg {
  width: 40px;
  height: 40px;
  opacity: 0.78;
}
.thumb .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}
.thumb.has-photo {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.thumb.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.t-blue {
  background: radial-gradient(circle at 28% 26%, color-mix(in srgb, var(--primary) 34%, #fff), transparent 56%),
    radial-gradient(circle at 78% 70%, color-mix(in srgb, var(--accent) 36%, #fff), transparent 54%),
    var(--surface-2);
}
.thumb.t-sage {
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 42%, #fff), transparent 56%),
    radial-gradient(circle at 80% 72%, color-mix(in srgb, var(--warm) 50%, #fff), transparent 54%),
    var(--surface-2);
}
.thumb.t-warm {
  background: radial-gradient(circle at 26% 28%, color-mix(in srgb, var(--warm) 58%, #fff), transparent 56%),
    radial-gradient(circle at 78% 70%, color-mix(in srgb, var(--primary) 28%, #fff), transparent 54%),
    var(--surface-2);
}

/* ---------- Article reading view ---------- */
.article {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 56px 28px 8px;
}
.article .post-meta {
  margin-bottom: 18px;
}
.article h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.article .standfirst {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 28px;
}
.article .byline {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}
.article .byline .avatar {
  width: 46px;
  height: 46px;
}
.article .byline b {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}
.article .byline small {
  color: var(--muted);
}
.article-hero {
  width: min(100%, 1080px);
  margin: 28px auto 0;
  padding: 0 28px;
}
.article-hero .band-img {
  border-radius: var(--radius);
  min-height: 360px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.article-hero .band-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prose {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 40px 28px 8px;
  font-size: 1.16rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
}
.prose > * + * {
  margin-top: 1.4em;
}
.prose h2 {
  font-size: 1.85rem;
  color: var(--ink);
  margin-top: 1.9em;
  line-height: 1.16;
}
.prose h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-top: 1.6em;
}
.prose p {
  margin: 0;
}
.prose strong {
  color: var(--ink);
}
.prose a {
  color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 0.6em;
}
.prose li::marker {
  color: var(--primary);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 6px 0 6px 26px;
  border-left: 4px solid var(--primary);
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.42;
  color: var(--ink);
}
.callout {
  background: color-mix(in srgb, var(--primary) 6%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  font-size: 1.05rem;
}
.callout h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--ink);
}
.callout p {
  margin: 0;
  color: var(--muted);
}
.callout .checklist {
  margin-top: 12px;
}
.article-foot {
  width: min(100%, 760px);
  margin: 40px auto 0;
  padding: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.article-foot a.back {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.related {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
