:root{--paper:#f5f4ed;--ink:#21251d;--green:#263a2d;--acid:#d8e6a5;--line:#d2d4c7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,sans-serif}a{color:inherit}a:focus-visible{outline:3px solid #9b4f26;outline-offset:4px}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:650;line-height:1.03;letter-spacing:-.055em}h1{font-size:clamp(3rem,6.2vw,7rem);margin-bottom:1.5rem}h2{font-size:clamp(2rem,4vw,4rem);margin-bottom:1rem}h3{font-size:1.65rem;margin-bottom:.6rem}.shell{width:min(1400px,92%);margin:auto}.skip{position:absolute;left:-1000px}.skip:focus{left:1rem;top:1rem;background:white;z-index:2}.top,.foot{display:flex;justify-content:space-between;align-items:center;gap:1.25rem}.top{padding:1.25rem 0}.brand{text-decoration:none;font-size:1.42rem;line-height:.96;letter-spacing:-.05em}.brand small{display:block;font-size:.53rem;letter-spacing:.055em;margin-top:.65rem}nav{display:flex;gap:clamp(.6rem,1.5vw,1.5rem);flex-wrap:wrap}nav a{text-decoration:none;font-size:.87rem}nav a:hover,nav a[aria-current]{text-decoration:underline;text-underline-offset:.4em}.hero{display:grid;grid-template-columns:1fr 1.08fr;background:var(--green);color:#fff;overflow:hidden;border-radius:1.5rem}.hero-copy{padding:clamp(1.6rem,4.2vw,5rem);align-self:center}.hero img,.intro img{width:100%;height:100%;object-fit:cover}.hero img{min-height:460px}.eyebrow{font-size:.73rem;letter-spacing:.14em;font-weight:650;color:var(--acid);margin-bottom:1.5rem}.hero p,.intro p{font-size:1.12rem;max-width:38ch}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem}.button{display:inline-block;padding:.75rem 1.1rem;border-radius:2rem;background:var(--acid);color:#202c20;text-decoration:none;font-weight:650}.textlink{font-size:.92rem}.section{padding:clamp(2.5rem,6vw,6rem) 0}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1rem}.grid,.gallery,.directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card{border:1px solid var(--line);border-radius:1rem;overflow:hidden;display:block;text-decoration:none;background:#fff}.card:hover{border-color:#52664a}.card img,.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}.card div{padding:1.25rem;position:relative}.card p{margin:0;padding-right:1.5rem}.card span{position:absolute;right:1.25rem;bottom:1.25rem}.feature,footer{background:var(--green);color:#f7f8f0}.split,.intro.with-photo,.layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,4vw,4rem);align-items:center}.split{padding:3rem 0}.split img,.intro img,.gallery img{border-radius:1rem}.split img{width:100%;aspect-ratio:16/10;object-fit:cover}.intro{border-bottom:1px solid var(--line);padding:clamp(2rem,5vw,5rem) 0}.intro h1{margin-bottom:.8rem}.intro img{aspect-ratio:16/10}.layout{align-items:start;grid-template-columns:1.4fr 1fr}.layout aside{background:#e8ecd9;border-radius:1rem;padding:1.5rem}.layout aside h2{font-size:1.8rem}.layout li{margin-bottom:.8rem}.prose{max-width:820px;overflow-wrap:anywhere}.prose img{border-radius:1rem}.prose h2{font-size:2rem}.directory{list-style:none;padding:0}.directory a{display:flex;justify-content:space-between;gap:1rem;height:100%;padding:1rem;background:white;border:1px solid var(--line);border-radius:.8rem;text-decoration:none}.directory a:hover{border-color:#52664a}.foot{padding:2rem 0}.foot a{margin-right:.8rem}@media(max-width:860px){.hero,.split,.intro.with-photo,.layout{grid-template-columns:1fr}.hero img{min-height:0;aspect-ratio:16/9}.grid,.directory{grid-template-columns:repeat(2,minmax(0,1fr))}.top{align-items:flex-start}}@media(max-width:550px){.top,.foot,.section-head{display:block}.top nav{margin-top:1rem;gap:.55rem 1rem}.grid,.directory{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{padding:1.4rem}.foot>div+div{margin-top:1rem}}

.home{position:relative}.home header{position:absolute;z-index:2;inset:0 0 auto;color:#fff;background:linear-gradient(#060e1abc,transparent)}.home .top{padding-block:1.5rem 2.5rem}.home .skip:focus{z-index:4;color:#161a20}.opening{position:relative;min-height:100svh;display:grid;place-items:center;isolation:isolate;background:#101c2d;color:white;text-align:center;padding:12rem 1.25rem 7rem}.opening>img,.opening::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.opening>img{object-fit:cover;object-position:center 57%}.opening::after{content:"";background:linear-gradient(180deg,#09122122,#09122172 43%,#09122118 73%,#09122165)}.opening h1{font-size:clamp(2.7rem,7vw,7.2rem);font-weight:600;text-wrap:balance;line-height:1.02;margin:0 0 1.5rem;text-shadow:0 2px 26px #07101caa}.opening-content a{display:inline-block;border:1px solid #ffffffc9;border-radius:2rem;padding:.62rem 1rem;background:#101a2c66;color:white;text-decoration:none}.opening-content a:hover{background:white;color:#101a2c}@media(max-width:550px){.home .top{padding-block:1rem 2rem}.opening{padding-top:10rem}.opening>img{object-position:64% center}}

.experience-lead{display:grid;grid-template-columns:1.35fr 1fr;align-items:end;gap:1.5rem;margin-bottom:2rem}.experience-lead h2,.experience-lead p{margin-bottom:0}.experience-lead p{max-width:42ch}.experience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.experience{position:relative;display:grid;align-items:end;min-height:clamp(330px,40vw,500px);overflow:hidden;isolation:isolate;background:#182419;color:white;text-decoration:none}.experience img,.experience::before{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.experience img{object-fit:cover;transition:transform .3s ease}.experience::before{content:"";z-index:0;background:linear-gradient(0deg,#101b13f2 0%,#111a14a6 40%,transparent 78%);pointer-events:none}.experience div{position:relative;padding:clamp(1.25rem,2.5vw,2rem)}.experience h3{font-size:clamp(2.4rem,4.2vw,4.3rem)}.experience p{max-width:29ch}.experience span{text-decoration:underline;text-underline-offset:.25em}.experience:hover img{transform:scale(1.04)}@media(max-width:650px){.experience-lead,.experience-grid{grid-template-columns:1fr}.experience{min-height:340px}}@media(prefers-reduced-motion:reduce){.experience img{transition:none}}

.brand-mark{display:inline-flex;flex:0 0 auto;background:#fff;padding:5px 8px;border-radius:4px}.brand-mark img{width:39px;height:auto}.top{gap:1rem}.home .opening{padding-top:13rem}.villa-feature{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(1rem,4vw,4rem);align-items:center;padding:clamp(1.3rem,4vw,3rem);background:#e8eadf}.villa-feature img,.villa-poster{width:100%;height:auto}.villa-feature .eyebrow{color:#485c47}.villa-feature h2{font-size:clamp(2rem,3.6vw,3.45rem)}.villa-story{max-width:940px}.villa-story figure{margin:2rem 0}.villa-story figcaption{margin-top:.65rem;font-size:.9rem}.experience:first-child img{object-position:center 65%}@media(max-width:700px){.villa-feature{grid-template-columns:1fr}.home .opening{padding-top:14rem}}

.opening>img{object-position:50% 52%}@media(max-width:550px){.opening>img{object-position:72% center}}

.news-grid,.story-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.news-card{background:white;border:1px solid var(--line);overflow:hidden;border-radius:1rem}.news-card div{padding:1.2rem}.news-card img,.story-media img{width:100%;aspect-ratio:4/3;object-fit:cover}.story-media img{border-radius:.8rem}.story-media{margin:1.4rem 0}.story-media.two{grid-template-columns:repeat(2,minmax(0,1fr))}.news-kicker{font-size:.8rem;font-weight:650;color:#485c47}.directory-group{padding:2rem 0}.directory-group h2{font-size:2rem}.story-media+p{margin-top:1rem}@media(max-width:700px){.news-grid,.story-media,.story-media.two{grid-template-columns:1fr}}
.home{font-family:"Barlow","Arial",sans-serif}
.home h1,.home h2,.home h3{letter-spacing:-.035em}
.home .opening-content{width:min(100%,72rem)}
.home .opening h1{font-size:clamp(2rem,5.5vw,5.75rem);line-height:1.04;font-weight:600}
.home .opening h1 span{display:block;margin-top:.38em;font-size:.65em;font-weight:500;letter-spacing:-.02em}
/* Simbolo della Strada, fisso, senza intercettare i clic. */
body{isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:2;pointer-events:none;background:url("filigrana-or.svg") center / min(72vw,48rem) auto no-repeat;opacity:.13}
/* Le schede opache coprono la filigrana fissa. */
.news-card,.card,.experience,.villa-feature{position:relative;z-index:3}
.news-card{background-color:var(--paper,#f5f4ed);background-color:#fff}
.home .top nav {min-width:0; row-gap:.7rem;}
.home .top nav a {white-space:nowrap;}
.home .top nav a[href="io-bevo-cesanese/"] {font-weight:700;text-decoration:underline;text-underline-offset:.25em;}
/* Footer istituzionale */
footer:has(> .foot > .footer-strada) {
  position: relative;
  isolation: isolate;
}
footer:has(> .foot > .footer-strada)::before,
footer:has(> .foot > .footer-strada)::after { content: none; }
footer > .foot:has(> .footer-strada) {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(8rem, .55fr) minmax(0, 1fr);
  align-items: start;
  justify-content: normal;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 5vw, 4rem);
  font-size: .95rem;
  line-height: 1.55;
}
footer > .foot:has(> .footer-strada) > * {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
footer > .foot > .footer-strada strong {
  display: inline-block;
  margin-bottom: .4rem;
  font-size: 1.08rem;
}
footer > .foot > .footer-strada + div > a { display: block; width: fit-content; margin: 0 0 .45rem; }
footer > .foot:has(> .footer-strada) > :nth-child(3) {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding-inline-start: 1.15rem;
  border-inline-start: 1px solid #ffffff40;
}
footer > .foot:has(> .footer-strada) > :nth-child(3) img {
  display: block;
  position: static;
  width: min(100%, 15rem);
  height: auto;
  object-fit: contain;
}
@media (max-width: 760px) {
  footer > .foot:has(> .footer-strada) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer > .foot > .footer-strada { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  footer > .foot:has(> .footer-strada) { grid-template-columns: minmax(0, 1fr); }
  footer > .foot:has(> .footer-strada) > :nth-child(3) {
    padding-inline-start: 0;
    padding-block-start: 1rem;
    border-inline-start: 0;
    border-block-start: 1px solid #ffffff40;
  }
}
/* Contributo istituzionale */
footer > .foot:has(> .footer-strada) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, auto);
  align-items: start;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  padding-block: 2rem;
}
footer > .foot > .footer-strada { min-width: 0; overflow-wrap: anywhere; }
footer > .foot > .footer-strada + div > a { display: block; width: fit-content; margin: 0 0 .35rem; }
footer > .foot:has(> .footer-strada) > :nth-child(n+3):not(.footer-credito) { display: none; }
footer > .foot > .footer-credito,
footer > .foot:has(> .footer-strada):not(:has(> .footer-credito))::after {
  grid-column: 1 / -1;
  position: static;
  border-top: 1px solid #ffffff45;
  padding: 1rem 0 0;
  margin: 0;
  font-size: .9rem;
  white-space: pre-line;
}
footer > .foot:has(> .footer-strada):not(:has(> .footer-credito))::after {
  content: "Realizzato con il contributo di ARSIAL e Regione Lazio\A CUP F89F25000060002";
}
@media (max-width: 640px) {
  footer > .foot:has(> .footer-strada) { grid-template-columns: minmax(0, 1fr); }
}
/* Credito istituzionale al centro del footer */
footer > .foot:has(> .footer-strada) {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(7rem, auto);
  gap: 1.25rem clamp(1rem, 3vw, 3rem);
}
footer > .foot > .footer-strada { grid-area: 1 / 1; }
footer > .foot > .footer-strada + div { grid-area: 1 / 3; }
footer > .foot > .footer-credito,
footer > .foot:has(> .footer-strada):not(:has(> .footer-credito))::after {
  grid-area: 1 / 2;
  border: 0;
  padding: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
footer:has(> .foot > .footer-strada) > :not(.foot) { display: none; }
footer:has(> .foot > .footer-strada)::before,
footer:has(> .foot > .footer-strada)::after { content: none; }
@media (max-width: 760px) {
  footer > .foot:has(> .footer-strada) { grid-template-columns: minmax(0, 1fr); }
  footer > .foot > .footer-strada { grid-area: 1 / 1; }
  footer > .foot > .footer-credito,
  footer > .foot:has(> .footer-strada):not(:has(> .footer-credito))::after { grid-area: 2 / 1; }
  footer > .foot > .footer-strada + div { grid-area: 3 / 1; }
}
/* Marchi istituzionali nel credito del footer */
html body footer > .foot:has(> .footer-strada) > .footer-credito,
html body footer > .foot:has(> .footer-strada):not(:has(> .footer-credito))::after {
  box-sizing: border-box;
  min-width: 0;
  padding-bottom: 5rem;
  background: url('io-bevo-cesanese/assets/regione-arsial.png') left bottom / min(100%, 15rem) auto no-repeat;
}