/* Content-specific density: no page scaling, hidden sections or smaller touch targets. */
.site-header{min-height:82px;padding-block:12px}
#home-view .hero{min-height:410px;height:min(62vh,510px)}
#home-view .hero-title-panel{padding:22px 26px;max-width:660px}
#home-view .hero h1{font-size:clamp(30px,3vw,44px)}
#home-view .hero-bottom{padding:24px}
#home-view .section-wrap{padding-top:22px;padding-bottom:22px}
#home-view .section-heading,#home-view .community-map-heading{margin-bottom:16px}
#home-view :is(.section-heading h2,.latest-heading h2,.community-map-heading h2,.archive-title h2,.learning h2){font-size:30px;line-height:1.15}
#home-view :is(.section-heading h2,.archive-title h2,.learning h2) br{display:none}
#home-view .tag{padding:4px 10px;font-size:10px}
#home-view .civic-story{padding-block:24px;gap:5%}
#home-view .civic-story h2{font-size:clamp(30px,3vw,40px)}
#home-view .civic-entry-copy>p:not(.eyebrow){margin:12px 0 16px;font-size:14px}
.civic-screen-deck .cs-top{padding:12px 18px}
.civic-screen-deck .cs-window{height:350px;overflow-y:auto}
.civic-screen-deck .cs-screen{padding:14px 18px}
.civic-screen-deck .cs-heading h3{font-size:22px;margin:8px 0}
.civic-screen-deck .cs-heading>p{margin-bottom:10px}
.civic-screen-deck .cs-bottom{padding:9px 18px}
#home-view .latest-updates{padding-block:22px}
#home-view .latest-heading h2{margin:6px 0}
#home-view .latest-heading>div>p{margin:0}
#home-view .latest-heading .eyebrow{margin-bottom:5px}
#home-view .news-all{margin-top:0}
#home-view .news-filters{margin:12px 0}
#home-view .news-image{height:118px}
#home-view .news-card{border-radius:20px}
#home-view .news-card-body{padding:12px 15px}
#home-view .news-card h3{font-size:19px;line-height:1.22;margin-bottom:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#home-view .news-card p{font-size:12px;line-height:1.5;margin-bottom:10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#home-view .news-category{font-size:10px;padding:4px 9px;margin-bottom:7px}
#home-view .news-read{min-height:40px;font-size:12px}
#home-view .community-tools-strip{padding-block:18px!important}
.community-tools-strip>div:first-child{margin-bottom:12px}
.community-tools-strip h2{font-size:25px}
.nc-quick{padding:16px;gap:12px;border-radius:18px}
.nc-quick-grid{gap:14px}
#home-view .purpose.purpose-circle{padding-block:22px}
.purpose-circle .section-meta{margin-bottom:12px}
.purpose-circle .word-reveal{font-size:32px;max-width:1000px;line-height:1.15}
.purpose-orbit-layout{grid-template-columns:140px repeat(3,minmax(0,1fr));gap:24px;margin:16px 0 8px}
.purpose-community{width:140px}
.purpose-pillar h3{font-size:21px;margin-bottom:5px}
.purpose-pillar>svg{width:28px;height:28px;margin-bottom:6px}
#home-view .founder.founder-editorial{grid-template-columns:.55fr 1fr;gap:5%;padding-top:22px}
.founder-editorial .founder-portrait{height:220px}
.founder-editorial h2{font-size:32px;margin:10px 0}
.founder-editorial .founder-copy{padding:0 0 12px}
.founder-editorial .founder-copy>p{line-height:1.5}
.founder-editorial .signature{margin:12px 0}
#home-view .leadership.leadership-auto{padding:10px 0 18px}
.leadership-auto .person{grid-template-columns:72px 1fr;gap:12px}
.leadership-auto .person>div{height:92px}
.leadership-auto .person h3{font-size:14px}
#home-view .community-map-section{padding-block:22px}
#home-view .community-explorer,#home-view .community-map-stage{min-height:320px}
.map-explorer-panel{padding:14px 16px}
#home-view .priority-stage{min-height:230px;gap:16px}
#home-view :is(.priority-image,.priority-visual,.priority-photo){height:230px;min-height:230px}
#home-view .priority-stage>div:first-child img{height:230px}
#home-view .priority-copy{padding:18px;min-height:230px}
#home-view .priority-copy h3{font-size:26px}
#home-view .civic-help{padding-block:18px;gap:24px}
#home-view .service-links>a{padding-block:12px}
#home-view .resource-visual{min-height:0}
#home-view .resource-visual>img{height:220px}
#home-view #resource-list summary{padding:10px 0;font-size:15px}
#home-view #resource-list summary{min-height:40px}
#home-view #resource-list .resource-description{padding-bottom:10px}
#home-view .archive{padding-block:22px}
#home-view .archive-grid{gap:16px;margin-top:16px}
#home-view .archive-grid{margin-bottom:12px}
#home-view .archive-card>div{height:145px;min-height:0}
#home-view .archive-card>p{padding:12px 13px 6px}
#home-view .archive-card strong{font-size:19px}
#home-view .story-tags{padding:0 13px 12px;gap:7px}
#home-view .learning{gap:28px;padding-block:22px}
#home-view .event-list article{padding:12px 0}
#home-view .event-list h3{font-size:18px;margin-block:8px}
#home-view .join{padding-block:22px}
#home-view .join h2{font-size:34px}
#home-view .join h2 br{display:none}
#home-view .join-top{margin-bottom:12px}
#home-view .join-bottom{margin-top:14px}
.site-footer{padding-top:24px;padding-bottom:20px}

