@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&family=Mulish:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-fraunces: 'Fraunces';
  --font-mulish: 'Mulish';
}

:root {
  /* warm sand base */
  --sand: #f3eee2;
  --sand-soft: #efe7d4;
  --paper: #fbf9f3;
  --ink: #2c352c;
  --ink-soft: #54604f;
  --muted: #8b8d7c;
  --line: #e4ddca;
  /* dual accents */
  --meadow: #6b8f5e;
  --meadow-deep: #4f7144;
  --meadow-tint: #e9f0e1;
  --harbor: #3f6f8f;
  --harbor-deep: #2f566f;
  --harbor-tint: #e3edf2;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 18px 44px rgba(47, 86, 111, 0.12);
  --shadow-soft: 0 10px 24px rgba(47, 86, 111, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% -10%, rgba(63, 111, 143, 0.1), transparent 26rem),
    radial-gradient(circle at 6% 4%, rgba(107, 143, 94, 0.12), transparent 24rem),
    var(--sand);
  color: var(--ink);
  font-family: var(--font-mulish), ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--harbor-deep);
  color: var(--paper);
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-fraunces), Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--meadow-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow.on-tint {
  color: var(--harbor-deep);
}

/* ---------- Broad local-board header ---------- */
.board-header {
  background: linear-gradient(180deg, rgba(251, 249, 243, 0.92), rgba(243, 238, 226, 0.4));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.board-header-rule {
  height: 4px;
  background: linear-gradient(90deg, var(--meadow) 0%, var(--meadow) 40%, var(--harbor) 60%, var(--harbor) 100%);
}

.board-header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.wordmark-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--meadow-tint);
  color: var(--meadow-deep);
  border: 1px solid #d6e3cb;
}

.wordmark-text strong {
  display: block;
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wordmark-text small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.8rem;
}

.board-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.board-nav a {
  position: relative;
  padding-bottom: 3px;
}

.board-nav a:hover {
  color: var(--harbor-deep);
}

.board-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--meadow), var(--harbor));
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Lead (asymmetric: copy beside a warm harbor panel) ---------- */
.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: 64px 0 46px;
}

.lead-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.12;
}

.lead-lede {
  margin: 22px 0 0;
  max-width: 30rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.74;
}

.lead-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.lead-pills span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.lead-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--meadow-deep);
  color: var(--sand);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, background 0.18s ease;
}

.lead-cta::after {
  content: "→";
}

.lead-cta:hover {
  transform: translateY(-2px);
  background: var(--harbor-deep);
}

.lead-visual {
  height: clamp(280px, 38vw, 440px);
  border-radius: 22px;
  border: 1px solid #d8e0d0;
  background:
    linear-gradient(195deg, rgba(63, 111, 143, 0.12), rgba(44, 53, 44, 0.28)),
    url("/images/meadowharbor-lead.jpg") center / cover no-repeat,
    linear-gradient(150deg, #d9e6cf 0%, #eadfc6 48%, #cfe0e8 100%);
  box-shadow: var(--shadow);
}

/* ---------- Section heading shared ---------- */
.band-head {
  max-width: 40rem;
  margin-bottom: 30px;
}

.band-head h2,
.before-intro h2,
.about-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.band-sub {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.board,
.recent,
.about {
  padding: 30px 0 54px;
}

/* soft divider between major bands */
.board,
.recent {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 50px;
}

/* ---------- BOARD: broad multi-column grid of location cards ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.board-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.board-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}

.board-card.tone-meadow::before {
  background: var(--meadow);
}

.board-card.tone-harbor::before {
  background: var(--harbor);
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.board-label {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tone-meadow .board-label {
  color: var(--meadow-deep);
  background: var(--meadow-tint);
}

.tone-harbor .board-label {
  color: var(--harbor-deep);
  background: var(--harbor-tint);
}

.board-card h3 {
  margin: 13px 0 8px;
  font-size: 1.3rem;
}

.board-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
  font-size: 0.97rem;
}

.board-check {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.check-key {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Before you visit band ---------- */
.before-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
  margin: 8px 0;
  padding: 42px 44px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, var(--meadow-tint) 0%, var(--harbor-tint) 100%);
  border: 1px solid #d4e0d2;
}

.before-intro p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.before-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: none;
}

