
:root{
  --ink:#20211f;
  --muted:#6d6a64;
  --paper:#f7f3ec;
  --white:#ffffff;
  --rust:#9a4b36;
  --rust-dark:#743827;
  --sand:#d8c5a5;
  --line:#e4ddd2;
  --soft:#efe7da;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
.container{width:min(1160px,calc(100% - 40px));margin:auto}
header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-weight:900;letter-spacing:-.02em}
.brand small{display:block;font-weight:600;color:var(--muted);letter-spacing:0}
nav{display:flex;gap:20px;align-items:center;font-size:.93rem}
.nav-cta{padding:10px 15px;border-radius:999px;background:var(--rust);color:#fff;font-weight:800}
.hero{
  background:
    radial-gradient(circle at 82% 15%, rgba(154,75,54,.16), transparent 34%),
    linear-gradient(180deg,#fff,var(--paper));
  border-bottom:1px solid var(--line);
}
.hero .inner{padding:100px 0 88px;max-width:880px}
.kicker{font-size:.78rem;text-transform:uppercase;letter-spacing:.15em;color:var(--rust);font-weight:900;margin-bottom:12px}
h1{font-size:clamp(2.8rem,6.7vw,6.4rem);line-height:.94;letter-spacing:-.065em;margin:0 0 24px}
h2{font-size:clamp(2rem,3.6vw,3.5rem);line-height:1;letter-spacing:-.045em;margin:0 0 18px}
h3{font-size:1.18rem;margin:0 0 8px}
.lead{font-size:1.18rem;color:#4d4a45;max-width:780px}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:999px;font-weight:800;border:1px solid var(--line)}
.btn-primary{background:var(--rust);border-color:var(--rust);color:#fff}
.btn-secondary{background:#fff}
section{padding:76px 0}
.soft{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.grid{display:grid;gap:18px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.card{
  border:1px solid var(--line);background:#fff;border-radius:24px;padding:27px;
  box-shadow:0 10px 32px rgba(36,31,26,.045);
}
.card p{margin:0;color:var(--muted)}
.tag{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--soft);color:var(--rust-dark);font-size:.78rem;font-weight:850;margin-bottom:14px}
.profile-card{display:flex;flex-direction:column;min-height:255px}
.profile-card .more{margin-top:auto;padding-top:20px;color:var(--rust);font-weight:850}
.methods{counter-reset:item}
.method{position:relative;padding-left:58px}
.method:before{
  counter-increment:item;content:"0" counter(item);
  position:absolute;left:0;top:0;color:var(--rust);font-weight:900;font-size:.9rem
}
.band{background:var(--ink);color:#fff}
.band p{color:rgba(255,255,255,.72)}
.band .tag{background:rgba(216,197,165,.15);color:var(--sand)}
.prof-hero{background:linear-gradient(180deg,var(--paper),#fff);border-bottom:1px solid var(--line)}
.prof-hero .inner{padding:76px 0 62px;display:grid;grid-template-columns:1fr .35fr;gap:40px;align-items:end}
.monogram{
  aspect-ratio:1;border-radius:40px;background:var(--ink);color:var(--sand);
  display:grid;place-items:center;font-size:clamp(3rem,7vw,5rem);font-weight:900;letter-spacing:-.06em
}
.profile-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:34px;align-items:start}
.sidebar{position:sticky;top:100px}
.fact{padding:15px 0;border-bottom:1px solid var(--line)}
.fact strong{display:block;margin-bottom:3px}
.list{margin:14px 0 0;padding-left:20px}
.list li{margin:7px 0}
.note{background:#fff7e7;border:1px solid #ead5a5;border-radius:18px;padding:16px;color:#665331}
footer{padding:34px 0;background:#171817;color:#fff}
footer p{color:rgba(255,255,255,.64)}
.footer-grid{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media(max-width:900px){
  nav{display:none}.grid-2,.grid-3,.profile-layout,.prof-hero .inner{grid-template-columns:1fr}
  .sidebar{position:static}.prof-hero .inner{padding-top:52px}.monogram{max-width:220px}
}

/* Foto professionisti */
.profile-card{overflow:hidden;padding:0!important;min-height:430px}
.profile-card-photo{height:235px;background:var(--soft);overflow:hidden;border-bottom:1px solid var(--line)}
.profile-card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.profile-card-content{padding:24px 27px 27px;display:flex;flex-direction:column;flex:1}
.portrait-shell{width:min(360px,100%);height:440px;border-radius:38px;overflow:hidden;background:linear-gradient(180deg,var(--soft),#fff);border:1px solid var(--line);box-shadow:0 18px 44px rgba(36,31,26,.10);justify-self:end}
.portrait-shell img{width:100%;height:100%;object-fit:cover;display:block}
.portrait-shell img.contain{object-fit:contain;padding:14px 10px 0}
@media(max-width:900px){.profile-card-photo{height:280px}.portrait-shell{justify-self:start;height:420px}}


.profile-card-photo{
  width:100%;
  aspect-ratio:4/3;
  border-radius:18px;
  overflow:hidden;
  margin-bottom:20px;
  background:var(--soft);
}
.profile-card-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.profile-photo{
  width:100%;
  aspect-ratio:4/5;
  border-radius:32px;
  overflow:hidden;
  background:var(--soft);
  box-shadow:0 18px 45px rgba(36,31,26,.10);
}
.profile-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.org-role{
  display:inline-flex;
  margin-top:10px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--ink);
  color:var(--sand);
  font-size:.76rem;
  font-weight:850;
  letter-spacing:.02em;
}

.profile-full{
  padding:78px 0;
  border-top:1px solid var(--line);
  scroll-margin-top:80px;
}
.profile-full:nth-of-type(even){background:var(--paper)}
.profile-full-grid{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:42px;
  align-items:start;
}
.profile-full-photo{
  position:sticky;
  top:100px;
  aspect-ratio:4/5;
  border-radius:28px;
  overflow:hidden;
  background:var(--soft);
}
.profile-full-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.profile-full .org-role{margin-bottom:14px}
.profile-full .back-link{
  display:inline-block;
  margin-top:24px;
  color:var(--rust);
  font-weight:850;
}
#contatti{scroll-margin-top:80px}
@media(max-width:900px){
  .profile-full-grid{grid-template-columns:1fr}
  .profile-full-photo{position:static;max-width:440px}
}


/* Explorer Lab legal/footer — palette: white / black / sand / rust */
.footer-legal{
  background:#171817;
  color:#ffffff;
  padding:44px 0;
}
.footer-legal-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:34px;
  align-items:start;
}
.footer-brand{
  font-size:1.05rem;
  font-weight:900;
  letter-spacing:-.02em;
  margin-bottom:10px;
}
.footer-data{
  display:grid;
  gap:4px;
  color:rgba(255,255,255,.68);
  font-size:.88rem;
  line-height:1.55;
}
.footer-data a,
.footer-links a,
.footer-links button{
  color:inherit;
}
.footer-links{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px 16px;
  font-size:.88rem;
}
.footer-links button{
  appearance:none;
  border:0;
  padding:0;
  background:none;
  font:inherit;
  cursor:pointer;
  color:#d8c5a5;
  font-weight:800;
}
.footer-links button:hover,
.footer-links a:hover{
  color:#ffffff;
}
.footer-disclaimer{
  grid-column:1/-1;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:18px;
  margin-top:4px;
  color:rgba(255,255,255,.56);
  font-size:.79rem;
  line-height:1.55;
}
.legal-dialog{
  width:min(900px,calc(100% - 28px));
  max-height:88vh;
  padding:0;
  border:1px solid #e4ddd2;
  border-radius:26px;
  background:#ffffff;
  color:#20211f;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}
.legal-dialog::backdrop{
  background:rgba(23,24,23,.72);
  backdrop-filter:blur(4px);
}
.legal-dialog-inner{
  padding:34px;
  overflow:auto;
  max-height:88vh;
}
.legal-dialog-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:24px;
  padding-bottom:20px;
  border-bottom:1px solid #e4ddd2;
}
.legal-dialog h2{
  margin:0 0 6px;
  font-size:clamp(2rem,4vw,3.2rem);
}
.legal-dialog h3{
  margin-top:28px;
  font-size:1.05rem;
}
.legal-dialog p,
.legal-dialog li{
  color:#5f5a53;
}
.legal-dialog ul{
  padding-left:20px;
}
.legal-update{
  color:#9a4b36;
  font-size:.82rem;
  font-weight:800;
}
.legal-close{
  appearance:none;
  border:1px solid #e4ddd2;
  background:#f7f3ec;
  color:#20211f;
  border-radius:999px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  cursor:pointer;
  flex:0 0 auto;
  font-size:1.2rem;
}
.legal-box{
  background:#f7f3ec;
  border:1px solid #e4ddd2;
  border-radius:18px;
  padding:18px;
  margin:18px 0;
}
.legal-box strong{
  color:#743827;
}
@media(max-width:760px){
  .footer-legal-grid{grid-template-columns:1fr}
  .footer-links{justify-content:flex-start}
  .legal-dialog-inner{padding:24px 20px}
}


.venue-section{
  background:linear-gradient(180deg,#fff,var(--paper));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.venue-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:stretch;
  margin-top:28px;
}
.venue-grid-secondary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.venue-card{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  background:#f1ece3;
  min-height:260px;
  box-shadow:0 12px 34px rgba(36,31,26,.08);
}
.venue-card.large{min-height:420px}
.venue-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.venue-card .overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:20px;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.58));
  color:#fff;
}
.venue-card .overlay strong{
  display:block;
  font-size:1rem;
  margin-bottom:4px;
}
.venue-card .overlay span{
  color:rgba(255,255,255,.82);
  font-size:.92rem;
}
.venue-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:20px;
}
.venue-meta .card{padding:22px}
@media(max-width:900px){
  .venue-grid{grid-template-columns:1fr}
  .venue-grid-secondary{grid-template-columns:1fr}
  .venue-meta{grid-template-columns:1fr}
}


.brand-logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.brand-logo img{
  display:block;
  width:172px;
  height:auto;
  max-height:58px;
  object-fit:contain;
}
@media(max-width:900px){
  .brand-logo img{
    width:142px;
    max-height:50px;
  }
}
@media(max-width:520px){
  .brand-logo img{
    width:126px;
    max-height:46px;
  }
}


#profilo-nicola-stefanelli .profile-full-photo{
  background:linear-gradient(180deg,#f7f3ec,#ffffff);
}
#profilo-nicola-stefanelli .profile-full-photo img{
  object-fit:contain;
  object-position:center bottom;
  padding:12px 10px 0;
}
a[href="#profilo-nicola-stefanelli"] .profile-card-photo{
  background:linear-gradient(180deg,#f7f3ec,#ffffff);
}
a[href="#profilo-nicola-stefanelli"] .profile-card-photo img{
  object-fit:contain;
  object-position:center bottom;
  padding:8px 8px 0;
}


.profile-training{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.profile-training ul{margin:10px 0 0;padding-left:20px}
.profile-training li{margin:6px 0;color:var(--muted)}



/* ================================================================
   EXPLORER LAB — EDITORIAL / BRAND-LED LAYOUT
   palette: white / black / sand / rust
   ================================================================ */
:root{
  --ink:#11110f;
  --muted:#68645e;
  --paper:#f4efe6;
  --white:#ffffff;
  --rust:#994a35;
  --rust-dark:#713526;
  --sand:#d8c3a1;
  --line:#d9d2c8;
  --soft:#eee6da;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
.container{width:min(1240px,calc(100% - 56px));margin:auto}

/* Header */
header{
  position:sticky;top:0;z-index:40;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--ink);
  backdrop-filter:blur(12px);
}
.nav{
  min-height:86px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;
}
.brand-logo{display:flex;align-items:center;flex:0 0 auto}
.brand-logo img{width:175px;height:auto;max-height:62px;object-fit:contain;display:block}
nav{display:flex;align-items:center;gap:25px;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
nav a{padding:8px 0;border-bottom:1px solid transparent}
nav a:hover{border-color:var(--rust)}
.nav-cta{
  border:1px solid var(--ink)!important;
  padding:12px 18px!important;
  background:var(--ink);
  color:#fff;
}

/* Typography */
.kicker,
.editorial-label{
  font-size:.72rem;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.17em;
  color:var(--rust);
  font-weight:900;
  margin-bottom:18px;
}
h1,h2,h3{color:var(--ink)}
h1{
  font-size:clamp(4.2rem,9.4vw,9rem);
  line-height:.83;
  letter-spacing:-.075em;
  font-weight:900;
  margin:0;
}
h2{
  font-size:clamp(3rem,6vw,6.3rem);
  line-height:.9;
  letter-spacing:-.065em;
  font-weight:900;
  margin:0 0 28px;
}
h3{
  font-size:1.25rem;
  line-height:1.15;
  letter-spacing:-.025em;
  margin:0 0 10px;
}
.lead{
  font-size:clamp(1.15rem,1.65vw,1.55rem);
  line-height:1.45;
  max-width:800px;
  color:#413e39;
}
section{padding:112px 0}

/* Hero — manifesto, not brochure */
.hero{
  min-height:calc(100vh - 86px);
  display:flex;
  align-items:flex-end;
  border-bottom:1px solid var(--ink);
  background:var(--white);
  position:relative;
  overflow:hidden;
}
.hero:after{
  content:"";
  width:20vw;height:20vw;
  min-width:180px;min-height:180px;
  position:absolute;
  right:-5vw;top:7vh;
  border:1px solid var(--rust);
  border-radius:50%;
  opacity:.6;
}
.hero .inner{
  padding:90px 0 72px;
  max-width:none;
  width:100%;
}
.hero .kicker{margin-bottom:26px}
.hero h1{max-width:1180px}
.hero .lead{
  margin:44px 0 0 auto;
  width:min(650px,100%);
  padding-left:34px;
  border-left:6px solid var(--rust);
}
.hero .actions{margin-top:30px;margin-left:auto;width:min(650px,100%)}

/* Buttons */
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:13px 19px;
  border:1px solid var(--ink);
  border-radius:0;
  font-weight:850;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  transition:.18s ease;
}
.btn-primary{background:var(--ink);color:#fff}
.btn-secondary{background:transparent}
.btn:hover{background:var(--rust);border-color:var(--rust);color:#fff}

/* Editorial intro blocks */
#metodo{background:var(--ink);color:#fff}
#metodo h2,#metodo h3{color:#fff}
#metodo .kicker{color:var(--sand)}
#metodo .grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border-top:1px solid rgba(255,255,255,.35);
}
#metodo .card{
  background:none;color:#fff;border:0;
  border-right:1px solid rgba(255,255,255,.25);
  padding:34px 28px 8px 0;
  border-radius:0;box-shadow:none;
  min-height:210px;
}
#metodo .card:last-child{border-right:0;padding-left:28px}
#metodo .card + .card{padding-left:28px}
#metodo .card p{color:rgba(255,255,255,.66)}
#metodo .method{padding-left:0!important}
#metodo .method:before{
  position:static;display:block;margin-bottom:42px;
  color:var(--sand);font-size:.75rem;font-weight:900;
}

/* Why Explorer — big brand thought */
#perche-explorer{
  background:var(--paper);
  border-bottom:1px solid var(--ink);
}
#perche-explorer .container{position:relative}
#perche-explorer h2{max-width:960px}
#perche-explorer .lead{
  margin-left:33%;
  max-width:720px;
  margin-top:44px;
}
#perche-explorer .grid{
  margin-top:80px!important;
  border-top:1px solid var(--ink);
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;
}
#perche-explorer .card{
  border:0;border-radius:0;box-shadow:none;background:transparent;
  padding:32px 28px 0 0;
}
#perche-explorer .card + .card{border-left:1px solid var(--ink);padding-left:28px}
#perche-explorer .card p{color:var(--muted)}

/* Areas */
#aree{background:var(--white)!important;border-bottom:1px solid var(--ink)}
#aree h2{max-width:820px}
#aree .grid{
  margin-top:72px;
  display:grid;grid-template-columns:1fr 1fr;gap:0;
  border-top:1px solid var(--ink);
}
#aree .card{
  min-height:300px;
  border:0;border-radius:0;box-shadow:none;background:none;
  padding:35px 48px 40px 0;
  border-bottom:1px solid var(--ink);
}
#aree .card:nth-child(even){border-left:1px solid var(--ink);padding-left:48px}
#aree .card h3{
  font-size:clamp(2rem,3vw,3.3rem);
  max-width:480px;
  margin:12px 0 18px;
}
#aree .card p{font-size:1.03rem;max-width:500px}

/* Team — portraits as editorial roster */
#professionisti{
  background:var(--rust);
  color:#fff;
}
#professionisti h2{color:#fff}
#professionisti>.container>.kicker{color:var(--sand)}
#professionisti>.container>.lead{color:rgba(255,255,255,.78)}
#professionisti .grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:rgba(255,255,255,.25);
  margin-top:72px!important;
  border:1px solid rgba(255,255,255,.25);
}
.profile-card{
  display:block;
  min-height:0;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  background:var(--rust)!important;
  color:#fff;
  overflow:hidden;
}
.profile-card-photo{
  width:100%;aspect-ratio:4/4.7;
  border-radius:0!important;
  overflow:hidden;margin:0!important;
  background:#e9dfd0;
  border-bottom:1px solid rgba(255,255,255,.25);
}
.profile-card-photo img{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:saturate(.87) contrast(.98);
  transition:transform .45s ease, filter .45s ease;
}
.profile-card:hover img{transform:scale(1.025);filter:saturate(1)}
.profile-card-content{padding:24px 24px 30px}
.profile-card .tag{
  background:none;color:var(--sand);padding:0;margin:0 0 15px;
  text-transform:uppercase;letter-spacing:.08em;font-size:.67rem;
}
.profile-card h3{font-size:1.55rem;color:#fff;margin-bottom:12px}
.profile-card p{color:rgba(255,255,255,.7);font-size:.9rem}
.profile-card .more{
  margin-top:26px;padding-top:16px;
  border-top:1px solid rgba(255,255,255,.25);
  color:#fff;font-weight:850;font-size:.76rem;text-transform:uppercase;letter-spacing:.07em;
}
.org-role{
  display:inline-block;
  background:var(--sand);color:var(--ink);
  border-radius:0;padding:6px 9px;margin:0 0 13px;
  font-size:.67rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;
}

/* Venue — gallery becomes visual chapter */
.venue-section{
  background:var(--paper)!important;
  border-bottom:1px solid var(--ink);
}
.venue-section h2{max-width:960px}
.venue-section .lead{margin-left:33%;margin-top:42px}
.venue-grid{margin-top:78px;gap:12px}
.venue-grid-secondary{gap:12px}
.venue-card{
  border-radius:0!important;
  box-shadow:none!important;
  border:0;
}
.venue-card.large{min-height:620px}
.venue-card{min-height:300px}
.venue-card .overlay{
  padding:26px;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.7));
}
.venue-card .overlay strong{
  font-size:1.25rem;text-transform:uppercase;letter-spacing:.04em
}
.venue-meta{
  margin-top:50px;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-top:1px solid var(--ink);
}
.venue-meta .card{
  border:0;border-radius:0;box-shadow:none;background:none;
  padding:27px 28px 0 0;
}
.venue-meta .card + .card{border-left:1px solid var(--ink);padding-left:28px}
[data-space-summary="true"]{display:none!important}

