/* Cirigliano.org — civic emblem and chronological archive. Scoped, no global resets. */
.civic-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,.85fr);gap:clamp(26px,4vw,70px);align-items:start;padding-top:32px;padding-bottom:50px}
.civic-hero-copy{min-width:0}.civic-hero .civic-hero-copy h1{font-size:clamp(2.65rem,4.6vw,4.15rem);line-height:1.09;letter-spacing:-.035em;margin-top:15px;max-width:780px}.civic-hero .lede{font-size:1rem;line-height:1.85;color:#52685d;max-width:70ch}.civic-hero .mayors-current{margin-top:28px;padding:25px 29px;border:1px solid #ffffff18;box-shadow:0 13px 28px #183a3010;background:linear-gradient(125deg,#193e32,#244c3e)}
.civic-hero .mayors-current h2{font-size:1.85rem}.civic-hero .mayors-current .eyebrow{font-size:.65rem;letter-spacing:.13em}.civic-hero .mayors-current p{font-size:.91rem;line-height:1.65}.civic-hero .mayors-current a{font-size:.78rem}
.civic-crest{margin:0;align-self:start;justify-self:center;text-align:center;width:min(100%,355px);padding-top:0;position:relative;min-width:0}.civic-crest-scene{position:relative;width:100%;aspect-ratio:3/4;perspective:1150px;perspective-origin:50% 45%;isolation:isolate}.civic-crest-rotor{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateY(-12deg);animation:civic-emblem-turn 40s linear infinite;animation-play-state:paused}.civic-crest.is-running .civic-crest-rotor{animation-play-state:running}.civic-crest-face,.civic-crest-edge{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;pointer-events:none;user-select:none}.civic-crest-edge{transform:translateZ(var(--crest-z));backface-visibility:visible}.civic-crest-front{transform:translateZ(6px);backface-visibility:hidden}.civic-crest-back{transform:rotateY(180deg) translateZ(6px);backface-visibility:hidden}.civic-crest-shadow{position:absolute;bottom:-8px;left:15%;width:70%;height:20px;background:radial-gradient(ellipse at center,#203c3226 0,#203c3200 68%);pointer-events:none}.civic-crest figcaption{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#657063;line-height:1.7;margin:17px 0 9px}.civic-crest-toggle{font:inherit;font-size:.7rem;padding:7px 12px;border:1px solid #d7d5c7;border-radius:30px;background:#ffffff66;color:#4a5f52;cursor:pointer;transition:background .2s,border-color .2s}.civic-crest-toggle:hover{background:#fff;border-color:#a7b1a0}.civic-crest-toggle:focus-visible{outline:2px solid #98713d;outline-offset:4px}.civic-crest-toggle[hidden]{display:none}.civic-news-hero{grid-template-columns:minmax(0,1.65fr) minmax(240px,.85fr);align-items:center;gap:45px}.civic-news-hero .civic-crest{width:min(100%,315px)}.civic-news-hero h1{font-size:clamp(2.6rem,4.5vw,4.5rem)}
@keyframes civic-emblem-turn{from{transform:rotateY(-12deg)}to{transform:rotateY(348deg)}}
/* Balanced central timeline; semantic order is unchanged when columns alternate. */
.civic-mayors-timeline{padding-block:55px 65px}.civic-mayors-timeline .section-heading{display:block;text-align:center;max-width:850px;margin:0 auto 25px}.civic-mayors-timeline .section-heading>div{margin-inline:auto}.civic-mayors-timeline .section-heading h2{font-size:clamp(2rem,3.3vw,3.2rem);line-height:1.12;max-width:none}.civic-mayors-timeline .section-heading .text-link{display:inline-block;margin-top:17px}.civic-mayors-timeline>p:not(#mayors-empty){max-width:850px;margin:16px auto;line-height:1.8}.civic-mayors-timeline .mayors-tools{max-width:1000px;margin:27px auto 15px;background:#eeece2;border:1px solid #e0ddcf;border-radius:16px}.civic-mayors-timeline #mayors-count{text-align:center;font-size:.76rem;text-transform:uppercase;letter-spacing:.11em;color:#4f6658}.civic-mayors-timeline .mayors-update-status{font-size:.76rem}.civic-mayors-timeline .mayors-list{position:relative;list-style:none;padding:15px 0;margin:40px auto 0;max-width:1120px;width:100%}.civic-mayors-timeline .mayors-list::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;transform:translateX(-50%);background:linear-gradient(to bottom,#b8a071,#a3b09b 45%,#b8a071 92%,transparent);border-radius:3px}
.civic-mayors-timeline .mayors-list .mayors-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:0;padding:0;margin:0 0 28px;border:0;min-width:0;align-items:start;break-inside:avoid}.civic-mayors-timeline .mayors-item .mayors-years{grid-column:2;grid-row:1;justify-self:center;align-self:start;z-index:2;width:66px;margin-top:24px;padding:8px 3px;border:1px solid #baa47f;border-radius:30px;background:#f8f5ed;color:#795d35;font:600 1.07rem/1.2 Georgia,serif;text-align:center;box-shadow:0 0 0 7px #f7f4ec}.civic-mayors-timeline .mayors-item .mayors-content{position:relative;grid-row:1;grid-column:3;padding:26px 27px 23px;border:1px solid #ded9cb;border-radius:16px;background:linear-gradient(135deg,#fff,#faf8f0);box-shadow:0 9px 25px #183a3008;min-width:0;overflow-wrap:anywhere}.civic-mayors-timeline .mayors-item:nth-child(even) .mayors-content{grid-column:1}.civic-mayors-timeline .mayors-item .mayors-content::before{content:"";position:absolute;top:43px;left:-13px;width:13px;height:1px;background:#b5a484}.civic-mayors-timeline .mayors-item:nth-child(even) .mayors-content::before{left:auto;right:-13px}.civic-mayors-timeline .mayors-content h3{font:400 clamp(1.35rem,2vw,1.68rem)/1.16 Georgia,serif;margin:0 0 14px;letter-spacing:-.02em;color:#183a30}.civic-mayors-timeline .mayors-content p{font-size:.86rem;line-height:1.75;margin:9px 0}.civic-mayors-timeline .mayors-content p strong{font-weight:550}.civic-mayors-timeline .mayors-content .mayors-provenance{border-top:1px solid #e6e4d8;padding-top:11px;margin-top:14px;font-size:.7rem!important;line-height:1.7;color:#677768}.civic-mayors-timeline .mayors-content small{display:block;font-size:.68rem;color:#738075}.civic-mayors-timeline .mayors-item[data-current="true"] .mayors-content{background:linear-gradient(125deg,#1c4236,#2b5142);border-color:#2f5745;box-shadow:0 14px 32px #183a3015}.civic-mayors-timeline .mayors-item[data-current="true"] .mayors-content h3,.civic-mayors-timeline .mayors-item[data-current="true"] .mayors-content p{color:#f5f1e5}.civic-mayors-timeline .mayors-item[data-current="true"] .mayors-content .mayors-provenance,.civic-mayors-timeline .mayors-item[data-current="true"] .mayors-content small{color:#d5dfd2;border-color:#ffffff26}.civic-mayors-timeline .mayors-item[data-current="true"] .mayors-years{color:#fff;background:#254837;border-color:#ba9e69}.civic-source-note{border-top:1px solid #ded9cb}.civic-source-note h2{font-size:2rem}.civic-source-note p{font-size:.9rem}
@media(min-width:1100px){.civic-mayors-timeline .mayors-item:nth-child(even){margin-top:-18px}}
@media(max-width:900px){.civic-hero{gap:22px;grid-template-columns:minmax(0,1.5fr) minmax(205px,.8fr)}.civic-hero .civic-hero-copy h1{font-size:clamp(2.3rem,4.8vw,3.6rem)}.civic-crest{width:min(100%,285px)}.civic-news-hero{gap:25px}.civic-mayors-timeline .mayors-item .mayors-content{padding:22px 20px}.civic-mayors-timeline .mayors-list .mayors-item{grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr)}.civic-mayors-timeline .mayors-item .mayors-years{width:58px;font-size:1rem;box-shadow:0 0 0 5px #f7f4ec}.civic-mayors-timeline .mayors-item .mayors-content::before{width:10px;left:-10px}.civic-mayors-timeline .mayors-item:nth-child(even) .mayors-content::before{right:-10px}}
@media(max-width:700px){.civic-hero{grid-template-columns:1fr;padding-top:17px;gap:26px}.civic-hero-copy{grid-column:1}.civic-hero .civic-crest{width:225px}.civic-hero .civic-hero-copy h1{font-size:clamp(2.4rem,8.3vw,3.5rem);line-height:1.1}.civic-hero .mayors-current{padding:24px}.civic-hero .mayors-current h2{font-size:1.75rem}.civic-news-hero{display:grid;grid-template-columns:1fr;gap:25px}.civic-news-hero .civic-crest{width:220px}.civic-news-hero h1{font-size:clamp(2.55rem,9vw,3.5rem)}.civic-crest figcaption{font-size:.61rem}.civic-mayors-timeline{padding-top:35px}.civic-mayors-timeline .mayors-tools{padding:17px}.civic-mayors-timeline .mayors-tools label{min-width:100%;width:100%}.civic-mayors-timeline .mayors-tools .button{width:100%}.civic-mayors-timeline .mayors-list{margin-top:28px}.civic-mayors-timeline .mayors-list::before{left:25px}.civic-mayors-timeline .mayors-list .mayors-item{grid-template-columns:65px minmax(0,1fr);margin:0 0 20px;gap:0}.civic-mayors-timeline .mayors-item .mayors-years{grid-column:1;margin-top:20px;justify-self:start;width:51px;font-size:.92rem;padding:8px 0;box-shadow:0 0 0 4px #f7f4ec}.civic-mayors-timeline .mayors-item .mayors-content,.civic-mayors-timeline .mayors-item:nth-child(even) .mayors-content{grid-column:2;padding:20px 17px;border-radius:12px}.civic-mayors-timeline .mayors-item .mayors-content::before,.civic-mayors-timeline .mayors-item:nth-child(even) .mayors-content::before{left:-14px;right:auto;width:14px;top:37px}.civic-mayors-timeline .mayors-content h3{font-size:1.3rem}.civic-mayors-timeline .mayors-content p{font-size:.8rem}.civic-mayors-timeline .mayors-content .mayors-provenance{font-size:.65rem!important}.civic-mayors-timeline .mayors-content small{font-size:.64rem}}
@media(prefers-reduced-motion:reduce){.civic-crest-rotor{animation:none!important;transform:rotateY(-8deg)}.civic-crest-toggle{display:none!important}}
@media print{.civic-hero{display:block}.civic-hero .civic-crest,.civic-news-hero .civic-crest{display:none}.civic-mayors-timeline .mayors-tools,.civic-crest-toggle{display:none}.civic-mayors-timeline .mayors-list::before{left:30px}.civic-mayors-timeline .mayors-list .mayors-item{display:grid;grid-template-columns:75px minmax(0,1fr);margin:0 0 12px;break-inside:avoid}.civic-mayors-timeline .mayors-item .mayors-years{grid-column:1;box-shadow:none}.civic-mayors-timeline .mayors-item .mayors-content,.civic-mayors-timeline .mayors-item:nth-child(even) .mayors-content{grid-column:2;background:white!important;box-shadow:none}.civic-mayors-timeline .mayors-content *{color:#111!important}.civic-mayors-timeline .mayors-item .mayors-content::before{display:none}.civic-mayors-timeline{padding:15px 0}}
