:root{
  --bg:#ffffff;
  --ink:#0b0b0b;
  --muted:#6b6b6b;
  --rule:#e9e9e9;
  --max:980px;
}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding-left:18px;
  padding-right:18px;
}

/* Header / Nav */
.header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--rule);
  padding:24px 0;
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px}

.brand{display:flex;align-items:center}
.brand-logo{
  width:min(280px,55vw);
  max-width:350px;
  height:auto;
  display:block;
}

.menu{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.menu a{padding:10px 0}
.menu a:hover{color:var(--ink);text-decoration:none}

/* Home hero */
.hero{padding:64px 18px 40px}
.h1{
  margin:0 0 16px;
  font-size:46px;
  line-height:1.02;
  letter-spacing:-0.03em;
  font-weight:600;
  max-width:20ch;
}
.lead{
  margin:0 0 22px;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
  max-width:52ch;
}

.cta{
  display:inline-block;
  padding:13px 30px;
  background:#1a1a1a;
  color:#ffffff;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:all .35s ease;
}
.cta:hover{
  background:#222;
  transform:translateY(-1px);
}

/* Generic pages */
.page{padding-top:64px;padding-bottom:80px}

.page-title{
  margin:0 0 12px;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:600;
}
.page-lead{
  margin:0 0 28px;
  color:var(--muted);
  max-width:60ch;
  line-height:1.7;
}

.muted{color:var(--muted);font-size:13px}

/* Footer */
.footer{
  border-top:1px solid var(--rule);
  margin-top:48px;
  padding:22px 0;
  color:var(--muted);
  font-size:13px;
}
.footer p{
  margin:0;
  padding:0 18px;
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
}

/* Contact layout */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.card{border:1px solid var(--rule);border-radius:16px;padding:18px;background:#fff}
.card-title{margin:0 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.card-text{margin:0;color:#1a1a1a;line-height:1.7}
.contact-link{text-decoration:none}
.contact-link:hover{text-decoration:underline}

.form{display:grid;gap:12px}
.form label{display:grid;gap:6px}
.form span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.form input,.form textarea{
  width:100%;
  border:1px solid var(--rule);
  border-radius:12px;
  padding:12px 12px;
  font:inherit;
  background:#fff;
}
.form input:focus,.form textarea:focus{outline:2px solid rgba(0,0,0,.18);outline-offset:2px}
.fineprint{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.6}

/* Optional unified fields (select/input/textarea) */
.field{
  width:100%;
  min-height:56px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,0.15);
  background-color:#fff;
  color:#111;
  font-size:16px;
  font-family:inherit;
}
textarea.field{min-height:160px}
select.field{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-color:#fff;
  cursor:pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size:6px 6px;
  background-repeat:no-repeat;
  padding-right:48px;
}
.field:hover{border-color:rgba(0,0,0,0.35)}
.field:focus{outline:none;border-color:#000}
.field:disabled{
  background-color:#f6f6f6;
  color:rgba(0,0,0,0.5);
  cursor:not-allowed;
}

/* Social */
.social{display:flex;flex-direction:column;gap:14px;margin-top:18px}
.social-link{display:flex;align-items:center;gap:10px;color:#1a1a1a;font-size:14px;text-decoration:none}
.social-link svg{display:block}
.social-link:hover{text-decoration:underline}

/* Destinations */
.destination{
  position: relative;
  margin: 48px 0;        /* spazio controllato sopra e sotto */
  padding-bottom: 40px; /* spazio SOLO per la freccia */
}
.destination h2{
  font-size:22px;
  margin-bottom:12px;
  font-weight:600;
}
.destination p{
  margin:0 0 8px;
  line-height:1.65;
}

/* Photo strips */
.photo-strip{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin-top:24px;
}
.photo-strip img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border-radius:6px;
  cursor:pointer;
}

/* Next section arrow */
.next-section{
  position:absolute;
  left:50%;
  bottom:0.75rem;
  transform:translateX(-50%);
  text-decoration:none;
  font-size:20px;
  line-height:1;
  opacity:0.55;
  transition:opacity 0.2s ease, transform 0.2s ease;
  padding:10px 12px;
}
.next-section:hover{
  opacity:1;
  transform:translateX(-50%) translateY(2px);
}

/* Destinations page override: disable any snap/fullscreen behavior */
.destinations-page{
  scroll-snap-type:none !important;
  scroll-padding-top:0 !important;
}
.destinations-page .destination{
  min-height:auto !important;
  scroll-snap-align:none !important;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.lightbox img{
  max-width:90vw;
  max-height:85vh;
  border-radius:12px;
}
.lightbox button{
  position:absolute;
  background:none;
  border:none;
  color:white;
  font-size:32px;
  cursor:pointer;
  padding:10px;
}
.lightbox-close{top:20px;right:30px;font-size:40px}
.lightbox-prev{left:20px}
.lightbox-next{right:20px}

/* Responsive */
@media (max-width:900px){
  .contact-grid{grid-template-columns:1fr}
  .photo-strip{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:760px){
  .h1{font-size:34px}
  .hero{padding-top:48px}
  .menu{gap:12px}
}
/* evita che l'header sticky copra i titoli quando scrolli agli anchor */
.destination{
  scroll-margin-top: 120px;
}
.destination{ scroll-margin-top: 120px; }
/* =========================
   Portfolio / Projects
   ========================= */


/* Portfolio index */
.portfolio-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px; /* era 28px: meno “aria” sopra, più contenuto subito visibile */
}


.project-card{
  display: block;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform .25s ease, border-color .25s ease;
}

.project-card:hover{
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.25);
  text-decoration: none;
}

.project-thumb{
  width: 100%;
  display: block;
  aspect-ratio: 3 / 2;     /* era 16/10: meno cinematografica, più da index */
  max-height: 320px;       /* limita l’altezza su desktop */
  object-fit: cover;
}
@media (max-width: 720px){
  .project-thumb{
    max-height: none;      /* su mobile lascia respirare */
    aspect-ratio: 16 / 10; /* torna un po’ più wide */
  }
}
.project-card{ cursor: pointer; }

.project-meta{
  padding: 16px 16px 18px;
}

.project-title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.project-subtitle{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Project page
   ========================= */

.project-page{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.back-link{
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.project-h1{
  margin: 0 0 6px;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.project-kicker{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Intro text: same width as hero */
.project-intro{
  max-width: none; /* IMPORTANT: no 70ch, full width inside .project-page */
}

.project-intro p{
  margin: 0 0 16px;
  line-height: 1.85;
  color: var(--muted);

  /* justified editorial */
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.project-intro strong{
  color: var(--ink);
}
/* Pull quote with left bar */
.project-pullquote{
  margin: 48px 0;
  padding-left: 24px;
  border-left: 2px solid var(--rule);
}

.project-pullquote p{
  margin: 0;
  font-style: italic;
  font-size: 1.15em;
  line-height: 1.65;
  color: var(--ink);
}

.project-pullquote span{
  display: block;
  margin-top: 12px;
  font-size: 0.95em;
  color: var(--muted);
}
/* Lead paragraph */
.project-intro .lead{
  font-size: 1.22em;
  line-height: 1.7;
  margin-bottom: 36px;
  color: var(--muted);

  width: 100%;
  max-width: none;
  display: block;

  text-align: left;
}

/* Quote block (minimal, luxury editorial) */
.project-quote{
  margin: 48px auto 12px;
  font-size: 1.35em;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  text-align: center;
  max-width: 760px;
}

.project-quote-follow{
  margin: 0 auto 48px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
  max-width: 720px;
}
.project-quote,
.project-quote-follow{
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* HERO */
.project-hero{
  margin: 26px 0 18px;
}

.project-hero img{
  width: 100%;
  height: min(70vh, 560px);
  display: block;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
}

/* Gallery thumbnails grid (clickable) */
.project-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 10px;
}

.project-gallery img{
  width: 100%;
  display: block;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.project-gallery img:hover{
  transform: translateY(-2px);
  opacity: .95;
}

/* Responsive */
@media (max-width: 900px){
  .project-h1{ font-size: 34px; }
  .project-gallery{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px){
  .project-hero img{ height: min(55vh, 420px); }
  .project-gallery{ grid-template-columns: 1fr; }
}
/* Header transparent on top */
.header{
  background: transparent;
  backdrop-filter: none;
  transition: background .3s ease, backdrop-filter .3s ease;
}

/* Header when scrolling */
.header.scrolled{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
}
/* =========================
   Approach page
   ========================= */

.page-h1{
  margin: 0 0 10px;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-kicker{
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;

  max-width: none;     /* <-- FIX: niente colonna stretta */
  width: 100%;
}

.page-content{
  max-width: 900px;   /* contenitore generale della pagina */
}

/* Titoli */
.page-content h2{
  margin: 38px 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Testo: giustificato, NO sillabazione */
.page-content p{
  margin: 0 0 16px;
  line-height: 1.85;
  color: var(--muted);

  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* Lead: stessa logica del portfolio (niente max-width stretto) */
.page-content .lead{
  font-size: 1.18em;
  line-height: 1.75;
  margin: 0 0 22px;

  max-width: none;        /* FIX: evita capo “presto” */
  width: 100%;
  display: block;

  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* Immagine editoriale */
.approach-image{
  margin: 46px 0;
}

.approach-image img{
  width: 100%;
  height: min(65vh, 520px);
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Mobile */
@media (max-width: 720px){
  .page-h1{ font-size: 34px; }

  .approach-image img{
    height: min(45vh, 380px);
  }

  /* Su mobile il justify spesso “spazia male”: meglio left */
  .page-content p,
  .page-content .lead{
    text-align: left;
    text-justify: auto;
  }
}
/* Safety override: evita che Approach erediti max-width strani */
.approach-page .page-content,
.approach-page{
  max-width: var(--max);
}
/* =========================
   Approach – final override
   ========================= */

.approach-page .container{
  max-width: var(--max);
  margin: 0 auto;
}

.approach-page .page-content{
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* FIX: lead non deve avere max-width a ch */
.approach-page .page-content .lead{
  max-width: none !important;
  width: 100%;
}

/* Justify come portfolio, senza spezzare parole */
.approach-page .page-content p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* Mobile: meglio left (il justify su mobile spesso “spazia male”) */
@media (max-width: 720px){
  .approach-page .page-content p{
    text-align: left;
    text-justify: auto;
  }
}
//* =========================
   About page
   ========================= */

.about-page .page-content{
  max-width: 900px;
}

/* Kicker: lascia respirare e non stringere */
.about-page .page-kicker{
  max-width: 70ch;
}

/* Lead: non restringere (evita “capo presto”) */
.about-page .lead{
  max-width: none;
  width: 100%;
}

/* Editorial quote block (Option 2) */
.about-quote{
  margin: 46px 0;
  padding-left: 26px;
  border-left: 2px solid var(--rule);
  max-width: 780px;
}

.about-quote p{
  margin: 0;
  font-size: 1.05em;
  line-height: 1.9;
  color: var(--ink);
  font-style: italic;
}

/* CTA row */
.about-cta{
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Bottom image */
.about-image{
  margin: 34px 0 0;
}

.about-image img{
  width: 100%;
  height: min(62vh, 520px);
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Mobile */
@media (max-width: 720px){
  .about-image img{
    height: min(45vh, 380px);
  }

  /* Su mobile il justify spesso “spazia male”: meglio left */
  .about-page .page-content p,
  .about-page .lead{
    text-align: left;
    text-justify: auto;
  }
}
/* =========================
   About — luxury polish (add at the very bottom)
   ========================= */

/* Spaziatura più “editorial” e respiro */
.about-page .page-h1{
  font-size: 42px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.about-page .page-kicker{
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .06em;      /* più “signature” */
  text-transform: uppercase;  /* più luxury */
  margin-bottom: 34px;
}

/* Corpo testo: un filo più morbido e leggibile */
.about-page .page-content p{
  font-size: 16px;
  line-height: 1.9;
}

/* Lead: leggermente più grande, meno “grigio” */
.about-page .lead{
  font-size: 19px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Separazione paragrafi più elegante */
.about-page .page-content p + p{
  margin-top: 14px;
}

/* Quote: più “statement”, meno blocco pesante */
.about-quote{
  margin: 56px 0;
  padding-left: 28px;
  border-left: 2px solid rgba(0,0,0,0.12);
}

.about-quote p{
  font-size: 1.08em;
  line-height: 1.95;
  letter-spacing: 0.01em;
}

/* CTA: un filo più “premium” (stesso bottone, migliore spacing) */
.about-cta{
  margin-top: 30px;
  padding-top: 6px;
}

/* Immagine: più “gallery feel” */
.about-image{
  margin-top: 40px;
}

.about-image img{
  border-radius: 14px;
}

/* Desktop: testo ancora più “editorial” */
@media (min-width: 900px){
  .about-page .page-content{
    max-width: 880px; /* leggermente più stretto = più luxury */
  }
}

/* Mobile: manteniamo pulito e leggibile */
@media (max-width: 720px){
  .about-page .page-h1{
    font-size: 34px;
  }
  .about-page .page-kicker{
    font-size: 13px;
    letter-spacing: .08em;
  }
  .about-page .page-content p{
    font-size: 16px;
    line-height: 1.85;
  }
}
/* =========================
   Founders — placeholder
   ========================= */

.founders-page{
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.founders-placeholder{
  max-width: 720px;
}

.founders-text{
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
/* =========================
   Cookie banner (minimal)
   ========================= */

.cookie-banner{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
}

.cookie-banner__inner{
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;

  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cookie-banner__text{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-banner__text strong{
  color: var(--ink);
  font-weight: 600;
}

.cookie-banner__text a{
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__btn{
  border: none;
  cursor: pointer;
  white-space: nowrap;

  padding: 10px 16px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;

  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;

  transition: transform .2s ease, background .2s ease;
}

.cookie-banner__btn:hover{
  background: #222;
  transform: translateY(-1px);
}

@media (max-width: 720px){
  .cookie-banner__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__btn{
    width: 100%;
    text-align: center;
  }
}
/* Logo link — subtle hover / focus */
.brand a{
  display: inline-block;
}

.brand a:focus-visible{
  outline: none;
}

/* Micro feedback */
.brand-logo{
  transition: opacity .25s ease, transform .25s ease;
}

/* Desktop hover */
@media (hover: hover){
  .brand a:hover .brand-logo{
    opacity: 0.85;
    transform: translateY(-1px);
  }
}

/* Keyboard focus */
.brand a:focus-visible .brand-logo{
  opacity: 0.85;
  transform: translateY(-1px);
}
.footer a{
  color: var(--muted);
}

.footer a:hover{
  color: var(--ink);
}