/* Shared editorial character. All fonts are self-hosted with their OFL notices. */
@font-face{font-family:"Custodi Serif";src:url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");font-style:normal;font-weight:300 700;font-display:swap}
@font-face{font-family:"Custodi Serif";src:url("assets/fonts/cormorant-garamond-italic-500-latin.woff2") format("woff2");font-style:italic;font-weight:500;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("assets/fonts/source-sans-3-latin.woff2") format("woff2");font-style:normal;font-weight:200 900;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("assets/fonts/source-sans-3-latin-italic.woff2") format("woff2");font-style:italic;font-weight:200 900;font-display:swap}
:root{
  --ink:#203833;--muted:#52665f;--paper:#fbfaf5;--paper-2:#eff3ee;
  --moss:#295d50;--moss-dark:#1d433b;--water:#286571;
  --reed:#806337;--earth:#755840;--clay:#885a47;--gold:#806337;
  --line:rgba(32,56,51,.15);--shadow:0 12px 32px rgba(24,55,47,.08);
  --font-body:"Source Sans 3","Segoe UI",sans-serif;
  font-family:var(--font-body);
}
body{font-size:17px;line-height:1.75}
button,input,textarea,select{font-family:inherit}
h1,h2,h3,.brand-name{font-family:"Custodi Serif",Georgia,serif;font-weight:600;text-wrap:balance}
h1{font-size:clamp(2.7rem,5.8vw,4.8rem);line-height:1.07;letter-spacing:-.018em}
h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.14;letter-spacing:-.012em}
h3{font-size:clamp(1.45rem,2vw,1.8rem);line-height:1.22}.brand-name{font-size:1.7rem;letter-spacing:-.015em}
.article{font-size:1.18rem;line-height:1.85}.article h2{font-size:clamp(2rem,3.5vw,2.75rem);scroll-margin-top:110px}.article h3{font-size:1.85rem}.article p,.article li,.lead{max-width:72ch}.article a{text-underline-offset:.2em;text-decoration-thickness:1px}
.article-hero h1{max-width:940px;font-size:clamp(2.65rem,5.2vw,4.5rem)}
.lead{font-size:1.22rem;line-height:1.75}.hero-copy{font-size:1.3rem;line-height:1.65;max-width:65ch}
.eyebrow,.section-label{font-size:.75rem;font-weight:700;letter-spacing:.12em}
.brand-kicker{font-weight:650;letter-spacing:.065em}.nav-links{font-size:.94rem;gap:13px}
.button{font-size:1rem;font-weight:650;min-height:44px;background:var(--water)}
.button:hover{background:var(--moss-dark)}
.faq summary,.guide b,.footer-actions .footer-link span{font-weight:650}
.site-header{background:rgba(251,250,245,.97);border-color:var(--line);box-shadow:0 3px 16px rgba(24,55,47,.035)}
.brand-mark{box-shadow:none;border-color:var(--line);background:transparent}
.brand-mark{border:0;padding:0}
.brand-mark img{filter:none}
.editorial-intro{display:flex;align-items:center;gap:16px;margin-bottom:1rem}
.editorial-intro img{display:block;width:76px;height:auto;flex:0 0 76px}
.editorial-intro .eyebrow{margin:0}
.editorial-intro--foundation h3{margin:0;min-width:0}
@media(max-width:380px){.editorial-intro--foundation{gap:12px}.editorial-intro--foundation img{width:56px;flex-basis:56px}}
.hero::before{background-image:linear-gradient(90deg,rgba(12,38,35,.86),rgba(12,38,35,.45) 48%,rgba(12,38,35,.10)),linear-gradient(0deg,rgba(12,38,35,.7),transparent 65%),url("assets/hero-tartaruga-acqua.jpg")}
.hero .eyebrow{color:#e4ce9d}
.cta-band{background:linear-gradient(120deg,#193f3c,#214f54)}
.cta-band .eyebrow{color:#e4ce9d}
.hero .button:not(.light),.cta-band .button:not(.light){background:#f4f3e9;color:#1d433b;border-color:#f4f3e9}
.hero .button:not(.light):hover,.cta-band .button:not(.light):hover{background:#e5ecdf}
.button.light:hover{background:rgba(255,255,255,.12);border-color:white}
.alert,.warning,.note-warm{border-color:rgba(128,99,55,.22)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a87b32;outline-offset:4px}
.breadcrumbs{padding-block:1.1rem;color:var(--muted);font-size:.82rem;overflow-wrap:anywhere}
.ecosystem{background:var(--paper-2);border-top:1px solid var(--line)}.ecosystem .card{border-top:3px solid var(--moss)}.ecosystem .card:nth-child(2){border-top-color:var(--earth)}.ecosystem .card:nth-child(3){border-top-color:var(--water)}
.contact-card{margin:2rem 0;padding:clamp(1.2rem,4vw,2rem);background:var(--paper-2);border-left:4px solid var(--water)}.article,.contact-card,.footer{overflow-wrap:anywhere}
.rotator-pause{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:4px;min-height:44px;padding:.45rem .8rem;cursor:pointer}
[hidden]{display:none!important}
/* Small, crisp editorial signature; no glow and never baked into source photographs. */
:is(.media-card,.article-image,.species-card figure,.advice-card,.image-tile,.rotator-stage,.collage-cell){position:relative}
:is(.media-card,.article-image,.species-card figure,.advice-card,.image-tile,.rotator-stage,.collage-cell,.hero)::after{
  content:"";position:absolute;z-index:3;top:10px;left:10px;
  width:clamp(36px,8%,56px);aspect-ratio:512/258;
  background:url("assets/fondazione-mark.png") left top/contain no-repeat;
  filter:none;
  opacity:.88;pointer-events:none;
}
.hero::after{top:20px;left:max(22px,calc((100% - 1180px)/2));width:56px}
.photo-collage{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--white);box-shadow:var(--shadow)}
.collage-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--paper)}
.collage-cell{overflow:hidden;aspect-ratio:3/2;isolation:isolate;background:var(--paper-2)}
.collage-cell--wide{grid-column:1/-1;aspect-ratio:1.92}
.collage-cell img{display:block;width:100%;height:100%;object-fit:cover;animation:collage-drift 18s ease-in-out infinite alternate;animation-play-state:paused}
.collage-cell:nth-child(2) img{animation-direction:alternate-reverse}
.photo-collage.is-running .collage-cell img{animation-play-state:running}
.collage-cell span{position:absolute;z-index:2;bottom:0;inset-inline:0;padding:28px 12px 10px;background:linear-gradient(transparent,rgba(10,24,20,.8));color:white;font-size:.85rem;font-weight:700}
.photo-collage figcaption{padding:16px;font-size:.88rem;line-height:1.6;color:var(--muted)}
.collage-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 16px;font-size:.8rem;color:var(--muted)}
@keyframes collage-drift{from{transform:scale(1)}to{transform:scale(1.065)}}
@media(prefers-reduced-motion:reduce){.collage-cell img{animation:none}.collage-controls button{display:none}}
/* Casual-copy deterrents only. HTML stays readable to search/assistive tools. */
.content-guard main{-webkit-user-select:none;user-select:none}
.content-guard main :is(input,textarea,select,[contenteditable="true"],a,button,.contact-card,[data-allow-copy]){-webkit-user-select:text;user-select:text}
main img{-webkit-user-drag:none;-webkit-touch-callout:none}
.content-guard main[data-allow-copy],.content-guard main[data-allow-copy] *{-webkit-user-select:text;user-select:text}
.footer-legal{margin-top:24px;color:var(--muted);font-size:.8rem;line-height:1.7}
.footer-legal p{margin:0}.footer-legal a{text-underline-offset:.2em}
.cta-box--participate{grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr)}
.cta-actions--participate{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;margin-top:0}
.cta-actions--participate .button{width:100%;min-height:64px;text-align:center;white-space:normal;line-height:1.4}
@media(max-width:980px){.cta-box--participate{grid-template-columns:1fr}.cta-actions--participate{margin-top:0}}
@media(max-width:640px){.cta-actions--participate{grid-template-columns:1fr}}
/* Quiet, pale footer: institutional identity first, production credit last. */
.footer{background:#eaf0eb;color:var(--ink);border-top:1px solid #cbd8cf}
.footer a{color:var(--ink)}
.footer .foundation-card{background:transparent;border-color:#cbd8cf;box-shadow:none}
.footer .foundation-card:hover,.footer .foundation-card:focus-visible{background:rgba(255,255,255,.5);box-shadow:none;transform:none}
.footer .foundation-logo{background:transparent}
.footer .foundation-copy strong{color:var(--ink);font-family:"Custodi Serif",Georgia,serif;font-size:1.85rem;font-weight:600;line-height:1.18}
.footer .foundation-copy span{color:var(--muted)}
.footer .foundation-kicker{color:var(--reed)!important;font-weight:650}
/* Same symbol, font files and compact wordmark as the Foundation local site. */
.footer .foundation-card--current{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px}
.foundation-lockup{display:flex;align-items:center;gap:14px;max-width:100%;color:#173c32}
.foundation-symbol{display:block;flex:0 0 auto;width:72px;height:auto;filter:none}
.foundation-wordmark{display:block;min-width:0;font-family:"Custodi Serif",Georgia,serif;font-size:23px;line-height:1.12}
.foundation-name{display:block;white-space:nowrap;font-weight:600;letter-spacing:-.018em}
.foundation-name em{display:inline;font-size:1em;font-style:italic;font-weight:500;letter-spacing:-.018em}
.foundation-subtitle{display:block;font:600 8px/1.6 Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;margin-top:7px}
.foundation-description{max-width:48ch;font-size:.95rem;line-height:1.6;color:var(--muted)}
@media(max-width:781px){.foundation-lockup{gap:12px}.foundation-symbol{width:56px}.foundation-wordmark{font-size:20px}.foundation-subtitle{margin-top:5px}}
@media(max-width:380px){.foundation-lockup{gap:9px}.foundation-symbol{width:50px}.foundation-wordmark{font-size:18px}.foundation-subtitle{font-size:7px}}
.footer-nav-title{color:var(--muted);font-weight:650;letter-spacing:.12em}
.footer-actions .footer-link{background:rgba(255,255,255,.25);border-color:#cbd8cf;color:var(--ink)}
.footer-actions .footer-link span,.footer-actions .footer-link--earth span{color:var(--ink);font-size:.95rem}
.footer-actions .footer-link small{color:var(--muted);font-size:.8rem;font-weight:400}
.footer-actions .footer-link::after{color:var(--water)}
.footer-actions .footer-link:hover,.footer-actions .footer-link:focus-visible{background:#fbfaf5;border-color:#8ba69a;transform:none}
.footer-actions .footer-link--primary{background:var(--water);border-color:var(--water)}
.footer-actions .footer-link--primary span,.footer-actions .footer-link--primary small,.footer-actions .footer-link--primary::after{color:white}
.footer-actions .footer-link--primary:hover,.footer-actions .footer-link--primary:focus-visible{background:var(--moss-dark);border-color:var(--moss-dark)}
.footer-actions .footer-link--primary:hover::after,.footer-actions .footer-link--primary:focus-visible::after{color:white}
.footer .segnodo-credit{justify-content:flex-end;margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}
.footer .segnodo-signature{display:inline-flex;align-items:center;min-width:0;min-height:44px;width:auto;max-width:100%;padding:4px 0;gap:0;border:0;border-radius:0;background:none;color:var(--muted);box-shadow:none;transition:color 160ms ease}
.footer .segnodo-signature svg{display:block!important;flex:0 0 24px;width:24px!important;min-width:24px!important;max-width:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;margin-right:9px;color:var(--segnodo-ink)}
.footer .segnodo-signature svg path{stroke:var(--segnodo-paper)}
.footer .segnodo-signature svg circle{stroke:var(--segnodo-ink)}
.footer .segnodo-signature i{display:none!important}
.footer .segnodo-signature span{display:inline;line-height:1.5}
.footer .segnodo-signature small{font-size:.78rem;font-weight:400;text-transform:none;letter-spacing:0;color:inherit}
.footer .segnodo-signature strong{font-family:var(--font-body);font-size:.78rem;line-height:inherit;font-weight:600;margin-left:.3em;text-transform:capitalize}
.footer .segnodo-signature:hover,.footer .segnodo-signature:focus-visible{color:var(--ink);background:none;box-shadow:none;transform:none;border:0}
.footer .segnodo-signature:hover strong,.footer .segnodo-signature:focus-visible strong{text-decoration:underline;text-underline-offset:.2em}
@media(max-width:640px){
  body{font-size:16px}.brand-name{font-size:1.45rem}.article{font-size:1.1rem;line-height:1.8}
  .article-hero h1{font-size:clamp(2.3rem,9vw,3.1rem)}.hero h1{font-size:clamp(2.7rem,10vw,3.4rem)}
  .lead{font-size:1.12rem}.hero-copy{font-size:1.16rem}.breadcrumbs{font-size:.82rem}
  .footer .foundation-copy strong{font-size:1.4rem}.footer .segnodo-credit{justify-content:center}
}
