

section[id], h2[id] { scroll-margin-top: 96px; }
.page { position: relative; overflow-x: clip; }
.wrap { width: calc(100% - 2 * var(--gutter)); max-width: var(--container); margin: 0 auto; }

.hdr-right { display: flex; align-items: center; gap: 8px; }
.m-nav { display: none; order: 3; }
.m-nav > summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; border-radius: 8px; }
.m-nav > summary::-webkit-details-marker { display: none; }
.m-bars { display: flex; flex-direction: column; gap: 5px; }
.m-bars i { display: block; width: 20px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease-out), opacity .2s; }
.m-nav[open] .m-bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.m-nav[open] .m-bars i:nth-child(2) { opacity: 0; }
.m-nav[open] .m-bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.m-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: calc(100svh - 96px); overflow: auto; padding: 6px 20px 20px; border-radius: var(--r-sheet); background: var(--surface); box-shadow: var(--sh-menu); }
.m-panel a { display: flex; align-items: center; min-height: 56px; font-size: 17px; border-bottom: 1px solid var(--ink-08); }
.m-panel a.m-cta { margin-top: 20px; justify-content: center; min-height: 52px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--bg); font-weight: 600; font-size: 16px; }
.sd-header { position: relative; }
@media (max-width: 1000px) { .m-nav { display: block; } }
@media (max-width: 640px) { .login-link { display: none; } .sd-header .sd-btn { height: 38px; padding: 0 14px; font-size: 13.5px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: var(--t-small); color: var(--ink-62); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }

.b-hero { position: relative; padding: calc(76px + clamp(28px,5vw,72px)) 0 clamp(36px,4.6vw,64px); }
.b-hero .bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--dawn-base); }
.b-hero .bg i { position: absolute; border-radius: 50%; }
.b-hero .bg .f { left: 10%; top: 30%; width: 90%; height: 26%; transform: rotate(-22deg); background: radial-gradient(closest-side, var(--dawn-flare), rgba(245,165,127,0)); opacity: .75; }
.b-hero .bg .s { right: -12%; top: -10%; width: 50%; height: 80%; background: radial-gradient(closest-side, var(--dawn-sky), rgba(166,194,235,0)); }
.b-hero .bg .fade { left: 0; right: 0; bottom: 0; top: auto; height: 55%; border-radius: 0; background: linear-gradient(180deg, rgba(239,235,226,0), var(--bg) 92%); }
.b-hero .lead { margin-top: clamp(16px,1.8vw,24px); max-width: 52ch; font: 400 clamp(17px,1.4vw,20px)/1.55 var(--f-text); color: var(--ink-74); text-wrap: pretty; }

.cover { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1200 / 630; border-radius: var(--r); background: var(--dawn-base); }
.cover::before { content: ""; position: absolute; z-index: -1; left: var(--fx, -10%); top: var(--fy, 34%); width: 120%; height: 44%; border-radius: 50%; transform: rotate(-22deg); background: radial-gradient(closest-side, var(--dawn-flare), rgba(239,123,71,0)); opacity: var(--fo, .75); }
.cover::after { content: ""; position: absolute; z-index: -1; right: var(--sx, -14%); top: var(--sy, -30%); width: 60%; height: 110%; border-radius: 50%; background: radial-gradient(closest-side, var(--dawn-sky), rgba(166,194,235,0)); }
.cover svg { position: absolute; width: var(--mw, 44%); height: auto; right: var(--mr, -7%); bottom: var(--mb, -26%); color: var(--mc, var(--ink)); transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--ease-out); }
.cover[data-v="b"] { --fx: 20%; --fy: 54%; --sx: 52%; --sy: -40%; --mr: 6%; --mb: auto; --mw: 30%; --rot: 18deg; }
.cover[data-v="b"] svg { top: -22%; }
.cover[data-v="c"] { background: var(--ink); --fx: 4%; --fy: 48%; --fo: .9; --sx: -40%; --mc: var(--paper); --mw: 38%; --mr: 8%; --mb: -30%; --rot: -12deg; }
.cover[data-v="c"]::after { opacity: 0; }
.cover[data-v="d"] { --fx: -30%; --fy: 10%; --sx: -20%; --sy: 30%; --mw: 52%; --mr: auto; --mb: -40%; --rot: 30deg; }
.cover[data-v="d"] svg { left: -10%; }
.cover[data-v="e"] { background: linear-gradient(100deg, #FDF0E6 0%, #F7D2C9 60%, #EAD6D6 100%); --fx: 30%; --fy: 60%; --mw: 26%; --mr: 10%; --mb: 18%; --rot: -8deg; }

.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cover:has(img)::before, .cover:has(img)::after { display: none; }
.cover:has(img) { background: var(--ink); }
.cover:has(img) svg { display: none; }
.card > a:hover .cover > img, .feat > a:hover .cover > img { transform: scale(1.03); }

.tag { display: inline-flex; align-items: center; padding-bottom: 3px; border-bottom: 1.5px solid var(--accent); font: 500 14px/1 var(--f-text); color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font: var(--t-small); color: var(--ink-62); }

.card > a { display: flex; flex-direction: column; height: 100%; }
.card .cover { transition: transform .35s var(--ease-out), box-shadow var(--d-slow) ease; }
.card > a:hover .cover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.card > a:hover .cover svg, .feat > a:hover .cover svg { transform: rotate(calc(var(--rot, 0deg) + 14deg)); }
.card .meta { margin-top: 18px; }
.card h3 { margin: 12px 0 0; font: var(--t-h3); letter-spacing: var(--ls-h3); text-wrap: pretty; transition: color .2s; }
.card > a:hover h3 { color: var(--accent-ink); }
.card time { display: block; margin-top: auto; padding-top: 14px; font: var(--t-caption); color: var(--ink-62); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(36px,4vw,56px) clamp(20px,2.4vw,32px); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .cards { grid-template-columns: 1fr; } }

.i-hero h1 { margin: 16px 0 0; max-width: 16ch; font: var(--t-hero); font-size: clamp(40px,6vw,92px); letter-spacing: var(--ls-hero); text-wrap: balance; }
.i-hero .row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }

.feat { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: var(--split-gap); align-items: center; }
.feat .cover { transition: transform .35s var(--ease-out), box-shadow var(--d-slow) ease; }
.feat > a:hover .cover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.feat h2 { margin: 16px 0 0; font: var(--t-h2); font-size: clamp(30px,3.4vw,50px); letter-spacing: var(--ls-h2); text-wrap: balance; }
.feat h2 a:hover { color: var(--accent-ink); }
.feat .sd-p { margin-top: var(--stack-p); max-width: 46ch; }
.feat .meta { margin-top: 20px; }
.feat .sd-link { margin-top: clamp(24px,2.6vw,32px); }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } }

.list-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.chips { display: flex; gap: 8px; margin: var(--stack-m) calc(-1 * var(--sheet-px)) var(--stack-l); padding: 2px var(--sheet-px); overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; height: 36px; padding: 0 14px; border: 0; background: none; cursor: pointer; font: 500 14px/1 var(--f-text); letter-spacing: 0; text-transform: none; transition: background .2s, color .2s, box-shadow .2s; }
.chips button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.count { font: var(--t-small); color: var(--ink-62); }
.empty { display: none; padding: 48px 0; font: var(--t-h3); color: var(--ink-62); }
.empty.on { display: block; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(56px,6vw,88px); padding-top: 28px; border-top: 1px solid var(--ink-10); }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r); font: 500 14.5px/1 var(--f-text); color: var(--ink-74); }
.pager a:hover { background: var(--bg); color: var(--ink); }
.pager [aria-current] { background: var(--ink); color: var(--bg); }
.pager .txt { padding: 0 16px; box-shadow: inset 0 0 0 1px var(--ink-18); color: var(--ink); }
.pager .off { color: var(--ink-38); box-shadow: inset 0 0 0 1px var(--ink-10); }
@media (max-width: 520px) { .pager .off { display: none; } }

.a-hero h1 { margin: 16px 0 0; max-width: 22ch; font: 600 clamp(34px,4.8vw,68px)/1 var(--f-display); letter-spacing: -.045em; text-wrap: balance; }
.a-hero .tag { margin-top: clamp(22px,2.4vw,32px); }
.a-hero .meta { margin-top: clamp(20px,2.2vw,28px); }
.a-hero .cover { margin-top: clamp(32px,4vw,56px); aspect-ratio: 5 / 2; --mw: 16%; --mr: 5%; --mb: -22%; }
@media (max-width: 640px) { .a-hero .cover { aspect-ratio: 4 / 3; --mw: 30%; } }

.art { display: block; max-width: 760px; margin: 0 auto; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { font: 400 clamp(16.5px,1.3vw,18.5px)/1.65 var(--f-text); color: var(--ink-88); text-wrap: pretty; }
:where(.prose p) { margin: 0; }
.prose .intro { font: 300 clamp(21px,1.9vw,27px)/1.4 var(--f-serif); letter-spacing: -.012em; color: var(--ink); }
.prose h2 { margin: clamp(56px,6vw,88px) 0 0; font: 300 clamp(30px,3.2vw,46px)/1.06 var(--f-serif); letter-spacing: var(--ls-h2); text-wrap: balance; }
.prose h2 + * { margin-top: clamp(18px,2vw,26px); }
.prose h3 { margin: 2em 0 0; font: var(--t-h3); letter-spacing: var(--ls-h3); }
.prose h3 + * { margin-top: 14px; }
.prose a:not(.sd-btn):not(.also) { border-bottom: 1px solid var(--ink-30); transition: color .2s, border-color .2s; }
.prose a:not(.sd-btn):not(.also):hover { color: var(--accent-ink); border-color: var(--accent); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul { margin-bottom: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.prose ul > li { display: flex; gap: 14px; }

.reasons { margin-top: clamp(28px,3vw,40px) !important; }
.reason { display: grid; grid-template-columns: clamp(44px,5vw,72px) minmax(0,1fr); gap: var(--index-gap); padding: clamp(20px,2.4vw,30px) 0; }
.reason .sd-index { padding-top: .1em; }
.reason h3 { margin: 0; }
.reason > div > * + * { margin-top: 12px; }
.reason .signal { margin-top: 14px; }
.signal { margin-top: 14px; }
.signal b { font-style: italic; font-weight: 700; color: var(--ink); }
.signal b::after { content: ":"; margin-right: .3em; }
.signal p { display: inline; margin: 0 !important; }
@media (max-width: 640px) { .reason { grid-template-columns: 1fr; gap: 8px; } }

.also { display: block; margin-top: 2em !important; padding: 18px 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--ink-18); transition: box-shadow .25s, background .25s; }
.also span { display: block; font: 500 14px/1.2 var(--f-text); color: var(--ink-62); }
.also b { display: block; margin-top: 10px; font: 400 clamp(18px,1.5vw,21px)/1.25 var(--f-serif); letter-spacing: -.012em; color: var(--ink); }
.also:hover { background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink-30); }

.module { margin-top: 2em !important; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px 32px; align-items: end; padding: clamp(24px,3vw,36px); border-radius: var(--r-sheet); background: linear-gradient(160deg,#F0EAF8 0%,#CFC6EE 100%); color: var(--ink); position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .4s ease; }
.module::before { content: ""; position: absolute; z-index: -1; left: -14%; bottom: -46%; width: 70%; height: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0)); }
.module:hover { box-shadow: 0 18px 36px -22px rgba(150,130,215,.7); }
.module .mod-tag { display: inline-block; padding-bottom: 3px; border-bottom: 1.5px solid var(--accent); font: 500 14px/1 var(--f-text); color: var(--ink); }
.module h3 { margin: 14px 0 0 !important; max-width: 26ch; font: 300 clamp(24px,2.2vw,32px)/1.1 var(--f-serif); letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 640px) { .module { grid-template-columns: 1fr; } }

.related-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: var(--stack-l); }

.prose ul > li::before { content: ""; flex: none; width: 12px; height: 1.5px; margin-top: .9em; background: var(--accent); }
.prose ol { margin-bottom: 0; padding: 0; list-style: none; counter-reset: ol; display: flex; flex-direction: column; gap: 14px; }
.prose ol > li { display: flex; gap: 12px; counter-increment: ol; }
.prose ol > li::before { content: counter(ol) "."; flex: none; min-width: 1.4em; font: 600 clamp(16.5px,1.3vw,18.5px)/1.65 var(--f-text); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.prose li > p + p { margin-top: 8px; }

.prose blockquote { margin: 2em 0 0; padding: 2px 0 2px clamp(18px,2.2vw,26px); border-left: 3px solid var(--accent); }
.prose blockquote p { font: 300 clamp(22px,2vw,28px)/1.35 var(--f-serif); letter-spacing: -.012em; color: var(--ink); }
.prose blockquote strong { font-weight: inherit; }

.prose figure { margin: 2em 0 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.prose figcaption { margin-top: 10px; font: var(--t-small); color: var(--ink-62); }

.prose .table-wrap { margin-top: 1.6em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; }
.prose th, .prose td { padding: 14px 20px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink-10); font: 400 clamp(15px,1.1vw,16px)/1.5 var(--f-text); color: var(--ink-88); }
.prose thead th { font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.prose td p, .prose th p { margin: 0; font: inherit; color: inherit; }
.prose td strong { color: var(--ink); }

.dawn-bg { position: absolute; inset: 0; pointer-events: none; background: var(--dawn-base); }   
.dawn-bg i { display: none; }
.dawn-bg b { position: absolute; left: 0; right: 0; top: 0; height: 44%; background: linear-gradient(180deg, #FDFCFB 0%, rgba(253,252,251,0) 100%); }

.foot { padding: clamp(48px,6vw,80px) 0 32px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: 32px; }
.foot h4 { margin: 0 0 14px; font: 500 14px/1.2 var(--f-text); color: var(--ink-62); }   
.foot ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font: var(--t-body); }
.foot ul a:hover { color: var(--accent-ink); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink-10); font: var(--t-small); color: var(--ink-62); }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { .card .cover, .cover svg { transition: none; } }
