/* ===== Layma article infographics ===== */
.article-body { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.article-body h2 { margin-top: 2.4em; letter-spacing: -.01em; }
.article-body h3 { margin-top: 1.8em; }
.article-body p { margin: 0 0 1.1em; }

/* reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ [data-reveal]{opacity:1 !important; transform:none !important;} *{animation-duration:.001s !important; transition-duration:.001s !important;} }

/* hero block inside article */
.art-hero { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color:#fff; border-radius: 18px; padding: clamp(26px, 4vw, 44px); margin-bottom: 2.2em; position: relative; overflow: hidden; }
.art-hero::after { content:""; position:absolute; inset:auto -40px -70px auto; width: 260px; height: 260px; border-radius:50%; background: radial-gradient(circle, rgba(200,168,100,.35), transparent 65%); pointer-events:none; }
.art-hero .kicker { display:inline-block; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color: var(--brass-soft); border:1px solid rgba(200,168,100,.5); border-radius:999px; padding:.35em 1em; margin-bottom:1em; }
.art-hero p.sub { color: rgba(255,255,255,.85); max-width: 62ch; margin:.6em 0 0; }
.chips { display:flex; flex-wrap:wrap; gap:.5em; margin-top:1.2em; }
.chip { font-size:.8rem; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); padding:.3em .9em; border-radius:999px; }

/* stat counters */
.stat-row { display:grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 14px; margin: 2em 0; }
.stat { background: var(--surface); border:1px solid var(--line); border-radius:14px; padding: 18px 16px; text-align:center; box-shadow: 0 1px 0 rgba(28,27,23,.04); }
.stat-num { font-size: clamp(1.7rem,3.4vw,2.4rem); font-weight:700; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-suf { font-size: 1.1rem; color: var(--brass); font-weight:600; margin-left:.15em; }
.stat em { display:block; font-style:normal; color: var(--muted); font-size:.86rem; margin-top:.35em; }

/* horizontal bars */
.bar-chart { list-style:none; margin:1.6em 0; padding:0; }
.bar-chart li { display:grid; grid-template-columns: minmax(110px,22%) 1fr auto; align-items:center; gap:12px; padding:.55em 0; border-bottom:1px dashed var(--line); }
.bar-chart .bl { color: var(--ink); font-weight:600; font-size:.92rem; }
.bar-track { height: 14px; background: var(--bg-warm); border-radius:999px; overflow:hidden; }
.bar-fill { display:block; height:100%; width:0; border-radius:999px; background: linear-gradient(90deg, var(--accent), #177f72); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.bar-alt .bar-fill { background: linear-gradient(90deg, var(--brass), #d97e2e); }
.rv-in .bar-fill, .bar-chart.on .bar-fill { width: var(--w); }
.bar-val { font-size:.85rem; color:var(--muted); min-width: 4.5em; text-align:right; font-variant-numeric: tabular-nums; }

/* donut */
.donut-wrap { display:grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 26px; align-items:center; margin:1.8em 0; }
@media(max-width:640px){ .donut-wrap{grid-template-columns:1fr;} }
.donut { aspect-ratio:1; border-radius:50%; background: conic-gradient(var(--bg-warm) 0turn); position:relative; box-shadow: 0 10px 30px rgba(28,27,23,.08); }
.donut::before { content:""; position:absolute; inset:16%; background: var(--surface); border-radius:50%; box-shadow: inset 0 1px 4px rgba(28,27,23,.07); }
.donut b { position:absolute; inset:0; display:grid; place-items:center; z-index:1; font-size:1.15rem; color: var(--ink); font-weight:700; }
.legend { list-style:none; margin:0; padding:0; }
.legend li { display:flex; gap:.6em; align-items:baseline; padding:.45em 0; border-bottom:1px solid var(--line); font-size:.95rem; }
.legend i { width:.85em; height:.85em; border-radius:3px; flex:none; transform: translateY(.08em); }
.legend strong { margin-left:auto; font-variant-numeric: tabular-nums; color: var(--ink); }

/* timeline */
.timeline { list-style:none; margin:1.8em 0; padding:0 0 0 26px; position:relative; }
.timeline::before { content:""; position:absolute; left:7px; top:6px; bottom:6px; width:2px; background: var(--line-strong); transform-origin:top; transform:scaleY(0); transition: transform 1s ease .15s; }
.tl-shown.timeline::before { transform:scaleY(1); }
.timeline li { position:relative; padding:0 0 1.5em 18px; }
.timeline li::before { content:""; position:absolute; left:-26px; top:6px; width:16px; height:16px; border-radius:50%; background: var(--surface); border:3px solid var(--accent); }
.timeline .t-day { font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; color: var(--brass); font-weight:700; }
.timeline h4 { margin:.25em 0 .35em; font-size:1.05rem; color: var(--ink); }
.timeline p { margin:0; color: var(--muted); font-size:.95rem; }

/* comparison table */
.tbl-scroll { overflow-x:auto; margin:1.6em 0; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
table.cmp { width:100%; border-collapse:collapse; min-width: 560px; font-size:.93rem; }
table.cmp th { text-align:left; background: var(--surface-alt); color: var(--ink); padding:.8em 1em; border-bottom:1px solid var(--line-strong); font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; }
table.cmp td { padding:.8em 1em; border-bottom:1px solid var(--line); vertical-align:top; }
table.cmp tr:last-child td { border-bottom:none; }
table.cmp tbody tr { transition: background .25s ease; }
table.cmp tbody tr:hover { background: #FBF8F1; }
td.good { color: var(--accent); font-weight:600; } td.bad { color: var(--brass); font-weight:600; }

/* checklist */
.check { list-style:none; margin:1.4em 0; padding:0; }
.check li { position:relative; padding:.55em 0 .55em 2.1em; border-bottom:1px dashed var(--line); }
.check li::before { content:"✓"; position:absolute; left:.3em; top:.5em; width:1.35em; height:1.35em; border-radius:50%; background: var(--accent); color:#fff; display:grid; place-items:center; font-size:.8em; }

/* callouts & quotes */
.callout { border-left: 4px solid var(--brass); background: var(--surface-alt); border-radius: 0 14px 14px 0; padding: 1.1em 1.4em; margin: 1.8em 0; }
.callout h4 { margin:0 0 .4em; color: var(--ink); }
.pull { border:none; margin:1.8em 0; padding: 0 0 0 1.2em; border-left:3px solid var(--accent-deep); font-size:1.25rem; line-height:1.5; color: var(--ink); font-weight:600; }

/* figures */
.artfig { margin: 1.8em 0; }
.artfig img { width:100%; border-radius:14px; border:1px solid var(--line); }
.artfig figcaption { color: var(--muted-2); font-size:.85rem; margin-top:.5em; text-align:center; }
.fig-pair { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media(max-width:640px){ .fig-pair{grid-template-columns:1fr;} }

/* faq accordion */
details.faq { border:1px solid var(--line); border-radius:12px; background:var(--surface); margin:0 0 .8em; overflow:hidden; }
details.faq summary { cursor:pointer; list-style:none; padding:1em 1.2em; font-weight:600; color:var(--ink); display:flex; justify-content:space-between; gap:1em; }
details.faq summary::-webkit-details-marker{display:none;}
details.faq summary::after { content:"+"; color:var(--brass); font-size:1.3em; transition:transform .3s ease; }
details.faq[open] summary::after { transform:rotate(45deg); }
details.faq .faq-b { padding:0 1.2em 1.1em; color: var(--muted); }

/* route chain */
.route { display:flex; flex-wrap:wrap; align-items:center; gap:.4em; margin:1.4em 0; }
.route span { background:var(--surface); border:1px solid var(--line-strong); border-radius:999px; padding:.45em 1.1em; font-size:.9rem; font-weight:600; color:var(--ink); }
.route i { color:var(--brass); font-style:normal; }

/* CTA */
.cta-box { background: linear-gradient(135deg,var(--accent-deep),var(--accent)); color:#fff; border-radius:18px; padding: clamp(22px,3.5vw,38px); margin:2.4em 0 1em; display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; align-items:center; }
.cta-box h3 { margin:0 0 .3em; color:#fff; }
.cta-box p { margin:0; color:rgba(255,255,255,.8); max-width:52ch; }
.cta-actions { display:flex; gap:12px; flex-wrap:wrap; }
.cta-btn { display:inline-block; padding:.8em 1.5em; border-radius:999px; font-weight:600; text-decoration:none; }
.cta-btn.solid { background:var(--brass-soft); color:#241a05; }
.cta-btn.line { border:1px solid rgba(255,255,255,.5); color:#fff; }

/* ---------- anchors & front-page latest carousel ---------- */
html{scroll-behavior:smooth;scroll-padding-top:92px}
.latest{padding:96px 0 110px;background:#F6F1E5;border-top:1px solid #E7E1D3}
.latest .container{max-width:1180px}
.lc-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:36px}
.lc-head h2{margin:8px 0 8px;font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.01em;font-size:clamp(26px,3.2vw,36px);color:#1C1B17}
.lc-sub{margin:0;color:#6B6455;max-width:48ch;line-height:1.55;font-size:15px}
.lc-tools{display:flex;align-items:center;gap:10px;flex:none}
.lc-all{padding:11px 18px;border:1px solid #CFC7B4;border-radius:999px;color:#1C1B17;font-weight:600;font-size:14px;text-decoration:none;transition:.2s;white-space:nowrap}
.lc-all:hover{border-color:#0E5B52;color:#0E5B52}
.lc-btn{width:44px;height:44px;border-radius:50%;border:1px solid #CFC7B4;background:transparent;color:#1C1B17;font-size:17px;line-height:1;cursor:pointer;transition:.2s}
.lc-btn:hover:not(:disabled){background:#0E5B52;border-color:#0E5B52;color:#fff}
.lc-btn:disabled{opacity:.3;cursor:default}
.lc-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 4px 24px;scrollbar-width:none}
.lc-track::-webkit-scrollbar{display:none}
.lc-card{position:relative;flex:0 0 clamp(280px,29%,375px);display:flex;flex-direction:column;background:#FBF8F1;border:1px solid #E2DACA;border-radius:20px;overflow:hidden;text-decoration:none;scroll-snap-align:start;box-shadow:0 6px 18px rgba(20,40,35,.06);transition:transform .45s cubic-bezier(.2,.7,.3,1),box-shadow .45s ease,border-color .3s}
.lc-card:hover{transform:translateY(-6px);border-color:#0E5B52;box-shadow:0 18px 40px rgba(20,40,35,.14)}
.lc-media{display:block;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#EFE7D8,#E8E0D2)}
.lc-media img{width:100%;height:100%;object-fit:cover;transform:scale(1.02);transition:transform .55s cubic-bezier(.2,.7,.3,1)}
.lc-card:hover .lc-media img{transform:scale(1.08)}
.lc-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.lc-body time{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:#8A8271}
.lc-body h3{margin:0;font-family:Georgia,'Times New Roman',serif;font-weight:600;font-size:19px;line-height:1.32;color:#1C1B17;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}
.lc-card:hover .lc-body h3{color:#0E5B52}
.lc-more{margin-top:auto;font-size:14px;font-weight:600;color:#0E5B52}
@media(max-width:680px){.latest{padding:64px 0 76px}.lc-head{flex-direction:column;align-items:stretch}.lc-tools{justify-content:space-between}.lc-card{flex-basis:min(78vw,340px)}}
/* ==== blog grid v1.2 (page /blog/) ==== */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
@media(max-width:980px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.blog-grid{grid-template-columns:1fr}}
.b-card{background:#FBF8F1;border:1px solid var(--line,#e6ddcf);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.b-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(23,49,38,.12)}
.b-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#efe9dd}
.b-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.b-card:hover .b-media img{transform:scale(1.045)}
.b-media-ph{position:absolute;inset:0;background:linear-gradient(135deg,#173126 0%,#2c5544 60%,#c8863c 130%)}
.b-chip{position:absolute;top:12px;left:12px;background:rgba(23,49,38,.86);color:#F6F1E7;font-size:12px;line-height:1;padding:7px 11px;border-radius:999px;letter-spacing:.02em}
.b-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:9px;flex:1}
.b-date{font-size:12px;color:var(--muted,#7c7365);letter-spacing:.04em}
.b-title{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.32}
.b-title a{color:#1d2b22;text-decoration:none}
.b-title a:hover{color:#2c5544}
.b-lead{margin:0;font-size:14.5px;line-height:1.55;color:#4c564d;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.b-more{margin-top:auto;align-self:flex-start;color:#2c5544;font-weight:600;font-size:14px;text-decoration:none;border-bottom:1px solid rgba(44,85,68,.35);padding-bottom:2px}
.b-more:hover{color:#c8863c;border-color:rgba(200,134,60,.5)}
@media(max-width:640px){.b-title{font-size:18px}.b-body{padding:15px 16px 17px}}
