:root {
  --accent: #0d9488;
  --accent-2: #5eead4;
  --bg: #f0f9f9;
  --ink: #0f2f2f;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Work Sans', system-ui, sans-serif;
}
body { background: var(--bg); color: var(--ink); font-family: var(--font-b); }
.font-serif, .article-title, .featured-mast h1 { font-family: var(--font-h); }
.featured-mast h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.12; }
.featured-deck { font-size: 1.1rem; color: #555; max-width: 62ch; }
a { color: var(--accent); }
.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: -2vw; margin-right: -2vw; max-width: calc(100% + 4vw); }
.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-endnote { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.1); font-size: .9rem; color: #666; }
.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; }
.card-editorial { transition: transform .2s, box-shadow .2s; }
.card-editorial:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.text-teal{color:#0d9488!important}
.container-nomad{max-width:960px}
.article-shell .article-masthead{border-color:rgba(13,148,136,.15)!important}
.article-breadcrumb a{text-decoration:none}
.article-breadcrumb a:hover{text-decoration:underline}
.featured-shell .container-nomad,.featured-shell .container{max-width:960px}

/* 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; }