/* Profiles — editorial biographies */
.profile-full{
  padding:116px 0;
  border-top:0;
  border-bottom:1px solid var(--ink);
  scroll-margin-top:86px;
  background:#fff!important;
}
.profile-full:nth-of-type(even){background:var(--paper)!important}
.profile-full-grid{
  grid-template-columns:.78fr 1.22fr;
  gap:72px;
}
.profile-full-photo{
  position:sticky;top:116px;
  aspect-ratio:4/5;
  border-radius:0!important;
  box-shadow:none!important;
  border:1px solid var(--ink);
}
.profile-full h2{
  font-size:clamp(3rem,5.8vw,5.8rem);
  margin-bottom:16px;
}
.profile-full .lead{font-size:1.15rem}
.profile-full .kicker{margin-top:4px}
.profile-full article p,
.profile-full-grid>div>p:not(.lead){max-width:760px}
.profile-full .list{padding-left:18px;columns:2;column-gap:40px}
.profile-full .card[data-team-contact="true"]{
  border:1px solid var(--ink);border-radius:0;box-shadow:none;
  background:transparent;padding:24px;margin-top:42px!important;
}
.profile-training{border-top:1px solid var(--ink)!important}

/* Contact */
#contatti .contact-hero{
  background:var(--ink)!important;color:#fff;border:0;
}
#contatti .contact-hero h1{color:#fff}
#contatti .contact-hero .lead{color:rgba(255,255,255,.72)}
#contatti .contact-grid{
  grid-template-columns:1fr 1fr;gap:0;
  border-top:1px solid var(--ink);
  border-left:1px solid var(--ink);
}
#contatti .contact-card{
  border:0;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);
  border-radius:0;box-shadow:none;padding:36px;
}
#contatti .band{
  background:var(--rust);border:0;
}
#contatti .band h2{color:#fff}
#contatti .band p{color:rgba(255,255,255,.74)}

