/* Green Lake – stile della home page */
/* =========================================================
   HERO: la linea del logo diventa la mappa delle 4 aree
   ========================================================= */
.hero{position:relative;background:var(--deep);color:var(--deep-fg);overflow:hidden;isolation:isolate;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 60% 50% at 92% 22%,rgba(230,207,148,.16),transparent 70%),radial-gradient(ellipse 70% 60% at 10% 100%,rgba(92,179,92,.14),transparent 70%)}
.hero .sparks{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.hero-glow{position:absolute;width:520px;height:520px;left:-260px;top:-260px;border-radius:50%;background:radial-gradient(closest-side,rgba(230,207,148,.10),transparent);z-index:-1;pointer-events:none;will-change:transform}
.hero-text{padding-top:calc(env(safe-area-inset-top,0px) + 8rem)}
.hero-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:3rem;align-items:end}
.hero-side{display:grid;gap:1.6rem;padding-bottom:.6rem}
@media (max-width:960px){.hero-grid{grid-template-columns:1fr;gap:1.6rem}}
.hero .kicker{font-family:var(--font-d);font-weight:500;color:var(--gl-gold-l);font-size:1.05rem}
.hero h1{margin-top:1rem;font-size:clamp(2.6rem,5vw,4.7rem);font-weight:300;letter-spacing:-.02em;line-height:1.02;max-width:15ch}
.hero h1 b{font-weight:600}
.hero-sub{max-width:46ch;font-size:clamp(1.05rem,1.4vw,1.2rem);color:var(--deep-muted)}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem}
.ridge{width:100%;height:auto;margin-top:1.5rem;overflow:visible}
.ridge .area{fill:url(#rArea);opacity:0;transition:opacity 2.6s ease .3s}
.ridge.drawn .area{opacity:1}
.ridge .line{fill:none;stroke:url(#rLine);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.ridge .water{stroke:rgba(230,207,148,.28);stroke-width:1}
.ridge .refl{fill:none;stroke:var(--gl-leaf);stroke-width:1.6;stroke-dasharray:10 10;opacity:.5;animation:flow 6s linear infinite}
.ridge .refl.r2{stroke:var(--gl-green);opacity:.35;animation-duration:9s}
@keyframes flow{to{stroke-dashoffset:-200}}
.ridge .pk{fill:var(--gl-gold-l);filter:drop-shadow(0 0 6px #E6CF94)}
.ridge .nd{opacity:0;transform:translateY(10px);transition:opacity 1s,transform 1s}
.ridge .nd.in{opacity:1;transform:none}
.ridge .dot{fill:var(--deep);stroke:var(--gl-gold);stroke-width:2.5;transition:r .25s}
.ridge .halo{fill:var(--gl-gold);opacity:.18}
.ridge .sun{fill:url(#rSun)}
.ridge .nd-name{fill:var(--deep-fg);font:500 22px var(--font-d)}
.ridge .nd-sub{fill:var(--deep-muted);font:400 15px var(--font)}
.ridge .stem{stroke:rgba(230,207,148,.45);stroke-width:1;stroke-dasharray:3 4}
.ridge a{cursor:pointer;outline:none}
.ridge a:hover .dot,.ridge a:focus-visible .dot{r:11}
.ridge a:hover .nd-name,.ridge a:focus-visible .nd-name{fill:var(--gl-gold-l);text-decoration:underline}
.areas-m{display:none}
@media (max-width:860px){
  .ridge .nd text,.ridge .stem{display:none}
  .areas-m{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:2rem;list-style:none;padding:0}
  .areas-m a{display:block;padding:.85rem 1rem;border:1px solid var(--deep-line);border-radius:12px;text-decoration:none;font-family:var(--font-d);font-weight:500}
  .areas-m a span{display:block;font:400 .85rem var(--font);color:var(--deep-muted)}
  .areas-m li{opacity:0;transform:translateY(10px);transition:opacity .9s,transform .9s}
  .areas-m li.in{opacity:1;transform:none}
  .areas-m li.in a{border-color:rgba(230,207,148,.4)}
  .hero-text{padding-top:calc(env(safe-area-inset-top,0px) + 7rem)}
}

/* =========================================================
   CHI SIAMO + NUMERI
   ========================================================= */
.about{padding:clamp(5rem,9vw,8rem) 0;overflow:hidden}
.about-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:4rem;align-items:start}
.about .lead{font-family:var(--font-d);font-weight:300;font-size:clamp(1.6rem,2.8vw,2.35rem);line-height:1.25;max-width:28ch}
.about .body{margin-top:1.6rem;color:var(--muted);max-width:52ch}
.about .link{display:inline-block;margin-top:1.6rem}
.facts{list-style:none;margin:0;padding:0;display:grid;gap:0}
.facts li{display:grid;grid-template-columns:auto 1fr;gap:1.4rem;align-items:baseline;padding:1.4rem 0;border-top:1px solid var(--line)}
.facts li:last-child{border-bottom:1px solid var(--line)}
.facts .n{font-family:var(--font-d);font-weight:300;font-size:clamp(3rem,5vw,4.2rem);line-height:1;color:var(--brand);min-width:1.2ch}
.facts strong{display:block;font-family:var(--font-d);font-weight:500;font-size:1.2rem}
.facts span{color:var(--muted);font-size:.98rem}
@media (max-width:860px){.about-grid{grid-template-columns:1fr;gap:2.5rem}}

/* =========================================================
   AREE: griglia 2×2 con riquadri che si allargano
   ========================================================= */
.areas{background:var(--deep);color:var(--deep-fg);padding:clamp(5rem,9vw,7.5rem) 0;position:relative;overflow:hidden}
.areas::before{content:"";position:absolute;left:-15%;bottom:-10%;width:60%;height:70%;background:radial-gradient(closest-side,rgba(92,179,92,.10),transparent);pointer-events:none}
.areas-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;flex-wrap:wrap;position:relative}
.areas-head p{max-width:44ch;color:var(--deep-muted)}
.ag{position:relative;margin-top:3rem;display:grid;gap:1.2rem}
.ag-row{display:flex;gap:1.2rem}
.ag-card{position:relative;flex:1 1 0;min-width:0;min-height:440px;display:flex;flex-direction:column;justify-content:flex-end;padding:2rem 2.2rem;border-radius:22px;background:var(--deep-2);border:1px solid var(--deep-line);overflow:hidden;outline:none;transition:flex-grow .6s cubic-bezier(.2,.7,.2,1),border-color .4s,background-color .4s}
.ag-card::before{content:"";position:absolute;inset:0 0 auto 0;height:2px;background:linear-gradient(90deg,var(--gl-gold),transparent 70%);transform:scaleX(.25);transform-origin:left;transition:transform .6s}
.ag-card::after{content:"";position:absolute;right:-20%;top:-30%;width:70%;height:90%;background:radial-gradient(closest-side,rgba(230,207,148,.12),transparent);opacity:0;transition:opacity .6s;pointer-events:none}
.ag-num{position:absolute;left:2.2rem;top:1.6rem;font-family:var(--font-d);font-weight:500;font-size:1rem;color:rgba(230,207,148,.65)}
.ag-art{position:absolute;right:1.6rem;top:1.6rem;width:min(42%,220px);height:auto;transition:transform .6s cubic-bezier(.2,.7,.2,1);transform-origin:top right}
.ag-body{position:relative;z-index:1}
.ag-card h3{font-size:clamp(1.7rem,2.6vw,2.3rem);font-weight:400}
.ag-claim{margin-top:.4rem;color:var(--gl-gold-l);font-family:var(--font-d);font-size:1.08rem}
.ag-desc{margin-top:.8rem;color:var(--deep-muted);max-width:46ch}
.ag-more{display:grid;grid-template-rows:0fr;overflow:hidden;opacity:0;transition:grid-template-rows .6s cubic-bezier(.2,.7,.2,1),opacity .4s}
.ag-card ul{list-style:none;margin:1.2rem 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.45rem 1.4rem}
.ag-card ul li{display:flex;gap:.6rem;align-items:baseline;font-size:.96rem;white-space:nowrap}
.ag-card ul li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--gl-gold);transform:translateY(-2px)}
.ag-more-in{min-height:0}
.ag-card .btn{margin-top:1.4rem}
/* illustrazioni a linee */
.area-art .s{fill:none;stroke:var(--gl-leaf);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1) .2s}
.area-art .g{fill:none;stroke:var(--gl-gold);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1) .6s}
.area-art .f{fill:var(--gl-gold);opacity:0;transition:opacity .6s 1.4s}
.ag-card.in .area-art .s,.ag-card.in .area-art .g{stroke-dashoffset:0}
.ag-card.in .area-art .f{opacity:1}
.ag-card.in .area-art .pulse{animation:apulse 2.2s ease-in-out 2s infinite}
@keyframes apulse{0%,100%{opacity:1}50%{opacity:.3}}
/* stato aperto: passaggio del mouse, tastiera, oppure sempre aperto senza mouse */
.ag-card.open{background:#14402A;border-color:rgba(230,207,148,.45)}
.ag-card.open::before{transform:none}
.ag-card.open::after{opacity:1}
.ag-card.open .ag-more{grid-template-rows:1fr;opacity:1;transition:grid-template-rows .6s cubic-bezier(.2,.7,.2,1),opacity .5s .15s}
.ag-card.open .ag-art{transform:scale(.82)}
@media (hover:hover) and (pointer:fine) and (min-width:901px){
  .ag-row.has-open .ag-card{flex-grow:1}
  .ag-row.has-open .ag-card.open{flex-grow:1.75}
  .ag-row.has-open .ag-card:not(.open) .ag-desc{opacity:.6}
}
/* tablet e smartphone: riquadri sempre aperti, uno sotto l'altro */
@media (max-width:900px),(hover:none){
  .ag-row{flex-direction:column}
  .ag-card{flex:none;min-height:0;padding:1.6rem;padding-top:7.5rem}
  .ag-num{left:1.6rem}
  .ag-art{width:120px;right:1.2rem;top:1.2rem}
  .ag-more{grid-template-rows:1fr;opacity:1}
}
@media (max-width:520px){.ag-card ul{grid-template-columns:1fr}.ag-card ul li{white-space:normal}}
@media (prefers-reduced-motion:reduce){.ag-card,.ag-more,.ag-art{transition:none}}

/* =========================================================
   COME LAVORIAMO
   ========================================================= */
.approach{padding:clamp(5rem,9vw,8rem) 0}
.approach .intro{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:end}
.approach .intro p{color:var(--muted);max-width:46ch}
.principles{list-style:none;margin:3.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.principles li{padding-top:1.4rem;border-top:1px solid var(--line);position:relative}
.principles li::before{content:"";position:absolute;left:0;top:-1px;width:48px;height:2px;background:var(--gl-gold)}
.principles svg{width:44px;height:44px;margin-bottom:1.2rem}
.principles svg *{fill:none;stroke:var(--brand);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.principles svg .gd{stroke:var(--gl-gold)}
.principles svg *{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.4s cubic-bezier(.6,0,.2,1)}
.principles svg .gd{transition-delay:.45s}
.principles li.in svg *{stroke-dashoffset:0}
.principles li::before{transform:scaleX(0);transform-origin:left;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.principles li.in::before{transform:none}
.principles h3{font-size:1.3rem;font-weight:500}
.principles p{margin-top:.6rem;color:var(--muted);font-size:.98rem}
@media (max-width:1000px){.principles{grid-template-columns:1fr 1fr}.approach .intro{grid-template-columns:1fr;gap:1rem}}
@media (max-width:560px){.principles{grid-template-columns:1fr}}

