
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.bwrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.lang-switch a { padding: 5px 9px; border-radius: 7px; text-decoration: none; color: var(--gray); font-size: 13px; font-weight: 600; }
.lang-switch a.is-active { color: var(--ink); background: var(--sand); }
/* mobile panel: keep NL / EN as inline pills. The blog's lang links are <a>,
   so the broad `.mobile-nav nav a` rule (from the shared shell) would otherwise
   turn them into full-width stacked rows. Override with matching specificity. */
.mobile-nav .lang-switch--mobile { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 0 14px; }
.mobile-nav .lang-switch--mobile a { flex: 0 0 auto; padding: 5px 11px; border-bottom: 0; font-size: 14px; }
.nav a.is-active, .mobile-nav a.is-active { opacity: 1; color: var(--teal); }

/* ---- List page ---- */
.blist__head { padding: 56px 0 8px; }
.blist__head h1 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 44px); margin: 0 0 8px; }
.blist__head p { color: var(--gray); margin: 0 0 32px; max-width: 60ch; }
.bcards { display: grid; gap: 28px; padding-bottom: 72px; }
.bcard { display: grid; grid-template-columns: 220px 1fr; gap: 24px; text-decoration: none; color: inherit; padding: 20px; border-radius: var(--radius-lg, 16px); transition: background .2s; }
.bcard:hover { background: var(--surface-card); box-shadow: var(--shadow-md, 0 6px 24px rgba(21,38,43,.08)); }
.bcard__thumb { width: 220px; height: 148px; border-radius: 12px; overflow: hidden; background: var(--teal-deep); position: relative; flex: none; }
.bcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bcard__thumb .swl-mark { position: absolute; right: 10px; bottom: 10px; color: var(--gold); opacity: .9; }

/* ---- Animated cover illustrations, unique per post ---- */
.bcover { width: 100%; height: 100%; }
.bcover__scene { width: 100%; height: 100%; display: block; }

.bcover__bird { animation: bcoverFly 9s linear infinite; }
@keyframes bcoverFly {
  0%   { transform: translate(-16px, 62px) scale(0.9) rotate(-4deg); opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translate(60px, 26px) scale(1.2) rotate(3deg); }
  92%  { opacity: 1; }
  100% { transform: translate(136px, 14px) scale(0.9) rotate(-4deg); opacity: 0; }
}

.bcover__pulse { transform-box: fill-box; transform-origin: center; animation: bcoverPulse 2.4s ease-in-out infinite; }
@keyframes bcoverPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.bcover__warn { animation: bcoverWarn 2s ease-in-out infinite; }
@keyframes bcoverWarn { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.55; } }

.bcover__flame { transform-box: fill-box; transform-origin: bottom center; animation: bcoverFlame 1.4s ease-in-out infinite; }
@keyframes bcoverFlame { 0%, 100% { transform: scaleY(1) scaleX(1); } 50% { transform: scaleY(1.15) scaleX(0.9); } }

.bcover__flow { stroke-dasharray: 140; stroke-dashoffset: 140; animation: bcoverDraw 3s ease-in-out infinite; }
@keyframes bcoverDraw { 0% { stroke-dashoffset: 140; } 60%, 100% { stroke-dashoffset: 0; } }

.bcover__flag { transform-box: fill-box; transform-origin: left center; animation: bcoverFlag 2.2s ease-in-out infinite; }
@keyframes bcoverFlag { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(6deg); } }
.bcover__sun { animation: bcoverFloat 5s ease-in-out infinite; }
@keyframes bcoverFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