/* Integrated app: small metrics, compact rows and useful empty states. */
.product-surface #product-main{padding-top:22px;padding-bottom:32px;min-height:0}
.product-surface h1{font-size:38px;line-height:1.1}
.product-surface h2{font-size:23px}
.product-surface .pagehead{margin-bottom:20px;gap:16px}
.product-surface .pagehead h1{margin-bottom:12px}
.product-surface .pagehead p{line-height:1.5}
.product-surface .product-tabs{padding-block:8px;gap:4px}
.product-surface .product-tabs a{min-height:40px;padding:8px 14px}
.product-surface .grid,.product-surface .split,.product-surface .stack{gap:14px}
.product-surface .card{padding:17px;border-radius:18px}
.product-surface .rowcard{padding:15px 18px;gap:14px}
.product-surface .card h3{font-size:18px}
.product-surface .sectionhead{margin:22px 0 12px}
.product-surface .sectionhead h2{font-size:22px;margin:0}
.product-surface .statsgrid .card{padding:12px 18px}
.product-surface .count{font-size:30px;margin-bottom:3px}
.product-surface .statsgrid small{font-size:12px}
.product-surface .btn{min-height:44px;padding:6px 8px 6px 18px;gap:12px;font-size:12px}
.product-surface .btn>.icon{width:30px;height:30px;padding:7px}
.product-surface .nc-home-shortcut{padding:13px 18px;margin-bottom:16px}
.product-surface .empty{display:grid;grid-template-columns:32px minmax(0,1fr) auto;column-gap:16px;row-gap:5px;align-items:center;padding:20px 18px;text-align:left}
.product-surface .empty>.icon{grid-row:1/3;width:28px;height:28px;margin:0}
.product-surface .empty h2{grid-column:2;font-size:19px;margin:0}
.product-surface .empty p{grid-column:2;max-width:none;margin:0;font-size:13px}
.product-surface .empty>.btn{grid-column:3;grid-row:1/3;margin:0;justify-self:end}
.product-surface .member-card{padding:14px;gap:16px;border-radius:18px}
.product-surface .member-portrait{width:80px;height:105px}
.product-surface .member-card h2{font-size:20px;margin:6px 0}
.product-surface .member-open{margin-top:10px;min-height:40px}
.product-surface .directory-heading h1,.product-surface .nc-heading h1{font-size:34px}
.product-surface .directory-heading,.nc-heading{margin-bottom:18px}
.nc-nav{margin-bottom:18px}
.nc-locality-card,.nc-panel,.nc-place,.nc-month{padding:19px;border-radius:19px}
.nc-city-card{min-height:240px}
.nc-sectionhead{margin:22px 0 14px}
.nc-place h2{font-size:20px;margin:16px 0 8px}
.nc-place-actions{padding-top:12px;margin-top:12px}
.nc-facility-search{padding:15px}
.nc-places-grid,.nc-neighbourhood-grid,.nc-summary-grid{gap:16px}
.nc-calendar-layout{margin-top:20px;gap:22px}
.nc-agenda-item{padding:14px 0}

@media(min-width:1001px){
  #home-view .archive-title{grid-template-columns:1fr 1fr auto;gap:10px 20px;align-items:center}
  #home-view .archive-title>.tag{grid-column:1/-1;justify-self:start}
  #home-view .archive-title>h2{grid-column:1;grid-row:2}
  #home-view .archive-title>p{grid-column:2;grid-row:2}
  #home-view .archive-title>.button{grid-column:3;grid-row:2;min-height:44px;padding:6px 8px 6px 16px}
}

@media(max-width:700px){
  .site-header{min-height:58px;padding-block:8px}
  #home-view .hero{height:auto;min-height:0}
  #home-view .hero-title-panel{padding:18px}
  #home-view .hero h1{font-size:29px}
  #home-view .hero-bottom{padding:14px}
  #home-view .section-wrap{padding-block:20px}
  #home-view :is(.section-heading h2,.latest-heading h2,.community-map-heading h2,.archive-title h2,.learning h2){font-size:26px}
  #home-view .civic-story{gap:18px;padding-block:20px}
  #home-view .civic-story h2{font-size:30px}
  .civic-screen-deck .cs-window{height:350px}
  .civic-screen-deck .cs-screen{padding:14px}
  .civic-screen-deck .cs-bottom{padding:8px 12px}
  #home-view .news-image{height:115px}
  #home-view .news-card h3{font-size:19px}
  #home-view .news-card-body{padding:12px 14px}
  .purpose-circle .word-reveal{font-size:26px}
  .purpose-orbit-layout{grid-template-columns:76px minmax(0,1fr);grid-template-rows:repeat(3,auto);gap:12px 14px;margin:16px 0}
  .purpose-community{width:76px;grid-column:1;grid-row:1/4}
  .purpose-pillar{grid-column:2;grid-row:auto}
  .purpose-pillar h3{font-size:18px}
  #home-view .founder.founder-editorial{grid-template-columns:85px minmax(0,1fr);gap:14px}
  .founder-editorial .founder-portrait{height:150px}
  .founder-editorial h2{font-size:26px}
  .leadership-auto .person{grid-template-columns:64px 1fr}
  .leadership-auto .person>div{height:84px}
  #home-view .community-map-stage{height:290px;min-height:290px}
  #home-view .community-explorer{min-height:0}
  #home-view :is(.priority-image,.priority-visual,.priority-photo){height:150px;min-height:150px}
  #home-view .priority-stage>div:first-child img{height:150px}
  #home-view .priority-copy{min-height:0;padding:16px}
  #home-view .archive-card>div{height:135px}
  #home-view .join h2{font-size:29px}
  .product-surface #product-main{padding:18px 16px 26px}
  .product-surface h1{font-size:28px!important}
  .product-surface .pagehead{margin-bottom:16px}
  .product-surface .grid.statsgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
  .product-surface .statsgrid .card{padding:10px 5px}
  .product-surface .count{font-size:25px}
  .product-surface .statsgrid small{font-size:11px;line-height:1.4;display:block}
  .product-surface .empty{grid-template-columns:25px minmax(0,1fr);gap:6px 12px;padding:16px 0}
  .product-surface .empty>.icon{width:24px;height:24px}
  .product-surface .empty h2{font-size:18px}
  .product-surface .empty>.btn{grid-column:2;grid-row:3;justify-self:start;margin-top:6px}
  .product-surface .card{padding:15px}
  .product-surface .rowcard{padding:14px}
  .product-surface .member-portrait{width:66px;height:92px}
  .product-surface .member-card h2{font-size:18px}
  .product-surface .btn,.product-surface button,.news-read{min-height:44px}
  .nc-locality-card,.nc-panel,.nc-place,.nc-month{padding:16px}
  .nc-city-card{min-height:180px}
}