/* Generic card reset */
.card{border:1px solid var(--line);background:#fff;border-radius:0;padding:27px;box-shadow:none}
.card p{margin:0;color:var(--muted)}
.tag{
  display:inline-flex;padding:5px 8px;border-radius:0;
  background:var(--soft);color:var(--rust-dark);
  font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;
}

/* Footer */
.footer-legal{background:var(--ink)!important;border-top:0}

/* Responsive */
@media(max-width:1050px){
  #professionisti .grid{grid-template-columns:repeat(2,1fr)}
  #metodo .grid{grid-template-columns:1fr 1fr}
  #metodo .card:nth-child(2){border-right:0}
  #metodo .card:nth-child(3){border-top:1px solid rgba(255,255,255,.25)}
  #metodo .card:nth-child(4){border-top:1px solid rgba(255,255,255,.25)}
  #perche-explorer .lead,.venue-section .lead{margin-left:18%}
}
@media(max-width:900px){
  .container{width:min(100% - 34px,1240px)}
  header .nav{min-height:72px}
  .brand-logo img{width:135px;max-height:50px}
  nav{display:none}
  section{padding:82px 0}
  h1{font-size:clamp(3.5rem,14vw,6.5rem)}
  h2{font-size:clamp(2.7rem,10vw,5rem)}
  .hero{min-height:calc(88vh - 72px)}
  .hero .inner{padding:65px 0 50px}
  .hero .lead{margin-left:0;width:100%;margin-top:34px}
  #perche-explorer .lead,.venue-section .lead{margin-left:0}
  #perche-explorer .grid{grid-template-columns:1fr}
  #perche-explorer .card + .card{border-left:0;border-top:1px solid var(--ink);padding-left:0}
  #aree .grid{grid-template-columns:1fr}
  #aree .card:nth-child(even){border-left:0;padding-left:0}
  #professionisti .grid{grid-template-columns:1fr 1fr}
  .profile-full-grid{grid-template-columns:1fr;gap:35px}
  .profile-full-photo{position:static;max-width:520px}
  .profile-full .list{columns:1}
  .venue-grid{grid-template-columns:1fr}
  .venue-grid-secondary{grid-template-columns:1fr 1fr}
  .venue-meta{grid-template-columns:1fr}
  .venue-meta .card + .card{border-left:0;border-top:1px solid var(--ink);padding-left:0}
}
@media(max-width:620px){
  #professionisti .grid{grid-template-columns:1fr}
  #metodo .grid{grid-template-columns:1fr}
  #metodo .card,
  #metodo .card + .card,
  #metodo .card:last-child{
    border-right:0;border-top:1px solid rgba(255,255,255,.25);
    padding:28px 0;
  }
  #metodo .card:first-child{border-top:0}
  .venue-grid-secondary{grid-template-columns:1fr}
  #contatti .contact-grid{grid-template-columns:1fr}
}


a[href="#profilo-lara-fumagalli"] .profile-card-photo img,
#profilo-lara-fumagalli .profile-full-photo img{
  object-fit:cover;
  object-position:center 28%;
}
#profilo-lara-fumagalli .profile-full-photo{
  background:#11110f;
}



/* ================================================================
   SECTION 04 — TEAM / SAND EDITION
   ================================================================ */
#professionisti{
  background:var(--sand) !important;
  color:var(--ink) !important;
}
#professionisti h2{
  color:var(--ink) !important;
}
#professionisti>.container>.kicker{
  color:var(--rust-dark) !important;
}
#professionisti>.container>.lead{
  color:#4d4841 !important;
}

/* cleaner sand roster */
#professionisti .grid{
  background:rgba(17,17,15,.28) !important;
  border-color:rgba(17,17,15,.28) !important;
}
#professionisti .profile-card{
  background:var(--sand) !important;
  color:var(--ink) !important;
}
#professionisti .profile-card-photo{
  background:#f6f1e8 !important;
  border-bottom:1px solid rgba(17,17,15,.22) !important;
  aspect-ratio:4/3 !important;
}
#professionisti .profile-card-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:none !important;
  transform:none !important;
}

/* rust labels for professional title and corporate role */
#professionisti .profile-card .tag,
#professionisti .profile-card .org-role{
  display:inline-block !important;
  width:auto !important;
  max-width:100%;
  background:var(--rust) !important;
  color:#fff !important;
  padding:7px 10px !important;
  margin:0 0 13px !important;
  border:0 !important;
  font-size:.66rem !important;
  line-height:1.25 !important;
  text-transform:uppercase !important;
  letter-spacing:.07em !important;
  font-weight:900 !important;
}
#professionisti .profile-card .org-role{
  background:var(--rust-dark) !important;
}