.bcover__wheel { transform-box: fill-box; transform-origin: center; animation: bcoverMill 8s linear infinite; }
@keyframes bcoverMill { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.bcover__plane1 { animation: bcoverPlane 4s linear infinite; }
.bcover__plane2 { animation: bcoverPlane 4s linear infinite 2s; }
@keyframes bcoverPlane {
  0%   { transform: translate(6px, 60px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(110px, 30px); opacity: 0; }
}

.bcover__beam { transform-box: fill-box; transform-origin: left center; animation: bcoverBeam 5s linear infinite; }
@keyframes bcoverBeam { from { transform: rotate(-25deg); } to { transform: rotate(335deg); } }

.bcover__sand { animation: bcoverSand 3s ease-in-out infinite; }
.bcover__sandfall { stroke-dasharray: 10; animation: bcoverSandfall 1s linear infinite; }
@keyframes bcoverSand { 0%, 100% { opacity: 0.8; } 50% { opacity: 0.3; } }
@keyframes bcoverSandfall { from { stroke-dashoffset: 10; } to { stroke-dashoffset: 0; } }

.bcover__seasonsun { animation: bcoverSeason 6s ease-in-out infinite; offset-path: path('M20,52 a24,24 0 0,1 48,0'); }
@keyframes bcoverSeason { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }

.bcover__puzzle { animation: bcoverPuzzle 3s ease-in-out infinite; }
@keyframes bcoverPuzzle { 0%, 20% { transform: translate(66px, 40px); opacity: 0.4; } 60%, 100% { transform: translate(46px, 40px); opacity: 1; } }

.bcover__block1 { animation: bcoverRise 3s ease-in-out infinite; }
.bcover__block2 { animation: bcoverRise 3s ease-in-out infinite .3s; }
.bcover__block3 { transform-box: fill-box; transform-origin: bottom center; animation: bcoverBlock3 3s ease-in-out infinite; }
@keyframes bcoverRise { 0%, 100% { opacity: 1; } }
@keyframes bcoverBlock3 { 0%, 30% { transform: translateY(14px); opacity: 0; } 60%, 100% { transform: translateY(0); opacity: 1; } }

.bcover__boat1 { animation: bcoverBoat 4s ease-in-out infinite; }
.bcover__boat2 { animation: bcoverBoat 4s ease-in-out infinite .5s; }
@keyframes bcoverBoat { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(0, -2px) rotate(-2deg); } }

.bcover__branch { stroke-dasharray: 20; stroke-dashoffset: 20; animation: bcoverGrow 3s ease-out infinite; }
.bcover__branch--r { animation-delay: .3s; }
@keyframes bcoverGrow { 0% { stroke-dashoffset: 20; } 50%, 100% { stroke-dashoffset: 0; } }
.bcover__leaf { animation: bcoverLeaf 3s ease-in-out infinite; opacity: 0; }
@keyframes bcoverLeaf { 0%, 40% { opacity: 0; transform: scale(0); } 70%, 100% { opacity: 0.8; transform: scale(1); } }

.bcover__cart { animation: bcoverCart 4s linear infinite; }
@keyframes bcoverCart { 0% { transform: translateX(0); } 100% { transform: translateX(112px); } }

@media (prefers-reduced-motion: reduce) {
  .bcover__bird, .bcover__pulse, .bcover__warn, .bcover__flame, .bcover__flow, .bcover__flag, .bcover__sun,
  .bcover__wheel, .bcover__plane1, .bcover__plane2, .bcover__beam, .bcover__sand, .bcover__sandfall,
  .bcover__seasonsun, .bcover__puzzle, .bcover__block1, .bcover__block2, .bcover__block3, .bcover__boat1,
  .bcover__boat2, .bcover__branch, .bcover__leaf, .bcover__cart { animation: none; }
}

.bpost__cover.bcover-wrap { width: 100%; height: 360px; border-radius: 16px; overflow: hidden; margin-bottom: 40px; }
.bcard__eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 6px; }
.bcard h2 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 8px; }
.bcard p { color: var(--gray); margin: 0; font-size: 15px; }
@media (max-width: 620px) {
  .bcard { grid-template-columns: 1fr; }
  .bcard__thumb { width: 100%; height: 180px; }
}

/* ---- Single post ---- */
.bpost__hero { padding: 48px 0 0; }
.bpost__eyebrow { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 12px; }
.bpost__hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 48px); line-height: 1.12; margin: 0 0 16px; }
.bpost__meta { color: var(--gray); font-size: 14px; margin-bottom: 32px; }
.bpost__cover { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; margin-bottom: 40px; }
.bpost__body { font-size: 18px; padding-bottom: 80px; }
.bpost__body h2 { font-family: var(--font-serif); font-size: 28px; margin: 44px 0 16px; }
.bpost__body h3 { font-family: var(--font-serif); font-size: 22px; margin: 32px 0 12px; }
.bpost__body p { margin: 0 0 20px; }
.bpost__body ul, .bpost__body ol { margin: 0 0 20px; padding-left: 22px; }
.bpost__body li { margin-bottom: 8px; }
.bpost__body a { color: var(--teal-deep); text-decoration: underline; }
.bpost__cta { background: var(--teal-deep); color: #fff; border-radius: 16px; padding: 32px; margin: 48px 0; text-align: center; }
.bpost__cta h3 { font-family: var(--font-serif); font-size: 24px; margin: 0 0 8px; color: #fff; }
.bpost__cta p { color: var(--teal-100); margin: 0 0 20px; }
.bpost__cta a { display: inline-block; background: var(--gold); color: var(--teal-ink); font-weight: 700; padding: 12px 24px; border-radius: 10px; text-decoration: none; }

/* ---- Footer ---- */
.bftr { border-top: 1px solid var(--sand-line); padding: 32px 0; color: var(--gray); font-size: 14px; }
.bftr__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.bftr .footer__made a { color: inherit; border-bottom-color: currentColor; }

/* ---- Swallow reading-progress flight ---- */
.bflight { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--sand-line); z-index: 50; }
.bflight__bar { height: 100%; width: 0%; background: var(--gold); transition: width .05s linear; }
.bflight__bird { position: fixed; top: 6px; left: 0; width: 22px; height: 14px; color: var(--gold); z-index: 51; transform: translateX(-50%); transition: left .05s linear; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bflight__bird { transition: none; } }
