:root {
  --accent: #1e3a5f;
  --accent-2: #5b7fa8;
  --bg: #f8fafc;
  --ink: #0c1929;
  --font-h: 'Libre Baskerville', Georgia, serif;
  --font-b: 'Public Sans', system-ui, sans-serif;
  --site-w: 880px;
}
body { background: var(--bg); color: var(--ink); font-family: var(--font-b); }
.font-serif, .article-title, .featured-mast h1 { font-family: var(--font-h); }
.article-title { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.12; margin-bottom: 0; }
.article-meta-line { font-size: .9rem; color: #64748b; margin-top: .75rem; }
a { color: var(--accent); }

.container {
  max-width: var(--site-w);
}

.article-lead { font-size: 1.2rem; line-height: 1.75; color: #444; margin-bottom: 1.5rem; }
.longread-body { font-size: 1.0625rem; line-height: 1.8; max-width: 72ch; }
.longread-body h2 { font-family: var(--font-h); margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.article-figure { margin: 2rem 0; border-radius: 8px; overflow: hidden; }
.article-figure img { width: 100%; display: block; background: #ccc; }
.article-figure--wide { margin-left: 0; margin-right: 0; max-width: 100%; }
.caption-muted { font-size: .8rem; color: #888; padding: .5rem 0; }
.article-pullquote { border-left: 4px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; font-family: var(--font-h); font-size: 1.15rem; background: rgba(0,0,0,.03); }
.article-checklist { margin: 1rem 0 1.5rem 1.25rem; }
.article-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.article-table th, .article-table td { border: 1px solid rgba(0,0,0,.12); padding: .6rem .75rem; text-align: left; }
.article-table th { background: rgba(30,58,95,.06); font-family: var(--font-h); }
.article-aside { background: #eef2f7; border-left: 4px solid var(--accent-2); padding: 1rem 1.25rem; margin: 2rem 0; border-radius: 0 8px 8px 0; font-size: .95rem; }
.article-endnote { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.1); font-size: .9rem; color: #666; }
.callout-promo { background: #fff8e6; border: 1px solid #c4a574; padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: .92rem; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; background: transparent; }
#readBar { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s; }
.btn-partner { display: inline-block; background: var(--accent); color: #fff !important; padding: .85rem 1.6rem; border-radius: 6px; text-decoration: none; font-weight: 600; border: none; }
.btn-partner:hover { filter: brightness(1.08); color: #fff; }
.promo-ribbon { background: var(--accent); color: #fff; text-align: center; padding: .5rem; font-size: .85rem; }
.badge-sponsored { display: inline-block; background: var(--accent); color: #fff; padding: .2rem .65rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.promo-disclaimer { margin-top: 2rem; padding: 1.25rem; background: rgba(0,0,0,.04); border-radius: 8px; font-size: .88rem; }
.quiz-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 1.5rem; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.quiz-track { height: 5px; background: #e5e5e5; border-radius: 3px; overflow: hidden; margin: 1rem 0; }
.quiz-fill { height: 100%; background: var(--accent); width: 0; transition: width .25s; }
.quiz-answers { display: grid; gap: .5rem; margin-top: 1rem; }
.quiz-answers button { text-align: left; padding: .85rem 1rem; border: 1px solid rgba(0,0,0,.12); background: var(--bg); border-radius: 8px; cursor: pointer; font: inherit; }
.quiz-answers button:hover { border-color: var(--accent); }
.hidden { display: none !important; }
.legal-panel { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.legal-panel[hidden] { display: none !important; }
.legal-panel-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.legal-panel-box { position: relative; background: #fff; color: #111; max-width: 560px; width: 100%; max-height: 85vh; overflow: auto; padding: 1.75rem; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.legal-panel-close { position: absolute; top: .75rem; right: 1rem; border: none; background: none; font-size: 1.75rem; cursor: pointer; }
.legal-open, .footer-legal-links button { background: none; border: none; color: inherit; cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }

.harbour-footer { background: #eef2f7; padding: 3rem 1rem; }
.harbour-cookie { position: fixed; bottom: 1rem; right: 1rem; max-width: 360px; z-index: 1000; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.header-hero { border-bottom: 1px solid #e2e8f0; }
.site-logo { font-family: var(--font-h); }

/* Equal-height Bulma cards */
.columns.is-multiline > .column.is-4 { display: flex; }
.column.is-4 .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.column.is-4 .card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.column.is-4 .card .card-content a {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.column.is-4 .card .card-content a p:last-child {
  margin-top: auto;
}
.featured-box { border-left: 4px solid var(--accent); background: #fff !important; }
.cat-band { background: var(--accent); color: #fff; padding: .4rem 1rem; border-radius: 4px; display: inline-block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.cat-band--family { background: #2c5282; }
.cat-band--work { background: #4a5568; }
.cat-band--planning { background: #553c9a; }
.harbour-card { transition: box-shadow .2s; width: 100%; }
.harbour-card:hover { box-shadow: 0 8px 24px rgba(30,58,95,.12); }
.quiz-theme-harbour { border-left: 4px solid var(--accent); padding-left: 1.25rem; }
.quiz-dots { display: flex; gap: .5rem; margin: 1rem 0; }
.quiz-dot { width: .65rem; height: .65rem; border-radius: 50%; background: #cbd5e1; }
.quiz-dot.is-active, .quiz-dot.is-done { background: var(--accent); }
.quiz-answer-btn--harbour { display: block; width: 100%; text-align: left; padding: .85rem 1rem; margin: .4rem 0; border: 1px solid #cbd5e1; background: #fff; border-radius: 4px; cursor: pointer; font-family: var(--font-h); }
.quiz-answer-btn--harbour:hover { border-color: var(--accent); background: #f8fafc; }
.quiz-result--harbour { border-left: 4px solid var(--accent); padding: 1.25rem 1.25rem 1.25rem 1.5rem; background: #f8fafc; }
.quiz-result-quote { font-family: var(--font-h); font-size: 1.05rem; margin: 0 0 1rem; border: none; padding: 0; }

/* Equal-height homepage article cards */
.home-card img, .card-editorial img, .harbour-card img, .path-card-item img, .method-card img,
.card-editorial-img, .card-img-top, .home-article-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; display: block; }
.home-cards, .path-card-grid, .method-grid, .columns.is-multiline, .row.g-4 { align-items: stretch; }
.home-card, .card-editorial, .harbour-card, .path-card-item, .method-card, .home-article-card,
.column.is-4, .col-md-6.col-lg-4 { display: flex; flex-direction: column; }
.home-card > a, .card-editorial > a, .method-card > a, .home-article-card { display: flex; flex-direction: column; flex: 1; height: 100%; text-decoration: none; color: inherit; }
.home-card-body, .card-editorial .p-3, .harbour-card .p-3, .path-card-item > div, .method-card-body, .home-article-card > div:last-child, .card-body { flex: 1; display: flex; flex-direction: column; }
.home-card h3, .home-card-body h3, .card-editorial h3, .card-editorial .title, .harbour-card .has-text-weight-semibold,
.path-card-item strong, .method-card h2, .home-article-card h3, .card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-card-body p, .card-editorial p, .harbour-card .is-size-7, .path-card-item em, .method-card p, .home-article-card p, .card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }

