/* The public channel uses a quiet, image-led layout with a persistent reading sidebar. */
@property --bg{syntax:"<color>";inherits:true;initial-value:#fff}
@property --surface{syntax:"<color>";inherits:true;initial-value:#fff}
@property --text{syntax:"<color>";inherits:true;initial-value:#111}
@property --muted{syntax:"<color>";inherits:true;initial-value:#666}
@property --subtle{syntax:"<color>";inherits:true;initial-value:#808080}
@property --line{syntax:"<color>";inherits:true;initial-value:#e7e7e7}
@property --blue{syntax:"<color>";inherits:true;initial-value:#111}
@property --blue-soft{syntax:"<color>";inherits:true;initial-value:#f3f3f3}
@property --on-accent{syntax:"<color>";inherits:true;initial-value:#fff}
@property --dark{syntax:"<color>";inherits:true;initial-value:#111}
@property --teal{syntax:"<color>";inherits:true;initial-value:#777}
@property --theme-track{syntax:"<color>";inherits:true;initial-value:#e3e7dd}
@property --theme-track-border{syntax:"<color>";inherits:true;initial-value:#c4c9bc}
@property --theme-thumb{syntax:"<color>";inherits:true;initial-value:#fffefa}
:root{--theme-track:#e3e7dd;--theme-track-border:#c4c9bc;--theme-thumb:#fffefa}
:root[data-theme=dark]{--theme-track:#eee;--theme-track-border:#eee;--theme-thumb:#171717}
:root{--bg:#fff;--surface:#fff;--text:#111;--muted:#666;--subtle:#808080;--line:#e7e7e7;--blue:#111;--blue-soft:#f3f3f3;--on-accent:#fff;--dark:#111;--teal:#777;--header-height:58px;--channel-gutter:calc(1.25vw + 11.25px);--channel-sidebar-expanded:calc(232px + var(--channel-gutter));--channel-sidebar-rail:calc(52px + var(--channel-gutter));--channel-sidebar-width:var(--channel-sidebar-expanded);--channel-ease:cubic-bezier(.2,.7,.2,1)}
:root[data-theme=dark]{--bg:#171717;--surface:#171717;--text:#eee;--muted:#b6b6b6;--subtle:#999;--line:#353535;--blue:#eee;--blue-soft:#242424;--on-accent:#171717;--dark:#eee;--teal:#aaa}
.channel-site{padding:var(--header-height) 0 0;background:var(--bg);letter-spacing:0}
.channel-site .site-header{position:fixed;inset:0 0 auto;height:var(--header-height);z-index:80;background:var(--surface);border:0}
.channel-site .header-container{width:100%;max-width:none;height:var(--header-height);padding:0 24px;gap:16px;display:flex}
.channel-site .site-title{min-width:138px;max-width:none;flex:0 0 auto}
.channel-site .logo-main{font-size:16px;letter-spacing:-.3px;font-weight:650;color:var(--text)}
.channel-site .logo-sub{font-size:9px;margin-top:2px;letter-spacing:.3px;line-height:1.3}
.channel-site .site-nav{display:none}
.channel-site .menu-toggle{display:inline-flex;width:36px;height:40px;min-width:36px;flex:0 0 36px;position:relative;align-items:center;justify-content:center}
/* The decorative glyph follows the button state; navigation keeps its own motion. */
.channel-site .menu-toggle .menu-button-feedback{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;pointer-events:none;transform-origin:center}
.channel-site .menu-toggle .menu-glyph{position:relative;display:block;width:20px;height:20px}
.channel-site .menu-toggle[data-menu-toggle] .menu-line{position:absolute;left:2px;top:9px;display:block;width:16px;height:2px;border-radius:2px;background:currentColor;transform-origin:center;transition:transform 240ms cubic-bezier(.22,.61,.36,1),opacity 180ms ease}
.channel-site .menu-toggle .menu-line-top{transform:translateY(-5px)}
.channel-site .menu-toggle .menu-line-middle{transform:scaleX(1);opacity:1}
.channel-site .menu-toggle .menu-line-bottom{transform:translateY(5px)}
.channel-site .menu-toggle[aria-expanded=true] .menu-line-top{transform:translateY(0) rotate(45deg)}
.channel-site .menu-toggle[aria-expanded=true] .menu-line-middle{transform:scaleX(.35);opacity:0}
.channel-site .menu-toggle[aria-expanded=true] .menu-line-bottom{transform:translateY(0) rotate(-45deg)}
@media(prefers-reduced-motion:reduce){.channel-site .menu-toggle[data-menu-toggle] .menu-line{transition:none!important}}
.channel-site .header-right{display:flex;align-items:center;gap:10px;margin:0;position:relative;flex:0 0 auto}
.channel-site .header-tools{display:flex;align-items:center;gap:6px;position:relative}
.channel-site .social-icons{display:flex;min-width:0;gap:0}
.channel-site .social-icon{width:36px;height:40px;border-radius:50%;color:var(--muted)}
.channel-site .social-icon svg{width:19px;height:19px}
.channel-site .header-tools>[data-ai-reader]{width:36px;min-width:36px;height:40px;min-height:40px;margin:0;padding:8px;border:0;border-radius:50%;background:transparent;color:var(--muted)}
.channel-site .header-tools>[data-ai-reader] .ai-reader-label{display:none}
.channel-site .theme-switch,.channel-site .header-tools>.theme-switch{min-width:68px;min-height:40px;padding:4px 0;gap:6px}
.channel-site .theme-switch-label{display:inline;font-size:10px}
.channel-site .theme-switch-track{width:42px;height:24px}
.channel-site .theme-switch-thumb{width:16px;height:16px;top:3px;left:3px;transition:transform 220ms var(--channel-ease),background-color 180ms var(--channel-ease)}
.channel-site .theme-switch .theme-switch-track{background:var(--theme-track);border-color:var(--theme-track-border)}
.channel-site .theme-switch .theme-switch-thumb{background:var(--theme-thumb)}
.channel-site .theme-switch[aria-checked=true] .theme-switch-thumb{transform:translateX(18px)}
.channel-site .header-container>.search-inline[data-search-persistent]{position:relative;inset:auto;flex:1 1 300px;min-width:160px;max-width:420px;width:auto;height:40px;margin:0 auto;padding:0 5px 0 15px;border-radius:12px;background:var(--blue-soft);box-shadow:inset 0 0 0 1px transparent;z-index:2;transition:background-color 180ms var(--channel-ease),box-shadow 180ms var(--channel-ease)}
.channel-site .search-inline[data-search-persistent]:focus-within{background:var(--surface);box-shadow:inset 0 0 0 1px var(--subtle),0 3px 14px color-mix(in srgb,var(--text) 5%,transparent)}
.channel-site .search-inline[data-search-persistent] input{padding:8px 0;font-size:14px;line-height:1.5}
.channel-site .search-inline[data-search-persistent] .icon-button{width:34px;flex-basis:34px;height:36px;border-radius:8px}
.channel-site #mobile-nav.channel-sidebar{position:fixed;inset:var(--header-height) auto 0 0;width:var(--channel-sidebar-width);height:calc(100dvh - var(--header-height));max-height:none;padding:12px 12px 16px;display:flex;flex-direction:column;gap:0;overflow-y:auto;overscroll-behavior:contain;background:var(--surface);border:0;box-shadow:none;z-index:75;animation:none;transform:translateX(0);opacity:1;transition:transform 220ms var(--channel-ease),opacity 180ms var(--channel-ease)}
.channel-site .mobile-nav-inner{display:flex;flex-direction:column;width:100%;min-height:0;gap:2px;flex:0 0 auto}
.channel-site .channel-sidebar a{color:var(--text)}
.channel-site .channel-sidebar .mobile-nav-inner>a{display:flex;align-items:center;min-height:40px;padding:9px 10px;gap:15px;border-radius:9px;font-size:14px;font-weight:500;line-height:1.5}
.channel-site .channel-sidebar .mobile-nav-inner>a[aria-current=page]{background:var(--text);color:var(--on-accent);font-weight:600}
.channel-site .channel-sidebar .mobile-nav-inner>a[aria-current=page] :is(.menu-link-icon,.menu-link-arrow){color:inherit}
.channel-site .menu-link-icon{width:20px;height:20px;color:var(--muted)}
.channel-site .menu-link-icon svg{width:20px;height:20px}
.channel-site .menu-link-arrow{opacity:0}
.channel-site .sidebar-section-label{font-size:12px;font-weight:500;color:var(--subtle);padding:26px 12px 10px}
.channel-site .sidebar-categories{display:flex;flex-direction:column;gap:2px}
.channel-site .sidebar-categories a{display:flex;gap:13px;align-items:center;min-height:40px;border-radius:8px;padding:9px 15px;font-size:13px;line-height:1.5}
.channel-site .sidebar-categories a>.sidebar-category-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--teal);opacity:.85}
.channel-site .sidebar-categories a:nth-of-type(3n+2)>.sidebar-category-dot{background:#8f9388}
.channel-site .sidebar-categories a:nth-of-type(3n)>.sidebar-category-dot{background:#a78c70}
.channel-site .sidebar-categories a b,.channel-site .sidebar-categories a small,.channel-site .sidebar-categories a>span:last-child:not(:first-child){margin-left:auto;color:var(--subtle);font-size:11px;font-weight:400}
.channel-site .sidebar-footer{margin:auto 12px 0;padding:20px 3px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted)}
.channel-site .sidebar-footer p{margin-top:8px}
.channel-site .sidebar-footer a{color:var(--muted);display:inline-flex;align-items:center;gap:7px;padding:3px 0}
.channel-site .sidebar-footer svg{width:17px;height:17px}
.channel-site .sidebar-footer .sidebar-footer-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}
.channel-site .sidebar-footer .icp-link,.channel-site .sidebar-footer .sidebar-icp{font-size:10px;display:block;margin-top:8px}
.channel-site .sidebar-footer>div{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.channel-site .sidebar-signature{font-weight:600;color:var(--text)}
.channel-site .sidebar-signature span{font-weight:400;color:var(--subtle)}
.channel-site .main,.channel-site .site-footer{margin-left:var(--channel-sidebar-width);transition:margin-left 220ms var(--channel-ease)}
.channel-site .main{padding:16px 0 64px;min-height:calc(100dvh - var(--header-height) - 130px)}
.channel-site .main>.container{width:100%;max-width:none;padding:0 var(--channel-gutter)}
.channel-site .page-layout{display:block}
.channel-site .page-layout>.sidebar{display:none}
.channel-site .content{width:100%;min-width:0}
.channel-site .panel{border:0;background:transparent;box-shadow:none}
.channel-site .page-heading{padding:14px 0 24px;margin:0}
.channel-site .page-heading h1{font-size:28px;font-weight:650;line-height:1.45;letter-spacing:-.5px}
.channel-site .page-heading>p{font-size:14px;margin-top:8px;max-width:720px;line-height:1.8}
.channel-site .mobile-bottom-nav{display:none}
.channel-site .site-footer{padding:28px 32px;border:0;color:var(--subtle);background:var(--surface);font-size:11px}
.channel-site .site-footer .footer-filing{margin-top:10px}
.channel-site .back-top{border-radius:50%;background:var(--blue-soft);border:0;box-shadow:none;bottom:24px;right:24px;width:40px;height:40px}
.channel-site [data-nav-backdrop]{position:fixed;inset:var(--header-height) 0 0;z-index:70;border:0;padding:0;border-radius:0;background:rgba(18,23,16,.24);backdrop-filter:blur(2px);opacity:0;transition:opacity 180ms var(--channel-ease)}
:root.menu-open .channel-site [data-nav-backdrop],.channel-site [data-nav-backdrop][data-menu-state=open]{opacity:1}

/* Topics remain a horizontal browsing strip, including on narrow screens. */
.channel-topics{display:flex;gap:7px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:0 0 3px;margin:0 0 26px;min-width:0}
.channel-topics::-webkit-scrollbar{display:none}
.channel-topic{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:34px;padding:6px 13px;border-radius:8px;font-size:14px;line-height:1.5;color:var(--text);white-space:nowrap}
.channel-topic[aria-current=page]{background:var(--text);color:var(--on-accent);font-weight:600}
.channel-topic:not([aria-current=page]):hover{background:var(--blue-soft);color:var(--text)}
/* Feature stories use the reference layout without borrowing its content or imagery. */
.channel-feature{position:relative;margin:0 0 30px;border-radius:30px;background:var(--blue-soft);overflow:hidden;isolation:isolate}
.channel-feature-stage{position:relative;min-width:0}
.channel-feature-viewport{overflow:hidden;touch-action:pan-y pinch-zoom}
.channel-feature.carousel-ready .channel-feature-stage{display:flex;align-items:stretch;transition:none!important}
.channel-feature.carousel-ready .channel-slide{flex:0 0 100%;min-width:0}
.channel-feature.carousel-ready .channel-feature-image{user-select:none;-webkit-user-select:none}
.channel-slide{display:grid;grid-template-columns:calc(50% - 20px) 50%;align-items:stretch;gap:20px;min-height:377px;padding:20px}
.channel-feature-copy{min-width:0;padding:20px;display:flex;align-items:flex-start;flex-direction:column}
.channel-feature-author{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-bottom:38px;min-height:46px}
.channel-feature-author>a{display:inline-flex;border-radius:27%}
.channel-feature-author .channel-avatar{width:46px;height:46px}
.channel-avatar,.channel-author-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;border-radius:0;background:transparent;color:#fff;font-size:18px;font-weight:600;overflow:visible}
.channel-avatar img,.channel-author-avatar img{width:100%;height:100%;object-fit:cover}
.channel-feature-kicker{font-size:14px;font-weight:500;color:var(--subtle);line-height:1.5;margin-bottom:8px}
.channel-feature-copy h2{font-size:28px;font-weight:650;line-height:1.12;letter-spacing:-.6px;margin:0 0 16px;overflow-wrap:anywhere}
.channel-feature-summary{font-size:16px;line-height:1.6;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:18px}
.channel-primary-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:9px 19px;border-radius:999px;background:var(--text);color:var(--surface);font-size:13px;font-weight:550;line-height:1.5}
.channel-feature-copy>.channel-primary-link{margin-top:auto}
.channel-primary-link:hover{background:var(--blue);color:var(--on-accent)}
.channel-primary-link svg{width:16px;height:16px}
.channel-feature-image{display:block;position:relative;min-width:0;min-height:300px;overflow:hidden;border-radius:16px;background:#fafafa;align-self:stretch}
.channel-feature-image>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform 450ms var(--channel-ease)}
.channel-feature-image:has([data-editorial-cover]){background:#f8f8fa}
.channel-feature-image>img[data-editorial-cover]{object-fit:contain}
.channel-feature-badge{position:absolute;right:12px;bottom:12px;padding:3px 7px;border-radius:5px;background:rgba(20,25,17,.68);color:#fff;font-size:11px;line-height:1.5}
.channel-feature-controls{position:absolute;left:40px;bottom:40px;width:calc(50% - 70px);height:40px;display:flex;align-items:center;justify-content:flex-end;gap:12px;color:var(--muted);font-size:11px}
.channel-feature-controls [data-feature-counter]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.channel-feature-controls button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:50%;padding:0;background:transparent;color:var(--text);font-size:20px;line-height:1}
.channel-feature-controls button svg{width:18px;height:18px}
.channel-feature-controls button:disabled{opacity:.35;cursor:default}
.channel-video-strip{margin:0 0 34px;padding:0}
.channel-video-strip .section-heading{margin:0 0 16px}
.channel-video-strip h2,.channel-note-section h2{font-size:19px;font-weight:650}
.channel-video-strip .video-empty-state{padding:22px 24px;border:0;border-radius:18px;background:var(--blue-soft);text-align:left}
.channel-video-strip .video-empty-state>svg,.channel-video-strip .video-empty-state>.square-icon{display:none}
.channel-video-strip .video-empty-state h3,.channel-video-strip .video-empty-state h2{font-size:17px}
.channel-video-strip .video-empty-state p{margin:6px 0 0;max-width:none;font-size:13px}
.channel-note-section{margin:0}
.channel-note-section>.section-heading{margin-bottom:20px}
.channel-note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 28px;min-width:0}
.channel-note-card{min-width:0;background:transparent;border:0}
.channel-note-cover,.channel-note-image{display:block;overflow:hidden;aspect-ratio:16/9;border-radius:16px;background:var(--blue-soft);position:relative}
.channel-note-cover img,.channel-note-image img{width:100%;height:100%;object-fit:cover;transition:transform 450ms var(--channel-ease)}
.channel-note-body{display:flex;align-items:flex-start;gap:12px;padding:20px 8px 0}
.channel-note-body>.channel-avatar{width:34px;height:34px;font-size:15px}
.channel-note-copy{min-width:0;flex:1}
.channel-note-copy h3,.channel-note-info h3{font-size:16px;font-weight:600;line-height:1.25;margin:0 0 8px;overflow-wrap:anywhere}
.channel-note-author,.channel-note-meta{font-size:14px;color:var(--muted);line-height:1.65}
.channel-note-meta{margin-top:2px;color:var(--subtle)}
.channel-note-meta .sample-label{display:inline-block;margin-left:4px;font-size:9px!important}
/* Archives and work use the same cover-first reading rhythm. */
.channel-site .post-list,.channel-site .project-list,.channel-site .video-grid,.channel-site .album-grid,.channel-site .media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 28px}
.channel-site .post-card{padding:0;min-width:0;display:flex;flex-direction:column;border:0;border-radius:0;overflow:visible}
.channel-site .channel-post-cover{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:var(--blue-soft);margin-bottom:16px}
.channel-site .channel-post-cover img{width:100%;height:100%;object-fit:cover;transition:transform 450ms var(--channel-ease)}
.channel-site .post-title{font-size:17px;font-weight:600;line-height:1.5;letter-spacing:-.2px;padding:0 3px}
.channel-site .post-meta{font-size:11px;gap:8px;margin-top:10px;padding:0 3px;color:var(--subtle)}
.channel-site .post-summary{margin-top:10px;padding:0 3px;gap:0}
.channel-site .post-summary p{font-size:13px;line-height:1.8;-webkit-line-clamp:2;color:var(--muted)}
.channel-site .post-thumbnail{display:none}
.channel-site .post-card .read-more{font-size:12px;background:transparent;border-radius:0;padding:0 3px;align-self:flex-start;margin-top:14px;color:var(--text)}
.channel-site .post-card .read-more:hover{background:transparent;color:var(--blue)}
.channel-site .load-more-wrap,.channel-site .post-list>.empty-state{grid-column:1/-1}
.channel-site .archive-search,.channel-site .catalog-search{margin-top:16px;background:var(--blue-soft);border:0;border-radius:12px;max-width:680px;min-height:46px;padding:5px 6px 5px 14px}
.channel-site .filter-buttons{border:0;padding-top:0;margin-top:20px;gap:7px}
.channel-site .filter-buttons button,.channel-site .catalog-filters button,.channel-site .video-topic-tab{border:0;border-radius:8px;padding:8px 13px;background:transparent;color:var(--text)}
.channel-site .filter-buttons button[aria-pressed=true],.channel-site .catalog-filters button[aria-pressed=true],.channel-site .video-topic-tab[aria-current=page],.channel-site .video-topic-tab[aria-pressed=true]{background:var(--text);color:var(--on-accent);font-weight:600}
.channel-site :is(.filter-buttons button,.catalog-filters button,.video-topic-tab)[aria-pressed=true] :is(span,svg){color:inherit}
.channel-site .project-card{padding:0;display:flex;flex-direction:column;gap:0;border:0;min-width:0}
.channel-site .project-card>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;margin:0 0 16px;border-radius:16px}
.channel-site .project-card>div{width:100%;padding:0 5px}
.channel-site .project-card h2{font-size:18px;margin-top:8px}
.channel-site .project-card p{font-size:13px;line-height:1.8;margin-top:9px}
.channel-site .project-card .read-more{margin-top:15px;border-radius:999px}
.channel-site .pill{background:var(--blue-soft);color:var(--muted);border-radius:5px;font-size:10px;padding:3px 6px}
.channel-site .album-card{border:0;box-shadow:none;background:transparent;border-radius:0;overflow:visible}
.channel-site .album-card img{width:100%;height:auto;aspect-ratio:16/10;border-radius:16px;object-fit:cover}
.channel-site .album-card>span{padding:13px 5px 0}
.channel-site .video-card{border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
.channel-site .video-cover{border-radius:16px;overflow:hidden}
.channel-site .video-card-body{padding:14px 5px 0}
.channel-site .video-card:hover{border:0;box-shadow:none}
.channel-site .video-topic-card{border:0;background:var(--blue-soft);border-radius:16px;padding:20px}
.channel-site .video-hub{padding:0;margin-top:24px}
.channel-site .video-empty-state{border:0;border-radius:20px;background:var(--blue-soft);padding:36px 24px}
.channel-site .section-panel{padding:0;margin-top:30px}
.channel-site .section-panel>h2{border:0;padding-bottom:0}
.channel-site .video-topic-grid{gap:18px}
.channel-site .article-detail,.channel-site .about-content{max-width:850px;margin:14px auto 0;padding:24px 20px;background:transparent}
.channel-site .article-header h1{font-size:34px;line-height:1.4;letter-spacing:-.7px}
.channel-site .article-body{font-size:17px;line-height:1.95}
.channel-site .article-body pre{border-radius:12px}
.channel-site .article-body blockquote{border-left-width:3px;border-radius:0 12px 12px 0}
.channel-site .article-directory{display:block;margin:24px 0;border:0;border-radius:12px;background:var(--blue-soft);padding:12px 16px}
.channel-site .article-directory summary{cursor:pointer;font-size:14px;font-weight:550;min-height:24px}
.channel-site .article-directory nav{display:flex;flex-direction:column;gap:8px;padding:12px 0 4px;font-size:13px;color:var(--muted)}
.channel-site .next-article{max-width:850px;margin:16px auto 0;background:var(--blue-soft);border-radius:16px;padding:20px}
.channel-site .article-mobile-actions{display:none}
.channel-site .about-intro{border:0;margin-bottom:10px}
.channel-site .media-card{border-radius:16px;overflow:hidden;background:var(--blue-soft)}
/* Suggestions stay attached to search without moving the header or stealing the page. */
.header-search-suggestions{position:absolute;top:calc(100% + 9px);left:0;width:max(100%,380px);max-width:min(500px,calc(100vw - 32px));z-index:95;padding:8px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 40px rgba(19,25,15,.13);max-height:min(530px,calc(100dvh - var(--header-height) - 24px));overflow:auto;overscroll-behavior:contain;opacity:1;transform:translateY(0);transform-origin:top center;transition:opacity 160ms var(--channel-ease),transform 160ms var(--channel-ease)}
.header-search-suggestions[data-search-state=opening],.header-search-suggestions[data-search-state=closing]{opacity:0;transform:translateY(-5px)}
.header-search-heading{font-size:11px;font-weight:500;color:var(--subtle);padding:8px 10px 6px;line-height:1.5}
.header-search-list{padding:0;margin:0;list-style:none;opacity:1;transition:opacity 120ms var(--channel-ease)}
.header-search-list[aria-busy=true]{opacity:.45;pointer-events:none}
.header-search-option{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:11px 12px;min-height:68px;border-radius:9px;color:var(--text);line-height:1.5;transition:background-color 150ms var(--channel-ease),color 150ms var(--channel-ease)}
.header-search-option:hover,.header-search-option[aria-selected=true]{background:var(--blue-soft);color:var(--text)}
.header-search-title{font-size:14px;font-weight:550;overflow-wrap:anywhere}
.header-search-meta{font-size:11px;color:var(--subtle)}
.header-search-excerpt{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.header-search-empty{padding:20px 12px;font-size:13px;line-height:1.8;color:var(--muted)}
.header-search-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:5px;padding:9px 10px 3px;border-top:1px solid var(--line);font-size:10px;line-height:1.6;color:var(--subtle)}
.header-search-all{display:inline-flex;align-items:center;min-height:32px;font-size:12px;color:var(--text)}
/* Small movements signal the next action; surfaces remain steady while reading. */
.channel-site :is(a,button){touch-action:manipulation}
.channel-site :is(.social-icon,.icon-button,.channel-topic,.mobile-nav a,.sidebar-categories a,[data-ai-reader],.theme-switch,.read-more,.channel-primary-link,.dark-button,.blue-button,.load-more,.filter-buttons button,.catalog-filters button,.video-topic-tab){transition:background-color 180ms var(--channel-ease),color 180ms var(--channel-ease),border-color 180ms var(--channel-ease),box-shadow 180ms var(--channel-ease),transform 180ms var(--channel-ease)}
.channel-site :is(.social-icon,.icon-button,.channel-topic,.channel-sidebar a,[data-ai-reader]):hover:not([aria-current=page]){background-color:var(--blue-soft);color:var(--text)}
.channel-site :is(button,.channel-primary-link,.read-more,.channel-topic,.channel-sidebar a):active{transform:scale(.975)}
.channel-site :is(a,button):focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.channel-site :is(.album-card,.project-card,.video-card){transform:none;box-shadow:none;transition:none}
.channel-site :is(.project-card>img,.album-card>img){transition:filter 240ms var(--channel-ease)}
@media(hover:hover) and (pointer:fine){
  .channel-note-card:hover .channel-note-cover img,.channel-site .post-card:hover .channel-post-cover img,.channel-feature-image:hover>img{transform:scale(1.025)}
  .channel-site .project-card:hover>img,.channel-site .album-card:hover>img{filter:brightness(.96)}
  .channel-site .read-more:hover svg,.channel-primary-link:hover svg{transform:translateX(2px)}
}
.channel-site .read-more svg,.channel-primary-link svg{transition:transform 180ms var(--channel-ease)}
.channel-site :is(#channel-dialog,#wechat-dialog,#ai-reader-dialog){opacity:1;transform:translateY(0) scale(1);transition:opacity 180ms var(--channel-ease),transform 180ms var(--channel-ease);border-radius:20px;border-color:var(--line);box-shadow:0 20px 80px rgba(14,20,10,.18)}
.channel-site :is(#channel-dialog,#wechat-dialog,#ai-reader-dialog)[data-dialog-state=opening],.channel-site :is(#channel-dialog,#wechat-dialog,#ai-reader-dialog)[data-dialog-state=closing]{opacity:0;transform:translateY(10px) scale(.985)}
.channel-site :is(#channel-dialog,#wechat-dialog,#ai-reader-dialog)::backdrop{opacity:1;background:rgba(16,21,12,.35);backdrop-filter:blur(4px);transition:opacity 180ms var(--channel-ease)}
.channel-site :is(#channel-dialog,#wechat-dialog,#ai-reader-dialog)[data-dialog-state=opening]::backdrop,.channel-site :is(#channel-dialog,#wechat-dialog,#ai-reader-dialog)[data-dialog-state=closing]::backdrop{opacity:0}
/* Interpolate the inherited palette once, keeping live controls and text in sync. */
:root[data-theme-transition=palette]{transition-property:--bg,--surface,--text,--muted,--subtle,--line,--blue,--blue-soft,--on-accent,--dark,--teal,--theme-track,--theme-track-border,--theme-thumb;transition-duration:360ms;transition-timing-function:cubic-bezier(.25,.1,.25,1)}
:root[data-theme-transition=palette] .channel-site,:root[data-theme-transition=palette] .channel-site *{transition-property:transform,opacity,filter,box-shadow,width,height,max-height!important}
:root[data-theme-transition=palette] .channel-site .theme-switch-thumb{transition:transform 360ms cubic-bezier(.25,.1,.25,1)!important}
:root[data-theme-transition=colors] .channel-site,:root[data-theme-transition=colors] .channel-site *{transition-property:background-color,color,border-color,box-shadow,fill,stroke;transition-duration:360ms;transition-timing-function:cubic-bezier(.25,.1,.25,1)}
:root[data-theme-transition=colors] .channel-site .theme-switch-thumb{transition:transform 360ms cubic-bezier(.25,.1,.25,1),background-color 360ms cubic-bezier(.25,.1,.25,1)}
/* A compact navigation rail keeps the same desktop rhythm at laptop widths. */
@media(min-width:768px){
  .channel-site [data-nav-backdrop]{display:none}
  :root[data-sidebar-collapsed=true]{--channel-sidebar-width:var(--channel-sidebar-rail)}
  :root[data-sidebar-collapsed=true] .channel-site #mobile-nav.channel-sidebar{padding:12px 12px 16px;width:var(--channel-sidebar-rail);overflow:visible;transform:none;pointer-events:auto}
  :root[data-sidebar-collapsed=true] .channel-site .channel-sidebar .mobile-nav-inner>a{width:40px;min-height:40px;padding:9px;gap:0;justify-content:center}
  :root[data-sidebar-collapsed=true] .channel-site .channel-sidebar .menu-link-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  :root[data-sidebar-collapsed=true] .channel-site .channel-sidebar .menu-link-arrow,
  :root[data-sidebar-collapsed=true] .channel-site .sidebar-categories,
  :root[data-sidebar-collapsed=true] .channel-site .sidebar-footer{display:none}
  .channel-site #mobile-nav.channel-sidebar{transition:width 220ms var(--channel-ease)}
}
@media(max-width:1199px) and (min-width:768px){
  :root,:root[data-sidebar-collapsed=false]{--channel-sidebar-width:var(--channel-sidebar-rail)}
  .channel-site .main>.container{padding:0 var(--channel-gutter)}
  .channel-site .header-container{gap:12px;padding:0 24px}
  .channel-site .site-title{min-width:126px}
  .channel-site .header-right{gap:4px}
  .channel-site .header-tools{gap:4px}
  .channel-site .social-icon{width:30px}
  .channel-site .theme-switch,.channel-site .header-tools>.theme-switch{min-width:64px}
  .channel-site .header-container>.search-inline[data-search-persistent]{max-width:424px;flex-basis:300px}
  .channel-feature-copy{padding:20px}
  .channel-feature-copy h2{font-size:28px}
  .channel-slide{min-height:407px}
  .channel-note-grid,.channel-site .post-list,.channel-site .project-list,.channel-site .video-grid,.channel-site .album-grid{gap:44px 24px}
}
@media(min-width:1000px){
  .channel-site .header-container>.search-inline[data-search-persistent]{position:absolute;left:50%;top:9px;transform:translateX(-50%);width:424px;max-width:424px;margin:0}
  .channel-site .header-right{margin-left:auto}
}
@media(min-width:768px) and (max-width:1199px){
  :root.menu-open,:root.menu-open .channel-site{overflow:hidden}
  :root.menu-open .channel-site [data-nav-backdrop]{display:block;opacity:1}
  :root.menu-open .channel-site #mobile-nav.channel-sidebar{width:260px;overflow-y:auto;box-shadow:18px 0 45px #0001}
  :root.menu-open .channel-site .channel-sidebar .mobile-nav-inner>a{width:100%;justify-content:flex-start;padding:9px 10px;gap:15px}
  :root.menu-open .channel-site .channel-sidebar .menu-link-label{position:static;width:auto;height:auto;padding:0;margin:0;clip:auto;overflow:visible;white-space:normal}
  :root.menu-open .channel-site .sidebar-categories{display:flex}
  :root.menu-open .channel-site .sidebar-footer{display:block}
}
@media(max-width:999px) and (min-width:768px){
  .channel-site .header-container{gap:8px;padding:0 16px}
  .channel-site .site-title{min-width:108px}
  .channel-site .logo-main{font-size:15px}
  .channel-site .social-icon{width:27px}
  .channel-site .header-tools>[data-ai-reader]{width:30px;min-width:30px}
  .channel-site .theme-switch-label{display:none}
  .channel-site .theme-switch,.channel-site .header-tools>.theme-switch{min-width:44px}
  .channel-site .header-container>.search-inline[data-search-persistent]{min-width:120px;padding-left:12px}
  .channel-note-grid,.channel-site .post-list,.channel-site .project-list,.channel-site .video-grid,.channel-site .album-grid,.channel-site .media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .channel-slide{display:flex;flex-direction:column;min-height:0;padding:0;gap:20px}
  .channel-feature-image{order:0;min-height:0;aspect-ratio:16/9;width:100%;border-radius:14px}
  .channel-feature-copy{order:1;padding:30px;min-height:336px}
  .channel-feature-author{margin-bottom:16px}
  .channel-feature-copy h2{font-size:28px;line-height:1.1}
  .channel-feature-summary{font-size:16px}
  .channel-feature-controls{left:30px;width:calc(100% - 60px);bottom:30px}
}
/* Share the rail's icon axis and the compact content edge with the header. */
@media(min-width:768px){
  .channel-site .header-container{padding-left:12px;gap:16px}
  .channel-site .menu-toggle{width:40px;min-width:40px;flex-basis:40px}
  .channel-site .site-title{margin-left:calc(2 * var(--channel-gutter) - 16px)}
}
@media(max-width:767px){
  :root{--header-height:112px;--channel-sidebar-width:0px}
  .channel-site .site-header{height:var(--header-height);border-bottom:1px solid var(--line)}
  .channel-site .header-container{height:111px;padding:0 16px 7px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;grid-template-rows:60px 44px;gap:0 8px}
  .channel-site .header-container>.menu-toggle{grid-column:1;grid-row:1;width:34px;min-width:34px}
  .channel-site .site-title{grid-column:2;grid-row:1;min-width:0;max-width:100%}
  .channel-site .logo-main{font-size:17px;line-height:1.2}
  .channel-site .logo-sub{font-size:9px;letter-spacing:0;margin-top:3px}
  .channel-site .header-right{display:contents}
  .channel-site .social-icons{grid-column:3;grid-row:1;justify-self:end;min-width:0;gap:0}
  .channel-site .social-icon{width:40px;height:44px}
  .channel-site .social-icon svg{width:19px;height:19px}
  .channel-site .header-container>.search-inline[data-search-persistent]{grid-column:1/3;grid-row:2;margin:0;justify-self:stretch;align-self:center;min-width:0;max-width:none;width:100%;height:42px;padding:0 0 0 13px;border-radius:11px}
  .channel-site .search-inline[data-search-persistent] input{font-size:16px}
  .channel-site .search-inline[data-search-persistent] .icon-button{width:42px;height:42px;flex-basis:42px}
  .channel-site .header-tools{grid-column:3;grid-row:2;justify-self:end;display:flex;gap:6px;position:static}
  .channel-site .header-tools>[data-ai-reader]{width:40px;min-width:40px;height:42px;min-height:42px}
  .channel-site .theme-switch,.channel-site .header-tools>.theme-switch{min-width:76px;min-height:42px;gap:6px;padding:4px 2px}
  .channel-site .theme-switch-label{font-size:11px}
  .channel-site #mobile-nav.channel-sidebar{width:260px;z-index:75;padding-top:12px;transform:translateX(-100%);opacity:1;box-shadow:16px 0 40px #0001}
  .channel-site #mobile-nav.channel-sidebar[data-menu-state=open]{transform:translateX(0)}
  .channel-site #mobile-nav.channel-sidebar[data-menu-state=opening],.channel-site #mobile-nav.channel-sidebar[data-menu-state=closing]{transform:translateX(-100%)}
  .channel-site .main,.channel-site .site-footer{margin-left:0}
  .channel-site .main{padding:22px 0 44px}
  .channel-site .main>.container{padding:0 24px}
  .channel-site .site-footer{padding:28px 20px}
  :root.menu-open,:root.menu-open .channel-site{overflow:hidden}
  .channel-slide{display:flex;flex-direction:column;min-height:0;padding:0;gap:20px}
  .channel-feature-image{order:0;min-height:0;aspect-ratio:16/9;border-radius:16px;width:100%;background:#fafafa}
  .channel-feature-copy{order:1;padding:18px;min-height:300px}
  .channel-feature-author{margin-bottom:16px;gap:9px;font-size:11px}
  .channel-feature-author .channel-avatar{width:46px;height:46px}
  .channel-feature-copy h2{font-size:22px;line-height:1.2;letter-spacing:-.45px;margin-bottom:14px}
  .channel-feature-kicker{font-size:13px;margin-bottom:8px}
  .channel-feature-summary{font-size:15px;line-height:1.6;margin-bottom:18px;-webkit-line-clamp:2}
  .channel-feature-controls{left:18px;bottom:18px;width:calc(100% - 36px);gap:12px}
  .channel-primary-link{min-height:40px;padding:9px 17px;font-size:13px}
  .channel-note-grid,.channel-site .post-list,.channel-site .project-list,.channel-site .video-grid,.channel-site .album-grid,.channel-site .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}
  .header-search-suggestions{position:fixed;top:calc(var(--header-height) + 8px);left:12px;right:12px;width:auto;max-width:none;max-height:min(480px,calc(100dvh - var(--header-height) - 32px));border-radius:16px}
  .channel-site .article-detail,.channel-site .about-content{padding:12px 0}
}
@media(max-width:599px){
  .channel-site .main{padding-top:20px}
  .channel-site .main>.container{padding:0 16px}
  .channel-site .page-heading{padding:6px 0 22px}
  .channel-site .page-heading h1{font-size:25px}
  .channel-site .page-heading>p{font-size:13px}
  .channel-topics{margin-bottom:26px;gap:5px;margin-right:-16px;padding-right:16px}
  .channel-topic{padding:6px 12px;font-size:13px;min-height:34px}
  .channel-feature{border-radius:22px;margin-bottom:30px}
  .channel-note-grid,.channel-site .post-list,.channel-site .project-list,.channel-site .video-grid,.channel-site .album-grid,.channel-site .media-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .channel-note-body{padding:20px 6px 0;gap:11px}
  .channel-note-cover,.channel-note-image,.channel-site .channel-post-cover,.channel-site .project-card>img,.channel-site .album-card img{border-radius:14px}
  .channel-note-copy h3{font-size:16px}
  .channel-note-section{margin:0}
  .channel-site .section-title,.channel-site .section-heading h2{font-size:19px}
  .channel-site .project-card>div{padding:0 3px}
  .channel-site .project-card h2{font-size:18px}
  .channel-site .video-topic-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .channel-site .video-topic-card{padding:18px}
  .channel-site .video-empty-state{padding:28px 20px}
  .channel-site .video-empty-state p{font-size:13px}
  .channel-site .article-header h1{font-size:27px;letter-spacing:-.5px}
  .channel-site .article-body{font-size:16px;line-height:1.95}
  .channel-site .article-tools{gap:10px}
  .channel-site .font-controls{margin-left:0}
  .channel-site .next-article{padding:16px;flex-wrap:wrap}
  .channel-site .next-article strong{font-size:14px}
  .channel-site .about-intro{align-items:flex-start}
  .channel-site :is(#channel-dialog,#wechat-dialog,#ai-reader-dialog){padding:24px 20px;border-radius:18px}
  .header-search-footer>span{display:none}
}
@media(max-width:380px){
  .channel-site .header-container{padding-left:12px;padding-right:12px;column-gap:5px;grid-template-columns:30px minmax(0,1fr) auto}
  .channel-site .header-container>.menu-toggle{width:30px;min-width:30px}
  .channel-site .logo-main{font-size:16px;letter-spacing:-.5px}
  .channel-site .logo-sub{font-size:8px}
  .channel-site .social-icon{width:32px}
  .channel-site .social-icon svg{width:18px;height:18px}
  .channel-site .header-tools{gap:2px}
  .channel-site .header-tools>[data-ai-reader]{width:36px;min-width:36px}
  .channel-site .theme-switch,.channel-site .header-tools>.theme-switch{min-width:65px;gap:4px}
  .channel-site .theme-switch-label{font-size:10px}
  .channel-site .main>.container{padding:0 12px}
  .channel-topics{margin-right:-12px;padding-right:12px}
  .channel-feature-copy{padding-left:16px;padding-right:16px}
}
/* Keep the mobile home feature compact without clipping longer story titles. */
@media(max-width:767px){
  .page-home .channel-topics{margin-bottom:14px}
  .page-home .channel-feature{margin-bottom:20px}
  .page-home .channel-slide{gap:0}
  .page-home .channel-feature-image{aspect-ratio:21/9}
  .page-home .channel-feature-copy{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:6px 8px;min-height:0;padding:14px}
  .page-home .channel-feature-author{grid-column:1;grid-row:1;min-height:44px;margin:0}
  .page-home .channel-feature-author>a{align-items:center;justify-content:center;width:44px;height:44px}
  .page-home .channel-feature-author .channel-avatar{width:32px;height:32px}
  .page-home .channel-feature-kicker{grid-column:2;grid-row:1;margin:0;font-size:13px;line-height:1.5}
  .page-home .channel-feature-copy h2{grid-column:1/-1;grid-row:2;margin:0;font-size:22px;line-height:1.25;letter-spacing:-.45px}
  .page-home .channel-feature-summary{grid-column:1/-1;grid-row:3;margin:0;font-size:14.5px;line-height:1.55;-webkit-line-clamp:2}
  .page-home .channel-feature-copy>.channel-primary-link{grid-column:1/-1;grid-row:4;justify-self:start;align-self:end;width:max-content;max-width:calc(100% - 104px);min-height:44px;margin-top:2px;padding:10px 16px}
  .page-home .channel-feature-controls{left:auto;right:14px;bottom:14px;width:auto;height:44px;gap:6px}
  .page-home .channel-feature-controls button{flex:0 0 44px;width:44px;height:44px}
}
.channel-identity-footer{margin-top:64px;border-top:1px solid var(--line);padding:40px 0 8px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.channel-identity-footer>div{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:14px;flex:1;min-width:260px;max-width:740px}
.channel-identity-footer .channel-avatar{width:46px;height:46px;grid-column:1;grid-row:1/3}
.channel-identity-footer h2{font-size:20px;font-weight:650;line-height:1.4;grid-column:2;grid-row:1}
.channel-identity-footer p{font-size:14px;color:var(--muted);line-height:1.8;margin-top:8px;grid-column:2;grid-row:2}
.channel-identity-about{font-size:13px;min-height:40px;display:inline-flex;align-items:center;color:var(--muted)}
@media(max-width:599px){.channel-identity-footer{margin-top:48px;padding-top:28px;gap:16px}.channel-identity-footer>div{flex-basis:100%;min-width:0}.channel-identity-footer .channel-primary-link{margin-left:60px}.channel-identity-footer h2{font-size:18px}.channel-identity-footer p{font-size:13px}}
/* Compact supporting sections share the same spacing as the feature cards. */
.channel-video-pending{display:flex;align-items:center;gap:16px;padding:20px 24px;border-radius:18px;background:var(--blue-soft)}
.channel-video-pending-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:var(--surface);color:var(--muted)}
.channel-video-pending-icon svg{width:18px;height:18px}
.channel-video-pending>div{flex:1;min-width:0}
.channel-video-pending h2{font-size:16px;font-weight:600;line-height:1.5}
.channel-video-pending p{font-size:13px;color:var(--muted);line-height:1.75;margin-top:3px}
.channel-video-pending>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;flex:0 0 auto;font-size:12px;font-weight:550;color:var(--text);white-space:nowrap}
.channel-video-pending>a svg{width:15px;height:15px}
.channel-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.channel-section-heading h2{font-size:19px;font-weight:650;line-height:1.5}
.channel-section-heading>a{display:inline-flex;align-items:center;gap:5px;min-height:36px;font-size:12px;color:var(--muted);white-space:nowrap}
.channel-section-heading>a svg{width:15px;height:15px}
.channel-sample-note{font-size:12px;color:var(--subtle);line-height:1.8;margin:18px 0 0}
.channel-feature-controls [data-feature-prev] svg{transform:rotate(180deg)}
@media(max-width:640px){
  .channel-video-pending{gap:10px 12px;padding:18px;align-items:flex-start;flex-wrap:wrap;border-radius:16px}
  .channel-video-pending>div{flex-basis:calc(100% - 48px)}
  .channel-video-pending h2{font-size:15px}
  .channel-video-pending p{font-size:12px;margin-top:4px}
  .channel-video-pending>a{margin-left:48px;min-height:30px}
  .channel-section-heading{margin-bottom:18px;gap:12px}
  .channel-section-heading h2{font-size:18px}
  .channel-sample-note{font-size:11px;margin-top:16px}
}
/* Keep the outgoing page visible while a soft horizontal mask reveals the next document. */
@property --page-reveal-progress{syntax:"<number>";initial-value:0;inherits:false}
@view-transition{navigation:auto}
@keyframes pageReveal{
  from{--page-reveal-progress:0;opacity:1;transform:none}
  to{--page-reveal-progress:1;opacity:1;transform:none}
}
@media(prefers-reduced-motion:no-preference){
  ::view-transition-old(root),::view-transition-new(root){
    animation:pageReveal 600ms cubic-bezier(.35,0,.4,1) both;
    backface-visibility:hidden;
    mix-blend-mode:normal;
  }
  ::view-transition-new(root){
    -webkit-mask-image:linear-gradient(270deg,#000 calc(-70% + 170% * var(--page-reveal-progress)),transparent calc(170% * var(--page-reveal-progress)));
    mask-image:linear-gradient(270deg,#000 calc(-70% + 170% * var(--page-reveal-progress)),transparent calc(170% * var(--page-reveal-progress)));
  }
}
@media(prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* The approved terminal mark has independent light/dark assets and tiny-size geometry. */
.channel-site .site-title{flex-direction:row;align-items:center;gap:8px;min-width:160px;color:var(--text)}
.site-brand-mark{display:block;flex:0 0 34px;width:34px;height:34px}
.site-brand-copy{display:flex;align-items:center;min-width:0}
.channel-site .logo-main{display:block;font-weight:400;line-height:1;letter-spacing:0}
.site-brand-wordmark{display:block;width:118px;height:auto}
.site-brand-mark picture,.site-brand-mark img{width:100%;height:100%}
.channel-site .brand-theme-light{display:block}
.channel-site .brand-theme-dark{display:none}
:root[data-theme=dark] .channel-site .brand-theme-light{display:none}
:root[data-theme=dark] .channel-site .brand-theme-dark{display:block}
.brand-avatar{overflow:visible;border:0;border-radius:0;background:transparent}
.channel-site .article-detail-view .article-byline-avatar,.channel-site .article-detail-view .article-author-avatar{border-radius:27%}
.brand-avatar img{display:block;width:100%;height:100%;object-fit:cover}
@media(min-width:768px) and (max-width:999px){
  .channel-site .site-title{min-width:145px;gap:7px}
  .site-brand-mark{flex-basis:30px;width:30px;height:30px}
  .site-brand-wordmark{width:108px}
}
@media(max-width:767px){
  .channel-site .site-title{min-width:0;gap:7px}
  .site-brand-mark{flex-basis:30px;width:30px;height:30px}
  .site-brand-wordmark{width:108px;max-width:100%}
}
@media(max-width:340px){
  .channel-site .site-title{gap:5px}
  .site-brand-mark{flex-basis:26px;width:26px;height:26px}
  .site-brand-wordmark{width:95px}
}

/* Home: give the feature, recommendations and notes distinct, compact reading groups. */
.page-home .channel-feature{margin-bottom:32px;border-radius:24px}
.page-home .channel-slide{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;min-height:314px;padding:18px}
.page-home .channel-feature-copy{min-height:0;padding:16px 18px}
.page-home .channel-feature-kicker{margin:0 0 8px;font-size:14px;line-height:1.5}
.page-home .channel-feature-copy h2{margin:0 0 12px;font-size:27px;line-height:1.22;letter-spacing:-.5px}
.page-home .channel-feature-summary{margin:0 0 18px;font-size:15px;line-height:1.6;-webkit-line-clamp:2}
.page-home .channel-feature-copy>.channel-primary-link{min-height:44px;max-width:calc(100% - 112px);margin-top:auto}
.page-home .channel-feature-image{min-height:0}
.page-home .channel-feature-controls{left:calc(50% - 122px);bottom:34px;width:94px;height:44px;gap:6px;pointer-events:none}
.page-home .channel-feature-controls button{flex:0 0 44px;width:44px;height:44px;pointer-events:auto}
.page-home .channel-feature:has(.channel-feature-controls[hidden]) .channel-feature-copy>.channel-primary-link{max-width:100%}
.page-home .channel-video-strip{margin-bottom:44px}
.page-home .channel-section-heading{gap:16px;min-height:44px;margin-bottom:18px}
.page-home .channel-section-heading h2{font-size:20px;font-weight:650;line-height:1.45}
.page-home .channel-section-heading>a{min-height:44px}
.page-home .channel-video-grid{gap:32px 28px}
.page-home .video-card-compact .video-card-body{gap:8px;padding:14px 0 0}
.page-home .video-card-compact h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;font-size:16px;font-weight:600;line-height:1.5}
.page-home .video-card-meta{display:flex;align-items:baseline;gap:12px;min-width:0;font-size:12px;line-height:1.6}
.page-home .video-card-meta .video-category{flex:0 0 auto;font-size:12px;color:var(--muted);line-height:inherit}
.page-home .video-card-meta .video-original-author{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--subtle);line-height:inherit}
.page-home .channel-note-grid{gap:32px 28px}
.page-home .channel-note-body{display:block;padding:14px 0 0}
.page-home .channel-note-copy h3{margin:0 0 6px;font-size:17px;font-weight:600;line-height:1.45}
.page-home .channel-note-meta{margin:0;font-size:12px;line-height:1.65}

@media(max-width:999px){
  .page-home .channel-slide{display:flex;flex-direction:column;gap:0;min-height:0;padding:0}
  .page-home .channel-feature-image{order:0;min-height:0;aspect-ratio:21/9;width:100%;border-radius:0}
  .page-home .channel-feature-copy{order:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;align-items:start;gap:8px;min-height:0;padding:22px}
  .page-home .channel-feature-kicker{grid-column:1;grid-row:1;margin:0;font-size:13px}
  .page-home .channel-feature-copy h2{grid-column:1;grid-row:2;display:block;margin:0;font-size:26px;line-height:1.25;overflow-wrap:anywhere}
  .page-home .channel-feature-summary{grid-column:1;grid-row:3;margin:0;font-size:15px;line-height:1.55}
  .page-home .channel-feature-copy>.channel-primary-link{grid-column:1;grid-row:4;justify-self:start;align-self:start;width:max-content;max-width:calc(100% - 112px);min-height:44px;margin-top:10px;padding:10px 16px}
  .page-home .channel-feature-controls{left:auto;right:22px;bottom:22px;width:auto;height:44px;gap:6px}
  .page-home .channel-video-grid,.page-home .channel-note-grid{gap:30px 24px}
}
@media(max-width:767px){
  .page-home .channel-feature{margin-bottom:28px;border-radius:22px}
  .page-home .channel-feature-image{aspect-ratio:24/9}
  .page-home .channel-feature-copy{gap:6px;padding:14px}
  .page-home .channel-feature-copy h2{font-size:22px;line-height:1.3;letter-spacing:-.4px}
  .page-home .channel-feature-summary{font-size:14px;line-height:1.5}
  .page-home .channel-feature-copy>.channel-primary-link{margin-top:6px}
  .page-home .channel-feature-controls{right:14px;bottom:14px}
  .page-home .channel-video-strip{margin-bottom:36px}
  .page-home .channel-section-heading{gap:12px;margin-bottom:16px}
  .page-home .channel-section-heading h2{font-size:18px}
  .page-home .channel-video-grid,.page-home .channel-note-grid{gap:28px 24px}
  .page-home .channel-note-copy h3{font-size:16px}
}

/* Keep secondary tools in a labelled dialog and give mobile search a full row. */
.channel-site .header-more-button{width:40px;min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:var(--muted)}
.channel-site .header-more-button svg{width:21px;height:21px}
.channel-site #header-more-dialog{width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px #0003;overflow:auto}
.channel-site #header-more-dialog::backdrop{background:#0004;backdrop-filter:blur(3px)}
.header-more-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.header-more-heading h2{margin:0;font-size:20px;font-weight:650;line-height:1.4}
.channel-site .header-more-heading button{width:44px;height:44px;border:0;border-radius:10px;background:var(--blue-soft);color:var(--text)}
.header-more-caption{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.6}
.header-more-label{margin:16px 0 6px;padding:14px 12px 0;border-top:1px solid var(--line);color:var(--subtle);font-size:12px}
.header-more-actions{display:flex;flex-direction:column;gap:3px}
.channel-site #header-more-dialog :is(.header-more-actions>a,.header-more-actions>button,.social-icon){display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:44px;height:auto;margin:0;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:var(--text);font:inherit;font-size:14px;line-height:1.5;text-align:left;text-decoration:none}
.channel-site #header-more-dialog :is(.header-more-actions>a,.header-more-actions>button,.social-icon):hover{background:var(--blue-soft)}
.channel-site #header-more-dialog :is(.header-more-actions>a,.header-more-actions>button,.social-icon):focus-visible{outline:2px solid var(--text);outline-offset:2px}
.channel-site #header-more-dialog :is(.header-more-actions,.social-icons) :is(a,button)>svg{width:19px;height:19px;flex:0 0 19px;color:var(--muted)}
.channel-site #header-more-dialog .social-icons{display:flex;flex-direction:column;gap:3px;width:100%;max-width:none}
.channel-site #header-more-dialog :is(.social-icon small,.header-more-actions>a>svg:last-child,.social-icon>svg:last-child:not(:first-child)){margin-left:auto;color:var(--subtle)}
.channel-site #header-more-dialog .social-icon small{font-size:12px;font-weight:400}
@media(max-width:767px){
 .channel-site .header-container>.header-right{display:flex;grid-column:3;grid-row:1;align-self:center;justify-self:end;margin:0;gap:0}
 .channel-site .header-right>.header-tools{display:flex;gap:4px;grid-area:auto;position:static}
 .channel-site .header-tools>.theme-switch{min-width:44px;min-height:44px;padding:4px 0}
 .channel-site .theme-switch-label{display:none}
 .channel-site .header-more-button{width:40px;min-width:40px;height:44px}
 .channel-site .header-container>#header-search[data-search-persistent]{grid-column:1/-1;grid-row:2;width:100%;max-width:none}
}

/* Personal work comes first; recommendations and layout examples keep their own labels. */
.page-home .channel-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0;margin:0 0 10px}
.page-home .channel-intro>p{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;min-width:0;margin:0}
.page-home .channel-intro-author{font-size:15px;font-weight:650;line-height:1.6;color:var(--text)}
.page-home .channel-intro-summary{font-size:14px;font-weight:400;line-height:1.65;color:var(--muted)}
.page-home .channel-intro>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:44px;font-size:13px;color:var(--muted)}
.page-home .channel-intro>a svg{width:15px;height:15px}
.page-home .channel-topics{margin-bottom:22px}
.page-home .channel-feature-image[data-site-project]{border:1px solid var(--line);background:#fff}
.page-home .channel-feature-image[data-site-project]>img{object-fit:contain;transform:none}
.page-home .channel-latest-section{margin-bottom:44px}
.page-home .channel-section-heading>div{min-width:0}
.page-home .channel-section-heading>div>h2{margin:0}
.page-home .channel-section-description{margin:5px 0 0;font-size:13px;line-height:1.65;font-weight:400;color:var(--muted)}
.page-home .channel-section-heading:has(.channel-section-description){align-items:flex-start}
.page-home .channel-section-heading:has(.channel-section-description)>a{flex:0 0 auto;align-self:flex-start}

/* Project evidence uses the actual site interface; the image experiment stays explicitly a sample. */
.page-projects .project-case-primary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;min-width:0;padding:28px;border:1px solid var(--line);border-radius:22px;scroll-margin-top:calc(var(--header-height) + 24px)}
.page-projects .project-case-media{display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:1440/1000;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
.page-projects .project-case-media img{display:block;width:100%;height:100%;object-fit:contain}
.page-projects .project-case-copy{min-width:0}
.page-projects .project-case-status{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin:0;font-size:12px;line-height:1.65;font-weight:400;color:var(--muted)}
.page-projects .project-case-copy h2{margin:8px 0 0;font-size:26px;line-height:1.35;font-weight:650;letter-spacing:-.4px;overflow-wrap:anywhere}
.page-projects .project-case-description{margin:12px 0 0;font-size:15px;line-height:1.8;color:var(--muted)}
.page-projects .project-case-outcomes{display:grid;gap:12px;margin:22px 0 0;padding:0;list-style:none}
.page-projects .project-case-outcomes li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:baseline;min-width:0;margin:0}
.page-projects .project-case-outcomes strong{font-size:14px;font-weight:600;line-height:1.7;color:var(--text)}
.page-projects .project-case-outcomes span{font-size:13px;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}
.page-projects .project-case-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.page-projects .project-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;max-width:100%;padding:10px 17px;border:1px solid var(--text);border-radius:999px;background:var(--text);color:var(--bg);font-size:13px;line-height:1.6;font-weight:600}
.page-projects .project-action-secondary{border-color:var(--line);background:transparent;color:var(--text)}
.page-projects .project-action svg,.page-projects .project-secondary-link svg{flex:0 0 16px;width:16px;height:16px}
.page-projects .project-other-section{margin-top:44px}
.page-projects .project-other-section>h2{margin:0 0 22px;font-size:20px;line-height:1.45;font-weight:650}
.page-projects .project-other-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:36px;align-items:start;min-width:0}
.page-projects .project-case-secondary{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:start;min-width:0}
.page-projects .project-secondary-image{display:block;min-width:0;overflow:hidden;border-radius:14px;background:var(--blue-soft)}
.page-projects .project-secondary-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.page-projects .project-secondary-copy{min-width:0}
.page-projects .project-secondary-copy h3{margin:6px 0 0;font-size:20px;line-height:1.4;font-weight:600}
.page-projects .project-secondary-copy>p:not(.project-case-status){margin:10px 0 0;font-size:13px;line-height:1.8;color:var(--muted)}
.page-projects .project-secondary-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:10px;font-size:13px;line-height:1.6;font-weight:600;color:var(--text)}
.page-projects .project-plans{min-width:0;padding-left:28px;border-left:1px solid var(--line)}
.page-projects .project-plans>h3{margin:0;font-size:14px;font-weight:600;line-height:1.6;color:var(--muted)}
.page-projects .project-plans>ul{display:grid;gap:20px;margin:18px 0 0;padding:0;list-style:none}
.page-projects .project-plans li{margin:0}
.page-projects .project-plans h4{margin:5px 0 0;font-size:17px;font-weight:600;line-height:1.5}
.page-projects .project-plans li>p:not(.project-case-status){margin:8px 0 0;font-size:13px;line-height:1.8;color:var(--muted)}
@media(hover:hover){
  .page-home .channel-intro>a:hover,.page-projects .project-secondary-link:hover{color:var(--text);text-decoration:underline;text-underline-offset:4px}
  .page-projects .project-action-secondary:hover{border-color:var(--text)}
}
@media(max-width:1099px){
  .page-projects .project-case-primary{gap:24px;padding:22px}
  .page-projects .project-case-copy h2{font-size:24px}
}
@media(max-width:999px){
  .page-home .channel-feature-image[data-site-project]{aspect-ratio:16/10}
  .page-projects .project-other-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .page-projects .project-plans{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}
}
@media(max-width:899px){
  .page-projects .project-case-primary{grid-template-columns:minmax(0,1fr);align-items:start}
  .page-projects .project-case-media{aspect-ratio:16/10;max-height:390px}
}
@media(max-width:767px){
  .page-home .channel-intro{align-items:flex-start;gap:14px;margin-bottom:12px}
  .page-home .channel-intro-author{font-size:14px}
  .page-home .channel-intro-summary{font-size:13px}
  .page-home .channel-intro>a{font-size:12px}
  .page-home .channel-topics{margin-bottom:18px}
  .page-home .channel-latest-section{margin-bottom:36px}
  .page-home .channel-section-description{font-size:12px}
}
@media(max-width:599px){
  .page-projects .project-case-primary{gap:22px;padding:16px;border-radius:18px}
  .page-projects .project-case-copy h2{font-size:22px;letter-spacing:-.3px}
  .page-projects .project-case-description{font-size:14px;line-height:1.75}
  .page-projects .project-case-outcomes{gap:14px;margin-top:20px}
  .page-projects .project-case-outcomes li{grid-template-columns:minmax(0,1fr);gap:2px}
  .page-projects .project-case-actions{gap:10px;margin-top:22px}
  .page-projects .project-action{padding:10px 14px}
  .page-projects .project-other-section{margin-top:36px}
  .page-projects .project-other-section>h2{font-size:18px;margin-bottom:18px}
  .page-projects .project-case-secondary{grid-template-columns:minmax(0,1fr);gap:16px}
  .page-projects .project-secondary-image img{aspect-ratio:16/10}
  .page-projects .project-secondary-copy h3{font-size:19px}
}