#professionisti .profile-card h3{
  color:var(--ink) !important;
  font-size:1.55rem !important;
}
#professionisti .profile-card p{
  color:#4e4942 !important;
}
#professionisti .profile-card .more{
  color:var(--ink) !important;
  border-top-color:rgba(17,17,15,.24) !important;
}
#professionisti .profile-card:hover .more{
  color:var(--rust-dark) !important;
}

/* ------------------------------------------------
   INDIVIDUAL PREVIEW CROPS
   Same visual distance: head + shoulders / upper torso
   ------------------------------------------------ */

/* Nicola: transparent full-body source → zoom into upper body */
#professionisti a[href="#profilo-nicola-stefanelli"] .profile-card-photo img{
  object-fit:contain !important;
  object-position:center 18% !important;
  transform:scale(1.72) translateY(9%) !important;
  transform-origin:center top !important;
  padding:0 !important;
}

/* Edoardo: portrait, keep eyes high and shoulders visible */
#professionisti a[href="#profilo-edoardo-tacconi"] .profile-card-photo img{
  object-position:center 24% !important;
  transform:scale(1.10) !important;
}

/* Leonardo: outdoor image, bring face slightly closer */
#professionisti a[href="#profilo-leonardo-lazzeretti"] .profile-card-photo img{
  object-position:center 30% !important;
  transform:scale(1.12) !important;
}

/* Giovanni: action shot; preserve lift but keep head inside frame */
#professionisti a[href="#profilo-giovanni-casillo"] .profile-card-photo img{
  object-position:center 35% !important;
  transform:scale(1.12) !important;
}

/* Lara: podium is part of the story; crop toward podium centre */
#professionisti a[href="#profilo-lara-fumagalli"] .profile-card-photo img{
  object-position:center 26% !important;
  transform:scale(1.08) !important;
}

/* Cristiano: previous crop cut the head; shift decisively upward */
#professionisti a[href="#profilo-cristiano-alessandro-carli"] .profile-card-photo img{
  object-position:center 16% !important;
  transform:scale(1.02) !important;
}

/* Alessandro Cortesi: head/shoulders framing */
#professionisti a[href="#profilo-alessandro-cortesi"] .profile-card-photo img{
  object-position:center 22% !important;
  transform:scale(1.04) !important;
}

/* Maria: keep face + skull */
#professionisti a[href="#profilo-maria-marrazzo"] .profile-card-photo img{
  object-position:center 22% !important;
  transform:scale(1.02) !important;
}

/* Natasha: conventional portrait */
#professionisti a[href="#profilo-natasha-carrozzo"] .profile-card-photo img{
  object-position:center 20% !important;
  transform:scale(1.04) !important;
}

/* Giulia Ceragioli: portrait, avoid cutting hair */
#professionisti a[href="#profilo-giulia-ceragioli"] .profile-card-photo img{
  object-position:center 18% !important;
  transform:scale(1.02) !important;
}

/* Giulia Giordano: portrait */
#professionisti a[href="#profilo-giulia-giordano"] .profile-card-photo img{
  object-position:center 20% !important;
  transform:scale(1.04) !important;
}

/* Chiara: keep face and upper torso */
#professionisti a[href="#profilo-chiara-bodini"] .profile-card-photo img{
  object-position:center 22% !important;
  transform:scale(1.04) !important;
}

/* Francesca: portrait */
#professionisti a[href="#profilo-francesca-morelli"] .profile-card-photo img{
  object-position:center 18% !important;
  transform:scale(1.03) !important;
}

@media(max-width:900px){
  #professionisti .profile-card-photo{
    aspect-ratio:4/3 !important;
  }
}


/* Profile cleanup: bio starts directly after CHI SONO */
.profile-full .kicker + p{
  margin-top:18px;
}



/* ================================================================
   V25 — MOBILE NAVIGATION / FIXED HEADER
   ================================================================ */

/* safer anchor positioning with sticky/fixed header */
html{
  scroll-padding-top:110px;
}
section[id],
div[id]{
  scroll-margin-top:110px;
}

/* desktop header remains sticky */
header{
  position:sticky;
  top:0;
  z-index:999;
}

/* hamburger hidden on desktop */
.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:10px;
  border:0;
  background:transparent;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  position:relative;
  z-index:1002;
}
.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:var(--ink);
  transition:transform .22s ease, opacity .22s ease, width .22s ease;
  transform-origin:center;
}
.menu-toggle.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2){
  opacity:0;
  width:0;
}
.menu-toggle.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* Prevent horizontal overflow from editorial elements */
html,body{
  max-width:100%;
  overflow-x:hidden;
}
img,svg,video{
  max-width:100%;
}

/* Large tablets */
@media(max-width:1050px){
  .container{
    width:min(100% - 36px,1240px);
  }
}