.before-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--paper);
  border: 1px solid #dbe3d3;
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

.before-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--harbor);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 800;
  font-family: var(--font-fraunces), serif;
}

.before-list li:nth-child(odd) .before-num {
  background: var(--meadow);
}

/* ---------- Recent guides ---------- */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.recent-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.recent-tag {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--harbor-tint);
  color: var(--harbor-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.recent-card strong {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.recent-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
  font-size: 0.96rem;
}

.recent-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- About ---------- */
.about {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 50px;
}

.about-head {
  margin-bottom: 22px;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  max-width: 46rem;
}

.about-list li {
  position: relative;
  padding: 17px 20px 17px 52px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  line-height: 1.66;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 21px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--meadow), var(--harbor));
}

/* ---------- Footer ---------- */
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 0;
  padding: 34px 0 60px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--meadow), var(--harbor)) 1;
  color: var(--muted);
}

.footer-mark {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.footer-desc {
  margin: 9px 0 16px;
  max-width: 32rem;
  line-height: 1.62;
  font-size: 0.94rem;
}

.footer-note {
  display: inline-block;
  margin: 0;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--meadow-tint);
  color: var(--meadow-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Article (single column, soft dividers) ---------- */
.article-shell {
  max-width: 760px;
  padding: 34px 0 84px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--harbor-deep);
}

.article-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow-soft);
}

.article-kicker {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--meadow-tint);
  color: var(--meadow-deep);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-head h1 {
  margin: 16px 0 0;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.16;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* quick context lead element (distinct from a summary box) */
.quick-context {
  margin: 28px 0 6px;
  padding: 20px 24px;
  border-left: 5px solid var(--harbor);
  background: var(--harbor-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.qc-label {
  display: block;
  margin-bottom: 6px;
  color: var(--harbor-deep);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.quick-context p {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.72;
}

.article-content {
  margin-top: 30px;
  color: #313a31;
  font-size: 1.06rem;
  line-height: 1.84;
}

.article-content h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  padding-bottom: 9px;
  position: relative;
}

.article-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--meadow), var(--harbor));
}

.article-content h3 {
  margin: 30px 0 10px;
  font-size: 1.25rem;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content a {
  color: var(--harbor-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--harbor);
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--meadow-deep);
  text-decoration-color: var(--meadow);
}

/* themed list: soft leaf-tick markers */
.article-content ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.article-content ul li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--meadow);
  border-bottom: 2px solid var(--meadow);
  transform: rotate(-45deg);
}

.article-content ol {
  margin: 0 0 20px;
  padding-left: 1.3em;
}

.article-content ol li {
  margin-bottom: 9px;
  padding-left: 6px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.article-content blockquote {
  margin: 26px 0;
  padding: 22px 26px;
  border-left: 5px solid var(--meadow);
  background: var(--meadow-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--meadow-deep);
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.6;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.96rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.article-content th,
.article-content td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.article-content th:last-child,
.article-content td:last-child {
  border-right: 0;
}

.article-content tbody tr:last-child td {
  border-bottom: 0;
}

.article-content tbody tr:nth-child(even) td {
  background: #f6f3ea;
}

.article-content th {
  background: var(--harbor-tint);
  color: var(--harbor-deep);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* FAQ + sources */
.faq-section,
.sources-note {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.faq-section h2,
.sources-note h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
  margin-bottom: 10px;
}

.faq-section details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  gap: 0.6em;
  align-items: baseline;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::before {
  content: "+";
  color: var(--harbor);
  font-weight: 800;
  font-family: var(--font-fraunces), serif;
}

.faq-section details[open] summary::before {
  content: "–";
}

.faq-section details p {
  margin: 11px 0 0 1.2em;
  color: var(--ink-soft);
  line-height: 1.72;
}

.sources-note {
  margin-top: 30px;
}

.sources-note p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.74;
}

.article-foot {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--meadow-deep);
  font-weight: 800;
}

.back-link::before {
  content: "←";
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .lead,
  .before-band {
    grid-template-columns: 1fr;
  }

  .lead {
    gap: 32px;
    padding-top: 44px;
  }

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

  .recent-grid {
    grid-template-columns: 1fr;
  }

  .before-band {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .board-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .board-nav {
    gap: 14px 20px;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
