:root {
  --blue: #17324d;
  --green: #2d6f73;
  --ochre: #9a6514;
  --orange: #ffb000;
  --ivory: #f3efe6;
  --surface: #f7f8fa;
  --text: #17212b;
  --muted: #5b6570;
  --border: #d8dee4;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
h1, h2, h3 { margin: 0 0 .65em; color: var(--blue); font-family: var(--serif); line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { margin: 0 0 1.25rem; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section-tint { background: var(--surface); }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .75rem 1rem; color: var(--white); background: var(--blue); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: .2rem solid #e0a12c; outline-offset: .2rem; }

.sticky-header-stack { position: sticky; z-index: 1000; top: 0; width: 100%; background: var(--white); }
.global-gold-line { width: 100%; height: 4px; min-height: 4px; background: var(--orange); }
.utility-bar { color: var(--white); background: #031827; font-size: 11px; }
.utility-inner, .ecosystem-nav, .utility-links { display: flex; align-items: center; gap: 1.25rem; }
.utility-inner { width: min(calc(100% - 40px), 73.75rem); justify-content: space-between; }
.utility-inner { min-height: 34px; }
.utility-bar a { color: var(--white); }
.ecosystem-nav a { display: inline-flex; min-height: 34px; align-items: center; font-weight: 700; text-decoration: none; }
.ecosystem-nav a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: .15rem; text-underline-offset: .25rem; }
.ecosystem-nav a[aria-current] { color: var(--white); background: linear-gradient(var(--orange), var(--orange)) center calc(100% - 4px) / 100% 3px no-repeat; }
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.nav-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 120px; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--blue); text-decoration: none; line-height: 1.05; }
.brand img { width: clamp(9.75rem, 14vw, 12.5rem); height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.75rem); }
.main-nav a { color: var(--text); font-size: .94rem; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: .13rem; }
.nav-toggle { display: none; width: 3rem; height: 3rem; align-items: center; justify-content: center; padding: .6rem; color: var(--blue); background: transparent; border: 0; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { display: block; width: 1.75rem; height: .16rem; background: currentColor; border-radius: 999px; }
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { position: absolute; left: 0; content: ""; }
.nav-toggle-icon::before { top: -.5rem; }
.nav-toggle-icon::after { top: .5rem; }

.hero { padding-block: clamp(2rem, 4vw, 4rem) clamp(5.5rem, 9vw, 8rem); background: var(--blue); }
.hero-stage { position: relative; width: min(100% - 2rem, 88rem); }
.featured-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.hero-copy { position: absolute; z-index: 2; left: 0; bottom: clamp(-4rem, -4vw, -2.5rem); width: min(39rem, 52%); max-width: none; padding: clamp(2rem, 4vw, 4rem); background: var(--ivory); box-shadow: 0 1.5rem 4rem rgba(5, 20, 35, .28); }
.hero-copy h1 { margin-bottom: .18em; font-size: clamp(2.35rem, 4vw, 3.8rem); letter-spacing: -.02em; }
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-attribution { margin: 0; color: var(--muted); font-size: .95rem; }
.hero-lead { max-width: 36rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); padding-top: clamp(1rem, 2vw, 1.4rem); border-top: .2rem solid var(--green); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-lead strong { color: var(--green); }
.hero-media { position: relative; margin: 0 0 0 clamp(5rem, 12vw, 11rem); overflow: hidden; background: #0e2438; }
.hero-media::after { position: absolute; inset: 0; content: ""; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.hero-media img { width: 100%; height: clamp(34rem, 58vw, 47rem); object-fit: cover; object-position: 52% 58%; }
.hero-media figcaption { position: absolute; z-index: 1; right: .75rem; bottom: .65rem; margin: 0; padding: .3rem .55rem; color: var(--white); background: rgba(5, 20, 35, .7); font-size: .75rem; }
.eyebrow { margin-bottom: .75rem; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .65rem 1.1rem; border: 2px solid var(--blue); font-weight: 750; text-decoration: none; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { color: var(--white); background: #244d72; }
.button-secondary { color: var(--blue); background: transparent; }
.button-secondary:hover { color: var(--white); background: var(--blue); }

.section-intro { max-width: 48rem; margin-bottom: 2.5rem; }
.three-grid, .two-grid, .card-grid, .footer-grid { display: grid; gap: 1.5rem; }
.three-grid, .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillars article { padding-top: 1.25rem; border-top: .25rem solid var(--green); }
.pillars article > span { color: var(--ochre); font-weight: 800; }
.bandi-strip { padding-block: clamp(2.5rem, 5vw, 4rem); color: var(--white); background: var(--green); }
.bandi-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.bandi-strip-copy { max-width: 55rem; }
.bandi-strip .eyebrow { margin-bottom: .25rem; color: #d8eeee; }
.bandi-strip h2 { margin-bottom: .65rem; color: var(--white); font-size: clamp(1.8rem, 3vw, 2.65rem); }
.bandi-strip h2 span { display: block; margin-top: .35rem; color: #d8eeee; font-family: var(--sans); font-size: .48em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bandi-strip p { max-width: 50rem; margin-bottom: .65rem; }
.bandi-strip .bandi-deadline { color: #fff3c9; }
.bandi-strip .button { flex: none; color: var(--green); background: var(--white); border-color: var(--white); }
.bandi-strip .button:hover { color: var(--white); background: transparent; }
.home-update-feature { display: grid; grid-template-columns: minmax(16rem, .72fr) minmax(0, 1.28fr); overflow: hidden; border: 1px solid var(--border); background: var(--white); box-shadow: 0 1rem 2.5rem rgba(23, 50, 77, .09); }
.home-update-media { min-height: 100%; background: var(--blue); }
.home-update-media img { width: 100%; height: 100%; min-height: 28rem; object-fit: cover; }
.home-update-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); }
.home-update-copy h3 { margin-bottom: .45em; font-size: clamp(2rem, 4vw, 3.6rem); }
.home-update-lead { color: var(--green); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
.home-update-event { width: 100%; margin: 1rem 0 1.5rem; padding: 1rem 0; border-block: 1px solid var(--border); }
.home-update-event span, .home-update-event strong { display: block; }
.home-update-event span { margin-bottom: .2rem; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-update-event strong { color: var(--blue); font-size: 1.05rem; }
.featured { background: var(--blue); }
.featured h2, .featured p, .featured a { color: var(--white); }
.featured .eyebrow { color: #a9d3d5; }
.featured img { width: 100%; max-height: 28rem; object-fit: cover; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.text-link { font-weight: 750; }
.card { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--border); }
.card h3 a, .event-list h3 a { color: var(--blue); }
.meta { color: var(--ochre); font-size: .86rem; font-weight: 750; text-transform: uppercase; }
.event-list { border-top: 1px solid var(--border); }
.event-list article { display: grid; grid-template-columns: 6rem 1fr; gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--border); }
.event-list time { color: var(--ochre); text-align: center; text-transform: uppercase; }
.event-list time strong { display: block; font-family: var(--serif); font-size: 2.25rem; line-height: 1; }
.calls article { max-width: 48rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--ivory); }
.desk-news { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--ivory); }
.desk-news-panel { overflow: hidden; border: 1px solid var(--border); background: var(--white); box-shadow: 0 1rem 2.5rem rgba(23, 50, 77, .09); }
.desk-news-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--border); }
.desk-news-head .eyebrow { margin-bottom: .4rem; }
.desk-news-head h2 { margin-bottom: 0; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.desk-news-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr); }
.desk-news-image { display: grid; min-height: 23rem; place-items: end start; padding: 1.5rem; color: rgba(255, 255, 255, .18); background: linear-gradient(135deg, var(--blue), var(--green)); background-position: center; background-size: cover; }
.desk-news-image span { font-size: clamp(4.5rem, 11vw, 9rem); font-weight: 800; letter-spacing: -.08em; line-height: .8; }
.desk-news-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.75rem, 4vw, 4rem); }
.desk-news-copy h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.desk-news-copy .text-link { margin-top: .5rem; }
.desk-news-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.desk-news-list a { min-height: 9rem; padding: 1.25rem; color: var(--text); text-decoration: none; }
.desk-news-list a + a { border-left: 1px solid var(--border); }
.desk-news-list a:hover { background: var(--surface); }
.desk-news-list span { display: block; margin-bottom: .5rem; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.desk-news-list strong { display: block; color: var(--blue); font-family: var(--serif); font-size: 1.1rem; line-height: 1.25; }
.desk-news-status { margin: 0; padding: .85rem 1.25rem; color: var(--muted); border-top: 1px solid var(--border); font-size: .85rem; }
.wikimilano-hub { position: relative; z-index: 3; overflow: visible; padding-block: clamp(4rem, 8vw, 7rem); color: var(--white); background: var(--blue); }
.wikimilano-hub-intro { display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.28fr); align-items: stretch; gap: clamp(2rem, 5vw, 5rem); }
.wikimilano-brand-card { display: flex; min-height: 14rem; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); color: var(--blue); background: var(--white); box-shadow: .8rem .8rem 0 var(--orange); }
.wikimilano-brand-card img { width: min(100%, 28rem); height: auto; }
.wikimilano-brand-card span { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wikimilano-hub-copy { align-self: center; max-width: 48rem; padding-block: 1rem; }
.wikimilano-hub .eyebrow { color: #ffcf57; }
.wikimilano-hub h2 { color: var(--white); font-size: clamp(2.25rem, 4.5vw, 4.25rem); }
.wikimilano-hub-copy > p:not(.eyebrow) { max-width: 44rem; color: #dbe8ed; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.wikimilano-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; margin-top: clamp(3rem, 6vw, 5rem); border: 1px solid rgba(255, 255, 255, .25); }
.wikimilano-service { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.35rem); color: var(--text); background: var(--white); }
.wikimilano-service + .wikimilano-service { border-left: 1px solid var(--border); }
.wikimilano-service-encyclopedia { position: relative; z-index: 2; background: var(--ivory); }
.wikimilano-service-kicker { margin-bottom: 1rem; color: var(--green); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wikimilano-service h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.wikimilano-service > p:not(.wikimilano-service-kicker) { color: var(--muted); }
.wikimilano-service > .text-link { margin-top: auto; padding-top: 1rem; }
.wikimilano-service-highlight { margin: .25rem 0 .5rem; padding: .8rem 0 .8rem 1rem; border-left: .2rem solid var(--orange); }
.wikimilano-service-highlight strong, .wikimilano-service-highlight span { display: block; }
.wikimilano-service-highlight strong { margin-bottom: .3rem; color: var(--blue); font-family: var(--serif); font-size: 1.1rem; }
.wikimilano-service-highlight span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.wikimilano-search { width: 100%; margin: .5rem 0 .75rem; padding: 1rem; color: var(--blue); background: var(--orange); }
.wikimilano-search label { display: block; margin-bottom: .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .035em; }
.wikimilano-search-fields { display: grid; grid-template-columns: 1fr; gap: .65rem; }
.wikimilano-search input { min-width: 0; flex: 1; padding: .85rem 1rem; color: var(--text); border: 1px solid transparent; border-radius: 0; background: var(--white); font: inherit; }
.wikimilano-search input::placeholder { color: #67727d; opacity: 1; }
.wikimilano-search input:focus { outline: .2rem solid var(--blue); outline-offset: 0; }
.wikimilano-search button { width: 100%; padding: .75rem 1.1rem; color: var(--white); border: 0; border-radius: 0; background: var(--blue); font: inherit; font-weight: 800; cursor: pointer; }
.wikimilano-search button:hover { background: #244d72; }
.wikimilano-autocomplete { position: relative; width: 100%; }
.wikimilano-autocomplete-panel { position: absolute; z-index: 50; top: calc(100% - .35rem); left: 0; width: clamp(20rem, 32vw, 28rem); max-height: min(34rem, 70vh); overflow-x: hidden; overflow-y: auto; color: var(--text); border: 1px solid var(--border); background: var(--white); box-shadow: 0 1.25rem 2.5rem rgba(5, 20, 35, .28); }
.wikimilano-autocomplete-panel[hidden] { display: none; }
.wikimilano-autocomplete-item { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; min-height: 4.5rem; padding: .6rem .85rem; color: var(--text); border-bottom: 1px solid var(--border); text-decoration: none; }
.wikimilano-autocomplete-item:last-child { border-bottom: 0; }
.wikimilano-autocomplete-item:hover, .wikimilano-autocomplete-item.is-active { color: var(--text); background: #edf6f7; }
.wikimilano-autocomplete-copy, .wikimilano-autocomplete-title, .wikimilano-autocomplete-description { display: block; min-width: 0; }
.wikimilano-autocomplete-title { overflow: hidden; color: var(--blue); font-weight: 800; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.wikimilano-autocomplete-description { overflow: hidden; margin-top: .2rem; color: var(--muted); font-size: .78rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.wikimilano-autocomplete-thumb { position: relative; display: grid; width: 3.25rem; height: 3.25rem; place-items: center; overflow: hidden; color: var(--blue); border: 1px solid var(--border); background: #edf6f7; font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.wikimilano-autocomplete-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.wikimilano-autocomplete-arrow { color: var(--green); font-size: 1.15rem; }
.wikimilano-autocomplete-all { grid-template-columns: minmax(0, 1fr) auto; background: var(--surface); }
.wikimilano-autocomplete-status { padding: 1rem; color: var(--muted); font-size: .85rem; }
.desk-news { position: relative; z-index: 1; }
.empty-state, .notice { padding: 1.25rem; background: var(--ivory); border-left: .25rem solid var(--ochre); }
.reserved-area { max-width: 38rem; }
.reserved-login { display: grid; gap: 1.25rem; margin: 2rem 0; }
.reserved-login label { display: block; margin-bottom: .4rem; font-weight: 700; }
.reserved-login input { width: 100%; min-height: 3rem; padding: .65rem .75rem; color: var(--text); border: 1px solid var(--border); border-radius: 0; background: var(--white); font: inherit; }
.reserved-login input:focus { border-color: var(--green); outline: .2rem solid rgba(45, 111, 115, .25); outline-offset: 0; }
.reserved-login .button { justify-self: start; cursor: pointer; }

.page-header { padding-block: clamp(3rem, 7vw, 6rem); background: var(--ivory); }
.page-header h1 { max-width: 55rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-header p { max-width: 48rem; font-size: 1.2rem; }
.about-hero { position: relative; min-height: clamp(32rem, 62vw, 48rem); overflow: hidden; background: #211815; }
.about-hero picture, .about-hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-hero > picture img { object-fit: cover; object-position: center 58%; }
.about-hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(8, 18, 29, .38), transparent 62%); }
.about-hero-inner { position: relative; z-index: 1; display: flex; min-height: inherit; align-items: flex-start; justify-content: center; padding-top: 20px; }
.about-hero-copy { width: min(40rem, 80%); padding: clamp(1rem, 2vw, 1.75rem); background: rgba(243, 239, 230, .7); box-shadow: 0 1rem 3rem rgba(5, 20, 35, .28); }
.about-hero-copy .eyebrow { margin-bottom: .4rem; }
.about-hero-copy h1 { margin-bottom: .35em; font-size: clamp(2rem, 3.6vw, 3.5rem); }
.about-hero-copy > :last-child { margin-bottom: 0; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.about-hero-caption { position: absolute; z-index: 2; right: .75rem; bottom: .65rem; margin: 0; padding: .3rem .55rem; color: var(--white); background: rgba(5, 20, 35, .75); font-size: .75rem; }
.about-hero-caption a { color: inherit; }
.project-page-header { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.project-page-header picture, .project-page-header img { width: 100%; }
.prose { max-width: 48rem; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.about-intro { margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.about-partner { margin-top: 1.5rem; }
.about-partner p { margin-bottom: .35rem; }
.about-partner-link { display: inline-flex; flex-direction: column; align-items: center; gap: .75rem; font-weight: 750; }
.about-partner-link img { width: 150px; height: 79px; object-fit: contain; }
.award-text-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.award-text-grid article { padding-top: 1.25rem; border-top: .25rem solid var(--green); }
.award-text-grid h3 { margin-bottom: 1.25rem; }
.award-text-grid blockquote { margin: 0; }
.award-text-grid blockquote p { margin-bottom: 0; }
.award-source { margin: 1.25rem 0 0; }
.content-image { margin: 0 0 2rem; }
.content-image img { width: 100%; max-height: 34rem; object-fit: cover; }
.about-award-image { position: relative; margin: 1.75rem 0 0; }
.about-award-image img { max-height: none; }
.about-award-image figcaption { position: absolute; right: .75rem; bottom: .65rem; max-width: min(46rem, calc(100% - 1.5rem)); margin: 0; padding: .3rem .55rem; color: var(--white); background: rgba(5, 20, 35, .75); font-size: .75rem; }
.byline { color: var(--muted); }
.document-list { padding: 0; list-style: none; border-top: 1px solid var(--border); }
.document-list li { padding-block: 1rem; border-bottom: 1px solid var(--border); }
.document-list a { font-weight: 750; }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.person-card { background: var(--surface); border: 1px solid var(--border); }
.person-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person-card > div { padding: 1.4rem; }
.person-card h2 { font-size: 1.65rem; }
.person-profession { margin: -.25rem 0 .75rem; color: var(--muted); }
.role-list { margin: -.25rem 0 1rem; padding-left: 1.2rem; color: var(--ochre); font-size: .9rem; font-weight: 700; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-block: 2rem 4rem; }
.pagination a { font-weight: 750; }

.site-footer { padding-top: 4rem; color: #e7edf2; background: var(--blue); }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
.site-footer h2 { color: var(--white); font-family: var(--sans); font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer ul { padding: 0; list-style: none; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .82rem; }

@media (max-width: 61.99rem) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; right: 1rem; left: 1rem; display: none; align-items: stretch; padding: 1rem; background: var(--white); border: 1px solid var(--border); box-shadow: 0 .75rem 1.5rem rgba(23, 33, 43, .14); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: .55rem; }
  .hero { padding-bottom: 4rem; background: var(--ivory); }
  .hero-stage { display: flex; flex-direction: column; width: min(100% - 2rem, var(--container)); }
  .hero-copy { position: relative; bottom: auto; order: 1; width: min(100%, 50rem); padding: clamp(1.5rem, 5vw, 3rem) 0 2.5rem; box-shadow: none; }
  .hero-media { order: 2; margin: 0; }
  .hero-media img { height: auto; aspect-ratio: 16 / 10; object-position: 50% 58%; }
  .three-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wikimilano-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wikimilano-service:nth-child(3) { border-left: 0; }
  .wikimilano-service:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 760px) {
  .utility-bar { overflow: hidden; font-size: 10px; }
  .utility-inner { width: calc(100% - 1rem); min-width: 0; min-height: 38px; }
  .ecosystem-nav { min-width: 0; gap: .8rem; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; }
  .ecosystem-nav a { min-height: 38px; }
  .ecosystem-nav::-webkit-scrollbar { display: none; }
  .ecosystem-nav { flex: 1 1 auto; }
  .utility-links { flex: none; }
  .nav-wrap { min-height: 88px; }
}

@media (max-width: 47.99rem) {
  .three-grid, .two-grid, .card-grid, .featured-grid, .footer-grid, .project-page-header { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .award-text-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 1rem; }
  .bandi-strip-inner { align-items: flex-start; flex-direction: column; }
  .about-hero { min-height: 38rem; }
  .about-hero-inner { align-items: flex-start; padding-top: 20px; }
  .about-hero-copy { width: 100%; padding: 1rem; }
  .about-hero-caption { right: .5rem; bottom: .5rem; left: .5rem; }
  .about-award-image figcaption { right: .5rem; bottom: .5rem; left: .5rem; max-width: none; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .desk-news-head { display: block; }
  .desk-news-head > .text-link { display: inline-block; margin-top: 1rem; }
  .desk-news-main { grid-template-columns: 1fr; }
  .desk-news-image { min-height: 15rem; }
  .desk-news-list { grid-template-columns: 1fr; }
  .desk-news-list a + a { border-top: 1px solid var(--border); border-left: 0; }
  .wikimilano-hub-intro, .wikimilano-services { grid-template-columns: 1fr; }
  .home-update-feature { grid-template-columns: 1fr; }
  .home-update-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .wikimilano-service + .wikimilano-service { border-top: 1px solid var(--border); border-left: 0; }
  .wikimilano-autocomplete-panel { width: 100%; }
  .footer-bottom { display: grid; }
}

@media (max-width: 25rem) {
  .actions .button { width: 100%; }
  .event-list article { grid-template-columns: 4.5rem 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