/* Mobile navigation */
@media(max-width:900px){
  html{
    scroll-padding-top:86px;
  }
  section[id],
  div[id]{
    scroll-margin-top:86px;
  }

  body{
    padding-top:72px;
  }

  header{
    position:fixed !important;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.98);
    border-bottom:1px solid var(--ink);
  }

  header .nav{
    min-height:72px !important;
    height:72px;
    width:min(100% - 28px,1240px);
    margin:auto;
    padding:0;
  }

  .brand-logo img{
    width:128px !important;
    max-height:48px !important;
  }

  .menu-toggle{
    display:flex;
    margin-left:auto;
  }

  header nav{
    display:flex !important;
    position:fixed;
    top:72px;
    left:0;
    right:0;
    width:100%;
    height:calc(100dvh - 72px);
    max-height:calc(100dvh - 72px);
    overflow-y:auto;
    padding:34px 24px 44px;
    background:var(--paper);
    color:var(--ink);
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0 !important;
    border-top:1px solid var(--ink);
    transform:translateX(100%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .26s ease, visibility .26s ease;
    z-index:1000;
  }

  header nav.is-open{
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
  }

  header nav a{
    display:flex;
    align-items:center;
    min-height:58px;
    padding:14px 4px !important;
    border:0 !important;
    border-bottom:1px solid rgba(17,17,15,.22) !important;
    font-size:.92rem !important;
    line-height:1.25;
    letter-spacing:.08em;
  }

  header nav a:first-child{
    border-top:1px solid rgba(17,17,15,.22) !important;
  }

  header nav .nav-cta{
    margin-top:22px;
    min-height:52px;
    justify-content:center;
    background:var(--rust) !important;
    border:1px solid var(--rust) !important;
    color:#fff !important;
  }

  body.menu-open{
    overflow:hidden;
  }

  /* Hero */
  .hero{
    min-height:calc(92svh - 72px) !important;
  }
  .hero:after{
    width:46vw;
    height:46vw;
    right:-16vw;
    top:7vh;
  }
  .hero .inner{
    padding:56px 0 44px !important;
  }
  .hero h1{
    font-size:clamp(3.25rem,14vw,6rem) !important;
    line-height:.86 !important;
  }
  .hero .lead{
    padding-left:18px !important;
    border-left-width:4px !important;
  }

  /* Editorial sections */
  section{
    padding:72px 0 !important;
  }
  h2{
    font-size:clamp(2.55rem,11vw,4.9rem) !important;
  }

  #metodo .grid{
    grid-template-columns:1fr !important;
  }
  #metodo .card,
  #metodo .card + .card,
  #metodo .card:last-child{
    border-right:0 !important;
    border-top:1px solid rgba(255,255,255,.25) !important;
    padding:28px 0 !important;
    min-height:0 !important;
  }
  #metodo .card:first-child{
    border-top:0 !important;
  }
  #metodo .method:before{
    margin-bottom:18px !important;
  }

  #perche-explorer .lead,
  .venue-section .lead{
    margin-left:0 !important;
  }

  #perche-explorer .grid,
  #aree .grid{
    grid-template-columns:1fr !important;
  }
  #perche-explorer .card + .card{
    border-left:0 !important;
    border-top:1px solid var(--ink) !important;
    padding-left:0 !important;
  }
  #aree .card,
  #aree .card:nth-child(even){
    min-height:0 !important;
    border-left:0 !important;
    padding:30px 0 34px !important;
  }

  /* manifesto strip */
  #brand-statement > div{
    width:min(100% - 34px,1240px) !important;
  }
  #brand-statement > div > div{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  /* Team */
  #professionisti .grid{
    grid-template-columns:1fr 1fr !important;
  }
  #professionisti .profile-card-photo{
    aspect-ratio:4/3 !important;
  }
  .profile-card-content{
    padding:20px 18px 24px !important;
  }
  #professionisti .profile-card h3{
    font-size:1.25rem !important;
  }
  #professionisti .profile-card p{
    font-size:.86rem !important;
  }

  /* Full profiles */
  .profile-full{
    padding:76px 0 !important;
  }
  .profile-full-grid{
    grid-template-columns:1fr !important;
    gap:30px !important;
  }
  .profile-full-photo{
    position:static !important;
    width:min(100%,520px);
    margin:0 auto;
    aspect-ratio:4/5 !important;
  }
  .profile-full h2{
    font-size:clamp(2.7rem,11vw,4.8rem) !important;
  }
  .profile-full .list{
    columns:1 !important;
  }

  /* Venue */
  .venue-grid,
  .venue-grid-secondary{
    grid-template-columns:1fr !important;
  }
  .venue-card.large{
    min-height:420px !important;
  }
  .venue-card{
    min-height:280px !important;
  }
  .venue-meta{
    grid-template-columns:1fr !important;
  }
  .venue-meta .card + .card{
    border-left:0 !important;
    border-top:1px solid var(--ink) !important;
    padding-left:0 !important;
  }

  /* Contact */
  #contatti .contact-grid{
    grid-template-columns:1fr !important;
  }

  /* Footer */
  .footer-legal-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }
  .footer-links{
    justify-content:flex-start !important;
  }

  /* Legal dialogs */
  .legal-dialog{
    width:calc(100% - 20px) !important;
    max-height:92dvh !important;
    border-radius:18px !important;
  }
  .legal-dialog-inner{
    max-height:92dvh !important;
    padding:22px 18px !important;
  }
}

/* Small phones */
@media(max-width:620px){
  .container{
    width:min(100% - 26px,1240px) !important;
  }

  #professionisti .grid{
    grid-template-columns:1fr !important;
  }
  #professionisti .profile-card-photo{
    aspect-ratio:4/3 !important;
  }

  .hero h1{
    font-size:clamp(3rem,16vw,5rem) !important;
  }

  .actions{
    width:100%;
  }
  .actions .btn{
    width:100%;
  }

  .venue-card.large,
  .venue-card{
    min-height:340px !important;
  }

  .legal-dialog-top{
    gap:12px !important;
  }
}

/* Very small phones */
@media(max-width:390px){
  .brand-logo img{
    width:116px !important;
  }
  header .nav{
    width:calc(100% - 22px);
  }
  .hero h1{
    font-size:2.85rem !important;
  }
  h2{
    font-size:2.45rem !important;
  }
}
